CN113918039A - Signal processing method, device, equipment and storage medium - Google Patents

Signal processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113918039A
CN113918039A CN202010656076.5A CN202010656076A CN113918039A CN 113918039 A CN113918039 A CN 113918039A CN 202010656076 A CN202010656076 A CN 202010656076A CN 113918039 A CN113918039 A CN 113918039A
Authority
CN
China
Prior art keywords
node
sampling
nodes
preset threshold
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010656076.5A
Other languages
Chinese (zh)
Inventor
李新
张晓娜
王武军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Commercial Display Co Ltd
Original Assignee
Qingdao Hisense Commercial Display Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Commercial Display Co Ltd filed Critical Qingdao Hisense Commercial Display Co Ltd
Priority to CN202010656076.5A priority Critical patent/CN113918039A/en
Publication of CN113918039A publication Critical patent/CN113918039A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • G06F3/041662Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving using alternate mutual and self-capacitive scanning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Abstract

The application provides a signal processing method, a signal processing device, a signal processing apparatus and a storage medium. The method comprises the following steps: sampling signals of the sensing channels at each first node of the touch screen according to the first sampling times to obtain first sensing signal values at each first node in at least two periods, wherein the first nodes are nodes formed by crossing driving channels and sensing channels on the touch screen; determining whether the number of second nodes is larger than a first preset threshold value or not according to the first induction signal value at each first node in at least two periods; the second node is a first node of which the variation of the first induction signal value in at least two periods exceeds a second preset threshold value; if the number of the second nodes is larger than a first preset threshold value, increasing the first sampling times; and if the number of the second nodes is less than or equal to a first preset threshold, taking the first sampling times as target sampling times. According to the method, the influence of noise interference on the induction signal can be reduced by increasing the sampling times.

Description

Signal processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of touch technologies, and in particular, to a signal processing method, apparatus, device, and storage medium.
Background
With the development of human-computer interaction demand, more and more touch screens are applied to various electronic products, and the touch screens include various types of touch screens, such as resistive type, capacitive type, and the like.
The principle of the capacitive touch screen is that indium tin oxide ITO (indium tin oxide), metal mesh (metal mesh) or nano silver and the like are used for manufacturing transverse electrodes and longitudinal electrodes on the surface of glass, wherein the transverse electrodes and the longitudinal electrodes are manufactured on different surfaces, and a capacitor is formed at the position where two groups of electrodes are crossed, namely the two groups of electrodes respectively form two poles of the capacitor, as shown in fig. 1. When a finger or a Touch pen touches the capacitive Touch screen, coupling between two electrodes near a Touch point is affected, so that capacitance between the two electrodes is changed, the change of the capacitance is very weak, and the capacitive Touch screen is easily interfered by external noise, such as Liquid Crystal Module (LCM) interference, power interference, joint height, Touch screen (TP) deformation, LCM deformation and the like, especially a large-size capacitive Touch screen, and these factors directly affect signals of the capacitive Touch screen, so that point error is caused, or writing disconnection is caused to inhibit random reporting points, and user experience is poor. Therefore, how to reduce the influence of noise interference on the touch screen signal is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a signal processing method, a signal processing device, signal processing equipment and a storage medium, which are used for reducing the influence of noise interference on a touch screen signal.
In a first aspect, the present application provides a signal processing method applied to an electronic device, where the electronic device includes a touch screen, and the method includes:
sampling signals of an induction channel at each first node of the touch screen according to the first sampling times to obtain first induction signal values at each first node in at least two periods, wherein the first node is a node formed by crossing a driving channel and the induction channel on the touch screen;
determining whether the number of second nodes is larger than a first preset threshold value or not according to the first induction signal value at each first node in at least two periods; the second node is a first node of which the variation of the first induction signal value in the at least two periods exceeds a second preset threshold value;
if the number of the second nodes is larger than a first preset threshold value, increasing the first sampling times;
and if the number of the second nodes is less than or equal to the first preset threshold, taking the first sampling times as target sampling times.
In a second aspect, the present application provides a signal processing apparatus applied to an electronic device, where the electronic device includes a touch screen, the apparatus includes:
the sampling module is used for sampling signals of the sensing channels at each first node of the touch screen according to first sampling times to obtain first sensing signal values at each first node in at least two periods, wherein the first nodes are nodes formed by crossing the driving channels and the sensing channels on the touch screen;
the determining module is used for determining whether the number of the second nodes is larger than a first preset threshold value or not according to the first induction signal value at each first node in at least two periods; the second node is a first node of which the variation of the first induction signal value in the at least two periods exceeds a second preset threshold value;
the processing module is used for increasing the first sampling times if the determining module determines that the number of the second nodes is larger than a first preset threshold;
and if the determining module determines that the number of the second nodes is less than or equal to the first preset threshold, taking the first sampling times as target sampling times.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method of any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of the first aspects via execution of the executable instructions.
According to the signal processing method, the signal processing device, the signal processing equipment and the signal processing storage medium, signals of the sensing channels at all first nodes of the touch screen are sampled according to the first sampling times, then first sensing signal values of all the first nodes are obtained according to sampling results, and the interference condition is determined, namely if the number of the second nodes is larger than a first preset threshold value; the second node is a first node of which the variation of the first induction signal value in the at least two periods exceeds a second preset threshold, and if the noise interference is larger, the first sampling frequency is increased; if the number of the second nodes is smaller than or equal to the first preset threshold, which indicates that the noise interference is small, the first sampling frequency is taken as a target sampling frequency, and the influence of the noise interference on the sensing signal can be reduced by increasing the sampling frequency in the above scheme.
Drawings
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 disclosure.
FIG. 1 is a schematic diagram of a touch screen channel according to an embodiment;
FIG. 2 is a schematic diagram of a touch principle provided by an embodiment;
FIG. 3 is a schematic diagram of noise interference according to an embodiment;
FIG. 4 is a schematic diagram of driving signals and sensing signals provided in one embodiment;
FIG. 5 is a sample schematic provided by one embodiment;
FIG. 6 is a schematic flow chart diagram illustrating an embodiment of a signal processing method provided herein;
FIG. 7 is a schematic sampling diagram provided by another embodiment of the method provided herein;
FIG. 8 is a schematic sampling diagram provided by yet another embodiment of the method provided herein;
fig. 9 is a schematic structural diagram of an embodiment of a signal processing apparatus provided in the present application;
fig. 10 is a schematic structural diagram of an embodiment of an electronic device provided in the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
To make the objects, embodiments and advantages of the present application clearer, the following description of exemplary embodiments of the present application will clearly and completely describe the exemplary embodiments of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application, and it is to be understood that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments described herein without inventive step, are intended to be within the scope of the claims appended hereto. In addition, while the disclosure herein has been presented in terms of one or more exemplary examples, it should be appreciated that aspects of the disclosure may be implemented solely as a complete embodiment.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and are not necessarily intended to limit the order or sequence of any particular one, Unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.
The term "module," as used herein, refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
First, the nouns and application scenarios referred to in the present application will be described:
the node refers to a node formed by crossing a driving channel and a sensing channel on the touch screen.
The method of the embodiment of the application is applied to an electronic device, for example, a display device, the device includes a touch screen, and the electronic device includes, but is not limited to, a television, a tablet computer, a mobile phone, a wearable device, and the like.
The touch screen of the embodiment of the present application may be a capacitive touch screen, and the capacitive touch screen is taken as an example in the following embodiments for description.
As shown in fig. 1, TX is a driving channel, RX is an induction channel, a capacitor is formed at a position where two sets of electrodes of the driving channel and the induction channel intersect, that is, the two sets of electrodes respectively form two poles of the capacitor, a touch Integrated Circuit (IC) sequentially sends a driving signal to a signal line of each driving channel, and sequentially receives an induction signal through the induction channel, thereby finally obtaining an induction signal of the entire touch screenThe small variation of the quantity, as shown in fig. 2, the capacitance comprising the capacitance C between TX and RXmCapacitance C between TX and RX and groundpCapacitance C between TX and fingerf. And the touch IC positions the coordinate position of the effective touch object according to the variable quantity of the induction signal of the whole touch screen. As shown in fig. 3, when interference signals such as power supply/LCM are superimposed on the driving signal, the sensing signal received by the sensing channel changes, and the touch IC receives an erroneous sensing signal and generates a misjudgment, such as a skip point when no touch is made or a disconnection when a touch is made.
A driving signal of the touch screen is often a square wave or a sine wave with a certain frequency, conventionally, a certain sampling rate is set, and sampling is performed after the driving signal is sent for a certain time to ensure that a capacitor of each node is fully charged or approximately fully charged, as shown in fig. 4, after the capacitor is fully charged within a certain time, the voltage for continuously charging does not continuously increase, so that each node is sampled according to the set sampling number to obtain an induction signal of each node, for example, as shown in fig. 5, an induction signal value of each node is (a signal value at sampling time 1 + a signal value at sampling time 2)/2.
In the related art, the influence of interference on an induction signal is reduced by adding a filter (low-pass or band-pass) on a power panel or a touch panel, but because the frequency and the frequency band of electromagnetic interference are not fixed, the fixed frequency band filter has a poor anti-interference effect.
The technical idea of the method of the embodiment of the application is as follows:
the influence of noise interference from different sources is reduced by identifying different noise interference conditions and adjusting the sampling times of signals of the touch screen, and the adaptability of the touch screen in different environments is improved.
For example, when the noise interference is large, the number of samples is increased, and when the noise interference is small, the number of samples is not changed.
In one embodiment, the noise interference condition may be determined by a variation of the induced signal values at different periods of each first node, for example, a variation of the induced signal values at a plurality of first nodes is large, and exceeding a preset threshold value indicates that the noise interference is large.
The method of the embodiment of the present application may be executed by an electronic device, or may be executed by a control device in communication with the electronic device, which is not limited in the embodiment of the present application.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 6 is a schematic flowchart of an embodiment of a signal processing method provided in the present application. As shown in fig. 6, the method provided by this embodiment includes:
step 101, sampling signals of the sensing channels at each first node of the touch screen according to the first sampling times to obtain first sensing signal values at each first node in at least two periods, wherein the first nodes are nodes formed by crossing driving channels and sensing channels on the touch screen.
Specifically, in order to reduce the influence of noise interference from different sources and improve the adaptability of the touch screen in different environments, the method of the embodiment of the application adjusts the sampling times of the signals of the sensing channel according to the interference condition, finally determines the target sampling times, further starts normal touch screen scanning, namely samples the signals at each node of the sensing channel according to the target sampling times, and determines the final touch position according to the sampling result.
As shown in fig. 1, the first node is a node formed by crossing the driving channel TX and the sensing channel RX.
Firstly, according to a preset scanning rule, touch screen scanning is started, namely, signals of sensing channels at all first nodes of the touch screen are sampled, first sensing signal values at all the first nodes are determined, and then the interference condition can be determined according to the first sensing signal values at all the first nodes.
For example, if a first node samples a sampled signal value obtained a first number of times, the first sensing signal value at the first node may be obtained by averaging or weighted averaging.
In one embodiment, in order to determine the interference more accurately, the touch screen may be scanned n times (n ≧ 1) in succession, resulting in first sensing signal values at respective first nodes for n cycles.
Step 102, determining whether the number of second nodes is larger than a first preset threshold value according to the first induction signal value at each first node in at least two cycles, wherein the second nodes are the first nodes of which the variation of the first induction signal values in at least two cycles exceeds a second preset threshold value.
Specifically, counting first sensing signal values at first nodes of n continuous periods, recording the maximum value of the variation of the first sensing signal value of each first node in the n periods, and if the maximum value of the variation exceeds a second preset threshold Smax, determining the first nodes as second nodes, wherein the number Num +1 of the second nodes; and sequentially judging each first node, and if the number of the second nodes exceeding a second preset threshold value Smax is larger than a first preset threshold value NUMMax, indicating that the current interference condition is larger interference and the sampling times need to be increased.
For any first node, the variation of the first sense signal value may be an absolute value of a difference of the first sense signal values between different periods.
In an embodiment, if n is 1, a variation of the first sensing signal value at each first node may be a variation obtained by comparing the collected 1-cycle first sensing signal value with a reference signal value.
The reference signal value is obtained by processing the induction signal value of one period or a plurality of periods acquired in advance.
Generally, in the case of small noise interference, the variation of the first sensing signal value in each period is small for any first node.
And 103, if the number of the second nodes is larger than a first preset threshold value, increasing the first sampling times.
Specifically, if the number of the second nodes is greater than a first preset threshold, it indicates that the interference is large, and the first sampling frequency is increased.
In one embodiment, the first number of samples is derived based on the number of pulses sampled and the number of samples within a pulse.
For example, if the number of sampled pulses is 1 and the number of samples in one pulse is 2, the first number of samples is 2, for example, as shown in fig. 7, the number of sampled pulses is increased, and the increased first number of samples is 6, or as shown in fig. 8, the number of samples in each pulse is increased, and the increased first number of samples is 9.
Further, the step 101 and the step 102 may be repeatedly executed according to the increased first sampling number, until the number of the second nodes is less than or equal to the first preset threshold, that is, the influence of the noise interference is within the acceptable range, and then the current first sampling number is used as the target sampling number.
And step 104, if the number of the second nodes is less than or equal to a first preset threshold, taking the first sampling frequency as a target sampling frequency.
Specifically, if the influence of the noise interference is within the acceptable range, the first sampling frequency is not changed, the current first sampling frequency may be set as a fixed target sampling frequency, and normal touch screen scanning is started.
The touch screen comprises a first preset threshold NUMMax, a second preset threshold Smax, a scanning rule, a driving signal frequency, a duty ratio, the number of sampled pulses and the number of sampling times in one pulse, wherein the parameters can be adjusted according to conditions such as impedance of the touch screen material, charging voltage and the like.
According to the method, signals of the sensing channels at each first node of the touch screen are sampled according to the first sampling times, then the first sensing signal value of each first node is obtained according to the sampling result, and the interference condition is determined, namely if the number of the second nodes is larger than a first preset threshold value; the second node is a first node of which the variation of the first induction signal value in the at least two periods exceeds a second preset threshold, and if the noise interference is larger, the first sampling frequency is increased; if the number of the second nodes is smaller than or equal to the first preset threshold, which indicates that the noise interference is small, the first sampling frequency is taken as a target sampling frequency, and the influence of the noise interference on the sensing signal can be reduced by increasing the sampling frequency in the above scheme.
In an embodiment, the second node may be determined as follows:
and if the difference value between the maximum value and the minimum value of the first sensing signal value at the first node in at least two periods is greater than a second preset threshold value, taking the first node as a second node.
Specifically, for any first node, the maximum value and the minimum value of the first sensing signal value of the first node in multiple cycles may be counted, and the difference between the maximum value and the minimum value is the maximum value of the variation, and if the difference is greater than a second preset threshold, the first node is used as the second node. Indicating that the first node is affected more by noise interference.
In one embodiment, the first number of samples may be increased by:
increasing the number of pulses sampled in each of said periods; and/or the presence of a gas in the gas,
the second number of samples within a pulse is increased.
Specifically, if the preset second sampling number in one pulse is m, the first sampling number is increased by m if the number of sampled pulses is increased, for example, by 1. As shown in fig. 7, the number of pulses of 2 samples is increased.
As shown in fig. 8, if the preset second sampling number m in one pulse is 2, the second sampling number in each pulse is increased by 1.
In the above embodiment, the number of pulses sampled in each period is increased; and/or, the sampling times in one pulse are increased, the influence of noise interference on the induction signal can be reduced, and the reliability and the stability under the condition of noise interference with different frequencies and different amplitudes are improved.
In an embodiment, after step 104, the following operations may be further performed:
sampling signals of the sensing channels at each first node of the touch screen according to the target sampling times to obtain a second sensing signal value at each first node;
and determining the touch position according to the second sensing signal value at each first node.
Specifically, after the target sampling frequency is determined, normal touch screen scanning is started, and according to the target sampling frequency, signals of sensing channels at each first node of the touch screen are sampled to obtain second sensing signal values at each first node, for example, second sensing signal values at each first node in one or more cycles are obtained; and determining the touch position according to the second sensing signal value at each first node of one or more cycles.
For any first node, if a second induction signal value of one period is obtained, comparing the second induction signal value of the first node with a reference induction signal value, and determining a touch position according to the change of the induction signal values of the first nodes; the reference signal value is a signal value obtained by one or more cycles acquired in advance.
For any first node, if the second sensing signal values of multiple periods are obtained, the second sensing signal values of the first nodes of the multiple periods are compared, and the touch position is determined according to the change of the sensing signal values of the first nodes.
In the above embodiment, the sensing signals at the first nodes of the touch screen are sampled according to the determined target sampling times, and the obtained sensing signal values are accurate.
On the basis of the above embodiment, further, step 102 may be implemented by:
for any period, determining a plurality of sampling moments according to the first sampling times and the pulse signals of the driving channels;
sampling signals of the induction channels at the first nodes at the sampling moments to obtain sampling signal values of the first nodes at the sampling moments;
and processing the sampling signal value of the first node at each sampling moment aiming at any one first node to obtain a first induction signal value of the first node.
Specifically, for any node in any cycle, when sampling, the sampling time is first determined, and as shown in fig. 5, assuming that the number of pulses of default sampling is 1, and the number of sampling times within one pulse is 1, the first number of sampling times is 2.
Determining a plurality of sampling moments according to the first sampling times and the pulse signals of the driving channels, and sampling at the rising edge moment and the falling edge moment of the pulse signals as shown in fig. 5, namely taking the rising edge moment and the falling edge moment of the pulse signals as the sampling moments;
and at each sampling moment, sampling the signals of the induction channels at each first node to obtain the sampling signal value of each first node at each sampling moment.
Further, the sampled signal value at each sampling time is processed to obtain the first sensing signal value of the first node, for example, the first sensing signal value is averaged or weighted-averaged, or other processing, which is not limited in this embodiment of the application.
For example, the first induced signal value of the first node is (sampled signal value at sampling time 1 + sampled signal value at sampling time 2)/2.
In an embodiment, the determining of the sampling time may specifically be implemented as follows:
determining the rising edge time and the falling edge time of the pulse signal according to the frequency and the duty ratio of the pulse signal of the driving channel;
a plurality of sampling instants is determined based on rising and falling edge instants of the pulse signal and the first sampling number.
Specifically, the frequency of the pulse signal refers to the number of pulses per unit time.
And determining the rising edge time and the falling edge time of the pulse signal according to the frequency and the duty ratio of the pulse signal of the driving channel, and further determining the sampling time according to the rising edge time and the falling edge time of the pulse signal.
In an embodiment, the sampling instants comprise rising edge instants and falling edge instants of the pulse signal.
For example, if the first sampling number is 4 and the number of sampled pulses is 1, the sampling time includes a rising edge time and a falling edge time of one pulse, and two sampling times between the rising edge time and the falling edge time.
In an embodiment, the first number of sampling times is obtained according to the number of pulses sampled in one period and the second number of sampling times in each pulse, so that the number of pulses and the second number of sampling times in each pulse need to be determined when determining the sampling time.
In one embodiment, before determining the plurality of sampling instants, i.e. before sampling the signal, the following operations are further performed:
determining whether a capacitance value at the first node exceeds a preset threshold;
and if so, executing the operation of determining a plurality of sampling moments according to the first sampling times.
Specifically, since the continuous charging voltage of the capacitor after full charge does not increase continuously, the sampling operation is performed after the capacitor of each first node is fully charged or approximately fully charged, and the value of the sampled sensing signal is stable.
In the above embodiment, the sampling time can be determined by the frequency and duty ratio of the pulse signal of the driving channel, the number of sampled pulses and the second sampling frequency in each pulse, and then the interference condition is determined according to the sampling result, and a plurality of interferences are large, so that the first sampling frequency is increased, the influence of noise interference on the sensing signal can be further reduced, and the reliability and the stability under the interference condition of different frequencies and different amplitudes of noise are improved.
Fig. 9 is a schematic structural diagram of an embodiment of a signal processing apparatus provided in the present application, and as shown in fig. 6, the signal processing apparatus of the present embodiment is applied to an electronic device, where the electronic device includes a touch screen, and the signal processing apparatus includes:
the sampling module 901 is configured to sample, according to a first sampling frequency, a signal of an induction channel at each first node of the touch screen to obtain a first induction signal value at each first node in at least two cycles, where the first node is a node formed by crossing a driving channel and an induction channel on the touch screen;
a determining module 902, configured to determine, according to a first sensing signal value at each first node in at least two cycles, whether the number of second nodes is greater than a first preset threshold; the second node is a first node of which the variation of the first induction signal value in the at least two periods exceeds a second preset threshold value;
a processing module 903, configured to increase the first sampling frequency if the determining module 902 determines that the number of the second nodes is greater than a first preset threshold;
if the determining module 902 determines that the number of the second nodes is less than or equal to the first preset threshold, the first sampling frequency is used as a target sampling frequency.
In one possible implementation form of the method,
the apparatus of this embodiment may be configured to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 10 is a block diagram of an embodiment of an electronic device provided in the present application, and as shown in fig. 10, the electronic device includes:
a processor 1001 and a memory 1002 for storing executable instructions for the processor 1001.
Optionally, the method may further include: a touch screen 1003.
The above components may communicate over one or more buses.
The processor 1001 is configured to execute the corresponding method in the foregoing method embodiment by executing the executable instruction, and the specific implementation process of the method may refer to the foregoing method embodiment, which is not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method in the foregoing method embodiment is implemented.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A signal processing method applied to an electronic device including a touch screen, the method comprising:
sampling signals of an induction channel at each first node of the touch screen according to the first sampling times to obtain first induction signal values at each first node in at least two periods, wherein the first node is a node formed by crossing a driving channel and the induction channel on the touch screen;
determining whether the number of second nodes is larger than a first preset threshold value or not according to the first induction signal value at each first node in at least two periods; the second node is a first node of which the variation of the first induction signal value in the at least two periods exceeds a second preset threshold value;
if the number of the second nodes is larger than a first preset threshold value, increasing the first sampling times;
and if the number of the second nodes is less than or equal to the first preset threshold, taking the first sampling times as target sampling times.
2. The method of claim 1, wherein sampling signals of sensing channels at each first node of the touch screen according to the first sampling times to obtain at least two cycles of first sensing signal values at each first node comprises:
for any period, determining a plurality of sampling moments according to the first sampling times and the pulse signals of the driving channels;
sampling signals of the induction channels at the first nodes at the sampling moments to obtain sampling signal values of the first nodes at the sampling moments;
and processing the sampling signal value of the first node at each sampling moment aiming at any one first node to obtain a first induction signal value of the first node.
3. The method of claim 2, wherein the first number of samples is based on a number of pulses sampled per the period and a second number of samples per pulse; the determining a plurality of sampling moments according to the first sampling times and the pulse signals of the driving channels comprises:
determining the rising edge time and the falling edge time of the pulse signal according to the frequency and the duty ratio of the pulse signal of the driving channel;
and determining a plurality of sampling moments according to the rising edge moment and the falling edge moment of the pulse signal, the number of pulses sampled in each period and the sampling times in each pulse.
4. The method of claim 2 or 3, wherein determining a plurality of sampling instants is preceded by determining a plurality of sampling instants according to the first number of samples, further comprising:
determining whether a capacitance value at the first node exceeds a preset threshold;
and if so, executing the operation of determining a plurality of sampling moments according to the first sampling times.
5. The method according to any of claims 1-3, wherein said determining a second node comprises:
and if the difference value between the maximum value and the minimum value of the first sensing signal value at the first node in at least two periods is greater than the second preset threshold value, taking the first node as the second node.
6. The method of any of claims 1-3, wherein said increasing said first number of samples comprises:
increasing the number of pulses sampled in each of said periods; and/or the presence of a gas in the gas,
the second number of samples within a pulse is increased.
7. The method according to any one of claims 1-3, wherein after the taking the first sampling number as a target sampling number, further comprising:
sampling signals of the sensing channels at each first node of the touch screen according to the target sampling times to obtain a second sensing signal value at each first node;
and determining the touch position according to the second sensing signal value at each first node.
8. A signal processing apparatus, applied to an electronic device including a touch screen, the apparatus comprising:
the sampling module is used for sampling signals of the sensing channels at each first node of the touch screen according to first sampling times to obtain first sensing signal values at each first node in at least two periods, wherein the first nodes are nodes formed by crossing the driving channels and the sensing channels on the touch screen;
the determining module is used for determining whether the number of the second nodes is larger than a first preset threshold value or not according to the first induction signal value at each first node in at least two periods; the second node is a first node of which the variation of the first induction signal value in the at least two periods exceeds a second preset threshold value;
the processing module is used for increasing the first sampling times if the determining module determines that the number of the second nodes is larger than a first preset threshold;
and if the determining module determines that the number of the second nodes is less than or equal to the first preset threshold, taking the first sampling times as target sampling times.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
10. An electronic device, comprising:
a touch screen and a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-7 via execution of the executable instructions.
CN202010656076.5A 2020-07-09 2020-07-09 Signal processing method, device, equipment and storage medium Pending CN113918039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010656076.5A CN113918039A (en) 2020-07-09 2020-07-09 Signal processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010656076.5A CN113918039A (en) 2020-07-09 2020-07-09 Signal processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113918039A true CN113918039A (en) 2022-01-11

Family

ID=79231997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010656076.5A Pending CN113918039A (en) 2020-07-09 2020-07-09 Signal processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113918039A (en)

Similar Documents

Publication Publication Date Title
US9965100B2 (en) Scan sequence generator
EP3190490B1 (en) Touch sensing system including active stylus pen
US7920134B2 (en) Periodic sensor autocalibration and emulation by varying stimulus level
KR101441218B1 (en) Touch sensor panel negative pixel compensation
US10296139B2 (en) Refreshing method of sensing baseline values for capacitive sensor device and capacitive sensor device
TW201322070A (en) Noise filtering method
CN105320383A (en) Adjustment of touch sensing stimulation voltage levels based on touch performance
CN108376039B (en) Applying a signal to a touch sensor
KR20150026504A (en) Electronic device having a touch sensor and driving method thereof
CN103995618A (en) Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module
CN104461136A (en) Dynamic threshold adjusting circuit in touch-control device
US9720540B2 (en) Touch signal detection circuit and method, and touch device
CN104360769A (en) Anti-interference method for touch panel, touch panel and display
EP3816776A1 (en) Data detection method and device, storage medium, and touch device
US10895932B1 (en) Drift invariant processing
CN113918039A (en) Signal processing method, device, equipment and storage medium
CN111736722A (en) Method, device and equipment for detecting shielding state of capacitive touch screen
Lin et al. P‐198: Kalman Filter Smooth Tracking Based on Multi‐Touch for Capacitive Panel
CN203324956U (en) Capacitive touch screen
CN106201122A (en) Contact panel and its control method
JP7283662B2 (en) Touch panel device and touch panel device control method
US20170228101A1 (en) Adaptive filtering method for gestural and touch-sensitive interface, and interface mechanism implementing the method
US10606409B2 (en) Method of processing sensing signals and related processor
US20160147357A1 (en) Anti-noise method of touch panel, touch panel and display device
KR20140096528A (en) Touch panel device and method for driving the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination