Method, device and storage medium for calibrating a touch panel and a force signal
Patent Information
- Application Number
- CN202211005539.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-22
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2042-08-22
AI Technical Summary
[0004]但即便如此,本领域技术人员仍发现经过校准的力度信号与实际施力信号存在偏差
[0040]本申请还提供了一种校准装置,包括存储器和处理器,所述存储器存储有程序,所述程序在被所述处理器读取执行时,实现如前任一实施例所述的方法。
Smart Images

Figure CN117666825B_ABST
Abstract
Description
Technical Field
[0001] This article relates to touch technology, and more particularly to a method, apparatus and storage medium for calibrating touch panels and force signals. Background Technology
[0002] Due to factors such as sensor manufacturing processes and structural rigidity, even when touching the entire touch panel with the same force, it is impossible to obtain a uniform touch force. Therefore, before the touch panel is manufactured and shipped, it needs to be calibrated to achieve a uniform touch force across the entire panel.
[0003] To calibrate touch panels, a common method is the fixed spatial grid calibration method. This involves selecting multiple fixed points on the touch panel and determining calibration coefficients for these points, which together form a spatial grid. When an actual touch position falls on one of these fixed points, the calibration coefficient of that point is used to calibrate the received force signal.
[0004] Even so, those skilled in the art have found that there is a discrepancy between the calibrated force signal and the actual applied force signal. Summary of the Invention
[0005] This application provides a method, apparatus, and storage medium for calibrating touch panels and force signals, which can improve calibration accuracy.
[0006] This application provides a method for calibrating a touch panel, the method comprising:
[0007] Determine the set of fixed points on the touch panel used for calibration and the calibration coefficient for each fixed point in the set;
[0008] After applying force to the touch panel, the position coordinates of the force application point are determined. When the force application point does not coincide with the fixed point, the associated fixed point is determined in the set of fixed points based on the determined position coordinates of the force application point.
[0009] The calibration coefficient of the force application point is determined based on the calibration coefficient of the associated fixed point.
[0010] In one exemplary embodiment, determining the associated fixed point in the set of fixed points based on the determined coordinates of the applied force point location includes:
[0011] When it is determined that the point of force application is located outside the square grid pattern composed of fixed points in the set of fixed points, and the distance between the point of force application and the fixed point located at the corner of the square grid pattern is less than the distance between the point of force application and other fixed points, the fixed point located at the corner of the pattern is taken as the associated fixed point.
[0012] In one exemplary embodiment, determining that the force application point is located outside a square grid pattern composed of fixed points from a set of fixed points, and that the distance between the force application point and a fixed point located at a corner of the square grid pattern is less than its distance from other fixed points, includes:
[0013] The x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid, and the y-coordinate of the point of force application is greater than the y-coordinate of the top edge of the square grid; or,
[0014] The x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid, and the y-coordinate of the point of force application is less than the y-coordinate of the bottom edge of the square grid; or,
[0015] The x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is greater than the y-coordinate of the top edge of the square grid pattern; or,
[0016] The x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is less than the y-coordinate of the bottom edge of the square grid pattern.
[0017] In one exemplary embodiment, determining the calibration coefficient of the force application point based on the calibration coefficient of the associated fixed point includes:
[0018] The calibration coefficient of the associated fixed point is used as the calibration coefficient of the force application point.
[0019] In one exemplary embodiment, determining the associated fixed point in the set of fixed points based on the determined coordinates of the applied force point location includes:
[0020] When it is determined that the force application point is located above the upper edge, below the lower edge, to the left of the left edge, or to the right of the right edge of the square grid graphic composed of fixed points in the set of fixed points, the distances between the multiple fixed points located on the corresponding edges and the force application point are sorted from smallest to largest, and the fixed points corresponding to the first M distances are selected as the associated fixed points, where M is a positive integer.
[0021] In one exemplary embodiment, determining that the applied force point is located above the upper edge, below the lower edge, to the left of the left edge, or to the right of the right edge of a square grid pattern composed of fixed points in the set of fixed points includes:
[0022] If the vertical coordinate of the point of force application is greater than the vertical coordinate of the upper edge of the square grid pattern, and the horizontal coordinate of the point of force application is within the horizontal coordinate range covered by the upper edge, then the point of force application is located above the upper edge of the square grid pattern.
[0023] If the vertical coordinate of the point of force application is less than the vertical coordinate of the lower edge of the square grid pattern, and the horizontal coordinate of the point of force application is within the horizontal coordinate range covered by the lower edge, then the point of force application is located below the lower edge of the square grid pattern.
[0024] If the x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid pattern, and the y-coordinate of the point of force application is within the range of y-coordinates covered by the left edge of the square grid pattern, then the point of force application is located to the left of the left edge of the square grid pattern.
[0025] If the x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is within the range of y-coordinates covered by the right edge of the square grid pattern, then the point of force application is located to the right of the right edge of the square grid pattern.
[0026] In one exemplary embodiment, determining the associated fixed point in the set of fixed points based on the determined coordinates of the applied force point location includes:
[0027] When it is determined that the point of force application is located inside a square grid composed of fixed points in the set of fixed points, the distances between the fixed points located in the square grid and the point of force application are sorted in ascending order, and the fixed points corresponding to the first N distances are selected as the associated fixed points, where N is a positive integer.
[0028] In one exemplary embodiment, determining the calibration coefficient of the force application point based on the calibration coefficient of the associated fixed point includes:
[0029] The weighting coefficient of each associated fixed point is determined based on the distance between each associated fixed point and the force application point;
[0030] The calibration coefficient of the applied force point is obtained by multiplying the calibration coefficient of each associated fixed point by its respective weighting coefficient and summing the results.
[0031] In one exemplary embodiment, determining the weighting coefficient of each associated fixing point based on the distance between each associated fixing point and the force application point includes:
[0032] The greater the distance between the associated fixed point and the point of force application, the smaller the weighting coefficient of the associated fixed point;
[0033] The closer the associated fixed point is to the point of force application, the larger the weighting coefficient of the associated fixed point.
[0034] In one exemplary embodiment, determining the weighting coefficient of each associated fixing point based on the distance between each associated fixing point and the force application point includes:
[0035] The ratio of the k-th power of the reciprocal of the distance between any associated fixed point and the point of force application to the sum of the k-th power of the reciprocal of the distances between all associated fixed points and the point of force application is used as the weighting coefficient of any associated fixed point, where k is an integer greater than 0.
[0036] This application also provides a force signal calibration method, the method comprising:
[0037] When force is applied to the touch panel, it is determined whether the force application point coincides with any fixed point in the preset fixed point set on the touch panel based on the position of the force application point. If they do not coincide, the calibration coefficient of the force application point obtained by the method described in any of the previous embodiments is obtained.
[0038] The force response signal obtained after applying force is calibrated according to the calibration coefficient of the force application point.
[0039] This application also provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the methods described in any of the preceding embodiments.
[0040] This application also provides a calibration apparatus, including a memory and a processor, wherein the memory stores a program that, when read and executed by the processor, implements the method as described in any of the preceding embodiments.
[0041] Compared with related technologies, this application includes: determining a set of fixed points on the touch panel for calibration and a calibration coefficient for each fixed point in the set; after applying force to the touch panel, determining the position coordinates of the applied force point; when the applied force point does not coincide with the fixed point, determining a calibration coefficient for the applied force point on the touch panel separately, and no longer using the calibration coefficient of the fixed point, thereby improving the calibration accuracy of the touch panel.
[0042] Other features and advantages of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the application. Other advantages of this application can be realized and obtained by means of the solutions described in the description and the accompanying drawings. Attached Figure Description
[0043] The accompanying drawings are used to provide an understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.
[0044] Figure 1 This is a schematic diagram illustrating the deviation between the program-fixed grid coordinates and the actual dot grid coordinates proposed in the embodiments of this application;
[0045] Figure 2This is a flowchart of a method for calibrating a touch panel according to an embodiment of this application;
[0046] Figure 3 This is an example diagram illustrating the relationship between the categories and their calibration templates proposed in the embodiments of this application;
[0047] Figure 4 This is a schematic diagram of the location of a force application point according to an embodiment of this application;
[0048] Figure 5 This is a schematic diagram showing the location of another force application point proposed in an embodiment of this application;
[0049] Figure 6 This is a schematic diagram showing the location of another force application point proposed in an embodiment of this application;
[0050] Figure 7 This is a flowchart of the force signal calibration method proposed in the embodiments of this application;
[0051] Figure 8 An error diagram showing the force response signal calibrated using the method of this application embodiment and the actual applied force.
[0052] Figure 9 An error diagram showing the force response signal calibrated using existing methods and the actual applied force.
[0053] Figure 10 This is a structural diagram of the calibration device proposed in the embodiments of this application. Detailed Implementation
[0054] This application describes several embodiments, but these descriptions are exemplary and not limiting, and it will be apparent to those skilled in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with or in lieu of any other feature or element in any other embodiment.
[0055] This application includes and contemplates combinations of features and elements known to those skilled in the art. The embodiments, features, and elements disclosed in this application may also be combined with any conventional features or elements to form a unique inventive scheme as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive schemes to form another unique inventive scheme as defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in this application may be implemented individually or in any suitable combination. Therefore, the embodiments are not limited except by the limitations imposed by the appended claims and their equivalents. Furthermore, various modifications and changes may be made within the scope of the appended claims.
[0056] Furthermore, in describing representative embodiments, the specification may have presented methods and / or processes as a specific sequence of steps. However, the method or process should not be limited to the specific order of steps described herein, to the extent that it does not depend on such a specific order. As will be understood by those skilled in the art, other sequences of steps are also possible. Therefore, the specific order of steps set forth in the specification should not be construed as a limitation of the claims. Moreover, the claims concerning the method and / or process should not be limited to the steps performed in the written order, and those skilled in the art will readily understand that these orders can be varied and still remain within the spirit and scope of the embodiments of this application.
[0057] The inventors of this application discovered that the deviation between the calibrated force signal and the actual applied force signal is mainly due to the discrepancy between the actual touch position and the fixed point position. When there is a positional deviation, using the calibration coefficient of the fixed point for force calibration will cause a deviation in the force calibration result. For example, when conducting force tests on a touchpad prototype, the deviation in the prototype's placement caused a deviation between the program's fixed grid coordinates and the actual dot grid coordinates, see [see...]. Figure 1 As shown ( Figure 1 The C2 point in the text refers to a fixed point, which causes inaccurate coefficient calibration and force calibration deviation.
[0058] For the reasons mentioned above, this application provides a method for calibrating a touch panel, such as... Figure 2 As shown, the method includes:
[0059] Step S201 determines the set of fixed points on the touch panel for calibration and the calibration coefficient of each fixed point in the set;
[0060] After applying force to the touch panel in step S202, the position coordinates of the force application point are determined. When the force application point does not coincide with the fixed point, the associated fixed point is determined in the set of fixed points based on the determined position coordinates of the force application point.
[0061] The position coordinates of the force application point can be determined by the touchpad's own positioning function;
[0062] Step S203 determines the calibration coefficient of the force application point based on the calibration coefficient of the associated fixed point.
[0063] The solution described in this application improves the calibration accuracy of the touch panel when the force application point of the touch panel does not coincide with the fixed point on the touch panel.
[0064] In this embodiment of the application, there are various methods for determining the calibration coefficient of each fixed point in the set in step S201, such as interpolation, fitting, spatial variation, etc.
[0065] Determining the calibration coefficients for each fixed point in the set using the spatial variation method may include:
[0066] A small number of fixed points are determined from the set of fixed points, and a response dataset is obtained by marking the small number of fixed points.
[0067] Select a calibration template from a plurality of calibration templates that matches the response dataset, the calibration template being used to describe the target response data of the touch panel to be calibrated;
[0068] For any other fixed point in the set of fixed points, determine the associated fixed point of any other fixed point from the small number of fixed points, and obtain the response data of the associated fixed point from the response dataset;
[0069] Based on the response data of the associated fixed point and the target response data of the associated fixed point obtained from the matched calibration template, a spatial transformation relationship matrix describing the spatial variation trend of the response data is obtained.
[0070] Based on the spatial transformation relation matrix and the target response data of the associated fixed point obtained from the matched calibration template, the equivalent derivation response data for marking points at any other fixed point is derived, and the response signal calibration coefficient of any other fixed point is determined based on the derivation response data.
[0071] In one exemplary embodiment, the generation of the plurality of calibration templates includes:
[0072] Obtain multiple sample response datasets after sequentially marking N points on multiple sample touch panels, where each sample panel corresponds to one sample response dataset, and N is an integer greater than 1;
[0073] By comparing the similarity between multiple sample response datasets, sample response datasets with a similarity greater than a first preset threshold are classified.
[0074] Generate a calibration template for each category based on the sample response dataset contained in each category;
[0075] For example, when a category contains one sample response dataset, that sample response dataset serves as the calibration template for that category; when a category contains multiple sample response datasets, the vector obtained by averaging the multiple sample response datasets contained in that category can be used as the calibration template for that category. Figure 3 An example of the relationship between a category and its calibration template is given.
[0076] In one exemplary embodiment, selecting a calibration template from a plurality of calibration templates that matches the response dataset obtained by marking the small number of fixed points includes:
[0077] Determine the similarity between the response data at each fixed point in the response dataset and the target response data at the corresponding fixed point location in each calibration template;
[0078] Based on the similarity, a calibration template with a similarity to the response data greater than a second threshold is selected from the calibration templates as the calibration template that matches the response dataset.
[0079] In one exemplary embodiment, a spatial transformation relationship matrix describing the spatial variation trend of the response data is obtained based on the response data of the associated fixed point and the target response data of the associated fixed point obtained from the matched calibration template, including:
[0080] Establish a spatial transformation relationship between the response data of the associated fixed point and the target response data of the associated fixed point obtained from the matched calibration template;
[0081] The spatial transformation relationship matrix is obtained based on the spatial transformation relationship.
[0082] In an exemplary embodiment, establishing a spatial transformation relationship between the response data of the associated fixed point and the target response data of the associated fixed point obtained from the matched calibration template includes:
[0083] Establish the following relation (1):
[0084]
[0085] Where x represents the associated fixed point; y represents the target response data of the associated fixed point obtained through the calibration template; and y' represents the response data of the associated fixed point obtained by dot marking.
[0086] Represents the spatial transformation relation matrix; t x t y These represent translation transformations along the X-axis and Y-axis, respectively, while a1, a2, a3, and a4 represent rotation and scaling transformations.
[0087] In one exemplary embodiment, the location of the point of force application includes:
[0088] Position 1:
[0089] The point of force application is located outside the square grid pattern composed of fixed points in the set of fixed points, and the distance between the point of force application and the fixed point located at the corner of the square grid pattern is less than the distance between the point of force application and other fixed points. Figure 4 Four force application points are shown in the diagram. These four force application points are all located outside the square grid pattern, near the upper left corner, lower left corner, lower right corner and upper right corner of the grid, respectively. The distance between these four force application points and the fixed point located at the corner of the square grid pattern is less than the distance between them and other fixed points.
[0090] In an exemplary embodiment, determining that the force application point is located outside a square grid pattern formed by connecting fixed points in a set of fixed points, and that the distance between the force application point and a fixed point located at a corner of the square grid pattern is less than its distance from other fixed points, includes:
[0091] The x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid, and the y-coordinate of the point of force application is greater than the y-coordinate of the top edge of the square grid; or,
[0092] The x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid, and the y-coordinate of the point of force application is less than the y-coordinate of the bottom edge of the square grid; or,
[0093] The x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is greater than the y-coordinate of the top edge of the square grid pattern; or,
[0094] The x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is less than the y-coordinate of the bottom edge of the square grid pattern.
[0095] In an exemplary embodiment, for the first force application point location, determining its associated fixed point in the set of fixed points based on the determined force application point location coordinates includes: taking the fixed point located at the corner of the graphic as the associated fixed point.
[0096] For the force application point location one, in an exemplary embodiment, determining the calibration coefficient of the force application point based on the calibration coefficient of the associated fixed point includes:
[0097] The calibration coefficient of the associated fixed point is used as the calibration coefficient of the force application point.
[0098] In an exemplary embodiment, the location of the point of force application may further include:
[0099] Position 2:
[0100] The point of force application is located above the upper edge, below the lower edge, to the left of the left edge, or to the right of the right edge of the square grid pattern composed of fixed points in the set of fixed points. Figure 5 Four schematic diagrams of the force application points are given. These four force application points are located outside the square grid pattern, and are respectively located above the upper edge, below the lower edge, to the left of the left edge, and to the right of the right edge of the square grid pattern.
[0101] In an exemplary embodiment, determining whether the applied force point is located above the upper edge, below the lower edge, to the left of the left edge, or to the right of the right edge of a square grid pattern formed by connecting fixed points in the set of fixed points includes:
[0102] If the vertical coordinate of the point of force application is greater than the vertical coordinate of the upper edge of the square grid pattern, and the horizontal coordinate of the point of force application is within the horizontal coordinate range covered by the upper edge, then the point of force application is located above the upper edge of the square grid pattern.
[0103] If the vertical coordinate of the point of force application is less than the vertical coordinate of the lower edge of the square grid pattern, and the horizontal coordinate of the point of force application is within the horizontal coordinate range covered by the lower edge, then the point of force application is located below the lower edge of the square grid pattern.
[0104] If the x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid pattern, and the y-coordinate of the point of force application is within the range of y-coordinates covered by the left edge of the square grid pattern, then the point of force application is located to the left of the left edge of the square grid pattern.
[0105] If the x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is within the range of y-coordinates covered by the right edge of the square grid pattern, then the point of force application is located to the right of the right edge of the square grid pattern.
[0106] Regarding the second force application point location, in an exemplary embodiment, determining its associated fixed point in the set of fixed points based on the determined force application point location coordinates includes: sorting the distances between multiple fixed points located on the corresponding edge and the force application point in ascending order, and selecting the fixed points corresponding to the first M distances as the associated fixed points, where M is a positive integer. Optionally, M is 2.
[0107] For the second application point location, in an exemplary embodiment, determining the calibration coefficient of the application point based on the calibration coefficient of the associated fixed point includes: determining the weighting coefficient of each associated fixed point based on the distance between each associated fixed point and the application point; and using the sum of the product of the calibration coefficient of each associated fixed point and its respective weighting coefficient as the calibration coefficient of the application point.
[0108] In an exemplary embodiment, determining the weighting coefficient of each associated fixed point based on the distance between each associated fixed point and the force application point includes: the farther the associated fixed point is from the force application point, the smaller the weighting coefficient of the associated fixed point; conversely, the closer the associated fixed point is to the force application point, the larger the weighting coefficient of the associated fixed point.
[0109] In one exemplary embodiment, determining the weighting coefficient of each associated fixed point based on the distance between each associated fixed point and the force application point includes: using the ratio of the k-th power of the reciprocal of the distance between any associated fixed point and the force application point to the sum of the k-th powers of the reciprocals of the distances between all associated fixed points and the force application point as the weighting coefficient of any associated fixed point, where k is an integer greater than 0. Optionally, k is 1.
[0110] In an exemplary embodiment, the location of the point of force application may further include:
[0111] Position 3:
[0112] The point of application of force is located inside a square grid consisting of fixed points from a set of fixed points.
[0113] Regarding the third force application point location, in an exemplary embodiment, determining its associated fixed point in the set of fixed points based on the determined force application point location coordinates includes: sorting the distances between the fixed points located within the square grid pattern and the force application point in ascending order, and selecting the fixed points corresponding to the first N distances as the associated fixed points, where N is a positive integer. Optionally, N is 4.
[0114] For the third force application point, in an exemplary embodiment, determining the calibration coefficient of the force application point based on the calibration coefficient of the associated fixed point includes: determining the weighting coefficient of each associated fixed point based on the distance between each associated fixed point and the force application point; and using the sum of the product of the calibration coefficient of each associated fixed point and its respective weighting coefficient as the calibration coefficient of the force application point.
[0115] In an exemplary embodiment, determining the weighting coefficient of each associated fixed point based on the distance between each associated fixed point and the force application point includes: the farther the associated fixed point is from the force application point, the smaller the weighting coefficient of the associated fixed point; conversely, the closer the associated fixed point is to the force application point, the larger the weighting coefficient of the associated fixed point.
[0116] In one exemplary embodiment, determining the weighting coefficient of each associated fixed point based on the distance between each associated fixed point and the force application point includes: using the ratio of the k-th power of the reciprocal of the distance between any associated fixed point and the force application point to the sum of the k-th powers of the reciprocals of the distances between all associated fixed points and the force application point as the weighting coefficient of any associated fixed point, where k is an integer greater than 0. Optionally, k is 1.
[0117] Figure 6 A schematic diagram is given where the force application point is located inside a square grid pattern, where point P is the force application point and Q is the force application point. 11 Q 12 Q 21 and Q 22 All are fixed points, S(Q) 11 ), S(Q 12 ), S(Q 21 ) and S(Q 22 ) represent Q respectively 11 The distance between P and Q 12 The distance between P and Q 21 The distance between P and Q 22 The distance between P and P.
[0118] For example, the calibration coefficient of the facility force point P is f(x,y), and the fixed point Q is... 11 Q 12 Q 21 and Q 22 If the calibration coefficients are f(Q11), f(Q12), f(Q21), and f(Q22), then:
[0119] f(x,y)=α1*f(Q11)+α2*f(Q12)+α3*f(Q21)+α4*f(Q22)
[0120] Where α1, α2, α3, and α4 are weights;
[0121]
[0122]
[0123] There are several ways to calculate the distance between the fixed point and the point of force application, such as:
[0124] The first form:
[0125] S(Q11)=sqrt((x-x1) 2 +(y-y1) 2 )
[0126] S(Q21)=sqrt((x2-x) 2 +(y-y1) 2 )
[0127] S(Q12)=sqrt((x-x1) 2 +(y2-y) 2 )
[0128] S(Q22)=sqrt((x2-x) 2 +(y2-y) 2 )
[0129] The second form:
[0130] S(Q11)=abs(x-x1)+abs(y-y1)
[0131] S(Q21)=abs(x2-x)+abs(y-y1)
[0132] S(Q12)=abs(x-x1)+abs(y2-y)
[0133] S(Q22)=abs(x2-x)+abs(y2-y)
[0134] This application also provides a force signal calibration method, such as Figure 7 As shown, the method includes:
[0135] Step S701: After applying force to the touch panel, determine whether the force application point coincides with any fixed point in the preset fixed point set on the touch panel based on the position of the force application point. If they do not coincide, proceed to step S702.
[0136] Step S702: Obtain the calibration coefficient of the force application point;
[0137] The calibration coefficient of the force application point can be obtained through the process of calibrating the touch panel as described above;
[0138] Step S703 calibrates the force response signal obtained after applying force according to the calibration coefficient of the force application point.
[0139] In this embodiment, the calibration coefficient used to calibrate the force response signal is more accurate, thus improving the calibration accuracy of the force response signal.
[0140] Figure 8 The error between the force response signal calibrated by the method of this application embodiment and the actual applied force is calculated. Figure 9 The error between the force response signal calibrated using existing methods and the actual applied force. Figure 8 and Figure 9 In the diagram, the horizontal axis represents the number of dots. (This is achieved through...) Figure 8 and Figure 9 The comparison shows that the force response signal calibrated by the method of this application embodiment is closer to the actual applied force, and the force accuracy is improved by about 4%.
[0141] This application also provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the methods described in any of the preceding embodiments.
[0142] This application also provides a calibration device, such as... Figure 10 As shown, the system includes a memory 1001 and a processor 1002. The memory 1001 stores a program, which, when read and executed by the processor 1002, implements the method described in any of the preceding embodiments.
[0143] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
Claims
1. A method for calibrating a touch panel, the method comprising: Determine the set of fixed points on the touch panel used for calibration and the calibration coefficient for each fixed point in the set; After applying force to the touch panel, the position coordinates of the force application point are determined. When the force application point does not coincide with the fixed point, the associated fixed point is determined in the set of fixed points based on the determined position coordinates of the force application point. Determining the calibration coefficient of the force application point based on the calibration coefficient of the associated fixed point includes: The weighting coefficient of each associated fixed point is determined based on the distance between each associated fixed point and the force application point; The calibration coefficient of the applied force point is obtained by multiplying the calibration coefficient of each associated fixed point by its respective weighting coefficient and summing the results.
2. The method according to claim 1, characterized in that, Based on the determined coordinates of the applied force point, its associated fixed points are determined from the set of fixed points, including: When it is determined that the point of force application is located outside the square grid pattern composed of fixed points in the set of fixed points, and the distance between the point of force application and the fixed point located at the corner of the square grid pattern is less than the distance between the point of force application and other fixed points, the fixed point located at the corner of the pattern is taken as the associated fixed point.
3. The method according to claim 2, characterized in that, Determining that the point of force application is located outside a square grid composed of fixed points from a set of fixed points, and that the distance between the point of force application and a fixed point located at a corner of the square grid is less than the distance between the point of force application and other fixed points, includes: The x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid, and the y-coordinate of the point of force application is greater than the y-coordinate of the top edge of the square grid; or, The x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid, and the y-coordinate of the point of force application is less than the y-coordinate of the bottom edge of the square grid; or, The x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is greater than the y-coordinate of the top edge of the square grid pattern; or, The x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is less than the y-coordinate of the bottom edge of the square grid pattern.
4. The method according to claim 2 or 3, characterized in that, Determining the calibration coefficient of the force application point based on the calibration coefficient of the associated fixed point includes: The calibration coefficient of the associated fixed point is used as the calibration coefficient of the force application point.
5. The method according to claim 1, characterized in that, Based on the determined coordinates of the applied force point, its associated fixed points are determined from the set of fixed points, including: When it is determined that the force application point is located above the upper edge, below the lower edge, to the left of the left edge, or to the right of the right edge of the square grid graphic composed of fixed points in the set of fixed points, the distances between the multiple fixed points located on the corresponding edges and the force application point are sorted from smallest to largest, and the fixed points corresponding to the first M distances are selected as the associated fixed points, where M is a positive integer.
6. The method according to claim 5, characterized in that, The method of determining that the applied force point is located above the upper edge, below the lower edge, to the left of the left edge, or to the right of the right edge of a square grid pattern composed of fixed points in the set of fixed points includes: If the vertical coordinate of the point of force application is greater than the vertical coordinate of the upper edge of the square grid pattern, and the horizontal coordinate of the point of force application is within the horizontal coordinate range covered by the upper edge, then the point of force application is located above the upper edge of the square grid pattern. If the vertical coordinate of the point of force application is less than the vertical coordinate of the lower edge of the square grid pattern, and the horizontal coordinate of the point of force application is within the horizontal coordinate range covered by the lower edge, then the point of force application is located below the lower edge of the square grid pattern. If the x-coordinate of the point of force application is less than the x-coordinate of the left edge of the square grid pattern, and the y-coordinate of the point of force application is within the range of y-coordinates covered by the left edge of the square grid pattern, then the point of force application is located to the left of the left edge of the square grid pattern. If the x-coordinate of the point of force application is greater than the x-coordinate of the right edge of the square grid pattern, and the y-coordinate of the point of force application is within the range of y-coordinates covered by the right edge of the square grid pattern, then the point of force application is located to the right of the right edge of the square grid pattern.
7. The method according to claim 1, characterized in that, Based on the determined coordinates of the applied force point, its associated fixed points are determined from the set of fixed points, including: When it is determined that the point of force application is located inside a square grid composed of fixed points in the set of fixed points, the distances between the fixed points located in the square grid and the point of force application are sorted in ascending order, and the fixed points corresponding to the first N distances are selected as the associated fixed points, where N is a positive integer.
8. The method according to claim 1, characterized in that, The weighting coefficient for each associated fixed point is determined based on the distance between each associated fixed point and the force application point, including: The greater the distance between the associated fixed point and the point of force application, the smaller the weighting coefficient of the associated fixed point; The closer the associated fixed point is to the point of force application, the larger the weighting coefficient of the associated fixed point.
9. The method according to claim 1 or 8, characterized in that, The weighting coefficient for each associated fixed point is determined based on the distance between each associated fixed point and the force application point, including: The ratio of the k-th power of the reciprocal of the distance between any associated fixed point and the point of force application to the sum of the k-th power of the reciprocal of the distances between all associated fixed points and the point of force application is used as the weighting coefficient of any associated fixed point, where k is an integer greater than 0.
10. A method for calibrating a force signal, characterized in that, The method includes: When force is applied to the touch panel, it is determined whether the force application point coincides with any fixed point in the preset fixed point set on the touch panel based on the position of the force application point. If they do not coincide, the calibration coefficient of the force application point obtained by the method as described in any one of claims 1 to 9 is obtained. The force response signal obtained after applying force is calibrated according to the calibration coefficient of the force application point.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more programs that can be executed by one or more processors to implement the method as claimed in any one of claims 1 to 9, or to implement the method as claimed in claim 10.
12. A calibration device, characterized in that, The device includes a memory and a processor, the memory storing a program that, when read and executed by the processor, implements the method as described in any one of claims 1 to 9, or performs the method as described in claim 10.
Citation Information
Patent Citations
Pressure correction method, and touch processing device and touch system for implementing the same
CN114690942A