WO2022188325A1 - Method and apparatus for touch detection of multiple channels in touch screen - Google Patents

Method and apparatus for touch detection of multiple channels in touch screen Download PDF

Info

Publication number
WO2022188325A1
WO2022188325A1 PCT/CN2021/106281 CN2021106281W WO2022188325A1 WO 2022188325 A1 WO2022188325 A1 WO 2022188325A1 CN 2021106281 W CN2021106281 W CN 2021106281W WO 2022188325 A1 WO2022188325 A1 WO 2022188325A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
target
noise
channels
output signal
Prior art date
Application number
PCT/CN2021/106281
Other languages
French (fr)
Chinese (zh)
Inventor
孔晨阳
Original Assignee
深圳市汇顶科技股份有限公司
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
Priority claimed from CN202110272060.9A external-priority patent/CN112860121A/en
Priority claimed from CN202110272072.1A external-priority patent/CN112947791B/en
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Publication of WO2022188325A1 publication Critical patent/WO2022188325A1/en

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

Definitions

  • the embodiments of the present application relate to the field of electronic devices, and more particularly, to a method and apparatus for touch detection of multiple channels in a touch screen.
  • Capacitive sensors are widely used in electronic products for touch detection.
  • a conductor such as a finger touches or approaches the detection electrode in the touch screen of the electronic device
  • the capacitance corresponding to the detection electrode will change.
  • the user's operation is touch detection or touch detection.
  • the noise generated by the touch screen of the electronic device will affect the above detection result. Therefore, how to reduce the influence of touch screen noise on capacitance detection has become an urgent problem to be solved.
  • the present application provides a method and device for touch detection of multiple channels in a touch screen, which can improve the efficiency of touch detection.
  • a first aspect provides a method for touch detection of multiple channels in a touch screen, the method comprising: according to a first reference channel, when the touch screen is in a screen-on state and in a screen-off state, respectively. outputting a signal, and determining a noise signal of the first reference channel, where the first reference channel is an untouched channel among the multiple channels; according to the displayed noise figure of the target channel among the multiple channels and the The noise signal of the first reference channel is used to determine the noise signal of the target channel, wherein the display noise figure of the target channel represents the 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 the bright screen state; the noise signal of the target channel is removed from the original output signal of the target channel to obtain the target output signal of the target channel, and the The target output signal is used for touch detection of the target channel, and the original output signal of the target channel is the output signal when the target channel does not remove the noise signal when the touch screen is in a bright screen state.
  • the display noise coefficient of each channel in the multiple channels relative to the reference display noise is determined by using the similarity of display noise. It can be completed in the mass production test stage, so that the multi-channel touch detection chip can flexibly adapt to different mounted screens; further, the touch detection chip can noise the output signal according to the display noise figure of each channel obtained in the mass production test stage.
  • the removal operation removes the display noise part in the output signal, thereby greatly improving the signal-to-noise ratio of the touch detection system, thereby improving the efficiency of touch detection.
  • the method further includes: when the touch screen is not touched, determining, according to multiple frames of display images, a A display noise figure, the display noise figure for each channel, represents a ratio of the display noise signal for each channel relative to a reference display noise signal.
  • the touch screen when the touch screen is not touched, determine each of the multiple channels according to multiple frames of display images.
  • the display noise figure of the channel includes: determining the 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 an off-screen state; When the touch screen is not touched and the touch screen is in a bright screen state, determine the sampling output signal of each channel corresponding to each frame of display image in the multi-frame display images; The difference between the sampled output signal of the channel and the basic output signal of each channel determines the display noise figure of each channel.
  • each of the The output signal of the channel includes: when the touch screen is not touched and the touch screen is in an off-screen state, setting each channel within a preset time The average value of the output signal is determined as the base output signal for each channel.
  • determining the The display noise figure of each channel includes: determining a second reference channel among the plurality of channels, and determining the noise figure of the second reference channel to be 1; according to the following formula (a), and the For the sampled output signal of each channel corresponding to each frame of image, the least squares method is used to determine the display noise coefficient km of the target channel:
  • CH m is the sampling output signal of the target channel corresponding to each frame of image
  • CH m,b is the basic output signal of the target channel
  • CH n is the second reference corresponding to each frame of image
  • CH n,b is the basic output signal of the second reference channel
  • the reference display noise signal is CH n -CH n,b .
  • Determining the noise signal of the first reference channel includes: taking the difference between the output signal of the first reference channel when the touch screen is in the bright screen state and the basic output signal of the first reference channel, Determined as the noise signal of the first reference channel.
  • the determination of the The noise signal includes: determining the noise signal N m of the target channel according to the following formula (b):
  • k m is the display noise figure of the target channel
  • k l is the display noise figure of the first reference channel
  • ⁇ CH l is the noise signal of the first reference channel.
  • the display noise figure of the first reference channel is a maximum value of the display noise figures of the multiple channels.
  • the first reference channel is different from the target channel.
  • the method further includes: determining an untouched channel among the plurality of channels as the first reference channel.
  • the determining that an untouched channel among the multiple channels is the first reference channel includes: according to the first The output signals of the channels when the touch screen is in the bright screen state and the screen off state respectively, determine the noise signal of the first channel, and the first channel is any channel among the plurality of channels; according to The displayed noise figure of each of the at least two target channels and the noise signal of the first channel are determined, and the noise signal of each target channel is determined, and the at least two target channels are the phase in the plurality of channels.
  • the display noise figure of each target channel represents the ratio of the display noise signal of each target channel to the reference display noise signal, and the display noise signal is in the touch screen at the touch screen.
  • the display noise coefficient of each channel in the multiple channels relative to the reference display noise is determined by using the similarity of display noise. It can be completed in the mass production testing stage, so that the multi-channel touch detection chip can be flexibly adapted to different mounted screens; further, the first channel is selected as the first reference channel among the multiple channels, and the display noise figure based on the first channel is displayed. , to remove noise from the output signals of other channels. When the selected first channel is touched, if touch detection is performed on the output signals of the other determined channels, misjudgment will occur, so the selected channel can be determined according to the noise-removed output signals of the other channels.
  • the first channel can be used as the first reference channel, and touch detection can be performed based on the noise-removed output signals of other channels; but if the selected first channel is touched , then you can re-select the new channel as the first reference channel to re-determine the output signals of other channels after noise removal, until it is determined that the selected new channel is not touched, you can use it as the first reference channel, And based on the untouched first reference channel, noise is removed from the remaining channels, so as to perform touch detection on the output signal after the noise is removed.
  • the above calculation process is relatively simple, and can avoid the misjudgment of touch detection when the selected first reference channel is touched, and greatly improves the feasibility of practical use on the premise of improving the accuracy of touch detection.
  • the method further includes: if it is determined that the first channel is touched, determining, among the plurality of channels, whether the second channel is touched If it is touched, the first channel is different from the second channel; if it is determined that the second channel is not touched, the second channel is determined as the first reference channel.
  • the second The displayed noise figure of the channel is the maximum value.
  • the at least two target channels include adjacent first target channels and second target channels, and the at least two target channels
  • the target output signals of the at least two target channels, the basic output signals of the at least two target channels, and the display noise figures of the at least two target channels, and determining whether the first channel is touched includes: if the first target channel is touched The channel satisfies the following formula (c), and it is determined that the first target channel satisfies the preset condition,
  • CH m,ca is the target output signal of the first target channel
  • CH m,b is the basic output signal of the first target channel
  • CH m-1,ca is the target output of the second target channel signal
  • CH m-1,b is the basic output signal of the second target channel
  • km is the displayed noise figure of the first target channel
  • km -1 is the displayed noise figure of the second target channel
  • Slope_th1 and Slope_th2 are two preset thresholds; determine the number of channels that satisfy the preset condition in the other channels except the first channel among the multiple channels; if the other channels satisfy the preset condition
  • the ratio of the number of conditional channels to the total number of the plurality of channels is greater than or equal to a preset value, and it is determined that the first channel is touched, or, if the channel that satisfies the preset condition among the other channels
  • the ratio of the number to the total number of the multiple channels is less than the preset value, and it is determined that the first channel is not touched.
  • the preset value is 1/2 or 2/3.
  • the determining is determined according to the output signals of the first channel when the touch screen is in a screen-on state and a screen-off state, respectively.
  • the noise signal of the first channel includes: when the touch screen is not touched and the touch screen is in an off-screen state, determining the basis of the first channel according to the output signal of the first channel Output signal; determine the difference between the output signal of the first channel when the touch screen is in the bright screen state and the basic output signal of the first channel as the noise signal of the first channel.
  • the determination is based on the displayed noise figure of each of the at least two target channels and the noise signal of the first channel.
  • the noise signal of each target channel includes: according to the following formula (d), determining the noise signal N m of the mth target channel in the at least two target channels:
  • k m is the display noise figure of the mth target channel
  • k l is the display noise figure of the first channel
  • ⁇ CH l is the noise signal of the first channel.
  • the display noise figure of the first channel is the maximum value of the display noise figures of the multiple channels.
  • the first channel is different from the at least two target channels.
  • an apparatus for touch detection of multiple channels in a touch screen which is used to execute the method in the first aspect or any possible implementation manner of the first aspect.
  • the apparatus includes a unit for performing the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
  • a device for touch detection of multiple channels in a touch screen including: a storage unit and a processor, where the storage unit is used for storing instructions, and the processor is used for executing the instructions stored in the memory, And when the processor executes the instructions stored in the memory, the execution causes the processor to perform the method of the first aspect or any possible implementation of the first aspect.
  • a computer-readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
  • a fifth aspect provides a computer program product comprising instructions, when a computer runs the instructions of the computer program product, the computer executes the above-mentioned first aspect or any possible implementation of the first aspect.
  • FIG. 1 is a schematic diagram of a conventional multi-channel touch detection system.
  • FIG. 2 is a schematic diagram of any channel in the improved multi-channel touch detection system.
  • FIG. 3 is a schematic diagram of periodic changes of different signals.
  • FIG. 4 is a schematic flowchart of a method for touch detection of multiple channels in a touch screen according to an embodiment of the present application.
  • 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.
  • FIG. 7 is a schematic diagram of touch amounts of multiple channels according to an embodiment of the present application.
  • FIG. 8 is another schematic diagram of a touch amount of a plurality of channels according to an embodiment of the present application.
  • FIG. 9 is another schematic flowchart of a method for touch detection of multiple channels in a touch screen according to an embodiment of the present application.
  • FIG. 10 is still another schematic diagram of touch amounts of multiple channels according to an embodiment of the present application.
  • a touch screen of an electronic device is usually provided with two layers of channels, horizontal and vertical, for example, they may be referred to as RX channels and TX channels, respectively, for touch detection.
  • Touch detection usually includes self-capacitance detection and mutual capacitance detection. Specifically, when performing self-capacitance detection, the touch-control chip scans the variation of the self-capacitance to ground of each horizontal channel and vertical channel. When a finger approaches or touches, the self-capacitance of the channel near the finger becomes larger.
  • the driving channel such as the TX channel
  • the other layer of the channel is used as the sensing channel (such as the RX channel).
  • the touch chip detects the mutual capacitance between the TX channel and the RX channel. Changes.
  • the touch chip can calculate the touch position of the finger according to the detected change of the self-capacitance or mutual capacitance.
  • Figure 1 shows a schematic diagram of a traditional multi-channel touch detection system.
  • the output signal of each RX channel can be detected to determine whether the channel is touched.
  • the multi-channel touch detection system may include a driving circuit (not shown in the figure) for generating a driving signal.
  • the driving signal may also be called a coding signal, and the coding signal may be input to the touch panel TX channel in .
  • the multi-channel touch detection system may further include a capacitance detection circuit, for example, the capacitance detection circuit may include a charge amplifier (Charge amplifier, CA) and a programmable gain amplifier (Programmable Gain Amplifier, PGA), for example, may also include a Low-pass characteristics of the analog anti-aliasing filter (Analog Antialiasing Filter, AAF) and analog-to-digital conversion circuit (Analog to Digital Conversion Circuit, ADC) and so on.
  • a capacitance detection circuit may include a charge amplifier (Charge amplifier, CA) and a programmable gain amplifier (Programmable Gain Amplifier, PGA), for example, may also include a Low-pass characteristics of the analog anti-aliasing filter (Analog Antialiasing Filter, AAF) and analog-to-digital conversion circuit (Analog to Digital Conversion Circuit, ADC) and so on.
  • AAF Analog Antialiasing Filter
  • ADC Analog to Digital Conversion Circuit
  • the PGA circuit can be used to receive the signals transmitted from each RX channel in the touch panel, and after amplifying it, output signals CH 1 to CH n ; in addition, the AAF circuit can be connected to the PGA circuit for filtering out The interference signal carried in the received electrical signal; the ADC circuit can be connected with the AAF circuit to convert the analog signal into a digital signal, and the digital signal can be used for touch detection.
  • FIG. 2 shows a schematic diagram of any channel in an improved touch detection system. After testing, it is found that the amplitude of the display noise is related to the display refresh cycle of the screen. Therefore, the system shown in Figure 2 utilizes the time-domain characteristics of the screen noise.
  • Fig. 3 shows a schematic diagram of periodic changes of different signals, wherein the synchronization (Hsync) signal in Fig.
  • the Hsync signal can be used for isolation control of the RX input.
  • a switch S1 is added to the RX input end, and when the Hsync signal is at a high level, S1 is disconnected to disconnect the analog front end (Active Front End, AFE) and the RX connection, So that the display noise with a large amplitude does not enter the AFE part, and when the level of the Hsync signal is pulled down, the control switch S1 remains off for a period of time, and then the switch S1 is turned on, so as to ensure that when it is connected to RX, the display The noise is small in magnitude.
  • This improved solution can indeed optimize the signal-to-noise ratio of the touch detection system, but there are two problems in this solution.
  • the refresh rate of touch detection is limited by the refresh rate of the screen, which cannot meet the needs of arbitrary detection refresh rates.
  • an embodiment of the present application proposes a method for touch detection of multiple channels in a touch screen, which can solve the above problems based on the similarity of display noise.
  • FIG. 4 shows a schematic flowchart of a method 100 for touch detection of multiple channels in a touch screen according to an embodiment of the present application
  • FIG. 5 shows a multi-channel touch detection system according to an embodiment of the present application.
  • the apparatus may include a processing unit, and the processing unit is configured to execute the method 100;
  • the apparatus may include a processor, and the processor may call and run a computer program from a memory to implement the method in the embodiments of the present application 100, wherein the memory may be a separate device independent of the processor, or may be integrated in the processor.
  • the method can be applied to the touch detection system shown in FIG. 5 .
  • the touch detection system can include a touch chip
  • the The touch chip includes the device 200 .
  • the apparatus 200 may include a processor or a processing unit to perform the method 100 .
  • the digital signal output by the ADC of each channel will undergo demodulation processing, and the output in-phase/quadrature (I/Q) demodulated data is input to the device 200 , to perform the method 100 .
  • the method 100 may include: S110 , acquiring the display noise figure of each channel in the multiple channels, wherein the display noise figure of each channel indicates that the display noise signal of each channel is relative to the display noise signal of each channel.
  • the reference shows the ratio of the noise signal.
  • the S110 may specifically include: when the touch screen is not touched, according to multiple frames of display images, determining The display noise figure of the target channel among the multiple channels, wherein the display noise figure of the target channel represents the ratio of the display noise signal of the target channel to the reference display noise signal. Generated when the screen is on.
  • FIG. 6 shows a schematic diagram of a simplified model of the displayed noise coupled to the RX terminal in the embodiment of the present application.
  • the The display noise is approximately considered to be common mode noise, but due to the difference in the trace resistance and coupling capacitance from the cathode to the touch screen at different positions, the amplitude and phase of the display pixels coupled to each RX terminal are different. Therefore, Figure 1 or The output signal of the system shown in Figure 5 is represented by the following equation (1):
  • the multiple channels are n channels as an example for description, and n is a positive integer greater than 1; CH 1 to CH n represent the output signals of each channel, and S 1 to Sn represent the output signals of each channel except for Signal components other than various noise signals, N 1 to N n represent the random noise of each channel, for example, N 1 represents the random noise of the first channel, the random noise is mainly caused by the AFE itself; N c is the source display noise amount , k 1 to k n are the proportional coefficients of the display noise coupled to each channel, for example, k 1 represents the display noise figure of the first channel, or k 1 represents the relative display noise signal of the first channel In reference to the ratio of the display noise signal, and k 1 to k n are vectors, k 1 to k n indicate that the amplitude and phase of the display noise coupled to different RX channels are different.
  • the display noise figure k 1 of the first channel can be expressed as 0.5*e ⁇ (j30°).
  • the display noise figures k 1 to k n of the plurality of channels can be determined.
  • S110 in the method 100 may specifically include: when the touch screen is not touched and the touch screen is in an off-screen state, according to the output signal of each channel in the plurality of channels, determining the output signal of each channel in the plurality of channels.
  • Basic output signal when the touch screen is not touched and the touch screen is on, determine the sampling output signal of each channel corresponding to each frame of the display image in the multi-frame display image; according to the sampling output signal of each channel and the The difference between the underlying output signals for each channel determines the displayed noise figure for each channel.
  • N c in formula (1) is equal to zero, wherein the touch screen is in the screen-off state.
  • No image is displayed during the preset time; and, within the preset time, taking the target channel among the multiple channels as an example, the average value of the multiple output signals of the target channel is measured, and the average value can be determined as the basic output signal of the target channel , that is, the basic output signal of each channel can be obtained.
  • the basic output signals of 1 to n channels are represented as CH 1,b , CH 2,b , CH 3,b , . . . , CH n,b respectively here.
  • the duration of the preset time may be set according to actual applications.
  • the preset time may be set as a relatively long time, and for the basic output signal of each signal obtained within the preset time, it may be considered that the amount of random noise is not included therein.
  • a second reference channel may be determined from multiple channels, and the noise figure of the second reference channel is determined to be 1, that is, the noise signal of the second reference channel is determined as the reference display noise signal, wherein the second reference channel
  • the reference channel can be any one of multiple channels.
  • k n 1 is used as an example for description in the embodiments of the present application.
  • formula (3) can be obtained according to formula (2):
  • the output signal of each RX channel corresponding to the multi-frame image is collected to obtain the display of each frame in the multi-frame display image.
  • the sampling output signals CH 1 to CH n of the multiple channels corresponding to the image that is, to obtain multiple sets of the output signals CH 1 to CH n corresponding to the multiple frames of images.
  • the multiple frames of images may be 200 frames of images in the same environment, but the embodiment of the present application is not limited thereto.
  • the process of determining the display noise figure of each channel can be carried out in the mass production test stage of the touch chip, and the test is carried out according to the actual mounted touch screen, and stored in the touch chip. Since the display noise figure of each channel is only related to the characteristics of the touch screen itself, it basically does not change with the change of the used screen and the use time, so it can be used in the subsequent noise removal process.
  • the method 100 includes: S120 , determining a noise signal of the first reference channel according to the output signals of the first reference channel when the touch screen is in the bright screen state and the screen off state, respectively, wherein the first reference channel is A reference channel is any one of the channels that is not touched.
  • the method 100 may further include: determining a first reference channel in an untouched channel among the multiple channels, that is, the first reference channel may be any untouched channel among the multiple channels.
  • the embodiment of the present application is described by taking the selection of the 1 th channel among the multiple channels as the first reference channel as an example. According to formula (2), formula (5) satisfied by the lth channel can be obtained:
  • the difference between the output signal CH1 of the first reference channel when the touch screen is in the bright screen state and the basic output signals CH1 ,b of the first reference channel can be determined as the first
  • the noise signal ⁇ CH l of the reference channel that is, the noise signal ⁇ CH l of the first reference channel, satisfies formula (6):
  • the method 100 further includes: S130, determining the noise signal of the target channel according to the displayed noise figure of the target channel and the noise signal of the first reference channel; S140, removing the target channel from the original output signal of the target channel
  • the noise signal of the target channel can be obtained to obtain the target output signal of the target channel.
  • the target output signal of the target channel is used for touch detection of the target channel.
  • the original output signal of the target channel is that the target channel does not remove noise when the touch screen is in the bright state. signal output signal.
  • the noise signal N m of the target channel can be determined according to the following formula (7):
  • N m km * ⁇ CH l / k l (7)
  • the target channel may be each channel in the plurality of channels, or the target channel may also be another channel in the plurality of channels except the first reference channel.
  • the target output signal CH m ,ca of the target channel can be obtained.
  • the output signal CH m,ca can be used for touch detection of the target channel.
  • the random noise amount of each channel is the same as an example, the root mean square value is ⁇ , and the residual noise is ⁇ *(1+km 2 / k l 2 ) 1/2 . It can be seen that, in order to make The residual noise is the smallest, and the first reference channel in this embodiment of the present application can select the channel showing the largest noise figure.
  • the nth channel can be selected as the first reference channel, then the residual noise is ⁇ *(1+ km 2 ) 1/2 , which is greatly reduced compared to the display noise, which can significantly improve the The signal-to-noise ratio of the touch detection system.
  • the display noise coefficient of each channel in the multiple channels relative to the reference display noise is determined by using the similarity of display noise. It can be completed in the mass production test stage, so that the multi-channel touch detection chip can flexibly adapt to different mounted screens; further, the touch detection chip can be based on the display noise figure of each channel obtained in the mass production test stage.
  • the I/Q demodulation data performs noise removal operation to remove the display noise in the AFE output signal, thereby greatly improving the signal-to-noise ratio of the touch detection system. Compared with the traditional detection system, it solves the problem of touch under the bright screen. In addition to the problem of poor signal-to-noise ratio in detection, a synchronization signal for display refresh of the touch screen is not required, so that the data refresh rate of touch detection is not limited by the display refresh rate, and is more flexible and accurate.
  • the first reference channel in the method 100 is an untouched channel among the multiple channels, and the above formula (9) is: A formula that is satisfied when the target channel is not touched.
  • the target output signal CH m,ca of the target channel can satisfy the following formula (10 ):
  • the m can be a positive integer from 1 to n in turn;
  • the following formula (11) can be used to determine whether the target channel is touched:
  • VTH1 and VTH2 are two preset thresholds, and According to practical applications, VTH1 can be set to any positive number, and VTH2 can be set to any negative number. For example, VTH1 and VTH2 can be opposite numbers to each other.
  • the target output signal CH m,ca of the target channel satisfies any one of the two inequalities included in the above formula (11), it can be determined that the target channel is touched.
  • the channel is touched; on the contrary, if the target output signal CH m,ca of the target channel does not satisfy the above formula (11), the target channel can be determined Not touched, for example, the other channels except the mth channel in FIG. 7 do not satisfy the two formulas in the formula (11), therefore, the other channels are not touched.
  • the premise of the above-mentioned touch detection of the target channel is that the first reference channel is not touched, but on the contrary, if the first reference channel is the touched channel, it may cause a misjudgment of touch detection.
  • , k n 1 as an example, and use the nth channel as the first reference channel.
  • the touch amount of the nth channel is expressed as ⁇ S n , then with reference to formula (5), the The nth channel satisfies the following formula (12):
  • FIG. 8 shows a schematic diagram of possible misjudgments in multi-channel touch detection according to an embodiment of the present application. In the case shown in FIG.
  • the two dots in the dotted circle represent the mth The channel and the nth channel, the mth channel and the nth channel are actually the touched channel, but since the touched nth channel is selected as the first reference channel, according to formula (14), the target output signal CH An additional touch amount of the first reference channel is added to m,ca . If the calculation is still performed by formula (11), the mth channel will be misjudged as an untouched channel, and the others are not actually touched. channel, but it will be misjudged as a touch channel.
  • an embodiment of the present application proposes a method for touch detection of multiple channels in a touch screen, which can solve this problem.
  • FIG. 9 shows a schematic flowchart of a method 300 for touch detection of multiple channels in a touch screen according to an embodiment of the present application.
  • the method 100 is similar, and all or part of the steps included in the method 300 in this embodiment of the present application may be performed by an apparatus for touch detection of multiple channels in a touch screen.
  • the apparatus may include a processing unit, and the processing unit is configured to execute the method 300; for another example, the apparatus may include a processor, and the processor may call and run a computer program from a memory to implement the method in the embodiments of the present application 300, wherein the memory may be a separate device independent of the processor, or may be integrated in the processor.
  • the method can be applied to the touch detection system shown in FIG. 5 .
  • the touch detection system can include a touch chip
  • the The touch chip includes the device 200 .
  • the apparatus 200 may include a processor or a processing unit to perform the method 300 .
  • the digital signals output by the ADCs of each channel are subjected to demodulation processing, and the output I/Q demodulated data is input to the device 200 to execute the method 300 .
  • the method 300 includes: S310 , acquiring the display noise figure of each channel in the multiple channels.
  • the S310 may specifically include: when the touch screen is not touched, according to the multi-frame display images, determine the target channel of each of the at least two target channels.
  • the noise figure is displayed, wherein the at least two target channels are any adjacent at least two channels among the plurality of channels, that is, the at least two target channels are at least two adjacent or consecutive channels in the plurality of channels in position,
  • the display noise figure of each target channel represents the ratio of the display noise signal of each 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.
  • S310 may correspond to S110 in the foregoing method 100, and is applicable to the relevant descriptions in S110, and for brevity, details are not repeated here.
  • the method 300 further includes: S320 : Determine the noise signal of the first reference channel according to the output signals of the first reference channel when the touch screen is in the bright screen state and the screen off state, respectively, and the first reference channel
  • the channel is the first channel of the plurality of channels.
  • S320 may correspond to S120 in the foregoing method 100, and is applicable to the relevant descriptions in S120, and for the sake of brevity, details are not repeated here.
  • the difference between S320 and S120 is that the first reference channel in S320 can be any one of the plurality of channels.
  • the first reference channel is the first channel of the plurality of channels as an example, that is,
  • the first reference channel in S320 is the first channel
  • the first channel may be the touched channel, or may also be the untouched channel
  • the first reference channel in S120 is the untouched channel.
  • the method 300 further includes: S330 , determining the noise signal of each target channel according to the displayed noise figure of each target channel and the noise signal of the first reference channel.
  • S330 may correspond to S130 in the foregoing method 100, and is applicable to the relevant description in S130, and for the sake of brevity, details are not repeated here.
  • the method 300 further includes: S340 , remove the noise signal of each target channel from the original output signal of each target channel, so as to obtain the target output signal of each target channel, the original output signal of each target channel
  • the output signal is the output signal when the noise signal is not removed from each target channel when the touch screen is in the bright state. It should be understood that the process of determining the target output signal of the target channel in S340 may correspond to S140 in the above-mentioned method 100, and is applicable to the relevant description in S140, which is not repeated here for brevity.
  • the difference between S340 and S140 is that since the first reference channel determined in the method 300 may be touched, the target output signal of the target channel determined in S340 may not be directly used for touch detection, but continue to execute Other steps in the method 300, such as S350 or other steps.
  • the method 300 further includes: S350, according to the target output signals of the at least two target channels, the basic output signals of the at least two target channels, and the display noise figures of the at least two target channels, determine the first Whether a reference channel is touched, the basic output signal of each target channel is the output signal of each target channel when the touch screen is in an off-screen state and not touched.
  • S350 according to the target output signals of the at least two target channels, the basic output signals of the at least two target channels, and the display noise figures of the at least two target channels, determine the first Whether a reference channel is touched, the basic output signal of each target channel is the output signal of each target channel when the touch screen is in an off-screen state and not touched.
  • the first target channel Satisfying the following formula (15) it can be determined that the first target channel satisfies the preset condition
  • CH m,ca is the target output signal of the first target channel, that is, the output signal after noise removal based on the first reference channel
  • CH m,b is the basic output signal of the first target channel
  • CH m-1,ca is the target output signal of the second target channel adjacent to the first target channel, that is, the output signal of the second target channel after removing noise based on the first reference channel
  • CH m-1,b is the basis of the second target channel Output signal
  • km is the displayed noise figure of the first target channel
  • km -1 is the displayed noise figure of the second target channel
  • Slope_th1 and Slope_th2 are two preset thresholds, and these two preset thresholds can be applied according to actual applications It is set to any value, and the embodiment of the present application is not limited to this.
  • can be further determined, correspondingly, Slope_th2 ⁇ Slope in the formula (15) m ⁇ Slope_th1 can be used to indicate whether the value of sign(real(Slope m )*
  • the two preset thresholds can be based on actual The application is set to a real number, but the embodiment of the present application is not limited to this.
  • m can be sequentially taken as a positive integer from 1 to n, and because the random noise N is much smaller than the touch amount ⁇ S of each channel, where ⁇ S m-1 represents the touch amount of the m-1th channel , so the random noise term can be ignored first.
  • Slope m of the mth channel it can be determined whether the channel is touched.
  • FIG. 10 shows a schematic diagram of whether multiple channels meet the preset conditions in the embodiment of the present application, wherein “S” on the ordinate in FIG. 10 represents the sign(real(Slope m )*
  • Touch detection can be performed by using the above formula (15) to determine whether each channel in the multiple channels is touched, and the process may not be limited by whether the first reference channel is touched. However, considering that there may be accidental interference, some channels still satisfy the above formula (15) when they are touched, or some channels do not satisfy the above formula (15) when they are not touched, so this formula ( 15) Determine whether the channel is touched, but further determine whether the selected first reference channel is touched.
  • the ratio of the number of channels that meet the preset conditions in the other channels to the total number of multiple channels is greater than or equal to the preset value, it is determined that the first reference channel is touched; on the contrary, if the channels that meet the preset conditions in the other channels are touched The ratio of the number to the total number of multiple channels is less than the preset value, and it is determined that the first reference channel is not touched.
  • the ratio of the touched channel to the total number of channels is relatively small, so the ratio of 1/2 or 1/3 can be used to determine whether the first reference channel is touched, that is, the preset value. It may be 1/2 or 2/3; or, the preset value may also be determined as other values according to practical applications, but the embodiment of the present application is not limited to this.
  • the method 300 further includes: S360, if it is determined that the first reference channel is not touched, perform touch detection on at least two target channels according to the target output signals of the at least two target channels; on the contrary, if It is determined that the first reference channel is touched, and the first reference channel is updated to a second channel among the plurality of channels, and the first channel is different from the second channel.
  • the first channel among the multiple channels is selected as the first reference channel, for example, the first channel may be the nth channel TX n , if it is determined that the first reference channel is not touched, Then, the target output signal of the determined target channel can be subjected to touch detection.
  • touch detection can be performed according to the above formula (11), and the target output signal of the target channel has been removed from the noise signal.
  • the first reference channel may be re-determined among the multiple channels, for example, the second channel among the multiple channels is determined as the new first reference channel, and the above method is used. 300 Redetermines whether the new first reference channel is touched. By analogy, until the determined first reference channel is not touched, the target output signal of the target channel determined according to the untouched first reference channel can be used for touch detection.
  • the first reference channel in this embodiment of the present application should be selected to display the noise figure
  • the largest channel that is, the displayed noise coefficient of each channel can be arranged from large to small, and the channel corresponding to the largest value can be selected as the first reference channel.
  • the displayed noise coefficient of each channel can be determined when the chip is mass-produced.
  • the displayed noise figure of each channel is also sorted.
  • the display noise coefficient of each channel in the multiple channels relative to the reference display noise is determined by using the similarity of display noise. It can be completed in the mass production test stage, so that the multi-channel touch detection chip can be flexibly adapted to different mounted screens; further, one channel is selected as the first reference channel among the multiple channels, and the display noise figure based on the first reference channel is displayed. , to remove noise from the output signals of other channels. When the selected first reference channel is touched, if touch detection is performed on the output signals of the other determined channels, misjudgment will occur, so the selection can be determined according to the noise-removed output signals of the other channels.
  • the output signals of other channels after noise removal are re-determined until it is determined that the selected new first reference channel is not touched, and noise can be removed from the remaining channels based on the untouched first reference channel.
  • touch detection can be performed based on the noise-removed output signals of other channels; but if the selected first reference channel is touched, then a new By means of a reference channel, the output signals of other channels after noise removal are re-determined until it is determined that the selected new first reference channel is not touched, and noise can be removed from the remaining channels based on the untouched first reference channel.
  • the above calculation process is relatively simple, and can avoid the misjudgment of touch detection when the selected first reference channel is touched, and greatly improves the feasibility of practical use on the premise of improving the accuracy of touch detection.
  • the processor in this embodiment of the present application may be an integrated circuit chip, which has a signal processing capability.
  • each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Programming logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • 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 conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
  • the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be Random Access Memory (RAM), which acts as an external cache.
  • RAM Static RAM
  • DRAM Dynamic RAM
  • SDRAM Synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • enhanced SDRAM ESDRAM
  • synchronous link dynamic random access memory Synchlink DRAM, SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
  • Embodiments of the present application further provide a computer-readable storage medium for storing a computer program.
  • the computer-readable storage medium can be applied to the apparatus for touch detection of multiple channels in the touch screen in the embodiments of the present application, and the computer program enables the computer to execute the corresponding methods of the methods in the embodiments of the present application.
  • the process, for the sake of brevity, will not be repeated here.
  • Embodiments of the present application also provide a computer program product, including computer program instructions.
  • the computer program product can be applied to the apparatus for touch detection of multiple channels in the touch screen in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes of the methods in the embodiments of the present application. , and are not repeated here for brevity.
  • the embodiments of the present application also provide a computer program.
  • the computer program can be applied to the apparatus for touch detection of multiple channels in the touch screen in the embodiment of the present application, and when the computer program is run on the computer, the computer is made to execute each of the embodiments of the present application.
  • the corresponding processes in the method will not be repeated here.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

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

Embodiments of the present application provide a method and apparatus for the touch detection of multiple channels in a touch screen. The method comprises: according to respective output signals of a non-touched first reference channel among multiple channels when a touch screen is in a screen-on state and a screen-off state, determining a noise signal of the first reference channel; according to a display noise coefficient of a target channel and the noise signal of the first reference channel, determining a noise signal of the target channel; and removing the noise signal of the target channel from an original output signal of the target channel to obtain a target output signal of the target channel for touch detection. The method and apparatus for the touch detection of multiple channels in a touch screen provided by the present application can improve the efficiency of touch detection.

Description

用于触控屏中多个通道触控检测的方法和装置Method and apparatus for touch detection of multiple channels in a touch screen
本申请要求于2021年3月12日提交中国专利局、申请号为CN202110272060.9的中国专利申请以及2021年3月12日提交中国专利局、申请号为CN202110272072.1的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number CN202110272060.9 filed with the China Patent Office on March 12, 2021 and the Chinese patent application with the application number CN202110272072.1 filed with the China Patent Office on March 12, 2021 , the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请实施例涉及电子器件领域,并且更具体地,涉及用于触控屏中多个通道触控检测的方法和装置。The embodiments of the present application relate to the field of electronic devices, and more particularly, to a method and apparatus for touch detection of multiple channels in a touch screen.
背景技术Background technique
电容式传感器广泛应用于电子产品中,用来实现触控检测。当有导体例如手指,触摸或靠近电子设备的触摸屏中的检测电极时,检测电极对应的电容会发生变化,通过检测该电容的变化量,就可以获取手指靠近或触摸检测电极的信息,从而判断用户的操作,即进行了触控检测或者说触摸检测。但是,电子设备的触控屏产生的噪声,会对上述检测结果造成影响。因此,如何降低触控屏噪声对电容检测的影响,成为亟待解决的问题。Capacitive sensors are widely used in electronic products for touch detection. When a conductor such as a finger touches or approaches the detection electrode in the touch screen of the electronic device, the capacitance corresponding to the detection electrode will change. The user's operation is touch detection or touch detection. However, the noise generated by the touch screen of the electronic device will affect the above detection result. Therefore, how to reduce the influence of touch screen noise on capacitance detection has become an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种用于触控屏中多个通道触控检测的方法和装置,能够提高触控检测的效率。The present application provides a method and device for touch detection of multiple channels in a touch screen, which can improve the efficiency of touch detection.
第一方面,提供了一种用于触控屏中多个通道触控检测的方法,该方法包括:根据第一参考通道分别在所述触控屏处于亮屏状态和处于息屏状态时的输出信号,确定所述第一参考通道的噪声信号,所述第一参考通道为所述多个通道中未被触摸的通道;根据所述多个通道中的目标通道的显示噪声系数和所述第一参考通道的噪声信号,确定所述目标通道的噪声信号,其中,所述目标通道的显示噪声系数表示所述目标通道的显示噪声信号相对于参考显示噪声信号的比值,所述显示噪声信号为在所述触控屏处于亮屏状态时产生的;在所述目标通道的原始输出信号中去除所述目标通道的噪声信号,以获得所述目标通道的目标输出信号,所述目标通道的目标输出信号用于进行所述目标通道的触控检测,所述目标通道的原始输出信号为在所述触控屏 处于亮屏状态时所述目标通道未去除噪声信号时的输出信号。A first aspect provides a method for touch detection of multiple channels in a touch screen, the method comprising: according to a first reference channel, when the touch screen is in a screen-on state and in a screen-off state, respectively. outputting a signal, and determining a noise signal of the first reference channel, where the first reference channel is an untouched channel among the multiple channels; according to the displayed noise figure of the target channel among the multiple channels and the The noise signal of the first reference channel is used to determine the noise signal of the target channel, wherein the display noise figure of the target channel represents the 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 the bright screen state; the noise signal of the target channel is removed from the original output signal of the target channel to obtain the target output signal of the target channel, and the The target output signal is used for touch detection of the target channel, and the original output signal of the target channel is the output signal when the target channel does not remove the noise signal when the touch screen is in a bright screen state.
因此,本申请实施例的用于触控屏中多个通道触控检测的方法,利用显示噪声的相似性,分别确定多个通道中每个通道相对于参考显示噪声的显示噪声系数,该过程可以在量产测试阶段完成,使得多通道的触控检测芯片可灵活适应不同搭载屏幕;进一步的,触控检测芯片可以根据量产测试阶段得到的各个通道的显示噪声系数,对输出信号进行噪声去除的操作,将该输出信号中的显示噪声部分去除掉,从而大大提高触控检测系统的信噪比,进而提高触控检测的效率。Therefore, in the method for touch detection of multiple channels in a touch screen according to the embodiment of the present application, the display noise coefficient of each channel in the multiple channels relative to the reference display noise is determined by using the similarity of display noise. It can be completed in the mass production test stage, so that the multi-channel touch detection chip can flexibly adapt to different mounted screens; further, the touch detection chip can noise the output signal according to the display noise figure of each channel obtained in the mass production test stage. The removal operation removes the display noise part in the output signal, thereby greatly improving the signal-to-noise ratio of the touch detection system, thereby improving the efficiency of touch detection.
结合第一方面,在第一方面的一种实现方式中,所述方法还包括:在所述触控屏未被触摸时,根据多帧显示图像,确定所述多个通道中每个通道的显示噪声系数,所述每个通道的显示噪声系数表示所述每个通道的显示噪声信号相对于参考显示噪声信号的比值。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, according to multiple frames of display images, a A display noise figure, the display noise figure for each channel, represents a ratio of the display noise signal for each channel relative to a reference display noise signal.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述在所述触控屏未被触摸时,根据多帧显示图像,确定所述多个通道中每个通道的显示噪声系数,包括:在所述触控屏未被触摸且所述触控屏处于息屏状态时,根据所述每个通道的输出信号,确定所述每个通道的基础输出信号;在所述触控屏未被触摸且所述触控屏处于亮屏状态时,确定所述多帧显示图像中每帧显示图像对应的所述每个通道的采样输出信号;根据所述每个通道的采样输出信号与所述每个通道的基础输出信号的差值,确定所述每个通道的显示噪声系数。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, when the touch screen is not touched, determine each of the multiple channels according to multiple frames of display images. The display noise figure of the channel includes: determining the 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 an off-screen state; When the touch screen is not touched and the touch screen is in a bright screen state, determine the sampling output signal of each channel corresponding to each frame of display image in the multi-frame display images; The difference between the sampled output signal of the channel and the basic output signal of each channel determines the display noise figure of each channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述在所述触控屏未被触摸且所述触控屏处于息屏状态时,根据所述每个通道的输出信号,确定所述每个通道的基础输出信号,包括:在所述触控屏未被触摸且所述触控屏处于息屏状态时,将所述每个通道在预设时间内的输出信号的平均值,确定为所述每个通道的基础输出信号。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, when the touch screen is not touched and the touch screen is in an off-screen state, according to each of the The output signal of the channel, and determining the basic output signal of each channel includes: when the touch screen is not touched and the touch screen is in an off-screen state, setting each channel within a preset time The average value of the output signal is determined as the base output signal for each channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述根据所述每个通道的采样输出信号与所述每个通道的基础输出信号的差值,确定所述每个通道的显示噪声系数,包括:在所述多个通道中确定第二参考通道,并将所述第二参考通道的噪声系数确定为1;根据下面的公式(a),以及所述每帧图像对应的所述每个通道的采样输出信号,采用最小二乘法,确定所述目标通道的显示噪声系数k mWith reference to the first aspect and the above-mentioned implementation manners thereof, in another implementation manner of the first aspect, determining the The display noise figure of each channel includes: determining a second reference channel among the plurality of channels, and determining the noise figure of the second reference channel to be 1; according to the following formula (a), and the For the sampled output signal of each channel corresponding to each frame of image, the least squares method is used to determine the display noise coefficient km of the target channel:
CH m-CH m,b=k m*(CH n-CH n,b)   (a) CH m -CH m,b =k m *(CH n -CH n,b ) (a)
其中,CH m为所述每帧图像对应的所述目标通道的采样输出信号;CH m,b为所述目标通道的基础输出信号;CH n为所述每帧图像对应的所述第二参考通道的采样输出信号;CH n,b为所述第二参考通道的基础输出信号,所述参考显示噪声信号为CH n-CH n,bWherein, CH m is the sampling output signal of the target channel corresponding to each frame of image; CH m,b is the basic output signal of the target channel; CH n is the second reference corresponding to each frame of image The sampling output signal of the channel; CH n,b is the basic output signal of the second reference channel, and the reference display noise signal is CH n -CH n,b .
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述根据第一参考通道分别在所述触控屏处于亮屏状态和处于息屏状态时的输出信号,确定所述第一参考通道的噪声信号,包括:将所述第一参考通道在所述触控屏处于亮屏状态时的输出信号,与所述第一参考通道的基础输出信号的差值,确定为所述第一参考通道的噪声信号。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, according to the output signals of the first reference channel when the touch screen is in the screen-on state and the screen-off state, respectively, Determining the noise signal of the first reference channel includes: taking the difference between the output signal of the first reference channel when the touch screen is in the bright screen state and the basic output signal of the first reference channel, Determined as the noise signal of the first reference channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述根据所述目标通道的显示噪声系数和所述第一参考通道的噪声信号,确定所述目标通道的噪声信号,包括:根据下面的公式(b),确定所述目标通道的噪声信号N mWith reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, the determination of the The noise signal includes: determining the noise signal N m of the target channel according to the following formula (b):
N m=k m*ΔCH l/k l   (b) N m =km *ΔCH l / k l (b)
其中,k m为所述目标通道的显示噪声系数,k l为所述第一参考通道的显示噪声系数,ΔCH l为所述第一参考通道的噪声信号。 Wherein, k m is the display noise figure of the target channel, k l is the display noise figure of the first reference channel, and ΔCH l is the noise signal of the first reference channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述第一参考通道的显示噪声系数为所述多个通道的显示噪声系数中的最大值。With reference to the first aspect and the above implementation manners thereof, in another implementation manner of the first aspect, the display noise figure of the first reference channel is a maximum value of the display noise figures of the multiple channels.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述第一参考通道与所述目标通道不同。With reference to the first aspect and the above implementation manners thereof, in another implementation manner of the first aspect, the first reference channel is different from the target channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述方法还包括:在所述多个通道中确定未被触摸的通道为所述第一参考通道。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, the method further includes: determining an untouched channel among the plurality of channels as the first reference channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述在所述多个通道中确定未被触摸的通道为所述第一参考通道,包括:根据第一通道分别在所述触控屏处于亮屏状态和处于息屏状态时的输出信号,确定所述第一通道的噪声信号,所述第一通道为所述多个通道中的任一通道;根据至少两个目标通道中每个目标通道的显示噪声系数和所述第一通道的噪声信号,确定所述每个目标通道的噪声信号,所述至少两个目标通道为所述多个通道中相邻的至少两个通道,所述每个目标通道的显示噪声系数表示 所述每个目标通道的显示噪声信号相对于参考显示噪声信号的比值,所述显示噪声信号为在所述触控屏处于亮屏状态时产生的;在所述每个目标通道的原始输出信号中去除所述每个目标通道的噪声信号,以获得所述每个目标通道的目标输出信号,所述每个目标通道的原始输出信号为在所述触控屏处于亮屏状态时所述每个目标通道未去除噪声信号时的输出信号;根据所述至少两个目标通道的目标输出信号、所述至少两个目标通道的基础输出信号和所述至少两个目标通道的显示噪声系数,确定所述第一通道是否被触摸,所述每个目标通道的基础输出信号为所述每个目标通道在所述触控屏处于息屏状态且未被触摸时的输出信号;若确定所述第一通道未被触摸,将所述第一通道确定为所述第一参考通道。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, the determining that an untouched channel among the multiple channels is the first reference channel includes: according to the first The output signals of the channels when the touch screen is in the bright screen state and the screen off state respectively, determine the noise signal of the first channel, and the first channel is any channel among the plurality of channels; according to The displayed noise figure of each of the at least two target channels and the noise signal of the first channel are determined, and the noise signal of each target channel is determined, and the at least two target channels are the phase in the plurality of channels. At least two adjacent channels, the display noise figure of each target channel represents the ratio of the display noise signal of each target channel to the reference display noise signal, and the display noise signal is in the touch screen at the touch screen. Generated when the screen is bright; remove the noise signal of each target channel from the original output signal of each target channel to obtain the target output signal of each target channel, the The original output signal is the output signal when the noise signal is not removed from each target channel when the touch screen is in the bright screen state; according to the target output signals of the at least two target channels, the at least two target channels and the display noise figure of the at least two target channels, determine whether the first channel is touched, the basic output signal of each target channel is the touch screen of each target channel The output signal when the screen is off and not touched; if it is determined that the first channel is not touched, the first channel is determined as the first reference channel.
因此,本申请实施例的用于触控屏中多个通道触控检测的方法,利用显示噪声的相似性,分别确定多个通道中每个通道相对于参考显示噪声的显示噪声系数,该过程可以在量产测试阶段完成,使得多通道的触控检测芯片可灵活适应不同搭载屏幕;进一步的,在多个通道中选择第一通道作为第一参考通道,基于该第一通道的显示噪声系数,对其他通道的输出信号去除噪声操作。由于在选择的该第一通道被触摸的情况下,对应确定的其他通道的输出信号如果进行触控检测,会出现误判,所以可以根据该其他通道的去除噪声之后的输出信号,确定选择的第一通道是否被触摸,如果未被触摸,那么该第一通道可以作为第一参考通道,并且可以基于其他通道的去除噪声之后的输出信号进行触控检测;但如果选择的第一通道被触摸,那么可以通过重新选择新的通道作为第一参考通道的方式,重新确定其他通道的去除噪声之后的输出信号,直至确定选择的新的通道未被触摸时,可以将其作为第一参考通道,并基于此未被触摸的第一参考通道,对其余通道去除噪声,以对去除噪声之后的输出信号进行触控检测。上述计算过程比较简单,并且可以避免选择的第一参考通道被触摸时进行触控检测的误判的情况,在提高触控检测的准确性的前提下,大大提高了实际使用的可行性。Therefore, in the method for touch detection of multiple channels in a touch screen according to the embodiment of the present application, the display noise coefficient of each channel in the multiple channels relative to the reference display noise is determined by using the similarity of display noise. It can be completed in the mass production testing stage, so that the multi-channel touch detection chip can be flexibly adapted to different mounted screens; further, the first channel is selected as the first reference channel among the multiple channels, and the display noise figure based on the first channel is displayed. , to remove noise from the output signals of other channels. When the selected first channel is touched, if touch detection is performed on the output signals of the other determined channels, misjudgment will occur, so the selected channel can be determined according to the noise-removed output signals of the other channels. Whether the first channel is touched, if not, then the first channel can be used as the first reference channel, and touch detection can be performed based on the noise-removed output signals of other channels; but if the selected first channel is touched , then you can re-select the new channel as the first reference channel to re-determine the output signals of other channels after noise removal, until it is determined that the selected new channel is not touched, you can use it as the first reference channel, And based on the untouched first reference channel, noise is removed from the remaining channels, so as to perform touch detection on the output signal after the noise is removed. The above calculation process is relatively simple, and can avoid the misjudgment of touch detection when the selected first reference channel is touched, and greatly improves the feasibility of practical use on the premise of improving the accuracy of touch detection.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述方法还包括:若确定所述第一通道被触摸,在所述多个通道中确定第二通道是否被触摸,所述第一通道与所述第二通道不同;若确定所述第二通道未被触摸,将所述第二通道确定为所述第一参考通道。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, the method further includes: if it is determined that the first channel is touched, determining, among the plurality of channels, whether the second channel is touched If it is touched, the first channel is different from the second channel; if it is determined that the second channel is not touched, the second channel is determined as the first reference channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,在 所述多个通道中的除所述第一通道以外的其他通道的显示噪声系数中,所述第二通道的显示噪声系数为最大值。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, in the display noise figures of other channels in the plurality of channels except the first channel, the second The displayed noise figure of the channel is the maximum value.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述至少两个目标通道包括相邻的第一目标通道和第二目标通道,所述根据所述至少两个目标通道的目标输出信号、所述至少两个目标通道的基础输出信号和所述至少两个目标通道的显示噪声系数,确定所述第一通道是否被触摸,包括:若所述第一目标通道满足下面的公式(c),确定所述第一目标通道满足预设条件,With reference to the first aspect and the above implementation manners thereof, in another implementation manner of the first aspect, the at least two target channels include adjacent first target channels and second target channels, and the at least two target channels The target output signals of the at least two target channels, the basic output signals of the at least two target channels, and the display noise figures of the at least two target channels, and determining whether the first channel is touched includes: if the first target channel is touched The channel satisfies the following formula (c), and it is determined that the first target channel satisfies the preset condition,
Figure PCTCN2021106281-appb-000001
Figure PCTCN2021106281-appb-000001
其中,CH m,ca为所述第一目标通道的目标输出信号;CH m,b为所述第一目标通道的基础输出信号;CH m-1,ca为所述第二目标通道的目标输出信号;CH m-1,b为所述第二目标通道的基础输出信号;k m为所述第一目标通道的显示噪声系数;k m-1为所述第二目标通道的显示噪声系数;Slope_th1和Slope_th2为两个预设阈值;确定所述多个通道中除所述第一通道以外的其他通道中,满足所述预设条件的通道的数量;若所述其他通道中满足所述预设条件的通道的数量与所述多个通道的总个数的比值大于或者等于预设值,确定所述第一通道被触摸,或者,若所述其他通道中满足所述预设条件的通道的数量与所述多个通道的总个数的比值小于所述预设值,确定所述第一通道未被触摸。 Wherein, CH m,ca is the target output signal of the first target channel; CH m,b is the basic output signal of the first target channel; CH m-1,ca is the target output of the second target channel signal; CH m-1,b is the basic output signal of the second target channel; km is the displayed noise figure of the first target channel; km -1 is the displayed noise figure of the second target channel; Slope_th1 and Slope_th2 are two preset thresholds; determine the number of channels that satisfy the preset condition in the other channels except the first channel among the multiple channels; if the other channels satisfy the preset condition The ratio of the number of conditional channels to the total number of the plurality of channels is greater than or equal to a preset value, and it is determined that the first channel is touched, or, if the channel that satisfies the preset condition among the other channels The ratio of the number to the total number of the multiple channels is less than the preset value, and it is determined that the first channel is not touched.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述预设值为1/2或者2/3。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, the preset value is 1/2 or 2/3.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述根据第一通道分别在所述触控屏处于亮屏状态和处于息屏状态时的输出信号,确定所述第一通道的噪声信号,包括:在所述触控屏未被触摸且所述触控屏处于息屏状态时,根据所述第一通道的输出信号,确定所述第一通道的基础输出信号;将所述第一通道在所述触控屏处于亮屏状态时的输出信号,与所述第一通道的基础输出信号的差值,确定为所述第一通道的噪声信号。In combination with the first aspect and the above-mentioned implementation manners, in another implementation manner of the first aspect, the determining is determined according to the output signals of the first channel when the touch screen is in a screen-on state and a screen-off state, respectively. The noise signal of the first channel includes: when the touch screen is not touched and the touch screen is in an off-screen state, determining the basis of the first channel according to the output signal of the first channel Output signal; determine the difference between the output signal of the first channel when the touch screen is in the bright screen state and the basic output signal of the first channel as the noise signal of the first channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述根据至少两个目标通道中每个目标通道的显示噪声系数和所述第一通道的噪声信号,确定所述每个目标通道的噪声信号,包括:根据下面的公式(d), 确定所述至少两个目标通道中第m个目标通道的噪声信号N mWith reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, the determination is based on the displayed noise figure of each of the at least two target channels and the noise signal of the first channel. The noise signal of each target channel includes: according to the following formula (d), determining the noise signal N m of the mth target channel in the at least two target channels:
N m=k m*ΔCH l/k l    (d) N m =km *ΔCH l / k l (d)
其中,k m为所述第m个目标通道的显示噪声系数,k l为所述第一通道的显示噪声系数,ΔCH l为所述第一通道的噪声信号。 Wherein, k m is the display noise figure of the mth target channel, k l is the display noise figure of the first channel, and ΔCH l is the noise signal of the first channel.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述第一通道的显示噪声系数为所述多个通道的显示噪声系数中的最大值。With reference to the first aspect and the foregoing implementation manners thereof, in another implementation manner of the first aspect, the display noise figure of the first channel is the maximum value of the display noise figures of the multiple channels.
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,所述第一通道与所述至少两个目标通道不同。With reference to the first aspect and the above implementation manners thereof, in another implementation manner of the first aspect, the first channel is different from the at least two target channels.
第二方面,提供了一种用于触控屏中多个通道触控检测的装置,用于执行上述第一方面或第一方面的任意可能的实现方式中的方法。具体地,该装置包括用于执行上述第一方面或第一方面的任意可能的实现方式中的方法的单元。In a second aspect, an apparatus for touch detection of multiple channels in a touch screen is provided, which is used to execute the method in the first aspect or any possible implementation manner of the first aspect. Specifically, the apparatus includes a unit for performing the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
第三方面,提供了一种用于触控屏中多个通道触控检测的装置,包括:存储单元和处理器,该存储单元用于存储指令,该处理器用于执行该存储器存储的指令,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。In a third aspect, a device for touch detection of multiple channels in a touch screen is provided, including: a storage unit and a processor, where the storage unit is used for storing instructions, and the processor is used for executing the instructions stored in the memory, And when the processor executes the instructions stored in the memory, the execution causes the processor to perform the method of the first aspect or any possible implementation of the first aspect.
第四方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a fourth aspect, a computer-readable medium is provided for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
第五方面,提供了一种包括指令的计算机程序产品,当计算机运行所述计算机程序产品的所述指时,所述计算机执行上述第一方面或第一方面的任意可能的实现方式中的用于触控屏中多个通道触控检测的方法。具体地,该计算机程序产品可以运行于上述第二方面的装置上。A fifth aspect provides a computer program product comprising instructions, when a computer runs the instructions of the computer program product, the computer executes the above-mentioned first aspect or any possible implementation of the first aspect. A method for touch detection of multiple channels in a touch screen. Specifically, the computer program product can run on the apparatus of the second aspect.
附图说明Description of drawings
图1为传统的多通道触控检测系统的示意图。FIG. 1 is a schematic diagram of a conventional multi-channel touch detection system.
图2为改进的多通道触控检测系统中任意通道的示意图。FIG. 2 is a schematic diagram of any channel in the improved multi-channel touch detection system.
图3为不同信号的周期性变化的示意图。FIG. 3 is a schematic diagram of periodic changes of different signals.
图4为本申请实施例的用于触控屏中多个通道触控检测的方法的示意性流程图。FIG. 4 is a schematic flowchart of a method for touch detection of multiple channels in a touch screen according to an embodiment of the present application.
图5为本申请实施例的触控检测系统的示意图。FIG. 5 is a schematic diagram of a touch detection system according to an embodiment of the present application.
图6为本申请实施例的触控检测系统的示意图。FIG. 6 is a schematic diagram of a touch detection system according to an embodiment of the present application.
图7为本申请实施例的多个通道的触摸量的示意图。FIG. 7 is a schematic diagram of touch amounts of multiple channels according to an embodiment of the present application.
图8为本申请实施例的多个通道的触摸量的另一示意图。FIG. 8 is another schematic diagram of a touch amount of a plurality of channels according to an embodiment of the present application.
图9为本申请实施例的用于触控屏中多个通道触控检测的方法的另一示意性流程图。FIG. 9 is another schematic flowchart of a method for touch detection of multiple channels in a touch screen according to an embodiment of the present application.
图10为本申请实施例的多个通道的触摸量的再一示意图。FIG. 10 is still another schematic diagram of touch amounts of multiple channels according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
电子设备的触控屏中通常设置有横向和纵向两层通道,例如,这里可以分别称为RX通道和TX通道,以进行触控检测。触控检测通常包括自电容检测和互电容检测两种方式。具体地,在进行自电容检测时,触控芯片会扫描每一个横向通道和纵向通道对地的自电容的变化情况。当手指靠近或接触时,手指附近的通道的自电容会变大。在进行互电容检测时,其中一层通道作为驱动通道(例如TX通道),另一层通道作为感应通道(例如RX通道),触控芯片检测的是TX通道和RX通道之间的互电容的变化情况。A touch screen of an electronic device is usually provided with two layers of channels, horizontal and vertical, for example, they may be referred to as RX channels and TX channels, respectively, for touch detection. Touch detection usually includes self-capacitance detection and mutual capacitance detection. Specifically, when performing self-capacitance detection, the touch-control chip scans the variation of the self-capacitance to ground of each horizontal channel and vertical channel. When a finger approaches or touches, the self-capacitance of the channel near the finger becomes larger. When performing mutual capacitance detection, one layer of the channel is used as the driving channel (such as the TX channel), and the other layer of the channel is used as the sensing channel (such as the RX channel). The touch chip detects the mutual capacitance between the TX channel and the RX channel. Changes.
在进行触控检测时,若手指靠近触控屏或者触摸触控屏,则手指和其附近的横向通道RX会产生电容Cs,手指和其附近的纵向通道TX会产生电容Cd。由于人体是导体并且和地相连,手指触摸或接近的通道的自电容和互电容均会发生变化,触控芯片根据检测到的自电容或互电容的变化,可以计算出手指的触摸位置。During touch detection, if a finger approaches or touches the touch screen, the finger and its nearby horizontal channel RX will generate capacitance Cs, and the finger and its nearby vertical channel TX will generate capacitance Cd. Since the human body is a conductor and is connected to the ground, the self-capacitance and mutual capacitance of the channel touched or approached by the finger will change. The touch chip can calculate the touch position of the finger according to the detected change of the self-capacitance or mutual capacitance.
图1示出了传统的多通道触控检测系统的示意图,如图1所示,自电容或者互电容检测过程,都可以通过检测每个RX通道的输出信号,以判断该通道是否被触摸。具体地,该多通道触控检测系统中可以包括用于产生驱动信号的驱动电路(图中未示出),驱动信号也可以称为打码信号,该打码信号可以被输入至触控板中的TX通道。该多通道触控检测系统中还可以包括电容检测电路,例如该电容检测电路可以包括电荷放大器(Charge amplifier,CA)和可编程增益放大器(Programmable Gain Amplifier,PGA),再例如,还可以包括具有低通特性的模拟抗混叠滤波器(Analog Antialiasing Filter,AAF)和模数转换电路(Analog to Digital Conversion Circuit,ADC)等。其中,PGA电路可以用于接收触控板中的各个RX通道传输过来的信号,并对 其进行放大处理后输出信号CH 1至CH n;另外,AAF电路可以与PGA电路相连,用于滤除其接收到的电信号中所携带的干扰信号;ADC电路可以与AAF电路相连,用于将模拟信号转换为数字信号,该数字信号可以用于触控检测。 Figure 1 shows a schematic diagram of a traditional multi-channel touch detection system. As shown in Figure 1, in the process of self-capacitance or mutual-capacitance detection, the output signal of each RX channel can be detected to determine whether the channel is touched. Specifically, the multi-channel touch detection system may include a driving circuit (not shown in the figure) for generating a driving signal. The driving signal may also be called a coding signal, and the coding signal may be input to the touch panel TX channel in . The multi-channel touch detection system may further include a capacitance detection circuit, for example, the capacitance detection circuit may include a charge amplifier (Charge amplifier, CA) and a programmable gain amplifier (Programmable Gain Amplifier, PGA), for example, may also include a Low-pass characteristics of the analog anti-aliasing filter (Analog Antialiasing Filter, AAF) and analog-to-digital conversion circuit (Analog to Digital Conversion Circuit, ADC) and so on. Among them, the PGA circuit can be used to receive the signals transmitted from each RX channel in the touch panel, and after amplifying it, output signals CH 1 to CH n ; in addition, the AAF circuit can be connected to the PGA circuit for filtering out The interference signal carried in the received electrical signal; the ADC circuit can be connected with the AAF circuit to convert the analog signal into a digital signal, and the digital signal can be used for touch detection.
但是随着有机发光二极管(Organic Light-Emitting Diode,OLED)屏的广泛应用,传统检测方案的难度越来越大。如图1所示,由于OLED屏的显示面板的电容(Cg1-Cgn)较大,触控屏在亮屏情况下阴极耦合到RX通道输入端的显示噪声(display noise)甚至比Rx通道信号更大,极大地限制了触控检测系统的信噪比。However, with the widespread application of organic light-emitting diode (Organic Light-Emitting Diode, OLED) screens, traditional detection solutions are becoming more and more difficult. As shown in Figure 1, due to the large capacitance (Cg1-Cgn) of the display panel of the OLED screen, the display noise (display noise) coupled to the input terminal of the RX channel by the cathode of the touch screen when the screen is bright is even larger than the signal of the Rx channel , which greatly limits the signal-to-noise ratio of the touch detection system.
在解决屏幕噪声干扰的问题方面,可以采用改进的触控检测系统,例如,图2示出了一种改进的触控检测系统中任一个通道的示意图。经测试发现,显示噪声的幅度与屏幕的显示刷新呈周期相关,因此,如图2所示的系统利用了屏幕噪声的时域特性。图3示出了不同信号的周期性变化的示意图,其中,图3中同步(Hsync)信号表示触控屏的显示刷新的指示信号,并且,显示噪声在Hsync信号为高电平附近幅度较大,而其余时间段的显示噪声幅度较小,因此可利用Hsync信号进行RX输入端的隔离控制。具体地,如图2和图3所示,在RX输入端加一个开关S1,当Hsync信号为高电平时,S1断开,以断开模拟前端(Active Front End,AFE)与RX的连接,使幅度较大的显示噪声不进入AFE部分,;而当Hsync信号的电平拉低后,控制开关S1仍保持断开一段时间之后,再导通该开关S1,从而保证与RX连接时,显示噪声均为小幅度。这种改良方案确实可以优化触控检测系统的信噪比,但在该方案中存在两个问题,一是必须使用Hsync信号,需要电子设备的触控屏的主控部件输出该Hsync信号至触控检测芯片,从而增加了系统复杂度;二是触控检测的刷新率受屏幕刷新率的限制,无法满足任意检测刷新率的需求。To solve the problem of screen noise interference, an improved touch detection system can be used. For example, FIG. 2 shows a schematic diagram of any channel in an improved touch detection system. After testing, it is found that the amplitude of the display noise is related to the display refresh cycle of the screen. Therefore, the system shown in Figure 2 utilizes the time-domain characteristics of the screen noise. Fig. 3 shows a schematic diagram of periodic changes of different signals, wherein the synchronization (Hsync) signal in Fig. 3 represents the indication signal of the display refresh of the touch screen, and the display noise has a larger amplitude near the high level of the Hsync signal , and the display noise amplitude of the remaining time periods is small, so the Hsync signal can be used for isolation control of the RX input. Specifically, as shown in Figure 2 and Figure 3, a switch S1 is added to the RX input end, and when the Hsync signal is at a high level, S1 is disconnected to disconnect the analog front end (Active Front End, AFE) and the RX connection, So that the display noise with a large amplitude does not enter the AFE part, and when the level of the Hsync signal is pulled down, the control switch S1 remains off for a period of time, and then the switch S1 is turned on, so as to ensure that when it is connected to RX, the display The noise is small in magnitude. This improved solution can indeed optimize the signal-to-noise ratio of the touch detection system, but there are two problems in this solution. One is that the Hsync signal must be used, and the main control part of the touch screen of the electronic device needs to output the Hsync signal to the touch screen. Second, the refresh rate of touch detection is limited by the refresh rate of the screen, which cannot meet the needs of arbitrary detection refresh rates.
因此,本申请实施例提出了一种用于触控屏中多个通道触控检测的方法,可以基于显示噪声的相似性,解决上述问题。Therefore, an embodiment of the present application proposes a method for touch detection of multiple channels in a touch screen, which can solve the above problems based on the similarity of display noise.
图4示出了本申请实施例的用于触控屏中多个通道触控检测的方法100的示意性流程图,图5示出了本申请实施例的多通道触控检测系统。应理解,本申请实施例的方法100中包括的全部或者部分步骤可以由用于触控屏中多个通道触控检测的装置执行。例如,该装置可以包括处理单元,该处理单元 用于执行该方法100;再例如,该装置可以包括处理器,处理器可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法100,其中,存储器可以是独立于处理器的一个单独的器件,也可以集成在处理器中。FIG. 4 shows a schematic flowchart of a method 100 for touch detection of multiple channels 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 in this embodiment of the present application may be performed by an apparatus for touch detection of multiple channels in a touch screen. For example, the apparatus may include a processing unit, and the processing unit is configured to execute the method 100; for another example, the apparatus may include a processor, and the processor may call and run a computer program from a memory to implement the method in the embodiments of the present application 100, wherein the memory may be a separate device independent of the processor, or may be integrated in the processor.
如图5所示,该方法可以应用于如图5所示的触控检测系统中,具体地,可以由该系统中的装置200执行,例如,该触控检测系统可以包括触控芯片,该触控芯片包括该装置200。具体地,该装置200可以包括处理器或者处理单元,以执行该方法100。另外,如图5所示,经过各个通道的ADC输出的数字信号会经过解调处理,输出的同相/正交(in-phase/quadrature,I/Q)解调数据并输入至装置200中,以执行该方法100。As shown in FIG. 5 , the method can be applied to the touch detection system shown in FIG. 5 . Specifically, it can be executed by the device 200 in the system. For example, the touch detection system can include a touch chip, the The touch chip includes the device 200 . Specifically, the apparatus 200 may include a processor or a processing unit to perform the method 100 . In addition, as shown in FIG. 5 , the digital signal output by the ADC of each channel will undergo demodulation processing, and the output in-phase/quadrature (I/Q) demodulated data is input to the device 200 , to perform the method 100 .
可选地,如图4所示,该方法100可以包括:S110,获取多个通道中每个通道的显示噪声系数,其中,每个通道的显示噪声系数表示每个通道的显示噪声信号相对于参考显示噪声信号的比值。具体地,以确定目标通道的显示噪声系数为例,该目标通道为多个通道中的任意一个通道,则该S110可以具体包括:在触控屏未被触摸时,根据多帧显示图像,确定多个通道中目标通道的显示噪声系数,其中,目标通道的显示噪声系数表示目标通道的显示噪声信号相对于参考显示噪声信号的比值,本申请实施例中的显示噪声信号为在触控屏处于亮屏状态时产生的。Optionally, as shown in FIG. 4 , the method 100 may include: S110 , acquiring the display noise figure of each channel in the multiple channels, wherein the display noise figure of each channel indicates that the display noise signal of each channel is relative to the display noise signal of each channel. The reference shows the ratio of the noise signal. Specifically, taking determining the display noise coefficient of the target channel as an example, and the target channel is any one of the multiple channels, the S110 may specifically include: when the touch screen is not touched, according to multiple frames of display images, determining The display noise figure of the target channel among the multiple channels, wherein the display noise figure of the target channel represents the ratio of the display noise signal of the target channel to the reference display noise signal. Generated when the screen is on.
具体地,本申请实施例的方法100主要基于显示噪声的相似性,图6示出了本申请实施例中显示噪声耦合到RX端的简化模型示意图,如图6所示,本申请实施例中将显示噪声近似认为是共模噪声,但由于阴极到触控屏不同位置的走线电阻和耦合电容有差异,所以耦合到每个RX端的显示像素的幅度和相位均不同,因此可以将图1或图5所示系统的输出信号表示为下面的公式(1):Specifically, the method 100 in the embodiment of the present application is mainly based on the similarity of the displayed noise. FIG. 6 shows a schematic diagram of a simplified model of the displayed noise coupled to the RX terminal in the embodiment of the present application. As shown in FIG. 6 , in the embodiment of the present application, the The display noise is approximately considered to be common mode noise, but due to the difference in the trace resistance and coupling capacitance from the cathode to the touch screen at different positions, the amplitude and phase of the display pixels coupled to each RX terminal are different. Therefore, Figure 1 or The output signal of the system shown in Figure 5 is represented by the following equation (1):
Figure PCTCN2021106281-appb-000002
Figure PCTCN2021106281-appb-000002
其中,本申请实施例中以多个通道为n个通道为例进行描述,n为大于1的正整数;CH 1至CH n表示各个通道的输出信号,S 1至S n表示各个通道中除了各种噪声信号以外的信号分量,N 1至N n表示各个通道的随机噪声,例如,N 1表示第一个通道的随机噪声,随机噪声主要由AFE本身引起的;N c 为源头显示噪声量,k 1至k n为耦合到各个通道上的显示噪声的比例系数,例如,k 1表示第一个通道的显示噪声系数,或者也可以说,k 1表示第一个通道的显示噪声信号相对于参考显示噪声信号的比值,并且k 1至k n为矢量,k 1至k n表示耦合到不同RX通道的显示噪声的幅度和相位均有差异。例如,以第一个通道的显示噪声系数k 1为例,若第一个通道的显示噪声信号的幅度是参考显示噪声信号的幅度的一半,且第一个通道的显示噪声信号的相位与参考显示噪声信号的相位相差30°,那么该第一个通道的显示噪声系数k 1可以表示为0.5*e^(j30°)。 Wherein, in the embodiment of the present application, the multiple channels are n channels as an example for description, and n is a positive integer greater than 1; CH 1 to CH n represent the output signals of each channel, and S 1 to Sn represent the output signals of each channel except for Signal components other than various noise signals, N 1 to N n represent the random noise of each channel, for example, N 1 represents the random noise of the first channel, the random noise is mainly caused by the AFE itself; N c is the source display noise amount , k 1 to k n are the proportional coefficients of the display noise coupled to each channel, for example, k 1 represents the display noise figure of the first channel, or k 1 represents the relative display noise signal of the first channel In reference to the ratio of the display noise signal, and k 1 to k n are vectors, k 1 to k n indicate that the amplitude and phase of the display noise coupled to different RX channels are different. For example, taking the display noise figure k 1 of the first channel as an 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 is the same as the reference display noise signal If the phase difference of the display noise signal is 30°, then the display noise figure k 1 of the first channel can be expressed as 0.5*e^(j30°).
因此,根据该公式(1),可以确定多个通道的显示噪声系数k 1至k n。具体地,方法100中的S110可以具体包括:在触控屏未被触摸且触控屏处于息屏状态时,根据多个通道中每个通道的输出信号,确定多个通道中每个通道的基础输出信号;在触控屏未被触摸且触控屏处于亮屏状态时,确定多帧显示图像中每帧显示图像对应的每个通道的采样输出信号;根据每个通道的采样输出信号与每个通道的基础输出信号的差值,确定每个通道的显示噪声系数。 Therefore, according to this formula (1), the display noise figures k 1 to k n of the plurality of channels can be determined. Specifically, S110 in the method 100 may specifically include: when the touch screen is not touched and the touch screen is in an off-screen state, according to the output signal of each channel in the plurality of channels, determining the output signal of each channel in the plurality of channels. Basic output signal; when the touch screen is not touched and the touch screen is on, determine the sampling output signal of each channel corresponding to each frame of the display image in the multi-frame display image; according to the sampling output signal of each channel and the The difference between the underlying output signals for each channel determines the displayed noise figure for each channel.
应理解,在触控屏未被触摸且触控屏处于息屏状态时,可以认为触控检测系统中没有显示噪声,即公式(1)中N c等于零,其中,触控屏处于息屏状态时不显示任何图像;并且,在预设时间内,以多个通道中的目标通道为例,测量目标通道的多个输出信号的平均值,可以将该平均值确定为目标通道的基础输出信号,即可以获得每个通道的基础输出信号,例如,这里将1至n个通道的基础输出信号分别表示为CH 1,b,CH 2,b,CH 3,b,…,CH n,bIt should be understood that when the touch screen is not touched and the touch screen is in the screen-off state, it can be considered that there is no display noise in the touch detection system, that is, N c in formula (1) is equal to zero, wherein the touch screen is in the screen-off state. No image is displayed during the preset time; and, within the preset time, taking the target channel among the multiple channels as an example, the average value of the multiple output signals of the target channel is measured, and the average value can be determined as the basic output signal of the target channel , that is, the basic output signal of each channel can be obtained. For example, the basic output signals of 1 to n channels are represented as CH 1,b , CH 2,b , CH 3,b , . . . , CH n,b respectively here.
其中,该预设时间的时长可以根据实际应用进行设置。例如,该预设时间可以设置为较长时间,则对于预设时间内获得的每个信号的基础输出信号而言,可以认为其中不包含随机噪声量。The duration of the preset time may be set according to actual applications. For example, the preset time may be set as a relatively long time, and for the basic output signal of each signal obtained within the preset time, it may be considered that the amount of random noise is not included therein.
因此,在触控屏处于亮屏状态,且各通道没有被触摸的情况下,各通道输出信号可以由公式(1)改写成下面的公式(2):Therefore, when the touch screen is in the bright state and each channel is not touched, the output signal of each channel can be rewritten from the formula (1) to the following formula (2):
Figure PCTCN2021106281-appb-000003
Figure PCTCN2021106281-appb-000003
为了便于计算,可以在多个通道中确定第二参考通道,并将第二参考通 道的噪声系数确定为1,即将该第二参考通道的噪声信号确定为参考显示噪声信号,其中,该第二参考通道可以为多个通道中任意一个通道。例如,本申请实施例中以k n=1为例进行说明,另外,考虑到N n<<N c,则根据公式(2)可获得下面的公式(3): In order to facilitate the calculation, a second reference channel may be determined from multiple channels, and the noise figure of the second reference channel is determined to be 1, that is, the noise signal of the second reference channel is determined as the reference display noise signal, wherein the second reference channel The reference channel can be any one of multiple channels. For example, k n =1 is used as an example for description in the embodiments of the present application. In addition, considering N n <<N c , the following formula (3) can be obtained according to formula (2):
N c≈CH n-CH n,b    (3) N c ≈CH n -CH n,b (3)
结合公式(2)和公式(3),对于多个通道中目标通道而言,若将该目标通道表示为第m个通道,m可以依次取1至n中任意正整数,则可以获得下面的公式(4):Combining formula (2) and formula (3), for the target channel in multiple channels, if the target channel is represented as the mth channel, and m can be any positive integer from 1 to n in turn, the following can be obtained. Formula (4):
CH m-CH m,b=k m*N c=k m*(CH n-CH n,b)   (4) CH m -CH m ,b =km *N c = km *(CH n -CH n,b ) (4)
因此,根据该公式(4),在触控屏未被触摸且触控屏处于亮屏状态时,采集多帧图像对应的每个RX通道的输出信号,以获得多帧显示图像中每帧显示图像对应的多个通道的采样输出信号CH 1至CH n,即获得多帧图像对应的多组采用输出信号CH 1至CH n。例如,该多帧图像可以为在同一环境下的200帧图像,但本申请实施例并不限于此。 Therefore, according to the formula (4), when the touch screen is not touched and the touch screen is in the bright screen state, the output signal of each RX channel corresponding to the multi-frame image is collected to obtain the display of each frame in the multi-frame display image. The sampling output signals CH 1 to CH n of the multiple channels corresponding to the image, that is, to obtain multiple sets of the output signals CH 1 to CH n corresponding to the multiple frames of images. For example, the multiple frames of images may be 200 frames of images in the same environment, but the embodiment of the present application is not limited thereto.
将获得的该多帧图像对应的多个通道采用输出信号CH 1至CH n分别代入公式(4)中,利用最小二乘法(least square method),则可得到每个通道对应的显示噪声系数k 1至k n。其中,在公式(4)中,CH m为每帧图像对应的目标通道的采样输出信号;CH m,b为目标通道的基础输出信号;CH n为每帧图像对应的第二参考通道的采样输出信号;CH n,b为第二参考通道的基础输出信号,并且,参考显示噪声信号为CH n-CH n,bSubstitute the multiple channels corresponding to the obtained multi-frame images into formula (4) using the output signals CH 1 to CH n respectively, and use the least square method to obtain the display noise coefficient k corresponding to each channel. 1 to k n . Wherein, in formula (4), CH m is the sampling output signal of the target channel corresponding to each frame of image; CH m,b is the basic output signal of the target channel; CH n is the sampling of the second reference channel corresponding to each frame of image Output signal; CHn ,b is the base output signal of the second reference channel, and the reference display noise signal is CHn- CHn ,b .
在上述过程中,因为采集帧数较多,随机噪声产生的影响可忽略不计。确定每个通道的显示噪声系数的过程可在触控芯片量产测试阶段进行,根据实际搭载的触控屏进行测试实现,并存入触控芯片中。由于每个通道的显示噪声系数只和触控屏本身特性相关,基本不随使用画面和使用时间的变化而变化,因此,可以用于后续噪声去除过程中。In the above process, due to the large number of acquisition frames, the influence of random noise can be ignored. The process of determining the display noise figure of each channel can be carried out in the mass production test stage of the touch chip, and the test is carried out according to the actual mounted touch screen, and stored in the touch chip. Since the display noise figure of each channel is only related to the characteristics of the touch screen itself, it basically does not change with the change of the used screen and the use time, so it can be used in the subsequent noise removal process.
如图4所示,该方法100包括:S120,根据第一参考通道分别在触控屏处于亮屏状态和处于息屏状态时的输出信号,确定第一参考通道的噪声信号,其中,该第一参考通道为多个通道中未被触摸的任意一个通道。As shown in FIG. 4 , the method 100 includes: S120 , determining a noise signal of the first reference channel according to the output signals of the first reference channel when the touch screen is in the bright screen state and the screen off state, respectively, wherein the first reference channel is A reference channel is any one of the channels that is not touched.
具体地,该方法100还可以包括:在多个通道中未被触摸的通道中,确定第一参考通道,即该第一参考通道可以为多个通道中任意一个未被触摸的通道。例如,本申请实施例以选择多个通道中的第l个通道为第一参考通道 为例进行说明。根据公式(2),可以获得该第l个通道满足的公式(5):Specifically, the method 100 may further include: determining a first reference channel in an untouched channel among the multiple channels, that is, the first reference channel may be any untouched channel among the multiple channels. For example, the embodiment of the present application is described by taking the selection of the 1 th channel among the multiple channels as the first reference channel as an example. According to formula (2), formula (5) satisfied by the lth channel can be obtained:
CH l=CH l,b+N l+k l*N c   (5) CH l =CH l,b +N l +k l *N c (5)
根据上述的公式(5),可以将第一参考通道在触控屏处于亮屏状态时的输出信号CH l,与第一参考通道的基础输出信号CH l,b的差值,确定为第一参考通道的噪声信号ΔCH l,即第一参考通道的噪声信号ΔCH l满足公式(6): According to the above formula (5), the difference between the output signal CH1 of the first reference channel when the touch screen is in the bright screen state and the basic output signals CH1 ,b of the first reference channel can be determined as the first The noise signal ΔCH l of the reference channel, that is, the noise signal ΔCH l of the first reference channel, satisfies formula (6):
ΔCH l=CH l-CH l,b=N l+k l*N c   (6) ΔCH l =CH l -CH l,b =N l +k l *N c (6)
如图4所示,该方法100还包括:S130,根据目标通道的显示噪声系数和第一参考通道的噪声信号,确定目标通道的噪声信号;S140,在目标通道的原始输出信号中去除目标通道的噪声信号,以获得目标通道的目标输出信号,目标通道的目标输出信号用于进行目标通道的触控检测,目标通道的原始输出信号为在触控屏处于亮屏状态时目标通道未去除噪声信号时的输出信号。As shown in FIG. 4 , the method 100 further includes: S130, determining the noise signal of the target channel according to the displayed noise figure of the target channel and the noise signal of the first reference channel; S140, removing the target channel from the original output signal of the target channel The noise signal of the target channel can be obtained to obtain the target output signal of the target channel. The target output signal of the target channel is used for touch detection of the target channel. The original output signal of the target channel is that the target channel does not remove noise when the touch screen is in the bright state. signal output signal.
应理解,可以根据下面的公式(7),确定目标通道的噪声信号N mIt should be understood that the noise signal N m of the target channel can be determined according to the following formula (7):
N m=k m*ΔCH l/k l    (7) N m =km *ΔCH l / k l (7)
其中,k m为目标通道的显示噪声系数,k l为第一参考通道的显示噪声系数,ΔCH l为第一参考通道的噪声信号。可选地,在本申请实施例中,目标通道可以为多个通道中的每个通道,或者,该目标通道也可以为多个通道中除第一参考通道以外的其他通道。 Wherein, k m is the displayed noise figure of the target channel, k l is the displayed noise figure of the first reference channel, and ΔCH l is the noise signal of the first reference channel. Optionally, in this embodiment of the present application, the target channel may be each channel in the plurality of channels, or the target channel may also be another channel in the plurality of channels except the first reference channel.
根据确定的目标通道的噪声信号N m,在目标通道的原始输出信号CH m中去除目标通道的噪声信号N m,则可以获得该目标通道的目标输出信号CH m,ca,该目标通道的目标输出信号CH m,ca可以用于进行该目标通道的触控检测。 According to the determined noise signal N m of the target channel, remove the noise signal N m of the target channel from the original output signal CH m of the target channel, then the target output signal CH m ,ca of the target channel can be obtained. The output signal CH m,ca can be used for touch detection of the target channel.
根据上述公式(6),可以获得下面的公式(8):According to the above formula (6), the following formula (8) can be obtained:
N c’=(CH l-CH l,b)/k l=N c+N l/k l   (8) N c '=(CH l -CH l,b )/k l =N c +N l /k l (8)
结合公式(7)和(8),若本申请实施例确定的目标通道未被触摸,那么该目标通道的目标输出信号CH m,ca可以满足下面的公式(9): Combining formulas (7) and (8), if the target channel determined in the embodiment of the present application is not touched, then the target output signal CH m,ca of the target channel can satisfy the following formula (9):
Figure PCTCN2021106281-appb-000004
Figure PCTCN2021106281-appb-000004
根据该公式(9)可知,在经过去除噪声信号的处理之后,本申请实施例的目标输出信号CH m,ca中只剩下随机噪声量,即目标通道噪声信号N m和 第一参考通道的噪声信号N l。本申请实施例以每个通道的随机噪声量相同为例,均方根值为σ,则残余噪声为σ*(1+k m 2/k l 2) 1/2,由此可见,为使残余噪声最小,本申请实施例中的第一参考通道可选择显示噪声系数最大的通道。 According to the formula (9), after the noise signal removal process, only random noise remains in the target output signal CH m,ca in the embodiment of the present application, that is, the target channel noise signal N m and the first reference channel noise signal N l . In the embodiment of the present application, the random noise amount of each channel is the same as an example, the root mean square value is σ, and the residual noise is σ*(1+km 2 / k l 2 ) 1/2 . It can be seen that, in order to make The residual noise is the smallest, and the first reference channel in this embodiment of the present application can select the channel showing the largest noise figure.
例如,在1至n个通道中,若各个通道的显示噪声系数满足|k 1|<|k 2|<|k 3|<…<|k n-1|<|k n|,并且k n=1,那么可以选择第n个通道为第一参考通道,则残余噪声为σ*(1+k m 2) 1/2,相比较于显示噪声,该噪声大大减小,从而能够明显提高了触控检测系统的信噪比。 For example, in 1 to n channels, if the display noise figure of each channel satisfies |k 1 |<|k 2 |<|k 3 |<…<|k n-1 |<|k n |, and k n =1, then the nth channel can be selected as the first reference channel, then the residual noise is σ*(1+ km 2 ) 1/2 , which is greatly reduced compared to the display noise, which can significantly improve the The signal-to-noise ratio of the touch detection system.
因此,本申请实施例的用于触控屏中多个通道触控检测的方法,利用显示噪声的相似性,分别确定多个通道中每个通道相对于参考显示噪声的显示噪声系数,该过程可以在量产测试阶段完成,使得多通道的触控检测芯片可灵活适应不同搭载屏幕;进一步的,触控检测芯片可以根据量产测试阶段得到的各个通道的显示噪声系数,对RX端得到的I/Q解调数据进行噪声去除的操作,将AFE输出信号中的显示噪声部分去除掉,从而大大提高触控检测系统的信噪比,相比于传统检测系统,解决了亮屏下触控检测中信噪比差的问题的同时,不需要触控屏的显示刷新的同步信号,使触控检测的数据刷新率不受显示刷新率的限制,更加灵活且准确。Therefore, in the method for touch detection of multiple channels in a touch screen according to the embodiment of the present application, the display noise coefficient of each channel in the multiple channels relative to the reference display noise is determined by using the similarity of display noise. It can be completed in the mass production test stage, so that the multi-channel touch detection chip can flexibly adapt to different mounted screens; further, the touch detection chip can be based on the display noise figure of each channel obtained in the mass production test stage. The I/Q demodulation data performs noise removal operation to remove the display noise in the AFE output signal, thereby greatly improving the signal-to-noise ratio of the touch detection system. Compared with the traditional detection system, it solves the problem of touch under the bright screen. In addition to the problem of poor signal-to-noise ratio in detection, a synchronization signal for display refresh of the touch screen is not required, so that the data refresh rate of touch detection is not limited by the display refresh rate, and is more flexible and accurate.
应理解,在上述方法100中,均以各个通道未被触摸的情况为例进行说明,例如,方法100中的第一参考通道为多个通道中未被触摸的通道,上述公式(9)为目标通道未被触摸时满足的公式。相反的,如果考虑目标通道可能被触摸的情况,但第一参考通道仍然选择未被触摸的通道,则参照公式(9),目标通道的目标输出信号CH m,ca可以满足下面的公式(10): It should be understood that, in the above method 100, the case where each channel is not touched is used as an example for description. For example, the first reference channel in the method 100 is an untouched channel among the multiple channels, and the above formula (9) is: A formula that is satisfied when the target channel is not touched. On the contrary, if considering the situation that the target channel may be touched, but the first reference channel still selects the untouched channel, referring to formula (9), the target output signal CH m,ca of the target channel can satisfy the following formula (10 ):
Figure PCTCN2021106281-appb-000005
Figure PCTCN2021106281-appb-000005
其中,以多个通道中任意一个通道为目标通道为例,该m可以依次取1至n中的正整数;ΔS m表示该目标通道m的触摸量,本申请实施例中的触摸量指由于用户触摸对应通道而引起的该通道的输出信号的变化量,例如,若该目标通道m未被触摸,则ΔS m为0,即公式(10)中ΔS m=0时,可得到公式(9)。 Wherein, taking any one of the multiple channels as the target channel as an example, the m can be a positive integer from 1 to n in turn; ΔS m represents the touch volume of the target channel m, and the touch volume in this embodiment of the present application refers to the The variation of the output signal of the channel caused by the user touching the corresponding channel. For example, if the target channel m is not touched, then ΔS m is 0, that is, when ΔS m = 0 in formula (10), formula (9) can be obtained. ).
对于获得的目标通道的目标输出信号CH m,ca,在进行触控检测时,可以通过下面的公式(11),确定该目标通道是否被触摸: For the obtained target output signal CH m,ca of the target channel, during touch detection, the following formula (11) can be used to determine whether the target channel is touched:
Figure PCTCN2021106281-appb-000006
Figure PCTCN2021106281-appb-000006
其中,CH m,ca-CH m,b为复数,sign(real(CH m,ca-CH m,b))表示该复数的实部的符号;VTH1和VTH2为预设的两个阈值,且可以根据实际应用,将VTH1设置为任意正数,VTH2设置为任意负数,例如,VTH1和VTH2可以互为相反数。 where CH m,ca -CH m,b is a complex number, sign(real(CH m,ca -CH m,b )) represents the sign of the real part of the complex number; VTH1 and VTH2 are two preset thresholds, and According to practical applications, VTH1 can be set to any positive number, and VTH2 can be set to any negative number. For example, VTH1 and VTH2 can be opposite numbers to each other.
为了简洁,下文中用(CH m,ca-CH m,b)表示公式(11)中的sign(real(CH m,ca-CH m,b))*|CH m,ca-CH m,b|。图7示出了本申请实施例中n个通道的(CH m,ca-CH m,b)的示意图,m=1,2,……n。如图7所示,若目标通道的目标输出信号CH m,ca满足上面的公式(11)中包括的两个不等式中任意一个,则可以确定该目标通道被触摸,例如,图7中的第m个通道满足上述的公式(11)中第一个不等式,该通道被触摸;相反的,若目标通道的目标输出信号CH m,ca不满足上面的公式(11),则可以确定该目标通道未被触摸,例如,图7中除第m个通道以外的其他通道不满足公式(11)中的两个公式,因此,其他通道未被触摸。 For brevity, sign(real(CH m,ca -CH m,b ))*|CH m,ca -CH m,b in Equation (11) is denoted by (CH m,ca -CH m,b ) hereinafter |. FIG. 7 shows a schematic diagram of (CH m,ca -CH m,b ) of n channels in the embodiment of the present application, where m=1, 2, . . . n. As shown in FIG. 7 , if the target output signal CH m,ca of the target channel satisfies any one of the two inequalities included in the above formula (11), it can be determined that the target channel is touched. If m channels satisfy the first inequality in the above formula (11), the channel is touched; on the contrary, if the target output signal CH m,ca of the target channel does not satisfy the above formula (11), the target channel can be determined Not touched, for example, the other channels except the mth channel in FIG. 7 do not satisfy the two formulas in the formula (11), therefore, the other channels are not touched.
应理解,上述进行目标通道的触控检测的前提为第一参考通道未被触摸,但是相反的,若第一参考通道为被触摸通道,那么则可能引起触控检测误判。为便于分析,以|k 1|<|k 2|<|k 3|<…<|k n-1|<|k n|,k n=1为例,并且采用第n个通道为第一参考通道。如果该第n个通道在被触摸的情况下,被用于上述去除噪声过程中的第一参考通道,例如,该第n个通道的触摸量表示为ΔS n,那么参照公式(5),该第n个通道满足下面的公式(12): It should be understood that the premise of the above-mentioned touch detection of the target channel is that the first reference channel is not touched, but on the contrary, if the first reference channel is the touched channel, it may cause a misjudgment of touch detection. For the convenience of analysis, take |k 1 |<|k 2 |<|k 3 |<…<|k n-1 |<|k n |, k n =1 as an example, and use the nth channel as the first reference channel. If the nth channel is used as the first reference channel in the above-mentioned noise removal process under the condition of being touched, for example, the touch amount of the nth channel is expressed as ΔS n , then with reference to formula (5), the The nth channel satisfies the following formula (12):
CH n=CH n,b+ΔS n+N n+N c   (12) CH n =CH n,b +ΔS n +N n +N c (12)
类似的,参照上述公式(8),可以获得下面的公式(13):Similarly, referring to the above formula (8), the following formula (13) can be obtained:
N c’=CH n-CH n,b=ΔS n+N c+N n   (13) N c '=CH n -CH n,b =ΔS n +N c +N n (13)
那么,参照公式(10),目标通道的目标输出信号CH m,ca则满足下面的公式(14): Then, referring to formula (10), the target output signal CH m,ca of the target channel satisfies the following formula (14):
Figure PCTCN2021106281-appb-000007
Figure PCTCN2021106281-appb-000007
由此可见,目标通道的目标输出信号CH m,ca中额外增加了一项,即增加了第一参考通道的触摸量,此时,若仍然采用上述公式(11)的判断方式, 则会出现触摸状态的误判。图8示出了本申请实施例的多通道触控检测中可能的误判情况的示意图,如图8所示的情况,结合公式(14),虚线圆圈中的两个点分别表示第m个通道和第n个通道,第m个通道和第n个通道实际上为被触摸通道,但是由于选择了被触摸的第n个通道作为第一参考通道,根据公式(14),目标输出信号CH m,ca中额外增加了一项第一参考通道的触摸量,若仍然通过公式(11)进行计算,那么该第m个通道会被误判为未触摸通道,而其他的实际上未被触摸的通道,却会被误判为触摸通道。 It can be seen that an additional item is added to the target output signal CH m,ca of the target channel, that is, the touch amount of the first reference channel is increased. At this time, if the judgment method of the above formula (11) is still used, there will be Misjudgment of touch state. FIG. 8 shows a schematic diagram of possible misjudgments in multi-channel touch detection according to an embodiment of the present application. In the case shown in FIG. 8, combined with formula (14), the two dots in the dotted circle represent the mth The channel and the nth channel, the mth channel and the nth channel are actually the touched channel, but since the touched nth channel is selected as the first reference channel, according to formula (14), the target output signal CH An additional touch amount of the first reference channel is added to m,ca . If the calculation is still performed by formula (11), the mth channel will be misjudged as an untouched channel, and the others are not actually touched. channel, but it will be misjudged as a touch channel.
因此,为了解决该问题,本申请实施例提出了一种用于触控屏中多个通道触控检测的方法,能够解决该问题。Therefore, in order to solve this problem, an embodiment of the present application proposes a method for touch detection of multiple channels in a touch screen, which can solve this problem.
具体地,图9示出了本申请实施例的用于触控屏中多个通道触控检测的方法300的示意性流程图。应理解,方法100类似,本申请实施例的方法300中包括的全部或者部分步骤可以由用于触控屏中多个通道触控检测的装置执行。例如,该装置可以包括处理单元,该处理单元用于执行该方法300;再例如,该装置可以包括处理器,处理器可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法300,其中,存储器可以是独立于处理器的一个单独的器件,也可以集成在处理器中。Specifically, FIG. 9 shows a schematic flowchart of a method 300 for touch detection of multiple channels in a touch screen according to an embodiment of the present application. It should be understood that the method 100 is similar, and all or part of the steps included in the method 300 in this embodiment of the present application may be performed by an apparatus for touch detection of multiple channels in a touch screen. For example, the apparatus may include a processing unit, and the processing unit is configured to execute the method 300; for another example, the apparatus may include a processor, and the processor may call and run a computer program from a memory to implement the method in the embodiments of the present application 300, wherein the memory may be a separate device independent of the processor, or may be integrated in the processor.
如图5所示,该方法可以应用于如图5所示的触控检测系统中,具体地,可以由该系统中的装置200执行,例如,该触控检测系统可以包括触控芯片,该触控芯片包括该装置200。具体地,该装置200可以包括处理器或者处理单元,以执行该方法300。另外,如图5所示,经过各个通道的ADC输出的数字信号会经过解调处理,输出的I/Q解调数据并输入至装置200中,以执行该方法300。As shown in FIG. 5 , the method can be applied to the touch detection system shown in FIG. 5 . Specifically, it can be executed by the device 200 in the system. For example, the touch detection system can include a touch chip, the The touch chip includes the device 200 . Specifically, the apparatus 200 may include a processor or a processing unit to perform the method 300 . In addition, as shown in FIG. 5 , the digital signals output by the ADCs of each channel are subjected to demodulation processing, and the output I/Q demodulated data is input to the device 200 to execute the method 300 .
如图9所示,该方法300包括:S310,获取多个通道中每个通道的显示噪声系数。具体地,以该多个通道中至少两个目标通道为例,该S310可以具体包括:在触控屏未被触摸时,根据多帧显示图像,确定至少两个目标通道中每个目标通道的显示噪声系数,其中,至少两个目标通道为多个通道中任意相邻的至少两个通道,即至少两个目标通道为多个通道中位置上相邻的或者说连续的至少两个通道,每个目标通道的显示噪声系数表示每个目标通道的显示噪声信号相对于参考显示噪声信号的比值,显示噪声信号为在触控屏处于亮屏状态时产生的。应理解,该S310可以对应于上述方法100中的S110,适用于S110中的相关描述,为了简洁,在此不再赘述。As shown in FIG. 9 , the method 300 includes: S310 , acquiring the display noise figure of each channel in the multiple channels. Specifically, taking at least two target channels among the plurality of channels as an example, the S310 may specifically include: when the touch screen is not touched, according to the multi-frame display images, determine the target channel of each of the at least two target channels. The noise figure is displayed, wherein the at least two target channels are any adjacent at least two channels among the plurality of channels, that is, the at least two target channels are at least two adjacent or consecutive channels in the plurality of channels in position, The display noise figure of each target channel represents the ratio of the display noise signal of each 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. It should be understood that S310 may correspond to S110 in the foregoing method 100, and is applicable to the relevant descriptions in S110, and for brevity, details are not repeated here.
如图9所示,该方法300还包括:S320,根据第一参考通道分别在触控屏处于亮屏状态和处于息屏状态时的输出信号,确定第一参考通道的噪声信号,第一参考通道为多个通道中的第一通道。应理解,该S320可以对应于上述方法100中的S120,适用于S120中的相关描述,为了简洁,在此不再赘述。但该S320与S120中不同的是,该S320中的第一参考通道可以为该多个通道中的任意一个通道,这里以该第一参考通道为多个通道中的第一通道为例,即该S320中的第一参考通道为第一通道,该第一通道可能为被触摸的通道,或者,也可以为未被触摸的通道,而S120中的第一参考通道为未被触摸的通道。As shown in FIG. 9 , the method 300 further includes: S320 : Determine the noise signal of the first reference channel according to the output signals of the first reference channel when the touch screen is in the bright screen state and the screen off state, respectively, and the first reference channel The channel is the first channel of the plurality of channels. It should be understood that this S320 may correspond to S120 in the foregoing method 100, and is applicable to the relevant descriptions in S120, and for the sake of brevity, details are not repeated here. However, the difference between S320 and S120 is that the first reference channel in S320 can be any one of the plurality of channels. Here, the first reference channel is the first channel of the plurality of channels as an example, that is, The first reference channel in S320 is the first channel, the first channel may be the touched channel, or may also be the untouched channel, and the first reference channel in S120 is the untouched channel.
如图9所示,该方法300还包括:S330,根据每个目标通道的显示噪声系数和第一参考通道的噪声信号,确定每个目标通道的噪声信号。应理解,该S330可以对应于上述方法100中的S130,适用于S130中的相关描述,为了简洁,在此不再赘述。As shown in FIG. 9 , the method 300 further includes: S330 , determining the noise signal of each target channel according to the displayed noise figure of each target channel and the noise signal of the first reference channel. It should be understood that this S330 may correspond to S130 in the foregoing method 100, and is applicable to the relevant description in S130, and for the sake of brevity, details are not repeated here.
如图9所示,该方法300还包括:S340,在每个目标通道的原始输出信号中去除每个目标通道的噪声信号,以获得每个目标通道的目标输出信号,每个目标通道的原始输出信号为在触控屏处于亮屏状态时每个目标通道未去除噪声信号时的输出信号。应理解,该S340中确定目标通道的目标输出信号的过程可以对应于上述方法100中的S140,适用于S140中的相关描述,为了简洁,在此不再赘述。As shown in FIG. 9 , the method 300 further includes: S340 , remove the noise signal of each target channel from the original output signal of each target channel, so as to obtain the target output signal of each target channel, the original output signal of each target channel The output signal is the output signal when the noise signal is not removed from each target channel when the touch screen is in the bright state. It should be understood that the process of determining the target output signal of the target channel in S340 may correspond to S140 in the above-mentioned method 100, and is applicable to the relevant description in S140, which is not repeated here for brevity.
但该S340与S140的不同在于,由于该方法300中确定的第一参考通道可能被触摸,因此,S340中确定的目标通道的目标输出信号可以不被直接用于触控检测,而是继续执行该方法300中其他步骤,例如S350或者其他步骤。However, the difference between S340 and S140 is that since the first reference channel determined in the method 300 may be touched, the target output signal of the target channel determined in S340 may not be directly used for touch detection, but continue to execute Other steps in the method 300, such as S350 or other steps.
具体地,如图9所示,该方法300还包括:S350,根据至少两个目标通道的目标输出信号、至少两个目标通道的基础输出信号和至少两个目标通道的显示噪声系数,确定第一参考通道是否被触摸,每个目标通道的基础输出信号为每个目标通道在触控屏处于息屏状态且未被触摸时的输出信号。具体地,为了便于说明,这里以至少两个目标通道中任意相邻的两个通道为例,并且将这两个通道分别称为第一目标通道和第二目标通道,那么若第一目标通道满足下面的公式(15),可以确定该第一目标通道满足预设条件,Specifically, as shown in FIG. 9, the method 300 further includes: S350, according to the target output signals of the at least two target channels, the basic output signals of the at least two target channels, and the display noise figures of the at least two target channels, determine the first Whether a reference channel is touched, the basic output signal of each target channel is the output signal of each target channel when the touch screen is in an off-screen state and not touched. Specifically, for the convenience of description, here we take any two adjacent channels among the at least two target channels as an example, and these two channels are respectively referred to as the first target channel and the second target channel, then if the first target channel Satisfying the following formula (15), it can be determined that the first target channel satisfies the preset condition,
Figure PCTCN2021106281-appb-000008
Figure PCTCN2021106281-appb-000008
其中,CH m,ca为第一目标通道的目标输出信号,即基于第一参考通道进行噪声去除之后输出的信号;CH m,b为第一目标通道的基础输出信号;CH m-1,ca为与第一目标通道相邻的第二目标通道的目标输出信号,即基于第一参考通道去除噪声之后,该第二目标通道的输出信号;CH m-1,b为第二目标通道的基础输出信号;k m为第一目标通道的显示噪声系数;k m-1为第二目标通道的显示噪声系数;Slope_th1和Slope_th2为两个预设阈值,并且这两个预设阈值可以根据实际应用设置为任意值,本申请实施例并不限于此。 Among them, CH m,ca is the target output signal of the first target channel, that is, the output signal after noise removal based on the first reference channel; CH m,b is the basic output signal of the first target channel; CH m-1,ca is the target output signal of the second target channel adjacent to the first target channel, that is, the output signal of the second target channel after removing noise based on the first reference channel; CH m-1,b is the basis of the second target channel Output signal; km is the displayed noise figure of the first target channel; km -1 is the displayed noise figure of the second target channel; Slope_th1 and Slope_th2 are two preset thresholds, and these two preset thresholds can be applied according to actual applications It is set to any value, and the embodiment of the present application is not limited to this.
另外,考虑到公式(15)中计算的Slope m为复数,为了便于计算,可以进一步确定sign(real(Slope m)*|Slope m|的值,对应的,公式(15)中的Slope_th2<Slope m<Slope_th1可以用于表示sign(real(Slope m)*|Slope m|的值是否属于Slope_th1和Slope_th2两个预设阈值之间的取值范围,此时,这两个预设阈值可以根据实际应用设置为实数,但本申请实施例并不限于此。 In addition, considering that the Slope m calculated in the formula (15) is a complex number, in order to facilitate the calculation, the value of sign(real(Slope m )*|Slope m | can be further determined, correspondingly, Slope_th2<Slope in the formula (15) m <Slope_th1 can be used to indicate whether the value of sign(real(Slope m )*|Slope m | belongs to the value range between the two preset thresholds Slope_th1 and Slope_th2. At this time, the two preset thresholds can be based on actual The application is set to a real number, but the embodiment of the present application is not limited to this.
应理解,以第一参考通道为第n个通道为例进行说明,那么确定的目标通道的目标输出信号CH m,ca满足公式(14),代入上面的公式(15),可得下面的公式(16): It should be understood that, taking the first reference channel as the nth channel as an example for illustration, then the target output signal CH m,ca of the determined target channel satisfies the formula (14), and substituting the above formula (15), the following formula can be obtained. (16):
Slope m=-ΔS n+(ΔS m-ΔS m-1)/(k m-k m-1)+(N m-N m-1)/(k m-k m-1)-N n≈-ΔS n+(ΔS m-ΔS m-1)/(k m-k m-1)   (16) Slope m =-ΔS n +(ΔS m -ΔS m-1 )/(km -k m -1 )+(N m -N m-1 )/(km -k m -1 )-N n ≈ -ΔS n +(ΔS m -ΔS m-1 )/(k m -k m-1 ) (16)
在公式(16)中,m可以依次取为1至n中正整数,并且,因为随机噪声N远远小于各个通道的触摸量ΔS,其中,ΔS m-1表示第m-1个通道的触摸量,所以随机噪声项可先忽略。根据第m个通道的Slope m的值,可以确定该通道是否被触摸。具体地,图10示出了本申请实施例的多个通道是否满足预设条件的示意图,其中,图10中纵坐标的“S”表示第m个通道的sign(real(Slope m)*|Slope m|的值,m依次取2至n中的正整数。如图10所示,若多个通道中的任意一个通道满足上面的公式(15),可以确定该通道未被触摸,例如图10中的通道RX 1;相反的,如果任意一个通道不满足上面的公式(15),则可以确定该通道被触摸,例如图10中的RX mIn formula (16), m can be sequentially taken as a positive integer from 1 to n, and because the random noise N is much smaller than the touch amount ΔS of each channel, where ΔS m-1 represents the touch amount of the m-1th channel , so the random noise term can be ignored first. According to the value of Slope m of the mth channel, it can be determined whether the channel is touched. Specifically, FIG. 10 shows a schematic diagram of whether multiple channels meet the preset conditions in the embodiment of the present application, wherein “S” on the ordinate in FIG. 10 represents the sign(real(Slope m )*| of the mth channel The value of Slope m |, m takes a positive integer from 2 to n in turn. As shown in Figure 10, if any one of the multiple channels satisfies the above formula (15), it can be determined that the channel is not touched, for example, Figure 10 Channel RX 1 in 10; on the contrary, if any channel does not satisfy the above formula (15), it can be determined that the channel is touched, such as RX m in FIG. 10 .
采用上述公式(15)即可进行触控检测,以确定多个通道中各个通道是否被触摸,并且该过程可以不受第一参考通道是否被触摸的限制。但是考虑 到可能存在偶然干扰,导致部分通道在被触摸时,仍然满足上面的公式(15),或者部分通道在未被触摸时不满足上面的公式(15),所以也可以不采用该公式(15)确定通道是否被触摸,而是进一步确定选择的第一参考通道是否被触摸。Touch detection can be performed by using the above formula (15) to determine whether each channel in the multiple channels is touched, and the process may not be limited by whether the first reference channel is touched. However, considering that there may be accidental interference, some channels still satisfy the above formula (15) when they are touched, or some channels do not satisfy the above formula (15) when they are not touched, so this formula ( 15) Determine whether the channel is touched, but further determine whether the selected first reference channel is touched.
具体地,根据公式(16),当第m和m-1个RX通道均未被触摸时,Slope m≈-ΔS n,此特性可作为判断该第一参考通道是否被触摸的依据。具体地,按照上述公式(15),可以确定多个通道中任意一个通道是否满足该公式(15),并将满足公式(15)的通道确定为满足预设条件的通道,那么进一步可以确定多个通道中除第一参考通道以外的其他通道中,满足该预设条件的通道的数量。若其他通道中满足预设条件的通道的数量与多个通道的总个数的比值大于或者等于预设值,确定第一参考通道被触摸;相反的,若其他通道中满足预设条件的通道的数量与多个通道的总个数的比值小于预设值,确定第一参考通道未被触摸。 Specifically, according to formula (16), when neither the mth nor the m-1th RX channel is touched, Slope m ≈ -ΔS n , and this characteristic can be used as a basis for judging whether the first reference channel is touched. Specifically, according to the above formula (15), it can be determined whether any one of the multiple channels satisfies the formula (15), and the channel that satisfies the formula (15) is determined as the channel that satisfies the preset condition. Among the channels other than the first reference channel, the number of channels that satisfy the preset condition. If the ratio of the number of channels that meet the preset conditions in the other channels to the total number of multiple channels is greater than or equal to the preset value, it is determined that the first reference channel is touched; on the contrary, if the channels that meet the preset conditions in the other channels are touched The ratio of the number to the total number of multiple channels is less than the preset value, and it is determined that the first reference channel is not touched.
应理解,考虑到实际触控应用时,被触摸的通道占整体通道数的比例相对较小,所以可以用1/2或1/3的比例确定第一参考通道是否被触摸,即预设值可以为1/2或者2/3;或者,该预设值也可以根据实际应用确定为其他数值,但本申请实施例并不限于此。It should be understood that, considering the actual touch application, the ratio of the touched channel to the total number of channels is relatively small, so the ratio of 1/2 or 1/3 can be used to determine whether the first reference channel is touched, that is, the preset value. It may be 1/2 or 2/3; or, the preset value may also be determined as other values according to practical applications, but the embodiment of the present application is not limited to this.
如图9所示,该方法300还包括:S360,若确定第一参考通道未被触摸,根据至少两个目标通道的目标输出信号,进行至少两个目标通道的触控检测;相反的,若确定第一参考通道被触摸,将第一参考通道更新为多个通道中的第二通道,第一通道与第二通道不同。As shown in FIG. 9 , the method 300 further includes: S360, if it is determined that the first reference channel is not touched, perform touch detection on at least two target channels according to the target output signals of the at least two target channels; on the contrary, if It is determined that the first reference channel is touched, and the first reference channel is updated to a second channel among the plurality of channels, and the first channel is different from the second channel.
具体地,在上述过程中,选择了多个通道中的第一通道作为第一参考通道,例如,该第一通道可以为第n个通道TX n,如果确定该第一参考通道未被触摸,那么确定的目标通道的目标输出信号可以进行触控检测,例如,可以根据上述公式(11)进行触控检测,且该目标通道的目标输出信号中已去除噪声信号。相反的,如果确定该第一参考通道被触摸,那么可以在多个通道中重新确定第一参考通道,例如,将多个通道中第二通道确定为新的第一参考通道,并采用上述方法300重新确定该新的第一参考通道是否被触摸。依次类推,直至确定的第一参考通道未被触摸时,依据该未被触摸的第一参考通道确定的目标通道的目标输出信号,可以用于进行触控检测。 Specifically, in the above process, the first channel among the multiple channels is selected as the first reference channel, for example, the first channel may be the nth channel TX n , if it is determined that the first reference channel is not touched, Then, the target output signal of the determined target channel can be subjected to touch detection. For example, touch detection can be performed according to the above formula (11), and the target output signal of the target channel has been removed from the noise signal. On the contrary, if it is determined that the first reference channel is touched, the first reference channel may be re-determined among the multiple channels, for example, the second channel among the multiple channels is determined as the new first reference channel, and the above method is used. 300 Redetermines whether the new first reference channel is touched. By analogy, until the determined first reference channel is not touched, the target output signal of the target channel determined according to the untouched first reference channel can be used for touch detection.
应理解,根据上述方法300中S320或者方法100中的S120的描述,为 使去除噪声之后的目标通道的目标输出信号中残余噪声最小,本申请实施例中的第一参考通道应选择显示噪声系数最大的通道,即可以将各个通道的显示噪声系数从大到小排列,并优先选择最大值对应的通道作为第一参考通道,例如,可以在量产芯片时,确定各个通道的显示噪声系数的同时,也对各个通道的显示噪声系数进行排序。例如,以|k 1|<|k 2|<|k 3|<…<|k n-1|<|k n|为例,可以先选择最大值k n对应的第n个通道为第一参考通道;但若确定该第n个通道被触摸,则在除第n个通道以外的其余通道中,再选择最大值k n-1对应的第n-1个通道为第一参考通道,依次类推。 It should be understood that, according to the description of S320 in the above method 300 or S120 in the method 100, in order to minimize the residual noise in the target output signal of the target channel after noise removal, the first reference channel in this embodiment of the present application should be selected to display the noise figure The largest channel, that is, the displayed noise coefficient of each channel can be arranged from large to small, and the channel corresponding to the largest value can be selected as the first reference channel. For example, the displayed noise coefficient of each channel can be determined when the chip is mass-produced. At the same time, the displayed noise figure of each channel is also sorted. For example, taking |k 1 |<|k 2 |<|k 3 |<…<|k n-1 |<|k n | as an example, you can first select the nth channel corresponding to the maximum value k n as the first reference channel; but if it is determined that the nth channel is touched, then among the remaining channels except the nth channel, the n-1th channel corresponding to the maximum value k n-1 is selected as the first reference channel, and the sequence analogy.
因此,本申请实施例的用于触控屏中多个通道触控检测的方法,利用显示噪声的相似性,分别确定多个通道中每个通道相对于参考显示噪声的显示噪声系数,该过程可以在量产测试阶段完成,使得多通道的触控检测芯片可灵活适应不同搭载屏幕;进一步的,在多个通道中选择一个通道作为第一参考通道,基于该第一参考通道的显示噪声系数,对其他通道的输出信号去除噪声操作。由于在选择的该第一参考通道被触摸的情况下,对应确定的其他通道的输出信号如果进行触控检测,会出现误判,所以可以根据该其他通道的去除噪声之后的输出信号,确定选择的第一参考通道是否被触摸,如果未被触摸,那么可以基于其他通道的去除噪声之后的输出信号进行触控检测;但如果选择的第一参考通道被触摸,那么可以通过重新选择新的第一参考通道的方式,重新确定其他通道的去除噪声之后的输出信号,直至确定选择的新的第一参考通道未被触摸时,可以基于此未被触摸的第一参考通道,对其余通道去除噪声,以对去除噪声之后的输出信号进行触控检测。上述计算过程比较简单,并且可以避免选择的第一参考通道被触摸时进行触控检测的误判的情况,在提高触控检测的准确性的前提下,大大提高了实际使用的可行性。Therefore, in the method for touch detection of multiple channels in a touch screen according to the embodiment of the present application, the display noise coefficient of each channel in the multiple channels relative to the reference display noise is determined by using the similarity of display noise. It can be completed in the mass production test stage, so that the multi-channel touch detection chip can be flexibly adapted to different mounted screens; further, one channel is selected as the first reference channel among the multiple channels, and the display noise figure based on the first reference channel is displayed. , to remove noise from the output signals of other channels. When the selected first reference channel is touched, if touch detection is performed on the output signals of the other determined channels, misjudgment will occur, so the selection can be determined according to the noise-removed output signals of the other channels. Whether the first reference channel is touched, if not, touch detection can be performed based on the noise-removed output signals of other channels; but if the selected first reference channel is touched, then a new By means of a reference channel, the output signals of other channels after noise removal are re-determined until it is determined that the selected new first reference channel is not touched, and noise can be removed from the remaining channels based on the untouched first reference channel. , to perform touch detection on the output signal after noise removal. The above calculation process is relatively simple, and can avoid the misjudgment of touch detection when the selected first reference channel is touched, and greatly improves the feasibility of practical use on the premise of improving the accuracy of touch detection.
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的 各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor in this embodiment of the present application may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Programming logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step, and logic block diagram disclosed in the embodiments of this application can be implemented or executed. 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 conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the above memory is an example but not a limitative description, for example, the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。Embodiments of the present application further provide a computer-readable storage medium for storing a computer program.
可选的,该计算机可读存储介质可应用于本申请实施例中的用于触控屏中多个通道触控检测的装置,并且该计算机程序使得计算机执行本申请实施例的各个方法的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the apparatus for touch detection of multiple channels in the touch screen in the embodiments of the present application, and the computer program enables the computer to execute the corresponding methods of the methods in the embodiments of the present application. The process, for the sake of brevity, will not be repeated here.
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。Embodiments of the present application also provide a computer program product, including computer program instructions.
可选的,该计算机程序产品可应用于本申请实施例中的用于触控屏中多个通道触控检测的装置,并且该计算机程序指令使得计算机执行本申请实施例的各个方法的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the apparatus for touch detection of multiple channels in the touch screen in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes of the methods in the embodiments of the present application. , and are not repeated here for brevity.
本申请实施例还提供了一种计算机程序。The embodiments of the present application also provide a computer program.
可选的,该计算机程序可应用于本申请实施例中的用于触控屏中多个通道触控检测的装置,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the apparatus for touch detection of multiple channels in the touch screen in the embodiment of the present application, and when the computer program is run on the computer, the computer is made to execute each of the embodiments of the present application. For the sake of brevity, the corresponding processes in the method will not be repeated here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (20)

  1. 一种用于触控屏中多个通道触控检测的方法,其特征在于,包括:A method for touch detection of multiple channels in a touch screen, comprising:
    根据第一参考通道分别在所述触控屏处于亮屏状态和处于息屏状态时的输出信号,确定所述第一参考通道的噪声信号,所述第一参考通道为所述多个通道中未被触摸的通道;Determine the noise signal of the first reference channel according to the output signals of the first reference channel when the touch screen is in the bright screen state and the screen off state respectively, where the first reference channel is one of the multiple channels untouched channel;
    根据所述多个通道中的目标通道的显示噪声系数和所述第一参考通道的噪声信号,确定所述目标通道的噪声信号,其中,所述目标通道的显示噪声系数表示所述目标通道的显示噪声信号相对于参考显示噪声信号的比值,所述显示噪声信号为在所述触控屏处于亮屏状态时产生的;Determine the noise signal of the target channel according to the displayed noise figure of the target channel in the plurality of channels and the noise signal of the first reference channel, wherein the displayed noise figure of the target channel represents the noise signal of the target channel a ratio of a display noise signal to a reference display noise signal, where 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 the target output signal of the target channel, and the target output signal of the target channel is used for touch detection of the target channel, The original output signal of the target channel is the output signal when the target channel does not remove the noise signal when the touch screen is in a bright screen state.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在所述触控屏未被触摸时,根据多帧显示图像,确定所述多个通道中每个通道的显示噪声系数,所述每个通道的显示噪声系数表示所述每个通道的显示噪声信号相对于参考显示噪声信号的比值。When the touch screen is not touched, the display noise figure of each channel in the plurality of channels is determined according to the multi-frame display images, and the display noise figure of each channel represents the display noise of each channel The ratio of the signal to the reference shows the noise signal.
  3. 根据权利要求2所述的方法,其特征在于,所述在所述触控屏未被触摸时,根据多帧显示图像,确定所述多个通道中每个通道的显示噪声系数,包括:The method according to claim 2, wherein when the touch screen is not touched, determining the display noise figure of each of the multiple channels according to multiple frames of display images, comprising:
    在所述触控屏未被触摸且所述触控屏处于息屏状态时,根据所述每个通道的输出信号,确定所述每个通道的基础输出信号;When the touch screen is not touched and the touch screen is in an off-screen state, determining the 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 the sampling output signal of each channel corresponding to each frame of the display image in the multi-frame display image;
    根据所述每个通道的采样输出信号与所述每个通道的基础输出信号的差值,确定所述每个通道的显示噪声系数。The display noise figure of each channel is determined according to the difference between the sampled output signal of each channel and the basic output signal of each channel.
  4. 根据权利要求3所述的方法,其特征在于,所述在所述触控屏未被触摸且所述触控屏处于息屏状态时,根据所述每个通道的输出信号,确定所述每个通道的基础输出信号,包括:The method according to claim 3, wherein when the touch screen is not touched and the touch screen is in an off-screen state, determining the each channel according to the output signal of each channel Basic output signal of 1 channel, including:
    在所述触控屏未被触摸且所述触控屏处于息屏状态时,将所述每个通道在预设时间内的输出信号的平均值,确定为所述每个通道的基础输出信号。When the touch screen is not touched and the touch screen is in the screen-off state, the average value of the output signals of each channel within a preset time is determined as the basic output signal of each channel .
  5. 根据权利要求3或4所述的方法,其特征在于,所述根据所述每个通道的采样输出信号与所述每个通道的基础输出信号的差值,确定所述每个通道的显示噪声系数,包括:The method according to claim 3 or 4, wherein the display noise of each channel is determined according to the difference between the sampled output signal of each channel and the basic output signal of each channel coefficients, including:
    在所述多个通道中确定第二参考通道,并将所述第二参考通道的噪声系数确定为1;determining a second reference channel among the plurality of channels, and determining a noise figure of the second reference channel to be 1;
    根据下面的公式(1),以及所述每帧图像对应的所述每个通道的采样输出信号,采用最小二乘法,确定所述目标通道的显示噪声系数k mAccording to the following formula (1) and the sampling output signal of each channel corresponding to each frame of image, the least squares method is used to determine the display noise coefficient km of the target channel:
    CH m-CH m,b=k m*(CH n-CH n,b)    (1) CH m -CH m,b =k m *(CH n -CH n,b ) (1)
    其中,CH m为所述每帧图像对应的所述目标通道的采样输出信号;CH m,b为所述目标通道的基础输出信号;CH n为所述每帧图像对应的所述第二参考通道的采样输出信号;CH n,b为所述第二参考通道的基础输出信号,所述参考显示噪声信号为CH n-CH n,bWherein, CH m is the sampling output signal of the target channel corresponding to each frame of image; CH m,b is the basic output signal of the target channel; CH n is the second reference corresponding to each frame of image The sampling output signal of the channel; CH n,b is the basic output signal of the second reference channel, and the reference display noise signal is CH n -CH n,b .
  6. 根据权利要求3至5中任一项所述的方法,其特征在于,所述根据第一参考通道分别在所述触控屏处于亮屏状态和处于息屏状态时的输出信号,确定所述第一参考通道的噪声信号,包括:The method according to any one of claims 3 to 5, wherein the determining the The noise signal of the first reference channel, including:
    将所述第一参考通道在所述触控屏处于亮屏状态时的输出信号,与所述第一参考通道的基础输出信号的差值,确定为所述第一参考通道的噪声信号。The difference between the output signal of the first reference channel when the touch screen is in the bright screen state and the basic output signal of the first reference channel is determined as the noise signal of the first reference channel.
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述目标通道的显示噪声系数和所述第一参考通道的噪声信号,确定所述目标通道的噪声信号,包括:The method according to claim 6, wherein the determining the noise signal of the target channel according to the displayed noise figure of the target channel and the noise signal of the first reference channel comprises:
    根据下面的公式(2),确定所述目标通道的噪声信号N mAccording to the following formula (2), the noise signal N m of the target channel is determined:
    N m=k m*ΔCH l/k l    (2) N m =km *ΔCH l / k l (2)
    其中,k m为所述目标通道的显示噪声系数,k l为所述第一参考通道的显示噪声系数,ΔCH l为所述第一参考通道的噪声信号。 Wherein, k m is the display noise figure of the target channel, k l is the display noise figure of the first reference channel, and ΔCH l is the noise signal of the first reference channel.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述第一参考通道的显示噪声系数为所述多个通道的显示噪声系数中的最大值。The method according to any one of claims 1 to 7, wherein the display noise figure of the first reference channel is a maximum value of the display noise figures of the plurality of channels.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述第一参考通道与所述目标通道不同。The method of any one of claims 1 to 8, wherein the first reference channel is different from the target channel.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 9, wherein the method further comprises:
    在所述多个通道中确定未被触摸的通道为所述第一参考通道。It is determined that an untouched channel among the plurality of channels is the first reference channel.
  11. 根据权利要求10所述的方法,其特征在于,所述在所述多个通道中确定未被触摸的通道为所述第一参考通道,包括:The method according to claim 10, wherein the determining that the untouched channel among the plurality of channels is the first reference channel comprises:
    根据第一通道分别在所述触控屏处于亮屏状态和处于息屏状态时的输出信号,确定所述第一通道的噪声信号,所述第一通道为所述多个通道中的任一通道;The noise signal of the first channel is determined according to the output signals of the first channel when the touch screen is in the bright screen state and the screen off state, and the first channel is any one of the multiple channels aisle;
    根据至少两个目标通道中每个目标通道的显示噪声系数和所述第一通道的噪声信号,确定所述每个目标通道的噪声信号,所述至少两个目标通道为所述多个通道中相邻的至少两个通道,所述每个目标通道的显示噪声系数表示所述每个目标通道的显示噪声信号相对于参考显示噪声信号的比值,所述显示噪声信号为在所述触控屏处于亮屏状态时产生的;Determine the noise signal of each target channel according to the displayed noise figure of each of the at least two target channels and the noise signal of the first channel, the at least two target channels being one of the plurality of channels At least two adjacent channels, the display noise figure of each target channel represents the ratio of the display noise signal of each target channel to the reference display noise signal, and the display noise signal is displayed on the touch screen. Generated when the screen is on;
    在所述每个目标通道的原始输出信号中去除所述每个目标通道的噪声信号,以获得所述每个目标通道的目标输出信号,所述每个目标通道的原始输出信号为在所述触控屏处于亮屏状态时所述每个目标通道未去除噪声信号时的输出信号;The noise signal of each target channel is removed from the original output signal of each target channel to obtain the target output signal of each target channel, and the original output signal of each target channel is in the When the touch screen is in the bright screen state, the output signal when the noise signal is not removed from each target channel;
    根据所述至少两个目标通道的目标输出信号、所述至少两个目标通道的基础输出信号和所述至少两个目标通道的显示噪声系数,确定所述第一通道是否被触摸,所述每个目标通道的基础输出信号为所述每个目标通道在所述触控屏处于息屏状态且未被触摸时的输出信号;Determine whether the first channel is touched according to the target output signals of the at least two target channels, the basic output signals of the at least two target channels, and the display noise figure of the at least two target channels, and the each The basic output signal of each target channel is the output signal of each target channel when the touch screen is in an off-screen state and is not touched;
    若确定所述第一通道未被触摸,将所述第一通道确定为所述第一参考通道。If it is determined that the first channel is not touched, the first channel is determined to be the first reference channel.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, wherein the method further comprises:
    若确定所述第一通道被触摸,在所述多个通道中确定第二通道是否被触摸,所述第一通道与所述第二通道不同;If it is determined that the first channel is touched, determine whether a second channel is touched among the plurality of channels, the first channel is different from the second channel;
    若确定所述第二通道未被触摸,将所述第二通道确定为所述第一参考通道。If it is determined that the second channel is not touched, the second channel is determined to be the first reference channel.
  13. 根据权利要求12所述的方法,其特征在于,在所述多个通道中的除所述第一通道以外的其他通道的显示噪声系数中,所述第二通道的显示噪声系数为最大值。The method according to claim 12, wherein among the display noise figures of other channels in the plurality of channels except the first channel, the display noise figure of the second channel is the maximum value.
  14. 根据权利要求11至13中任一项所述的方法,其特征在于,所述至少两个目标通道包括相邻的第一目标通道和第二目标通道,The method according to any one of claims 11 to 13, wherein the at least two target channels comprise adjacent first target channels and second target channels,
    所述根据所述至少两个目标通道的目标输出信号、所述至少两个目标通 道的基础输出信号和所述至少两个目标通道的显示噪声系数,确定所述第一通道是否被触摸,包括:The determining whether the first channel is touched according to the target output signals of the at least two target channels, the basic output signals of the at least two target channels, and the display noise figures of the at least two target channels, includes: :
    若所述第一目标通道满足下面的公式(3),确定所述第一目标通道满足预设条件,If the first target channel satisfies the following formula (3), it is determined that the first target channel satisfies the preset condition,
    Figure PCTCN2021106281-appb-100001
    Figure PCTCN2021106281-appb-100001
    其中,CH m,ca为所述第一目标通道的目标输出信号;CH m,b为所述第一目标通道的基础输出信号;CH m-1,ca为所述第二目标通道的目标输出信号;CH m-1,b为所述第二目标通道的基础输出信号;k m为所述第一目标通道的显示噪声系数;k m-1为所述第二目标通道的显示噪声系数;Slope_th1和Slope_th2为两个预设阈值; Wherein, CH m,ca is the target output signal of the first target channel; CH m,b is the basic output signal of the first target channel; CH m-1,ca is the target output of the second target channel signal; CH m-1,b is the basic output signal of the second target channel; km is the displayed noise figure of the first target channel; km -1 is the displayed noise figure of the second target channel; Slope_th1 and Slope_th2 are two preset thresholds;
    确定所述多个通道中除所述第一通道以外的其他通道中,满足所述预设条件的通道的数量;determining the number of channels that satisfy the preset condition in other channels except the first channel among the plurality of channels;
    若所述其他通道中满足所述预设条件的通道的数量与所述多个通道的总个数的比值大于或者等于预设值,确定所述第一通道被触摸,或者,If the ratio of the number of the other channels that satisfy the preset condition to the total number of the multiple channels is greater than or equal to the preset value, it is determined that the first channel is touched, or,
    若所述其他通道中满足所述预设条件的通道的数量与所述多个通道的总个数的比值小于所述预设值,确定所述第一通道未被触摸。If the ratio of the number of channels satisfying the preset condition among the other channels to the total number of the multiple channels is less than the preset value, it is determined that the first channel is not touched.
  15. 根据权利要求14所述的方法,其特征在于,所述预设值为1/2或者2/3。The method according to claim 14, wherein the preset value is 1/2 or 2/3.
  16. 根据权利要求11至15中任一项所述的方法,其特征在于,所述第一通道的显示噪声系数为所述多个通道的显示噪声系数中的最大值。The method according to any one of claims 11 to 15, wherein the display noise figure of the first channel is a maximum value of the display noise figures of the plurality of channels.
  17. 根据权利要求11至16中任一项所述的方法,其特征在于,所述第一通道与所述至少两个目标通道不同。17. The method of any one of claims 11 to 16, wherein the first channel is different from the at least two target channels.
  18. 一种用于触控屏中多个通道触控检测的装置,其特征在于,包括:处理单元,所述处理单元用于执行上述权利要求1至17中任一项所述的方法。An apparatus for touch detection of multiple channels in a touch screen, characterized by comprising: a processing unit, wherein the processing unit is configured to execute the method according to any one of the above claims 1 to 17 .
  19. 一种用于触控屏中多个通道触控检测的装置,其特征在于,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至17中任一项所述的方法。A device for touch detection of multiple channels in a touch screen, characterized in that it includes: a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the memory stored in the memory. A computer program performing the method of any one of claims 1 to 17.
  20. 一种计算机可读存储介质,其特征在于,用于存储计算机程序,所 述计算机程序使得计算机执行如权利要求1至17中任一项所述的方法。A computer-readable storage medium, characterized by being used for storing a computer program, the computer program causing a computer to perform the method according to any one of claims 1 to 17.
PCT/CN2021/106281 2021-03-12 2021-07-14 Method and apparatus for touch detection of multiple channels in touch screen WO2022188325A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110272072.1 2021-03-12
CN202110272060.9A CN112860121A (en) 2021-03-12 2021-03-12 Method and device for multi-channel touch detection in touch screen
CN202110272060.9 2021-03-12
CN202110272072.1A CN112947791B (en) 2021-03-12 2021-03-12 Method and device for touch detection of multiple channels in touch screen

Publications (1)

Publication Number Publication Date
WO2022188325A1 true WO2022188325A1 (en) 2022-09-15

Family

ID=83227324

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106281 WO2022188325A1 (en) 2021-03-12 2021-07-14 Method and apparatus for touch detection of multiple channels in touch screen

Country Status (1)

Country Link
WO (1) WO2022188325A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301440A (en) * 2023-05-23 2023-06-23 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium
CN116339546A (en) * 2023-05-23 2023-06-27 深圳曦华科技有限公司 Method and device for processing original data of touch screen, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US20170068350A1 (en) * 2015-09-09 2017-03-09 Samsung Display Co., Ltd. Touch screen panel and driving method of the same
CN107636596A (en) * 2017-08-01 2018-01-26 深圳市汇顶科技股份有限公司 Determination method, capacitance touch-control device and the capacitance touching control terminal of position of touch
CN112860121A (en) * 2021-03-12 2021-05-28 深圳市汇顶科技股份有限公司 Method and device for multi-channel touch detection in touch screen
CN112947791A (en) * 2021-03-12 2021-06-11 深圳市汇顶科技股份有限公司 Method and device for multi-channel touch detection in touch screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US20170068350A1 (en) * 2015-09-09 2017-03-09 Samsung Display Co., Ltd. Touch screen panel and driving method of the same
CN107636596A (en) * 2017-08-01 2018-01-26 深圳市汇顶科技股份有限公司 Determination method, capacitance touch-control device and the capacitance touching control terminal of position of touch
CN112860121A (en) * 2021-03-12 2021-05-28 深圳市汇顶科技股份有限公司 Method and device for multi-channel touch detection in touch screen
CN112947791A (en) * 2021-03-12 2021-06-11 深圳市汇顶科技股份有限公司 Method and device for multi-channel touch detection in touch screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301440A (en) * 2023-05-23 2023-06-23 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium
CN116339546A (en) * 2023-05-23 2023-06-27 深圳曦华科技有限公司 Method and device for processing original data of touch screen, electronic equipment and storage medium
CN116301440B (en) * 2023-05-23 2023-08-29 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium
CN116339546B (en) * 2023-05-23 2023-08-29 深圳曦华科技有限公司 Method and device for processing original data of touch screen, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112947791B (en) Method and device for touch detection of multiple channels in touch screen
WO2022188325A1 (en) Method and apparatus for touch detection of multiple channels in touch screen
US9933904B2 (en) Capacitive touch system
US9244569B2 (en) Capacitive sensing analog front end
WO2020210951A1 (en) Electrical capacitance detection method for touch display panel, electrical capacitance detection circuit for touch display panel, and touch display panel
US8487908B2 (en) Detector circuit and detect method of a capacitive touch panel
EP2989529A1 (en) Display, touch, and stylus synchronization
US11906551B2 (en) Automatic trigger type identification method, device, and oscilloscope
CN112860121A (en) Method and device for multi-channel touch detection in touch screen
CN102207804B (en) Capacitive sensing analog front end
TW201126401A (en) Method and system of differential sensing capacitive touch panel
KR20130098459A (en) Noise spectrum estimator and touch screen device including the same
WO2019127118A1 (en) Noise detection method and device, electronic apparatus, and computer readable storage medium
US11294504B2 (en) Oversampled high signal to noise ratio analog front end for touch screen controllers
TW201112088A (en) Readout circuit for touch screen
JP4476183B2 (en) OOB signal detection circuit
CN111902801B (en) Capacitance detection circuit, touch chip and electronic equipment
JP6651603B2 (en) Analog-to-digital converter for phase difference autofocus image sensor
CN103558434A (en) Quick-positioning digital oscilloscope trigger point system
CN106201122A (en) Contact panel and its control method
CN111527412B (en) High-refresh-rate waveform mapping method and digital oscilloscope
US20170285902A1 (en) Modifying Settings of an Electronic Test or Measurement Instrument
CN108227977B (en) Parallel analysis of different sampling rates in a touchscreen controller
CN106814924B (en) Signal sampling method and sensing system
CN113341190B (en) Channel selection method of digital oscilloscope and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21929795

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21929795

Country of ref document: EP

Kind code of ref document: A1