TW201638763A - Electronic device and detection method of touch control - Google Patents

Electronic device and detection method of touch control Download PDF

Info

Publication number
TW201638763A
TW201638763A TW104112565A TW104112565A TW201638763A TW 201638763 A TW201638763 A TW 201638763A TW 104112565 A TW104112565 A TW 104112565A TW 104112565 A TW104112565 A TW 104112565A TW 201638763 A TW201638763 A TW 201638763A
Authority
TW
Taiwan
Prior art keywords
touch
touch signal
threshold
touch panel
detection area
Prior art date
Application number
TW104112565A
Other languages
Chinese (zh)
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 宏碁股份有限公司
Priority to TW104112565A priority Critical patent/TW201638763A/en
Publication of TW201638763A publication Critical patent/TW201638763A/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

An electronic device, including a touch panel and a control unit coupled to the touch panel, is provided. The control unit detects whether a first touch signal is received through the touch panel, wherein an energy value of the first touch signal is between a first threshold and a second threshold, the first threshold is bigger than the second threshold, and the first threshold corresponds to the energy value when detecting a tip touches the touch panel. When determining that the first touch signal is received from the touch panel, the control unit records positioning information corresponding to a position of the first touch signal on the touch panel, and defines a tip detecting area according to the positioning information of the first touch signal. The control unit predicts a position of a second touch signal that its energy value is bigger than the first threshold in the tip detecting area on the touch panel according to the position information of the first touch signal so as to generate predicting position information.

Description

電子裝置及觸控偵測方法 Electronic device and touch detection method

本發明是有關於一種電子裝置,且特別是有關於一種電子裝置以及觸控偵測方法。 The present invention relates to an electronic device, and more particularly to an electronic device and a touch detection method.

隨著具有觸控螢幕/觸控面板的行動電子裝置日漸地被廣泛的運用,針對特定的使用情境,例如於執行對應於記事本功能或是繪圖功能的應用程式時,使用者亦開始習慣於使用觸控筆來與所述的行動電子裝置互動。然而,在一些使用情況中,使用者時常會遭遇操作位置與預期有所落差的情況,甚至無法成功的寫出連續的字跡、繪出線段或是甚至是軌跡亂跳的情況。針對這樣的情況,往往是觸控面板/觸控螢幕對觸控筆筆尖之偵測的精準度不足所造成的。 With the increasing use of mobile electronic devices with touch screens/touch panels, users are becoming accustomed to specific application scenarios, such as applications that correspond to notepad functions or graphics functions. A stylus is used to interact with the mobile electronic device. However, in some cases of use, the user often encounters a situation where the operating position is expected to fall, and it is not even possible to successfully write a continuous handwriting, draw a line segment, or even a track jump. In response to such a situation, it is often caused by insufficient accuracy of the touch panel/touch screen to detect the tip of the stylus.

本發明提供一種電子裝置及其觸控偵測方法,使得使用 者在使用觸控筆與電子裝置的觸控面板互動時,可獲得較佳的使用者體驗。 The invention provides an electronic device and a touch detection method thereof, so as to use When using the stylus to interact with the touch panel of the electronic device, a better user experience can be obtained.

本發明的電子裝置,包括觸控面板和耦接觸控面板的控制單元。控制單元偵測是否從觸控面板接收第一觸控信號,其中第一觸控信號的能量值介於第一閥值以及第二閥值之間,其中第一閥值大於第二閥值,以及第一閥值對應於一筆尖接觸觸控面板時所偵測到的能量值。當控制單元判斷從觸控面板接收第一觸控信號時,紀錄對應於第一觸控信號於觸控面板上位置的位置資訊,並根據第一觸控信號的位置資訊定義筆尖偵測區域。控制單元根據第一觸控信號的位置資訊預測於觸控面板上的筆尖偵測區域內接收能量值大於等於第一閥值的第二觸控信號的位置而產生預測位置資訊。 The electronic device of the present invention comprises a touch panel and a control unit coupled to the touch panel. The control unit detects whether the first touch signal is received from the touch panel, wherein the energy value of the first touch signal is between the first threshold and the second threshold, wherein the first threshold is greater than the second threshold. And the first threshold corresponds to the energy value detected when the tip touches the touch panel. When the control unit determines to receive the first touch signal from the touch panel, the position information corresponding to the position of the first touch signal on the touch panel is recorded, and the pen point detection area is defined according to the position information of the first touch signal. The control unit predicts the position of the second touch signal whose energy value is greater than or equal to the first threshold value in the pen tip detection area on the touch panel according to the position information of the first touch signal to generate the predicted position information.

一種觸控偵測方法,適用於一具有觸控面板的電子裝置,包括以下步驟。首先,偵測是否從觸控面板接收一第一觸控信號,其中第一觸控信號的一能量值介於一第一閥值以及一第二閥值之間,其中第一閥值大於第二閥值,以及第一閥值對應於一筆尖接觸觸控面板時所偵測到的能量值。然後,當判斷接收第一觸控信號時,紀錄對應於第一觸控信號的位置的一第一位置資訊,並且根據第一觸控信號的第一位置資訊定義一筆尖偵測區域。以及,根據第一位置資訊預測觸控面板上的筆尖偵測區域內接收一第二觸控信號的位置而產生一預測位置資訊,其中第二觸控信號的能量值大於等於第一閥值。 A touch detection method suitable for an electronic device having a touch panel includes the following steps. First, detecting whether a first touch signal is received from the touch panel, wherein an energy value of the first touch signal is between a first threshold and a second threshold, wherein the first threshold is greater than the first threshold The second threshold, and the first threshold, correspond to the amount of energy detected when the tip touches the touch panel. Then, when it is determined that the first touch signal is received, a first position information corresponding to the position of the first touch signal is recorded, and a tip detection area is defined according to the first position information of the first touch signal. And generating, according to the first location information, a location of the second touch signal in the pen tip detection area of the touch panel to generate a predicted position information, wherein the energy value of the second touch signal is greater than or equal to the first threshold.

基於上述,本發明提供了一種電子裝置及其觸控偵測方法可提昇觸控面板於偵測與觸控筆互動時的精準度。 Based on the above, the present invention provides an electronic device and a touch detection method thereof, which can improve the accuracy of the touch panel when detecting interaction with the stylus.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

10‧‧‧電子裝置 10‧‧‧Electronic devices

110‧‧‧觸控面板 110‧‧‧Touch panel

120‧‧‧控制單元 120‧‧‧Control unit

121‧‧‧觸控偵測模組 121‧‧‧Touch Detection Module

122‧‧‧分析取樣模組 122‧‧‧Analysis sampling module

123‧‧‧資料模組 123‧‧‧ data module

130‧‧‧處理器 130‧‧‧Processor

EV‧‧‧能量變化 EV‧‧‧ energy changes

TS1、TS4‧‧‧觸控信號 TS1, TS4‧‧‧ touch signals

P1‧‧‧位置 P1‧‧‧ position

PP‧‧‧預測位置資訊 PP‧‧‧Predicted location information

PI1、PI2‧‧‧位置資訊 PI1, PI2‧‧‧Location Information

TD‧‧‧筆尖偵測區域 TD‧‧‧pen detection area

PD‧‧‧手掌偵測區域 PD‧‧‧ palm detection area

S201~S203、S501~S507‧‧‧步驟 S201~S203, S501~S507‧‧‧ steps

圖1為根據本發明一實施例所繪示電子裝置的功能方塊圖。 FIG. 1 is a functional block diagram of an electronic device according to an embodiment of the invention.

圖2為根據本發明一實施例所繪示觸控偵測方法的方法流程圖。 FIG. 2 is a flow chart of a method for detecting a touch detection according to an embodiment of the invention.

圖3則為根據本發明實施例所繪示電子裝置中控制單元的功能方塊圖。 FIG. 3 is a functional block diagram of a control unit in an electronic device according to an embodiment of the invention.

圖4為根據本發明一實施例所繪示筆尖偵測區域、手掌偵測區域以及第四觸控信號的關係示意圖。 FIG. 4 is a schematic diagram showing the relationship between a pen point detection area, a palm detection area, and a fourth touch signal according to an embodiment of the invention.

圖5為根據本發明一實施例繪示觸控偵測方法的步驟流程圖。 FIG. 5 is a flow chart showing the steps of a touch detection method according to an embodiment of the invention.

圖1為根據本發明一實施例所繪示電子裝置的功能方塊圖。請參照圖1,電子裝置10包括觸控面板110和耦接觸控面板110的控制單元120。控制單元120可對應於觸控面板110的驅動器或控制器,偵測是否從觸控面板110接收第一觸控信號TS1, 其中第一觸控信號TS1的能量值介於第一閥值以及第二閥值之間,其中第一閥值大於第二閥值,以及第一閥值對應於一筆尖接觸觸控面板110時所偵測到的能量值。當控制單元120判斷從觸控面板110接收第一觸控信號TS1時,紀錄對應於第一觸控信號TS1於觸控面板110上位置的第一位置資訊PI1,並根據第一觸控信號TS1的第一位置資訊定義一筆尖偵測區域。控制單元120根據第一觸控信號TS1的第一位置資訊預測於觸控面板110上的筆尖偵測區域內接收能量值大於等於第一閥值的第二觸控信號的位置而產生預測位置資訊PP。 FIG. 1 is a functional block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 1 , the electronic device 10 includes a touch panel 110 and a control unit 120 coupled to the touch panel 110 . The control unit 120 can detect whether the first touch signal TS1 is received from the touch panel 110, corresponding to the driver or the controller of the touch panel 110. The energy value of the first touch signal TS1 is between the first threshold and the second threshold, wherein the first threshold is greater than the second threshold, and the first threshold corresponds to when the pointer touches the touch panel 110 The amount of energy detected. When the control unit 120 determines that the first touch signal TS1 is received from the touch panel 110, the first position information PI1 corresponding to the position of the first touch signal TS1 on the touch panel 110 is recorded, and according to the first touch signal TS1. The first location information defines a sharp detection area. The control unit 120 predicts the position information of the second touch signal whose energy value is greater than or equal to the first threshold value in the pen tip detection area on the touch panel 110 according to the first position information of the first touch signal TS1. PP.

在本實施例中,電子裝置10更包括了用以運行作業系統的處理器130,並且處理器130耦接控制單元120。而控制單元120在產生了預測位置資訊PP後,便傳送預測位置資訊PP(或同時傳送第一位置資訊PI1以及預測位置資訊PP)至處理器130。而當控制單元120從觸控面板110接收第二觸控信號時,傳送該第二觸控信號對應於該觸控面板的位置之第二位置資訊PI2至處理器130。處理器130所運行的作業系統以及附屬於作業系統而運作的應用程式即可對應上述的第二觸控信號的第二位置資訊PI2來顯示對應的內容,例如對應於筆觸的軌跡等。 In the embodiment, the electronic device 10 further includes a processor 130 for running the operating system, and the processor 130 is coupled to the control unit 120. After the predicted location information PP is generated, the control unit 120 transmits the predicted location information PP (or simultaneously transmits the first location information PI1 and the predicted location information PP) to the processor 130. When the control unit 120 receives the second touch signal from the touch panel 110, the second touch information corresponding to the position of the touch panel is transmitted to the processor 130. The operating system running on the processor 130 and the application operating in the operating system can display the corresponding content corresponding to the second position information PI2 of the second touch signal, for example, a track corresponding to the stroke.

圖2為根據本發明一實施例所繪示觸控偵測方法的方法流程圖,其中所述的觸控偵測方法適用於具有觸控面板的電子裝置,例如圖1所示的電子裝置10。請參照圖2,首先在步驟S201時,偵測是否從觸控面板接收第一觸控信號,其中第一觸控信號 的能量值介於第一閥值以及第二閥值之間,其中第一閥值大於第二閥值,以及第一閥值對應於筆尖接觸觸控面板時所偵測到的能量值。然後在步驟S202時,當判斷接收第一觸控信號時,紀錄對應於第一觸控信號的位置的一第一位置資訊,並且根據第一觸控信號的第一位置資訊定義筆尖偵測區域。以及在步驟S203時,根據第一位置資訊預測觸控面板上的筆尖偵測區域內接收第二觸控信號的位置而產生預測位置資訊,其中第二觸控信號的能量值大於等於第一閥值。 2 is a flow chart of a method for detecting a touch detection method according to an embodiment of the invention. The touch detection method is applicable to an electronic device having a touch panel, such as the electronic device 10 shown in FIG. . Referring to FIG. 2, firstly, in step S201, detecting whether the first touch signal is received from the touch panel, wherein the first touch signal The energy value is between the first threshold and the second threshold, wherein the first threshold is greater than the second threshold, and the first threshold corresponds to the energy value detected when the tip touches the touch panel. Then, in step S202, when it is determined that the first touch signal is received, a first position information corresponding to the position of the first touch signal is recorded, and the pen point detection area is defined according to the first position information of the first touch signal. . And in step S203, the predicted position information is generated according to the first position information predicting the position of the second touch signal in the pen tip detection area on the touch panel, wherein the energy value of the second touch signal is greater than or equal to the first valve. value.

當有物體接近觸控面板110時,控制單元120即可透過觸控面板110偵測到在觸控面板110上的一特定位置上具有能量的變化。在本實施例中,上述的第一閥值對應於筆尖接觸觸控面板110時透過觸控面板110所偵測到的能量值,而第二閥值則對應於無任何物體接觸觸控面板110時由觸控面板110所偵測到的能量值。而上述的第一觸控信號TS1的能量值介於第一閥值與第二閥值之間,即表示第一觸控信號TS1對應於一級將接觸觸控面板110的筆尖。而第二觸控信號的能量值大於等於第一閥值,即表示第二觸控信號對應於實際碰觸觸控面板110的筆尖,或甚至是碰觸觸控面板110的其他更大,或導電性更佳的物體。但在本發明中,主要以針對筆尖的判斷為主。 When an object approaches the touch panel 110, the control unit 120 can detect a change in energy at a specific position on the touch panel 110 through the touch panel 110. In the embodiment, the first threshold corresponds to the energy value detected by the touch panel 110 when the pen tip contacts the touch panel 110, and the second threshold corresponds to no object contacting the touch panel 110. The energy value detected by the touch panel 110. The energy value of the first touch signal TS1 is between the first threshold and the second threshold, that is, the first touch signal TS1 corresponds to the tip of the first touch panel 110. The energy value of the second touch signal is greater than or equal to the first threshold, that is, the second touch signal corresponds to the tip of the touch panel 110 actually touching, or even the other touch panel 110 is larger, or A more conductive object. However, in the present invention, it is mainly based on the judgment of the nib.

簡單來說,在本發明中,控制單元120將偵測即將接觸的筆尖(即,觸控筆的筆尖)於觸控面板110上的位置,並且藉此預測接下來的觸控筆的筆尖所對應的位置為何。由於使用觸控 筆的筆尖所對應的應用包括了文字寫作、繪圖等內容,因此在本發明中,則將預期觸控筆的筆尖下筆的位置,以及下一秒的觸控信號(即,使用者利用連續的觸控信號所組成的觸控手勢)應該皆與預測位置資訊PP中的預測位置相距不遠。因此,在本實施例中,控制單元120則根據了預測位置資訊P中的預測位置於觸控面板110上定義了一筆尖偵測區域,並以一掃描方式加強筆尖偵測區域中對對應於筆尖的觸控信號的偵測能力。所述的掃描方式包括以更高速、跟細緻的方式掃描所述的筆尖偵測區域,以使得在筆尖偵測區域中所接收的觸控信號(例如,能量值大於等於第二閥值的第二觸控信號)可以更快速、並且更精確的回傳給處理器130(及由處理器130所運作的作業系統)。 Briefly, in the present invention, the control unit 120 will detect the position of the pen tip to be touched (ie, the tip of the stylus) on the touch panel 110, and thereby predict the nib of the next stylus. What is the corresponding position? Due to the use of touch The application corresponding to the pen tip of the pen includes text writing, drawing, and the like. Therefore, in the present invention, the position of the pen tip of the stylus and the touch signal of the next second are expected (ie, the user utilizes continuous The touch gesture composed of the touch signals should be not far from the predicted position in the predicted position information PP. Therefore, in the embodiment, the control unit 120 defines a sharp detection area on the touch panel 110 according to the predicted position in the predicted position information P, and enhances the pair in the pen point detection area by a scanning method. The ability to detect the touch signal of the nib. The scanning method includes scanning the nib detection area in a higher speed and in a fine manner such that the touch signal received in the nib detection area (for example, the energy value is greater than or equal to the second threshold) The two touch signals can be transmitted back to the processor 130 (and the operating system operated by the processor 130) more quickly and accurately.

另一方面,筆尖偵測區域可以第一位置資訊PI1所對應 的座標位置設定半徑而定義的圓型區域或是以第一位置資訊PI1所對應的座標位置設定邊長而定義的矩形區域。或者,所述的筆尖偵測區域亦可以以第一位置資訊PI1所對應的座標所屬的觸控面板110接收器/發射器來定義。例如,第一位置資訊PI1所對應的座標對應於觸控面板110的一接收器,而上述的筆尖監測區域則可以是在縱向以及橫向上與所述接收器相鄰的接收器,例如縱向與相鄰的10個接收器和橫向與相鄰的10個接收器等等,但本發明並不限定於此。 On the other hand, the nib detection area can correspond to the first position information PI1. The circular area defined by setting the radius is a rectangular area defined by the side length of the coordinate position corresponding to the first position information PI1. Alternatively, the pen point detection area may also be defined by the touch panel 110 receiver/transmitter to which the coordinate corresponding to the first position information PI1 belongs. For example, the coordinates corresponding to the first position information PI1 correspond to a receiver of the touch panel 110, and the above-mentioned nib monitoring area may be a receiver adjacent to the receiver in the longitudinal direction and the lateral direction, for example, longitudinally Adjacent 10 receivers and horizontal and adjacent 10 receivers, etc., but the invention is not limited thereto.

圖3則為根據本發明實施例所繪示電子裝置中控制單元 的功能方塊圖。請參照圖3,控制單元120包括了觸控偵測模組 121、分析取樣模組122以及資料模組123。觸控偵測模組121耦接觸控面板110,偵測是否觸控面板110上的各位置是否具有能量變化EV。分析取樣模組122耦接觸控偵測單元111,當觸控面板110具有能量變化EV,並且所述能量變化EV的能量值介於第一閥值以及第二閥值之間時,分析取樣模組122即判斷所述能量變化EV為第一觸控信號TS1,並且紀錄對應於第一觸控信號TS1於觸控面板110上的位置,而根據所述位置產生第一位置資訊PI1。資料模組123耦接分析取樣模組122,從分析取樣模組122取得對應於第一觸控信號TS1於觸控面板110上的位置的第一位置資訊PI1,並根據第一位置資訊PI1產生預測位置資訊PP。分析取樣模組122更根據需求而選擇性的將第一位置資訊PI1和/或預測位置資訊PP傳送至運作作業系統的處理器130。 3 is a control unit in an electronic device according to an embodiment of the invention. Functional block diagram. Referring to FIG. 3, the control unit 120 includes a touch detection module. 121. Analyze the sampling module 122 and the data module 123. The touch detection module 121 is coupled to the touch panel 110 to detect whether each position on the touch panel 110 has an energy change EV. The analysis sampling module 122 is coupled to the contact detection unit 111. When the touch panel 110 has an energy change EV, and the energy value of the energy change EV is between the first threshold and the second threshold, the sampling mode is analyzed. The group 122 determines that the energy change EV is the first touch signal TS1, and records the position corresponding to the first touch signal TS1 on the touch panel 110, and generates the first position information PI1 according to the position. The data module 123 is coupled to the analysis sampling module 122, and the first position information PI1 corresponding to the position of the first touch signal TS1 on the touch panel 110 is obtained from the analysis sampling module 122, and is generated according to the first position information PI1. Forecast location information PP. The analysis sampling module 122 selectively transmits the first location information PI1 and/or the predicted location information PP to the processor 130 of the operational operating system according to requirements.

而當分析取樣模組122判斷所述能量變化EV的能量值大於等於第一閥值時,分析取樣模組122即判斷所述能量變化為第二觸控信號,並根據第二觸控信號產生第二位置資訊PI2。當資料模組123接收第二位置資訊PI2則直接將第二位置資訊PI2傳送至處理器130。而在本實施例中,所述的觸控偵測模組121、分析取樣模組122以及資料模組123可以軟體實現,亦可以實體電路實現,在本發明中並不限定。 When the analysis sampling module 122 determines that the energy value of the energy change EV is greater than or equal to the first threshold, the analysis sampling module 122 determines that the energy change is the second touch signal, and generates according to the second touch signal. The second location information PI2. When the data module 123 receives the second location information PI2, the second location information PI2 is directly transmitted to the processor 130. In the embodiment, the touch detection module 121, the analysis sampling module 122, and the data module 123 can be implemented by software or by a physical circuit, which is not limited in the present invention.

在本實施例中,控制單元120將持續的透過觸控面板110判斷是否接收到能量值介於第一閥值和第二閥值之間的第一觸控信號TS1。當控制單元120判斷再次透過觸控面板接收得到第一 觸控信號TS1(或,此時可稱為第三觸控信號)時,控制單元120即會根據甫接收到的第一觸控信號TS1來調整筆尖偵測區域。 即,將筆尖偵測區域的中心調整至甫接收到的第一觸控信號TS1所對應的位置。也就是說,當每次控制單元120偵測得到觸控筆的筆尖再次的接近觸控面板110時,控制單元120即會調整筆尖偵測區域的位置。 In this embodiment, the control unit 120 continuously passes through the touch panel 110 to determine whether the first touch signal TS1 whose energy value is between the first threshold and the second threshold is received. When the control unit 120 determines to receive the first through the touch panel again, When the touch signal TS1 (or may be referred to as a third touch signal), the control unit 120 adjusts the pen point detection area according to the first touch signal TS1 received by the UI. That is, the center of the pen tip detection area is adjusted to the position corresponding to the received first touch signal TS1. That is to say, each time the control unit 120 detects that the tip of the stylus pen approaches the touch panel 110 again, the control unit 120 adjusts the position of the pen point detection area.

另外,在本發明一實施例中,在定義筆尖偵測區域之後,控制單元120則更定義一個大於筆尖偵測區域的手掌偵測區域。 圖4為根據本發明一實施例所繪示筆尖偵測區域、手掌偵測區域以及第四觸控信號的關係示意圖,其中在圖4中,筆尖偵測區域與手掌偵測區域繪示為圓形,但本發明並不限定於此。 In addition, in an embodiment of the invention, after defining the pen point detection area, the control unit 120 further defines a palm detection area that is larger than the pen point detection area. 4 is a schematic diagram showing the relationship between a pen point detection area, a palm detection area, and a fourth touch signal according to an embodiment of the invention. In FIG. 4, the pen point detection area and the palm detection area are depicted as a circle. Shape, but the invention is not limited thereto.

其中,手掌偵測區域TD的中心(即圖4中位置P1)與筆尖偵測區域PD相同,並且手掌偵測區域PD的大小大於筆尖偵測區域TD的大小。也就是說,控制單元120除了持續地偵測在筆尖偵測區域TD中是否接收到第一觸控信號TS1或第二觸控信號外,控制單元120更偵測觸控面板110上手掌偵測區PD域上是否包括了對應於手掌接觸觸控面板110的觸控信號(在此可稱為第四觸控信號)。其中,第四觸控信號的能量值將大於第三閥值,並且第四觸控信號所對應於觸控面板上的一接觸面積大於一預設面積值(例如大於觸控面板110上3個接收器/傳送器的涵蓋範圍之大小),又第四觸控信號對應於身體的手掌,第三閥值將大於第一閥值以及第二閥值。 The center of the palm detection area TD (ie, the position P1 in FIG. 4) is the same as the nib detection area PD, and the size of the palm detection area PD is larger than the size of the nib detection area TD. In other words, the control unit 120 detects the palm touch detection on the touch panel 110 in addition to continuously detecting whether the first touch signal TS1 or the second touch signal is received in the nib detection area TD. Whether the touch signal corresponding to the palm touch touch panel 110 (which may be referred to as a fourth touch signal) is included in the PD domain. The energy value of the fourth touch signal is greater than the third threshold, and the contact area of the fourth touch signal corresponding to the touch panel is greater than a preset area value (eg, greater than 3 on the touch panel 110). The size of the coverage of the receiver/transmitter, and the fourth touch signal corresponds to the palm of the body, and the third threshold will be greater than the first threshold and the second threshold.

當控制單元120偵測觸控面板110上手掌偵測區域PD上包括了對應於手掌接觸觸控面板110的第四觸控信號(即圖4所示第四觸控信號TS4)時,即,對應於使用者將手靠在觸控面板上運用觸控筆的筆尖書寫或繪圖的使用情境時,控制單元120可以根據第四觸控信號TS4的及其所對應的位置資訊來調整筆尖偵測區域TD的位置,藉此可更有效地預測使用者的書寫方向。而當控制單元120同時接收到第一觸控信號TS1(或第三觸控信號)以及第四觸控信號時,控制單元120即可同時根據第一觸控信號TS1(或第三觸控信號)以及第四觸控信號TS4所對應的位置資訊來調整筆尖偵測區域TD(以及隨著筆尖偵測區域移動的手掌偵測區域PD)於觸控面板110上的位置。這麼一來,在此實施例中,筆尖偵測區域TD的中心就不一定限定為第一觸控信號TS1(或第三觸控信號)所對應的位置資訊。 When the control unit 120 detects that the palm touch detection area PD on the touch panel 110 includes the fourth touch signal corresponding to the palm touch touch panel 110 (ie, the fourth touch signal TS4 shown in FIG. 4), The control unit 120 can adjust the tip detection according to the position information of the fourth touch signal TS4 and the corresponding position information when the user places the hand on the touch panel and uses the stylus pen to write or draw the usage context. The position of the area TD, whereby the user's writing direction can be predicted more effectively. When the control unit 120 receives the first touch signal TS1 (or the third touch signal) and the fourth touch signal, the control unit 120 can simultaneously select the first touch signal TS1 (or the third touch signal). And the position information corresponding to the fourth touch signal TS4 to adjust the position of the pen point detection area TD (and the palm detection area PD moving with the pen point detection area) on the touch panel 110. Therefore, in this embodiment, the center of the nib detection area TD is not necessarily limited to the position information corresponding to the first touch signal TS1 (or the third touch signal).

圖5為根據本發明一實施例繪示觸控偵測方法的步驟流程圖。相較於圖2所示實施例,圖5實施例中的觸控偵測方法提供了較為詳細的做動。請同時參照圖1以及圖5,首先控制單元120將持續地判斷是否透過觸控面板110接收能量值介於第一閥值以及第二閥值之間的第一觸控信號(步驟S501)。若控制單元120將判斷透過觸控面板110接收第一觸控信號TS1時,控制單元120即根據第一觸控信號TS1以及對應於第一觸控信號的第一位置資訊PI1定義筆尖偵測區域(步驟S502)。並且,控制單元120更根據所述的第一位置資訊PI1和筆尖偵測區域產生預測位置資訊 PP,以一掃描模式偵測筆尖偵測區域(步驟S503)。其中值得注意的是,所述預測位置資訊所對應於觸控面板110上的位置將位於筆尖偵測區域之內。 FIG. 5 is a flow chart showing the steps of a touch detection method according to an embodiment of the invention. Compared with the embodiment shown in FIG. 2, the touch detection method in the embodiment of FIG. 5 provides a more detailed operation. Referring to FIG. 1 and FIG. 5 simultaneously, first, the control unit 120 continuously determines whether the first touch signal whose energy value is between the first threshold and the second threshold is received through the touch panel 110 (step S501). When the control unit 120 determines that the first touch signal TS1 is received through the touch panel 110, the control unit 120 defines the pen point detection area according to the first touch signal TS1 and the first position information PI1 corresponding to the first touch signal. (Step S502). Moreover, the control unit 120 further generates predicted position information according to the first position information PI1 and the pen point detection area. PP detects the nib detection area in a scan mode (step S503). It should be noted that the location of the predicted location information corresponding to the touch panel 110 will be located within the nib detection area.

接著,控制單元120將持續地是否於筆尖偵測區域內接收能量值大於第二閥值的第二觸控信號(步驟S504)。當控制單元120判斷於筆尖偵測區域內接收得到第二觸控信號時,控制單元120則將傳送對應於第二觸控信號的位置資訊(即第二位置資訊PI2)至運作作業系統的處理器130(步驟S505),並且再持續判斷是否繼續接收到下一個第二觸控信號。 Next, the control unit 120 will continuously receive the second touch signal whose energy value is greater than the second threshold value in the pen point detection area (step S504). When the control unit 120 determines that the second touch signal is received in the pen tip detection area, the control unit 120 transmits the position information corresponding to the second touch signal (ie, the second position information PI2) to the operation system. The device 130 (step S505), and continues to determine whether to continue receiving the next second touch signal.

若是當控制單元120判斷於筆尖偵測區域內未接收得到第二觸控信號時(步驟S504,否),控制單元120則進一步的判斷是否於筆尖偵測區域內接收第三觸控信號和/或是於手掌偵測區域內接收第四觸控信號(步驟S506)。當控制單元120判斷筆尖偵測區域內接收第三觸控信號和/或是於手掌偵測區域內接收第四觸控信號時,控制單元120根據第三觸控信號和/或第四觸控信號調整筆尖偵測區域(以及手掌偵測區域)於觸控面板110的位置。 If the control unit 120 determines that the second touch signal is not received in the pen tip detection area (NO in step S504), the control unit 120 further determines whether the third touch signal is received in the pen tip detection area and/or Or receiving the fourth touch signal in the palm detection area (step S506). When the control unit 120 determines that the third touch signal is received in the pen point detection area and/or receives the fourth touch signal in the palm detection area, the control unit 120 is configured according to the third touch signal and/or the fourth touch. The signal adjusts the position of the nib detection area (and the palm detection area) on the touch panel 110.

綜上所述,本發明提供了一種電子裝置及其觸控偵測方法,可智慧地判斷使用者運用觸控筆的手寫區域,並且可根據筆尖以及手掌的位置判斷使用者下一個下筆的區域。另外,由於在本發明中,控制單元將持續的針對筆尖偵測區域進行掃描而非整個觸控面板,這麼一來便可減少掃描時間,使得觸控面板以及控制單元可更快速、並且更精確將對應於觸控信號的資訊回傳給運 作作業系統的處理器。 In summary, the present invention provides an electronic device and a touch detection method thereof, which can intelligently determine a user's handwriting area using a stylus, and can determine a user's next pen down area according to the position of the pen tip and the palm. . In addition, in the present invention, the control unit continuously scans the pen tip detection area instead of the entire touch panel, thereby reducing the scanning time, making the touch panel and the control unit faster and more accurate. Return the information corresponding to the touch signal to the transport As the processor of the operating system.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

10‧‧‧電子裝置 10‧‧‧Electronic devices

110‧‧‧觸控面板 110‧‧‧Touch panel

120‧‧‧控制單元 120‧‧‧Control unit

130‧‧‧處理器 130‧‧‧Processor

TS1‧‧‧觸控信號 TS1‧‧‧ touch signal

PP‧‧‧預測位置資訊 PP‧‧‧Predicted location information

PI1、PI2‧‧‧位置資訊 PI1, PI2‧‧‧Location Information

Claims (8)

一種電子裝置,包括:一觸控面板;一控制單元,耦接該觸控面板;以及其中,該控制單元偵測是否從該觸控面板接收一第一觸控信號,其中該第一觸控信號的一能量值介於一第一閥值以及一第二閥值之間,其中該第一閥值大於第二閥值,以及該第一閥值對應於一筆尖接觸該觸控面板時所偵測到的該能量值;當控制單元判斷從該觸控面板接收該第一觸控信號時,紀錄對應於該第一觸控信號於該觸控面板上的位置的一第一位置資訊,並且根據該第一觸控信號的該第一位置資訊定義一筆尖偵測區域;以及該控制單元根據該第一觸控信號的該第一位置資訊預測於該觸控面板上的該筆尖偵測區域內接收一第二觸控信號的位置而產生一預測位置資訊,其中該第二觸控信號的該能量值大於等於該第一閥值。 An electronic device includes: a touch panel; a control unit coupled to the touch panel; and wherein the control unit detects whether a first touch signal is received from the touch panel, wherein the first touch An energy value of the signal is between a first threshold and a second threshold, wherein the first threshold is greater than the second threshold, and the first threshold corresponds to when the tip touches the touch panel Detecting the energy value; when the control unit determines to receive the first touch signal from the touch panel, recording a first position information corresponding to the position of the first touch signal on the touch panel, And determining, according to the first position information of the first touch signal, a tip detection area; and the control unit predicting the tip detection on the touch panel according to the first position information of the first touch signal The location of the second touch signal is received in the area to generate a predicted position information, wherein the energy value of the second touch signal is greater than or equal to the first threshold. 如申請專利範圍第1項所述的電子裝置,其中所述電子裝置更包括:一處理器,耦接該控制單元,用以運行一作業系統,其中,該控制單元傳送該預測位置資訊至該處理器;以及當該控制單元從該觸控面板接收該第二觸控信號時,傳送該第二觸控信號對應於該觸控面板的位置之一第二位置資訊至該處 理器。 The electronic device of claim 1, wherein the electronic device further comprises: a processor coupled to the control unit for operating an operating system, wherein the control unit transmits the predicted location information to the And receiving, when the control unit receives the second touch signal from the touch panel, transmitting the second touch signal to the second position information corresponding to the position of the touch panel to the location Processor. 如申請專利範圍第1項所述的電子裝置,其中:根據該第一觸控信號的該第一位置資訊定義該筆尖偵測區域後,該控制單元更偵測是否透過該觸控面板接收該能量值介於該第一閥值以及該第二閥值的一第三觸控信號;以及當該控制單元偵測接收該第三觸控信號時,根據該第三觸控信號的位置調整該筆尖偵測區域的位置。 The electronic device of claim 1, wherein the control unit further detects whether the device is received through the touch panel after the tip detection area is defined according to the first position information of the first touch signal. a third touch signal having an energy value between the first threshold and the second threshold; and when the control unit detects receiving the third touch signal, adjusting the position according to the third touch signal The position of the nib detection area. 如申請專利範圍第3項所述的電子裝置,其中:該控制單元於該觸控面板定義一手掌偵測區域,其中該手掌偵測區域的中心與該筆尖偵測區域的中心重疊,並且該手掌偵測區域的大小大於該筆尖偵測區域;該控制單元於該手掌偵測區域中偵測是否接收一第四觸控信號,其中該第四觸控信號的該能量值大於一第三閥值,並且該第四觸控信號所對應於該觸控面板上的一接觸面積大於一預設面積值,以及該第三閥值大於該第一閥值以及該第二閥值;以及當該控制單元判斷透過該觸控面板接收該第四觸控信號時,根據該第四觸控信號以及該第三觸控信號調整該筆尖偵測區域的位置。 The electronic device of claim 3, wherein the control unit defines a palm detection area on the touch panel, wherein a center of the palm detection area overlaps a center of the nib detection area, and the The size of the detection area of the palm is greater than the detection area of the nib; the control unit detects whether a fourth touch signal is received in the palm detection area, wherein the energy value of the fourth touch signal is greater than a third valve. And the fourth touch signal corresponds to a contact area on the touch panel that is greater than a predetermined area value, and the third threshold is greater than the first threshold and the second threshold; and when the When the control unit determines that the fourth touch signal is received by the touch panel, the position of the pen point detection area is adjusted according to the fourth touch signal and the third touch signal. 如申請專利範圍第1項所述的電子裝置,其中所述控制單元包括:一觸控偵測模組,耦接該觸控面板,偵測是否該觸控面板是否具有能量變化; 一分析取樣模組,耦接該觸控偵測單元,當該觸控面板具有能量變化,並且該能量變化的該能量值介於該第一閥值以及該第二閥值之間時,判斷該能量變化為該第一觸控信號,並且紀錄對應於該第一觸控信號於該觸控面板上的位置;以及一資料模組,耦接該分析取樣模組,從該分析取樣模組取得對應於該第一觸控信號於該觸控面板上的位置的該第一位置資訊,並根據該第一位置資訊產生該預測位置資訊。 The electronic device of claim 1, wherein the control unit comprises: a touch detection module coupled to the touch panel to detect whether the touch panel has an energy change; An analysis sampling module coupled to the touch detection unit, wherein when the touch panel has an energy change, and the energy value of the energy change is between the first threshold and the second threshold, determining The energy change is the first touch signal, and the record corresponds to the position of the first touch signal on the touch panel; and a data module is coupled to the analysis sampling module, and the analysis sampling module is Obtaining the first location information corresponding to the location of the first touch signal on the touch panel, and generating the predicted location information according to the first location information. 一種觸控偵測方法,適用於一具有觸控面板的電子裝置,包括:偵測是否從該觸控面板接收一第一觸控信號,其中該第一觸控信號的一能量值介於一第一閥值以及一第二閥值之間,其中該第一閥值大於第二閥值,以及該第一閥值對應於一筆尖接觸該觸控面板時所偵測到的該能量值;當判斷接收該第一觸控信號時,紀錄對應於該第一觸控信號的位置的一第一位置資訊,並且根據該第一觸控信號的該第一位置資訊定義一筆尖偵測區域;以及根據該第一位置資訊預測該觸控面板上的該筆尖偵測區域內接收一第二觸控信號的位置而產生一預測位置資訊,其中該第二觸控信號的該能量值大於等於該第一閥值。 A touch detection method is applicable to an electronic device having a touch panel, including: detecting whether a first touch signal is received from the touch panel, wherein an energy value of the first touch signal is between Between the first threshold and a second threshold, wherein the first threshold is greater than the second threshold, and the first threshold corresponds to the energy value detected when the tip touches the touch panel; When it is determined that the first touch signal is received, a first position information corresponding to the position of the first touch signal is recorded, and a first edge detection area is defined according to the first position information of the first touch signal; And generating, according to the first location information, a location of the second touch signal in the nib detection area of the touch panel to generate a predicted position information, wherein the energy value of the second touch signal is greater than or equal to the The first threshold. 如申請專利範圍第6項所述的觸控偵測方法,其中所述根據該第一觸控信號的位置定義該筆尖偵測區域的步驟之後,所述觸控偵測方法更包括: 偵測是否接收該能量值介於該第一閥值以及該第二閥值的一第三觸控信號;以及當偵測接收該第三觸控信號時,根據該第三觸控信號的位置調整該筆尖偵測區域的位置。 The touch detection method of claim 6, wherein the touch detection method further comprises: after the step of defining the nib detection area according to the position of the first touch signal, the touch detection method further comprises: Detecting whether a third touch signal whose energy value is between the first threshold and the second threshold is received; and when detecting the third touch signal, according to the location of the third touch signal Adjust the position of the tip detection area. 如申請專利範圍第7項所述的觸控偵測方法,其中所述根據該第一觸控信號的位置定義該筆尖偵測區域的步驟之後,所述觸控偵測方法更包括:於該觸控面板定義一手掌偵測區域,其中該手掌偵測區域的中心與該筆尖偵測區域相同,並且該手掌偵測區域的大小大於該筆尖偵測區域;於該手掌偵測區域中偵測是否接收一第四觸控信號,其中該第四觸控信號的該能量值大於一第三閥值,並且該第四觸控信號所對應於該觸控面板上的一接觸面積大於一預設面積值,其中該第三閥值大於該第一閥值以及該第二閥值;當判斷接收該第四觸控信號時,根據該第四觸控信號以及該第三觸控信號調整該筆尖偵測區域的位置。 The touch detection method of the seventh aspect of the invention, wherein the step of detecting the nib detection area according to the position of the first touch signal further comprises: The touch panel defines a palm detection area, wherein the center of the palm detection area is the same as the nib detection area, and the size of the palm detection area is larger than the nib detection area; detecting in the palm detection area Receiving a fourth touch signal, wherein the energy value of the fourth touch signal is greater than a third threshold, and the contact area of the fourth touch signal corresponding to the touch panel is greater than a preset An area value, wherein the third threshold is greater than the first threshold and the second threshold; and when determining to receive the fourth touch signal, adjusting the nib according to the fourth touch signal and the third touch signal The location of the detection area.
TW104112565A 2015-04-20 2015-04-20 Electronic device and detection method of touch control TW201638763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104112565A TW201638763A (en) 2015-04-20 2015-04-20 Electronic device and detection method of touch control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104112565A TW201638763A (en) 2015-04-20 2015-04-20 Electronic device and detection method of touch control

Publications (1)

Publication Number Publication Date
TW201638763A true TW201638763A (en) 2016-11-01

Family

ID=57850327

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104112565A TW201638763A (en) 2015-04-20 2015-04-20 Electronic device and detection method of touch control

Country Status (1)

Country Link
TW (1) TW201638763A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI807181B (en) * 2019-04-11 2023-07-01 日商理光股份有限公司 Handwriting input apparatus, handwriting input method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI807181B (en) * 2019-04-11 2023-07-01 日商理光股份有限公司 Handwriting input apparatus, handwriting input method, and program

Similar Documents

Publication Publication Date Title
CN107407980B (en) Stylus pen having multiple operating portions configured to transmit synchronized signals
US9201521B2 (en) Storing trace information
AU2012348377B2 (en) Touch-sensitive button with two levels
CN108780369B (en) Method and apparatus for soft touch detection of stylus
US20150309610A1 (en) Touch panel scan control
KR101812004B1 (en) System and method for context-based touch processing
US10101819B2 (en) Control system for a gesture sensing arrangement and method for controlling a gesture sensing arrangement
US8164575B2 (en) Method for identifying a single tap, double taps and a drag and a controller for a touch device employing the method
US10942646B2 (en) Adaptive ink prediction
US20140108989A1 (en) Character deletion during keyboard gesture
EP2770423A2 (en) Method and apparatus for operating object in user device
KR20140091302A (en) Method and apparatus for displaying scrolling information in electronic device
US9417717B2 (en) Methods for interacting with an electronic device by using a stylus comprising body having conductive portion and systems utilizing the same
US9244567B2 (en) Electronic apparatus, calibration method and storage medium
CN110799933A (en) Disambiguating gesture input types using multi-dimensional heat maps
US10394442B2 (en) Adjustment of user interface elements based on user accuracy and content consumption
TW201638763A (en) Electronic device and detection method of touch control
US9898143B2 (en) Predicting touch events to improve touchscreen usage accuracy
KR101460531B1 (en) Touch sensing device, method for operating touch sensing device, and terminal device employing the same
TW201531920A (en) Touch control electronic device and calibration method of trajectory
TWI590114B (en) Processing method for touch control signal and electronic device
TW201439828A (en) An electronic apparatus and a touch control method
KR20150060475A (en) Method and apparatus for controlling an input on a touch-screen
KR101069992B1 (en) Apparatus for inputting digital data using laser
WO2016048262A1 (en) Cursor control using images