Capacitive touch panel alignment calibration method and system

By identifying the corrective touch sequence to calculate local offsets and generating calibration parameters, the non-uniform and localized alignment deviation problems of the capacitive touchpad are solved, and the touch accuracy and user experience are improved, especially at the edges and corner areas of the screen.

CN120447785AInactive Publication Date: 2025-08-08SHENZHEN LAIBAO OPTO-ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510940720.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-09
Publication Date
2025-08-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, capacitive touchpads are prone to non-uniform and localized alignment deviation problems after long-term use, resulting in a decline in user experience, and it is difficult to effectively solve the traditional global linear calibration model.

Method used

By identifying the user's corrective touch sequence, calculating local offsets, and generating local calibration parameters, applied to specific screen areas for correction, the calibration process is refined, and touch accuracy and user experience are improved.

Benefits of technology

It effectively solves the problem of non-uniform and localized alignment deviation caused by long-term use of capacitive touchpads, and improves touch accuracy and user experience, especially in areas such as screen edges and corners.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120447785A_ABST
    Figure CN120447785A_ABST
Patent Text Reader

Abstract

The invention provides a capacitive touchpad alignment calibration method and system, which are applied to the technical field of touch control, and the alignment calibration of a capacitive touchpad is realized by identifying a corrective touch control sequence, calculating a local offset and generating a local calibration parameter. The problems of non-uniformity and localized alignment deviation generated after long-term use of the touchpad in the prior art are solved in a mode of correcting by applying the local calibration parameters, and the method has the advantages that the problems of non-uniformity and localized alignment deviation generated after long-term use of the touchpad in the prior art can be solved, and the touch precision and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of touch technology, and in particular to a capacitive touch panel alignment calibration method and system. Background Art

[0002] Initially, the capacitive touchscreens of public self-service terminals undergo a standard calibration procedure to determine the correspondence between the touchpad's sensing points and the screen's display pixels, thereby compensating for linear deviations such as overall translation or rotation. However, after the equipment is put into operation, it faces numerous challenges: First, frequent and diverse user operations, such as varying pressure, methods, speeds, and angles, especially non-perpendicular pressure at the edges or corners of the screen, can cause minor permanent deformation of the cover panel and sensing module in the stress-bearing areas, potentially loosening the fixing structure. Second, the wiping action of maintenance personnel during regular cleaning, especially the increased wiping force required to remove stubborn stains, can exacerbate potential panel deformation and lead to minor loosening of the fixing structure between the touch module and the outer casing.

[0003] These factors cause the touchpad's alignment deviation to evolve from overall linear deviation to non-uniform, localized nonlinear deviation. This manifests as accurate touch at the center of the screen, but noticeable offset in corners or edge strips. The offset varies in magnitude and direction in each area, making it impossible to describe it with a unified linear model. When the deviation accumulates to a certain level, the user experience degrades. For example, when clicking a small icon or input box, the system may respond to the wrong element, requiring multiple attempts.

[0004] At this point, the traditional global linear calibration model based on a few fixed reference points is difficult to solve. The "averaging effect" may cause serious local deviations in some areas, and even worsen the experience in areas that were originally acceptable, affecting the device's operating efficiency and users' trust in its reliability and ease of use. Therefore, existing technologies urgently need to be improved. Summary of the Invention

[0005] In view of the above-mentioned shortcomings of the existing technology, the present application provides a capacitive touch panel alignment calibration method and system, which has the advantages of being able to solve the non-uniform and localized alignment deviation problems caused by long-term use of the touch panel in the existing technology, and improve touch accuracy and user experience.

[0006] In a first aspect, a capacitive touch panel alignment calibration method is provided, the method comprising the steps of: S1: Obtain a series of user touch events occurring on the capacitive touch panel; S2: identifying, from the series of user touch events, a corrective touch sequence representing the user operating a target object on the screen; S3: calculating, based on the corrective touch sequence, an offset between the touch position of the unsuccessful touch event and the touch position of the successful touch event, and associating the offset with a local area of the screen where the corrective touch sequence occurs; S4: generating local calibration parameters for each of the one or more local areas of the screen according to the one or more offsets associated with the local areas of the one or more screens; S5: When a new user touch event is received, if the touch position of the new user touch event falls into the local area of the screen for which the local calibration parameters have been generated, the local calibration parameters of the local area of the screen are applied to correct the touch position of the new user touch event.

[0007] A capacitive touch panel alignment calibration method proposed in this application can solve the problem of non-uniform and localized alignment deviation caused by long-term use of the touch panel in the prior art, thereby improving touch accuracy and user experience.

[0008] Furthermore, step S2 includes: S21: Acquire a group of continuous touch events from the series of user touch events, and determine target objects associated with each touch event in the group of continuous touch events on the screen; S22: determining, based on the respective associated target objects, whether the group of continuous touch events includes at least one initial touch event and one subsequent touch event, and whether the target object associated with the at least one initial touch event and the target object associated with the subsequent touch event are the same target object; S23: If the judgment result is existence, and the subsequent touch event triggers a successful interaction with the same target object, and the at least one initial touch event does not trigger a successful interaction with the same target object, then the sequence including the at least one initial touch event and the subsequent touch event will be included to identify the corrective touch sequence.

[0009] The present application proposes a capacitive touch panel alignment calibration method, which refines the recognition process of the corrective touch sequence and improves the recognition accuracy.

[0010] Furthermore, step S3 includes: S31: Acquire the touch positions of the respective unsuccessful touch events; S32: Calculating an average of the touch positions of the multiple unsuccessful touch events based on the touch positions of the multiple unsuccessful touch events to obtain a comprehensive unsuccessful touch position; S33: Calculating the offset based on the combined unsuccessful touch position and the touch position of the successful touch event; S34: Associating the calculated offset with the local area of the screen where the corrective touch sequence occurs.

[0011] The present application proposes a capacitive touch panel alignment calibration method, which provides a method for calculating a comprehensive unsuccessful touch position based on multiple unsuccessful touch events, thereby improving the robustness of offset calculation.

[0012] Furthermore, step S33 includes: S331: Acquire a spatial relationship parameter between the integrated unsuccessful touch position and the touch position of the successful touch event; S332: Compare the spatial relationship parameter with a preset parameter threshold to obtain a comparison result; S333: Calculate the offset according to the comparison result.

[0013] A capacitive touch panel alignment calibration method proposed in this application introduces spatial relationship parameters and threshold comparison to make offset calculation more flexible and accurate.

[0014] Furthermore, step S333 includes: S3331: If the comparison result indicates that the spatial relationship parameter satisfies the condition determined based on the preset parameter threshold, a first offset is calculated based on the combined unsuccessful touch position and the touch position of the successful touch event, and the first offset is used as the offset; S3332: If the comparison result indicates that the spatial relationship parameter does not meet the condition determined based on the preset parameter threshold, then after calculating the first offset based on the comprehensive unsuccessful touch position and the touch position of the successful touch event, adjust the value of the first offset to generate an adjusted offset, and use the adjusted offset as the offset.

[0015] Furthermore, step S4 includes: S41: Acquire acquisition time information of each of the plurality of offsets associated with the local area of the screen; S42: determining respective time-related weights for the plurality of offsets based on the acquired acquisition time information of the plurality of offsets; S43: performing a combination process based on the multiple offsets and their corresponding time-related weights to obtain a comprehensive offset; S44: Based on the integrated offset, generate local calibration parameters for the local area of the screen.

[0016] Furthermore, step 42 includes: S421: Obtaining a time difference between a collection time point of each offset in the plurality of offsets and the current time point; S422: Applying a preset time decay function to the time difference to calculate the time correlation weight corresponding to each offset, wherein the characteristic of the preset time decay function is that as the time difference increases, the output time correlation weight decreases.

[0017] Furthermore, step S5 includes: S51: Determine whether the touch position of the new user touch event is adjacent to a boundary between the local area where the touch position is located and for which the local calibration parameters have been generated and one or more other adjacent local areas for which the local calibration parameters have been generated, and generate a determination result; S52: Determine calibration adjustment information for correcting the touch position of the new user touch event according to the determination result; S53: Correcting the touch position of the new user touch event by applying the determined calibration adjustment information.

[0018] Furthermore, step S52 includes: S521: If the determination result is that the touch position of the new user touch event is adjacent to the boundary, determining calibration adjustment information for correcting the touch position of the new user touch event based on the relative position of the touch position of the new user touch event and the boundary, and in combination with the local calibration parameters of the local area where the touch position of the new user touch event is located and the local calibration parameters of one or more other adjacent local areas; S522: If the judgment result is that the touch position of the new user touch event is not adjacent to the boundary, directly adopting the local calibration parameters of the local area where the touch position of the new user touch event falls as the calibration adjustment information.

[0019] In a second aspect, a capacitive touch panel alignment and calibration system is provided, for implementing any of the above methods, the system comprising: Acquisition module: acquires a series of user touch events occurring on the capacitive touch panel; An identification module: identifying, from the series of user touch events, a corrective touch sequence representing the user operating a target object on the screen; A calculation module: based on the corrective touch sequence, calculates an offset between a touch position of the unsuccessful touch event and a touch position of the successful touch event, and associates the offset with a local area of the screen where the corrective touch sequence occurs; A generating module: generating a local calibration parameter for each of the one or more local areas of the screen according to the one or more offsets associated with the local areas of the one or more screens; Calibration module: When a new user touch event is received, if the touch position of the new user touch event falls into the local area of the screen for which the local calibration parameters have been generated, the local calibration parameters of the local area of the screen are applied to correct the touch position of the new user touch event.

[0020] Beneficial effect: The capacitive touch panel alignment calibration method and system proposed in this application solves the problem of non-uniform and localized alignment deviation caused by long-term use of the touch panel in the prior art by identifying a corrective touch sequence, calculating a local offset, generating local calibration parameters, and applying the local calibration parameters for correction. It has the advantages of being able to solve the problem of non-uniform and localized alignment deviation caused by long-term use of the touch panel in the prior art, and improving touch accuracy and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a flow chart of a capacitive touch panel alignment calibration method proposed in this application.

[0022] Figure 2 This is a structural diagram of a capacitive touch panel alignment and calibration system proposed in this application.

[0023] Figure 3 This is a diagram of the architecture of a capacitive touch panel alignment and calibration system proposed in this application.

[0024] Description of reference numerals: 201, acquisition module; 202, identification module; 203, calculation module; 204, generation module; 205, calibration module. DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and marked in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the scope of protection of the present application.

[0026] It should be noted that similar reference numerals and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0027] Please refer to Figure 1 A capacitive touch panel alignment calibration method, the method comprising the steps of: S1: Obtain a series of user touch events occurring on the capacitive touch panel; S2: Identify, from a series of user touch events, a corrective touch sequence representing the user's operation on a target object on the screen; S3: calculating an offset between a touch position of an unsuccessful touch event and a touch position of a successful touch event based on the corrective touch sequence, and associating the offset with a local area of the screen where the corrective touch sequence occurs; S4: generating local calibration parameters for each of the local areas of the one or more screens according to the one or more offsets associated with the local areas of the one or more screens; S5: When a new user touch event is received, if the touch position of the new user touch event falls into a local area of the screen for which local calibration parameters have been generated, the local calibration parameters of the local area of the screen are applied to correct the touch position of the new user touch event.

[0028] Among them, user touch events refer to the sensing signals generated when the user interacts with the screen through the touchpad. They may include information such as the start, movement, and end of the touch, and contain data such as the touch position and timestamp. Their purpose is to provide raw data for subsequent analysis of user behavior.

[0029] A corrective touch sequence refers to a series of touch attempts made by a user to successfully operate the same target object on the screen. These attempts may include multiple unsuccessful touches followed by a successful touch. The purpose of the corrective touch sequence is to capture the adjustment behavior made by the user when he perceives touch deviation.

[0030] An unsuccessful touch event is a touch event in which the user attempts to touch a target object but the system does not recognize it as a valid interaction with the target object. For example, the touch position falls outside the target object area or the press time is insufficient. Its purpose is to identify situations where the user fails to touch accurately.

[0031] A successful touch event is a touch event that the system recognizes as an effective interaction with a target object after the user touches it, such as successfully selecting, activating, or dragging the target object. Its purpose is to identify the location where the user finally successfully touched.

[0032] The offset refers to the spatial distance and direction difference between the touch position of an unsuccessful touch event and the touch position of a successful touch event. It can be a two-dimensional vector, and its purpose is to quantify the touch deviation reflected by the user in the correction behavior.

[0033] The local area of the screen refers to dividing the screen into several sub-areas. These sub-areas can be fixed-size grids or dynamically divided areas based on user operation hotspots. The purpose is to associate touch deviations with specific physical locations on the screen.

[0034] Local calibration parameters refer to calibration data calculated for a local area of the screen and used to correct the touch position in that area. They can be an offset vector, a transformation matrix, or other calibration model parameters. Their purpose is to provide personalized calibration for different areas of the screen.

[0035] In a specific embodiment, the screen can be divided into a grid-like set of local areas. The acquired user touch events are analyzed by the system in real time or in batches. When identifying a corrective touch sequence, the system can monitor the user's multiple touch attempts on the same target object (such as a button icon on the screen) within a short period of time. If the first few attempts fail to trigger a response from the target object, but a subsequent touch successfully triggers a response, then this series of touch events is identified as a corrective touch sequence.

[0036] To calculate the offset, the touch positions of all unsuccessful touch events in the sequence are obtained, their average position is calculated, and the vector difference between this average position and the touch position of the successful touch event is calculated as the offset. This offset is stored in association with the local area of the screen where the user primarily operated during the corrective touch sequence (e.g., the grid cell containing the target object). As the system operates, each local area accumulates multiple offset data points associated with it.

[0037] When generating local calibration parameters, multiple offsets accumulated in a local area can be weighted averaged, for example, more recent offsets can be given a higher weight to obtain a comprehensive offset for the area, and the comprehensive offset can be used as the local calibration parameter for the area.

[0038] When a new user touch event is received, the system determines which local area the touch position falls into. If a local calibration parameter has been generated for that area, the parameter is superimposed on the original touch position to obtain the corrected touch position. Subsequent system processing will be based on this corrected position.

[0039] Through the above technical solution, the present application can effectively solve the problem of local nonlinear alignment deviation of the capacitive touch panel caused by long-term use, local uneven force and other reasons. By analyzing the correction behavior of the user in actual operation, the system can adaptively learn and quantify the touch deviation of different screen areas without the user having to perform additional calibration operations. Generating and applying personalized calibration parameters for local areas of the screen can compensate for non-uniform deviations more accurately than traditional global linear calibration, and significantly improve the user's touch accuracy in areas prone to deviations such as the edges and corners of the screen. This allows users to click on the desired target object more easily and accurately when operating equipment such as public self-service terminals, reducing false touches and repeated attempts, thereby greatly improving the smoothness of user interaction and the overall user experience.

[0040] Furthermore, step S2 includes: S21: Obtaining a group of continuous touch events from a series of user touch events, and determining target objects associated with each touch event in the group of continuous touch events on the screen; S22: determining, based on the respective associated target objects, whether the group of continuous touch events includes at least one initial touch event and one subsequent touch event, and whether the target object associated with the at least one initial touch event and the target object associated with the subsequent touch event are the same target object; S23: If the judgment result is existence, and the subsequent touch event triggers a successful interaction with the same target object, and at least one initial touch event does not trigger a successful interaction with the same target object, then a sequence including the at least one initial touch event and the subsequent touch event is identified to identify a corrective touch sequence.

[0041] Among them, a group of continuous touch events refers to a series of user touch events that have a certain correlation in time or space, such as a group of touch events occurring within a preset time threshold, or a group of touch events occurring within a preset spatial threshold range.

[0042] The target object associated with each touch event on the screen refers to the specific user interface element (such as a button, text box, or icon) on the screen that the user intended to operate, determined by the system based on the screen coordinates of the touch event. This is typically achieved by comparing the touch coordinates with the bounding boxes of the user interface elements on the screen.

[0043] Initial touch events and subsequent touch events refer to a set of consecutive touch events, arranged in chronological order. The first touch event is called the initial touch event, and the second touch event is called the subsequent touch event. Triggering a successful interaction with the same target object means that the completion of the subsequent touch event (usually a touch lift) causes the system to perform the expected action or response on the associated target object, such as a button being clicked, a text box gaining focus and popping up the keyboard, or an icon being activated, and the system or application returns a signal or status indicating successful execution.

[0044] Failure to trigger a successful interaction with the same target object means that the completion of the initial touch event fails to cause the system to perform the expected operation or response on the associated target object. For example, the associated target object does not respond after the touch is lifted, the system determines it to be a false touch, the touch position deviates too far from the target object, the touch time is too short or too long, etc.

[0045] In some preferred embodiments, the specific implementation is as follows: Suppose a user attempts to tap a small "OK" button on the edge of the screen. The system continuously receives a stream of user touch events. When the user first touches the screen, slightly away from the button, the system records touch event 1 (e.g., location X1, Y1, time T1).

[0046] Based on the location information, the system determines that the target object associated with touch event 1 is the "OK" button (target A). The user notices no response and adjusts their position slightly before touching the screen again. This position falls within the button range, and the system records touch event 2 (e.g., location X2, Y2, time T2).

[0047] The system detects that the time interval T2-T1 between touch event 2 and touch event 1 is within a preset time threshold (e.g., 500 milliseconds) and classifies them as a group of continuous touch events. Based on the position information, the system determines that the target object associated with touch event 2 is also the "OK" button (Target A). The system determines that this group of continuous touch events contains an initial event (Event 1) and a subsequent event (Event 2), and that they are associated with the same target object (Target A).

[0048] The system further examines the interaction results. The touch lift in touch event 2 caused the system to successfully trigger the click function of the "OK" button, for example, the UI framework sent a "button click successful" signal. However, the touch lift in touch event 1 failed to trigger the click function of the "OK" button, for example, the system determined it was a false touch or the position deviation was too large. Because the subsequent event (event 2) interacted successfully while the initial event (event 1) did not, the system identifies the sequence containing touch events 1 and 2 as a corrective touch sequence.

[0049] Furthermore, step S3 includes: S31: Acquire the touch positions of each of the multiple unsuccessful touch events; S32: calculating an average position of the touch positions of the multiple unsuccessful touch events based on the touch positions of the multiple unsuccessful touch events to obtain a comprehensive unsuccessful touch position; S33: Calculating an offset based on the combined unsuccessful touch position and the touch position of the successful touch event; S34: Associating the calculated offset with the local area of the screen where the corrective touch sequence occurs.

[0050] Among them, multiple unsuccessful touch events refer to a collection of touch events that fail to successfully trigger the target object when the user tries to operate the same target object on the screen. The purpose of introducing multiple unsuccessful touch events is to provide a data basis for more accurate estimation of the user's actual intended touch location by collecting touch data of multiple failed attempts by the user. A single unsuccessful touch event may be affected by random factors, while a collection of multiple events can reflect the general trend or systematic deviation of the user when operating in a specific area.

[0051] The individual touch positions refer to the specific coordinates recorded in the screen coordinate system for each independent unsuccessful touch event. These coordinates represent the original touch position information sensed by the touchpad. The average position is a representative position derived from statistical calculations of the touch positions of multiple unsuccessful touch events. This can be achieved by calculating the arithmetic mean, weighted mean, or other statistical measure of these touch positions. The purpose of this average position is to aggregate multiple discrete touch points to smooth out random errors and more accurately estimate the central trend of the area where the user's finger or touch tool actually landed when attempting to touch the target object.

[0052] The combined unsuccessful touch position refers to the touch position obtained by the above-mentioned average position calculation method, which represents a set of multiple unsuccessful touch events. This position is considered to be a more reliable estimate of the user's expected touch position when attempting to touch the target object. It integrates information from multiple failed attempts and can better reflect the user's actual touch habits or the deviation characteristics of the screen in this area than a single touch position.

[0053] The offset refers to the spatial difference between the combined unsuccessful touch position and the touch position of a successful touch event. Specifically, it can be a two-dimensional vector whose direction and magnitude represent the displacement from the combined unsuccessful touch position to the touch position of a successful touch event. The offset reflects the systematic deviation between the average landing point of the user's actual touch (represented by the combined unsuccessful touch position) and the touch point to which the system correctly responds (represented by the touch position of a successful touch event) within a specific screen area.

[0054] The local area of the screen where the corrective touch sequence occurs refers to the specific geographical range on the screen where the touch events mainly occur when the user generates the corrective touch sequence. Specifically, it can be a predefined rectangular area, a circular area, or an area dynamically determined according to the distribution of touch events. The purpose of associating the offset with the local area is to establish a touch deviation model unique to the area, providing a basis for subsequent local calibration of the area.

[0055] In some preferred embodiments, specifically, when the system recognizes a corrective touch sequence, for example, a user repeatedly clicks a "Back" button in the upper left corner of the screen but does not respond multiple times, and finally successfully clicks it once. The system will record the touch positions of the user when they repeatedly unsuccessfully click the "Back" button. Assuming that three unsuccessful touch positions are recorded, 、 .

[0056] The system obtains these three position points, and then calculates the average position of these three position points, such as calculating their arithmetic mean, to obtain the comprehensive unsuccessful touch position. At the same time, the system records the touch position when the user finally successfully clicks the "Back" button Calculate the offset, for example, the offset is The system determines the local area of the screen where the corrective touch sequence occurs, such as the upper left corner of the screen where the "Back" button is located, and associates the calculated offset with this upper left corner area. In this way, the system obtains accurate touch offset information for this upper left corner area.

[0057] Furthermore, step S33 includes: S331: Obtaining spatial relationship parameters between the integrated unsuccessful touch position and the touch position of the successful touch event; S332: Compare the spatial relationship parameter with a preset parameter threshold to obtain a comparison result; S333: Calculate the offset according to the comparison result.

[0058] Among them, the spatial relationship parameter refers to a numerical value or set used to describe the relative relationship between two touch positions in space. It can be represented by information such as distance, direction vector, and angle. Its purpose is to quantify the relative position characteristics between the unsuccessful touch position and the touch position of the successful touch event.

[0059] Among them, the preset parameter threshold refers to one or more numerical limits set in advance before the comparison. It can be determined by a fixed value, a dynamically adjusted value based on statistical data, or a value set according to the application scenario. Its purpose is to provide a standard for judging whether the spatial relationship parameters meet the preset conditions.

[0060] The comparison result refers to the judgment conclusion obtained by comparing the spatial relationship parameter with the preset parameter threshold. It can be represented by a Boolean value, an enumeration value, or a numerical value. Its purpose is to guide the selection or adjustment of the subsequent offset calculation method.

[0061] In one embodiment, specifically, when obtaining the spatial relationship parameters, the Euclidean distance between the integrated unsuccessful touch position and the touch position of the successful touch event and the vector pointing from the successful touch position to the integrated unsuccessful touch position may be calculated.

[0062] When comparing spatial relationship parameters with preset parameter thresholds, you can set a distance threshold and a direction angle threshold. The calculated Euclidean distance is compared with the distance threshold, and the angle between the calculated vector and a reference direction (for example, a direction perpendicular to the edge of the target object) or the angle between the calculated vector and the vector from the successful touch location to the center of the target object is compared with the direction angle threshold.

[0063] When calculating the offset based on the comparison results, if the Euclidean distance is less than the distance threshold and the direction angle is less than the direction angle threshold, the vector difference between the combined unsuccessful touch position and the touch position of the successful touch event can be directly calculated as the offset. If the Euclidean distance is greater than the distance threshold or the direction angle is greater than the direction angle threshold, it can be considered that the touch data may have a special condition. In this case, other calculation methods can be used, such as proportionally reducing the calculated vector difference, directly setting the offset to zero, or ignoring the contribution of the corrective touch sequence to the offset of the area.

[0064] Furthermore, step S333 includes: S3331: If the comparison result indicates that the spatial relationship parameter satisfies a condition determined based on a preset parameter threshold, a first offset is calculated based on the combined unsuccessful touch position and the touch position of the successful touch event, and the first offset is used as the offset; S3332: If the comparison result indicates that the spatial relationship parameter does not meet the condition determined based on the preset parameter threshold, then after calculating the first offset based on the combined unsuccessful touch position and the touch position of the successful touch event, adjust the value of the first offset to generate an adjusted offset, and use the adjusted offset as the offset.

[0065] Among them, the conditions determined based on the preset parameter threshold refer to the logical judgment rules obtained by comparing the spatial relationship parameters with the preset parameter threshold. They can be implemented by logical judgments such as greater than, less than, equal to, falling within a certain range, or satisfying a certain functional relationship. Their purpose is to trigger different processing processes according to the status of the spatial relationship parameters.

[0066] The first offset refers to the original offset directly calculated based on the combined unsuccessful touch position and the touch position of the successful touch event. It can be calculated using the vector difference between the two positions, the weighted average difference, or the offset vector obtained by linear model fitting. Its purpose is to preliminarily quantify the overall deviation between unsuccessful touch and successful touch.

[0067] Adjusting the value of the first offset refers to correcting or optimizing the calculated first offset. This can be achieved by scaling the first offset, adding a correction vector, applying a nonlinear function transformation, or combining other factors for correction. The purpose is to improve the accuracy of the offset in a specific spatial relationship pattern.

[0068] The adjusted offset refers to the new offset obtained after the adjustment process, and its purpose is to serve as a basis for more accurate local calibration.

[0069] The offset calculation method is dynamically selected or adjusted based on the spatial relationship parameters between the unsuccessful touch position and the touch position of the successful touch event. When the spatial relationship is good, the first offset is directly calculated to ensure the efficiency of the calculation and accuracy under typical circumstances. When there is an abnormality in the spatial relationship, the first offset is adjusted to compensate for potential error sources and obtain a more accurate offset. This refined offset calculation strategy improves the accuracy and adaptability of capacitive touch panel alignment calibration, especially when dealing with atypical touch modes caused by differences in user operations or local characteristics of the device, it can provide a more reliable calibration basis, thereby effectively improving the touch experience.

[0070] Furthermore, step S4 includes: S41: Acquire acquisition time information of each of multiple offsets associated with a local area of the screen; S42: determining respective time-related weights for the multiple offsets based on the acquired acquisition time information of the multiple offsets; S43: performing a combination process based on the multiple offsets and their corresponding time-related weights to obtain a comprehensive offset; S44: Based on the integrated offset, generate local calibration parameters for the local area of the screen.

[0071] The acquisition time information refers to the specific time point when the touch event occurs and is recorded by the system, which can be represented by a timestamp, date and time format, etc. Its purpose is to provide a basis for the subsequent evaluation of the newness of the offset.

[0072] The time-dependent weight is a numerical value assigned to each offset. This value reflects the importance or influence of the offset in calculating the composite offset. The value is related to the acquisition time of the offset and can be determined based on factors such as the interval between the offset and the current time, or the order in which the offsets occur. Its purpose is to distinguish the impact of offsets acquired at different times on the local calibration parameters.

[0073] Combination processing refers to the process of mathematically calculating or logically integrating multiple offsets and their corresponding time-related weights. Specifically, methods such as weighted averaging, weighted summation, or prediction based on time series models can be used. Its purpose is to extract a value that can represent the current alignment deviation trend from multiple historical offsets.

[0074] A composite offset is a single value or vector obtained by combining multiple offsets associated with a local area of the screen. This value or vector comprehensively reflects the touch alignment deviation of the local area over a period of time, taking into account the time factor of the offset. Its purpose is to serve as the basic input for generating local calibration parameters.

[0075] Local calibration parameters refer to adjustment information used to correct the touch position in a specific local area of the screen. Specifically, they can be a two-dimensional offset vector, a small affine transformation matrix, or an adjustment value in a lookup table. Its purpose is to compensate for the touch alignment deviation in the local area.

[0076] In some preferred embodiments, the present application is specifically implemented as follows: When the system records each offset, it also records the specific time point at which the offset was calculated, for example, in the form of a system timestamp. When it is necessary to generate local calibration parameters for a certain area of the screen, the system queries and obtains all historical offsets associated with that area and their corresponding storage timestamps.

[0077] Based on these acquired timestamps, the system calculates the time difference between the timestamp of each offset and the current system time. Then, the system can apply a preset weight calculation rule to determine the time-related weight of each offset. For example, a linear decay model can be used, with the weight ,in is a maximum weight value, is an attenuation coefficient, is the time difference, and sets a minimum weight , so that the weight No less than In this way, the offset with a smaller time difference (i.e., the more recent offset) will receive a higher weight.

[0078] The system will obtain multiple offsets (for example, each offset is a two-dimensional vector The time-related weights calculated for each of them are weighted averaged. For example, the integrated offset ,in is the time-dependent weight of the ith offset, is the i-th offset.

[0079] The system will calculate the comprehensive offset Directly used as the local calibration parameters of the local area of the screen. For example, the original touch position of the subsequent touch event in the local area will be corrected to .

[0080] Through the above technical solution, when generating local calibration parameters for a local area of the screen, the acquisition time information of each of the multiple associated offsets can be fully considered, and different offsets can be assigned different weights based on the time factor. Therefore, through weighted combination, a comprehensive offset that better reflects the current actual alignment deviation is obtained. Compared with methods that only consider the size of the offset, the local calibration parameters generated based on this comprehensive offset can more accurately and promptly reflect changes in the touchpad alignment deviation. This helps to improve the effectiveness of the local calibration parameters, thereby improving the accuracy of touch calibration and enhancing the user's touch experience in specific screen areas.

[0081] Furthermore, step 42 includes: S421: Obtain the time difference between the acquisition time point of each offset in the multiple offsets and the current time point; S422: Applying a preset time decay function to the time difference to obtain the time correlation weight corresponding to each offset, wherein the characteristic of the preset time decay function is that as the time difference increases, the output time correlation weight decreases.

[0082] The preset time decay function refers to a mathematical mapping relationship, whose input is the time difference between the acquisition time point of the offset and the current time point, and the output is the corresponding time-related weight. The function has a monotonically decreasing characteristic, that is, the larger the input time difference, the smaller the output time-related weight. It can be implemented in the form of exponential function, polynomial function, piecewise function, etc. Its purpose is to convert the distance of time into a quantitative indicator of the degree of influence on the calibration parameters; The time-related weight refers to a numerical value assigned to each offset, which reflects the contribution of the offset to the final local calibration parameters. Its size is related to the time difference between the acquisition time point of the offset and the current time point. The smaller the time difference, the greater the weight, and vice versa. Its purpose is to distinguish the importance of offsets with different acquisition times, so that the most recent data plays a greater role in calibration.

[0083] The solution of this application obtains the time difference between the acquisition time point of each of the multiple offsets and the current time point. This time difference directly quantifies the recency of each offset. Then, a preset time decay function is applied to the time difference to calculate the time-related weight corresponding to each offset.

[0084] The preset time decay function is designed so that as the time difference increases, the output time-correlation weight decreases. This ensures that offsets with acquisition times closer to the current time point receive higher calculated time-correlation weights, while offsets with earlier acquisition times receive lower time-correlation weights. In this way, the present application provides a precise and quantifiable method for determining the influence of each offset in subsequent combination processing.

[0085] In this method, a combination process is performed based on these offsets with time-related weights to obtain a comprehensive offset, and then local calibration parameters are generated for the local area of the screen based on the comprehensive offset. Since the most recent offsets are given higher weights, they dominate the combination process, so that the comprehensive offset can more accurately reflect the current alignment deviation state of the touchpad in the local area. The generated local calibration parameters can therefore better adapt to the characteristics of the touchpad alignment deviation changing over time. This method of determining weights based on time difference and attenuation function makes the step of using time information to generate local calibration parameters more effective, thereby improving the accuracy and adaptability of the overall calibration method, especially in scenarios where long-term use of the touchpad causes dynamic changes in local deviations.

[0086] Furthermore, step S5 includes: S51: Determine whether the touch position of the new user touch event is adjacent to a boundary between the local area for which the local calibration parameter has been generated and one or more other adjacent local areas for which local calibration parameters have been generated, and generate a determination result; S52: Determine calibration adjustment information for correcting the touch position of the new user touch event according to the determination result; S53: Correcting the touch position of the new user touch event using the determined calibration adjustment information.

[0087] Among them, "adjacent boundary" means that the spatial distance between the touch position and the boundary of the local area is less than a preset distance threshold. It can be achieved by calculating the vertical distance from the touch position to the boundary line and comparing it with the threshold. Its purpose is to identify that the touch position is in a transition area where calibration mutation may occur.

[0088] Among them, "calibration adjustment information" refers to the parameters used to correct the touch position of a new user touch event, which can be calculated based on the relative position of the touch position and the boundary, the local calibration parameters of the local area where it is located, and the local calibration parameters of the adjacent local areas through interpolation, weighted average or other smoothing functions, or directly use the local calibration parameters of the local area where the touch position is far away from the boundary. Its purpose is to provide a correction value that can achieve a smooth transition of the touch position.

[0089] In a specific embodiment, the specific implementation is as follows. Assume that the screen is divided into multiple rectangular local areas, each area There is a corresponding local calibration parameter , which can be a two-dimensional offset vector When a new user touch event is received, the original touch position is , and the location falls into the local area First, determine the location Whether it is adjacent to the area For example, you can set a border width If the location To area The vertical distance of any boundary is less than , then the location is considered to be close to the boundary. Assuming the location Neighboring areas With adjacent areas Based on the judgment result, the calibration adjustment information is determined. Away from all boundaries (that is, the distance to all boundaries is greater than or equal to ), the calibration adjustment information is directly adopted in the area Local calibration parameters If the location Neighboring areas and The calibration adjustment information can be adjusted based on the position Distance to the boundary , and regions and Local calibration parameters and For example, linear interpolation can be used to calibrate the adjustment information. , where alpha is an interpolation coefficient whose value can be determined according to the distance d, for example ,when (On the border) , the calibration adjustment information is equal to ;when (Outside the border width) , the calibration adjustment information is equal to Thus, as the touch position moves from the area Towards the region Approaching and entering the border width area, the calibration adjustment information changes from Smooth transition to Finally, apply the determined calibration adjustment information Original touch position Perform calibration to obtain the corrected touch position .

[0090] Furthermore, step S52 includes: S521: If the result of the determination is that the touch position of the new user touch event is adjacent to the boundary, determining calibration adjustment information for correcting the touch position of the new user touch event based on the relative position of the touch position of the new user touch event and the boundary, and in combination with the local calibration parameters of the local area where the touch position of the new user touch event is located and the local calibration parameters of one or more other adjacent local areas; S522: If the judgment result is that the touch position of the new user touch event is not adjacent to the boundary, directly use the local calibration parameters of the local area where the touch position of the new user touch event falls as the calibration adjustment information.

[0091] Among them, combining the local calibration parameters of the local area where the touch position of the new user touch event is located and the local calibration parameters of one or more other adjacent local areas means performing weighted averaging, interpolation calculation or other forms of fusion processing on the calibration parameters of the current local area and the calibration parameters of the adjacent local areas based on the relative position relationship between the touch position and the boundary to obtain a comprehensive calibration adjustment information. It can be achieved by linear interpolation, nonlinear interpolation, distance-based weighted averaging, etc. Its purpose is to smoothly transition the calibration parameters when the touch position is close to the area boundary, avoiding the touch position jump caused by simply switching the calibration parameters.

[0092] In some preferred embodiments, when determining that the touch position of a new user touch event is adjacent to a boundary, a weighted average method can be used to combine local calibration parameters. For example, assuming that the touch position is adjacent to the boundary between the local area A where it is located and the adjacent local area B, the distance dA from the touch position to the center of area A and the distance dB from the touch position to the center of area B can be calculated. Then, a weight is determined based on these two distances, for example, the weight , weight The final calibration adjustment information can be calculated as: Local calibration parameters of local area A local area In this way, the closer the touch position is to the area , weight The larger the area The greater the impact of the calibration parameters, the smoother the transition is. When it is determined that the touch position of a new user touch event is not adjacent to a boundary, for example, the distance between the touch position and all boundaries is greater than a preset threshold, the local calibration parameters of the local area where the touch position is located are directly obtained and used as calibration adjustment information.

[0093] Please refer to Figure 2 、 Figure 3 A capacitive touch panel alignment and calibration system, used to implement any of the above methods, comprises: Acquisition module 201: Acquisition of a series of user touch events occurring on the capacitive touch panel; Identification module 202: Identifying, from a series of user touch events, a corrective touch sequence representing a user operating a target object on the screen; Calculation module 203: Calculates an offset between a touch position of an unsuccessful touch event and a touch position of a successful touch event based on the corrective touch sequence, and associates the offset with a local area of the screen where the corrective touch sequence occurs; Generating module 204: generating local calibration parameters for each of the one or more local areas of the screen according to the one or more offsets associated with the one or more local areas of the screen; Calibration module 205: When a new user touch event is received, if the touch position of the new user touch event falls into a local area of the screen for which local calibration parameters have been generated, the local calibration parameters of the local area of the screen are applied to correct the touch position of the new user touch event.

[0094] The acquisition module 201 refers to a functional unit for receiving and processing original touch signals or event streams from the capacitive touch panel, and may specifically be a hardware interface circuit combined with driver software, with the purpose of providing basic data for subsequent processing.

[0095] The identification module 202 refers to a functional unit used to analyze the acquired touch event sequence and identify the event combination that conforms to a specific pattern and reflects the user's attempt to correct the touch deviation. Specifically, it can be a pattern recognition algorithm program executed by a processor, the purpose of which is to locate user behavior that requires calibration analysis.

[0096] The calculation module 203 refers to a functional unit used to quantify the size and direction of the touch deviation based on the identified corrective touch sequence, and to associate the deviation information with a specific spatial area on the screen. Specifically, it can be a geometric calculation and data association program executed by a processor, the purpose of which is to determine the calibration basic data of the local area.

[0097] The generation module 204 refers to a functional unit for calculating and determining calibration parameters applicable to one or more local areas based on deviation information associated with these local areas. Specifically, it can be a parameter fitting or calculation program executed by a processor, the purpose of which is to provide a calibration basis for the local area of the screen.

[0098] The calibration module 205 refers to a functional unit used to determine whether the position of a new touch event falls within a calibrated area when it is received, and to adjust the touch position according to the calibration parameters of the area. Specifically, it can be a coordinate transformation program executed by a processor, the purpose of which is to correct the user's touch position in real time.

[0099] The solution of the present application is able to solve the problem of local nonlinear alignment deviation because it adopts an adaptive local calibration mechanism based on the user's corrective touch behavior. It is precisely because the acquisition module 201 can continuously capture the user's actual touch events and the recognition module 202 can intelligently identify the repeated or adjustment operations performed by the user to correct touch deviation from these events that the system can capture the true user intention reflecting local deviation. Furthermore, the calculation module 203 accurately calculates the offset between the unsuccessful touch position and the successful touch position based on these corrective sequences, and associates these offsets with the local area of the screen where the correction behavior occurs. This overcomes the limitation of traditional global calibration that cannot locate local deviations. On this basis, the generation module 204 generates local calibration parameters for the same local area based on the multiple offsets accumulated in the same local area, which enables calibration to be personalized for different areas of the screen. Finally, when the calibration module 205 receives a new touch event, it can determine its position and apply the corresponding local calibration parameters for real-time correction, thereby effectively compensating for the nonlinear deviation of different areas of the screen and restoring touch accuracy. This modular system design enables the entire calibration process to be automated and continuous without the need for manual intervention or special tools, improving efficiency and maintainability.

[0100] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any actual relationship or order between these entities or operations.

[0101] The foregoing is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Persons skilled in the art will readily appreciate that the present application may be modified and altered in various ways. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A capacitive touch panel alignment calibration method, characterized in that: The method comprises the steps of: S1: Obtain a series of user touch events occurring on the capacitive touch panel; S2: identifying, from the series of user touch events, a corrective touch sequence representing the user operating a target object on the screen; S3: calculating an offset between a touch position of an unsuccessful touch event and a touch position of a successful touch event based on the corrective touch sequence, and associating the offset with a local area of the screen where the corrective touch sequence occurs; S4: generating local calibration parameters for each of the one or more local areas of the screen according to the one or more offsets associated with the local areas of the one or more screens; S5: When a new user touch event is received, if the touch position of the new user touch event falls into the local area of the screen for which the local calibration parameters have been generated, the local calibration parameters of the local area of the screen are applied to correct the touch position of the new user touch event.

2. The capacitive touch panel alignment calibration method according to claim 1, wherein: Step S2 includes: S21: Acquire a group of continuous touch events from the series of user touch events, and determine target objects associated with each touch event in the group of continuous touch events on the screen; S22: determining, based on the respective associated target objects, whether the group of continuous touch events includes at least one initial touch event and one subsequent touch event, and whether the target object associated with the at least one initial touch event and the target object associated with the subsequent touch event are the same target object; S23: If the judgment result is existence, and the subsequent touch event triggers a successful interaction with the same target object, and the at least one initial touch event does not trigger a successful interaction with the same target object, then the sequence including the at least one initial touch event and the subsequent touch event will be included to identify the corrective touch sequence.

3. The capacitive touch panel alignment calibration method according to claim 1, wherein: Step S3 includes: S31: Acquire the touch positions of the respective unsuccessful touch events; S32: Calculating an average of the touch positions of the multiple unsuccessful touch events based on the touch positions of the multiple unsuccessful touch events to obtain a comprehensive unsuccessful touch position; S33: Calculating the offset based on the combined unsuccessful touch position and the touch position of the successful touch event; S34: Associating the calculated offset with the local area of the screen where the corrective touch sequence occurs.

4. The capacitive touch panel alignment calibration method according to claim 3, wherein: Step S33 includes: S331: Acquire a spatial relationship parameter between the integrated unsuccessful touch position and the touch position of the successful touch event; S332: Compare the spatial relationship parameter with a preset parameter threshold to obtain a comparison result; S333: Calculate the offset according to the comparison result.

5. The capacitive touch panel alignment calibration method according to claim 4, characterized in that: Step S333 includes: S3331: If the comparison result indicates that the spatial relationship parameter satisfies the condition determined based on the preset parameter threshold, a first offset is calculated based on the combined unsuccessful touch position and the touch position of the successful touch event, and the first offset is used as the offset; S3332: If the comparison result indicates that the spatial relationship parameter does not meet the condition determined based on the preset parameter threshold, then after calculating the first offset based on the comprehensive unsuccessful touch position and the touch position of the successful touch event, adjust the value of the first offset to generate an adjusted offset, and use the adjusted offset as the offset.

6. The capacitive touch panel alignment calibration method according to claim 1, wherein: Step S4 includes: S41: Acquire acquisition time information of each of the plurality of offsets associated with the local area of the screen; S42: determining respective time-related weights for the plurality of offsets based on the acquired acquisition time information of the plurality of offsets; S43: performing a combination process based on the multiple offsets and their corresponding time-related weights to obtain a comprehensive offset; S44: Based on the integrated offset, generate local calibration parameters for the local area of the screen.

7. The capacitive touch panel alignment calibration method according to claim 6, characterized in that: Step 42 includes: S421: Obtaining a time difference between a collection time point of each offset in the plurality of offsets and the current time point; S422: Applying a preset time decay function to the time difference to calculate the time correlation weight corresponding to each offset, wherein the characteristic of the preset time decay function is that as the time difference increases, the output time correlation weight decreases.

8. The capacitive touch panel alignment calibration method according to claim 1, wherein: Step S5 includes: S51: Determine whether the touch position of the new user touch event is adjacent to a boundary between the local area where the touch position is located and for which the local calibration parameters have been generated and one or more other adjacent local areas for which the local calibration parameters have been generated, and generate a determination result; S52: Determine calibration adjustment information for correcting the touch position of the new user touch event according to the determination result; S53: Correcting the touch position of the new user touch event by applying the determined calibration adjustment information.

9. The capacitive touch panel alignment calibration method according to claim 8, characterized in that: Step S52 includes: S521: If the determination result is that the touch position of the new user touch event is adjacent to the boundary, determining calibration adjustment information for correcting the touch position of the new user touch event based on the relative position of the touch position of the new user touch event and the boundary, and in combination with the local calibration parameters of the local area where the touch position of the new user touch event is located and the local calibration parameters of one or more other adjacent local areas; S522: If the judgment result is that the touch position of the new user touch event is not adjacent to the boundary, directly adopting the local calibration parameters of the local area where the touch position of the new user touch event falls as the calibration adjustment information.

10. A capacitive touch panel alignment and calibration system, characterized in that: For implementing the method according to any one of claims 1 to 9 above, the system comprises: Acquisition module: acquires a series of user touch events occurring on the capacitive touch panel; An identification module: identifying, from the series of user touch events, a corrective touch sequence representing the user operating a target object on the screen; A calculation module: based on the corrective touch sequence, calculates an offset between a touch position of the unsuccessful touch event and a touch position of the successful touch event, and associates the offset with a local area of the screen where the corrective touch sequence occurs; A generating module: generating a local calibration parameter for each of the one or more local areas of the screen according to the one or more offsets associated with the local areas of the one or more screens; Calibration module: When a new user touch event is received, if the touch position of the new user touch event falls into the local area of the screen for which the local calibration parameters have been generated, the local calibration parameters of the local area of the screen are applied to correct the touch position of the new user touch event.