Compensation method, device, terminal and storage medium for touch screen reference signal data
By obtaining the difference between the inductive signal and the reference signal of the touch array for compensation, the signal-to-noise ratio reduction problem caused by aging of the touch screen hardware is solved, and the adaptive optimization of touch performance is achieved, the sensitivity of the touch screen is improved and abnormal reporting points are reduced.
Patent Information
- Application Number
- CN202110334366.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-29
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2041-03-29
AI Technical Summary
With the hardware aging of the flexible and folding display touch screen or electrostatic release damage, the SNR of the touch signal decreases, resulting in a degradation of touch performance. The prior art cannot effectively compensate the reference signal to improve the touch effect.
By obtaining the difference between the inductive signal data in the touch array without touch events and the current reference signal data, abnormal point compensation and sensitivity improvement compensation are performed, and the reference signal data is adjusted using a first-order linear model to adapt to hardware aging and adaptive compensation is achieved.
Improve the touch effect of the touch screen, ensure that the touch performance remains normal under hardware aging or damage, improves the sensitivity of touch and reduces abnormal points.
Smart Images

Figure CN115129175B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic technology, and in particular to a method, device, terminal, and storage medium for compensating touch screen reference signal data. Background Art
[0002] Flexible and foldable touchscreen displays are becoming increasingly popular. As touchscreens like these are becoming thinner, the signal-to-noise ratio (SNR) of these touchscreens is decreasing (the thinner the screen, the louder the noise). Generally, the reference signal of a touch capacitance sensor requires factory calibration. After factory calibration, this capacitance signal is fixed within the touch IC (Integrated Circuit Chip) and remains unchanged despite changes in the touch sensor's hardware characteristics, unless the calibration data is erased and rewritten.
[0003] Since touch signals are completely dependent on a reference signal calibrated at the factory, aging of the touch sensor hardware, minor damage from ESD (electrostatic discharge), or severe temperature drift of the touch signal can severely impact the phone's touch performance. Summary of the Invention
[0004] In order to solve the above technical problems, the purpose of the present disclosure is to provide a method, device, terminal and storage medium for compensating touch screen reference signal data, which improves the touch effect of the touch screen by compensating the current reference signal.
[0005] In order to achieve the above objectives, the technical solutions adopted in this disclosure are as follows:
[0006] According to a first aspect of an embodiment of the present disclosure, a method for compensating touch screen reference signal data is provided, comprising:
[0007] include:
[0008] Acquire sensing signal data of the touch array of the touch screen when there is no touch event;
[0009] Acquiring current reference signal data of the touch array;
[0010] Determine a difference between the sensing signal data of the nth touch coordinate in the touch array and the current reference signal data of the nth touch coordinate in the touch array; wherein n is any positive integer;
[0011] The reference signal data of the nth touch coordinate is compensated based on the current reference signal data and the difference of the nth touch coordinate; wherein the difference between the reference signal data after compensation of the nth touch coordinate and the sensing signal data when there is no touch event at the nth touch coordinate is within a preset range.
[0012] In some embodiments, the reference signal data of the nth touch coordinate is compensated based on the current reference signal data and the difference of the nth touch coordinate; the difference between the compensated reference signal data of the nth touch coordinate and the sensing signal data when there is no touch event at the nth touch coordinate is within a preset range, including:
[0013] According to the range to which the difference belongs, the current reference signal data of the n-th touch coordinate and the difference, abnormal reporting compensation and / or sensitivity improvement compensation are performed on the reference signal data of the n-th touch coordinate.
[0014] In some embodiments, the range includes: a first interval range and a second interval range; the minimum value of the first interval range is greater than the maximum value of the second interval range, and the preset range is between the first interval range and the second interval range;
[0015] The first interval range is the range for performing the abnormal reporting point compensation;
[0016] The second interval range is a range for performing the sensitivity improvement compensation.
[0017] In some embodiments, compensating the reference signal data of the nth touch coordinate according to the range of the area to which the difference value of the nth touch coordinate belongs, the current reference signal data of the nth touch coordinate, and the difference value includes:
[0018] If the difference of the nth touch coordinate falls within the first interval, determining to perform the abnormal reporting point compensation on the current reference signal data of the nth touch coordinate; or
[0019] If the difference of the nth touch coordinate belongs to the first interval range, it is determined to perform the abnormal reporting point compensation and the sensitivity improvement compensation on the current reference signal data of the nth touch coordinate.
[0020] In some embodiments, compensating the reference signal data of the nth touch coordinate according to the range of the area to which the difference value of the nth touch coordinate belongs, the reference signal data of the nth touch coordinate, and the difference value includes:
[0021] If the difference of the n-th touch coordinate belongs to the second interval range, it is determined to perform the sensitivity improvement compensation on the current reference signal data of the n-th touch coordinate.
[0022] In some embodiments, if the difference of the nth touch coordinate falls within the first interval, determining to perform the abnormal reporting compensation and the sensitivity improvement compensation on the current reference signal data of the nth touch coordinate includes:
[0023] If the difference of the n-th touch coordinate falls within the first interval, performing the abnormal reporting compensation on the reference signal data of the n-th touch coordinate according to the current reference signal data of the n-th touch coordinate and the difference;
[0024] The reference signal data of the nth touch coordinate is compensated for sensitivity improvement according to an updated value after abnormal reporting point compensation is performed on the current reference signal data of the nth touch coordinate.
[0025] In some embodiments, compensating the reference signal data of the nth touch coordinate according to the current reference signal data of the nth touch coordinate and the difference includes:
[0026] The reference signal data of the nth touch coordinate is compensated by a first-order linear model according to the current reference signal data of the nth touch coordinate and the difference.
[0027] In some embodiments, the first-order linear model is:
[0028] Baseline'=Baseline+kx+A;
[0029] Wherein, the Baseline' is the reference signal data after the n-th touch coordinate is compensated;
[0030] The Baseline is the current reference signal data of the n-th touch coordinate;
[0031] A is an average value of the difference values in the mth row, where m is a positive integer, the difference values in the mth row and the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate are located in the same row, and the difference values in the mth row are not within a preset interval;
[0032] x represents the horizontal coordinate of the rows of the touch array, with the center of the position of the difference value of the m-th row as the horizontal coordinate origin, and represents the horizontal coordinate value of the difference between the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate;
[0033] k=(C2-C1) / D, C2 is the difference corresponding to the maximum horizontal coordinate value in the m-row difference values, C2 is the difference corresponding to the minimum horizontal coordinate value in the m-row difference values, and D is the number of the m-row difference values.
[0034] According to a second aspect of an embodiment of the present disclosure, there is provided a device for compensating touch screen reference signal data, the device comprising:
[0035] A first acquisition module is used to acquire sensing signal data of the touch array of the touch screen when there is no touch event;
[0036] A second acquisition module, configured to acquire current reference signal data of the touch array;
[0037] a first calculation module, configured to determine a difference between the sensing signal data of the nth touch coordinate in the touch array and the current reference signal data of the nth touch coordinate in the touch array; wherein n is any positive integer;
[0038] a compensation module for compensating the reference signal data of the nth touch coordinate based on the current reference signal data and the difference of the nth touch coordinate; wherein the difference between the compensated reference signal data of the nth touch coordinate and the sensing signal data when there is no touch event at the nth touch coordinate is within a preset range.
[0039] In some embodiments, the compensation module is further configured to:
[0040] According to the range to which the difference belongs, the current reference signal data of the n-th touch coordinate and the difference, abnormal reporting compensation and / or sensitivity improvement compensation are performed on the reference signal data of the n-th touch coordinate.
[0041] In some embodiments, the range includes: a first interval range and a second interval range; the minimum value of the first interval range is greater than the maximum value of the second interval range, and the preset range is between the first interval range and the second interval range;
[0042] The first interval range is the range for performing the abnormal reporting point compensation;
[0043] The second interval range is a range for performing the sensitivity improvement compensation.
[0044] In some embodiments, the compensation module is further used to:
[0045] If the difference of the nth touch coordinate falls within the first interval, determining to perform the abnormal reporting point compensation on the current reference signal data of the nth touch coordinate; or
[0046] If the difference of the nth touch coordinate belongs to the first interval range, it is determined to perform the abnormal reporting point compensation and the sensitivity improvement compensation on the current reference signal data of the nth touch coordinate.
[0047] In some embodiments, the compensation module is further configured to:
[0048] If the difference of the n-th touch coordinate belongs to the second interval range, it is determined to perform the sensitivity improvement compensation on the current reference signal data of the n-th touch coordinate.
[0049] In some embodiments, the compensation module is further configured to:
[0050] If the difference of the n-th touch coordinate falls within the first interval, performing the abnormal reporting compensation on the reference signal data of the n-th touch coordinate according to the current reference signal data of the n-th touch coordinate and the difference;
[0051] The reference signal data of the nth touch coordinate is compensated for sensitivity improvement according to an updated value after abnormal reporting point compensation is performed on the current reference signal data of the nth touch coordinate.
[0052] In some embodiments, the compensation module is further configured to:
[0053] The reference signal data of the nth touch coordinate is compensated by a first-order linear model according to the current reference signal data of the nth touch coordinate and the difference.
[0054] In some embodiments, the first-order linear model is:
[0055] Baseline'=Baseline+kx+A;
[0056] Wherein, the Baseline' is the reference signal data after the n-th touch coordinate is compensated;
[0057] The Baseline is the current reference signal data of the n-th touch coordinate;
[0058] A is an average value of the difference values in the mth row, where m is a positive integer, the difference values in the mth row and the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate are located in the same row, and the difference values in the mth row are not within a preset interval;
[0059] x represents the horizontal coordinate of the rows of the touch array, with the center of the position of the difference value of the m-th row as the horizontal coordinate origin, and represents the horizontal coordinate value of the difference between the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate;
[0060] The k=(C2-C1) / D, the C2 is the difference corresponding to the maximum horizontal coordinate value in the m-row difference values, the C2 is the difference corresponding to the minimum horizontal coordinate value in the m-row difference values, and the D is the number of the m-row difference values.
[0061] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, comprising a processor, a memory, and an executable program stored in the memory and capable of being run by the processor, wherein the processor executes the steps of the method for compensating the touch screen reference signal data described in the first aspect when running the executable program.
[0062] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, on which an executable program is stored, characterized in that when the executable program is executed by a processor, the steps of the method for compensating the touch screen reference signal data described in the first aspect are implemented.
[0063] The embodiments of the present disclosure disclose a method, device, terminal and storage medium for compensating touch screen reference signal data. According to the difference between the sensing signal data when there is no touch event and the current reference signal data, it can be known whether the touch screen is in a normal state. If the difference is not within the preset interval, it indicates that the touch screen is in an abnormal state and compensation is required. After compensating the current reference signal data of the nth touch coordinate, the difference is within the preset interval. After comparing the actual touch sensing signal with the compensated reference signal data, the point can be reported normally. Therefore, the embodiments of the present disclosure can adaptively change the reference signal data according to the aging state of the touch screen, thereby improving the touch effect of the touch screen.
[0064] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0066] Figure 1 is a flow chart showing a method for compensating touch screen reference signal data according to an exemplary embodiment;
[0067] Figure 2 is current reference signal data according to an exemplary embodiment;
[0068] Figure 3 The data of the sensing signal of the touch array of a normal touch screen when there is no touch event is shown according to an exemplary embodiment;
[0069] Figure 4 yes Figure 3 China Data and Figure 2 The difference between the data in
[0070] Figure 5 is sensing signal data of a touch array of an abnormal touch screen when there is no touch event according to an exemplary embodiment;
[0071] Figure 6 yes Figure 5 Chinese data and Figure 2 The difference between the data in
[0072] Figure 7 According to an exemplary embodiment Figure 2 The reference signal data after the first compensation;
[0073] Figure 8 According to an exemplary embodiment Figure 2 The reference signal data after the second compensation;
[0074] Figure 9 According to an exemplary embodiment Figure 6 The difference after the first compensation;
[0075] Figure 10 According to an exemplary embodiment Figure 6 The difference after the second compensation;
[0076] Figure 11 is a block diagram showing a device for compensating touch screen reference signal data according to an exemplary embodiment;
[0077] Figure 12 The figure is a structural block diagram showing a device for compensating touch screen reference signal data according to an exemplary embodiment. DETAILED DESCRIPTION
[0078] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0079] The terms used in the embodiments of the present disclosure are for the purpose of describing specific embodiments only and are not intended to limit the embodiments of the present disclosure. The singular forms "a," "the," and "the" used in the embodiments of the present disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0080] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0081] The execution entities involved in the embodiments of the present disclosure include but are not limited to: mobile phones, tablet computers, wearable devices and other terminals.
[0082] Figure 1 FIG. 1 is a flow chart showing a method for compensating touch screen reference signal data according to an exemplary embodiment. Figure 1 As shown, the method includes:
[0083] Step S101: Acquire sensing signal data of a touch array of a touch screen when there is no touch event;
[0084] Step S102: obtaining current reference signal data of the touch array;
[0085] Step S103: determining a difference between the sensing signal data of the n-th touch coordinate in the touch array and the current reference signal data of the n-th touch coordinate in the touch array; wherein n is any positive integer;
[0086] Step S104: Compensate the reference signal data of the nth touch coordinate based on the current reference signal data and the difference of the nth touch coordinate; wherein the difference between the compensated reference signal data of the nth touch coordinate and the sensing signal data when there is no touch event at the nth touch coordinate is within a preset range.
[0087] In step S101, the sensing signal data is: no touch event refers to the sensing signal when the touch screen is not actually touched or the sensing signal data when the touch screen is not acted upon by an external force. If there are influences such as aging, temperature drift of the touch signal, or slight damage due to ESD (Electro-Static discharge), the touch screen will be abnormal and the touch effect will be affected. For example, when the touch screen is abnormal, the sensing signal data when there is no touch event will be higher, and may even exceed the threshold, resulting in abnormal reporting points (commonly known as ghost points); or, when actually touched, the touch screen will not report a point and the touch will be insensitive.
[0088] In step S102 , the current reference signal data may be original reference signal data after factory calibration, or may be reference signal data after multiple calibrations.
[0089] The current reference signal data can also be reference signal data after compensation of the original reference signal data. For example, if the touch screen can function normally after the first compensation of the reference signal data, the reference signal data after the first compensation is the current reference signal data. However, as the touch screen continues to age or deform, the reference signal data after the first compensation may no longer be applicable. In the event of a no-touch event, the difference between the sensing signal data and the reference signal data after the first compensation may exceed the threshold, resulting in an abnormal reporting issue. Therefore, the reference signal data after the first compensation can be compensated a second time.
[0090] It is understandable that the order between step S102 and step S101 can be changed arbitrarily.
[0091] In step S103, the difference between the current reference signal data and the sensing signal data can be used to determine whether the touch array of the touch screen is normal when there is no touch event.
[0092] The nth touch coordinate may refer to any coordinate position in the touch array. Figure 2 、 Figure 5 and Figure 6 As shown, the reference signal data of the nth touch coordinate can be Figure 2 The coordinates (C00, 0R00) point to data 2673, and the sensing signal data of the nth touch coordinate can be Figure 5 The coordinates of the data 3002 pointed to by (C00,0R00) are as follows: Figure 6 The coordinates (C00, 0R00) point to data 329. In the same coordinate system, the reference signal data, the sensing signal data without a touch event, and the difference between the two correspond one to one.
[0093] Optionally, the abnormal touch location in the touch array can be determined based on the difference. If the touch detection of the entire touch array is abnormal, the reference signal data of the entire touch array can be compensated. If the touch detection of only part of the touch array is abnormal, the reference signal data of only the abnormal part of the touch array can be compensated.
[0094] Since hardware ages slowly, the compensated reference signal data can be used normally for a period of time. It is not until the next aging-induced touch anomaly occurs that the reference signal data needs to be compensated again.
[0095] In step S104, in actual application, after the difference (denoted as Delta) between the current real-time touch signal data (denoted as Rawdata) and the reference signal data (denoted as Baseline) exceeds the reporting threshold, that is, Delta = Rawdata-Baseline, when the difference (Delta) ≥ the threshold (Threshold), the touch screen starts to report the point.
[0096] It is understandable that the closer the difference between the current reference signal data and the sensing signal data is to 0, the better the touch performance is.
[0097] Without limitation, the preset interval range may be 0-20, 0-25, -5-20, or -8-15, etc.
[0098] In the embodiment of the present disclosure, whether the touch screen is in a normal state can be determined based on the difference between the sensing signal data when there is no touch event and the current reference signal data. If the difference is not within the preset interval, it indicates that the touch screen is in an abnormal state and compensation is required. After compensating the current reference signal data of the nth touch coordinate, the difference is within the preset interval, and after comparing the actual touch sensing signal with the compensated reference signal data, the point can be reported normally. Therefore, the embodiment of the present disclosure can adaptively change the reference signal data according to the aging state of the touch screen, thereby improving the touch effect of the touch screen.
[0099] In other optional embodiments, the reference signal data of the nth touch coordinate is compensated based on the current reference signal data and the difference of the nth touch coordinate; the difference between the compensated reference signal data of the nth touch coordinate and the sensing signal data when there is no touch event at the nth touch coordinate is within a preset range, including:
[0100] According to the range to which the difference belongs, the current reference signal data of the n-th touch coordinate and the difference, abnormal reporting compensation and / or sensitivity improvement compensation are performed on the reference signal data of the n-th touch coordinate.
[0101] When the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate in the touch array exceeds a preset interval range, it is necessary to perform abnormal reporting point compensation on the reference signal data of the nth touch coordinate based on the current reference signal data of the nth touch coordinate and the difference, or to perform abnormal reporting point compensation and sensitivity improvement compensation on the reference signal data of the nth touch coordinate.
[0102] When the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate in the touch array is lower than a preset interval, sensitivity improvement compensation is performed on the reference signal data of the nth touch coordinate.
[0103] Therefore, the technical solution of the embodiment of the present disclosure can compensate for different abnormal conditions of the touch screen in a targeted manner, further improving the touch effect.
[0104] In other optional embodiments, the range includes: a first interval range and a second interval range; the minimum value of the first interval range is greater than the maximum value of the second interval range, and the preset range is between the first interval range and the second interval range;
[0105] The first interval range is the range for performing the abnormal reporting point compensation;
[0106] The second interval range is a range for performing the sensitivity improvement compensation.
[0107] In actual applications, if the difference is outside the preset range, it will cause touch anomalies. Touch anomalies include abnormal reporting points, which are problems that occur when the difference is within the first range. When the difference is within the second range, the touch anomaly is insensitive, requiring sensitivity improvement compensation.
[0108] For example, if the difference in the nth touch coordinates is 329, the touchscreen will exceed the threshold of 300 when no touch is detected, resulting in an abnormal touch detection. If the difference in the nth touch coordinates is -80, the signal data generated by the actual touch must be significantly greater than the threshold of 300 to trigger a touch detection, resulting in decreased touch sensitivity. Normal touch detection is guaranteed only if the difference in the nth touch coordinates falls between the first and second intervals—that is, if the difference in the nth touch coordinates is less than the minimum value of the first interval and greater than the maximum value of the second interval.
[0109] For another example, take a capacitive touch screen as an example. Figure 2 As shown, Figure 2 The data in the middle is the recorded capacitance signal value after factory calibration, recorded as Baseline. Figure 3The data in the middle is the sensing signal data of the touch array of a normal touch screen when there is no touch event, which is recorded as Rawdata0. Figure 5 When there is no touch event, the sensing signal data of the touch array of the abnormal touch screen is recorded as Rawdata1.
[0110] contrast Figure 3 and Figure 5 It can be seen that in the sensing signal data when there is no touch event at the same touch coordinate, Rawdata0 is closer to the Baseline, while Rawdata1 is significantly different from the Baseline, and the Rawdata1 data is relatively large.
[0111] It can be understood that the compensation method for touch screen reference signal data according to the embodiment of the present disclosure is applicable not only to capacitive touch screens, but also to resistive touch screens.
[0112] like Figure 4 and Figure 6 As shown, Figure 4 Delta0 is the difference between the sensing signal data and the current reference signal data in a normal touch screen, that is, the value of Rawdata0-Baseline. Figure 6 The difference between the current reference signal data and the sensing signal data in the abnormal touch screen, that is, the value of Rawdata1-Baseline, is recorded as Delta1. Generally, the threshold value is 300. Figure 4 and Figure 6 It can be seen that in a normal touch screen, the difference is small. Only when an actual touch occurs will the difference between the touch signal data of the touch array and the current reference signal data reach the threshold, resulting in a normal reporting point. In an abnormal touch screen, the difference is large, even exceeding the threshold, which will cause touch anomalies.
[0113] In other optional embodiments, the compensating the reference signal data of the nth touch coordinate according to the range of the area to which the difference value of the nth touch coordinate belongs, the current reference signal data of the nth touch coordinate, and the difference value includes:
[0114] If the difference of the nth touch coordinate falls within the first interval, determining to perform the abnormal reporting point compensation on the current reference signal data of the nth touch coordinate; or
[0115] The abnormal reporting point compensation and the sensitivity improvement compensation are performed on the current reference signal data of the n-th touch coordinate.
[0116] If the difference in the nth touch coordinate falls within the first range, a first compensation (i.e., abnormal point compensation) can be performed on the current reference signal data for the nth touch coordinate. After the first compensation, if the difference between the compensated reference signal data for the nth touch coordinate and the sensing signal data when no touch event occurred at the nth touch coordinate falls within the preset range, compensation is successful.
[0117] If, after the first compensation, the difference between the compensated baseline signal data of the nth touch coordinate and the sensing signal data when there is no touch event at the nth touch coordinate is smaller than the minimum value of the first interval, but is within the second interval, a second compensation is required, i.e., sensitivity enhancement compensation.
[0118] Generally, abnormal reporting point compensation can be performed on the entire touch array, or relatively speaking, abnormal reporting point compensation can be performed on most of the touch array, while sensitivity compensation can be performed on a smaller part of the touch array.
[0119] In actual applications, there are holes in the touch screen, such as a camera hole. The location of the hole will have different aging effects from other locations on the touch screen. Figure 7 As shown, Figure 7 The data in the table is the difference after abnormal reporting point compensation, that is, the difference between the sensing signal when there is no touch event and the reference signal data after the first compensation. Most of the differences in the table are within the preset range, except for some differences in the bold rectangle in the table. This part of the difference is within the second range and requires a second sensitivity improvement compensation. The second compensation can be performed only for some of the differences in the bold rectangle. The difference obtained after the second compensation is as follows Figure 8 As shown. Figure 8 It can be seen that some of the differences in the bold rectangle are also within the preset range after sensitivity compensation. At this point, the reference signal data compensation is completed.
[0120] In other optional embodiments, if the difference of the nth touch coordinate falls within the first interval, determining to perform the abnormal reporting compensation and the sensitivity improvement compensation on the current reference signal data of the nth touch coordinate includes:
[0121] If the difference of the n-th touch coordinate falls within the first interval, performing the abnormal reporting compensation on the reference signal data of the n-th touch coordinate according to the current reference signal data of the n-th touch coordinate and the difference;
[0122] The reference signal data of the nth touch coordinate is compensated for sensitivity improvement according to an updated value after abnormal reporting point compensation is performed on the current reference signal data of the nth touch coordinate.
[0123] The update value refers to the difference between the sensing signal data when there is no touch event and the reference signal data obtained after abnormal point compensation. Specifically, the update value is the difference between the reference signal data after compensation for the n-th touch coordinate and the sensing signal data when there is no touch event at the n-th touch coordinate. If this difference falls within the second range, sensitivity enhancement compensation is performed on the reference signal data at the n-th touch coordinate.
[0124] In other optional embodiments, the compensating the reference signal data of the nth touch coordinate according to the range of the area to which the difference value of the nth touch coordinate belongs, the reference signal data of the nth touch coordinate, and the difference value includes:
[0125] If the difference of the n-th touch coordinate belongs to the second interval range, it is determined to perform the sensitivity improvement compensation on the current reference signal data of the n-th touch coordinate.
[0126] In practical applications, there is no need to first perform abnormal contact compensation on the current reference signal data and then perform sensitivity enhancement compensation. Instead, sensitivity enhancement compensation can be performed during the first compensation.
[0127] For example, if the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate in the touch array is within a second interval, the sensitivity enhancement compensation is performed on the current reference signal data of the nth touch coordinate so that the difference between the reference signal data after compensation of the nth touch coordinate and the sensing signal data when there is no touch event at the nth touch coordinate is within a preset interval.
[0128] In other optional embodiments, compensating the reference signal data of the nth touch coordinate according to the current reference signal data and the difference of the nth touch coordinate includes:
[0129] The reference signal data of the nth touch coordinate is compensated by a first-order linear model according to the current reference signal data of the nth touch coordinate and the difference.
[0130] In other optional embodiments, the first-order linear model is:
[0131] Baseline'=Baseline+kx+A;
[0132] Wherein, the Baseline' is the reference signal data after the n-th touch coordinate is compensated;
[0133] The Baseline is the current reference signal data of the n-th touch coordinate;
[0134] A is the average value of the difference values in the mth row, where m is a positive integer, the difference values in the mth row and the difference values between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate are located in the same row, and the difference values in the mth row are not within a preset interval; that is, the difference values between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate are located in the difference values in the mth row.
[0135] x represents the horizontal coordinate of the rows of the touch array, with the center of the position of the difference value of the m-th row as the horizontal coordinate origin, and represents the horizontal coordinate value of the difference between the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate;
[0136] The k=(C2-C1) / D, the C2 is the difference corresponding to the maximum horizontal coordinate value in the m-row difference values, the C2 is the difference corresponding to the minimum horizontal coordinate value in the m-row difference values, and the D is the number of the m-row difference values.
[0137] In a specific example, the touch screen is a capacitive touch screen. In this scenario, due to hardware changes (such as edge aging, camera hole aging, and hinge aging), there is a significant difference between Rawdata1 and the factory-calibrated baseline value. Therefore, in the absence of a finger touch, the Delta1 value is abnormal and may even exceed the threshold (typically set to 300). In this case, if the baseline capacitance value is not compensated, touch performance will be severely affected.
[0138] Generally, hardware aging has certain rules, and a first-order linear model can be used to adaptively compensate the current reference signal array in the touch array.
[0139] Without limitation, this example uses a horizontal axis first-order linear model to compensate the current reference signal array in the touch array, so that the current reference capacitance value is corrected, thereby improving the touch effect.
[0140] First, establish a two-dimensional rectangular coordinate system in the touch array. Take the horizontal axis of the touch array as the x-axis and the center position of the x-axis as the origin 0, as shown in the following example: Figure 2 、 Figures 5 to 10 The data displayed in the top row of "Coordinates" are the coordinate values of the x-axis. The center position perpendicular to the x-axis is the y-axis (not shown), where: Figure 2 、 Figures 5 to 10 C00~C12 can be used as marks to distinguish the position of data on the horizontal axis, and R00~R12 can be used as marks to distinguish the position of data on the vertical axis. That is, the position of the nth touch coordinate can be located by C and R, for example: Figure 1In the table shown, the current reference signal data for the first touch coordinate is 2673. For ease of description, this value is specifically represented by (C00, R00). It is understood that the position of the nth touch coordinate can also be determined using specific numerical coordinates on the x-axis or y-axis.
[0141] The first-order linear model can be: Baseline'=Baseline+kx+A, where Baseline' is the current reference signal data after the n-th touch coordinate compensation, such as Figure 7 As shown; Baseline is the current reference signal data of the nth touch coordinate, such as Figure 2 As shown; k is calculated by the difference between the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate, that is, by Figure 5 The difference between the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate is recorded as Delta1, as shown in Figure 5 As shown, k = (C12-C00) / 13; A is the average value of the abnormal difference value of the row where the difference value of the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate is located, as shown Figure 5 As shown, A = (C00 + C01 + ... + C12) / 13. x is the top coordinate value in the corresponding table in the rectangular coordinate system.
[0142] Since this example uses the first-order linear model compensation of the horizontal axis, when calculating the compensation value kx+A, the compensation value is only related to the coordinate of the x-axis. For the convenience of description, in all compensation formulas, C00 to C12 represent the values of the same vertical axis coordinate, that is, Figure 6 For example, when compensating the reference signal data of row R00, Figure 6 Where A is the average of the 13 differences represented by coordinates (C00, R00), (C01, R00), (C02, R00), and (C12, R00). k is the difference between the difference represented by (C12, R00) and the difference represented by (C00, R00), divided by the number of data rows. Similarly, compensation can also be performed on the reference signal data that needs to be compensated in rows R01 through R16.
[0143] After compensation according to the first-order linear model, the current reference signal data Baseline′ after compensation of the nth touch coordinate is as follows: Figure 7 As shown. Figure 7As can be seen from the figure, most of the data in Baseline' is close to the Baseline data. In order to determine whether the Baseline' is properly corrected, the difference is calculated again. That is, the difference between the sensing signal data of the nth touch coordinate and the current baseline signal data after compensation of the nth touch coordinate is calculated, which is recorded as Delta1'. Figure 9 As shown. Figure 9 As can be seen in the figure, after the first step linear compensation, the delta1' deviation value in some areas may still be relatively large. These areas are generally located at the punch hole (camera hole) of the screen or the folding axis area of the folding screen (this example uses the camera hole as an example). If compensation is not continued for this area, it may cause the touch sensitivity of this area to decrease. In this case, a second sensitivity improvement compensation can be performed on these specific areas. Figure 9 As shown, except for some small differences in the bold rectangle, the rest of the differences are within the preset range (the preset range can be defined as -15 to 25).
[0144] Improve sensitivity compensation, continue Baseline" = Baseline' + k'x + A', where k' is calculated based on the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate, that is, according to Figure 8 The data in the bold rectangle is obtained, and is not related to the data outside the bold rectangle. k' = (C08-C06) / 3, A' is the average of the differences in the corresponding rows in the bold rectangle. A = (C06+C07+C08) / 3. The baseline after improving sensitivity compensation is shown in the figure below. Figure 8 In order to determine whether the Baseline" is properly calibrated, the difference is calculated again. That is, the difference between the sensing signal data of the n-th touch coordinate and the current baseline signal data after the n-th touch coordinate sensitivity is compensated is calculated, and recorded as Delta1". Figure 10 As shown. Figure 10 It can be seen that all the differences in Delta1" are within the preset range. At this point, compensation is completed.
[0145] In practical applications, in order to improve the touch effect, the difference Delta1 can also be filtered. For example: in the Delta1 data table, with the horizontal axis as the X axis and the center of the horizontal axis as the origin O, the linear filtering formula is: Delta1'=Delta1+(kx+A); where k=(C12-C00) / 13, A is the average value of the capacitance difference of the row, Delta1 is the capacitance difference of the abnormal hardware without finger touch, and Delta1' is the capacitance difference of the abnormal hardware without finger touch after first-order filtering. The Delta1' calculated by this method is as follows: Figure 9As shown. After the first compensation of the reference signal data, if the difference in a specific area of Delta1' after the first filtering is not within the preset range, the reference signal data after the first compensation needs to be compensated again. If Delta1' is filtered for the second time using the formula Delta1'=Delta1+(kx+A), the obtained Delta1" is within the preset range, as shown Figure 10 As shown, at this time, the compensation is completed and there is no need to compensate the reference signal data after the second compensation again.
[0146] In the disclosed embodiment, compared with the method of improving touch performance by filtering the difference, directly compensating the reference signal data not only effectively improves the problem of abnormal touch reporting caused by the drift of the hardware reference capacitance signal and the problem of insensitive local touch of the touch screen, but also eliminates the need to filter the capacitance difference of each frame, thereby saving the computing speed of the touch IC and improving the reporting rate.
[0147] The embodiment of the present disclosure also provides a compensation device for touch screen reference signal data, such as Figure 11 As shown, the device 200 includes:
[0148] A first acquisition module 201 is used to acquire sensing signal data of a touch array of a touch screen when there is no touch event;
[0149] A second acquisition module 202 is configured to acquire current reference signal data of the touch array;
[0150] a first calculation module 203 configured to determine a difference between the sensing signal data of the n-th touch coordinate in the touch array and the current reference signal data of the n-th touch coordinate in the touch array; wherein n is any positive integer;
[0151] The compensation module 204 is configured to compensate the reference signal data of the nth touch coordinate based on the current reference signal data and the difference of the nth touch coordinate; wherein the difference between the compensated reference signal data of the nth touch coordinate and the sensing signal data when there is no touch event at the nth touch coordinate is within a preset range.
[0152] In some other optional embodiments, the compensation module is further configured to:
[0153] compensating the reference signal data of the nth touch coordinate according to the range to which the difference belongs, the current reference signal data of the nth touch coordinate, and the difference;
[0154] The range includes: a first interval range and a second interval range; the minimum value of the first interval range is greater than the maximum value of the second interval range, and the preset range is between the first interval range and the second interval range;
[0155] The first interval range is the range for abnormal reporting point compensation;
[0156] The second interval range is a range for sensitivity improvement compensation.
[0157] In some other optional embodiments, the compensation module is further used to:
[0158] If the difference of the nth touch coordinate falls within the first interval, determining to perform the abnormal reporting point compensation on the current reference signal data of the nth touch coordinate; or
[0159] The abnormal reporting point compensation and the sensitivity improvement compensation are performed on the current reference signal data of the n-th touch coordinate.
[0160] In some other optional embodiments, the compensation module is further configured to:
[0161] If the difference of the n-th touch coordinate belongs to the second interval range, it is determined to perform the sensitivity improvement compensation on the current reference signal data of the n-th touch coordinate.
[0162] In some other optional embodiments, the compensation module is further configured to:
[0163] If the difference of the n-th touch coordinate falls within the first interval, performing the abnormal reporting compensation on the reference signal data of the n-th touch coordinate according to the current reference signal data of the n-th touch coordinate and the difference;
[0164] The reference signal data of the nth touch coordinate is compensated for sensitivity improvement according to an updated value after abnormal reporting point compensation is performed on the current reference signal data of the nth touch coordinate.
[0165] In some other optional embodiments, the compensation module is further configured to:
[0166] The reference signal data of the nth touch coordinate is compensated by a first-order linear model according to the current reference signal data of the nth touch coordinate and the difference.
[0167] In some other optional embodiments, the first-order linear model is:
[0168] Baseline'=Baseline+kx+A;
[0169] Wherein, the Baseline' is the reference signal data after the n-th touch coordinate is compensated;
[0170] The Baseline is the current reference signal data of the n-th touch coordinate;
[0171] A is an average value of the difference values in the mth row, where m is a positive integer, the difference values in the mth row and the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate are located in the same row, and the difference values in the mth row are not within a preset interval;
[0172] x represents the horizontal coordinate of the rows of the touch array, with the center of the position of the difference value of the m-th row as the horizontal coordinate origin, and represents the horizontal coordinate value of the difference between the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate;
[0173] k=(C2-C1) / D, C2 is the difference corresponding to the maximum horizontal coordinate value in the m-row difference values, C2 is the difference corresponding to the minimum horizontal coordinate value in the m-row difference values, and D is the number of the m-row difference values.
[0174] An embodiment of the present disclosure also provides a terminal, including a processor, a memory, and an executable program stored in the memory and capable of being run by the processor. When the processor runs the executable program, the steps of the touch screen reference signal data compensation method described in any of the above embodiments are performed.
[0175] An embodiment of the present disclosure further provides a storage medium having an executable program stored thereon. When the executable program is executed by a processor, the steps of the method for compensating touch screen reference signal data described in any of the above embodiments are implemented.
[0176] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0177] In an exemplary embodiment, the first acquisition module 201, the second acquisition module 202, the first calculation module 203 and the compensation module 204 can be implemented by one or more central processing units (CPUs), graphics processing units (GPUs), baseband processors (BPs), application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0178] Figure 12 FIG1 is a block diagram of an apparatus 800 for ambient light compensation according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0179] Reference Figure 12 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0180] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
[0181] The memory 804 is configured to store various types of data to support the operations of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0182] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.
[0183] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0184] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0185] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0186] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 814 can also detect changes in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and temperature changes of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0187] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0188] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described method.
[0189] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the apparatus 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0190] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.
[0191] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for compensating touch screen reference signal data, characterized in that: include: Acquire sensing signal data of the touch array of the touch screen when there is no touch event; Acquiring current reference signal data of the touch array; Determine a difference between the sensing signal data of the nth touch coordinate in the touch array and the current reference signal data of the nth touch coordinate in the touch array; wherein n is any positive integer; Compensating the reference signal data of the nth touch coordinate based on the current reference signal data and the difference at the nth touch coordinate; wherein the difference between the compensated reference signal data of the nth touch coordinate and the sensing signal data when no touch event occurs at the nth touch coordinate is within a preset range; The compensating the reference signal data of the nth touch coordinate according to the current reference signal data of the nth touch coordinate and the difference includes: performing abnormal reporting compensation and / or sensitivity improvement compensation on the reference signal data of the nth touch coordinate according to the range to which the difference belongs, the current reference signal data of the nth touch coordinate, and the difference; The range includes: a first interval range and a second interval range; the minimum value of the first interval range is greater than the maximum value of the second interval range, and the preset interval range is between the first interval range and the second interval range; The compensation performed within the first interval includes: compensation for abnormal reporting points; The second interval range is a range for performing the sensitivity improvement compensation.
2. The method according to claim 1, characterized in that The compensating the reference signal data of the nth touch coordinate according to the area to which the difference value of the nth touch coordinate belongs, the current reference signal data of the nth touch coordinate, and the difference value includes: If the difference of the n-th touch coordinate falls within the first interval, determining to perform the abnormal reporting point compensation on the current reference signal data of the n-th touch coordinate; or, If the difference of the nth touch coordinate belongs to the first interval range, it is determined to perform the abnormal reporting point compensation and the sensitivity improvement compensation on the current reference signal data of the nth touch coordinate.
3. The method according to claim 1, characterized in that The compensating the reference signal data of the nth touch coordinate according to the area to which the difference value of the nth touch coordinate belongs, the current reference signal data of the nth touch coordinate, and the difference value includes: If the difference of the n-th touch coordinate belongs to the second interval range, it is determined to perform the sensitivity improvement compensation on the current reference signal data of the n-th touch coordinate.
4. The method according to claim 2, characterized in that If the difference of the nth touch coordinate falls within the first interval, determining to perform the abnormal reporting point compensation and the sensitivity improvement compensation on the current reference signal data of the nth touch coordinate includes: If the difference of the n-th touch coordinate falls within the first interval, performing the abnormal reporting compensation on the reference signal data of the n-th touch coordinate according to the current reference signal data of the n-th touch coordinate and the difference; The reference signal data of the nth touch coordinate is compensated for sensitivity improvement according to an updated value after abnormal reporting point compensation is performed on the current reference signal data of the nth touch coordinate.
5. The method according to claim 1, wherein The compensating the reference signal data of the nth touch coordinate according to the current reference signal data of the nth touch coordinate and the difference includes: The reference signal data of the nth touch coordinate is compensated by a first-order linear model according to the current reference signal data of the nth touch coordinate and the difference.
6. The method according to claim 5, characterized in that The first-order linear model is: Baseline'=Baseline+kx+A; Wherein, the Baseline' is the reference signal data after the n-th touch coordinate is compensated; The Baseline is the current reference signal data of the n-th touch coordinate; A is an average value of the difference values in the mth row, where m is a positive integer, the difference values in the mth row and the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate are located in the same row, and the difference values in the mth row are not within a preset interval; x represents the horizontal coordinate of the rows of the touch array, with the center of the position of the difference value of the m-th row as the horizontal coordinate origin, and represents the horizontal coordinate value of the difference between the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate; k=(C2-C1) / D, C2 is the difference corresponding to the maximum horizontal coordinate value in the m-row difference values, C2 is the difference corresponding to the minimum horizontal coordinate value in the m-row difference values, and D is the number of the m-row difference values.
7. A compensation device for touch screen reference signal data, characterized in that: The device comprises: A first acquisition module is used to acquire sensing signal data of the touch array of the touch screen when there is no touch event; A second acquisition module, configured to acquire current reference signal data of the touch array; a first calculation module, configured to determine a difference between the sensing signal data of the nth touch coordinate in the touch array and the current reference signal data of the nth touch coordinate in the touch array; wherein n is any positive integer; a compensation module, configured to compensate the reference signal data of the nth touch coordinate based on the current reference signal data and the difference of the nth touch coordinate; wherein the difference between the compensated reference signal data of the nth touch coordinate and the sensing signal data when no touch event occurs at the nth touch coordinate is within a preset range; The compensation module is further configured to perform abnormal reporting compensation and / or sensitivity improvement compensation on the reference signal data of the nth touch coordinate according to the range to which the difference belongs, the current reference signal data of the nth touch coordinate, and the difference; The range includes: a first interval range and a second interval range; the minimum value of the first interval range is greater than the maximum value of the second interval range, and the preset interval range is between the first interval range and the second interval range; The compensation performed within the first interval includes: compensation for abnormal reporting points; The second interval range is a range for performing the sensitivity improvement compensation.
8. The touch screen reference signal data compensation device according to claim 7, characterized in that: The compensation module is further used for: If the difference of the n-th touch coordinate falls within the first interval, determining to perform the abnormal reporting point compensation on the current reference signal data of the n-th touch coordinate; or, If the difference of the nth touch coordinate belongs to the first interval range, it is determined to perform the abnormal reporting point compensation and the sensitivity improvement compensation on the current reference signal data of the nth touch coordinate.
9. The touch screen reference signal data compensation device according to claim 7, characterized in that: The compensation module is further configured to: If the difference of the n-th touch coordinate belongs to the second interval range, it is determined to perform the sensitivity improvement compensation on the current reference signal data of the n-th touch coordinate.
10. The touch screen reference signal data compensation device according to claim 8, characterized in that: The compensation module is further used for: If the difference of the n-th touch coordinate falls within the first interval, performing the abnormal reporting compensation on the reference signal data of the n-th touch coordinate according to the current reference signal data of the n-th touch coordinate and the difference; The reference signal data of the nth touch coordinate is compensated for sensitivity improvement according to an updated value after abnormal reporting point compensation is performed on the current reference signal data of the nth touch coordinate.
11. The touch screen reference signal data compensation device according to claim 7, characterized in that: The compensation module is further used for: The reference signal data of the nth touch coordinate is compensated by a first-order linear model according to the current reference signal data of the nth touch coordinate and the difference.
12. The touch screen reference signal data compensation device according to claim 11, characterized in that: The first-order linear model is: Baseline'=Baseline+kx+A; Wherein, the Baseline' is the reference signal data after the n-th touch coordinate is compensated; The Baseline is the current reference signal data of the n-th touch coordinate; A is an average value of the difference values in the mth row, where m is a positive integer, the difference values in the mth row and the difference between the sensing signal data of the nth touch coordinate and the current reference signal data of the nth touch coordinate are located in the same row, and the difference values in the mth row are not within a preset interval; x represents the horizontal coordinate of the rows of the touch array, with the center of the position of the difference value of the m-th row as the horizontal coordinate origin, and represents the horizontal coordinate value of the difference between the sensing signal data of the n-th touch coordinate and the current reference signal data of the n-th touch coordinate; k=(C2-C1) / D, C2 is the difference corresponding to the maximum horizontal coordinate value in the m-row difference values, C2 is the difference corresponding to the minimum horizontal coordinate value in the m-row difference values, and D is the number of the m-row difference values.
13. A terminal comprising a processor, a memory, and an executable program stored in the memory and capable of being run by the processor, characterized in that: When the processor runs the executable program, the processor performs the steps of the method for compensating touch screen reference signal data according to any one of claims 1 to 6.
14. A storage medium having an executable program stored thereon, characterized in that: When the executable program is executed by a processor, the steps of the method for compensating touch screen reference signal data according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and system for automatically calibrating sensitivity of touch detection, and touch control terminal
CN101751179A
Touch device, driving method thereof and terminal
CN108073329A