Touch scanning method, device, medium and product combining mutual capacity and self capacity

By combining mutual capacitance and self-capacitance scanning methods, touch points under weak grounding conditions are identified and verified, solving the problem of touch point loss caused by signal attenuation in traditional systems and achieving higher touch recognition accuracy and stability.

CN121326170BActive Publication Date: 2026-02-27ALTRON OPTOELECTRONICS (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511870041.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-02-27
Estimated Expiration
2045-12-12

AI Technical Summary

Technical Problem

In traditional touch scanning systems, under weak grounding conditions, the signal attenuation of the actual touch point causes the signal strength to fall below the system threshold, resulting in touch point loss or no response, which affects user experience and reliability.

Method used

A touch scanning method combining mutual capacitance and self-capacitance is adopted. The target nodes with signal strength between the threshold are initially identified by full-screen mutual capacitance scanning, and local self-capacitance scanning is performed for verification. The touch coordinates are fused by combining the two scanning results to ensure that all valid touch points are accurately included in the final list.

Benefits of technology

It improves the accuracy and reliability of touch recognition, avoids false touch point misjudgments, optimizes scanning efficiency and resource utilization, and enhances system robustness and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121326170B_ABST
    Figure CN121326170B_ABST
Patent Text Reader

Abstract

The application discloses a mutual-capacitance and self-capacitance combined touch scanning method, device, medium and product, and relates to the field of data processing. The method comprises the following steps: performing full-screen mutual-capacitance scanning on a touch panel to obtain a first touch data set; determining, in the first touch data set, a touch node with a first signal value between a first intensity threshold value and a second intensity threshold value as a target touch node; further determining a to-be-verified sensing area; performing local self-capacitance scanning on the to-be-verified sensing area to obtain a second touch data set; judging whether a second signal value exceeds an effective touch determination threshold value based on the second touch data set; if yes, calculating touch coordinates of the to-be-verified sensing area; and fusing the touch coordinates into a touch list generated based on the first touch data set to obtain final touch coordinate information. The application can alleviate the problem that touch point signal attenuation is mistakenly filtered out under weak grounding conditions, and improve touch recognition accuracy and reliability in complex or unfavorable environments.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and in particular to a mutual-capacitance and self-capacitance combined touch scanning method, device, medium and product. BACKGROUND

[0002] Capacitive touch technology is an important part of modern human-computer interaction, which locates the touch point by sensing the change of capacitance. Among various touch technologies, mutual-capacitance sensing technology is widely used due to its inherent advantages in multi-point touch recognition.

[0003] Traditional touch scanning systems usually rely on a single and fixed scanning mechanism. For example, many systems continuously perform full-screen mutual-capacitance scanning on the entire touch panel, and determine and report the coordinates of the touch point based on the comparison of the detected signal strength with a preset threshold. This method performs well in most conventional operating environments and can achieve effective touch detection.

[0004] However, in some non-ideal use scenarios, such as when the touch device is placed on an insulating surface, or the user's hand holding method causes poor connection between the device and the ground (i.e. weak grounding condition), the integrity of the electric field loop between the touch object (such as a finger) and the device ground will be affected. This will cause the capacitance change signal at the real touch point to be abnormally attenuated during the mutual-capacitance scanning process, and the signal strength will be significantly reduced. These weak signal touch points caused by environmental factors may have a signal strength lower than the fixed determination threshold set by the system to maintain a high signal-to-noise ratio, and thus are incorrectly filtered out by the system, resulting in the problem of touch point loss or touch non-response in the final touch list. This problem seriously affects the user experience and reduces the reliability of touch operation. SUMMARY

[0005] In view of the above technical problems and defects, the purpose of the present application is to provide a mutual-capacitance and self-capacitance combined touch scanning method, device, medium and product, which can alleviate the problem of touch signal attenuation being incorrectly filtered out under weak grounding conditions, and improve the touch recognition accuracy and reliability in complex or unfavorable environments.

[0006] To achieve the above object, in a first aspect, the application provides a mutual-capacitance and self-capacitance combined touch scanning method, comprising: performing full-screen mutual-capacitance scanning on a touch panel to obtain a first touch data set containing a plurality of first signal values; in the first touch data set, determining a touch node with a first signal value between a preset first intensity threshold and a second intensity threshold as a target touch node; determining a to-be-verified sensing area according to the target touch node; performing local self-capacitance scanning on the to-be-verified sensing area to obtain a second touch data set containing second signal values; judging whether the second signal values exceed a preset effective touch determination threshold based on the second touch data set; if yes, calculating touch coordinates of the to-be-verified sensing area according to the second touch data set; and fusing the touch coordinates into a touch list generated based on the first touch data set to obtain final touch coordinate information.

[0007] The application effectively solves the problem of poor touch recognition reliability of a conventional touch system under weak grounding conditions. The application preliminarily identifies suspicious touch nodes with signal intensity between a first intensity threshold and a second intensity threshold as target touch nodes by performing full-screen mutual-capacitance scanning on a touch panel. Then, local self-capacitance scanning is performed on the to-be-verified sensing area determined for the target touch nodes. The self-capacitance scanning is not sensitive to grounding conditions and can effectively detect weak signals. Based on the self-capacitance scanning result, it is judged whether it is an effective touch. If yes, accurate touch coordinates are calculated, and the coordinates are fused with strong touch point coordinates generated by mutual-capacitance scanning to finally form complete touch coordinate information. The double verification mechanism avoids the loss of real touch points in a non-ideal environment, and improves the accuracy and reliability of touch interaction.

[0008] In some embodiments, fusing the touch coordinates into a touch list generated based on the first touch data set to obtain final touch coordinate information comprises: determining first coordinate information of a strong signal touch point, the strong signal touch point being a touch point with a first signal value greater than or equal to the second intensity threshold; modifying original coordinate information corresponding to the to-be-verified sensing area to second coordinate information calculated based on the second touch data set; and merging the first coordinate information and the second coordinate information to obtain the final touch coordinate information.

[0009] The technical solution further clarifies the fusion mechanism of touch coordinates. The touch points detected by strong mutual-capacitance signals are determined as first coordinate information, and the coordinates of weak signal touch points obtained by self-capacitance scanning verification are modified as second coordinate information, and then the two are merged. This scheme ensures that all types of effective touch points, regardless of their initial signal strength, can be accurately included in the final touch list, improving the integrity and accuracy of the overall touch report.

[0010] In some embodiments, before performing the local self-capacitance scanning on the to-be-verified sensing region to obtain the second touch data set containing the second signal values, the method further comprises: in the first touch data set, determining a region with a first signal value less than a first intensity threshold as an invalid signal region; and excluding the invalid signal region from the region on which the local self-capacitance scanning is performed, to suppress false touch points caused by the self-capacitance scanning mechanism.

[0011] According to the technical solution, the exclusion mechanism of the invalid signal region is introduced before the local self-capacitance scanning. The region with a signal value less than the first intensity threshold is identified as the invalid signal region through mutual-capacitance scanning, and is excluded during the local self-capacitance scanning. This effectively suppresses the false touch points that may be caused by the self-capacitance scanning mechanism, avoids the risk of misjudgment due to the sensitivity of the self-capacitance scanning to the surrounding signals, and thus improves the accuracy and anti-interference capability of touch recognition in a multi-touch scenario.

[0012] In some embodiments, performing the local self-capacitance scanning on the to-be-verified sensing region to obtain the second touch data set containing the second signal values comprises: determining a target drive channel and a target sensing channel corresponding to the to-be-verified sensing region on the touch panel; identifying a first group of extended channels adjacent to the target drive channel and a second group of extended channels adjacent to the target sensing channel; combining the target drive channel, the target sensing channel, the first group of extended channels, and the second group of extended channels into a self-capacitance scanning channel set; and applying a self-capacitance excitation signal to the self-capacitance scanning channel set and reading a response signal to obtain the second touch data set.

[0013] According to the technical solution, the implementation of the local self-capacitance scanning is refined. The target drive / sensing channel of the to-be-verified sensing region is determined, and the adjacent extended channels are identified to construct the self-capacitance scanning channel set. This selective local scanning method avoids the waste of time and resources caused by self-capacitance scanning on the entire panel, and significantly improves the scanning efficiency. At the same time, by including the extended channels, the integrity of the signal profile is guaranteed, which is beneficial to the accuracy of subsequent coordinate calculation.

[0014] In some embodiments, applying the self-capacitance excitation signal to the self-capacitance scanning channel set comprises: dividing the self-capacitance scanning channel set into a central measurement channel and a peripheral shielding channel, the central measurement channel being composed of the target drive channel and the target sensing channel, and the peripheral shielding channel being composed of the first group of extended channels and the second group of extended channels; applying the self-capacitance excitation signal to the central measurement channel, and applying a shielding signal to the peripheral shielding channel, the frequency and phase of the shielding signal being consistent with those of the self-capacitance excitation signal, to suppress the parasitic capacitance between the central measurement channel and the peripheral shielding channel.

[0015] The technical scheme is adopted, and the application mode of the self-capacitance excitation signal is further optimized. By dividing the self-capacitance scanning channel into a center measurement channel and a peripheral shielding channel, and applying a shielding signal with the same frequency and phase as the self-capacitance excitation signal to the peripheral shielding channel, the parasitic capacitance between the center measurement channel and the peripheral shielding channel can be effectively suppressed, the crosstalk between adjacent electrodes is greatly reduced, the purity of the self-capacitance measurement signal is ensured, and more reliable data basis is provided for accurate identification of the touch point.

[0016] In some embodiments, before performing the full-screen mutual-capacitance scanning on the touch panel, the method further comprises: obtaining a current grounding state parameter of the touch device; and dynamically configuring a time occupancy ratio of the full-screen mutual-capacitance scanning and the local self-capacitance scanning in a scanning period according to the grounding state parameter.

[0017] The technical scheme is adopted, and the application mode of the self-capacitance excitation signal is further optimized. By dividing the self-capacitance scanning channel into a center measurement channel and a peripheral shielding channel, and applying a shielding signal with the same frequency and phase as the self-capacitance excitation signal to the peripheral shielding channel, the parasitic capacitance between the center measurement channel and the peripheral shielding channel can be effectively suppressed, the crosstalk between adjacent electrodes is greatly reduced, the purity of the self-capacitance measurement signal is ensured, and more reliable data basis is provided for accurate identification of the touch point.

[0018] In some embodiments, the dynamically configuring the time occupancy ratio of the full-screen mutual-capacitance scanning and the local self-capacitance scanning in a scanning period according to the grounding state parameter comprises: determining a current noise level of the touch panel according to a signal fluctuation or a background interference value in the full-screen mutual-capacitance scanning; determining the time occupancy ratio of the full-screen mutual-capacitance scanning and the local self-capacitance scanning based on the grounding state parameter and the current noise level; and when the grounding state parameter indicates a poor grounding state and the current noise level is higher than a preset noise threshold, increasing the time occupancy ratio of the local self-capacitance scanning and correspondingly reducing the time occupancy ratio of the full-screen mutual-capacitance scanning.

[0019] The technical scheme is adopted, and the application mode of the self-capacitance excitation signal is further optimized. By dividing the self-capacitance scanning channel into a center measurement channel and a peripheral shielding channel, and applying a shielding signal with the same frequency and phase as the self-capacitance excitation signal to the peripheral shielding channel, the parasitic capacitance between the center measurement channel and the peripheral shielding channel can be effectively suppressed, the crosstalk between adjacent electrodes is greatly reduced, the purity of the self-capacitance measurement signal is ensured, and more reliable data basis is provided for accurate identification of the touch point.

[0020] In a second aspect, the present application provides an electronic device, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is configured to store computer program codes, the computer program codes comprising computer instructions, and the one or more processors are configured to invoke the computer instructions to cause the electronic device to perform the method according to the first aspect and any possible implementation of the first aspect.

[0021] In a third aspect, the present application provides a computer-readable storage medium storing computer instructions, when the computer instructions are executed on an electronic device, the electronic device is caused to perform the method according to the first aspect and any possible implementation of the first aspect.

[0022] In a fourth aspect, the present application provides a computer program product comprising computer instructions, when the computer program product is executed on an electronic device, the electronic device is caused to perform the method according to the first aspect and any possible implementation of the first aspect.

[0023] It can be understood that the electronic device provided by the second aspect, the storage medium provided by the third aspect and the computer program product provided by the fourth aspect are all used to execute the method provided by the present application. Therefore, the beneficial effects achieved thereby can refer to the beneficial effects in the corresponding method, which will not be described here again. BRIEF DESCRIPTION OF DRAWINGS

[0024] Figure 1 is a flowchart of a mutual-capacitance and self-capacitance combined touch scanning method according to an embodiment of the present application;

[0025] Figure 2 is a flowchart of another mutual-capacitance and self-capacitance combined touch scanning method according to an embodiment of the present application;

[0026] Figure 3 is a hardware architecture diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order for those skilled in the art to better understand the technical solutions of the present application, the present application will be further described in detail below with reference to the drawings and specific embodiments.

[0028] The embodiment of the present application provides a mutual-capacitance and self-capacitance combined touch scanning method, which can be applied to a touch system of a touch device. The touch device can be a smart phone, a tablet computer, a notebook computer, a vehicle-mounted display system or any other electronic device equipped with a capacitive touch screen.

[0029] Before the method steps of the present application are described in detail, the key technical features and named entities involved in the scheme are first defined:

[0030] Touch screen devices: refer to electronic devices that integrate a touch panel and a corresponding signal processing unit, and are able to recognize touch operations in human-computer interaction.

[0031] Touch system: Typically integrated into touch devices, it consists of touch system hardware and firmware algorithms running on the system, and is responsible for managing all functions of the touch panel, such as scanning, signal processing, and coordinate reporting.

[0032] Touch panel: The physical component that enables touch functionality, typically formed by etching a transparent conductive material (such as indium tin oxide, ITO) onto a substrate (such as glass or a flexible thin film). The structure of the touch panel includes multiple mutually insulated driving electrodes (usually called TX lines) and multiple sensing electrodes (usually called RX lines). The driving electrodes and sensing electrodes are arranged in an array, overlapping each other in space to form a two-dimensional electrode network.

[0033] Mutual capacitance scanning: a touch sensing technology. During mutual capacitance scanning, the touch system applies an excitation signal to a driving electrode and simultaneously detects signals on the overlapping sensing electrodes. Each intersection of the driving and sensing electrodes forms an independent capacitor, creating a touch node. When a conductive object such as a finger approaches a touch node, a portion of the electric field lines is coupled away, causing a decrease in the mutual capacitance at that node, which is then detected as a change in signal value on the sensing electrodes. By sequentially scanning all driving electrodes and detecting all sensing electrodes, the capacitance changes of all touch nodes across the entire touch panel can be obtained.

[0034] Self-capacitance scanning: another touch sensing technology. During self-capacitance scanning, the touch system treats a single electrode (which can be a driving electrode or a sensing electrode) as an independent capacitor, measuring the capacitance between that electrode and ground, i.e., the self-capacitance value. When a conductive touch object such as a finger approaches the electrode, the human body provides an additional capacitance path to ground for that electrode, significantly increasing its self-capacitance value.

[0035] Touch node: refers to the physical intersection of a driving electrode and a sensing electrode on a touch panel, and is the basic unit for signal sensing in mutual capacitance scanning.

[0036] Signal value: refers to the raw or pre-processed data obtained by scanning circuit measurement that reflects changes in capacitance. In mutual capacitance scanning, the signal value usually represents the decrease in mutual capacitance; in self-capacitance scanning, the signal value usually represents the increase in self-capacitance.

[0037] like Figure 1 As shown, this embodiment provides a touch scanning method combining mutual capacitance and self-capacitance, including the following steps:

[0038] S101, performing full-screen mutual-capacitance scanning on the touch panel to obtain a first touch data set containing a plurality of first signal values.

[0039] The purpose of this step is to conduct a comprehensive and regular touch state detection on the entire touch panel to quickly obtain information of all potential touch points. The specific implementation is as follows:

[0040] The touch system (hereinafter referred to as the system) starts the mutual-capacitance scanning mode. This process consists of a series of consecutive operations. First, the system selects the first drive electrode and applies a preset alternating voltage signal as the excitation signal to the drive electrode through the drive circuit, for example, a sine wave or square wave pulse with a frequency of 100 kHz to 300 kHz. At the same time of applying the excitation signal, the system monitors all the sensing electrodes intersecting with the drive electrode in parallel through the sensing circuit. The sensing circuit on each sensing electrode measures the amount of charge or voltage change flowing through the corresponding touch node, and converts these analog signals into digital values through an analog-to-digital converter (ADC). These digital values are the first signal values.

[0041] In the absence of touch, the system will pre-store a baseline value representing the stable signal level of each touch node in the non-touch state. When touch occurs, the measured signal value will deviate from the baseline value. The system obtains a differential signal value by subtracting the baseline value from the current measured value, and this differential signal value constitutes the first signal value.

[0042] After completing the scanning of all nodes on the first drive electrode, the system stops applying signals to the first drive electrode, selects the second drive electrode, and repeats the excitation and sensing process. This process is performed sequentially until all drive electrodes are excited and scanned.

[0043] Finally, the system obtains a two-dimensional data matrix covering all touch nodes of the touch panel. Each element in the matrix corresponds to a first signal value of a touch node. This complete two-dimensional data matrix constitutes the first touch data set. This set comprehensively reflects the current capacitance distribution state of the entire touch panel.

[0044] S102, in the first touch data set, determining a touch node with a first signal value between a preset first intensity threshold and a second intensity threshold as a target touch node.

[0045] The purpose of this step is to filter out those "ambiguous" signals from the overall scanning data, which are suspicious in signal strength and cannot be clearly determined as valid touch or non-touch by traditional single threshold scheme. These ambiguous signals are exactly caused by non-ideal environmental factors such as weak grounding, and are the objects that need to be focused on by the present embodiment. The specific implementation is as follows:

[0046] After the system acquires the first touch data set, it will analyze and compare each first signal value in the set. Two key strength thresholds, the first strength threshold and the second strength threshold, will be pre-set and stored in the system.

[0047] The second strength threshold, which can also be called "strong touch threshold" or "regular touch threshold", is a relatively high value. When the first signal value of a touch node exceeds this second strength threshold, the system has enough confidence to determine that there is a clear and real touch operation at the node. For example, in a system that represents signal strength in the range of 0-255 values, the second strength threshold can be set to 100.

[0048] The first strength threshold, also known as "noise threshold" or "weak signal lower threshold", is a relatively low value. This threshold is mainly used to filter out weak signal fluctuations caused by circuit noise, environmental electromagnetic interference, etc. When the first signal value of a touch node is below this first strength threshold, the system considers that the signal has no value of touch information and should be regarded as noise. For example, in the same system, the first strength threshold can be set to 30.

[0049] The core logic of this step is that the system will traverse each first signal value in the first touch data set and perform an interval judgment: if a first signal value is neither higher than the second strength threshold nor lower than the first strength threshold, i.e. the signal value falls within the interval [first strength threshold, second strength threshold] (for example, the signal value is between 30 and 100), then the touch node corresponding to the first signal value will be marked and determined as a "target touch node" by the system. A target touch node represents a potential real touch point that cannot be confirmed as a strong touch due to signal attenuation. All marked target touch nodes will be recorded for further verification in the subsequent steps.

[0050] The second strength threshold, which can also be called "strong touch threshold" or "regular touch threshold", is a relatively high value. When the first signal value of a touch node exceeds this second strength threshold, the system has enough confidence to determine that there is a clear and real touch operation at the node. For example, in a system that represents signal strength in the range of 0-255 values, the second strength threshold can be set to 100.

[0051] S103, determining a to-be-verified sensing area according to the target touch node.

[0052] The purpose of this step is to intelligently define an accurate range that needs to be scanned again based on the suspicious touch points screened out in the previous step, so as to avoid time-consuming and unnecessary secondary scanning of the entire screen and improve processing efficiency. The specific implementation is as follows:

[0053] After the target touch nodes are determined, the touch system will analyze the physical locations of the target touch nodes. Each target touch node is uniquely identified by its driving electrode index (e.g. row number) and sensing electrode index (e.g. column number). The system will collect the electrode index information of all target touch nodes. Based on the index information, the system will define one or more local regions as the to-be-verified sensing regions.

[0054] There are multiple strategies to define the to-be-verified sensing regions. One implementable strategy is to include all driving electrodes and sensing electrodes associated with the target touch nodes. For example, if the target touch nodes are identified as (TX3, RX5) and (TX4, RX6), the to-be-verified sensing region can be defined as the area covered by driving electrodes TX3, TX4 and sensing electrodes RX5, RX6.

[0055] Another more refined strategy is to consider that a finger usually covers multiple adjacent touch nodes. The system can expand a certain number of electrodes outward from the center of the target touch nodes to form a rectangular or specially shaped region. For example, if the target touch node is (TX3, RX5), the system can define the 3x3 electrode region composed of (TX2, TX3, TX4) and (RX4, RX5, RX6) as the to-be-verified sensing region. This region includes the target touch node and its nearest neighbors, and can more completely capture the signal characteristics generated by a single touch object.

[0056] The final to-be-verified sensing region information (i.e. the list of included driving electrodes and sensing electrodes) will be passed to the scanning hardware to guide the next step of local scanning operation.

[0057] It should be noted that in order to ensure system performance and response speed, the system will also evaluate the size of the to-be-verified sensing region after it is determined. If the number of to-be-verified sensing regions or the total number of electrodes covered by them exceeds the pre-set performance threshold (e.g. more than X% of the area of the full-screen touch panel or Y touch nodes), the system will determine that the current environment is abnormally complex or the noise level is too high. In this case, the system may adopt one or more of the following robust strategies:

[0058] a) Prioritize processing. Only the Top N to-be-verified sensing regions with the strongest signal values are selected for self-capacitance scanning, and the rest are abandoned;

[0059] b) Back-off mechanism. Abandon the self-capacitance scanning verification of weak signal points this time, and only report strong signal touch points to ensure that the touch frame rate is not affected;

[0060] c) Full-screen self-capacitance scan. In some very special cases, if the evaluation considers that the overhead of local self-capacitance scan is close to that of full-screen self-capacitance scan, the system can directly perform a full-screen self-capacitance scan to obtain all possible touch points.

[0061] Through such dynamic evaluation and strategy adjustment, the embodiment avoids the problem of system response lag or frame rate drop caused by excessive local self-capacitance scan tasks while processing weak signal points, further enhancing the robustness of the touch system and the smoothness of the user experience.

[0062] S104, performing a local self-capacitance scan on the to-be-verified sensing area to obtain a second touch data set containing a second signal value.

[0063] This step is the core link of the invention to solve the weak grounding problem. By switching to a self-capacitance scan mode that is not sensitive to grounding conditions, the suspicious area is subjected to secondary accurate detection. The specific implementation is as follows:

[0064] After the touch system receives the specific range information of the to-be-verified sensing area, it will immediately switch its working mode from mutual capacitance scan mode to self-capacitance scan mode. In self-capacitance scan mode, the connection mode of the scanning circuit and the signal processing logic are changed. Unlike mutual capacitance scan, self-capacitance scan treats electrodes as independent individuals.

[0065] The system will select each electrode (which can be a sensing electrode, a driving electrode, or both) contained in the to-be-verified sensing area in turn. For each selected electrode, the system will apply an excitation signal to the electrode and measure the capacitance value change of the electrode itself, i.e., its self-capacitance value to the system ground. When a conductive touch object (such as a finger) exists near the electrode, it will significantly increase the self-capacitance value of the electrode. The increased capacitance value change, after being measured and analog-to-digital converted by the sensing circuit, forms a second signal value. This process is performed for all specified electrodes in the to-be-verified sensing area one by one. For example, if the to-be-verified sensing area contains sensing electrodes RX4, RX5, and RX6, the system will measure the self-capacitance value changes of these three electrodes respectively, obtaining three independent second signal values. The collection of all second signal values obtained in this local self-capacitance scan forms the second touch data set.

[0066] Since self-capacitance scan measures the capacitance between the electrode and the ground, its signal loop is not heavily dependent on the coupling strength between the touch object and the device ground, so even in weak grounding conditions, it can produce stable and significant signal responses, providing a reliable basis for accurate judgment.

[0067] S105, based on the second touch data set, determining whether the second signal value exceeds a preset valid touch judgment threshold.

[0068] The purpose of this step is to use the high quality data obtained from the self-capacitance scan to make a final determination of whether the weak signal detected in mutual-capacitance scan is indeed a real physical touch. The implementation is as follows:

[0069] After the system has obtained the second touch data set containing one or more second signal values, it compares these second signal values with an "effective touch determination threshold" specially set for the self-capacitance scan mode. This effective touch determination threshold is independent of the first and second intensity thresholds in mutual-capacitance scan, and its value is pre-determined through experiments based on the signal characteristics of the self-capacitance scan mode. This threshold represents the minimum signal intensity required to confirm the existence of a real touch in the self-capacitance mode.

[0070] The system will iterate through each second signal value in the second touch data set. If at least one second signal value in the set exceeds the effective touch determination threshold, the determination condition "Yes" is satisfied, and then step S106 is entered. This means that although the signal was weak in mutual-capacitance mode, a strong enough signal was detected in self-capacitance mode, thus confirming that a valid touch operation indeed exists in the sensing area to be verified. For example, suppose the effective touch determination threshold is set to 50 units, and a certain second signal value obtained from local self-capacitance scan is 80. Since 80 is greater than 50, the system will confirm that this is a real touch event.

[0071] If all second signal values in the second touch data set fail to exceed the effective touch determination threshold, the determination condition is "No", and the system will consider the weak signal initially detected in mutual-capacitance scan to be merely noise or interference, and will ignore it without further processing, then returning to step S101. This judgment step plays a key role in "separating the true from the false".

[0072] S106, calculate the touch coordinates of the sensing area to be verified based on the second touch data set.

[0073] This step, after confirming that the weak signal is a real touch, uses self-capacitance scan data to accurately calculate the screen coordinates of the touch point. The implementation is as follows:

[0074] Once the result of the previous step is "Yes", the system will start the coordinate calculation procedure. The input data used by this procedure is the second touch data set, which contains the signal strength values (i.e. the second signal values) of the electrodes in the sensing area under verification. Since the touch area of a finger usually covers multiple adjacent electrodes, there will be multiple electrodes in the second touch data set whose signal values exceed the noise level and form a distribution around the signal peak. In order to obtain high-precision coordinates, the system can use the Centroid Algorithm or other interpolation algorithms. Taking the Centroid Algorithm as an example, the system will regard the physical position of each electrode as a coordinate point and the second signal value measured on the electrode as the "weight" of the point. Then, the system will calculate the "centroid" or "barycenter" of these weighted position points, and the position of the centroid is determined as the final touch coordinate.

[0075] For example, assume that in the X direction, the physical center positions of the sensing electrodes RX4, RX5, RX6 are x = 10.5 mm, x = 11.5 mm, x = 12.5 mm, and the measured second signal values are S4 = 20, S5 = 80, S6 = 30. Then the calculated X coordinate will be (10.520 + 11.580 + 12.5*30) / (20 + 80 + 30), which is about 11.58 mm. The same method is applied to the Y direction (usually using the self-capacitance signal of the driving electrode) to obtain an accurate two-dimensional coordinate (X, Y).

[0076] It should be noted that the X, Y coordinates here are calculated with respect to the global coordinate system of the touch panel. If the data of the local self-capacitance scan only contains relative position information in the sensing area under verification, after the calculation is completed, the relative coordinate needs to be added to the starting coordinate offset of the sensing area under verification on the touch panel to obtain the accurate global physical coordinate. For example, if the upper left corner of the sensing area under verification is (X_offset, Y_offset) in the global coordinate system, the final calculated touch coordinate should be (X + X_offset, Y + Y_offset). This calculated coordinate is the touch coordinate of the sensing area under verification.

[0077] S107, merge the touch coordinates into the touch list generated based on the first touch data set to obtain the final touch coordinate information.

[0078] The purpose of this step is to merge the effective touch point information obtained by the two different scanning methods to form a complete and accurate touch report and report it to the operating system. The specific implementation is as follows:

[0079] At the same time or before all the above steps are performed, the touch system has already performed a regular processing on the first touch data set. Regular processing refers to generating a preliminary touch list of those "strong touch" nodes whose first signal values exceed the second intensity threshold, by traditional coordinate calculation methods (e.g. barycentric interpolation). This list contains all touch point coordinates that can be easily identified under normal grounding conditions. At this point, the system has two parts of touch information: one is the list of strong touch point coordinates directly obtained through regular mutual-capacitance scanning, and the other is the touch coordinates of weak touch points previously ignored, obtained through the "mutual-capacitance preliminary screening, self-capacitance review" process.

[0080] The fusion operation of this step is to add or merge the latter (i.e. touch coordinates) to the former (preliminary touch list). For example, if the preliminary touch list contains a coordinate P1(100, 200), and the weak touch coordinates calculated through the method of the present application are P2(350, 480), then the fused list will contain both P1 and P2 touch points.

[0081] The touch system will sort out this fused list, remove duplicate or excessively close points that may be caused by algorithm boundary effects, and finally generate a "final touch coordinate information" containing all real touch points. This final information is then formatted and sent to the host operating system of the device.

[0082] After receiving this information, the operating system will perform corresponding user interface responses, such as moving the cursor, drawing a track, or triggering a click event, thereby ensuring that the user's touch operation can be accurately identified even in adverse environments such as weak grounding, greatly improving the stability and user experience of touch.

[0083] It is worth mentioning that the local self-capacitance scanning strategy adopted in this embodiment greatly optimizes system resource consumption. Compared with full-screen self-capacitance scanning of the entire touch panel, local self-capacitance scanning is only performed on a small number of target touch nodes that have passed mutual-capacitance scanning preliminary screening and have signal strengths between the first intensity threshold and the second intensity threshold. In this embodiment, such a to-be-verified sensing area usually only occupies a small part of the entire touch panel (e.g. contains only a small number of touch nodes or a few channels). Therefore, the additional time consumption of performing local self-capacitance scanning is extremely short, only in the order of microseconds. This small time delay increment is completely acceptable and extremely valuable in terms of the improved touch reliability, reduced misjudgment rate, and significant improvement in user experience in adverse environments such as weak grounding, ensuring that the touch device can maintain high response speed while considering the accuracy and stability of touch.

[0084] The embodiment adopts the above method steps, and can solve the technical problem that in the related art, due to poor equipment grounding, mutual-capacitance touch signal is attenuated, and then a real weak signal touch point is filtered by a fixed threshold, causing no touch response or touch point loss. Through a double scanning and hierarchical determination strategy, the embodiment first uses full-screen mutual-capacitance scanning to quickly identify clear strong touch points and weak touch points with suspicious signal strength; then, only for the suspicious weak signal region, the local self-capacitance scanning mode which is not sensitive to the grounding condition is switched to for secondary accurate verification. In this way, the embodiment can effectively recover the weak signal touch points that are missed in the traditional scheme without sacrificing the overall scanning efficiency, thereby enhancing the touch stability and reliability of the touch device under various grounding conditions.

[0085] The following describes the touch scanning method of the embodiment of the application in detail. Figure 2 The touch scanning method of the embodiment of the application is further described, including the following steps.

[0086] S201, acquiring a grounding state parameter of the touch device.

[0087] The grounding state parameter can include a specific numerical value (such as an impedance value, a capacitance value, a noise energy value, and the like) or a hierarchical state identifier (such as "good", "general", and "weak").

[0088] The purpose of this step is to enable the touch device to actively perceive the electromagnetic environment in which it is located, especially the grounding condition closely related to the touch signal quality. The grounding state parameter is a quantitative index for representing the degree of goodness of the electrical connection formed between the touch device and the ground through the user's body or the surface on which the touch device is placed. A good grounding state means that the touch object (such as a finger) can form a low-impedance capacitive coupling loop with the device ground, which is conducive to the stable transmission of mutual-capacitance signals. On the contrary, a weak grounding state will cause the loop impedance to increase, resulting in signal attenuation.

[0089] The specific implementation mode can be diversified. For example, the touch system can use a dedicated sensing circuit to monitor the common-mode noise level of the system in real time. In a weak grounding condition, the device is more susceptible to external electromagnetic interference, causing the common-mode noise to increase significantly. The amplitude or frequency component of this noise can be used as the grounding state parameter.

[0090] Another way is that the touch system can measure the self-capacitance value of the entire touch panel or the device metal frame to the ground during the scanning gap. This self-capacitance value changes with the user's hand holding manner and the device placement position, thereby indirectly reflecting the grounding state.

[0091] S202, dynamically configuring the time occupancy proportion of the full-screen mutual-capacitance scanning and the local self-capacitance scanning in a scanning period according to the grounding state parameter.

[0092] The purpose of this step is to intelligently adjust the system resource allocation based on the perception of the environment, to achieve the best balance between touch performance and response speed. One scan cycle refers to the time required for the touch system to complete one full-screen touch state update, usually a few milliseconds to tens of milliseconds. Within this fixed time window, data acquisition and processing need to be completed.

[0093] In this step, the touch system will dynamically adjust the time budget of the two different scanning modes according to the ground state parameters obtained in the previous step. The specific implementation logic can be:

[0094] When the ground state parameter shows "good", it means that the mutual capacity signal quality is high, and the probability of weak signal touch point appearing is very low. At this time, the system can allocate most or even all of the scan cycle time (for example, 9.9 milliseconds in a 10-millisecond cycle) to full-screen mutual capacity scanning, and reserve little or zero time for local self-capacity scanning. This ensures that the system has the highest scanning efficiency and the lowest power consumption in an ideal environment.

[0095] Conversely, when the ground state parameter shows "weak", the system predicts that there may be frequent weak signal points that need self-capacity verification. Therefore, the system will actively reduce the time allocated to full-screen mutual capacity scanning (for example, to 8 milliseconds), while increasing the time budget reserved for local self-capacity scanning (for example, to 2 milliseconds).

[0096] This dynamic configuration ensures that even in a harsh environment, the system has sufficient time to perform the necessary self-capacity verification process without causing touch response delay or point drop due to time exhaustion, thereby significantly improving the robustness of the touch experience.

[0097] In some embodiments, this step can also specifically include the following steps:

[0098] S2021, determine the current noise level of the touch panel according to the signal fluctuation or background interference value in the full-screen mutual capacity scanning.

[0099] The purpose of this step is to obtain a quantitative indicator that reflects the "cleanliness" of the touch panel's electromagnetic environment in real time, which is one of the important bases for dynamically configuring the scanning time proportion. High noise level means that the current environment has strong electromagnetic interference, which may affect signal detection. The specific implementation process is as follows:

[0100] The touch system will continuously and periodically monitor the noise of the touch panel. This is usually not based on the subsequent full-screen mutual capacity scanning data, but on the historical data obtained from the last one or more full-screen mutual capacity scanning completed. At the end of each complete scan cycle, the system will analyze the signal characteristics in the first touch data set.

[0101] In addition to identifying potential touch points, the system also performs statistics and analysis on the signal values of those electrodes that are considered to be non-touching areas (e.g., all electrodes with first signal values below a first intensity threshold). Noise level can be determined in various ways: one way is to calculate the standard deviation of these non-touching electrode signal values, the larger the standard deviation, the greater the signal fluctuation, the higher the noise level. Another way is to periodically monitor the peak or average of the common-mode or differential-mode noise of the system, which often appears as universal and irregular signal fluctuations in the historical first touch data set.

[0102] In addition, interference at specific frequencies can also be identified by analyzing the signal spectrum and quantifying its intensity. The touch system stores and updates these quantified data, such as a noise index ranging from 0 to 100, as the "current noise level". This noise level indicator reflects the comprehensive impact of external environment (such as power supply ripple, display noise, electrostatic interference caused by user's hand holding method, etc.) on the touch signal.

[0103] Before each new scanning cycle begins, the system uses the latest updated "current noise level" to perform dynamic configuration in step S2022, thereby achieving real-time adaptive adjustment.

[0104] S2022, based on the grounding state parameter and the current noise level, determine the time occupancy ratio of full-screen mutual-capacitance scanning and local self-capacitance scanning.

[0105] This step is the core decision-making process of dynamic resource allocation, which considers the grounding conditions of the touch device and the current electromagnetic interference situation to intelligently adjust the execution weight of the two scanning modes. The specific implementation process is as follows:

[0106] After obtaining the grounding state parameter and the current noise level, the touch system starts the decision algorithm. This algorithm can be based on a pre-set lookup table, empirical rules or more complex machine learning models. The decision logic is as follows: First, the system evaluates the grounding state parameter. If the grounding state is good, it means that the mutual-capacitance signal is not easily attenuated, so even if the noise level is high, the system tends to prioritize the full-screen mutual-capacitance scanning which is more efficient, and appropriately allocate less time to the local self-capacitance scanning for occasional needs. If the grounding state is poor, it indicates that the mutual-capacitance signal may be generally weak, and the risk of misjudgment increases. In this case, the system needs to rely more on the verification ability of self-capacitance scanning.

[0107] Secondly, under the influence of grounding state, the system will further consider the current noise level. When the grounding state parameter indicates "weak grounding" and the current noise level is high, it means that the mutual-capacitance signal not only can be attenuated, but also can be masked by noise, resulting in a large number of real touch points being falsely filtered. In this extreme case, the system will increase the time occupancy ratio of "local self-capacitance scanning" to ensure that there is enough capacity to conduct more thorough self-capacitance verification on the suspicious area; at the same time, the time occupancy ratio of "full-screen mutual-capacitance scanning" is correspondingly reduced, because the reliability of mutual-capacitance scanning has been greatly compromised in this environment, and excessive investment is not efficient.

[0108] On the contrary, if the grounding state is good and the noise level is low, the system will maximize the time of "full-screen mutual-capacitance scanning" and minimize the time occupancy ratio of "local self-capacitance scanning".

[0109] This decision algorithm aims to achieve the best balance between performance and power consumption, response speed, and ensure stable touch experience in different environments.

[0110] S2023, when the grounding state parameter indicates that the grounding state is poor and the current noise level is higher than the preset noise threshold, the time occupancy ratio of local self-capacitance scanning is increased, and the time occupancy ratio of full-screen mutual-capacitance scanning is correspondingly reduced.

[0111] This step is a specific and important conditional branch in the above decision algorithm, which clearly defines the adaptive strategy that the system should adopt in the most adverse electromagnetic environment. The specific implementation process is as follows:

[0112] The touch system will continuously monitor the grounding state parameter and the current noise level. The system will store one or more preset "noise thresholds" inside, which are set according to actual tests or system design requirements, to distinguish whether the environmental noise is within an acceptable range or has reached an interference level.

[0113] When the system detects that the two conditions are met at the same time: one is that the "grounding state parameter" clearly indicates that the grounding state of the touch device is in a poor state (for example, "weak grounding" or "insulation"), which usually means that the impedance between the touch object and the ground is high; two is that the value of "current noise level" exceeds the preset noise threshold, which indicates that there is significant electromagnetic interference in the system. In this severe working condition where the two conditions are met at the same time, the touch system will immediately start the emergency response mechanism to dynamically adjust the distribution of scanning time.

[0114] Specifically, the system will substantially increase the time resources for "local self-capacitance scanning". For example, in a 10-millisecond scanning cycle, the original self-capacitance scanning time of 1 millisecond can be increased to 3 milliseconds or more. At the same time, in order to ensure the total length of the entire scanning cycle, the touch system will correspondingly reduce the proportion of time allocated to "full-screen mutual-capacitance scanning".

[0115] The fundamental purpose of this strategy adjustment is to invest more resources in the self-capacitance scanning mode, which is not sensitive to grounding conditions and has stronger anti-noise capability, when the mutual-capacitance signal becomes extremely unreliable due to weak grounding and high noise, so as to ensure that those real touch points that may be misjudged as invalid can be fully verified and accurately identified, thereby maintaining the reliability of touch interaction and the continuity of user experience to the greatest extent.

[0116] S203, performing full-screen mutual-capacitance scanning on the touch panel to obtain a first touch data set containing a plurality of first signal values.

[0117] S204, in the first touch data set, determining a touch node with a first signal value between a preset first intensity threshold and a second intensity threshold as a target touch node.

[0118] S205, determining a to-be-verified sensing area according to the target touch node.

[0119] The specific implementation of the above S203, S204, and S205 steps can refer to the description of the previous embodiments, which will not be repeated here. The core role of these three steps is to quickly identify strong touch points with clear signal strength and weak touch areas with suspicious signal strength through one mutual-capacitance scanning, and to provide targets for subsequent fine verification.

[0120] S206, in the first touch data set, determining an area with a first signal value less than the first intensity threshold as an invalid signal area.

[0121] The purpose of this step is to solve the false touch ghost points (i.e. non-real touch points or interference) that may be caused by the self-capacitance scanning mode. Due to its working principle, the self-capacitance scanning is very sensitive to the proximity of the touch object. A real and strong touch point may induce non-zero and weak self-capacitance signals on other electrodes within a certain range around it due to electric field diffusion and sensing. These signals are not real independent touch points, and if not identified, they may be misjudged as additional touch points, resulting in the "ghost point" phenomenon, especially under multi-touch or complex environmental interference.

[0122] To effectively suppress such false touch, the first stage full-screen mutual-capacitance scanning data is used to establish an "exclusion zone". Specifically, the first intensity threshold is the minimum standard for distinguishing background noise from any meaningful signal. If the signal value of a region in the mutual-capacitance scanning fails to reach even this minimum first intensity threshold, the system determines that the region is a touch-free region, i.e., an "invalid signal region". This means that in this region, the possibility of either a strong touch or a weak touch is extremely low, and the signal detected in this region by the self-capacitance scanning in the subsequent stage is most likely a signal diffusion effect of a real touch point (in other regions) or environmental noise rather than a real local touch.

[0123] By identifying and marking these determined "invalid signal regions" in the mutual-capacitance scanning stage, the embodiment provides an exclusion basis for the subsequent local self-capacitance scanning stage, making the verification of self-capacitance scanning more targeted and accurate and avoiding the risk of misjudgment due to the inherent sensitivity of the self-capacitance mode.

[0124] S207, excluding the invalid signal region from the region in which the local self-capacitance scanning is performed, to suppress false touch points caused by the self-capacitance scanning mechanism.

[0125] This step is a specific application of the above invalid signal region. When performing the subsequent local self-capacitance scanning, this step adds a constraint condition. When scanning and analyzing the above-mentioned sensing region to be verified, the system applies the above-mentioned invalid signal region. Even if the local self-capacitance scanning detects a signal on an electrode that exceeds the effective touch judgment threshold, the system will still perform an additional check: whether the electrode is located within the range marked as an "invalid signal region". If the answer is affirmative, then this self-capacitance signal will be determined as a "halo" signal caused by a strong touch point in another place and will be ignored as valid touch evidence. Only when a sufficiently strong self-capacitance signal comes from an electrode that is not marked as an invalid signal region, will the system confirm that it is a real touch event that needs to be further processed.

[0126] In this way, the invention effectively utilizes the advantages of mutual-capacitance scanning, such as high spatial resolution and low likelihood of false touch points, to compensate for the inherent defects of the self-capacitance scanning mode, significantly improving the accuracy in a multi-touch scenario.

[0127] S208, determining the target drive channel and the target sensing channel corresponding to the sensing region to be verified on the touch panel.

[0128] The target drive channel refers to the specific drive electrode that constitutes the target touch node in the mutual-capacitance scanning. The target sensing channel refers to the specific sensing electrode that constitutes the target touch node in the mutual-capacitance scanning.

[0129] The purpose of this step is to accurately map the previously identified logically questionable touch area onto the physical electrodes of the touch panel, providing a clear hardware target for the subsequent local scan. The specific implementation process is as follows:

[0130] The touch system first calls the "to-be-verified sensing area" information determined in the previous step. This information is essentially a set of one or more "target touch nodes". In the array structure of the touch panel, each touch node is formed by the intersection of a unique drive electrode and a unique sensing electrode, and has a coordinate similar to (drive electrode index, sensing electrode index). The touch system will traverse all the target touch nodes in the to-be-verified sensing area. For each target touch node, the system will parse the physical identifier of the drive electrode (e.g., drive channel number TX5) and the physical identifier of the sensing electrode (e.g., sensing channel number RX8) that make up the node.

[0131] After traversing all the target touch nodes, the system will collect all the parsed drive electrode identifiers and sensing electrode identifiers respectively and perform deduplication processing to form two independent lists. The first list contains all the non-duplicate drive electrodes related to the to-be-verified sensing area, and this list is the "target drive channel". The second list contains all the non-duplicate sensing electrodes related to the to-be-verified sensing area, and this list is the "target sensing channel". These two channel lists accurately define the hardware range that needs to be further detected.

[0132] S209, identify a first set of extended channels adjacent to the target drive channel, and a second set of extended channels adjacent to the target sensing channel.

[0133] The purpose of this step is to moderately expand the scanning range based on the determined core scanning area to ensure that the complete capacitive signal profile generated by a single touch object (e.g., a finger) can be captured completely. The signal of a physical touch point is not strictly limited to the electrode directly below the center, but will spread to the surrounding adjacent electrodes. In order to use algorithms such as barycentric interpolation to calculate sub-pixel level high-precision coordinates later, the complete data of the signal peak and its two sides must be collected. The specific implementation process is as follows:

[0134] The touch system will process each channel in the "target drive channel" list in turn. For a target drive channel (e.g., TX5) in the list, the system will look up and determine one or more drive channels (e.g., TX4 and TX6) that are directly adjacent to TX5 in physical position based on the preset touch panel physical wiring topology information. All these found adjacent drive channels will be collected to form the "first set of extended channels".

[0135] Similarly, the touch system also performs the same operation on the list of "target sensing channels". For a certain target sensing channel (e.g. RX8) in the list, the system finds its physically adjacent sensing channels (e.g. RX7 and RX9), and collects these adjacent sensing channels into a "second group of extended channels". The width of the extension (i.e. the number of adjacent channels included) can be a pre-set fixed value, or can be dynamically adjusted according to the signal strength, with the core objective being to build a large enough data collection window to avoid coordinate calculation deviation caused by incomplete signal information.

[0136] S210, combine the target drive channels, the target sensing channels, the first group of extended channels, and the second group of extended channels into a self-capacitance scanning channel set.

[0137] The purpose of this step is to integrate all the relevant channels determined in the previous two steps to generate a final, non-redundant, hardware channel list for performing local self-capacitance scanning. This step is a data processing and organization process aimed at improving the efficiency of subsequent scanning operations. The specific implementation process is as follows:

[0138] The touch system creates a new blank list to store the final scanning targets. Then, the system combines all the channel identifiers in the above-mentioned list of target drive channels, the list of target sensing channels, the list of the first group of extended channels, and the list of the second group of extended channels into this new list.

[0139] During the merging process, in order to avoid wasting valuable scanning time on repeated scanning operations on the same physical electrode, the system performs a deduplication logic. For example, if a channel is both a target sensing channel and an extended channel of another target sensing channel, it will only be retained once in the final list. The final channel list obtained after merging and deduplication processing is the "self-capacitance scanning channel set". This set accurately and completely defines all the physical electrodes that need to be operated in this local self-capacitance scanning, and is a direct instruction for the touch system to perform the next hardware operation.

[0140] S211, apply a self-capacitance excitation signal to the self-capacitance scanning channel set and read the response signal to obtain a second touch data set containing second signal values.

[0141] This step is the core link of performing physical layer measurements, by collecting signal from selected local electrodes in self-capacitance mode to obtain high-quality data for final touch judgment. The specific implementation process is as follows:

[0142] After receiving the self-capacitance scan channel set, the touch system switches its internal scan engine from mutual-capacitance mode to self-capacitance mode. In this mode, both the circuit connection and working principle change. Then, the system scans each channel in the self-capacitance scan channel set one by one according to the order of the list. For the first channel in the list, the drive circuit applies a preset high-frequency voltage pulse or sine wave, i.e., a "self-capacitance excitation signal", to the physical electrode connected to the channel. At the same time, the sensing circuit precisely measures the time required to charge the electrode or the amount of charge injected, which directly reflects the self-capacitance value of the electrode to the system ground. The measured analog signal is converted to a digital value by an analog-to-digital converter (ADC), and this digital value is the "response signal" of the channel.

[0143] After completing the scan of the first channel, the system stops the excitation and repeats the same excitation and sensing process for the second channel in the list. This process continues until all channels in the self-capacitance scan channel set are scanned. Finally, the response signal values of all these channels are collected to form a data set, which is the "second touch data set".

[0144] In some embodiments, this step can specifically include the following steps:

[0145] S2111: Divide the self-capacitance scan channel set into central measurement channels and peripheral shielding channels, the central measurement channels consisting of target drive channels and target sensing channels, and the peripheral shielding channels consisting of a first group of extension channels and a second group of extension channels.

[0146] The purpose of this step is to clearly divide the electrode channels that need to be measured and shielded logically before starting self-capacitance scanning. This division is a key preprocessing step for high-precision self-capacitance measurement, aiming to minimize the parasitic capacitance interference between measurement channels and adjacent channels. The specific implementation process is as follows:

[0147] The touch system first reviews the composition of the self-capacitance scan channel set. This channel set contains all the electrodes that need to be locally self-capacitance detected. Logically, the system will divide these electrodes into two functional groups according to their source and function. The central measurement channels are those drive electrodes and sensing electrodes that directly correspond to the original target touch nodes. This part of the electrode is the main area where the self-capacitance measurement signal occurs, and its main function is to directly sense the capacitance change caused by the touch object.

[0148] Therefore, the system combines the target drive channel list and the target sense channel list to form the set of central measurement channels. The peripheral shield channels are formed by the adjacent electrodes surrounding the central measurement channels, which are mainly derived from the first set of extension channels and the second set of extension channels. The main role of these peripheral channels is not to directly measure the touch signal, but to suppress the diffusion of the electric field lines by applying a special shielding signal when the excitation signal is applied, thereby ensuring the measurement accuracy of the "central measurement channel" is not affected by the adjacent electrodes.

[0149] This division is purely a logical concept and does not require re-wiring in hardware, but is configured and managed by the system at the software or firmware level, preparing for subsequent signal application.

[0150] S2112, a self-capacitance excitation signal is applied to the central measurement channel, and a shielding signal is applied to the peripheral shield channel, the frequency and phase of the shielding signal being consistent with the self-capacitance excitation signal, to suppress the parasitic capacitance between the central measurement channel and the peripheral shield channel.

[0151] This step is a key technical point in self-capacitance scanning to avoid cross-talk and improve measurement accuracy, which uses synchronous shielding technology to optimize the electric field distribution and ensure the purity of the measurement. The specific implementation process is as follows:

[0152] After the channel division, the touch system will accurately control the signal application according to the results of step S2111. For the central measurement channel, the system applies a self-capacitance excitation signal to the electrodes through the drive circuit. This self-capacitance excitation signal can be an alternating voltage signal with a specific frequency (e.g. 100kHz to 300kHz) and amplitude, which is used to excite the self-capacitance characteristics of the electrode itself and change its ground capacitance.

[0153] At the same time, for the peripheral shield channel, the system synchronously applies a shielding signal. The shielding signal has the same frequency and phase as the self-capacitance excitation signal (i.e. same frequency and same phase). The physical principle of synchronously applying the shielding signal with the same frequency and phase is to use the electric field superposition effect.

[0154] When the electrodes on the central measurement channel are excited, the electric field generated not only points to the ground below, but also spreads to the adjacent electrodes on both sides, forming parasitic capacitance and introducing measurement errors. When the adjacent peripheral shield channel is applied with a shielding signal with the same frequency and phase, the potential difference between the two channels is almost zero, or they are in an equipotential state. According to the electric field theory, there is no electric field coupling between the equipotential conductors, or the electric field lines do not spread from the central measurement channel to the peripheral shield channel. This effectively "isolates" the central measurement channel, so that the capacitance change sensed by it is mainly derived from the change of the touch object to ground capacitance, rather than from the interference of adjacent channels.

[0155] Through this precise synchronization shielding technique, the touch system can suppress the parasitic capacitance effect between the center measurement channel and the peripheral shielding channel, significantly improve the measurement purity of the self-capacitance signal, and thus provide more reliable raw data for subsequent accurate touch judgment and coordinate calculation.

[0156] S212, judging whether the second signal value exceeds a preset valid touch judgment threshold based on the second touch data set.

[0157] If yes, go to step S213, and if no, return to step S201.

[0158] S213, calculating the touch coordinates of the sensing area to be verified according to the second touch data set.

[0159] The specific implementation of the above steps S212 and S213 has been described in the foregoing, and their role is to make a final decision on the data obtained by self-capacitance scanning and calculate high-precision coordinates, which will not be described here.

[0160] S214, determining the first coordinate information of the strong signal touch point, the strong signal touch point being a touch point whose first signal value is greater than or equal to a second intensity threshold.

[0161] Specifically, the first intensity threshold (TH1) is set as the boundary between noise and valid signal, and the second intensity threshold (TH2) is used to distinguish between clear strong touch signals and potential weak touch signals. According to this division, when the first signal value of a touch node is less than TH1, it is regarded as an invalid signal or background noise and will be directly excluded. When the first signal value is between TH1 and TH2 (i.e. TH1 < first signal value < TH2), the touch node is determined as a "target touch node", i.e. a weak signal point that may be affected by weak grounding and other environmental factors, and needs to be verified by subsequent local self-capacitance scanning.

[0162] The "strong signal touch point" concerned in this step is a touch point whose first signal value is greater than or equal to TH2. These touch points with high signal strength and insignificant attenuation indicate that their mutual-capacitance signals are already strong enough to be confirmed as valid touch operations by the system without additional self-capacitance scanning verification. The system will directly apply traditional coordinate calculation algorithms (such as the center of gravity method or the interpolation method) to these strong signal touch points, calculate the accurate screen coordinates by weightedly averaging the physical positions and signal strengths of these nodes. All the strong signal touch point coordinates calculated and confirmed in this way will jointly constitute the "first coordinate information". These first coordinate information represents all touch points that can be quickly and reliably identified by the system under ideal or regular operation conditions, and they will be fused with the weak signal touch point information verified by self-capacitance scanning to jointly constitute the final reported touch coordinate list.

[0163] Through such explicit distinction, the system ensures efficient processing of most explicit touch points while still accurately capturing and compensating for weak signal touch points that are easily missed in traditional solutions through mutual-capacitance-self-capacitance secondary verification mechanism.

[0164] S215, modifying the original coordinate information corresponding to the to-be-verified sensing area to second coordinate information calculated based on the second touch data set.

[0165] This step is the key link of coordinate information modification and replacement. For those areas determined as target touch nodes (i.e. signal between the first and second intensity thresholds) in S204, if the weak mutual-capacitance signal (i.e. first signal value) is directly used to calculate the coordinates, the result will be inaccurate and unstable. This inaccurate coordinate can be referred to as "original coordinate information".

[0166] In the method flow of the embodiment, these areas have undergone self-capacitance scanning verification and accurate coordinate calculation in S206 to S213, and obtained a more reliable coordinate based on high-quality self-capacitance signal. This new coordinate is the second coordinate information.

[0167] The execution content of this step is that in the final touch data processing, the system will use the newly calculated second coordinate information to completely replace the original coordinate information of the corresponding area. This is equivalent to a data modification process, which ensures that the final reported coordinate information is calculated based on the most reliable signal source.

[0168] S216, merging the first coordinate information and the second coordinate information to obtain the final touch coordinate information.

[0169] This step is the last step of the whole process, aiming to generate a complete and non-missing touch report. At this time, the touch system has obtained two parts of confirmed touch coordinates: one part is the first coordinate information calculated directly from the strong mutual-capacitance signal from S214; the other part is the second coordinate information verified and modified through self-capacitance scanning from S215.

[0170] The operation of this step is to merge the two coordinate lists to form a single and comprehensive touch point list. For example, if the first coordinate information contains touch points A and B, and the second coordinate information contains touch point C, the merged list contains touch points A, B, and C. The complete list after merging, i.e. the final touch coordinate information.

[0171] Subsequently, the system will report this final touch coordinate information to the operating system, thereby ensuring that both regular strong signal touch and weak signal touch generated in special environments such as weak grounding can be accurately and reliably identified and responded to, achieving seamless user experience.

[0172] In some embodiments, the time-sharing scanning mechanism (full-screen mutual-capacitance scanning T1 time, then local self-capacitance scanning T2 time) adopted by the present application may also face the challenge of "spatiotemporal hysteresis effect". Specifically, when the user performs an extremely fast swiping operation (such as a gun swing in a competitive game or rapid writing), the physical position of a weak signal touch point (such as a dry finger) may have moved out of the "to-be-verified sensing area" determined by the system based on T1 time data within the microsecond to millisecond time difference between T1 and T2. This will cause the self-capacitance scanning to "miss the ball", resulting in intermittent or trajectory stepwise jumps of the touch point during high-speed movement. This forms a physical contradiction between measurement accuracy (which requires two-step verification) and measurement speed (object mobility).

[0173] To solve this contradictory problem, the present embodiment introduces a "dynamic deformation field" scanning and phase difference compensation technology based on motion vector prediction. The specific implementation is as follows:

[0174] 1. Transient vector calculation: During the full-screen mutual-capacitance scanning phase (step S203), the touch system not only records the size of the first signal value, but also processes the scanning data of the previous frame in parallel. Using the original data difference between the two adjacent mutual-capacitance scanning frames, the system calculates the "microscopic speed vector" of each weak signal node (i.e. the target touch node), which includes the moving direction and instantaneous speed of the touch point. Even if the signal is weak, the trend of the charge center of gravity migration on the electrode array can be captured.

[0175] 2. Dynamic deformation scanning window generation: When determining the to-be-verified sensing area (step S205), the system no longer generates a rectangular area based on the static coordinates at T1 time. Instead, it combines the calculated speed vector and the inherent delay time (T_delay) of the system from the end of mutual-capacitance scanning to the start of self-capacitance scanning to predict the probability position distribution of the touch point at T2 time. Based on this prediction, the system generates a "water droplet-shaped" or "elliptical" distortion scanning channel set extending along the motion direction. This scanning channel set covers the predicted position of the touch point at T2 time, rather than the historical position at T1 time, thereby effectively preventing "escape".

[0176] 3. Phase encoding excitation and solution: When performing local self-capacitance scanning (step S211) on this dynamic deformation area (a water droplet-like or elliptical shape generated by predicting the position of the touch point that may be reached at the time of the upcoming mutual-capacitance scanning based on the speed and direction of the touch point movement calculated from mutual-capacitance scanning, and a set of self-capacitance scanning channels whose positions have been adjusted in advance for time delay), the system does not apply a single phase signal to all channels. Instead, along the predicted direction of movement, different extended channels in the set of self-capacitance scanning channels are excited with a specific "phase gradient". For example, the center channel is excited with a 0-degree phase signal, the leading channel in the direction of movement is excited with a +5-degree phase signal, and the trailing channel is excited with a -5-degree phase signal.

[0177] By detecting the phase shift in the response signal, the system can use the mapping relationship between phase and position to inversely solve the precise sub-pixel displacement of the touch object relative to the scanning center at T2, thereby achieving accurate capture and trajectory smoothing of high-speed moving touch points. Solving the "time-space hysteresis effect" and "scanning window escape" problem under high-speed movement

[0178] In some embodiments, a key logic of the present application is to assume that the superposition of mutual-capacitance weak signal and self-capacitance strong signal is the real weak touch. However, in the scenario of heavy user hand sweat or screen condensation, the water droplet appears as a weak signal in mutual-capacitance scanning (due to the dispersion of the electric field by conductivity), and as an extremely strong signal in self-capacitance scanning (water as a conductor increases the capacitance to ground). This causes the system to "successfully verify" a false signal due to a water droplet using self-capacitance scanning, which is misjudged as a real weak ground touch, causing the "dielectric fingerprint confusion" and "self-capacitance false evidence" problem. Forming a conflict between detection sensitivity and material selectivity.

[0179] To solve this conflict problem, the present embodiment introduces a "dielectric relaxation time" material discrimination technology based on transient impedance spectrum. The specific implementation is as follows:

[0180] 1. Step pulse excitation: When performing local self-capacitance scanning (step S211), for the center measurement channel, the touch system no longer uses traditional sinusoidal or square wave continuous excitation, but injects an ultra-short step pulse (Ultra-short Step Pulse) of nanosecond level.

[0181] 2. Time domain decay analysis: The system utilizes a high sampling rate analog-to-digital converter (ADC) to capture the transient discharge curve (time domain response) of the electrode potential after the pulse stops. Since the human body tissue (finger) is a complex heterogeneous medium composed of cell membranes, body fluids and the stratum corneum, it has a specific, slower "dielectric relaxation time" and significant dispersion characteristics; while a simple water droplet or sweat mainly exhibits simple ionic conductivity, with extremely fast and high linearity relaxation process.

[0182] 3. Relaxation fingerprint comparison and logic gating: The system performs second-order differentiation on the captured transient response curve, extracts the "time constant spectrum" of the touch point, and compares it with the pre-set "biological fingerprint" model and "fluid fingerprint" model. Only when the signal strength of the local self-capacitance scan exceeds the effective touch determination threshold (step S212), and its "time constant spectrum" meets the characteristics of biological tissue non-uniform medium, the system determines the condition as "yes" (step S213), and then calculates the coordinates. If the signal is strong but the relaxation characteristics meet the pure fluid characteristics, it is determined as "false evidence", directly determined as "no" in step S212, and excluded in the subsequent process. This method distinguishes biological bodies from non-biological bodies from the microscopic physical level, effectively solving the misjudgment problem caused by water droplets and similar media.

[0183] The following describes an exemplary touch system provided by an embodiment of the present application. Figure 3 is an exemplary hardware structure schematic diagram of the touch system provided by an embodiment of the present application.

[0184] In some embodiments, the touch system can be an electronic device, or the touch system is loaded in an electronic device. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capability. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the electronic device is used to store data. The network interface of the electronic device is used to communicate with other terminals or servers outside through network connection. In some embodiments, the network interface can be a wired network interface, and in some embodiments, the network interface can also be a wireless network interface. The computer program is executed by the processor to implement the method in the embodiment of the present application.

[0185] Those skilled in the art can understand that, Figure 3The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0186] The above-described embodiments are only used to illustrate the technical scheme of the present application, but not limit it; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical scheme recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical scheme deviate from the scope of the technical scheme of the embodiments of the present application.

[0187] In the above-described embodiments, the term "when" can be interpreted as meaning "if" or "after" or "in response to determining" or "in response to detecting" according to the context. Similarly, the phrase "upon determining" or "if detecting (the stated condition or event)" can be interpreted as meaning "if determining" or "in response to determining" or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)" according to the context.

[0188] In the above-described embodiments, all or part of the technical scheme can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the technical scheme can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on an electronic device, all or part of the processes or functions described in the embodiments of the present application are generated. The electronic device can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available medium can be a magnetic medium (for example, floppy disk, hard disk, magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, solid state disk) and the like.

[0189] Those skilled in the art can understand that all or part of the processes in the above-mentioned method embodiments can be implemented by a computer program instructing relevant hardware to complete, the program can be stored in a computer readable storage medium, and the program can include the processes of the above-mentioned method embodiments when executed. The aforementioned storage medium includes ROM or random storage memory RAM, magnetic disc or optical disc and various storage code medium.

Claims

1. A mutual-capacitance and self-capacitance combined touch scanning method, characterized in that, The method comprises the following steps: performing full-screen mutual-capacitance scanning on the touch panel to obtain a first touch data set comprising a plurality of first signal values; in the first touch data set, determining a touch node with a first signal value between a preset first intensity threshold and a second intensity threshold as a target touch node; determining a to-be-verified sensing area according to the target touch node; performing local self-capacitance scanning on the to-be-verified sensing area to obtain a second touch data set comprising second signal values; judging whether the second signal values exceed a preset effective touch determination threshold based on the second touch data set; if yes, calculating touch coordinates of the to-be-verified sensing area according to the second touch data set; fusing the touch coordinates into a touch list generated based on the first touch data set to obtain final touch coordinate information, comprising: determining first coordinate information of a strong signal touch point, the strong signal touch point being a touch point with a first signal value greater than or equal to the second intensity threshold; modifying original coordinate information corresponding to the to-be-verified sensing area to second coordinate information calculated based on the second touch data set; merging the first coordinate information and the second coordinate information to obtain the final touch coordinate information.

2. The method of claim 1, wherein, Before the step of performing local self-capacitance scanning on the to-be-verified sensing area to obtain a second touch data set comprising second signal values, the method further comprises the following steps: in the first touch data set, determining a region with a first signal value less than the first intensity threshold as an invalid signal region; excluding the invalid signal region from a region performing the local self-capacitance scanning to suppress false touch points caused by the self-capacitance scanning mechanism.

3. The method according to any of claims 1-2, characterized in that, The step of performing local self-capacitance scanning on the to-be-verified sensing area to obtain a second touch data set comprising second signal values comprises the following steps: determining a target drive channel and a target sensing channel corresponding to the to-be-verified sensing area on the touch panel; identifying a first group of extension channels adjacent to the target drive channel and a second group of extension channels adjacent to the target sensing channel; combining the target drive channel, the target sensing channel, the first group of extension channels, and the second group of extension channels into a self-capacitance scanning channel set; applying a self-capacitance excitation signal to the self-capacitance scanning channel set and reading a response signal to obtain the second touch data set.

4. The method of claim 3, wherein, The step of applying a self-capacitance excitation signal to the self-capacitance scanning channel set comprises the following steps: dividing the self-capacitance scanning channel set into a center measurement channel and a peripheral shielding channel, the center measurement channel being composed of the target drive channel and the target sensing channel, and the peripheral shielding channel being composed of the first group of extension channels and the second group of extension channels; applying the self-capacitance excitation signal to the center measurement channel and applying a shielding signal to the peripheral shielding channel, the frequency and phase of the shielding signal being consistent with those of the self-capacitance excitation signal to suppress parasitic capacitance between the center measurement channel and the peripheral shielding channel.

5. The method of claim 1, wherein, Before the step of performing full-screen mutual-capacitance scanning on the touch panel, the method further comprises the following steps: obtaining a current grounding state parameter of the touch device; According to the ground state parameter, a time occupancy ratio of the full-screen mutual-capacitance scanning and the local self-capacitance scanning in a scanning period is dynamically configured.

6. The method of claim 5, wherein, The dynamically configuring the time occupancy ratio of the full-screen mutual-capacitance scanning and the local self-capacitance scanning in a scanning period according to the ground state parameter comprises: determining a current noise level of the touch panel according to a signal fluctuation or background interference value in the full-screen mutual-capacitance scanning; determining the time occupancy ratio of the full-screen mutual-capacitance scanning and the local self-capacitance scanning based on the ground state parameter and the current noise level; when the ground state parameter indicates a ground state difference and the current noise level is higher than a preset noise threshold, increasing the time occupancy ratio of the local self-capacitance scanning and correspondingly reducing the time occupancy ratio of the full-screen mutual-capacitance scanning.

7. An electronic device, comprising: comprise one or more processors and a memory; The memory is coupled to the one or more processors, and the memory is configured to store computer program codes including computer instructions, and the one or more processors are configured to invoke the computer instructions to cause the electronic device to perform the method according to any one of claims 1-6.

8. A computer readable storage medium storing computer instructions, characterized in that, When the computer instructions are run on the electronic device, the electronic device is caused to perform the method according to any one of claims 1-6.

9. A computer program product, characterised in that, When the computer program product is run on the electronic device, the electronic device is caused to perform the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Scanning method for projected capacitive touch panels

    CN101840293A

  • Touch interference suppression method and system, computer equipment and readable storage medium

    CN115291752A