TWI479393B - Switching methods, optical touch devices using the same, and computer products thereof - Google Patents

Switching methods, optical touch devices using the same, and computer products thereof Download PDF

Info

Publication number
TWI479393B
TWI479393B TW101143381A TW101143381A TWI479393B TW I479393 B TWI479393 B TW I479393B TW 101143381 A TW101143381 A TW 101143381A TW 101143381 A TW101143381 A TW 101143381A TW I479393 B TWI479393 B TW I479393B
Authority
TW
Taiwan
Prior art keywords
mode
optical touch
touch device
peaks
sensing
Prior art date
Application number
TW101143381A
Other languages
Chinese (zh)
Other versions
TW201421326A (en
Inventor
Shih Wen Chen
Shou Te Wei
Original Assignee
Wistron Corp
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 Wistron Corp filed Critical Wistron Corp
Priority to TW101143381A priority Critical patent/TWI479393B/en
Priority to CN201210547827.5A priority patent/CN103838434B/en
Priority to US14/061,716 priority patent/US9645734B2/en
Publication of TW201421326A publication Critical patent/TW201421326A/en
Application granted granted Critical
Publication of TWI479393B publication Critical patent/TWI479393B/en

Links

Landscapes

  • Position Input By Displaying (AREA)
  • Electronic Switches (AREA)

Description

切換方法、使用其之光學觸控裝置、以及其電腦程式產品Switching method, optical touch device using the same, and computer program product thereof

本發明係有關於一種切換方法,特別是有關於一種光學觸控裝置之切換方法,用以控制光學觸控裝置切換為觸控模式或手勢模式。The present invention relates to a switching method, and more particularly to a method for switching an optical touch device for controlling an optical touch device to switch to a touch mode or a gesture mode.

近來,由於光學觸控面板之發展,使用者與光學觸控裝置之間的互動可藉由使用者手指來進行。目前的光學觸控裝置中,有些能支援由使用者一隻手指或兩隻手指所執行的觸控操作,有些能由支援使用者三隻以上之手指所執行的手勢操作。同時能支援觸控操作與手勢操作的光學觸控裝置,需透過使用者執行額外操作才能在觸控操作與手勢操作的兩模式間切換,增加了使用者在觸控操作上的不便利性。Recently, due to the development of optical touch panels, the interaction between the user and the optical touch device can be performed by the user's fingers. Some of the current optical touch devices can support touch operations performed by one or two fingers of the user, and some can be operated by gestures that support the user's three or more fingers. At the same time, the optical touch device capable of supporting the touch operation and the gesture operation needs to perform an additional operation through the user to switch between the two modes of the touch operation and the gesture operation, thereby increasing the inconvenience of the user in the touch operation.

因此,期望能提供一種切換方法,其能藉由接觸光學觸控裝置之手指數量來控制光學觸控裝置的模式切換。Therefore, it is desirable to provide a switching method that can control mode switching of an optical touch device by the number of fingers contacting the optical touch device.

本發明提供一種切換方法,用於切換光學觸控裝置之模式。此光學觸控裝置可由至少一物件接觸且包括觸控平面。上述切換方法包括以下步驟:當光學觸控裝置運作時,感測在觸控平面上複數感測位置的光亮度以獲得感測波形;以及判斷該感測波形上波峰之數量,以控制光學觸控裝置切換至手勢模式或觸控模式。The invention provides a switching method for switching modes of an optical touch device. The optical touch device can be contacted by at least one object and includes a touch plane. The switching method includes the following steps: when the optical touch device operates, sensing the brightness of the plurality of sensing positions on the touch plane to obtain a sensing waveform; and determining the number of peaks on the sensing waveform to control the optical touch The control device switches to the gesture mode or the touch mode.

本發明上述方法可以透過程式碼方式收錄於實體媒體中。當程式碼被機器載入且執行時,機器變成用以實行本 發明之裝置。The above method of the present invention can be recorded in physical media through code. When the code is loaded and executed by the machine, the machine becomes used to implement this Invented device.

本發明提供一種光學觸控裝置,可由至少一物件接觸。此光學觸控裝置包括觸控平面、感測單元、判斷單元、以及控制單元。感測單元感測觸控平面上複數感測位置的光亮度以獲得感測波形。判斷單元耦接感測單元,其判斷感測波形上波峰之數量以產生切換信號。控制單元耦接判斷單元,其根據切換信號來控制光學觸控裝置切換至手勢模式或觸控模式。The invention provides an optical touch device that can be contacted by at least one object. The optical touch device includes a touch plane, a sensing unit, a judging unit, and a control unit. The sensing unit senses the brightness of the plurality of sensing positions on the touch plane to obtain a sensing waveform. The determining unit is coupled to the sensing unit, which determines the number of peaks on the sensing waveform to generate a switching signal. The control unit is coupled to the determining unit, and controls the optical touch device to switch to the gesture mode or the touch mode according to the switching signal.

為使本發明之上述目的、特徵和優點能更明顯易懂,下文特舉一較佳實施例,並配合所附圖式,作詳細說明如下。The above described objects, features and advantages of the present invention will become more apparent from the description of the appended claims.

第1圖係表示根據本發明實施例之光學觸控裝置。參閱第1圖,光學觸控裝置1包括觸控平面10、至少二感測單元11、判斷單元12、以及控制單元13。當光學觸控裝置1運作時,使用者可透過至少一物件來接觸觸控平面10進行觸控操作或手勢操作。上述物件可以是使用者之手指或觸控筆。在本發明實施例中,上述物件係以使用者之手指為例來說明。Fig. 1 is a view showing an optical touch device according to an embodiment of the present invention. Referring to FIG. 1 , the optical touch device 1 includes a touch plane 10 , at least two sensing units 11 , a determining unit 12 , and a control unit 13 . When the optical touch device 1 is in operation, the user can touch the touch plane 10 through at least one object to perform a touch operation or a gesture operation. The object may be a user's finger or a stylus. In the embodiment of the present invention, the object is described by taking a user's finger as an example.

當光學觸控裝置1運作時,感測單元11係用來感測觸控平面10的光亮度以獲得感測波形S11。一般而言,光學觸控裝置可採用遮斷式或反射式技術。在遮斷式光學觸控裝置中,觸控平面的四周配置有反光條,感測單元11取得的影像亮度較高。當使用者手指接觸觸控平面10時,對感測單元11來說,手指在觸控平面10的對應位置的光亮度 降低。在反射式光學觸控裝置中,觸控平面10的四周配置有散光條,感測單元11取得的影像亮度較低。當使用者手指接觸觸控平面10時,對感測單元11來說,手指在觸控平面10的對應位置的光亮度提高。判斷單元12耦接感測單元11,並判斷感測波形S11上波峰之數量以產生切換信號S12。舉例來說,假設光學觸控裝置1為一遮斷式觸控裝置。參閱第2A圖,當光學觸控裝置1運作且觸控平面10未被接觸時,感測單元11產生的感測波形S11具有原始波形,其中,橫軸表示在感測平面上被感測單元11進行感測光亮度的複數感測位置,而縱軸表示每一感測位置的光強度。判斷單元12設定一臨界波形STH,其中,此臨界波形STH上每一感測位置之光強度小於原始波形上對應感測位置之光強度。舉例來說,臨界波形STH上每一感測位置之光強度為原始波形上對應感測位置之光強度的0.75倍。如第2B圖所示,當使用者以兩隻手指接觸觸控平面10時,感測波形S11上會出現兩個超過(低於)臨界波形STH之波峰P1與P2,分別對應接觸的兩隻手指。因此,判斷單元12可藉由判斷低於臨界波形STH之波峰的數量來得知接觸觸控平面10之手指數量,並根據判斷結果來產生切換信號S12。控制單元13耦接判斷單元12,其根據切換信號S12來控制光學觸控裝置1切換至手勢模式或觸控模式。換句話說,控制單元13可根據接觸觸控平面10之手指數量來控制光學觸控裝置1切換至手勢模式或觸控模式。在此實施例中,係以三隻手指或三隻以上手指接觸觸控平面10來進行光學觸控裝置1之手勢操作,且一隻手指 或兩隻手指接觸觸控平面10來進行光學觸控裝置1之觸控操作為例來說明。When the optical touch device 1 is in operation, the sensing unit 11 is configured to sense the brightness of the touch plane 10 to obtain the sensing waveform S11. In general, optical touch devices can employ either occlusion or reflective techniques. In the occlusion type optical touch device, a reflective strip is disposed around the touch plane, and the brightness of the image obtained by the sensing unit 11 is high. When the user touches the touch plane 10, the brightness of the finger at the corresponding position of the touch plane 10 for the sensing unit 11 reduce. In the reflective optical touch device, the astigmatism strip is disposed around the touch plane 10, and the brightness of the image obtained by the sensing unit 11 is low. When the user touches the touch plane 10, the brightness of the finger at the corresponding position of the touch plane 10 is increased for the sensing unit 11. The determining unit 12 is coupled to the sensing unit 11 and determines the number of peaks on the sensing waveform S11 to generate the switching signal S12. For example, assume that the optical touch device 1 is an occlusion touch device. Referring to FIG. 2A, when the optical touch device 1 is operated and the touch plane 10 is not touched, the sensing waveform S11 generated by the sensing unit 11 has an original waveform, wherein the horizontal axis represents the sensing unit on the sensing plane. 11 performs a complex sensing position of the sensed lightness, and the vertical axis represents the light intensity of each sensed position. The determining unit 12 sets a critical waveform STH, wherein the light intensity of each sensing position on the critical waveform STH is smaller than the light intensity of the corresponding sensing position on the original waveform. For example, the light intensity of each sensing position on the critical waveform STH is 0.75 times the light intensity of the corresponding sensing position on the original waveform. As shown in FIG. 2B, when the user touches the touch plane 10 with two fingers, two peaks P1 and P2 exceeding (below) the critical waveform STH appear on the sensing waveform S11, respectively corresponding to the two contacts. finger. Therefore, the judging unit 12 can know the number of fingers touching the touch plane 10 by judging the number of peaks lower than the critical waveform STH, and generate the switching signal S12 according to the judgment result. The control unit 13 is coupled to the determining unit 12, which controls the optical touch device 1 to switch to the gesture mode or the touch mode according to the switching signal S12. In other words, the control unit 13 can control the optical touch device 1 to switch to the gesture mode or the touch mode according to the number of fingers contacting the touch plane 10 . In this embodiment, the gesture of the optical touch device 1 is performed by touching the touch plane 10 with three fingers or more than three fingers, and one finger Or the two fingers touch the touch plane 10 to perform the touch operation of the optical touch device 1 as an example.

第3圖係表示根據本發明一實施例之切換方法之流程圖。以下將根據第1與3圖來說明切換方法。第3圖所示之切換方法係用於當光學觸控裝置1正處於觸控模式時。當光學觸控裝置1正處於觸控模式時,判斷單元12判斷感測波形S11上波峰之數量(步驟S30)。當判斷單元12判斷出感測波形S11上波峰之數量大於或等於三(既定數量)(≧3)時,表示使用者以三隻手指或三隻以上手指接觸觸控平面10。此時,判斷單元12產生切換信號S12以指示控制單元13控制光學觸控裝置1由觸控模式切換至手勢模式,以根據接觸之手指進行手勢操作(步驟S31)。在此實施例中,使用者可同時將三隻手指或三隻以上手指放置在觸控平面10上,或者使用者雖非同時將三隻手指或三隻以上手指放置在觸控平面10上但於判斷單元12執行判斷步驟S30時,使用者之三隻手指或三隻以上手指已都放置在觸控平面10上。當判斷單元12判斷出感測波形S11上波峰之數量小於三(<3)時,表示使用者透過一隻手指或兩隻手指接觸觸控平面10。此時,判斷單元12產生切換信號S12以指示控制單元13控制光學觸控裝置1持續處於觸控模式(步驟S32)。Figure 3 is a flow chart showing a handover method in accordance with an embodiment of the present invention. The switching method will be described below based on the first and third figures. The switching method shown in FIG. 3 is for when the optical touch device 1 is in the touch mode. When the optical touch device 1 is in the touch mode, the judging unit 12 judges the number of peaks on the sensing waveform S11 (step S30). When the judging unit 12 judges that the number of peaks on the sensing waveform S11 is greater than or equal to three (a predetermined number) (≧3), it indicates that the user touches the touch plane 10 with three fingers or more than three fingers. At this time, the determining unit 12 generates the switching signal S12 to instruct the control unit 13 to control the optical touch device 1 to switch from the touch mode to the gesture mode to perform a gesture operation according to the contacted finger (step S31). In this embodiment, the user can simultaneously place three fingers or more than three fingers on the touch plane 10, or the user does not simultaneously place three fingers or three or more fingers on the touch plane 10, but judges When the unit 12 performs the determining step S30, the user's three fingers or more than three fingers have been placed on the touch plane 10. When the judging unit 12 judges that the number of peaks on the sensing waveform S11 is less than three (<3), it indicates that the user touches the touch plane 10 through one finger or two fingers. At this time, the determining unit 12 generates the switching signal S12 to instruct the control unit 13 to control the optical touch device 1 to remain in the touch mode (step S32).

第4圖係表示根據本發明另一實施例之切換方法之流程圖。以下將根據第1與4圖來說明切換方法。第3圖所示之切換方法係用於當光學觸控裝置1正處於手勢模式時。當光學觸控裝置1正處於手勢模式時,判斷單元12判 斷感測波形S11上波峰之數量(步驟S40)。當判斷單元12判斷出感測波形S11上波峰之數量等於零(=0)時,表示使用者沒有以手指接觸觸控平面10。此時,判斷單元12產生切換信號S12以指示控制單元13控制光學觸控裝置1由觸控模式切換至第一暫時模式(步驟S41)。當光學觸控裝置1切換為第一暫時模式後,判斷單元12再次判斷感測波形S11上波峰之數量(步驟S42)。當判斷單元12於第一暫時模式下判斷出感測波形S11上波峰之數量大於或等於三(≧3)時,表示使用者在第一暫時模式時同時以三隻手指或三隻以上手指接觸觸控平面10。此時,判斷單元12產生切換信號S12以指示控制單元13控制光學觸控裝置1由第一暫時模式切換回手勢模式(步驟S43)。當判斷單元12於第一暫時模式下判斷出感測波形S11上波峰之數量小於三(<3)時,表示使用者在第一暫時模式時以一隻手指或兩隻手指接觸觸控平面10。此時,判斷單元12產生切換信號S12以指示控制單元13控制光學觸控裝置1由第一暫時模式切換至第二暫時模式(步驟S44)。Figure 4 is a flow chart showing a switching method according to another embodiment of the present invention. The switching method will be described below based on the first and fourth figures. The switching method shown in FIG. 3 is for when the optical touch device 1 is in the gesture mode. When the optical touch device 1 is in the gesture mode, the judging unit 12 judges The number of peaks on the waveform S11 is sensed (step S40). When the judging unit 12 judges that the number of peaks on the sensing waveform S11 is equal to zero (=0), it indicates that the user does not touch the touch plane 10 with a finger. At this time, the determining unit 12 generates the switching signal S12 to instruct the control unit 13 to control the optical touch device 1 to switch from the touch mode to the first temporary mode (step S41). After the optical touch device 1 is switched to the first temporary mode, the determination unit 12 determines again the number of peaks on the sensing waveform S11 (step S42). When the determining unit 12 determines in the first temporary mode that the number of peaks on the sensing waveform S11 is greater than or equal to three (≧3), it indicates that the user touches three fingers or three or more fingers simultaneously in the first temporary mode. Control plane 10. At this time, the judging unit 12 generates the switching signal S12 to instruct the control unit 13 to control the optical touch device 1 to switch back to the gesture mode from the first temporary mode (step S43). When the determining unit 12 determines in the first temporary mode that the number of peaks on the sensing waveform S11 is less than three (<3), it indicates that the user touches the touch plane with one finger or two fingers in the first temporary mode. . At this time, the judging unit 12 generates the switching signal S12 to instruct the control unit 13 to control the optical touch device 1 to switch from the first temporary mode to the second temporary mode (step S44).

當光學觸控裝置1切換為第二暫時模式後,判斷單元12判斷感測波形S11上波峰之數量(步驟S45)。當判斷單元12於第二暫時模式下判斷出感測波形S11上波峰之數量大於或等於三(≧3)時,表示使用者在第一暫時模式時先以一隻手指或兩隻手指接觸觸控平面10,接著在第二暫時模式時再加入兩隻以上手指以上或一隻以上手指接觸觸控平面10,因此,使用者在第二暫時模式時總共以三隻手指或三隻以上手指接觸觸控平面10。此時,判斷單元12 產生切換信號S12以指示控制單元13控制光學觸控裝置1由第二暫時模式切換至手勢模式,以根據接觸之手指進行手勢操作(步驟S46)。當判斷單元12於第二暫時模式下判斷出感測波形S11上波峰之數量等於零(=0)時,表示使用者在第一暫時模式時以一隻手指或兩隻手指接觸觸控平面10,而進入第二模式後,使用者將手指離該觸控平面10,即使用者在第一與第二模式中總共僅以一隻手指或兩隻手指接觸觸控平面10。此時,判斷單元12產生切換信號S12以指示控制單元13控制光學觸控裝置1由第二暫時模式切換至觸控模式,以根據接觸之手指進行觸控操作(步驟S47)。而當光學觸控裝置1處於觸控模式而進行之模式切換則開始於第3圖之步驟S30。After the optical touch device 1 is switched to the second temporary mode, the determination unit 12 determines the number of peaks on the sensing waveform S11 (step S45). When the determining unit 12 determines in the second temporary mode that the number of peaks on the sensing waveform S11 is greater than or equal to three (≧3), it indicates that the user first touches with one finger or two fingers in the first temporary mode. Control plane 10, then add more than two fingers or more than one finger to touch touch plane 10 in the second temporary mode, so the user touches with three fingers or more than three fingers in the second temporary mode Control plane 10. At this time, the judging unit 12 The switching signal S12 is generated to instruct the control unit 13 to control the optical touch device 1 to switch from the second temporary mode to the gesture mode to perform a gesture operation according to the contacted finger (step S46). When the determining unit 12 determines in the second temporary mode that the number of peaks on the sensing waveform S11 is equal to zero (=0), it indicates that the user touches the touch plane 10 with one finger or two fingers in the first temporary mode. After entering the second mode, the user takes the finger away from the touch plane 10, that is, the user touches the touch plane 10 with only one finger or two fingers in the first and second modes. At this time, the determining unit 12 generates the switching signal S12 to instruct the control unit 13 to control the optical touch device 1 to switch from the second temporary mode to the touch mode to perform a touch operation according to the contact finger (step S47). The mode switching when the optical touch device 1 is in the touch mode starts at step S30 in FIG.

根據上述第4圖之實施例可得知,在光學觸控裝置1之模式切換過程中,第一與第二暫時模式的設置係為了避免使用者手指非同時接觸觸控平面10而導致誤判。由於第一與第二模式的設置,當使用者欲使用手勢操作但非同時將三隻手指或三隻以上手指放置在觸控平面10時,可透過步驟S42~S46來將光學觸控裝置1切換至手勢模式,而不會發生因為手指非同時放置在觸控平面10而使光學觸控裝置1切換至觸控模式的情況。According to the embodiment of FIG. 4 , during the mode switching of the optical touch device 1 , the first and second temporary modes are set to avoid misjudgment in order to prevent the user's fingers from contacting the touch plane 10 at the same time. Due to the setting of the first and second modes, when the user wants to use the gesture operation but does not simultaneously place three fingers or more than three fingers on the touch plane 10, the optical touch device 1 can be switched through steps S42 to S46. The gesture mode is not caused by the fact that the optical touch device 1 is switched to the touch mode because the finger is not placed on the touch plane 10 at the same time.

在上述實施例中,係以三隻手指或三隻以上手指是否觸控觸控平面10來判斷是否控制光學觸控裝置1切換至手勢模式為例。而在實際應用上,進行手勢操作的手指數量可依據系統需求而定。In the above embodiment, whether the touch control plane 10 is controlled by three fingers or more than three fingers is used to determine whether to control the optical touch device 1 to switch to the gesture mode. In practical applications, the number of fingers that perform gesture operations may depend on system requirements.

根據本發明實施例,當光學觸控裝置1啟動時,控制 單元13可控制光學觸控裝置1初始切換至觸控模式、手勢模式、或第一暫時模式。當光學觸控裝置1初始切換至觸控模式時,後續進行之模式切換則開始於第3圖之步驟S30。當光學觸控裝置1初始切換至手勢模式時,後續進行之模式切換則開始於第4圖之步驟S40。當光學觸控裝置1初始切換至第一暫時模式時,後續進行之模式切換則開始於第4圖之步驟S42。According to an embodiment of the invention, when the optical touch device 1 is activated, the control The unit 13 can control the optical touch device 1 to initially switch to the touch mode, the gesture mode, or the first temporary mode. When the optical touch device 1 is initially switched to the touch mode, the subsequent mode switching starts at step S30 of FIG. When the optical touch device 1 is initially switched to the gesture mode, the subsequent mode switching starts at step S40 of FIG. When the optical touch device 1 is initially switched to the first temporary mode, the subsequent mode switching starts at step S42 of FIG.

第5圖係表示根據上述實施例光學觸控裝置1在觸控模式、手勢模式、第一暫時模式、以及第二暫時模式之狀態圖。其中,N表示判斷單元12所判斷出感測波形S11上波峰之數量,N≧3表示感測波形S11上波峰之數量大於或等於3,N<3表示感測波形S11上波峰之數量小於3,N=3表示感測波形S11上波峰之數量等於零。FIG. 5 is a view showing states of the optical touch device 1 in the touch mode, the gesture mode, the first temporary mode, and the second temporary mode according to the above embodiment. Wherein, N represents the number of peaks on the sensing waveform S11 determined by the determining unit 12, N≧3 indicates that the number of peaks on the sensing waveform S11 is greater than or equal to 3, and N<3 indicates that the number of peaks on the sensing waveform S11 is less than 3. , N=3 indicates that the number of peaks on the sensing waveform S11 is equal to zero.

本發明之方法,或特定型態或其部份,可以以程式碼的型態包含於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之裝置。本發明之方法與裝置也可以以程式碼型態透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之裝置。當在一般用途處理器實作時,程式碼結合處理器提供一操作類似於應用特定邏輯電路之獨特裝置。The method of the present invention, or a specific type or part thereof, may be included in a physical medium such as a floppy disk, a compact disc, a hard disk, or any other machine (for example, a computer readable computer). A storage medium in which, when the code is loaded and executed by a machine, such as a computer, the machine becomes a device for participating in the present invention. The method and apparatus of the present invention can also be transmitted in a code format through some transmission medium such as a wire or cable, an optical fiber, or any transmission type, wherein the code is received, loaded, and executed by a machine such as a computer. At this time, the machine becomes a device for participating in the present invention. When implemented in a general purpose processor, the code in conjunction with the processor provides a unique means of operation similar to application specific logic.

本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在 不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。The present invention has been disclosed in the above preferred embodiments, and is not intended to limit the scope of the present invention. The scope of the present invention is defined by the scope of the appended claims.

1‧‧‧光學觸控裝置1‧‧‧Optical touch device

10‧‧‧觸控平面10‧‧‧ touch plane

11‧‧‧感測單元11‧‧‧Sensor unit

12‧‧‧判斷單元12‧‧‧judging unit

13‧‧‧控制單元13‧‧‧Control unit

P1、P2‧‧‧波峰P1, P2‧‧‧ crest

S11‧‧‧感測波形S11‧‧‧Sensor waveform

S12‧‧‧切換信號S12‧‧‧Switching signal

STH‧‧‧臨界波形STH‧‧‧critical waveform

S30...S31、S40...S47‧‧‧方法步驟S30...S31, S40...S47‧‧‧ method steps

第1圖表示根據本發明實施例之光學觸控裝置;第2A圖表示當第1圖之光學觸控裝置之觸控平面未被接觸時,感測單元產生的感測波形;第2B圖表示當第1圖之光學觸控裝置之觸控平面被2隻手指接觸時,感測單元產生的感測波形;第3圖表示根據本發明一實施例之切換方法之流程圖;第4圖表示根據本發明另一實施例之切換方法之流程圖;第5圖表示根據本發明實施例光學觸控裝置之模式切換之狀態圖。1 is a view showing an optical touch device according to an embodiment of the invention; FIG. 2A is a view showing a sensing waveform generated by the sensing unit when the touch plane of the optical touch device of FIG. 1 is not touched; FIG. 2B is a view When the touch plane of the optical touch device of FIG. 1 is touched by two fingers, the sensing waveform generated by the sensing unit; FIG. 3 is a flowchart of the switching method according to an embodiment of the present invention; FIG. 4 is a flowchart A flowchart of a switching method according to another embodiment of the present invention; and FIG. 5 is a view showing a state of mode switching of an optical touch device according to an embodiment of the present invention.

S40...S47‧‧‧方法步驟S40...S47‧‧‧ method steps

Claims (17)

一種切換方法,用於切換一光學觸控裝置之模式,該光學觸控裝置可由至少一物件接觸且包括一觸控平面,該切換方法包括:當該光學觸控裝置運作時,感測在該觸控平面上複數感測位置的光亮度以獲得一感測波形;以及判斷該感測波形上波峰之數量,以控制該光學觸控裝置切換至一手勢模式或一觸控模式。 A switching method for switching an optical touch device, wherein the optical touch device is contactable by at least one object and includes a touch plane, the switching method includes: when the optical touch device operates, sensing The brightness of the plurality of sensing positions on the touch plane obtains a sensing waveform; and determining the number of peaks on the sensing waveform to control the optical touch device to switch to a gesture mode or a touch mode. 如申請專利範圍第1項所述之切換方法,其中,判斷以該感測波形上波峰之數量之步驟包括:當該光學觸控裝置處於一第一暫時模式下時,判斷該感測波形上波峰之數量;當於該第一暫時模式下判斷出該感測波形上波峰之數量大於或等於該既定數量時,控制該光學觸控裝置由該第一暫時模式切換至該手勢模式;當於該第一暫時模式下判斷出該感測波形上波峰之數量小於該既定數量時,控制該光學觸控裝置由該第一暫時模式切換至一第二暫時模式;當該光學觸控裝置處於該第二暫時模式下時,再次判斷該感測波形上波峰之數量;當於該第二暫時模式下判斷出該感測波形上波峰之數量大於或等於該既定數量時,控制該光學觸控裝置由該第二暫時模式切換至該手勢模式;以及當於該第二暫時模式下判斷出該感測波形上波峰之數量等於零時,控制該光學觸控裝置由該第二暫時模式切換 至該觸控模式。 The switching method of claim 1, wherein the step of determining the number of peaks on the sensing waveform comprises: determining the sensing waveform when the optical touch device is in a first temporary mode The number of peaks; when it is determined in the first temporary mode that the number of peaks on the sensing waveform is greater than or equal to the predetermined number, controlling the optical touch device to switch from the first temporary mode to the gesture mode; When the number of peaks on the sensing waveform is less than the predetermined number in the first temporary mode, the optical touch device is controlled to switch from the first temporary mode to a second temporary mode; when the optical touch device is in the In the second temporary mode, the number of peaks on the sensing waveform is determined again; when it is determined in the second temporary mode that the number of peaks on the sensing waveform is greater than or equal to the predetermined number, the optical touch device is controlled. Switching to the gesture mode by the second temporary mode; and controlling the optical touch when it is determined in the second temporary mode that the number of peaks on the sensing waveform is equal to zero The device is switched by the second temporary mode To the touch mode. 如申請專利範圍第2項所述之切換方法,其中,判斷以該感測波形上波峰之數量之步驟更包括:當該光學觸控裝置處於該手勢模式下時,判斷該感測波形上波峰之數量;以及當於該手勢模式下判斷出該感測波形上波峰之數量等於零時,控制該光學觸控裝置由該手勢模式切換為該第一暫時模式。 The method of claim 2, wherein the step of determining the number of peaks on the sensing waveform further comprises: determining the peak of the sensing waveform when the optical touch device is in the gesture mode And determining, when the gesture mode determines that the number of peaks on the sensing waveform is equal to zero, controlling the optical touch device to switch from the gesture mode to the first temporary mode. 如申請專利範圍第2項所述之切換方法,其中,判斷以該感測波形上波峰之數量之步驟更包括:當該光學觸控裝置處於該觸控模式下時,判斷該感測波形上波峰之數量;以及當於該手勢模式下判斷出該感測波形上波峰之數量大於或等於該既定數量時,控制該光學觸控裝置由該觸控模式切換為該手勢模式。 The method of claim 2, wherein the step of determining the number of peaks on the sensing waveform further comprises: determining the sensing waveform when the optical touch device is in the touch mode The number of peaks; and when it is determined in the gesture mode that the number of peaks on the sensing waveform is greater than or equal to the predetermined number, controlling the optical touch device to switch from the touch mode to the gesture mode. 如申請專利範圍第4項所述之切換方法,其中,判斷以該感測波形上波峰之數量之步驟更包括:當於該手勢模式下判斷出該感測波形上波峰之數量小該既定數量時,控制該光學觸控裝置維持處於該觸控模式。 The method of claim 4, wherein the step of determining the number of peaks on the sensing waveform further comprises: determining, in the gesture mode, that the number of peaks on the sensing waveform is smaller than the predetermined number. The optical touch device is controlled to remain in the touch mode. 如申請專利範圍第2項所述之切換方法,更包括:當該光學觸控裝置啟動時,控制該光學觸控裝置初始切換至該第一暫時模式。 The switching method of claim 2, further comprising: when the optical touch device is activated, controlling the optical touch device to initially switch to the first temporary mode. 如申請專利範圍第1項所述之切換方法,更包括:當該光學觸控裝置啟動時,控制該光學觸控裝置初始切換至該手勢模式或該觸控模式。 The switching method of claim 1, further comprising: when the optical touch device is activated, controlling the optical touch device to initially switch to the gesture mode or the touch mode. 如申請專利範圍第1項所述之切換方法,其中,當該光學觸控裝置未被該至少一物件接觸時,該感測波形具有一原始波形;其中,判斷該感測波形上波峰之數量之步驟包括:設定一臨界波形。 The switching method of claim 1, wherein the sensing waveform has an original waveform when the optical touch device is not contacted by the at least one object; wherein the number of peaks on the sensing waveform is determined The steps include: setting a critical waveform. 一種電腦程式產品,其係被一機器載入以執行如申請專利範圍第1項所述之一切換方法。 A computer program product loaded by a machine to perform a switching method as described in claim 1 of the patent application. 一種光學觸控裝置,可由至少一物件接觸,包括:一感測平面;一感測單元,用以感測在該觸控平面上複數感測位置的光亮度以獲得一感測波形;一判斷單元,耦接該感測單元,用以判斷該感測波形上波峰之數量以產生一切換信號;以及一控制單元,耦接該判斷單元,用以根據該切換信號來控制該光學觸控裝置切換至一手勢模式或一觸控模式。 An optical touch device can be contacted by at least one object, comprising: a sensing plane; a sensing unit for sensing the brightness of the plurality of sensing positions on the touch plane to obtain a sensing waveform; The unit is coupled to the sensing unit for determining the number of peaks on the sensing waveform to generate a switching signal, and a control unit coupled to the determining unit for controlling the optical touch device according to the switching signal Switch to a gesture mode or a touch mode. 如申請專利範圍第10項所述之光學觸控裝置,其中,於一第一暫時模式下,當該判斷單元判斷出該感測波形上波峰之數量大於或等於該既定數量時,該判斷單元產生該切換信號以指示該控制單元控制該光學觸控裝置由該第一暫時模式切換至該手勢模式,以及當該判斷單元判斷出該感測波形上波峰之數量小於該既定數量時,該判斷單元產生該切換信號以指示該控制單元控制該光學觸控裝置由該第一暫時模式切換至一第二暫時模式;以及其中,於該第二暫時模式下時,當該判斷單元再次判斷出該感測波形上波峰之數量大於或等於該既定數量時, 該判斷單元產生該切換信號以指示該控制單元控制該光學觸控裝置由該第二暫時模式切換至該手勢模式,以及當該判斷單元判斷出該感測波形上波峰之數量等於零時,該判斷單元產生該切換信號以指示該控制單元控制該光學觸控裝置由該第二暫時模式切換至該觸控模式。 The optical touch device of claim 10, wherein, in a first temporary mode, when the determining unit determines that the number of peaks on the sensing waveform is greater than or equal to the predetermined number, the determining unit Generating the switching signal to instruct the control unit to control the optical touch device to switch from the first temporary mode to the gesture mode, and when the determining unit determines that the number of peaks on the sensing waveform is less than the predetermined number, the determining The unit generates the switching signal to instruct the control unit to control the optical touch device to switch from the first temporary mode to a second temporary mode; and wherein, in the second temporary mode, when the determining unit determines the When the number of peaks on the sensing waveform is greater than or equal to the predetermined number, The determining unit generates the switching signal to instruct the control unit to control the optical touch device to switch from the second temporary mode to the gesture mode, and when the determining unit determines that the number of peaks on the sensing waveform is equal to zero, the determining The unit generates the switching signal to instruct the control unit to control the optical touch device to switch from the second temporary mode to the touch mode. 如申請專利範圍第11項所述之光學觸控裝置,其中,於該手勢模式下,當該判斷單元判斷出該感測波形上波峰之數量等於零時,該判斷單元產生該切換信號以指示該控制單元控制該光學觸控裝置由該手勢模式切換為該第一暫時模式。 The optical touch device of claim 11, wherein in the gesture mode, when the determining unit determines that the number of peaks on the sensing waveform is equal to zero, the determining unit generates the switching signal to indicate the The control unit controls the optical touch device to switch from the gesture mode to the first temporary mode. 如申請專利範圍第11項所述之光學觸控裝置,其中,於該觸控模式下,當該判斷單元判斷出該感測波形上波峰之數量大於或等於該既定數量時,該判斷單元產生該切換信號以指示該控制單元控制該光學觸控裝置由該觸控模式切換為該手勢模式。 The optical touch device of claim 11, wherein in the touch mode, when the determining unit determines that the number of peaks on the sensing waveform is greater than or equal to the predetermined number, the determining unit generates The switching signal is used to instruct the control unit to control the optical touch device to switch from the touch mode to the gesture mode. 如申請專利範圍第13項所述之光學觸控裝置,其中,於該觸控模式下,當該判斷單元判斷出該感測波形上波峰之數量小該既定數量時,該判斷單元產生該切換信號以指示該控制單元控制該光學觸控裝置維持處於該觸控模式。 The optical touch device of claim 13, wherein in the touch mode, when the determining unit determines that the number of peaks on the sensing waveform is smaller than the predetermined number, the determining unit generates the switching The signal is used to instruct the control unit to control the optical touch device to remain in the touch mode. 如申請專利範圍第11項所述之光學觸控裝置,其中,當該光學觸控裝置啟動時,該控制單元控制該光學觸控裝置初始切換至該第一暫時模式。 The optical touch device of claim 11, wherein the control unit controls the optical touch device to initially switch to the first temporary mode when the optical touch device is activated. 如申請專利範圍第10項所述之光學觸控裝置,其中,當該光學觸控裝置啟動時,該控制單元控制該光學觸 控裝置初始切換至該手勢模式或該觸控模式。 The optical touch device of claim 10, wherein the control unit controls the optical touch when the optical touch device is activated The control device initially switches to the gesture mode or the touch mode. 如申請專利範圍第10項所述之光學觸控裝置,其中,當該光學觸控裝置未被該至少一物件接觸時,該感測波形具有一原始波形;其中,該判斷單元設定一臨界波形,且計算在該感測波形上超過該臨界波形之波峰之數量;以及其中,該判斷單元根據該計算結果產生該切換信號。 The optical touch device of claim 10, wherein the sensing waveform has an original waveform when the optical touch device is not contacted by the at least one object; wherein the determining unit sets a critical waveform And calculating a number of peaks exceeding the critical waveform on the sensing waveform; and wherein the determining unit generates the switching signal according to the calculation result.
TW101143381A 2012-11-21 2012-11-21 Switching methods, optical touch devices using the same, and computer products thereof TWI479393B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
TW101143381A TWI479393B (en) 2012-11-21 2012-11-21 Switching methods, optical touch devices using the same, and computer products thereof
CN201210547827.5A CN103838434B (en) 2012-11-21 2012-12-17 Switching method and optical touch device using same
US14/061,716 US9645734B2 (en) 2012-11-21 2013-10-23 Optical touch devices and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101143381A TWI479393B (en) 2012-11-21 2012-11-21 Switching methods, optical touch devices using the same, and computer products thereof

Publications (2)

Publication Number Publication Date
TW201421326A TW201421326A (en) 2014-06-01
TWI479393B true TWI479393B (en) 2015-04-01

Family

ID=50802011

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101143381A TWI479393B (en) 2012-11-21 2012-11-21 Switching methods, optical touch devices using the same, and computer products thereof

Country Status (2)

Country Link
CN (1) CN103838434B (en)
TW (1) TWI479393B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201740250A (en) 2016-05-04 2017-11-16 原相科技股份有限公司 Touch control detecting method and touch control detecting system
CN107402654B (en) * 2016-05-18 2021-07-16 原相科技股份有限公司 Touch detection method and touch detection system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833401A (en) * 2009-03-10 2010-09-15 广达电脑股份有限公司 Optical touch control display device and operation method thereof
TW201039214A (en) * 2009-04-28 2010-11-01 Raydium Semiconductor Corportation Optical touch system and operating method thereof
TW201104519A (en) * 2009-07-21 2011-02-01 Pixart Imaging Inc Gesture recognition method and touch system incorporating the same
US20110205169A1 (en) * 2010-02-24 2011-08-25 Primax Electronics Ltd. Multi-touch input apparatus and its interface method using hybrid resolution based touch data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4052498B2 (en) * 1999-10-29 2008-02-27 株式会社リコー Coordinate input apparatus and method
US7577925B2 (en) * 2005-04-08 2009-08-18 Microsoft Corporation Processing for distinguishing pen gestures and dynamic self-calibration of pen-based computing systems
CN101419496B (en) * 2008-12-04 2010-12-15 苏州达方电子有限公司 Electronic device with pointing function and method thereof
TWI393037B (en) * 2009-02-10 2013-04-11 Quanta Comp Inc Optical touch displaying device and operating method thereof
CN102253744B (en) * 2010-05-17 2014-07-02 致伸科技股份有限公司 Method for controlling touch panel and touch device using method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833401A (en) * 2009-03-10 2010-09-15 广达电脑股份有限公司 Optical touch control display device and operation method thereof
TW201039214A (en) * 2009-04-28 2010-11-01 Raydium Semiconductor Corportation Optical touch system and operating method thereof
TW201104519A (en) * 2009-07-21 2011-02-01 Pixart Imaging Inc Gesture recognition method and touch system incorporating the same
US20110205169A1 (en) * 2010-02-24 2011-08-25 Primax Electronics Ltd. Multi-touch input apparatus and its interface method using hybrid resolution based touch data

Also Published As

Publication number Publication date
CN103838434A (en) 2014-06-04
CN103838434B (en) 2017-01-04
TW201421326A (en) 2014-06-01

Similar Documents

Publication Publication Date Title
KR102062970B1 (en) Touch-sensitive button with two levels
JP5862782B2 (en) Use of differential pressure by touch sensor display screen
JP5668355B2 (en) Information processing apparatus, information processing method, and computer program
JP5887807B2 (en) Information processing apparatus, information processing method, and computer program
KR20070062911A (en) Mobile device and operation method control available for using touch and drag
JP2014527675A (en) Use of differential pressure by touch sensor display screen
CN105892915B (en) Information processing method and electronic equipment
US20130181952A1 (en) Portable device and operation method thereof
US9405393B2 (en) Information processing device, information processing method and computer program
JP6494358B2 (en) Playback control device and playback control method
WO2012145008A1 (en) Palm check of a touchpad
KR101210538B1 (en) Apparatus and method of interface for mobile device, and recording medium for the same
TWI479393B (en) Switching methods, optical touch devices using the same, and computer products thereof
TW201411422A (en) System and method for adjusting a speed of a cursor of a mouse
CN103092491B (en) Method and device for generating control commands and electronic equipment
JP6613854B2 (en) Information processing apparatus, information processing program, and electronic device
CN102855076A (en) Control method and control device of touch screen and mobile terminal device
CN104461024A (en) Input device, information processing method and device and electronic device
TW201528114A (en) Electronic device and touch system, touch method thereof
CN103885713B (en) A kind of information processing method and electronic equipment
TWI480778B (en) Touch device and method for detecting touch thereof
JP6904354B2 (en) Information processing equipment, information processing methods, and programs
US20140184566A1 (en) Electronic apparatus, method of controlling the same, and computer-readable recording medium
TWI605364B (en) Touch display apparatus and touch mode switching method thereof
JP2015038648A (en) Information processor, control method and program