CN112860121A - Method and device for multi-channel touch detection in touch screen - Google Patents
Method and device for multi-channel touch detection in touch screen Download PDFInfo
- Publication number
- CN112860121A CN112860121A CN202110272060.9A CN202110272060A CN112860121A CN 112860121 A CN112860121 A CN 112860121A CN 202110272060 A CN202110272060 A CN 202110272060A CN 112860121 A CN112860121 A CN 112860121A
- Authority
- CN
- China
- Prior art keywords
- channel
- noise
- touch screen
- signal
- output signal
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000000284 resting effect Effects 0.000 claims abstract description 8
- 230000015654 memory Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 17
- 238000005070 sampling Methods 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 5
- 108091006146 Channels Proteins 0.000 description 201
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 230000001360 synchronised effect Effects 0.000 description 8
- 238000012360 testing method Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000004020 conductor Substances 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The embodiment of the application provides a method and a device for touch detection of multiple channels in a touch screen. The method comprises the following steps: determining a noise signal of a first reference channel which is not touched in the plurality of channels according to output signals of the first reference channel when the touch screen is in a bright screen state and in a screen resting state; determining a noise signal of the target channel according to the display noise coefficient of the target channel and the noise signal of the first reference channel; and removing the noise signal of the target channel from the original output signal of the target channel to obtain the target output signal of the target channel for touch detection. The method and the device for touch detection of multiple channels in the touch screen can improve the touch detection efficiency.
Description
Technical Field
The embodiments of the present application relate to the field of electronic devices, and more particularly, to a method and apparatus for multi-channel touch detection in a touch screen.
Background
The capacitive sensor is widely applied to electronic products and used for realizing touch detection. When a conductor such as a finger touches or approaches a detection electrode in a touch screen of an electronic device, a capacitance corresponding to the detection electrode changes, and information that the finger approaches or touches the detection electrode can be acquired by detecting the change amount of the capacitance, so that the operation of a user is determined, that is, touch detection or touch detection is performed. However, noise generated by the touch screen of the electronic device may affect the detection result. Therefore, how to reduce the influence of the touch screen noise on the capacitance detection becomes an urgent problem to be solved.
Disclosure of Invention
The application provides a method and a device for touch detection of multiple channels in a touch screen, which can improve the efficiency of touch detection.
In a first aspect, a method for multi-channel touch detection in a touch screen is provided, the method comprising: determining a noise signal of a first reference channel according to output signals of the first reference channel when the touch screen is in a bright screen state and in a screen resting state, wherein the first reference channel is an untouched channel in the plurality of channels; determining a noise signal of a target channel according to a display noise coefficient of the target channel and a noise signal of the first reference channel, wherein the display noise coefficient of the target channel represents a ratio of the display noise signal of the target channel to the reference display noise signal, and the display noise signal is generated when the touch screen is in a bright screen state; removing the noise signal of the target channel from the original output signal of the target channel to obtain a target output signal of the target channel, wherein the target output signal of the target channel is used for touch detection of the target channel, and the original output signal of the target channel is an output signal of the target channel without removing the noise signal when the touch screen is in a bright screen state.
Therefore, according to the method for touch detection of multiple channels in the touch screen, the display noise coefficient of each channel in the multiple channels relative to the reference display noise is respectively determined by utilizing the similarity of the display noise, and the process can be completed in a mass production test stage, so that the multi-channel touch detection chip can flexibly adapt to different carried screens; furthermore, the touch detection chip can perform noise removal operation on the output signal according to the display noise coefficient of each channel obtained in the mass production test stage, and the display noise part in the output signal is removed, so that the signal-to-noise ratio of the touch detection system is greatly improved, and the touch detection efficiency is further improved.
With reference to the first aspect, in an implementation manner of the first aspect, the method further includes: when the touch screen is not touched, determining a display noise coefficient of each channel in the plurality of channels according to a plurality of frames of display images, wherein the display noise coefficient of each channel represents the ratio of the display noise signal of each channel to a reference display noise signal.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the determining, according to multiple frames of display images, a display noise coefficient of each of the multiple channels when the touch screen is not touched includes: when the touch screen is not touched and the touch screen is in a screen-off state, determining a basic output signal of each channel according to the output signal of each channel; when the touch screen is not touched and the touch screen is in a bright screen state, determining a sampling output signal of each channel corresponding to each frame of display image in the multi-frame display image; and determining the display noise coefficient of each channel according to the difference value of the sampling output signal of each channel and the basic output signal of each channel.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the determining a basic output signal of each channel according to the output signal of each channel when the touch screen is not touched and the touch screen is in a screen-off state includes: and when the touch screen is not touched and the touch screen is in a screen-off state, determining the average value of the output signals of each channel in preset time as the basic output signal of each channel.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the determining a display noise coefficient of each channel according to a difference between the sampled output signal of each channel and the base output signal of each channel includes: determining the second in the plurality of channelsDetermining the noise coefficient of the second reference channel as 1; determining the display noise coefficient k of the target channel by adopting a least square method according to the following formula (1) and the sampling output signal of each channel corresponding to each frame of imagem:
CHm-CHm,b=km*(CHn-CHn,b) (1)
Wherein, CHmSampling output signals of the target channel corresponding to each frame of image; CH (CH)m,bOutputting a signal for a basis of the target channel; CH (CH)nSampling output signals of the second reference channel corresponding to each frame of image; CH (CH)n,bIs a basic output signal of the second reference channel, the reference noise signal is CHn-CHn,b。
With reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the determining a noise signal of the first reference channel according to output signals of the first reference channel when the touch screen is in a bright screen state and in a dark screen state includes: and determining a difference value between an output signal of the first reference channel when the touch screen is in a bright screen state and a basic output signal of the first reference channel as a noise signal of the first reference channel.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the determining a noise signal of the target channel according to the display noise coefficient of the target channel and the noise signal of the first reference channel includes: determining a noise signal N of the target channel according to the following formula (2)m:
Nm=km*ΔCHl/kl (2)
Wherein k ismFor the display noise figure, k, of the target channellDisplaying a noise figure, Δ CH, for the first reference channellIs the noise signal of the first reference channel.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the display noise coefficient of the first reference channel is a maximum value among the display noise coefficients of the multiple channels.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in another implementation manner of the first aspect, the first reference channel is different from the target channel.
In a second aspect, an apparatus for multi-channel touch detection in a touch screen is provided, which is configured to perform the method of the first aspect or any possible implementation manner of the first aspect. In particular, the apparatus comprises means for performing the method of the first aspect described above or any possible implementation manner of the first aspect.
In a third aspect, an apparatus for multiple channel touch detection in a touch screen is provided, including: a storage unit for storing instructions and a processor for executing the instructions stored by the memory, and when the processor executes the instructions stored by the memory, the execution causes the processor to perform the first aspect or the method of any possible implementation of the first aspect.
In a fourth aspect, there is provided a computer readable medium for storing a computer program comprising instructions for carrying out the method of the first aspect or any possible implementation manner of the first aspect.
In a fifth aspect, a computer program product comprising instructions is provided, wherein when a computer executes the instructions of the computer program product, the computer performs the method for multi-channel touch detection in a touch screen according to the first aspect or any possible implementation manner of the first aspect. In particular, the computer program product may be run on the apparatus of the second aspect described above.
Drawings
Fig. 1 is a schematic diagram of a conventional multi-channel touch detection system.
FIG. 2 is a schematic diagram of an arbitrary channel in an improved multi-channel touch detection system.
Fig. 3 is a schematic diagram of the periodic variation of different signals.
Fig. 4 is a schematic flowchart of a method for multi-channel touch detection in a touch screen according to an embodiment of the present disclosure.
Fig. 5 is a schematic diagram of a touch detection system according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a touch detection system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
A touch screen of an electronic device is usually provided with two layers of channels, namely, an RX channel and a TX channel, respectively, for touch detection. Touch detection generally includes two ways, self capacitance detection and mutual capacitance detection. Specifically, during the self-capacitance detection, the touch chip scans the change of the self-capacitance of each of the horizontal and vertical channels to ground. When a finger is close to or touching, the self-capacitance of the channel near the finger becomes large. When mutual capacitance detection is performed, one layer of channels serves as driving channels (for example, TX channels) and the other layer of channels serves as sensing channels (for example, RX channels), and the touch chip detects the change of mutual capacitance between the TX channels and the RX channels.
When touch detection is performed, if a finger is close to the touch screen or touches the touch screen, the finger and a transverse channel RX nearby the finger will generate a capacitance Cs, and the finger and a longitudinal channel TX nearby the finger will generate a capacitance Cd. Because the human body is a conductor and is connected with the ground, the self capacitance and the mutual capacitance of the channel touched or approached by the finger can be changed, and the touch position of the finger can be calculated by the touch chip according to the detected change of the self capacitance or the mutual capacitance.
Fig. 1 is a schematic diagram illustrating a conventional multi-channel touch detection system, and as shown in fig. 1, a self-capacitance or mutual capacitance detection process can determine whether each RX channel is touched by detecting an output signal of the RX channel. In particular, the multi-channel touch detection system may include a driving circuit (not shown) for generating a driving signal, which may also be referred to as a code signalTo be input to the TX channel in the touch pad. The multi-channel touch detection system may further include a capacitance detection Circuit, for example, the capacitance detection Circuit may include a Charge Amplifier (CA) and a Programmable Gain Amplifier (PGA), and for example, an Analog anti-aliasing Filter (AAF) and an Analog-to-Digital Conversion Circuit (ADC) having a low-pass characteristic. The PGA circuit may be configured to receive signals transmitted from RX channels of the touch pad, amplify the signals, and output a signal CH1To CHn(ii) a In addition, the AAF circuit can be connected with the PGA circuit and is used for filtering interference signals carried in the received electric signals; the ADC circuit may be connected to the AAF circuit for converting the analog signal into a digital signal, which may be used for touch detection.
However, with the wide application of Organic Light-Emitting Diode (OLED) screens, the difficulty of the conventional detection scheme is increasing. As shown in fig. 1, due to the large capacitance (Cg1-Cgn) of the display panel of the OLED panel, the display noise (display noise) of the touch screen, which is coupled from the cathode to the input end of the RX channel in the bright screen condition, is even larger than the RX channel signal, which greatly limits the signal-to-noise ratio of the touch detection system.
In solving the problem of screen noise interference, an improved touch detection system may be adopted, for example, fig. 2 shows a schematic diagram of any one channel in an improved touch detection system. It has been found through testing that the magnitude of the display noise is periodically related to the display refresh of the screen, and therefore, the system shown in fig. 2 takes advantage of the temporal characteristics of the screen noise. Fig. 3 is a schematic diagram showing periodic variations of different signals, in which a synchronous (Hsync) signal in fig. 3 represents an indication signal of display refresh of a touch panel, and display noise has a large amplitude near a high level of the Hsync signal and a small amplitude in the remaining periods, so that isolation control of an RX input terminal can be performed using the Hsync signal. Specifically, as shown in fig. 2 and fig. 3, a switch S1 is added to the RX input terminal, and when Hsync signal is high, S1 is turned off to disconnect the Analog Front End (AFE) from RX, so that the display noise with large amplitude does not enter the AFE part; when the level of the Hsync signal is pulled low, the control switch S1 is still turned off for a while, and then the switch S1 is turned on, so that when the switch is connected to RX, the display noise is small in amplitude. The improvement scheme can indeed optimize the signal-to-noise ratio of the touch detection system, but two problems exist in the scheme, firstly, an Hsync signal is required to be used, and a main control component of a touch screen of the electronic equipment is required to output the Hsync signal to a touch detection chip, so that the complexity of the system is increased; secondly, the refresh rate of touch detection is limited by the screen refresh rate, and the requirement of detecting the refresh rate at will cannot be met.
Therefore, the embodiment of the present application provides a method for detecting touch of multiple channels in a touch screen, which can solve the above problem based on similarity of display noise.
Fig. 4 shows a schematic flowchart of a method 100 for multi-channel touch detection in a touch screen according to an embodiment of the present application, and fig. 5 shows a multi-channel touch detection system according to an embodiment of the present application. It should be understood that all or part of the steps included in the method 100 of the embodiment of the present application may be performed by an apparatus for multiple channel touch detection in a touch screen. For example, the apparatus may include a processing unit for performing the method 100; for another example, the apparatus may include a processor, and the processor may call and execute a computer program from a memory to implement the method 100 in the embodiment of the present application, where the memory may be a separate device from the processor or may be integrated into the processor.
As shown in fig. 5, the method may be applied to the touch detection system shown in fig. 5, and in particular, may be executed by the apparatus 200 in the system, for example, the touch detection system may include a touch chip including the apparatus 200. In particular, the apparatus 200 may comprise a processor or a processing unit to perform the method 100. In addition, as shown in fig. 5, the digital signals output from the ADCs of the channels are demodulated, and the output in-phase/quadrature (I/Q) demodulated data is input to the apparatus 200 to perform the method 100.
Optionally, as shown in fig. 4, the method 100 may include: s110, obtaining a display noise coefficient of each channel in the plurality of channels, wherein the display noise coefficient of each channel represents a ratio of a display noise signal of each channel relative to a reference display noise signal. Specifically, taking the example of determining the display noise coefficient of the target channel, where the target channel is any one of the multiple channels, the S110 may specifically include: when the touch screen is not touched, determining a display noise coefficient of a target channel in a plurality of channels according to a plurality of frames of display images, wherein the display noise coefficient of the target channel represents a ratio of a display noise signal of the target channel to a reference display noise signal, and the display noise signal in the embodiment of the application is generated when the touch screen is in a bright screen state.
Specifically, the method 100 of the embodiment of the present application is mainly based on the similarity of display noise, and fig. 6 shows a simplified model diagram of the embodiment of the present application in which the display noise is coupled to the RX end, as shown in fig. 6, the display noise is approximately regarded as common mode noise in the embodiment of the present application, but because the trace resistance and the coupling capacitance of the cathode to different positions of the touch screen are different, the amplitude and the phase of the display pixel coupled to each RX end are different, so the output signal of the system shown in fig. 1 or fig. 5 can be expressed as the following formula (1):
in the embodiment of the present application, a plurality of channels are described as n channels, where n is a positive integer greater than 1; CH (CH)1To CHnRepresenting the output signal of each channel, S1To SnRepresenting signal components in the respective channels other than various noise signals, N1To NnRepresenting random noise of individual channels, e.g. N1Random noise representing the first channel, the random noise being mainly caused by the AFE itself; n is a radical ofcDisplaying the amount of noise, k, for the source1To k isnFor the scale factor of display noise coupled to the respective channel, e.g. k1Indicating the display noise figure, or k, of the first channel1Represents a ratio of the display noise signal of the first channel with respect to the reference display noise signal, and k1To k isnIs a vector, k1To k isnIndicating that the amplitude and phase of the display noise coupled to different RX channels are different. For example, with the display noise figure k of the first channel1For example, if the amplitude of the display noise signal of the first channel is half of the amplitude of the reference display noise signal and the phase of the display noise signal of the first channel differs from the phase of the reference display noise signal by 30 °, then the display noise figure k of the first channel is determined to be the same as the display noise figure k of the first channel1Can be expressed as 0.5 × e ^ (j30 °).
Therefore, according to this formula (1), the display noise coefficients k of a plurality of channels can be determined1To k isn. Specifically, S110 in the method 100 may specifically include: when the touch screen is not touched and the touch screen is in a screen resting state, determining a basic output signal of each channel in the channels according to the output signal of each channel in the channels; when the touch screen is not touched and is in a bright screen state, determining a sampling output signal of each channel corresponding to each frame of display image in the multi-frame display image; determining a display noise figure for each channel based on a difference between the sampled output signal for each channel and the base output signal for each channel.
It should be understood that when the touch screen is not touched and the touch screen is in the touch screen resting state, it can be considered that no noise is displayed in the touch detection system, i.e. N in formula (1)cThe touch screen display state is zero, wherein no image is displayed when the touch screen is in the screen resting state; also, taking a target channel of the plurality of channels as an example, an average value of the plurality of output signals of the target channel is measured, and the average value may be determined as a base output signal of the target channel, that is, a base output signal of each channel may be obtained, for example, the base output signals of 1 to n channels are respectively represented as CH herein1,b,CH2,b,CH3,b,…,CHn,b。
The duration of the preset time can be set according to practical application. For example, the preset time may be set to a longer time, and the amount of random noise may be considered to be not contained therein for the base output signal of each signal obtained within the preset time.
Therefore, in the case that the touch screen is in a bright screen state and each channel is not touched, each channel output signal can be rewritten from formula (1) to the following formula (2):
for convenience of calculation, a second reference channel may be determined among the plurality of channels, and the noise coefficient of the second reference channel may be determined as 1, that is, the noise signal of the second reference channel is determined as a reference noise signal, where the second reference channel may be any one of the plurality of channels. For example, in the embodiment of the present application, k is usednThe explanation is given by taking 1 as an example, and N is consideredn<<NcThen, the following formula (3) can be obtained according to the formula (2):
Nc≈CHn-CHn,b (3)
combining the formula (2) and the formula (3), for a target channel in the plurality of channels, if the target channel is expressed as an mth channel, and m can sequentially take any positive integer from 1 to n, the following formula (4) can be obtained:
CHm-CHm,b=km*Nc=km*(CHn-CHn,b) (4)
therefore, according to the formula (4), when the touch screen is not touched and the touch screen is in a bright screen state, the output signal of each RX channel corresponding to multiple frames of images is collected to obtain the sampling output signals CH of the multiple channels corresponding to each frame of display image in the multiple frames of display images1To CHnObtaining multiple sets of sampling output signals CH corresponding to multiple frames of images1To CHn. For example, the multiframe mapThe image may be 200 frames of images in the same environment, but the embodiment of the present application is not limited thereto.
A plurality of channels corresponding to the obtained multi-frame image adopt the output signals CH1To CHnRespectively substituted into the formula (4), and by using least square method, the display noise coefficient k corresponding to each channel can be obtained1To k isn. Wherein, in the formula (4), CHmSampling output signals of a target channel corresponding to each frame of image; CH (CH)m,bOutputting a signal for a basis of a target channel; CH (CH)nSampling output signals of a second reference channel corresponding to each frame of image; CH (CH)n,bIs the base output signal of the second reference channel, and the reference noise signal is CHn-CHn,b。
In the above process, because the number of the collected frames is large, the influence of random noise is negligible. The process of determining the noise factor of each channel can be carried out in the stage of mass production test of the chip, and the test is realized according to the actually carried touch screen and stored in the chip. The display noise coefficient of each channel is only related to the characteristics of the touch screen and basically does not change along with the change of a use picture and use time, so that the display noise coefficient can be used in the subsequent noise removing process.
As shown in fig. 4, the method 100 includes: s120, determining a noise signal of a first reference channel according to output signals of the first reference channel when the touch screen is in a bright screen state and in a screen resting state, wherein the first reference channel is any one of the channels which are not touched.
Specifically, the method 100 may further include: in the channels which are not touched in the plurality of channels, a first reference channel is determined, namely the first reference channel can be any one of the channels which are not touched. For example, the embodiment of the present application takes the first channel of the multiple channels as the first reference channel for example. From equation (2), equation (5) satisfied by the ith channel can be obtained:
CHl=CHl,b+Nl+kl*Nc (5)
according to the above formula (5), the output signal CH of the first reference channel when the touch screen is in the bright state can be obtainedlAnd the basic output signal CH of the first reference channell,bIs determined as the noise signal Δ CH of the first reference channellI.e. the noise signal Δ CH of the first reference channellSatisfies formula (6):
ΔCHl=CHl-CHl,b=Nl+kl*Nc (6)
as shown in fig. 4, the method 100 further includes: s130, determining a noise signal of the target channel according to the display noise coefficient of the target channel and the noise signal of the first reference channel; and S140, removing the noise signal of the target channel from the original output signal of the target channel to obtain the target output signal of the target channel, wherein the target output signal of the target channel is used for touch detection of the target channel, and the original output signal of the target channel is the output signal of the target channel without removing the noise signal when the touch screen is in a bright screen state.
It should be appreciated that the noise signal N of the target channel may be determined according to equation (7) belowm:
Nm=km*ΔCHl/kl (7)
Wherein k ismFor the display noise figure, k, of the target channellFor the display noise figure of the first reference channel, Δ CHlIs the noise signal of the first reference channel. Optionally, in this embodiment of the present application, the target channel may be each of the plurality of channels, or the target channel may also be another channel of the plurality of channels except for the first reference channel.
According to the noise signal N of the determined target channelmAt the original output signal CH of the target channelmRemoving the noise signal N of the target channelmThen the target output signal CH of the target channel can be obtainedm,caTarget output signal CH of the target channelm,caThe method can be used for touch detection of the target channel.
From the above equation (6), the following equation (8) can be obtained:
Nc’=(CHl-CHl,b)/kl=Nc+Nl/kl (8)
combining equations (7) and (8), if the target channel determined by the embodiment of the present application is not touched, the target output signal CH of the target channel is determinedm,caThe following formula (9) can be satisfied:
CHm,ca=CHm-km*Nc’
=CHm,b+Nm+km*Nc-km*Nc’ (9)
=CHm,b+Nm-km/kl*Nl
as can be seen from equation (9), the target output signal CH of the embodiment of the present application is processed to remove the noise signalm,caIn which only a random noise amount remains, i.e. the target channel noise signal NmAnd a noise signal N of the first reference channell. In the embodiment of the present application, the random noise amount of each channel is taken as an example, and the root mean square value is σ, so that the residual noise is σ × (1+ k)m 2/kl 2)1/2It follows that to minimize the residual noise, the first reference channel in the embodiments of the present application may select the channel displaying the largest noise figure.
For example, in 1 to n channels, if the display noise figure of each channel satisfies | k1|<|k2|<|k3|<…<|kn-1|<|knL, and k n1, then the nth channel may be selected as the first reference channel and the residual noise is σ × (1+ k)m 2)1/2Compared with display noise, the noise is greatly reduced, so that the signal-to-noise ratio of the touch detection system can be obviously improved.
Therefore, according to the method for touch detection of multiple channels in the touch screen, the display noise coefficient of each channel in the multiple channels relative to the reference display noise is respectively determined by utilizing the similarity of the display noise, and the process can be completed in a mass production test stage, so that the multi-channel touch detection chip can flexibly adapt to different carried screens; furthermore, the touch detection chip can perform noise removal operation on I/Q demodulation data obtained by the RX end according to the display noise coefficients of all channels obtained in the mass production test stage, and remove the display noise part in the AFE output signal, so that the signal-to-noise ratio of the touch detection system is greatly improved.
It should be understood that the processor of the embodiments of the present application may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be understood that the above memories are exemplary but not limiting illustrations, for example, the memories in the embodiments of the present application may also be Static Random Access Memory (SRAM), dynamic random access memory (dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (enhanced SDRAM, ESDRAM), Synchronous Link DRAM (SLDRAM), Direct Rambus RAM (DR RAM), and the like. That is, the memory in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The embodiment of the application also provides a computer readable storage medium for storing the computer program.
Optionally, the computer-readable storage medium may be applied to the apparatus for touch detection of multiple channels in a touch screen in the embodiment of the present application, and the computer program enables a computer to execute corresponding processes of the methods in the embodiment of the present application, which is not described herein again for brevity.
Embodiments of the present application also provide a computer program product comprising computer program instructions.
Optionally, the computer program product may be applied to the apparatus for touch detection of multiple channels in a touch screen in the embodiment of the present application, and the computer program instructions enable a computer to execute corresponding processes of the methods in the embodiment of the present application, which is not described herein again for brevity.
The embodiment of the application also provides a computer program.
Optionally, the computer program may be applied to the apparatus for touch detection of multiple channels in a touch screen in the embodiment of the present application, and when the computer program runs on a computer, the computer is enabled to execute corresponding processes in the methods in the embodiment of the present application, and for brevity, details are not described here again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (12)
1. A method for multi-channel touch detection in a touch screen, comprising:
determining a noise signal of a first reference channel according to output signals of the first reference channel when the touch screen is in a bright screen state and in a screen resting state, wherein the first reference channel is an untouched channel in the plurality of channels;
determining a noise signal of a target channel according to a display noise coefficient of the target channel and a noise signal of the first reference channel, wherein the display noise coefficient of the target channel represents a ratio of the display noise signal of the target channel to the reference display noise signal, and the display noise signal is generated when the touch screen is in a bright screen state;
removing the noise signal of the target channel from the original output signal of the target channel to obtain a target output signal of the target channel, wherein the target output signal of the target channel is used for touch detection of the target channel, and the original output signal of the target channel is an output signal of the target channel without removing the noise signal when the touch screen is in a bright screen state.
2. The method of claim 1, further comprising:
when the touch screen is not touched, determining a display noise coefficient of each channel in the plurality of channels according to a plurality of frames of display images, wherein the display noise coefficient of each channel represents the ratio of the display noise signal of each channel to a reference display noise signal.
3. The method of claim 2, wherein determining the display noise figure for each of the plurality of channels from a plurality of frames of display images while the touch screen is not touched comprises:
when the touch screen is not touched and the touch screen is in a screen-off state, determining a basic output signal of each channel according to the output signal of each channel;
when the touch screen is not touched and the touch screen is in a bright screen state, determining a sampling output signal of each channel corresponding to each frame of display image in the multi-frame display image;
and determining the display noise coefficient of each channel according to the difference value of the sampling output signal of each channel and the basic output signal of each channel.
4. The method of claim 3, wherein determining the base output signal of each channel according to the output signal of each channel when the touch screen is not touched and the touch screen is in a touch screen resting state comprises:
and when the touch screen is not touched and the touch screen is in a screen-off state, determining the average value of the output signals of each channel in preset time as the basic output signal of each channel.
5. The method of claim 3 or 4, wherein determining the display noise figure for each channel from the difference of the sampled output signal for each channel and the base output signal for each channel comprises:
determining a second reference channel among the plurality of channels, and determining a noise figure of the second reference channel as 1;
determining the display noise coefficient k of the target channel by adopting a least square method according to the following formula (1) and the sampling output signal of each channel corresponding to each frame of imagem:
CHm-CHm,b=km*(CHn-CHn,b) (1)
Wherein, CHmSampling output signals of the target channel corresponding to each frame of image; CH (CH)m,bOutputting a signal for a basis of the target channel; CH (CH)nSampling output signals of the second reference channel corresponding to each frame of image; CH (CH)n,bIs a basic output signal of the second reference channel, the reference noise signal is CHn-CHn,b。
6. The method according to any one of claims 3 to 5, wherein the determining the noise signal of the first reference channel according to the output signals of the first reference channel when the touch screen is in a bright screen state and in a dark screen state respectively comprises:
and determining a difference value between an output signal of the first reference channel when the touch screen is in a bright screen state and a basic output signal of the first reference channel as a noise signal of the first reference channel.
7. The method of claim 6, wherein determining the noise signal of the target channel based on the display noise figure of the target channel and the noise signal of the first reference channel comprises:
determining a noise signal N of the target channel according to the following formula (2)m:
Nm=km*ΔCHl/kl (2)
Wherein k ismFor the display noise figure, k, of the target channellDisplaying a noise figure, Δ CH, for the first reference channellIs the noise signal of the first reference channel.
8. The method of any one of claims 1 to 7, wherein the display noise figure of the first reference channel is a maximum of the display noise figures of the plurality of channels.
9. The method of any one of claims 1 to 8, wherein the first reference channel is different from the target channel.
10. An apparatus for multi-channel touch detection in a touch screen, comprising: a processing unit for performing the method of any of the preceding claims 1 to 9.
11. An apparatus for multi-channel touch detection in a touch screen, comprising: a processor and a memory for storing a computer program, the processor being configured to invoke and execute the computer program stored in the memory to perform the method of any of claims 1 to 9.
12. A computer-readable storage medium for storing a computer program which causes a computer to perform the method of any one of claims 1 to 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110272060.9A CN112860121B (en) | 2021-03-12 | Method and device for touch detection of multiple channels in touch screen | |
PCT/CN2021/106281 WO2022188325A1 (en) | 2021-03-12 | 2021-07-14 | Method and apparatus for touch detection of multiple channels in touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110272060.9A CN112860121B (en) | 2021-03-12 | Method and device for touch detection of multiple channels in touch screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112860121A true CN112860121A (en) | 2021-05-28 |
CN112860121B CN112860121B (en) | 2024-07-26 |
Family
ID=
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113514673A (en) * | 2021-09-14 | 2021-10-19 | 苏州华兴源创科技股份有限公司 | Touch channel switching circuit, device and detection system |
CN114138131A (en) * | 2021-11-04 | 2022-03-04 | 深圳市鸿合创新信息技术有限责任公司 | Touch data acquisition gain adjustment method, device and circuit and touch equipment |
WO2022188325A1 (en) * | 2021-03-12 | 2022-09-15 | 深圳市汇顶科技股份有限公司 | Method and apparatus for touch detection of multiple channels in touch screen |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110193817A1 (en) * | 2010-02-05 | 2011-08-11 | Samsung Electronics Co., Ltd. | Method and apparatus compensating noise in touch panel |
CN102262490A (en) * | 2010-04-22 | 2011-11-30 | 马克西姆综合产品公司 | Use of random sampling technique to reduce finger-coupled noise |
CN104461192A (en) * | 2013-09-25 | 2015-03-25 | 乐金显示有限公司 | Touch screen driving device |
CN107636596A (en) * | 2017-08-01 | 2018-01-26 | 深圳市汇顶科技股份有限公司 | Determination method, capacitance touch-control device and the capacitance touching control terminal of position of touch |
CN108111672A (en) * | 2017-11-29 | 2018-06-01 | 广东欧珀移动通信有限公司 | Anti-interference method, electronic device and computer readable storage medium |
CN109521937A (en) * | 2018-11-22 | 2019-03-26 | 维沃移动通信有限公司 | A kind of control method for screen display and mobile terminal |
CN110462571A (en) * | 2019-04-15 | 2019-11-15 | 深圳市汇顶科技股份有限公司 | The capacitance determining method of touch-control display panel, the capacitive detection circuit of touch-control display panel and touch-control display panel |
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110193817A1 (en) * | 2010-02-05 | 2011-08-11 | Samsung Electronics Co., Ltd. | Method and apparatus compensating noise in touch panel |
CN102262490A (en) * | 2010-04-22 | 2011-11-30 | 马克西姆综合产品公司 | Use of random sampling technique to reduce finger-coupled noise |
CN104461192A (en) * | 2013-09-25 | 2015-03-25 | 乐金显示有限公司 | Touch screen driving device |
CN107636596A (en) * | 2017-08-01 | 2018-01-26 | 深圳市汇顶科技股份有限公司 | Determination method, capacitance touch-control device and the capacitance touching control terminal of position of touch |
CN108111672A (en) * | 2017-11-29 | 2018-06-01 | 广东欧珀移动通信有限公司 | Anti-interference method, electronic device and computer readable storage medium |
CN109521937A (en) * | 2018-11-22 | 2019-03-26 | 维沃移动通信有限公司 | A kind of control method for screen display and mobile terminal |
CN110462571A (en) * | 2019-04-15 | 2019-11-15 | 深圳市汇顶科技股份有限公司 | The capacitance determining method of touch-control display panel, the capacitive detection circuit of touch-control display panel and touch-control display panel |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022188325A1 (en) * | 2021-03-12 | 2022-09-15 | 深圳市汇顶科技股份有限公司 | Method and apparatus for touch detection of multiple channels in touch screen |
CN113514673A (en) * | 2021-09-14 | 2021-10-19 | 苏州华兴源创科技股份有限公司 | Touch channel switching circuit, device and detection system |
CN114138131A (en) * | 2021-11-04 | 2022-03-04 | 深圳市鸿合创新信息技术有限责任公司 | Touch data acquisition gain adjustment method, device and circuit and touch equipment |
CN114138131B (en) * | 2021-11-04 | 2024-04-09 | 深圳市鸿合创新信息技术有限责任公司 | Touch data acquisition gain adjustment method, device, circuit and touch equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112947791A (en) | Method and device for multi-channel touch detection in touch screen | |
US10558302B2 (en) | Coded integration of a self-capacitance array | |
US8664548B2 (en) | Touch controller with improved diagnostics calibration and communications support | |
KR101614261B1 (en) | Phase compensation for multi-stimulus controller | |
CN108170315B (en) | Sensing device capable of resending driving signal | |
US10067575B2 (en) | Noise correction for stylus applications on tablets and other touch devices | |
TWI514224B (en) | Touch sensor system and electronic device | |
JP2018536210A (en) | Capacitance measurement device with reduced noise | |
US9753583B2 (en) | Method of scanning touch panel and touch integrated circuit for performing the same | |
US20150338993A1 (en) | Method of Determining Touch Event in Touch Detection System | |
WO2022188325A1 (en) | Method and apparatus for touch detection of multiple channels in touch screen | |
CN111522459A (en) | Driving and detecting terminals of capacitive sensing array using differential sensing | |
KR101526168B1 (en) | Effective method for removing noise in capacitive touch sensor and the touch screen device thereof | |
CN111819528A (en) | Capacitance detection circuit, touch chip and electronic equipment | |
CN111902801B (en) | Capacitance detection circuit, touch chip and electronic equipment | |
CN112860121B (en) | Method and device for touch detection of multiple channels in touch screen | |
CN112860121A (en) | Method and device for multi-channel touch detection in touch screen | |
CN113316759B (en) | Capacitance detection circuit, touch chip and electronic equipment | |
EP3462292B1 (en) | Method for determining touch position and touch control chip | |
US20180284172A1 (en) | Sensor system and sensing method | |
US10606409B2 (en) | Method of processing sensing signals and related processor | |
CN116048294A (en) | Touch detection device, electronic equipment and touch detection method | |
JP5704081B2 (en) | Data collection device | |
US9329722B2 (en) | Capacitive touch system and method with auto-calibration | |
US10209827B1 (en) | Dynamic adjustment of demodulation waveform |
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 | ||
GR01 | Patent grant |