Touch signal processing method and device and storage medium

By correcting the preset strategy of multi-channel signals, the problem of abnormal signal sensing of elastic wave sensors is solved, the accuracy of the signal is improved, and the reliability of the data is ensured.

CN119311142APending Publication Date: 2025-01-14BEIJING TAIFANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310861521.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-13
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the prior art, the velocity signal sensed by the elastic wave sensor of the touch panel often occurs abnormally, affecting the data accuracy of subsequent applications.

Method used

By collecting multi-channel signals generated by multiple elastic wave sensors and correcting the signals according to preset signal correction strategies, including determining whether the signal has been processed by the primary or secondary amplification circuit, whether it is in a saturated or unsaturated state, Different correction strategies are used to correct the unsaturated state of the saturated signal, and adjust the signal to reduce abnormalities.

Benefits of technology

It effectively reduces the probability of abnormality of multi-channel signals, improves the accuracy of touch signals, and ensures the accuracy of signal processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311142A_ABST
    Figure CN119311142A_ABST
Patent Text Reader

Abstract

The invention discloses a touch signal processing method and device and a storage medium, and the method comprises the steps: collecting multi-channel signals generated by a plurality of elastic wave sensors due to touch; and correcting the multi-channel signal according to a preset signal correction strategy, so that the accuracy of the obtained touch signal can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to signal processing technology, and more particularly to a touch signal processing method, device and storage medium. Background Art

[0002] When stress acts on the touch panel, the elastic wave sensor in contact with the touch panel will sense the force signal, and the piezoelectric material surface of the elastic wave sensor will generate an electric charge. The electric signal obtained by processing the charge can be used for subsequent applications, such as force calculation, touch positioning, gesture calculation, etc. It can be seen that in order to ensure the accuracy of subsequent application data, it is necessary to ensure that the electric signal is free of abnormalities. However, in actual applications, abnormal electric signals are often obtained. Summary of the invention

[0003] The present application provides a touch signal processing method, device and storage medium, which can improve the accuracy of the obtained touch signal.

[0004] The touch signal processing method provided in the embodiment of the present application includes:

[0005] Collect multi-channel signals generated by touch from multiple elastic wave sensors;

[0006] The multi-channel signal is corrected according to a preset signal correction strategy.

[0007] As an exemplary embodiment, the step of correcting the multi-channel signal according to a preset signal correction strategy includes:

[0008] Determine whether there is a signal processed by a first-stage amplification circuit in the multi-channel signal, and determine whether there is a signal in an unsaturated state in the multi-channel signal, and adopt different signal correction strategies according to the determination results to correct the multi-channel signal.

[0009] As an exemplary embodiment, different signal correction strategies are adopted according to the determined results to correct the multi-channel signal, including:

[0010] When it is determined that each signal in the multi-channel signal is a secondary amplifier circuit signal and some signals in the multi-channel signal are in an unsaturated state, the signal in a saturated state is corrected according to the signal in an unsaturated state;

[0011] When it is determined that each signal in the multi-channel signal is a secondary amplifier circuit signal, some of the signals are processed by the primary amplifier circuit, and all the signals in the multi-channel signal are in a saturated state, the secondary amplifier circuit signals in the multi-channel signal that have been processed by the primary amplifier circuit are first corrected, and then, based on the correction result, the secondary amplifier circuit signals in the multi-channel signal that have only been processed by the secondary amplifier circuit are continued to be corrected.

[0012] As an exemplary embodiment, the step of correcting the signal in a saturated state according to the signal in an unsaturated state includes:

[0013] When it is determined that only the peak signal in the signal in the saturated state is saturated, a proportional relationship between different channels is obtained according to the trough signals that are not saturated between the signals of different channels; and according to the proportional relationship and the peak signal in the signal in the unsaturated state, the saturated peak signal in the signal in the saturated state is corrected;

[0014] When it is determined that only the trough signal in the signal in the saturated state is saturated, a proportional relationship between different channels is obtained according to the peak signals that are not saturated between the signals in different channels; and according to the proportional relationship and the trough signal in the signal in the unsaturated state, the saturated trough signal in the signal in the saturated state is corrected;

[0015] When it is determined that both the peak signal and the trough signal in the signal in the saturated state are saturated, the unsaturated state of the signal is fitted using the unsaturated signal in the signal in the saturated state; the unsaturated state of the signal in the saturated state is estimated according to the determined proportional relationship of the multi-channels and the signal in the unsaturated state in the multi-channel signal; and the signal in the saturated state is corrected according to the fitted signal in the unsaturated state and the estimated signal in the unsaturated state.

[0016] As an exemplary embodiment, before fitting the unsaturated state of the signal using an unsaturated signal in the signal in a saturated state, the method further includes:

[0017] Determine whether the number of sampling points of the unsaturated signal in the signal in the saturated state reaches a preset number threshold, and if it is determined that the number is reached, fit the unsaturated state of the signal using the unsaturated signal in the signal in the saturated state;

[0018] When it is determined that the value has not been reached, an interpolation algorithm is used to expand the number of the unsaturated signals to at least reach the preset number threshold, and then the unsaturated signals in the signal in the saturated state are used to fit the unsaturated state of the signal.

[0019] As an exemplary embodiment, the method for determining the proportional relationship of multiple channels includes:

[0020] Collect multi-channel signals at multiple times;

[0021] Calculate the average value of each channel signal at the multiple time points respectively;

[0022] The calculated ratio between the average values ​​of the signals of each channel is taken as the ratio of the multiple channels.

[0023] As an exemplary embodiment, the step of correcting the signal in the saturated state according to the fitted signal in the unsaturated state and the estimated signal in the unsaturated state includes:

[0024] For any saturated signal in the signals in the saturated state, determining a fitting signal at a time point corresponding to the saturated signal in the fitted signal in the unsaturated state, and determining an estimated signal at a time point corresponding to the saturated signal in the estimated signal in the unsaturated state;

[0025] The fitting signal and the estimated signal are weighted to obtain a corrected signal corresponding to the saturated signal.

[0026] As an exemplary embodiment, the correcting of the secondary amplifier circuit signal processed by the primary amplifier circuit in the multi-channel signal includes:

[0027] For each corrected secondary amplifier circuit signal processed by the first-stage amplifier circuit at the current moment, it is equal to the product of the corresponding first-stage amplifier circuit signal and the channel gain of the corresponding secondary amplifier circuit, and the sum of the channel baseline drift offset corresponding to the second-stage amplifier circuit signal at the previous moment.

[0028] As an exemplary embodiment, the step of continuing to correct the secondary amplifier circuit signal in the multi-channel signal that has only been processed by the secondary amplifier circuit according to the correction result includes:

[0029] For each corrected secondary amplifier circuit signal processed only by the secondary amplifier circuit at the current moment, it is equal to the product of the sum of all corrected secondary amplifier circuit signals processed by the primary amplifier circuit in the multi-channel signal and the corresponding channel ratio;

[0030] The channel ratio is the ratio of the corrected secondary amplifier circuit signal of the channel corresponding to the previous moment that has only been processed by the secondary amplifier circuit to the sum of all corrected secondary amplifier circuit signals in the multi-channel signal that have been processed by the primary amplifier circuit.

[0031] As an exemplary embodiment, the multi-channel signal is corrected according to a preset signal correction strategy, including:

[0032] determining a touch position according to the multi-channel signal;

[0033] Determine whether the touch position is located in a preset correction area, where the preset correction area refers to a preset area located above the elastic wave sensor, and each elastic wave sensor corresponds to at least one preset correction area;

[0034] When it is determined that the touch position is within a preset correction area, a signal corresponding to the elastic wave sensor below the preset correction area in the multi-channel signal is determined as a signal that meets a preset abnormal signal condition;

[0035] Determine a first correction coefficient corresponding to a specified channel, wherein the specified channel value is a channel corresponding to a signal that meets a preset abnormal signal condition;

[0036] The signal satisfying the preset abnormal signal condition is corrected according to the first correction coefficient.

[0037] As an exemplary embodiment, determining a first correction coefficient corresponding to a specified channel includes:

[0038] Collecting multi-channel non-abnormal signals from the plurality of elastic wave sensors, wherein the multi-channel non-abnormal signals are generated by touching outside the preset correction area;

[0039] The first correction coefficient is determined according to a proportional relationship between the magnitude of the non-abnormal signal corresponding to the designated channel and the sum of the magnitudes of the non-abnormal signals corresponding to other channels in the multi-channel non-abnormal signal.

[0040] As an exemplary embodiment, determining the first correction coefficient according to the proportional relationship between the magnitude of the non-abnormal signal corresponding to the designated channel in the multi-channel non-abnormal signal and the sum of the magnitudes of the non-abnormal signals corresponding to other channels includes:

[0041] The ratio of the integral value of the non-abnormal signal corresponding to the designated channel to the sum of the integral values ​​of the non-abnormal signals corresponding to other channels is used as the first correction coefficient;

[0042] or

[0043] The ratio of the integral value of the non-abnormal signal corresponding to the designated channel to the sum of the integral absolute values ​​of the non-abnormal signals corresponding to other channels is used as the first correction coefficient.

[0044] As an exemplary embodiment, the multi-channel signal is corrected according to a preset signal correction strategy, including:

[0045] Determine a second correction coefficient for each signal corresponding to the channel;

[0046] Each signal is multiplied by the second correction coefficient of its corresponding channel to obtain a corrected signal of the channel.

[0047] As an exemplary embodiment, determining a second correction coefficient of a channel corresponding to each signal includes:

[0048] When it is determined that the channel already has the second correction coefficient, directly use the second correction coefficient;

[0049] When it is determined that the channel does not have a second correction coefficient, the second correction coefficient of the channel corresponding to the signal is determined according to the touch gesture state and the positive or negative state of the first frame data of the signal; wherein the touch gesture state is: pressed state or released state.

[0050] As an exemplary embodiment, determining a second correction coefficient of a channel corresponding to the signal according to the touch gesture state and the positive or negative condition of the first frame data of the signal includes:

[0051] When the touch gesture state is a pressing state and the first frame data of the signal is positive, the second correction coefficient of the channel corresponding to the signal is determined to be 1;

[0052] When the touch gesture state is a pressing state and the first frame data of the signal is negative, the second correction coefficient of the channel corresponding to the signal is determined to be -1;

[0053] When the touch gesture state is a release state and the first frame data of the signal is negative, the second correction coefficient of the channel corresponding to the signal is determined to be 1;

[0054] When the touch gesture state is a pressing state and the first frame data of the signal is positive, the second correction coefficient of the channel corresponding to the signal is determined to be -1.

[0055] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the touch signal processing method as described in any of the previous embodiments.

[0056] The touch signal processing device provided in the embodiment of the present application includes a memory and a processor, wherein the memory stores a program, and when the program is read and executed by the processor, the touch signal processing method as described in any of the previous embodiments is implemented.

[0057] Compared with the related art, the technical solution described in the present application corrects the multi-channel signal generated by touch from the elastic wave sensor, reduces the probability of abnormality of the multi-channel signal, and improves the accuracy of the touch signal.

[0058] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0060] Figure 1 A flow chart of a touch signal processing method provided in an embodiment of the present application;

[0061] Figure 2 A flow chart of correcting a saturated electrical signal according to a preset signal correction strategy provided in an embodiment of the present application;

[0062] Figure 3 A schematic diagram for determining the gain compression point of an ADC circuit provided in an embodiment of the present application;

[0063] Figure 4 A schematic diagram of a signal in a saturated state provided in an embodiment of the present application;

[0064] Figure 5 A schematic diagram of correcting a saturated electrical signal provided in an embodiment of the present application;

[0065] Figure 6 A schematic diagram of a secondary amplifier circuit provided in an embodiment of the present application;

[0066] Figure 7 Another schematic diagram of correcting a saturated signal provided in an embodiment of the present application;

[0067] Figure 8 A flowchart of correcting a distorted electrical signal according to a preset signal correction strategy provided in an embodiment of the present application;

[0068] Fig. 9 A schematic diagram of correcting a distorted electrical signal provided in an embodiment of the present application;

[0069] Fig.10 A flow chart of correcting a reverse electrical signal according to a preset signal correction strategy provided in an embodiment of the present application;

[0070] Fig.11 A schematic diagram of a normal signal of a sensor obtained under a single-click gesture provided in an embodiment of the present application;

[0071] Fig.12 A schematic diagram of an abnormal signal of a sensor obtained under a single-click gesture provided in an embodiment of the present application;

[0072] Fig.13 A schematic diagram of a normal signal of a sensor obtained under a quick press gesture provided in an embodiment of the present application;

[0073] Fig.14 A schematic diagram of an abnormal signal of a sensor obtained under a quick press gesture provided in an embodiment of the present application;

[0074] Fig.15 A schematic diagram of a normal signal of a sensor obtained under a quick press gesture and a signal crossing reference provided in an embodiment of the present application;

[0075] Fig.16 A schematic diagram of an abnormal signal of a sensor obtained under a quick press gesture and a signal crossing a reference provided in an embodiment of the present application;

[0076] Fig.17 This is a structural diagram of a touch signal processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0077] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.

[0078] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.

[0079] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.

[0080] The present application embodiment provides a touch signal processing method, such as Figure 1 As shown, the method includes:

[0081] Step S101 collects multi-channel signals generated by touch from multiple elastic wave sensors;

[0082] Step S102 corrects the multi-channel signal according to a preset signal correction strategy.

[0083] The signal processing method described in the embodiment of the present application corrects the multi-channel signal generated by touch from the elastic wave sensor, reduces the probability of abnormality of the multi-channel signal, and improves the accuracy of the touch signal.

[0084] Through observation and research, it is found that the common types of abnormal electrical signals in practical applications include:

[0085] Saturated electrical signal: When the applied force is too large and the electrical signal after analog-to-digital conversion exceeds the limited range of the reference supply voltage of the touch circuit, the electrical signal will be saturated. The saturation position may appear in part or all of the peaks and valleys of the electrical signal.

[0086] Distorted electrical signals: Due to structural locking and other reasons, when applying force with normal force at some touch positions (such as some interactive areas), only a small electrical signal can be obtained, which cannot meet the signal-to-noise ratio required for subsequent applications;

[0087] Reverse electrical signal: For the stand-alone ForcePad solution, due to factors such as the circuit structure and elastic wave sensor characteristics, a reverse electrical signal may be obtained when force is applied to the area above the sensor. For example, when force is applied to these areas, the electrical signal obtained should be a positive signal, but the actual electrical signal obtained is a negative signal.

[0088] For the above different types of abnormal electrical signals, the embodiments of the present application can sample different signal correction strategies in a targeted manner.

[0089] In an exemplary embodiment, for a saturated electrical signal, according to a preset signal correction strategy, the multi-channel signal is corrected in a manner such as: Figure 2 As shown, including:

[0090] Step S201 determines whether there is a signal processed by a first-stage amplification circuit in the multi-channel signal, and determines whether there is a signal in an unsaturated state in the multi-channel signal;

[0091] Step S202 adopts different signal correction strategies according to the determined results to correct the multi-channel signal.

[0092] In an exemplary embodiment, a method for determining whether a signal is saturated includes:

[0093] It is determined whether the signal amount is greater than a threshold value A0, and when it is greater than the threshold value A0, it is determined that the signal is saturated.

[0094] The method for determining the threshold A0 includes:

[0095] When the actual output power of the signal passing through the ADC circuit deviates from the ideal output power by 1dB, the signal input power value of the ADC circuit is the 1dB gain compression point, corresponding to Figure 3 P 1dB , at this time the corresponding ADC output signal is A0.

[0096] When the output signal reaches A0, the system's output power drops by 1dB. At this time, the signal is judged to be saturated and correction of the signal begins, reducing the signal distortion effect.

[0097] In an exemplary embodiment, when the result of determination is that each signal in the multi-channel signal is a secondary amplifier circuit signal, and some of the signals in the multi-channel signal are in an unsaturated state, the adopted signal correction strategy is: correcting the signal in a saturated state according to the signal in an unsaturated state. The signal in a saturated state refers to a signal in which saturation occurs, and the signal may be one or more of a peak signal and a trough signal; the signal in an unsaturated state refers to a signal in which saturation does not occur. It can be seen that there must be a saturated signal in the signal in a saturated state, but there may also be a signal that is not saturated. Figure 4 The figure shows a schematic diagram of a signal in a saturated state. The signal has a peak saturation. The amplitude indicated by the dotted line is the amplitude of the signal in an unsaturated state. It can be seen from the figure that although the signal is in a saturated state, it also has unsaturated signals, such as trough signals.

[0098] For a signal in a saturated state, the embodiments of the present application can adopt different correction methods according to the different signal positions where saturation occurs. In an exemplary embodiment, the correction of a signal in a saturated state according to a signal in an unsaturated state includes: when it is determined that both the peak signal and the trough signal in the signal in a saturated state are saturated, fitting the unsaturated state of the signal using the unsaturated signal in the signal in a saturated state; estimating the unsaturated state of the signal in a saturated state according to the determined proportional relationship of the multi-channels and the signal in an unsaturated state in the multi-channel signal; and correcting the signal in a saturated state according to the fitted signal in an unsaturated state and the estimated signal in an unsaturated state.

[0099] Exemplarily, the method for determining the proportional relationship of the multi-channels may include: collecting multi-channel signals at multiple moments; respectively calculating the average value of each channel signal at the multiple moments; and using the ratio between the calculated average values ​​of each channel signal as the ratio of the multi-channels.

[0100] Exemplarily, the method of correcting the signal in the saturated state based on the fitted signal in the unsaturated state and the estimated signal in the unsaturated state includes: for any saturated signal in the signal in the saturated state, determining a fitted signal at a time point corresponding to the saturated signal in the fitted signal in the unsaturated state, and determining an estimated signal at a time point corresponding to the saturated signal in the estimated signal in the unsaturated state; and weighting the fitted signal and the estimated signal to obtain a corrected signal corresponding to the saturated signal.

[0101] The following is an explanation of the correction process using a specific application example.

[0102] The channel signal from each elastic wave sensor can be simplified as a sine wave: x = A sin(wt); where A is the amplitude and w is the angular frequency. When the peaks and troughs of the channel signal are saturated, the parameters A and w cannot be determined. At this time, two unsaturated points are required to fit the sine wave parameters A and w.

[0103] Step 1: Select two unsaturated signal points (t1, x1) and (t2, x2) from the saturated signal from the elastic wave sensor h, and substitute x = A sin (wt) to obtain the parameter A. h and w h , and then fit the signal expression x=A from the elastic wave sensor h in the unsaturated state h sin(w h t); Assuming that the signal from the elastic wave sensor h is saturated at time tn, according to x = A h sin(wh t) can obtain the unsaturated value x at time point tn n =A h sin(w h t n );

[0104] Step 2, obtaining the proportional relationship of multiple channels;

[0105] Assume that there are 6 elastic wave sensors, select T unsaturated time points [t1, t2, …, tT] from the signal from each elastic wave sensor, where the unsaturated time point refers to the time point at which the signal is unsaturated; the signals obtained from the 6 elastic wave sensors at the T unsaturated time points are represented as the following matrix:

[0106]

[0107] Normalize the signals from different sensors at the same time point, that is, divide each value in the matrix X by the maximum value of the row where the value is located; determine the proportional relationship of multiple channels according to the matrix after normalization;

[0108] Let the normalized matrix be X'.

[0109]

[0110] The column-wise average of the above matrix X' is expressed as [R1, R2, ..., R6], where:

[0111]

[0112] Step 3, estimating the unsaturated state of the signal in the saturated state according to the determined multi-channel proportional relationship [R1, R2, ..., R6] and the signal in the unsaturated state in the multi-channel signal;

[0113] Assuming that the signals in the unsaturated state are from sensors 3, 5, and 6, and the signals in the saturated state are from sensors 1, 2, and 4, then according to the proportional relationship of the multi-channel [R1, R2, …, R M ] and the signals from sensors 3, 5 and 6, and estimate the signals from sensors 1, 2 and 4 in an unsaturated state;

[0114] Through step one, the signal of the saturated state signal in the unsaturated state can be fitted; through step three, the signal of the saturated state signal in the unsaturated state can be estimated;

[0115] Step 4, determining the time point at which saturation occurs in the saturated signal, obtaining the fitting signal corresponding to the time point according to the result of step 1, and obtaining the estimated signal corresponding to the time point according to the result of step 3;

[0116] By performing weighted summation on the fitting signal and the estimated signal, a correction signal corresponding to the time point can be obtained.

[0117] Since the correction method needs to use the unsaturated signal in the signal in the saturated state to fit the unsaturated state of the signal, it is necessary to ensure that the number of sampling points of the unsaturated signal reaches a preset number threshold. In an exemplary embodiment, the method further includes: before using the unsaturated signal in the signal in the saturated state to fit the unsaturated state of the signal, determining whether the number of sampling points of the unsaturated signal in the signal in the saturated state has reached a preset number threshold, and if it is determined that it has reached, using the unsaturated signal in the signal in the saturated state to fit the unsaturated state of the signal; if it is determined that it has not reached, using an interpolation algorithm to expand the number of the unsaturated signal to at least reach the preset number threshold, and then using the unsaturated signal in the signal in the saturated state to fit the unsaturated state of the signal.

[0118] For a signal in a saturated state, the embodiment of the present application may adopt different correction methods according to the different signal positions where saturation occurs. In another exemplary embodiment, the correction of a signal in a saturated state according to a signal in an unsaturated state may include: when it is determined that only the peak signal in the signal in a saturated state is saturated, obtaining the proportional relationship between different channels according to the trough signals that are not saturated between different channel signals; and correcting the saturated peak signal in the signal in a saturated state according to the proportional relationship and the peak signal in the signal in an unsaturated state. For example, the multi-channel signals are: S1, S2, S3, S4, S5 and S6; wherein the peaks of signals S1, S2 and S4 are saturated, and the remaining channel signals are not saturated; the proportional relationship between S1 to S6 can be determined as [R1, R2, ..., R6] according to the trough signals that are not saturated in S1 to S6; and the peak signals of signals S1, S2 and S4 are determined using the proportional relationship [R1, R2, ..., R6] and the unsaturated peak signals in signals S3, S5 and S6. Figure 5 This is a diagram showing the effect of correcting a saturated signal according to the method described in an embodiment of the present application. In the diagram, ch1 to ch6 represent signals from sensors 1 to 6, respectively, wherein the signals from sensors 1, 2, and 4 experience peak saturation. After correcting the saturated peak, the unsaturated state of the peak can be restored.

[0119] For a signal in a saturated state, the embodiment of the present application may adopt different correction methods according to the different signal positions where saturation occurs. In another exemplary embodiment, the correction of a signal in a saturated state according to a signal in an unsaturated state includes: when it is determined that only the trough signal in the signal in a saturated state is saturated, obtaining a proportional relationship between different channels according to the peak signals that are not saturated between signals in different channels; and correcting the trough signal that is saturated in the signal in a saturated state according to the proportional relationship and the trough signal in the signal in an unsaturated state.

[0120] In another exemplary embodiment, when the result of determination is that each signal in the multi-channel signal is a secondary amplifier circuit signal, some of the signals are processed by the primary amplifier circuit, and all the signals in the multi-channel signal are in a saturated state, the adopted signal correction strategy is: first correct the secondary amplifier circuit signal in the multi-channel signal that has been processed by the primary amplifier circuit, and then, based on the correction result, continue to correct the secondary amplifier circuit signal in the multi-channel signal that has only been processed by the secondary amplifier circuit.

[0121] In an exemplary embodiment, the second-stage amplifier circuit signal processed by the first-stage amplifier circuit in the multi-channel signal is corrected, including:

[0122] For each corrected secondary amplifier circuit signal processed by the first-stage amplifier circuit at the current moment, it is equal to the product of the corresponding first-stage amplifier circuit signal and the channel gain of the corresponding secondary amplifier circuit, and the sum of the channel baseline drift offset corresponding to the second-stage amplifier circuit signal at the previous moment.

[0123] by Figure 6 Taking the circuit shown as an example, the circuit shown in the figure includes: a first-level amplifier circuit, used to amplify the original sensor signal; a low-pass module, used to eliminate high-frequency noise; a second-level amplifier circuit, used to amplify the sensor signal output by the first-level amplifier circuit again; a first-level ADC module, used to derive the sensor signal processed by the low-pass module; a second-level ADC module, used to derive the sensor signal processed by the second-level amplifier circuit.

[0124] Assume that there are 6 sensors, among which the signals of sensors 1, 3, 4, and 6 pass through the primary amplifier circuit and the secondary amplifier circuit. The signals 1, 3, 4, and 6 outputted through the secondary amplifier circuit are corrected according to the following formula:

[0125] ch_II_1346=ch_I_1346*gain_1346+bias_1346 (4)

[0126] Among them, ch_I_1346 is the signal of sensor 1, 3, 4 or 6 output by the first-stage amplifier circuit; ch_II_1346 is the signal of sensor 1, 3, 4 or 6 output by the second-stage amplifier circuit after correction; gain_1346 is the sensor gain corresponding to the second-stage amplifier circuit, which can be determined when the circuit design is completed; bias_1346 is the channel baseline drift offset corresponding to the signal of sensor 1, 3, 4 or 6 output by the second-stage amplifier circuit at the previous moment.

[0127] Formula (4) can be decomposed into:

[0128] ch_II_1=ch_I_1*gain_1+bias_1, used to correct the signal of sensor 1 output by the secondary amplifier circuit;

[0129] ch_II_2=ch_I_2*gain_2+bias_2, used to correct the signal of sensor 2 output by the secondary amplifier circuit;

[0130] ch_II_3=ch_I_3*gain_3+bias_3, used to correct the signal of sensor 3 outputted by the secondary amplifier circuit;

[0131] ch_II_4=ch_I_4*gain_4+bias_4, used to correct the sensor 4 signal output by the secondary amplifier circuit.

[0132] The calculation of bias_1346 can refer to the following formula:

[0133] bias_1346=ch_II_1346_back-ch_I_1346_back*gain_1346 (5)

[0134] Among them, ch_II_1346_back is the sensor 1, 3, 4 or 6 signal output by the secondary amplifier circuit at the previous moment; ch_I_1346_back is the sensor 1, 3, 4 or 6 signal output by the primary amplifier circuit at the previous moment.

[0135] In an exemplary embodiment, the step of continuing to correct the secondary amplifier circuit signal in the multi-channel signal that has only been processed by the secondary amplifier circuit according to the correction result includes:

[0136] For each corrected secondary amplifier circuit signal processed only by the secondary amplifier circuit at the current moment, it is equal to the product of the sum of all corrected secondary amplifier circuit signals processed by the primary amplifier circuit in the multi-channel signal and the corresponding channel ratio;

[0137] The channel ratio is the ratio of the corrected secondary amplifier circuit signal of the channel corresponding to the previous moment that has only been processed by the secondary amplifier circuit to the sum of all corrected secondary amplifier circuit signals in the multi-channel signal that have been processed by the primary amplifier circuit.

[0138] Likewise Figure 6 Take the circuit shown as an example. Assuming there are 6 sensors, the signals of sensors 2 and 5 only pass through the secondary amplification circuit, and the signals of sensors 2 and 5 are corrected according to the following formula:

[0139] ch_II_25=sum(ch_II_1346)*ratio_25 (6)

[0140] Among them, sum(ch_II_1346) is the corrected sum of the signals of sensors 1, 3, 4 and 6; ch_II_25 is the corrected signal of sensor 2 or 5 output by the secondary amplifier circuit; ratio_25 is the ratio of the corrected signal of sensor 2 or 5 processed only by the secondary amplifier circuit at the previous moment to the corrected sum of the signals of sensors 1, 3, 4 and 6 at the previous moment.

[0141] Formula (5) can be decomposed into:

[0142] ch_II_2=sum(ch_II_1346)*ratio_2, used to correct the signal of sensor 2 output by the secondary amplifier circuit;

[0143] ch_II_5=sum(ch_II_1346)*ratio_5, which is used to correct the signal of sensor 5 outputted by the secondary amplifier circuit.

[0144] Figure 7 The signal comparison diagram of sensors 1, 2, 3, 4, 5, and 6 before and after correction according to the above correction strategy is given. Figure 7 Figure A shows the signals of sensors 1, 2, 3, 4, 5, and 6 before correction, where the signals of sensors 1 and 2 are saturated. The signal of sensor 1 is processed by the primary and secondary amplifier circuits, and the signal of sensor 2 is processed only by the secondary amplifier circuit. Figure B shows the signals of sensors 1, 2, 3, 4, 5, and 6 after correction. It can be seen from the figure that the saturated peak signals of sensors 1 and 2 have returned to normal after correction.

[0145] Abnormal signal types include not only the aforementioned saturated electrical signals but also distorted electrical signals.

[0146] In an exemplary embodiment, for the distorted electrical signal, according to a preset signal correction strategy, the multi-channel signal is corrected in a manner such as: Figure 8 As shown, including:

[0147] Step S801 determines the touch position according to the multi-channel signal;

[0148] Step S802 determines whether the touch position is within a preset correction area;

[0149] The preset correction area refers to a preset area located above the elastic wave sensor, and each elastic wave sensor corresponds to at least one preset correction area;

[0150] Step S803: when it is determined that the touch position is within the preset correction area, a signal corresponding to the elastic wave sensor below the preset correction area in the multi-channel signal is determined as a signal that meets a preset abnormal signal condition;

[0151] Step S804 determines a first correction coefficient corresponding to the specified channel;

[0152] The specified channel value is the channel corresponding to the signal that meets the preset abnormal signal condition;

[0153] Step S805 corrects the signal that meets the preset abnormal signal condition according to the first correction coefficient.

[0154] In an exemplary embodiment, determining the first correction coefficient corresponding to the specified channel includes:

[0155] Collecting multi-channel non-abnormal signals from the plurality of elastic wave sensors; the multi-channel non-abnormal signals are generated by touching outside the preset correction area;

[0156] The first correction coefficient is determined according to a proportional relationship between the magnitude of the non-abnormal signal corresponding to the designated channel and the sum of the magnitudes of the non-abnormal signals corresponding to other channels in the multi-channel non-abnormal signal.

[0157] In an exemplary embodiment, determining the first correction coefficient according to the proportional relationship between the magnitude of the non-abnormal signal corresponding to the designated channel and the sum of the magnitudes of the non-abnormal signals corresponding to other channels in the multi-channel non-abnormal signal includes:

[0158] The ratio of the integral value of the non-abnormal signal corresponding to the designated channel to the sum of the integral values ​​of the non-abnormal signals corresponding to other channels is used as the first correction coefficient, such as ratio=CH1 / (CH2+CH3+CH4), wherein CH1 is the integral value of the non-abnormal signal corresponding to the channel where the distorted electrical signal is located, CH2, CH3, and CH4 are the integral values ​​of the non-abnormal signal corresponding to the channel where the non-distorted electrical signal is located, and ratio is the first correction coefficient.

[0159] Correspondingly, when a distorted electrical signal appears after pressing, the signal that meets the preset abnormal signal condition is corrected according to the first correction coefficient, including:

[0160] The first correction coefficient is multiplied by the sum of the integral values ​​of the non-abnormal signals corresponding to the other channels, and the multiplication result is used as the result of correcting the signal that meets the preset abnormal signal condition.

[0161] In another exemplary embodiment, determining the first correction coefficient according to the proportional relationship between the magnitude of the non-abnormal signal corresponding to the designated channel and the sum of the magnitudes of the non-abnormal signals corresponding to other channels in the multi-channel non-abnormal signal includes:

[0162] The ratio of the integral value of the non-abnormal signal corresponding to the specified channel to the sum of the integral absolute values ​​of the non-abnormal signals corresponding to other channels is used as the first correction coefficient, such as ratio=CH1 / (abs(CH2)+abs(CH3)+abs(CH4)); wherein abs() represents the absolute value.

[0163] Correspondingly, when a distorted electrical signal appears after pressing, the signal that meets the preset abnormal signal condition is corrected according to the first correction coefficient, including:

[0164] The first correction coefficient is multiplied by the sum of the integral absolute values ​​of the non-abnormal signals corresponding to the other channels, and the multiplication result is used as the result of correcting the signal that meets the preset abnormal signal condition.

[0165] Fig. 9 A distorted electrical signal and a comparison diagram of a signal obtained after the distorted electrical signal is corrected according to the correction strategy recorded in the embodiment of the present application are given. Fig. 9 It can be seen that the corrected electrical signal restores the normal peaks and troughs of the signal.

[0166] Abnormal signal types include not only the aforementioned saturated electrical signals and distorted electrical signals, but also reverse electrical signals.

[0167] In an exemplary embodiment, for the reverse electrical signal, according to a preset signal correction strategy, the multi-channel signal is corrected in a manner such as: Fig.10 As shown, including:

[0168] Step S1001 determines the second correction coefficient of the channel corresponding to each signal;

[0169] Step S1002 multiplies each signal by the second correction coefficient of its corresponding channel to obtain a corrected signal of the channel.

[0170] In an exemplary embodiment, determining a second correction coefficient for a channel corresponding to each signal includes:

[0171] When it is determined that the channel already has the second correction coefficient, directly use the second correction coefficient;

[0172] When it is determined that the channel does not have a second correction coefficient, the second correction coefficient of the channel corresponding to the signal is determined according to the touch gesture state and the positive or negative state of the first frame data of the signal; wherein the touch gesture state is: pressed state or released state.

[0173] In an exemplary embodiment, determining a second correction coefficient of a channel corresponding to the signal according to the touch gesture state and the positive or negative condition of the first frame data of the signal includes:

[0174] When the touch gesture state is the pressing state and the first frame data of the signal is positive, the second correction coefficient of the channel corresponding to the signal is determined to be 1; the first frame data specifies the first data starting after the signal reaches the set trigger threshold;

[0175] When the touch gesture state is a pressing state and the first frame data of the signal is negative, the second correction coefficient of the channel corresponding to the signal is determined to be -1;

[0176] When the touch gesture state is a release state and the first frame data of the signal is negative, the second correction coefficient of the channel corresponding to the signal is determined to be 1;

[0177] When the touch gesture state is a pressing state and the first frame data of the signal is positive, the second correction coefficient of the channel corresponding to the signal is determined to be -1.

[0178] The technical solutions described in the above embodiments are described below with reference to several specific application examples.

[0179] Example 1: Single-click gesture scenario

[0180] The normal signal of the sensor obtained under the single-click gesture is as follows Fig.11 As shown. According to P1 and P2, the signal is moving away from the reference (ie, the X-axis), and the touch gesture state is a pressing state. Since both P1 and P2 are greater than 0, the signal direction is normal and no correction is required. The second correction coefficient of the channel corresponding to the signal is determined to be 1.

[0181] The normal signal of the sensor obtained under the single-click gesture is as follows Fig.12 As shown. According to P1 and P2, the signal is moving away from the reference, and the touch gesture state is in the pressing state. Since P1 and P2 are both less than 0, the signal direction is abnormal and needs to be corrected. The second correction coefficient of the channel corresponding to the signal is determined to be -1, and P2 and subsequent signals are horizontally flipped.

[0182] Example 2, quick press (super fast combo) gesture scenario:

[0183] The normal signal of the quick press gesture is as follows: Fig.13 As shown. According to P1 and P2, the signal is approaching the reference, and the touch gesture state is released. Since P1 and P2 are both less than 0, the signal direction is normal and no correction is required. The second correction coefficient of the channel corresponding to the signal is determined to be 1.

[0184] Abnormal direction signals under quick press gestures are as follows Fig.14 As shown. According to P1 and P2, the signal is approaching the reference, and the touch gesture state is released. Since P1 and P2 are both greater than 0, the signal direction is abnormal and needs to be corrected. The second correction coefficient of the channel corresponding to the signal is determined to be -1, and P2 and subsequent signals are horizontally flipped.

[0185] Example 3: For the fast press (ultra-fast tap) gesture scenario, there is another case where the signal crosses the reference (one frame is in the positive half axis and the other frame is in the negative half axis);

[0186] In the case of a quick press gesture and the signal crossing the reference, the normal signal is Fig.15 As shown. According to P1 and P2, the signal approaches and crosses the reference, and the touch gesture state is released. Since P1 is less than 0, the signal direction is normal and no correction is required. The second correction coefficient of the channel corresponding to the signal is determined to be 1.

[0187] In the case of a quick press gesture and the signal crossing the reference, the abnormal signal is Fig.16 As shown. According to P1 and P2, the signal approaches and crosses the reference, and the touch gesture state is released. Since P1 is greater than 0, the signal direction is abnormal and needs to be corrected. The second correction coefficient of the channel corresponding to the signal is determined to be -1, and P2 and subsequent signals are horizontally flipped.

[0188] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the touch signal processing method as described in any of the previous embodiments.

[0189] The present application also provides a touch signal processing device, such as Fig.17 As shown, it includes a memory 1701 and a processor 1702, wherein the memory 1701 stores a program, and when the program is read and executed by the processor 1702, the touch signal processing method as described in any of the previous embodiments is implemented.

[0190] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A touch signal processing method, the method comprising: Collect multi-channel signals generated by touch from multiple elastic wave sensors; The multi-channel signal is corrected according to a preset signal correction strategy.

2. The method according to claim 1, characterized in that The step of correcting the multi-channel signal according to a preset signal correction strategy includes: Determine whether there is a signal processed by a first-stage amplification circuit in the multi-channel signal, and determine whether there is a signal in an unsaturated state in the multi-channel signal, and adopt different signal correction strategies according to the determination results to correct the multi-channel signal.

3. The method according to claim 2, characterized in that According to the determined results, different signal correction strategies are adopted to correct the multi-channel signal, including: When it is determined that each signal in the multi-channel signal is a secondary amplifier circuit signal and some signals in the multi-channel signal are in an unsaturated state, the signal in a saturated state is corrected according to the signal in an unsaturated state; When it is determined that each signal in the multi-channel signal is a secondary amplifier circuit signal, some of the signals are processed by the primary amplifier circuit, and all the signals in the multi-channel signal are in a saturated state, the secondary amplifier circuit signals in the multi-channel signal that have been processed by the primary amplifier circuit are first corrected, and then, based on the correction result, the secondary amplifier circuit signals in the multi-channel signal that have only been processed by the secondary amplifier circuit are continued to be corrected.

4. The method according to claim 3, characterized in that The step of correcting the signal in the saturated state according to the signal in the unsaturated state comprises: When it is determined that only the peak signal in the signal in the saturated state is saturated, a proportional relationship between different channels is obtained according to the trough signals that are not saturated between the signals of different channels; and according to the proportional relationship and the peak signal in the signal in the unsaturated state, the saturated peak signal in the signal in the saturated state is corrected; When it is determined that only the trough signal in the signal in the saturated state is saturated, a proportional relationship between different channels is obtained according to the peak signals that are not saturated between the signals in different channels; and according to the proportional relationship and the trough signal in the signal in the unsaturated state, the saturated trough signal in the signal in the saturated state is corrected; When it is determined that both the peak signal and the trough signal in the signal in the saturated state are saturated, the unsaturated state of the signal is fitted using the unsaturated signal in the signal in the saturated state; the unsaturated state of the signal in the saturated state is estimated according to the determined proportional relationship of the multi-channels and the signal in the unsaturated state in the multi-channel signal; and the signal in the saturated state is corrected according to the fitted signal in the unsaturated state and the estimated signal in the unsaturated state.

5. The method according to claim 4, characterized in that Before fitting the unsaturated state of the signal using the unsaturated signal in the signal in the saturated state, the method further includes: Determine whether the number of sampling points of the unsaturated signal in the signal in the saturated state reaches a preset number threshold, and if it is determined that the number is reached, fit the unsaturated state of the signal using the unsaturated signal in the signal in the saturated state; When it is determined that the value has not been reached, an interpolation algorithm is used to expand the number of the unsaturated signals to at least reach the preset number threshold, and then the unsaturated signals in the signal in the saturated state are used to fit the unsaturated state of the signal.

6. The method according to claim 4 or 5, characterized in that: The method for determining the proportional relationship of the multiple channels comprises: Collect multi-channel signals at multiple times; Calculate the average value of each channel signal at the multiple time points respectively; The calculated ratio between the average values ​​of the signals of each channel is taken as the ratio of the multiple channels.

7. The method according to claim 4 or 5, characterized in that: The step of correcting the signal in the saturated state according to the fitted signal in the unsaturated state and the estimated signal in the unsaturated state includes: For any saturated signal in the signals in the saturated state, determining a fitting signal at a time point corresponding to the saturated signal in the fitted signal in the unsaturated state, and determining an estimated signal at a time point corresponding to the saturated signal in the estimated signal in the unsaturated state; The fitting signal and the estimated signal are weighted to obtain a corrected signal corresponding to the saturated signal.

8. The method according to claim 3, characterized in that The step of correcting the secondary amplifier circuit signal in the multi-channel signal after being processed by the primary amplifier circuit comprises: For each corrected secondary amplifier circuit signal processed by the first-stage amplifier circuit at the current moment, it is equal to the product of the corresponding first-stage amplifier circuit signal and the channel gain of the corresponding secondary amplifier circuit, and the sum of the channel baseline drift offset corresponding to the second-stage amplifier circuit signal at the previous moment.

9. The method according to claim 3, characterized in that: The method further corrects the secondary amplifier circuit signal in the multi-channel signal that has only been processed by the secondary amplifier circuit according to the correction result, including: For each corrected secondary amplifier circuit signal processed only by the secondary amplifier circuit at the current moment, it is equal to the product of the sum of all corrected secondary amplifier circuit signals processed by the primary amplifier circuit in the multi-channel signal and the corresponding channel ratio; The channel ratio is the ratio of the corrected secondary amplifier circuit signal of the channel corresponding to the previous moment that has only been processed by the secondary amplifier circuit to the sum of all corrected secondary amplifier circuit signals in the multi-channel signal that have been processed by the primary amplifier circuit.

10. The method according to claim 1, characterized in that According to a preset signal correction strategy, the multi-channel signal is corrected, including: determining a touch position according to the multi-channel signal; Determine whether the touch position is located in a preset correction area, where the preset correction area refers to a preset area located above the elastic wave sensor, and each elastic wave sensor corresponds to at least one preset correction area; When it is determined that the touch position is within a preset correction area, a signal corresponding to the elastic wave sensor below the preset correction area in the multi-channel signal is determined as a signal that meets a preset abnormal signal condition; Determine a first correction coefficient corresponding to a specified channel, wherein the specified channel value is a channel corresponding to a signal that meets a preset abnormal signal condition; The signal satisfying the preset abnormal signal condition is corrected according to the first correction coefficient.

11. The method according to claim 10, characterized in that The determining of the first correction coefficient corresponding to the designated channel includes: Collecting multi-channel non-abnormal signals from the plurality of elastic wave sensors, wherein the multi-channel non-abnormal signals are generated by touching outside the preset correction area; The first correction coefficient is determined according to a proportional relationship between the magnitude of the non-abnormal signal corresponding to the designated channel and the sum of the magnitudes of the non-abnormal signals corresponding to other channels in the multi-channel non-abnormal signal.

12. The method according to claim 11, characterized in that The determining of the first correction coefficient according to the proportional relationship between the magnitude of the non-abnormal signal corresponding to the designated channel in the multi-channel non-abnormal signal and the sum of the magnitudes of the non-abnormal signals corresponding to other channels comprises: The ratio of the integral value of the non-abnormal signal corresponding to the designated channel to the sum of the integral values ​​of the non-abnormal signals corresponding to other channels is used as the first correction coefficient; or The ratio of the integral value of the non-abnormal signal corresponding to the designated channel to the sum of the integral absolute values ​​of the non-abnormal signals corresponding to other channels is used as the first correction coefficient.

13. The method according to claim 1, characterized in that According to a preset signal correction strategy, the multi-channel signal is corrected, including: Determine a second correction coefficient for each signal corresponding to the channel; Each signal is multiplied by the second correction coefficient of its corresponding channel to obtain a corrected signal of the channel.

14. The method according to claim 13, characterized in that Determining a second correction coefficient of a channel corresponding to each signal includes: When it is determined that the channel already has the second correction coefficient, directly use the second correction coefficient; When it is determined that the channel does not have a second correction coefficient, the second correction coefficient of the channel corresponding to the signal is determined according to the touch gesture state and the positive or negative state of the first frame data of the signal; wherein the touch gesture state is: pressed state or released state.

15. The method according to claim 14, characterized in that According to the touch gesture state and the positive or negative condition of the first frame data of the signal, a second correction coefficient of the channel corresponding to the signal is determined, including: When the touch gesture state is a pressing state and the first frame data of the signal is positive, the second correction coefficient of the channel corresponding to the signal is determined to be 1; When the touch gesture state is a pressing state and the first frame data of the signal is negative, the second correction coefficient of the channel corresponding to the signal is determined to be -1; When the touch gesture state is a release state and the first frame data of the signal is negative, the second correction coefficient of the channel corresponding to the signal is determined to be 1; When the touch gesture state is a pressing state and the first frame data of the signal is positive, the second correction coefficient of the channel corresponding to the signal is determined to be -1.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the touch signal processing method according to any one of claims 1 to 15.

17. A touch signal processing device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a program, and when the program is read and executed by the processor, the touch signal processing method according to any one of claims 1 to 15 is implemented.