[go: up one dir, main page]

TWI850001B - Touch control device and touch sensing method thereof - Google Patents

Touch control device and touch sensing method thereof Download PDF

Info

Publication number
TWI850001B
TWI850001B TW112124295A TW112124295A TWI850001B TW I850001 B TWI850001 B TW I850001B TW 112124295 A TW112124295 A TW 112124295A TW 112124295 A TW112124295 A TW 112124295A TW I850001 B TWI850001 B TW I850001B
Authority
TW
Taiwan
Prior art keywords
threshold
touch
touch signal
active pen
energy
Prior art date
Application number
TW112124295A
Other languages
Chinese (zh)
Other versions
TW202501217A (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 奕力科技股份有限公司
Priority to TW112124295A priority Critical patent/TWI850001B/en
Application granted granted Critical
Publication of TWI850001B publication Critical patent/TWI850001B/en
Publication of TW202501217A publication Critical patent/TW202501217A/en

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

A touch control device and touch sensing method thereof are provided. The touch sensing method includes: determining whether an active pen is at an in-range state; setting a threshold value, and generating a strength threshold range according to the threshold value; when the active pen is at the in-range state, comparing a touch signal transmitted by the active pen with the strength threshold range to determine a position state of the active pen; performing an adjusting operation on the threshold value by comparing an energy of the touch signal with the threshold value.

Description

觸控裝置以及觸控感測方法Touch device and touch sensing method

本發明是有關於一種觸控裝置以及觸控感測方法,且特別是有關於一種可降低感測延遲的觸控裝置以及觸控感測方法。The present invention relates to a touch device and a touch sensing method, and in particular to a touch device and a touch sensing method capable of reducing sensing delay.

在習知的技術領域中,為了有效感應主動筆的觸控動作,執行觸控感測動作的控制器需預先設定一閾值,並針對這個設定好的閾值來設定觸控信號的感測策略。由於不同的主動筆可能具有多種不同的規格。觸控面板對於不同的主動筆的觸控信號所能產生的感應量可能不相同。即使同廠牌的主動筆,在具有不相同的電池電量的條件下,也可能使觸控面板產生不同的感應量。因此,固定閾值的感測策略無法因應這樣的應用環境,並容易發生觸控動作的感測延遲的現象。In the known technical field, in order to effectively sense the touch action of the active pen, the controller that performs the touch sensing action needs to pre-set a threshold value and set the sensing strategy of the touch signal according to the set threshold value. Because different active pens may have different specifications. The touch panel may produce different sensing amounts for the touch signals of different active pens. Even active pens of the same brand may cause the touch panel to produce different sensing amounts under the condition of different battery capacities. Therefore, the sensing strategy with a fixed threshold value cannot cope with such an application environment and is prone to the phenomenon of delayed sensing of touch actions.

本發明提供一種觸控裝置以及觸控感測方法,可有效降低觸控感測的延遲時間。The present invention provides a touch device and a touch sensing method, which can effectively reduce the delay time of touch sensing.

本發明的觸控感測方法包括:判斷主動筆是否為範圍內狀態;設定閾值,根據閾值以產生強度閾值範圍;當主動筆為範圍內狀態時,比較主動筆發送的觸控信號的能量以及強度閾值範圍以決定主動筆的位置狀態;根據比較觸控信號的能量與閾值以進行閾值調整的調整動作。The touch sensing method of the present invention includes: determining whether the active pen is in an in-range state; setting a threshold value, and generating an intensity threshold range according to the threshold value; when the active pen is in an in-range state, comparing the energy of the touch signal sent by the active pen and the intensity threshold range to determine the position state of the active pen; and adjusting the threshold value based on comparing the energy of the touch signal with the threshold value.

本發明的觸控裝置包括主動筆以及觸控面板。主動筆用以發送觸控信號。觸控面板具有控制器,用以執行如上所述的觸控感測方法。The touch device of the present invention comprises an active pen and a touch panel. The active pen is used to send touch signals. The touch panel has a controller for executing the touch sensing method as described above.

基於上述,本發明的觸控感測方法透過設置一閾值,並針對根據閾值所產生強度閾值範圍來與主動筆發送的觸控信號的能量相比較,並根據比較的結果來判定主動筆的位置狀態,可有效加快主動筆的觸控信號的感測速度,降低感測延遲。Based on the above, the touch sensing method of the present invention sets a threshold value, compares the energy of the touch signal sent by the active pen with the intensity threshold range generated by the threshold value, and determines the position state of the active pen based on the comparison result, which can effectively speed up the sensing speed of the touch signal of the active pen and reduce the sensing delay.

請參照圖1,圖1繪示本發明一實施例的觸控感測方法的流程圖。本發明的觸控感測方法用於感測一主動筆所發送的觸控信號,並根據觸控信號來判斷出主動筆的位置狀態。本發明的觸控感測方法的各步驟可透過觸控面板上的控制器來執行。其中,在步驟S110中,控制器可先判斷主動筆是否為範圍內狀態。在此,可同步參照圖2繪示的本發明實施例的主動筆的觸控動作的示意圖。在圖2中,主動筆可根據路徑P1來接近觸控面板來執行觸控動作。在觸控動作結束後,主動筆則可根據路徑P2來遠離觸控面板。隨著主動筆沿路徑P1接近觸控面板,觸控面板上的控制器所感測到的主動筆所發送的觸控信號的能量會越高。而隨著主動筆沿路徑P2遠離觸控面板,觸控面板上的控制器所感測到的主動筆所發送的觸控信號的能量會越低。Please refer to Figure 1, which shows a flow chart of a touch sensing method of an embodiment of the present invention. The touch sensing method of the present invention is used to sense a touch signal sent by an active pen, and determine the position state of the active pen based on the touch signal. Each step of the touch sensing method of the present invention can be executed through a controller on the touch panel. Among them, in step S110, the controller can first determine whether the active pen is in the within-range state. Here, reference can be made to Figure 2, which is a schematic diagram of the touch action of the active pen of an embodiment of the present invention. In Figure 2, the active pen can approach the touch panel according to the path P1 to perform a touch action. After the touch action is completed, the active pen can move away from the touch panel according to the path P2. As the active pen approaches the touch panel along the path P1, the energy of the touch signal sent by the active pen sensed by the controller on the touch panel will be higher. As the active pen moves away from the touch panel along the path P2, the energy of the touch signal sent by the active pen sensed by the controller on the touch panel will be lower.

在步驟S110中,控制器可針對主動筆所發送的觸控信號進行感測,並感測出觸控信號對應的功能項次(term)。在本實施例中,觸控信號的一幀期(frame period)包含多個功能項次,控制器可根據觸控信號的頻率以及信號發送的時間來判斷出觸控信號對應的功能項次。觸控信號的頻率以及信號發送的時間與對應的功能項次可被定義在主動筆觸控機制的相關協定中,相關細節不多贅述。In step S110, the controller can sense the touch signal sent by the active pen and sense the function term corresponding to the touch signal. In this embodiment, a frame period of the touch signal includes multiple function terms, and the controller can determine the function term corresponding to the touch signal according to the frequency of the touch signal and the time when the signal is sent. The frequency of the touch signal and the time when the signal is sent and the corresponding function term can be defined in the relevant protocol of the active pen touch mechanism, and the relevant details are not described in detail.

進一步的,控制器可根據觸控信號對應的功能項次來設定一範圍內判定值IRV。控制器並感測觸控信號的能量強度,根據使觸控信號的能量強度與範圍內判定值IRV相比較,可判斷出主動筆是在範圍內狀態或是範圍外狀態。細節上,當觸控信號的能量強度大於範圍內判定值IRV時,可判定主動筆是在範圍內狀態,相對的,當觸控信號的能量強度不大於範圍內判定值IRV時,可判定主動筆是在範圍外狀態。Furthermore, the controller can set an in-range determination value IRV according to the function item corresponding to the touch signal. The controller also senses the energy intensity of the touch signal, and by comparing the energy intensity of the touch signal with the in-range determination value IRV, it can be determined whether the active pen is in the in-range state or the out-of-range state. In detail, when the energy intensity of the touch signal is greater than the in-range determination value IRV, it can be determined that the active pen is in the in-range state. Conversely, when the energy intensity of the touch signal is not greater than the in-range determination value IRV, it can be determined that the active pen is in the out-of-range state.

請重新參照圖1,接著,在步驟S120中,控制器可設定一閾值,並根據所設定的閾值來產生強度閾值範圍ZF。在圖2中,強度閾值範圍ZF具有兩個邊界值,分別為第一強度閾值ZF_L以及第二強度閾值ZF_H,其中第二強度閾值ZF_H可大於第一強度閾值ZF_L。值得一提的,在本實施例中,第一強度閾值ZF_L以及第二強度閾值ZF_H均可小於主動筆實際接觸到觸控面板時,觸控信號的能量強度的數值CFV。因此,第一強度閾值ZF_L以及第二強度閾值ZF_H可作為當主動筆與觸控面板間無產生實際應力(zero force)時的觸控關係判斷閾值。Please refer to FIG. 1 again. Then, in step S120, the controller may set a threshold value and generate a strength threshold range ZF according to the set threshold value. In FIG. 2, the strength threshold range ZF has two boundary values, namely, a first strength threshold value ZF_L and a second strength threshold value ZF_H, wherein the second strength threshold value ZF_H may be greater than the first strength threshold value ZF_L. It is worth mentioning that in this embodiment, the first strength threshold value ZF_L and the second strength threshold value ZF_H may be less than the energy intensity value CFV of the touch signal when the active pen actually touches the touch panel. Therefore, the first strength threshold ZF_L and the second strength threshold ZF_H can be used as touch relationship determination thresholds when there is no actual stress (zero force) between the active pen and the touch panel.

承續步驟S120,接著,在步驟S130中,當主動筆被判斷為範圍內狀態時,控制器可啟動主動筆的位置狀態的判斷機制。其中,控制器可比較主動筆發送的觸控信號的能量的強度以及強度閾值範圍來決定主動筆的位置狀態。其中,控制器可判斷觸控信號的能量強度是否大於第一強度閾值ZF_L以及是否大於第二強度閾值ZF_H,來判斷出主動筆的位置狀態是為懸浮(hover)狀態或是出墨(ink)狀態。其中,在本實施例中,當觸控信號的能量強度不大於第一強度閾值ZF_L時,控制器可判斷主動筆的位置狀態是為懸浮狀態。當觸控信號的能量強度大於第一強度閾值ZF_L時,控制器可根據觸控信號的能量強度與第二強度閾值ZF_H的關係來判定主動筆的位置狀態。相關的細節在後面的實施例會有詳細的說明。Continuing from step S120, then, in step S130, when the active pen is judged to be in the within-range state, the controller may activate the judgment mechanism of the position state of the active pen. The controller may compare the energy intensity of the touch signal sent by the active pen and the intensity threshold range to determine the position state of the active pen. The controller may judge whether the energy intensity of the touch signal is greater than the first intensity threshold ZF_L and whether it is greater than the second intensity threshold ZF_H to judge whether the position state of the active pen is a hovering state or an ink state. In this embodiment, when the energy intensity of the touch signal is not greater than the first intensity threshold ZF_L, the controller may judge that the position state of the active pen is a hovering state or an ink state. When the energy intensity of the touch signal is greater than the first intensity threshold ZF_L, the controller can determine the position state of the active pen according to the relationship between the energy intensity of the touch signal and the second intensity threshold ZF_H. The relevant details will be described in detail in the following embodiments.

值得一提的,在步驟S130中,主動筆的位置狀態的判斷機制僅在主動筆被判斷為範圍內狀態時才會被啟動。如此一來,控制器僅需要在主動筆足夠接近觸控面板時才執行主動筆的位置狀態的判斷機制,不需要持續的執行主動筆的位置狀態的判斷機制,可有效節省電量的消耗。It is worth mentioning that in step S130, the active pen position state determination mechanism is activated only when the active pen is determined to be in the range state. In this way, the controller only needs to execute the active pen position state determination mechanism when the active pen is close enough to the touch panel, and does not need to continuously execute the active pen position state determination mechanism, which can effectively save power consumption.

在步驟S140中,控制器並可進一步的根據比較觸控信號的能量的強度與閾值以進行閾值調整的調整動作。其中,在本實施中,當觸控信號的能量的強度大於所設定的閾值一足夠大的差值時,控制器可動態的調整閾值,並根據調整後的閾值重新設定強度閾值範圍。如此一來,閾值以及強度閾值範圍可跟隨著觸控信號的能量強度來進行適應性的調整。In step S140, the controller can further adjust the threshold value by comparing the energy intensity of the touch signal with the threshold value. In this embodiment, when the energy intensity of the touch signal is greater than the set threshold value by a sufficiently large difference, the controller can dynamically adjust the threshold value and reset the intensity threshold value range according to the adjusted threshold value. In this way, the threshold value and the intensity threshold value range can be adaptively adjusted according to the energy intensity of the touch signal.

在此請注意,觸控信號的能量強度可以與主動筆的位置相關聯,也可以與主動筆的電量以及規格相關聯。因此,透過動態調整閾值以及強度閾值範圍,可以使不同條件的主動筆產生實質上相同的觸控體驗,有效提升觸控動作的操控表現。Please note that the energy intensity of the touch signal can be related to the position of the active pen, or the power and specifications of the active pen. Therefore, by dynamically adjusting the threshold and the intensity threshold range, active pens under different conditions can produce substantially the same touch experience, effectively improving the control performance of touch actions.

附帶一提的,在圖2中,當主動筆實際接觸到觸控面板時,觸控信號的能量強度為數值CFV時,主動筆可根據主動筆與觸控面板間的接觸狀態以設定其標記類別(symbol type)為出墨狀態。或者當主動筆與觸控面板接觸的壓力值大於一預設的參考值時,控制器可設定主動筆的位置狀態為出墨狀態。Incidentally, in FIG. 2 , when the active pen actually contacts the touch panel and the energy intensity of the touch signal is a numerical value CFV, the active pen can set its symbol type to an ink discharge state according to the contact state between the active pen and the touch panel. Alternatively, when the pressure value of the active pen contacting the touch panel is greater than a preset reference value, the controller can set the position state of the active pen to an ink discharge state.

以下請參照圖3,圖3繪示本發明另一實施例的觸控感測方法的流程圖。在步驟S310中,觸控面板的控制器可感測主動筆發送的對應功能項次的觸控信號的能量強度。並且,在步驟S320中,控制器可對應主動筆的功能項次來設定閾值。在本發明實施例中,主動筆可執行多個功能項次。並且對應每個功能項次,控制器可分別設定不同的多個設定閾值,如此一來,觸控信號的一幀期中可多次判斷主動筆的位置狀態。Please refer to Figure 3 below, which shows a flow chart of a touch sensing method of another embodiment of the present invention. In step S310, the controller of the touch panel can sense the energy intensity of the touch signal corresponding to the function item sent by the active pen. And, in step S320, the controller can set the threshold value corresponding to the function item of the active pen. In the embodiment of the present invention, the active pen can execute multiple function items. And corresponding to each function item, the controller can set different multiple set threshold values respectively, so that the position state of the active pen can be judged multiple times in one frame period of the touch signal.

在步驟S330中,控制器可判斷主動筆是否為範圍內,若當主動筆被判斷為範圍外時,控制器不執行報座標的動作(步驟S331)。相對的,主動筆被判斷為範圍內時,控制器可執行步驟S340。In step S330, the controller can determine whether the active pen is within the range. If the active pen is determined to be outside the range, the controller does not perform the action of reporting the coordinates (step S331). Conversely, when the active pen is determined to be within the range, the controller can execute step S340.

在步驟S340中,控制器可檢查是否需要進行閾值的動態調整動作。相關步驟S340的動作細節,在下述的實施方式會有仔細的說明。接著,在步驟S350中,控制器可判斷主動筆的標記類別是否為出墨狀態或主動筆的壓力感測值有無大於參考值。在另一方面,控制器可判斷觸控信號的強度是否大於或等於第一強度閾值ZH_L,或者判斷觸控信號的強度是否大於或等於第二強度閾值ZH_H。控制器並可根據觸控信號的強度與第一強度閾值ZH_L、第二強度閾值ZH_H的大小關係,來判斷出觸控信號的強度在第一強度閾值ZH_L、第二強度閾值ZH_H間產生的彈跳狀態,並計算觸控信號的強度在第一強度閾值ZH_L、第二強度閾值ZH_H間發生的彈跳次數。In step S340, the controller may check whether it is necessary to perform a dynamic adjustment action of the threshold. The action details of step S340 will be carefully explained in the following implementation method. Then, in step S350, the controller may determine whether the marking category of the active pen is in the ink-out state or whether the pressure sensing value of the active pen is greater than a reference value. On the other hand, the controller may determine whether the intensity of the touch signal is greater than or equal to the first intensity threshold ZH_L, or determine whether the intensity of the touch signal is greater than or equal to the second intensity threshold ZH_H. The controller can also determine the bounce state of the touch signal strength between the first strength threshold ZH_L and the second strength threshold ZH_H according to the relationship between the touch signal strength and the first strength threshold ZH_L and the second strength threshold ZH_H, and calculate the number of bounces of the touch signal strength between the first strength threshold ZH_L and the second strength threshold ZH_H.

舉例來說明,控制器在第一時間點偵測出觸控信號的強度發生大於第一強度閾值ZH_L(未大於第二強度閾值ZH_H),之後,控制器在第二時間點偵測出觸控信號的強度大於第二強度閾值ZH_H。接著,在第三時間點時,控制器又偵測出觸控信號的強度發生僅大於第一強度閾值ZH_L(未大於第二強度閾值ZH_H),表示觸控信號的強度在第一時間點至第三時間點間發生一次彈跳。For example, the controller detects that the intensity of the touch signal is greater than the first intensity threshold ZH_L (not greater than the second intensity threshold ZH_H) at the first time point, and then detects that the intensity of the touch signal is greater than the second intensity threshold ZH_H at the second time point. Then, at the third time point, the controller detects that the intensity of the touch signal is only greater than the first intensity threshold ZH_L (not greater than the second intensity threshold ZH_H), indicating that the intensity of the touch signal has bounced once between the first time point and the third time point.

上述的彈跳動作可因為主動筆在臨近觸控面板時產生的位置抖動狀態。The bouncing action mentioned above may be caused by the position jitter of the active pen when it approaches the touch panel.

進一步來說明,在步驟S350中,當控制器判斷主動筆的標記類別為出墨狀態或主動筆的壓力感測值大於參考值時,控制器可判定主動筆的座標狀態(亦即位置狀態)為出墨狀態(步驟S360)。或者,當控制器判斷出觸控信號的強度在第一強度閾值ZH_L、第二強度閾值ZH_H間發生的彈跳次數大於預設的上限值時,控制器也可判定主動筆的座標狀態(亦即位置狀態)為出墨狀態(步驟S360)。相對的,若上述的狀態均無發生時,控制器可執行步驟S351並判定主動筆的座標狀態(亦即位置狀態)為懸浮狀態(步驟S351)。To further explain, in step S350, when the controller determines that the marking type of the active pen is in the ink-out state or the pressure sensing value of the active pen is greater than the reference value, the controller can determine that the coordinate state (i.e., the position state) of the active pen is in the ink-out state (step S360). Alternatively, when the controller determines that the number of bounces of the intensity of the touch signal between the first intensity threshold ZH_L and the second intensity threshold ZH_H is greater than a preset upper limit value, the controller can also determine that the coordinate state (i.e., the position state) of the active pen is in the ink-out state (step S360). In contrast, if none of the above states occurs, the controller may execute step S351 and determine that the coordinate state (ie, position state) of the active pen is a suspended state (step S351).

在步驟S360後,控制器可執行步驟370並針對閾值進行動態的調整動作。同樣的相關步驟S360的動作細節,在下述的實施方式會有仔細的說明。After step S360, the controller may execute step 370 and dynamically adjust the threshold. The details of the actions related to step S360 will be described in detail in the following implementation.

值得一提的,本實施例中的第一強度閾值ZH_L、第二強度閾值ZH_H可構成強度閾值範圍,其中第二強度閾值ZH_H可以為強度閾值範圍的上界,而第一強度閾值ZH_L則可以為強度閾值範圍的下界。第一強度閾值ZH_L、第二強度閾值ZH_H可以根據控制器所預先設定的閾值來產生,其中控制器可以使閾值乘上第一比例來產生第一強度閾值ZH_L,並使閾值乘上第二比例來產生第一強度閾值ZH_H。第一比例可小於1,第二比例則可以大於或等於1。It is worth mentioning that the first intensity threshold ZH_L and the second intensity threshold ZH_H in this embodiment may constitute an intensity threshold range, wherein the second intensity threshold ZH_H may be the upper limit of the intensity threshold range, and the first intensity threshold ZH_L may be the lower limit of the intensity threshold range. The first intensity threshold ZH_L and the second intensity threshold ZH_H may be generated according to the thresholds preset by the controller, wherein the controller may multiply the thresholds by a first ratio to generate the first intensity threshold ZH_L, and may multiply the thresholds by a second ratio to generate the first intensity threshold ZH_H. The first ratio may be less than 1, and the second ratio may be greater than or equal to 1.

因此,當控制器針對閾值進行動態的調整動作時,第一強度閾值ZH_L、第二強度閾值ZH_H也可對應進行調整。Therefore, when the controller dynamically adjusts the threshold, the first intensity threshold ZH_L and the second intensity threshold ZH_H can also be adjusted accordingly.

當然,在本發明實施例中,上述的第一比例以及第二比例也可以不是固定的數值,而可以根據實際的需求,進行適應性的調整。Of course, in the embodiment of the present invention, the first ratio and the second ratio may not be fixed values, but may be adaptively adjusted according to actual needs.

以下請參照圖4,圖4繪示本發明圖3實施例中,關於檢查是否需要進行閾值的動態調整動作的實施方式的流程圖。在本實施方式中,步驟S410啟動是否需要進行閾值的動態調整動作的檢查動作。在步驟S420中,控制器可判斷主動筆此時所發送的觸控信號的能量強度是否大於閾值與一比例值的乘積。若控制器判斷出觸控信號的能量強度大於閾值與比例值的乘積時,表示目前設定的閾值過小,控制器會在主動筆距離觸控面板較遠時就判定主動筆為出墨狀態,此時控制器可執行步驟S430並執行閾值的動態調整動作。相對的,若控制器判斷出觸控信號的能量強度不大於閾值與比例值的乘積時,控制器可不執行閾值的動態調整動作(步驟S440)。Please refer to Figure 4 below, which shows a flow chart of the implementation method for checking whether it is necessary to perform a dynamic adjustment action of the threshold value in the embodiment of Figure 3 of the present invention. In this embodiment, step S410 starts the check action of whether it is necessary to perform a dynamic adjustment action of the threshold value. In step S420, the controller can determine whether the energy intensity of the touch signal sent by the active pen at this time is greater than the product of the threshold value and a proportional value. If the controller determines that the energy intensity of the touch signal is greater than the product of the threshold value and the proportional value, it means that the currently set threshold value is too small. The controller will determine that the active pen is in an ink-discharging state when the active pen is far away from the touch panel. At this time, the controller can execute step S430 and execute the dynamic adjustment action of the threshold value. In contrast, if the controller determines that the energy intensity of the touch signal is not greater than the product of the threshold and the proportional value, the controller may not perform the dynamic adjustment action of the threshold (step S440).

在本實施方式中,比例值可以為大於1的任意實數,例如可以為1.2。In this embodiment, the ratio value can be any real number greater than 1, for example, it can be 1.2.

此外並請參照圖5,圖5繪示本發明圖3、圖4實施例中,關於執行閾值的動態調整動作的實施方式的流程圖。在步驟S510中,控制器可啟動閾值的動態調整動作。接著,在步驟S520中,控制器可計算目前功能項次的觸控信號的能量強度。值得一提的,控制器可針對觸控面板中,用以感測觸控信號的多個感設電容的電容值的總和來計算出觸控信號的能量的強度。In addition, please refer to FIG. 5, which is a flow chart showing an implementation method of the dynamic adjustment action of the threshold in the embodiment of FIG. 3 and FIG. 4 of the present invention. In step S510, the controller can activate the dynamic adjustment action of the threshold. Then, in step S520, the controller can calculate the energy intensity of the touch signal of the current function item. It is worth mentioning that the controller can calculate the energy intensity of the touch signal based on the sum of the capacitance values of multiple sensing capacitors in the touch panel for sensing the touch signal.

接著,在步驟S521中,當觸控信號的能量強度大於所設定的閾值時,控制器可透過增加閾值一個步階值來調整閾值(步驟S531)。在步驟S522中,當觸控信號的能量強度不大於所設定的閾值時,控制器可透過減低閾值一個步階值來調整閾值(步驟S532)。步驟S531以及步驟S532中所提及的步階值可以是相同的或者也可以是不相同。另外,步階值不需要是固定的數值,而可以根據實際的需求進行動態的調整。Next, in step S521, when the energy intensity of the touch signal is greater than the set threshold, the controller can adjust the threshold by increasing the threshold by a step value (step S531). In step S522, when the energy intensity of the touch signal is not greater than the set threshold, the controller can adjust the threshold by decreasing the threshold by a step value (step S532). The step values mentioned in step S531 and step S532 can be the same or different. In addition, the step value does not need to be a fixed value, but can be dynamically adjusted according to actual needs.

在此需要特別注意,在圖4以及圖5的動作流程中,其中的觸控信號的能量強度是會隨著時間動態改變的。其中,控制器可根據幀期(frame period)的時間長度來週期性的感測出觸控信號的能量強度。在本實施例中,當觸控信號的能量強度因主動筆使用後電量下降而下降時,觸控信號的能量強度不大於所設定的閾值的情況可能會發生,當觸控信號的能量強度因主動筆充電後電量上升而上升時,觸控信號的能量強度大於所設定的閾值的情況可能會發生。藉此,透過步驟S521、S531、S522、S532可進行閾值的調升或是調降動作。It should be noted that in the action flow of FIG. 4 and FIG. 5 , the energy intensity of the touch signal changes dynamically over time. The controller can periodically sense the energy intensity of the touch signal according to the length of the frame period. In this embodiment, when the energy intensity of the touch signal decreases due to the decrease in the power of the active pen after use, the energy intensity of the touch signal may not be greater than the set threshold value. When the energy intensity of the touch signal increases due to the increase in the power of the active pen after charging, the energy intensity of the touch signal may be greater than the set threshold value. Thus, the threshold value can be increased or decreased through steps S521, S531, S522, and S532.

以下請參照圖6,圖6繪示本發明一實施例的觸控裝置的示意圖。觸控裝置600包括主動筆610以及觸控面板620。主動筆610具有電極611以及612。電極611設置在主動筆610的筆尖位置,電極612則設置在主動筆610的側邊的位置。電極611以及612可根據協定,來對應功能項次以根據不同的時間來發送不同頻率的觸控信號。觸控面板620包括控制器621以及多個感測電容TP所構成的觸控感測陣列622。控制器621耦接感測電容TP,並透過計算感測電容TP的電容值來獲得觸控信號的能量強度。Please refer to Figure 6 below, which shows a schematic diagram of a touch device of an embodiment of the present invention. The touch device 600 includes an active pen 610 and a touch panel 620. The active pen 610 has electrodes 611 and 612. The electrode 611 is arranged at the tip of the active pen 610, and the electrode 612 is arranged at the side of the active pen 610. The electrodes 611 and 612 can correspond to the function items according to the protocol to send touch signals of different frequencies according to different times. The touch panel 620 includes a controller 621 and a touch sensing array 622 composed of a plurality of sensing capacitors TP. The controller 621 is coupled to the sensing capacitor TP, and obtains the energy intensity of the touch signal by calculating the capacitance value of the sensing capacitor TP.

另外,控制器621並可用以執行前述多個實施例以及實施方式的動作流程。相關細節在前述的實施例以及實施方式中已有詳細的說明,此處恕不多贅述。In addition, the controller 621 can be used to execute the action flow of the aforementioned multiple embodiments and implementation methods. The relevant details have been described in detail in the aforementioned embodiments and implementation methods, and will not be repeated here.

綜上所述,本發明的觸控裝置透過設定閾值,根據閾值產生強度閾值範圍,並使觸控信號的能量強度於強度閾值範圍進行比較,來根據比較的結果以決定主動筆的位置狀態。進一步的,本發明的觸控裝置並可針對閾值進行動態的調整動作,可有效減低觸控動作的感測延遲,提升使用者的觸控體驗感受。In summary, the touch device of the present invention generates an intensity threshold range according to the threshold by setting a threshold, and compares the energy intensity of the touch signal with the intensity threshold range to determine the position state of the active pen according to the comparison result. Furthermore, the touch device of the present invention can dynamically adjust the threshold, which can effectively reduce the sensing delay of the touch action and enhance the user's touch experience.

600:觸控裝置 610:主動筆 611、612:電極 620:觸控面板 621:控制器 622:觸控感測陣列 CFV:數值 IRV:範圍內判定值 S110~S140、S310~S370、S410~S440、S510~S532:步驟 TP:感測電容 ZF:強度閾值範圍 ZF_L、ZF_H:強度閾值 600: Touch device 610: Active pen 611, 612: Electrode 620: Touch panel 621: Controller 622: Touch sensor array CFV: Value IRV: In-range judgment value S110~S140, S310~S370, S410~S440, S510~S532: Steps TP: Sensing capacitance ZF: Intensity threshold range ZF_L, ZF_H: Intensity threshold

圖1繪示本發明一實施例的觸控感測方法的流程圖。 圖2繪示本發明實施例的主動筆的觸控動作的示意圖。 圖3繪示本發明另一實施例的觸控感測方法的流程圖。 圖4繪示本發明圖3實施例中,關於檢查是否需要進行閾值的動態調整動作的實施方式的流程圖。 圖5繪示本發明圖3、圖4實施例中,關於執行閾值的動態調整動作的實施方式的流程圖。 圖6繪示本發明一實施例的觸控裝置的示意圖。 FIG. 1 is a flow chart of a touch sensing method of an embodiment of the present invention. FIG. 2 is a schematic diagram of the touch action of the active pen of an embodiment of the present invention. FIG. 3 is a flow chart of a touch sensing method of another embodiment of the present invention. FIG. 4 is a flow chart of an implementation method for checking whether a dynamic adjustment action of a threshold value is required in the embodiment of FIG. 3 of the present invention. FIG. 5 is a flow chart of an implementation method for performing a dynamic adjustment action of a threshold value in the embodiments of FIG. 3 and FIG. 4 of the present invention. FIG. 6 is a schematic diagram of a touch device of an embodiment of the present invention.

S110~S140:步驟 S110~S140: Steps

Claims (20)

一種觸控感測方法,包括:判斷一主動筆發送的一觸控信號的能量是否為一強度範圍內狀態;設定一閾值;當該主動筆為該強度範圍內狀態時,比較該主動筆發送的該觸控信號的能量以及一強度閾值範圍以決定該主動筆的一位置狀能;以及根據比較該觸控信號的能量與該閾值以進行該閾值的調整動作,其中根據比較該觸控信號的能量與該閾值以進行該閾值的調整動作的步驟包括:判斷該觸控信號的能量是否大於該閾值與一預設比例值的乘積;以及當該觸控信號的能量大於該閾值與該預設比例值的乘積,啟動一閾值調整機制以調整該閾值,其中該預設比例值大於1。 A touch sensing method includes: determining whether the energy of a touch signal sent by an active pen is within a strength range; setting a threshold; when the active pen is within the strength range, comparing the energy of the touch signal sent by the active pen with a strength threshold range to determine a position state of the active pen; and performing the threshold control according to the comparison of the energy of the touch signal and the threshold. The step of adjusting the threshold value by comparing the energy of the touch signal with the threshold value includes: determining whether the energy of the touch signal is greater than the product of the threshold value and a preset ratio value; and when the energy of the touch signal is greater than the product of the threshold value and the preset ratio value, activating a threshold value adjustment mechanism to adjust the threshold value, wherein the preset ratio value is greater than 1. 如請求項1所述的觸控感測方法,其中判斷該主動筆發送的該觸控信號的能量是否為該強度範圍內狀態的步驟包括:感測該主動筆發送的該觸控信號對應的一功能項次;根據該功能項次設定一強度範圍內判定值;以及 比較該觸控信號的能量與該強度範圍內判定值以判斷該主動筆是否為該強度範圍內狀態。 The touch sensing method as described in claim 1, wherein the step of determining whether the energy of the touch signal sent by the active pen is within the strength range includes: sensing a function item corresponding to the touch signal sent by the active pen; setting a determination value within the strength range according to the function item; and comparing the energy of the touch signal with the determination value within the strength range to determine whether the active pen is within the strength range. 如請求項1所述的觸控感測方法,其中該閾值調整機制包括:該主動筆的一標記類別為出墨狀態時,計算該觸控信號的能量;當該觸控信號的能量大於該閾值時,使該閾值增加一第一數值;以及當該觸控信號的能量不大於該閾值時,使該閾值減少一第二數值。 The touch sensing method as described in claim 1, wherein the threshold adjustment mechanism includes: when a marking type of the active pen is in the ink discharge state, calculating the energy of the touch signal; when the energy of the touch signal is greater than the threshold, increasing the threshold by a first value; and when the energy of the touch signal is not greater than the threshold, reducing the threshold by a second value. 如請求項3所述的觸控感測方法,其中該計算該觸控信號的能量的步驟包括:根據感測該觸控信號的多個感測電容的電容值的總和來獲得該觸控信號的能量。 The touch sensing method as described in claim 3, wherein the step of calculating the energy of the touch signal includes: obtaining the energy of the touch signal according to the sum of the capacitance values of multiple sensing capacitors that sense the touch signal. 如請求項3所述的觸控感測方法,其中該第一數值與該第二數值為一步階值。 A touch sensing method as described in claim 3, wherein the first value and the second value are step values. 如請求項1所述的觸控感測方法,其中該主動筆的該位置狀態為懸浮狀態或出墨狀態。 The touch sensing method as described in claim 1, wherein the position state of the active pen is a suspended state or an ink discharge state. 如請求項1所述的觸控感測方法,更包括:根據該閾值以產生該強度閾值範圍。 The touch sensing method as described in claim 1 further includes: generating the intensity threshold range according to the threshold. 如請求項7所述的觸控感測方法,其中根據該閾值以產生該強度閾值範圍的步驟包括: 根據該閾值以產生一第一強度閾值以及一第二強度閾值,其中該第二強度閾值大於該第一強度閾值。 The touch sensing method as described in claim 7, wherein the step of generating the intensity threshold range according to the threshold includes: Generating a first intensity threshold and a second intensity threshold according to the threshold, wherein the second intensity threshold is greater than the first intensity threshold. 如請求項8所述的觸控感測方法,其中比較該主動筆發送的該觸控信號的能量以及該強度閾值範圍以決定該主動筆的該位置狀態的步驟包括:判斷該觸控信號的能量是否大於該第一強度閾值以及判斷該觸控信號的能量是否大於該第二強度閾值以獲得該觸控信號的能量變化的一彈跳狀態;以及根據該彈跳狀態決定該主動筆的該位置狀態。 The touch sensing method as described in claim 8, wherein the step of comparing the energy of the touch signal sent by the active pen and the intensity threshold range to determine the position state of the active pen includes: determining whether the energy of the touch signal is greater than the first intensity threshold and determining whether the energy of the touch signal is greater than the second intensity threshold to obtain a bounce state of the energy change of the touch signal; and determining the position state of the active pen according to the bounce state. 如請求項1所述的觸控感測方法,更包括:當該主動筆的一標記類別為出墨狀態或該主動筆的一壓力感測值大於一參考值時,決定該主動筆的該位置狀態為出墨狀態。 The touch sensing method as described in claim 1 further includes: when a mark type of the active pen is in the ink discharge state or a pressure sensing value of the active pen is greater than a reference value, determining that the position state of the active pen is in the ink discharge state. 如請求項1所述的觸控感測方法,其中該主動筆具有多個可執行功能項次,該些可執行功能項次分別對應多個設定閾值。 A touch sensing method as described in claim 1, wherein the active pen has multiple executable function items, and these executable function items correspond to multiple setting thresholds respectively. 一種觸控裝置,包括:一主動筆,發送一觸控信號;以及一觸控面板,具有一控制器,用以:判斷該主動筆發送的一觸控信號的能量是否為一強度範圍內狀態;設定一閾值; 當該主動筆為該強度範圍內狀態時,比較該主動筆發送的該觸控信號的能量以及一強度閾值範圍以決定該主動筆的一位置狀態;以及根據比較該觸控信號的能量與該閾值以進行該閾值的調整動作,其中該控制器更用以:判斷該觸控信號的能量是否大於該閾值與一預設比例值的乘積;以及當該觸控信號的能量大於該閾值與該預設比例值的乘積,啟動一閾值調整機制以調整該閾值,其中該預設比例值大於1。 A touch device includes: an active pen that sends a touch signal; and a touch panel having a controller for: determining whether the energy of a touch signal sent by the active pen is within an intensity range; setting a threshold; and when the active pen is within the intensity range, comparing the energy of the touch signal sent by the active pen with an intensity threshold range to determine a touch signal of the active pen. position state; and adjusting the threshold value by comparing the energy of the touch signal with the threshold value, wherein the controller is further used to: determine whether the energy of the touch signal is greater than the product of the threshold value and a preset ratio value; and when the energy of the touch signal is greater than the product of the threshold value and the preset ratio value, activate a threshold adjustment mechanism to adjust the threshold value, wherein the preset ratio value is greater than 1. 如請求項12所述的觸控裝置,其中該控制器更用以:感測該主動筆發送的該觸控信號對應的一功能項次;根據該功能項次設定一強度範圍內判定值;以及比較該觸控信號的能量與該強度範圍內判定值以判斷該主動筆是否為該強度範圍內狀態。 A touch device as described in claim 12, wherein the controller is further used to: sense a function item corresponding to the touch signal sent by the active pen; set a strength range determination value according to the function item; and compare the energy of the touch signal with the strength range determination value to determine whether the active pen is in the strength range state. 如請求項12所述的觸控裝置,其中該控制器更用以:該主動筆的一標記類別為出墨狀態時,計算該觸控信號的能量;當該觸控信號的能量大於該閾值時,使該閾值增加一第一數值;以及 當該觸控信號的能量不大於該閾值時,使該閾值減少一第二數值。 A touch device as described in claim 12, wherein the controller is further used to: calculate the energy of the touch signal when a marking type of the active pen is in the ink discharge state; when the energy of the touch signal is greater than the threshold, increase the threshold by a first value; and when the energy of the touch signal is not greater than the threshold, reduce the threshold by a second value. 如請求項14所述的觸控裝置,其中該觸控面板更包括多個感測電容,該控制器感測該觸控信號的該些感測電容的電容值來獲得該觸控信號的能量。 A touch device as described in claim 14, wherein the touch panel further includes a plurality of sensing capacitors, and the controller senses the capacitance values of the sensing capacitors of the touch signal to obtain the energy of the touch signal. 如請求項14所述的觸控裝置,其中該第一數值與該第二數值為一步階值。 A touch device as described in claim 14, wherein the first value and the second value are step values. 如請求項12所述的觸控裝置,其中該控制器更用以:根據該閾值以產生該強度閾值範圍。 A touch control device as described in claim 12, wherein the controller is further used to: generate the intensity threshold range according to the threshold. 如請求項16所述的觸控裝置,其中該控制器更用以:根據該閾值以產生一第一強度閾值以及一第二強度閾值,其中該第二強度閾值大於該第一強度閾值。 A touch control device as described in claim 16, wherein the controller is further used to: generate a first intensity threshold and a second intensity threshold according to the threshold, wherein the second intensity threshold is greater than the first intensity threshold. 如請求項12所述的觸控裝置,其中該控制器更用以:判斷該觸控信號的能量是否大於該第一強度閾值以及判斷該觸控信號的能量是否大於該第二強度閾值以獲得該觸控信號的能量變化的一彈跳狀態;以及根據該彈跳狀態決定該主動筆的該位置狀態。 A touch device as described in claim 12, wherein the controller is further used to: determine whether the energy of the touch signal is greater than the first intensity threshold and determine whether the energy of the touch signal is greater than the second intensity threshold to obtain a bounce state of the energy change of the touch signal; and determine the position state of the active pen according to the bounce state. 如請求項12所述的觸控裝置,其中該主動筆具有多個可執行功能項次,該些可執行功能項次分別對應多個設定閾值。 A touch device as described in claim 12, wherein the active pen has multiple executable function items, and these executable function items correspond to multiple setting thresholds respectively.
TW112124295A 2023-06-29 2023-06-29 Touch control device and touch sensing method thereof TWI850001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112124295A TWI850001B (en) 2023-06-29 2023-06-29 Touch control device and touch sensing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112124295A TWI850001B (en) 2023-06-29 2023-06-29 Touch control device and touch sensing method thereof

Publications (2)

Publication Number Publication Date
TWI850001B true TWI850001B (en) 2024-07-21
TW202501217A TW202501217A (en) 2025-01-01

Family

ID=92929451

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112124295A TWI850001B (en) 2023-06-29 2023-06-29 Touch control device and touch sensing method thereof

Country Status (1)

Country Link
TW (1) TWI850001B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111448538A (en) * 2017-12-04 2020-07-24 触觉实验室股份有限公司 Active stylus device and method
CN112558797A (en) * 2021-02-19 2021-03-26 深圳市千分一智能技术有限公司 Active pen, control method and device thereof, and computer-readable storage medium
TW202143015A (en) * 2020-05-06 2021-11-16 微星科技股份有限公司 Stylus touch device and operation method thereof
CN115421603A (en) * 2022-11-04 2022-12-02 荣耀终端有限公司 Handwriting processing method, terminal device and chip system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111448538A (en) * 2017-12-04 2020-07-24 触觉实验室股份有限公司 Active stylus device and method
TW202143015A (en) * 2020-05-06 2021-11-16 微星科技股份有限公司 Stylus touch device and operation method thereof
CN112558797A (en) * 2021-02-19 2021-03-26 深圳市千分一智能技术有限公司 Active pen, control method and device thereof, and computer-readable storage medium
CN115421603A (en) * 2022-11-04 2022-12-02 荣耀终端有限公司 Handwriting processing method, terminal device and chip system

Also Published As

Publication number Publication date
TW202501217A (en) 2025-01-01

Similar Documents

Publication Publication Date Title
EP3830677B1 (en) Changing a mode of operation of a computing device by a pen device
JP7585448B2 (en) Method performed by a pen or a pen detection device for detecting said pen
US20210342032A1 (en) Wearing detection apparatus and method, and earphone
US10732695B2 (en) Transitioning a computing device from a low power state based on sensor input of a pen device
US8542213B2 (en) Touched position detection method for touch panel
CN104317466B (en) Touch-screen control method and touch panel device
KR20160040944A (en) Touch Display Device Capable of Controlling Offset Capacitance Calibration with Multi-step
US11068036B2 (en) Portable electronic device and control method thereof
JP6062949B2 (en) Method for adapting the sensitivity of a sensor system
CN103389847A (en) Touch control terminal and anti-interference method and system thereof
TWI850001B (en) Touch control device and touch sensing method thereof
TWI641819B (en) Pressure sensor and pressure sensing method
TWI457809B (en) Display devices, operation methods thereof, and electronic devices using the same
CN116736995A (en) Touch device and touch sensing method
TWI498784B (en) Driving method for touch panel and touch control system
TW201504904A (en) Touch controller and method of controlling touch controller
TWI576752B (en) Touch device and touch detection method thereof
TW201935209A (en) Capacitive sensor device and method for obtaining a reference level thereof
CN210694291U (en) Prevent bluetooth headset of mistake touching
CN109814762B (en) Touch detection circuit and method
CN110162209B (en) Capacitive sensing device, environmental event detection method and correction time judgment method
CN115166462B (en) Method, device and equipment for continuously detecting full life cycle of semiconductor chip
TWI448140B (en) Handheld device and control method thereof
CN112214120A (en) Control method of electronic cigarette, storage medium and electronic cigarette
CN114900878A (en) Power control method, device and equipment of equipment