TWI856643B - Touch sensing data scale conversion method, electronic chip and information processing device - Google Patents

Touch sensing data scale conversion method, electronic chip and information processing device Download PDF

Info

Publication number
TWI856643B
TWI856643B TW112116870A TW112116870A TWI856643B TW I856643 B TWI856643 B TW I856643B TW 112116870 A TW112116870 A TW 112116870A TW 112116870 A TW112116870 A TW 112116870A TW I856643 B TWI856643 B TW I856643B
Authority
TW
Taiwan
Prior art keywords
touch
sensing data
coefficient
touch sensing
sensing
Prior art date
Application number
TW112116870A
Other languages
Chinese (zh)
Other versions
TW202445332A (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 TW112116870A priority Critical patent/TWI856643B/en
Application granted granted Critical
Publication of TWI856643B publication Critical patent/TWI856643B/en
Publication of TW202445332A publication Critical patent/TW202445332A/en

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

本發明主要揭示一種觸摸感測數據的尺度變換方法,其係由一觸控晶片執行,且包括以下步驟:自一觸控面板接收包含M×N個第一感測值的一第一觸摸感測數據,且依據該第一觸摸感測數據和一預定物理尺寸決定一拉伸方向;以及沿著所述拉伸方向對該第一觸摸感測數據執行一尺度變換操作,從而獲得包含X×Y個第二感測值的一第二觸摸感測數據。簡單地說,在應用本發明之方法的情況下,該觸控晶片可以將所述第一觸摸感測數據的橫縱比例調整為和顯示螢幕的物理比例相等。如此,該觸控晶片便可同時對該觸控面板同時施行觸摸區域劃分,以提高依感測值計算手指的觸摸位置坐標的精確度。The present invention mainly discloses a scale transformation method of touch sensing data, which is performed by a touch chip and includes the following steps: receiving a first touch sensing data including M×N first sensing values from a touch panel, and determining a stretching direction according to the first touch sensing data and a predetermined physical size; and performing a scale transformation operation on the first touch sensing data along the stretching direction, thereby obtaining a second touch sensing data including X×Y second sensing values. In short, when the method of the present invention is applied, the touch chip can adjust the horizontal and vertical ratio of the first touch sensing data to be equal to the physical ratio of the display screen. In this way, the touch chip can simultaneously divide the touch area of the touch panel to improve the accuracy of calculating the touch position coordinates of the finger according to the sensing value.

Description

觸摸感測數據的尺度變換方法、電子晶片及資訊處理裝置Touch sensing data scale conversion method, electronic chip and information processing device

本發明為觸控技術的有關領域,尤指依據觸控面板的物理尺寸對觸摸感測數據進行尺度變換處理的一種觸摸感測數據的尺度變換方法。The present invention relates to the field of touch technology, and in particular to a method for scaling touch sensing data by scaling touch sensing data according to the physical size of a touch panel.

已知,觸控裝置係已廣泛地應用於各種電子裝置之中。圖1顯示習知的一種具觸控功能的智慧型手機的方塊圖。如圖1所示,該智慧型手機2a具有一觸控裝置1a,且該觸控裝置1a主要包括: 一觸控面板11a、一讀出電路12a以及一數據處理單元13a,其中該觸控面板11a包括一感測器陣列,且該感測器陣列包括M×N個電容感測器。當用戶的手指觸摸該智慧型手機2a的玻璃蓋板時,該讀出電路12a可以自該M×N個電容感測器讀出包含M×N個電容值的一觸摸感測數據。最終,在對該觸摸感測數據進行相關數據處理之後,該數據處理單元13a可以計算出用戶的手指的一位置座標,接著將該位置座標上報給上位機(如:智慧型手機的應用處理器或應用軟體)。 It is known that touch devices have been widely used in various electronic devices. FIG1 shows a block diagram of a known smart phone with touch function. As shown in FIG1, the smart phone 2a has a touch device 1a, and the touch device 1a mainly includes: A touch panel 11a, a readout circuit 12a and a data processing unit 13a, wherein the touch panel 11a includes a sensor array, and the sensor array includes M×N capacitance sensors. When the user's finger touches the glass cover of the smart phone 2a, the readout circuit 12a can read a touch sensing data containing M×N capacitance values from the M×N capacitance sensors. Finally, after performing relevant data processing on the touch sensing data, the data processing unit 13a can calculate the position coordinates of the user's finger, and then report the position coordinates to the host computer (such as the application processor or application software of a smart phone).

更詳細地說明,在實際應用中,包括M×N個電容感測器的觸控面板11a的一橫縱比例(或稱寬長比例)和智慧型手機的螢幕的物理比例並不一定相等。因此,現有技術會在該數據處理單元13a內設置一個尺度變換單元131a,用以將包含M×N個電容值的觸摸感測數據乘以一縮放係數,使其變換為包含X×Y個電容值的觸摸感測數據,藉此方式使得矩陣排列的觸摸感測數據的橫縱比例與智慧型手機的螢幕物理比例相等。然而,在對該觸控面板11a同時施行觸摸區域劃分時,現有技術所採用的數據尺度變換方案會導致觸摸感測數據在乘上縮放係數之後會失去位置座標的精確度。To explain in more detail, in actual applications, the horizontal and vertical ratio (or width-to-length ratio) of the touch panel 11a including M×N capacitance sensors is not necessarily equal to the physical ratio of the screen of the smart phone. Therefore, the prior art provides a scale conversion unit 131a in the data processing unit 13a to multiply the touch sensing data including M×N capacitance values by a scaling factor to convert it into touch sensing data including X×Y capacitance values, thereby making the horizontal and vertical ratio of the touch sensing data arranged in a matrix equal to the physical ratio of the screen of the smart phone. However, when the touch panel 11a is simultaneously divided into touch areas, the data scale conversion scheme adopted in the prior art will cause the touch sensing data to lose the accuracy of the position coordinates after being multiplied by the scaling factor.

由上述說明可知,本領域亟需一種新式的觸摸感測數據的尺度變換方法。From the above description, it can be seen that a new scale transformation method of touch sensing data is urgently needed in this field.

本發明之主要目的在於提供一種觸摸感測數據的尺度變換方法,其係由一觸控晶片執行。在應用本發明之方法的情況下,該觸控晶片可以將自一觸控面板接收的觸摸感測數據的橫縱比例調整為和顯示螢幕的物理比例相等。如此,該觸控晶片便可同時對該觸控面板同時施行觸摸區域劃分,以提高依感測值計算手指的觸摸位置坐標的精確度。The main purpose of the present invention is to provide a scale conversion method for touch sensing data, which is performed by a touch chip. When the method of the present invention is applied, the touch chip can adjust the horizontal and vertical scales of the touch sensing data received from a touch panel to be equal to the physical scale of the display screen. In this way, the touch chip can simultaneously perform touch area division on the touch panel to improve the accuracy of calculating the touch position coordinates of the finger based on the sensing value.

為達成上述目的,本發明提出所述數據尺度變換方法的一實施例,其係由用以和一觸控面板一同組成一觸控裝置的一電子晶片執行,且包括以下步驟: 自該觸控面板接收包含M×N個第一感測值的一第一觸摸感測數據,且依據該第一觸摸感測數據和一預定物理尺寸決定一拉伸方向;其中,M、N皆為正整數;以及 沿著所述拉伸方向對該第一觸摸感測數據執行一尺度變換操作,從而獲得包含X×Y個第二感測值的一第二觸摸感測數據;其中,X、Y皆為正整數。 To achieve the above-mentioned purpose, the present invention proposes an embodiment of the data scale conversion method, which is executed by an electronic chip used to form a touch device together with a touch panel, and includes the following steps: Receiving a first touch sensing data including M×N first sensing values from the touch panel, and determining a stretching direction according to the first touch sensing data and a predetermined physical size; wherein M and N are both positive integers; and Performing a scale conversion operation on the first touch sensing data along the stretching direction, thereby obtaining a second touch sensing data including X×Y second sensing values; wherein X and Y are both positive integers.

在一實施例中,該觸控面板和一顯示面板一同組成一觸控顯示面板,且該預定物理尺寸為該顯示面板的一顯示區域的一寬長比例,該寬長比例為Y:X。In one embodiment, the touch panel and a display panel together form a touch display panel, and the predetermined physical size is a width-to-length ratio of a display area of the display panel, and the width-to-length ratio is Y:X.

在一可行實施例中,該尺度變換操作包括以下步驟: 在所述拉伸方向為縱向的情況下,計算X和M之間的最小公倍數,接著利用所述最大公倍數、X和M計算出一第一係數與一第二係數;以及 利用該第一係數和該第二係數對該M×N個第一感測值執行一數值調整操作,從而獲得該X×Y個第二感測值。 In a feasible embodiment, the scale transformation operation includes the following steps: When the stretching direction is longitudinal, the least common multiple between X and M is calculated, and then a first coefficient and a second coefficient are calculated using the greatest common multiple, X and M; and A numerical adjustment operation is performed on the M×N first sensing values using the first coefficient and the second coefficient, thereby obtaining the X×Y second sensing values.

在一實施例中,該電子晶片利用以下數學式(1)和(2)完成該第一係數和該第二係數的計算: ··········································· (1); ··········································· (2); 其中,A為所述第一係數、B為所述第二係數,且Lcm為X和M之間的最小公倍數。 In one embodiment, the electronic chip uses the following mathematical formulas (1) and (2) to calculate the first coefficient and the second coefficient: ··········································(1); ······································· (2); wherein A is the first coefficient, B is the second coefficient, and Lcm is the least common multiple between X and M.

在一實施例中,該電子晶片通過執行以下數學式(3)、(4)和(5)完成所述數值調整操作: ········································ (3); ······································· (4); ························· (5); 其中,U為將mA除以B所獲得的商數,且V為將mA除以B所獲得的餘數; 其中, 為第m行第n列的所述第二感測值, 為第U行第n列的所述第一感測值,且 為第U-1行第n列的所述第一感測值。 In one embodiment, the electronic chip completes the numerical value adjustment operation by executing the following mathematical formulas (3), (4) and (5): ········································(3); ·······································(4); ······················· (5); wherein U is the quotient obtained by dividing mA by B, and V is the remainder obtained by dividing mA by B; wherein, is the second sensing value at the mth row and nth column, is the first sensing value in the Uth row and the nth column, and is the first sensing value in the U-1th row and the nth column.

在另一可行實施例中,該尺度變換操作包括以下步驟: 在所述拉伸方向為橫向的情況下,計算Y和N之間的最小公倍數,接著利用所述最大公倍數、Y和N計算出一第一係數與一第二係數;以及 利用該第一係數和該第二係數對該M×N個第一感測值執行一數值調整操作,從而獲得該X×Y個第二感測值。 In another feasible embodiment, the scale transformation operation includes the following steps: When the stretching direction is horizontal, the least common multiple between Y and N is calculated, and then a first coefficient and a second coefficient are calculated using the greatest common multiple, Y and N; and A numerical adjustment operation is performed on the M×N first sensing values using the first coefficient and the second coefficient, thereby obtaining the X×Y second sensing values.

在一實施例中,該電子晶片利用以下數學式(i)和(ii)完成該第一係數和該第二係數的計算: ··········································· (i); ·········································· (ii); 其中,A為所述第一係數、B為所述第二係數,且Lcm為Y和N之間的最小公倍數。 In one embodiment, the electronic chip uses the following mathematical formulas (i) and (ii) to calculate the first coefficient and the second coefficient: ···········································(i); ······································ (ii); wherein A is the first coefficient, B is the second coefficient, and Lcm is the least common multiple between Y and N.

在一實施例中,該電子晶片通過執行以下數學式(iii)、(iv)和(v)完成所述數值調整操作: ······································· (iii); ······································· (iv); ························ (v); 其中,U為將mA除以B所獲得的商數,且V為將mA除以B所獲得的餘數; 其中, 為第m行第n列的所述第二感測值, 為第m行第U列的所述第一感測值,且 為第m行第U-1列的所述第一感測值。 In one embodiment, the electronic chip performs the numerical value adjustment operation by executing the following mathematical formulas (iii), (iv) and (v): ······································· (iii); ·······································(iv); ······················ (v); wherein U is the quotient obtained by dividing mA by B, and V is the remainder obtained by dividing mA by B; wherein, is the second sensing value of the mth row and nth column, is the first sensing value in the mth row and the Uth column, and is the first sensing value in the mth row and the U-1th column.

並且,本發明同時揭示一種電子晶片,其用以和一觸控面板一同組成一觸控裝置;其特徵在於,該電子晶片執行如前所述本發明之觸摸感測數據的尺度變換方法,以將自該觸控面板接收的包含M×N個第一感測值的一第一觸摸感測數據變換成包含X×Y個第二感測值的一第二觸摸感測數據。在一實施例中,該電子晶片為選自於由觸控晶片和觸控與顯示驅動整合(TDDI)晶片所組成群組之中的任一者。Furthermore, the present invention also discloses an electronic chip, which is used to form a touch device together with a touch panel; the electronic chip executes the touch sensing data scale conversion method of the present invention as described above, so as to convert a first touch sensing data including M×N first sensing values received from the touch panel into a second touch sensing data including X×Y second sensing values. In one embodiment, the electronic chip is any one selected from the group consisting of a touch chip and a touch and display driver integration (TDDI) chip.

進一步地,本發明還揭示一種資訊處理裝置,其特徵在於包含一觸控裝置,且該觸控裝置包括一觸控面板以及至少一個如前所述本發明之電子晶片。在一實施例中,該資訊處理裝置為選自於由具有觸控功能的電子門鎖、具有觸控功能的門口機、具有觸控功能的自動櫃員機、平面顯示裝置、智慧型電視、智慧型手機、平板電腦、一體式電腦、筆記型電腦、自動櫃員機、和車載娛樂裝置所組成群組之中的任一者。Furthermore, the present invention discloses an information processing device, which is characterized by comprising a touch device, and the touch device includes a touch panel and at least one electronic chip of the present invention as described above. In one embodiment, the information processing device is any one selected from the group consisting of an electronic door lock with a touch function, a door machine with a touch function, an ATM with a touch function, a flat-panel display device, a smart TV, a smart phone, a tablet computer, an all-in-one computer, a laptop computer, an ATM, and an in-vehicle entertainment device.

為使  貴審查委員能進一步瞭解本發明之結構、特徵、目的、與其優點,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable the Review Committee to further understand the structure, features, purpose, and advantages of the present invention, the following are attached with drawings and detailed descriptions of preferred specific embodiments.

為請參閱圖2,其為應用本發明之一種觸摸感測數據的尺度變換方法的一觸控裝置的方塊圖。如圖2所示,該觸控裝置1係整合在例如為智慧型手機的一電子裝置之中,且主要包括一觸控面板11與一電子晶片12,其中該觸控面板11和一顯示面板一同組成一觸控顯示面板,且包括一感測器陣列,該感測器陣列包括M×N個電容感測器。並且,在可行的實施例中,該電子晶片12可以是一觸控晶片或一觸控和顯示驅動整合(TDDI)晶片,且本發明之一種觸摸感測數據的尺度變換方法係以一尺度變換單元121的形式整合在該電子晶片12之中。當用戶的手指觸摸該智慧型手機的玻璃蓋板時,該電子晶片12係自該M×N個電容感測器讀出包含M×N個第一感測值(即,電容值)的一第一觸摸感測數據。若該第一觸摸感測數據(即,陣列式數據)的橫縱比例(或稱寬長比例)和智慧型手機的螢幕的物理比例相等,則該電子晶片12接著該第一觸摸感測數據進行數據處理以計算出用戶的手指的一位置座標,接著將該位置座標上報給上位機2(如:智慧型手機的應用處理器或應用軟體)。Please refer to FIG. 2 , which is a block diagram of a touch device to which a scale transformation method of touch sensing data of the present invention is applied. As shown in FIG. 2 , the touch device 1 is integrated into an electronic device such as a smart phone, and mainly includes a touch panel 11 and an electronic chip 12, wherein the touch panel 11 and a display panel together form a touch display panel, and include a sensor array, and the sensor array includes M×N capacitive sensors. In addition, in a feasible embodiment, the electronic chip 12 can be a touch chip or a touch and display drive integration (TDDI) chip, and a scale transformation method of touch sensing data of the present invention is integrated into the electronic chip 12 in the form of a scale transformation unit 121. When the user's finger touches the glass cover of the smart phone, the electronic chip 12 reads a first touch sensing data including M×N first sensing values (i.e., capacitance values) from the M×N capacitance sensors. If the horizontal and vertical ratio (or width-to-length ratio) of the first touch sensing data (i.e., array data) is equal to the physical ratio of the screen of the smart phone, the electronic chip 12 then processes the first touch sensing data to calculate a position coordinate of the user's finger, and then reports the position coordinate to the host computer 2 (e.g., the application processor or application software of the smart phone).

若該第一觸摸感測數據的橫縱比例和智慧型手機的螢幕的物理比例不相等,則該電子晶片12啟用該尺度變換單元121,從而執行本發明之一種觸摸感測數據的尺度變換方法,以將包含M×N個第一感測值的該第一觸摸感測數據變換成包含X×Y個第二感測值的一第二觸摸感測數據。圖3為本發明之一種觸摸感測數據的尺度變換方法的流程圖。如圖3所示,方法流程係首先執行步驟S1:自該觸控面板11接收包含M×N個第一感測值的一第一觸摸感測數據,且依據該第一觸摸感測數據和一預定物理尺寸決定一拉伸方向。其中,M、N皆為正整數,且該預定物理尺寸為該顯示面板的一顯示區域的一寬長比例,例如為Y:X。具體地,圖4為包含5×3個第一感測值的第一觸摸感測數據的示圖。如圖4所示,該第一觸摸感測數據的橫縱比例為3:5(即,N:M),因此,若顯示螢幕的物理比例為3:6(即,Y:X),則有必要對該第一觸摸感測數據進行縱向拉伸。If the horizontal and vertical ratios of the first touch sensing data are not equal to the physical ratio of the screen of the smart phone, the electronic chip 12 activates the scale conversion unit 121, thereby executing a scale conversion method of touch sensing data of the present invention to convert the first touch sensing data including M×N first sensing values into a second touch sensing data including X×Y second sensing values. FIG. 3 is a flow chart of a scale conversion method of touch sensing data of the present invention. As shown in FIG. 3, the method flow first executes step S1: receiving a first touch sensing data including M×N first sensing values from the touch panel 11, and determining a stretching direction according to the first touch sensing data and a predetermined physical size. Wherein, M and N are both positive integers, and the predetermined physical size is a width-to-length ratio of a display area of the display panel, for example, Y:X. Specifically, FIG. 4 is a diagram of first touch sensing data including 5×3 first sensing values. As shown in FIG. 4 , the horizontal and vertical ratio of the first touch sensing data is 3:5 (i.e., N:M). Therefore, if the physical ratio of the display screen is 3:6 (i.e., Y:X), it is necessary to vertically stretch the first touch sensing data.

繼續地,方法流程係執行步驟S2:沿著所述拉伸方向對該第一觸摸感測數據執行一尺度變換操作,從而獲得包含X×Y個第二感測值的一第二觸摸感測數據;其中,X、Y皆為正整數。在一可行實施例中,該尺度變換操作包括以下步驟:在所述拉伸方向為縱向的情況下,計算X和M之間的最小公倍數,接著利用所述最大公倍數、X和M計算出一第一係數與一第二係數。其中,該電子晶片12利用以下數學式(1)和(2)完成該第一係數和該第二係數的計算: ············································· (1) ············································· (2) Next, the method flow is to execute step S2: perform a scale transformation operation on the first touch sensing data along the stretching direction, thereby obtaining a second touch sensing data including X×Y second sensing values; wherein X and Y are both positive integers. In a feasible embodiment, the scale transformation operation includes the following steps: when the stretching direction is the longitudinal direction, calculate the least common multiple between X and M, and then use the greatest common multiple, X and M to calculate a first coefficient and a second coefficient. The electronic chip 12 uses the following mathematical formulas (1) and (2) to complete the calculation of the first coefficient and the second coefficient: ·············································································(1) ·············································(2)

在上式(1)、(2)之中,A為所述第一係數、B為所述第二係數,且Lcm為X和M之間的最小公倍數。進一步地,該尺度變換操作還包括以下步驟:利用該第一係數和該第二係數對該M×N個第一感測值執行一數值調整操作,從而獲得該X×Y個第二感測值。具體地,該電子晶片12通過執行以下數學式(3)、(4)和(5)完成所述數值調整操作: ··········································· (3) ·········································· (4) ··························· (5) In the above formulas (1) and (2), A is the first coefficient, B is the second coefficient, and Lcm is the least common multiple between X and M. Further, the scale transformation operation further includes the following step: using the first coefficient and the second coefficient to perform a numerical adjustment operation on the M×N first sensing values, thereby obtaining the X×Y second sensing values. Specifically, the electronic chip 12 completes the numerical adjustment operation by executing the following mathematical formulas (3), (4) and (5): ··········································(3) ·········································(4) ···························(5)

在上式(3)、(4)、(5)之中,U為將mA除以B所獲得的商數,且V為將mA除以B所獲得的餘數。另外, 為第m行第n列的所述第二感測值, 為第U行第n列的所述第一感測值,且 為第U-1行第n列的所述第一感測值。舉例而言,該第一觸摸感測數據的橫縱比例為3:5(即,N:M)且顯示螢幕的物理比例為3:6(即,Y:X),則A=30/5且B=30/6。最終,利用上式(5)可以將5×3個第一感測值數值調整為該6×3個第二感測值。圖5即顯示為包含6×3個第二感測值的第二觸摸感測數據的示圖。 In the above equations (3), (4), and (5), U is the quotient obtained by dividing mA by B, and V is the remainder obtained by dividing mA by B. In addition, is the second sensing value at the mth row and nth column, is the first sensing value in the Uth row and the nth column, and is the first sensing value of the U-1th row and the nth column. For example, the horizontal and vertical ratio of the first touch sensing data is 3:5 (i.e., N:M) and the physical ratio of the display screen is 3:6 (i.e., Y:X), then A=30/5 and B=30/6. Finally, the 5×3 first sensing values can be adjusted to the 6×3 second sensing values using the above formula (5). FIG5 is a diagram of the second touch sensing data including 6×3 second sensing values.

並且,在另一可行實施例中,該尺度變換操作包括以下步驟:在述拉伸方向為橫向的情況下,計算Y和N之間的最小公倍數,接著利用所述最大公倍數、Y和N計算出一第一係數與一第二係數。舉例而言,該第一觸摸感測數據的橫縱比例為3:5(即,N:M),因此,若顯示螢幕的物理比例為4:5(即,Y:X),則有必要對該第一觸摸感測數據進行橫向拉伸。其中,該電子晶片12利用以下數學式(i)和(ii)完成該第一係數和該第二係數的計算: ·············································· (i) ············································· (ii) Furthermore, in another feasible embodiment, the scale transformation operation includes the following steps: when the stretching direction is horizontal, the least common multiple between Y and N is calculated, and then a first coefficient and a second coefficient are calculated using the greatest common multiple, Y and N. For example, the horizontal and vertical ratio of the first touch sensing data is 3:5 (i.e., N:M). Therefore, if the physical ratio of the display screen is 4:5 (i.e., Y:X), it is necessary to stretch the first touch sensing data horizontally. The electronic chip 12 uses the following mathematical formulas (i) and (ii) to complete the calculation of the first coefficient and the second coefficient: ··············································(i) ·············································(ii)

在上式(i)、(ii)之中,A為所述第一係數、B為所述第二係數,且Lcm為Y和N之間的最小公倍數。進一步地,該尺度變換操作還包括以下步驟:利用該第一係數和該第二係數對該M×N個第一感測值執行一數值調整操作,從而獲得該X×Y個第二感測值。具體地,該電子晶片12通過執行以下數學式(iii)、(iv)和(v)完成所述數值調整操作: ·········································· (iii) ········································· (iv) ··························· (v) In the above formulas (i) and (ii), A is the first coefficient, B is the second coefficient, and Lcm is the least common multiple between Y and N. Further, the scale transformation operation further includes the following steps: using the first coefficient and the second coefficient to perform a numerical adjustment operation on the M×N first sensing values, thereby obtaining the X×Y second sensing values. Specifically, the electronic chip 12 completes the numerical adjustment operation by executing the following mathematical formulas (iii), (iv) and (v): ·········································(iii) ········································(iv) ···························(v)

在上式(iii)、(iv)、(v)之中,U為將mA除以B所獲得的商數,且V為將mA除以B所獲得的餘數。另外, 為第m行第n列的所述第二感測值, 為第m行第U列的所述第一感測值,且 為第m行第U-1列的所述第一感測值。舉例而言,該第一觸摸感測數據的橫縱比例為3:5(即,N:M)且顯示螢幕的物理比例為4:5(即,Y:X),則A=30/3且B=30/4。最終,利用上式(v)可以將5×3個第一感測值數值調整為該5×4個第二感測值。 In the above formulas (iii), (iv), and (v), U is the quotient obtained by dividing mA by B, and V is the remainder obtained by dividing mA by B. In addition, is the second sensing value at the mth row and nth column, is the first sensing value in the mth row and the Uth column, and is the first sensing value of the mth row and the U-1th column. For example, the horizontal and vertical ratio of the first touch sensing data is 3:5 (i.e., N:M) and the physical ratio of the display screen is 4:5 (i.e., Y:X), then A=30/3 and B=30/4. Finally, the 5×3 first sensing values can be adjusted to the 5×4 second sensing values using the above formula (v).

如此,上述已完整且清楚地說明本發明之一種觸摸感測數據的尺度變換方法;並且,經由上述可得知本發明具有下列優點:Thus, the above has completely and clearly described a touch sensing data scale transformation method of the present invention; and, from the above, it can be known that the present invention has the following advantages:

(1)本發明揭示一種觸摸感測數據的尺度變換方法,其係由一觸控晶片執行。在應用本發明之方法的情況下,該觸控晶片可以將自一觸控面板接收的觸摸感測數據的橫縱比例調整為和顯示螢幕的物理比例相等。如此,該觸控晶片便可同時對該觸控面板同時施行觸摸區域劃分,以提高依感測值計算手指的觸摸位置坐標的精確度。(1) The present invention discloses a method for scaling touch sensing data, which is performed by a touch chip. When the method of the present invention is applied, the touch chip can adjust the horizontal and vertical scales of the touch sensing data received from a touch panel to be equal to the physical scale of the display screen. In this way, the touch chip can simultaneously perform touch area division on the touch panel to improve the accuracy of calculating the touch position coordinates of the finger based on the sensing value.

(2)並且,本發明還揭示一種電子晶片,其用以和一觸控面板一同組成一觸控裝置;其特徵在於,該電子晶片執行如前所述本發明之觸摸感測數據的尺度變換方法,以將自該觸控面板接收的包含M×N個第一感測值的一第一觸摸感測數據變換成包含X×Y個第二感測值的一第二觸摸感測數據。在一實施例中,該電子晶片為選自於由觸控晶片和觸控與顯示驅動整合(TDDI)晶片所組成群組之中的任一者。(2) In addition, the present invention also discloses an electronic chip, which is used to form a touch device together with a touch panel; the electronic chip executes the touch sensing data scaling method of the present invention as described above to transform a first touch sensing data including M×N first sensing values received from the touch panel into a second touch sensing data including X×Y second sensing values. In one embodiment, the electronic chip is any one selected from the group consisting of a touch chip and a touch and display driver integration (TDDI) chip.

(3)進一步地,本發明還揭示一種資訊處理裝置,其特徵在於包含一觸控裝置,且該觸控裝置包括一觸控面板以及至少一個如前所述本發明之電子晶片。在一實施例中,該資訊處理裝置為選自於由具有觸控功能的電子門鎖、具有觸控功能的門口機、具有觸控功能的自動櫃員機、平面顯示裝置、智慧型電視、智慧型手機、平板電腦、一體式電腦、筆記型電腦、自動櫃員機、和車載娛樂裝置所組成群組之中的任一者。(3) Furthermore, the present invention discloses an information processing device, characterized in that it includes a touch device, and the touch device includes a touch panel and at least one electronic chip of the present invention as described above. In one embodiment, the information processing device is any one selected from the group consisting of an electronic door lock with a touch function, a door machine with a touch function, an ATM with a touch function, a flat-panel display device, a smart TV, a smart phone, a tablet computer, an all-in-one computer, a laptop computer, an ATM, and an in-vehicle entertainment device.

必須加以強調的是,前述本案所揭示者乃為較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。It must be emphasized that what is disclosed in the above-mentioned case is a preferred embodiment. Any partial changes or modifications that are derived from the technical ideas of this case and are easily inferred by people familiar with the art do not deviate from the scope of the patent rights of this case.

綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請  貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。In summary, this case shows that its purpose, means and effects are very different from the known technology, and it is the first invention that is practical and indeed meets the patent requirements for invention. We sincerely request the review committee to examine this carefully and grant a patent as soon as possible to benefit the society. This is our utmost prayer.

1a:觸控裝置 11a:觸控面板 12a:讀出電路 13a:數據處理單元 131a:尺度變換單元 2a:智慧型手機 1:觸控裝置 11:觸控面板 12:電子晶片 121:尺度變換單元 S1:自該觸控面板接收包含M×N個第一感測值的一第一觸摸感測數據,且依據該第一觸摸感測數據和一預定物理尺寸決定一拉伸方向 S2:沿著所述拉伸方向對該第一觸摸感測數據執行一尺度變換操作,從而獲得包含X×Y個第二感測值的一第二觸摸感測數據 1a: Touch device 11a: Touch panel 12a: Readout circuit 13a: Data processing unit 131a: Scale conversion unit 2a: Smart phone 1: Touch device 11: Touch panel 12: Electronic chip 121: Scale conversion unit S1: Receive a first touch sensing data including M×N first sensing values from the touch panel, and determine a stretching direction according to the first touch sensing data and a predetermined physical size S2: Perform a scale conversion operation on the first touch sensing data along the stretching direction, thereby obtaining a second touch sensing data including X×Y second sensing values

圖1為習知的一種具觸控功能的智慧型手機的方塊圖; 圖2為應用本發明之一種觸摸感測數據的尺度變換方法的一觸控裝置的方塊圖; 圖3為本發明之一種觸摸感測數據的尺度變換方法的流程圖; 圖4為包含5×3個第一感測值的第一觸摸感測數據的示圖;以及 圖5為包含6×3個第二感測值的第二觸摸感測數據的示圖。 FIG. 1 is a block diagram of a known smart phone with a touch function; FIG. 2 is a block diagram of a touch device to which a scale transformation method of touch sensing data of the present invention is applied; FIG. 3 is a flow chart of a scale transformation method of touch sensing data of the present invention; FIG. 4 is a diagram of first touch sensing data including 5×3 first sensing values; and FIG. 5 is a diagram of second touch sensing data including 6×3 second sensing values.

S1:自該觸控面板接收包含M×N個第一感測值的一第一觸摸感測數據,且依據該第一觸摸感測數據和一預定物理尺寸決定一拉伸方向 S1: Receive a first touch sensing data including M×N first sensing values from the touch panel, and determine a stretching direction based on the first touch sensing data and a predetermined physical size

S2:沿著所述拉伸方向對該第一觸摸感測數據執行一尺度變換操作,從而獲得包含X×Y個第二感測值的一第二觸摸感測數據 S2: Perform a scale transformation operation on the first touch sensing data along the stretching direction, thereby obtaining a second touch sensing data containing X×Y second sensing values

Claims (7)

一種觸摸感測數據的尺度變換方法,係由用以和一觸控面板一同組成一觸控裝置的一電子晶片所執行,且包括以下步驟:自該觸控面板接收包含M×N個第一感測值的一第一觸摸感測數據,且依據該第一觸摸感測數據和一預定物理尺寸決定一拉伸方向;其中,M、N皆為正整數;以及沿著所述拉伸方向對該第一觸摸感測數據執行一尺度變換操作,從而獲得包含X×Y個第二感測值的一第二觸摸感測數據;其中,X、Y皆為正整數;其中,該尺度變換操作包括以下步驟:在所述拉伸方向為縱向的情況下,計算X和M之間的最小公倍數,接著利用公式(1)和(2)計算出一第一係數與一第二係數;以及利用該第一係數和該第二係數對該M×N個第一感測值執行一數值調整操作,從而獲得該X×Y個第二感測值,其中,所述公式(1)和(2)表示如下:
Figure 112116870-A0305-02-0013-1
Figure 112116870-A0305-02-0013-2
其中,A為所述第一係數,B為所述第二係數,且Lcm為所述最小公倍數。
A scale transformation method for touch sensing data is performed by an electronic chip used to form a touch device together with a touch panel, and includes the following steps: receiving a first touch sensing data including M×N first sensing values from the touch panel, and determining a stretching direction according to the first touch sensing data and a predetermined physical size; wherein M and N are both positive integers; and performing a scale transformation operation on the first touch sensing data along the stretching direction, thereby obtaining a second touch sensing data including X×Y second sensing values. A second touch sensing data of a value; wherein X and Y are both positive integers; wherein the scale transformation operation comprises the following steps: when the stretching direction is the longitudinal direction, calculating the least common multiple between X and M, then calculating a first coefficient and a second coefficient using formulas (1) and (2); and performing a numerical adjustment operation on the M×N first sensing values using the first coefficient and the second coefficient, thereby obtaining the X×Y second sensing values, wherein the formulas (1) and (2) are expressed as follows:
Figure 112116870-A0305-02-0013-1
Figure 112116870-A0305-02-0013-2
Wherein, A is the first coefficient, B is the second coefficient, and Lcm is the least common multiple.
如請求項1所述之觸摸感測數據的尺度變換方法,其中,該觸控面板和一顯示面板一同組成一觸控顯示面板,且該預定物理尺寸為該顯示面板的一顯示區域的一寬長比例,該寬長比例為Y:X。 A method for scaling touch sensing data as described in claim 1, wherein the touch panel and a display panel together form a touch display panel, and the predetermined physical size is a width-to-length ratio of a display area of the display panel, and the width-to-length ratio is Y:X. 如請求項1所述之觸摸感測數據的尺度變換方法,其中,該電子晶片通過執行以下數學式(3)、(4)和(5)完成所述數值調整操作:U=mA/B.......................................(3);V=mA%B......................................(4);
Figure 112116870-A0305-02-0014-3
其中,U為將mA除以B所獲得的商數,且V為將mA除以B所獲得的餘數;其中,DL m,n 為第m行第n列的所述第二感測值,DR U,n 為第U行第n列的所述第一感測值,且DR U-1,n 為第U-1行第n列的所述第一感測值。
The scale conversion method of touch sensing data as described in claim 1, wherein the electronic chip completes the numerical adjustment operation by executing the following mathematical equations (3), (4) and (5): U = mA / B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (3); V = mA % B . ...
Figure 112116870-A0305-02-0014-3
Wherein, U is the quotient obtained by dividing mA by B, and V is the remainder obtained by dividing mA by B; wherein, DL m , n is the second sensing value of the m th row and n th column, DR U , n is the first sensing value of the U th row and n th column, and DR U -1, n is the first sensing value of the U-1 th row and n th column.
一種觸摸感測數據的尺度變換方法,係由用以和一觸控面板一同組成一觸控裝置的一電子晶片所執行,且包括以下步驟:自該觸控面板接收包含M×N個第一感測值的一第一觸摸感測數據,且依據該第一觸摸感測數據和一預定物理尺寸決定一拉伸方向;其中,M、N皆為正整數;以及沿著所述拉伸方向對該第一觸摸感測數據執行一尺度變換操作,從而獲得包含X×Y個第二感測值的一第二觸摸感測數據;其中,X、Y皆為正整數;其中,該尺度變換操作包括以下步驟:在所述拉伸方向為橫向的情況下,計算Y和N之間的最小公倍數,接著利用公式(i)和(ii)計算出一第一係數與一第二係數;以及 利用該第一係數和該第二係數對該M×N個第一感測值執行一數值調整操作,從而獲得該X×Y個第二感測值;其中,所述公式(i)和(ii)表示如下:
Figure 112116870-A0305-02-0015-5
Figure 112116870-A0305-02-0015-6
其中,A為所述第一係數、B為所述第二係數,且Lcm為所述最小公倍數。
A scale transformation method for touch sensing data is performed by an electronic chip used to form a touch device together with a touch panel, and includes the following steps: receiving a first touch sensing data including M×N first sensing values from the touch panel, and determining a stretching direction according to the first touch sensing data and a predetermined physical size; wherein M and N are both positive integers; and performing a scale transformation operation on the first touch sensing data along the stretching direction, thereby obtaining a second sensing value including X×Y A second touch sensing data of; wherein X and Y are both positive integers; wherein the scale transformation operation comprises the following steps: when the stretching direction is the horizontal direction, calculating the least common multiple between Y and N, then calculating a first coefficient and a second coefficient using formulas (i) and (ii); and performing a numerical adjustment operation on the M×N first sensing values using the first coefficient and the second coefficient, thereby obtaining the X×Y second sensing values; wherein the formulas (i) and (ii) are expressed as follows:
Figure 112116870-A0305-02-0015-5
Figure 112116870-A0305-02-0015-6
Wherein, A is the first coefficient, B is the second coefficient, and Lcm is the least common multiple.
如請求項4所述之觸摸感測數據的尺度變換方法,其中,該電子晶片通過執行以下數學式(iii)、(iv)和(v)完成所述數值調整操作:U=mA/B......................................(iii):V=mA%B.....................................(iv);
Figure 112116870-A0305-02-0015-4
其中,U為將mA除以B所獲得的商數,且V為將mA除以B所獲得的餘數;其中,DL m,n 為第m行第n列的所述第二感測值,DR m,U 為第m行第U列的所述第一感測值,且DR m,U-1為第m行第U-1列的所述第一感測值。
The method for scaling touch sensing data as claimed in claim 4, wherein the electronic chip performs the numerical adjustment operation by executing the following mathematical formulas (iii), (iv) and (v): U = mA / B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (iii): V = mA % B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (iv);
Figure 112116870-A0305-02-0015-4
Wherein, U is the quotient obtained by dividing mA by B, and V is the remainder obtained by dividing mA by B; wherein, DL m , n is the second sensing value of the mth row and nth column, DR m , U is the first sensing value of the mth row and Uth column, and DR m , U -1 is the first sensing value of the mth row and U-1th column.
一種電子晶片,用以和一觸控面板一同組成一觸控裝置;其特徵在於,該電子晶片執行如請求項1至請求項5之中任一項所述之觸摸感測數據的尺度變換方法,以將自該觸控面板接收的包含 M×N個第一感測值的一第一觸摸感測數據變換成包含X×Y個第二感測值的一第二觸摸感測數據。 An electronic chip is used to form a touch device together with a touch panel; the electronic chip is characterized in that the electronic chip executes the touch sensing data scale conversion method described in any one of claim 1 to claim 5 to convert a first touch sensing data containing M×N first sensing values received from the touch panel into a second touch sensing data containing X×Y second sensing values. 一種資訊處理裝置,其特徵在於包含一觸控裝置,且該觸控裝置包括一觸控面板以及至少一個如請求項6所述之電子晶片。 An information processing device, characterized in that it includes a touch device, and the touch device includes a touch panel and at least one electronic chip as described in claim 6.
TW112116870A 2023-05-05 2023-05-05 Touch sensing data scale conversion method, electronic chip and information processing device TWI856643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112116870A TWI856643B (en) 2023-05-05 2023-05-05 Touch sensing data scale conversion method, electronic chip and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112116870A TWI856643B (en) 2023-05-05 2023-05-05 Touch sensing data scale conversion method, electronic chip and information processing device

Publications (2)

Publication Number Publication Date
TWI856643B true TWI856643B (en) 2024-09-21
TW202445332A TW202445332A (en) 2024-11-16

Family

ID=93649335

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112116870A TWI856643B (en) 2023-05-05 2023-05-05 Touch sensing data scale conversion method, electronic chip and information processing device

Country Status (1)

Country Link
TW (1) TWI856643B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM550427U (en) * 2017-06-02 2017-10-11 鉅瞻科技股份有限公司 System for displaying handwriting synchronously, and handwriting device
US11029838B2 (en) * 2006-09-06 2021-06-08 Apple Inc. Touch screen device, method, and graphical user interface for customizing display of content category icons
CN114049568A (en) * 2021-11-29 2022-02-15 中国平安财产保险股份有限公司 Object shape change detection method, device, equipment and medium based on image comparison

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11029838B2 (en) * 2006-09-06 2021-06-08 Apple Inc. Touch screen device, method, and graphical user interface for customizing display of content category icons
TWM550427U (en) * 2017-06-02 2017-10-11 鉅瞻科技股份有限公司 System for displaying handwriting synchronously, and handwriting device
CN114049568A (en) * 2021-11-29 2022-02-15 中国平安财产保险股份有限公司 Object shape change detection method, device, equipment and medium based on image comparison

Also Published As

Publication number Publication date
TW202445332A (en) 2024-11-16

Similar Documents

Publication Publication Date Title
CN101751177B (en) Liquid crystal display device with a light guide plate
US11836317B2 (en) Touchpad and its force sensing data calibration method
TWI375901B (en) Touch screen and method for positioning coordinate
TWI463390B (en) Positioning method for touch display panel
US8823655B2 (en) Touch-point coordinate detecting method
WO2014003803A1 (en) Touch orientation calculation
US20030223803A1 (en) Writing pen with piezo sensor
US20120249440A1 (en) method of identifying a multi-touch rotation gesture and device using the same
US20150084930A1 (en) Information processor, processing method, and projection system
TWI416381B (en) Touch the sliding method
JP4758594B2 (en) Input device, information device, and control information generation method
CN103034393B (en) Touch processing method and system using graphical user interface image
TWI856643B (en) Touch sensing data scale conversion method, electronic chip and information processing device
CN101950232A (en) Calibration method of resistive touch screen
TWI748245B (en) Touch screen system and chip thereof
CN107229407B (en) Information processing method and electronic equipment
TWI769689B (en) Electronic device with fingerprint sensing function and fingerprint comparison method
CN112462974B (en) A driving method for a touch display device, a driving circuit and a touch display device
WO2026026068A1 (en) Signal processing method, touch chip, and touch apparatus
TWI849948B (en) Touch area division method, electronic chip and information processing device
TWI792662B (en) Method for analyzing finger touch screen pointing, touch device, and information processing device
TWI854637B (en) Touch trajectory optimization method, touch device and information processing device
TWI860708B (en) Evaluation method of touch track smoothness and chip inspection system
CN102087564A (en) Device and method for eliminating coupling capacitance
TW202101181A (en) Circular touch screen sensing method, touch display and data processor allowing the boundary of a circular touch control sensing area to approximate a standard circle