CN108073329B - Touch device, driving method thereof and terminal - Google Patents

Touch device, driving method thereof and terminal Download PDF

Info

Publication number
CN108073329B
CN108073329B CN201810098830.0A CN201810098830A CN108073329B CN 108073329 B CN108073329 B CN 108073329B CN 201810098830 A CN201810098830 A CN 201810098830A CN 108073329 B CN108073329 B CN 108073329B
Authority
CN
China
Prior art keywords
value
touch
coordinate
driving
driving frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810098830.0A
Other languages
Chinese (zh)
Other versions
CN108073329A (en
Inventor
冯鹏婓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipone Technology Beijing Co Ltd
Original Assignee
Chipone Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chipone Technology Beijing Co Ltd filed Critical Chipone Technology Beijing Co Ltd
Priority to CN201810098830.0A priority Critical patent/CN108073329B/en
Publication of CN108073329A publication Critical patent/CN108073329A/en
Application granted granted Critical
Publication of CN108073329B publication Critical patent/CN108073329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Abstract

The application discloses a touch device, a driving method thereof and a terminal, wherein the driving method comprises the following steps: scanning each sensing coordinate by using a driving signal to obtain a detection value and comparing the detection value with a reference value to detect touch, wherein the driving signal has a plurality of driving frequencies, the touch is detected by using the corresponding reference value at each driving frequency, and the touch position detected in the last frame is stored as a mark position before the driving frequency is updated; obtaining initial detection values of all induction coordinates after updating the driving frequency; judging whether the touch at the mark position still exists after the driving frequency is updated; and according to the judgment result, compensating the initial detection value corresponding to the mark position to obtain the reference value of each updated induction coordinate. The touch device, the driving method thereof and the terminal provided by the invention can compensate the reference value of each induction coordinate according to the touch information before updating after the driving frequency is updated, so that the touch device can normally detect touch and well adapt to the current application environment.

Description

Touch device, driving method thereof and terminal
Technical Field
The present invention relates to the field of touch technologies, and in particular, to a touch device, a driving method thereof, and a terminal.
Background
The display touch device is integrated with the display device and the touch device, and can detect touch and display a picture at the same time. The touch device mainly scans the touch electrode by using a driving signal, and judges whether touch occurs on the touch surface according to the detected capacitance variation and the reference value of each induction coordinate.
When the display touch device detects noise, it is usually necessary to adjust the driving frequency of the driving signal to reduce the interference received by the display touch device due to the noise, and this process of adjusting the driving frequency is called frequency hopping.
In a conventional touch device, reference values of respective sensing coordinates need to be regenerated after each frequency hopping occurs, so that the touch device can be well adapted to a current environment. However, the conventional touch device has disadvantages in that: when frequency hopping occurs, a touch on the touch surface may affect a new reference value generated after frequency hopping, which may cause an abnormality in detection of the touch after frequency hopping.
In order to solve the above technical problem, a related art touch device pre-stores a series of reference values of each sensing coordinate corresponding to different driving frequencies, and when the touch device hops to a certain driving frequency, the touch device extracts the reference value corresponding to the driving frequency to replace the reference value corresponding to each sensing coordinate before the frequency hopping. The disadvantages of the prior art are that: because the touch device is sensitive to environmental changes, the reference value corresponding to each sensing coordinate can be obviously changed along with environmental factors such as temperature, humidity and the like, so that the pre-stored reference value can not be well matched with the application environment of the current touch device, and the detection of touch after frequency hopping is abnormal.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a touch device, a driving method thereof, and a terminal, in which a reference value of each sensing coordinate is compensated according to touch information before a driving frequency is updated after a driving frequency is updated every time, so that the touch device can normally detect a touch after the driving frequency is updated, and can be well adapted to a current application environment.
According to a first aspect of the present invention, there is provided a driving method for a touch device, the driving method comprising: scanning each sensing coordinate of the touch device by using a driving signal to obtain a detection value and comparing the detection value with a reference value to detect touch, wherein the driving signal has a plurality of driving frequencies, and the corresponding reference value is used for detecting touch at each driving frequency, and the touch position detected in the last frame is stored as a mark position before the driving frequency is updated; obtaining initial detection values of the induction coordinates after updating the driving frequency; judging whether the touch at the mark position still exists after the driving frequency is updated; and according to the judgment result, compensating the initial detection value corresponding to the mark position to obtain the updated reference value of each induction coordinate.
Preferably, the driving method further includes: and fitting a relational expression of the compensation capacitance and the driving frequency of the touch device under the condition that the original detection value is unchanged within a certain threshold value, and obtaining the compensation capacitance corresponding to the new driving frequency through the relational expression and setting the compensation capacitance before updating the driving frequency.
Preferably, the relation between the compensation capacitance and the driving frequency comprises: cneg ═ k · fd + T, where Cneg represents the capacitance value of the compensation capacitor, fd represents the drive frequency, and k and T represent non-zero natural numbers.
Preferably, the step of detecting a touch comprises: obtaining the detection value of each induction coordinate; and judging whether the induction value of each induction coordinate exceeds a first threshold value or not, wherein the induction value of each induction coordinate is equal to the difference between the detection value and the reference value, if so, judging that the corresponding induction coordinate is touched, and if not, judging that the corresponding induction coordinate is not touched.
Preferably, the step of compensating the initial detection value corresponding to the mark position according to the determination result to obtain the updated reference value of each sensing coordinate includes: if the touch at the mark position still exists after the driving frequency is updated, compensating the initial detection value of at least one induction coordinate in the mark position to obtain the updated reference value of the at least one induction coordinate; and if the touch at the mark position does not exist after the driving frequency is updated, directly taking the initial detection value of each induction coordinate as the reference value of each induction coordinate after updating.
Preferably, the driving method further includes: respectively storing the maximum value in the induction values of each induction coordinate in each mark position and the induction coordinate corresponding to the maximum value as a first central value and a central coordinate of the mark position, and judging whether the touch at the mark position still exists after the driving frequency is updated comprises the following steps: after updating the driving frequency, obtaining the mean value of the initial detection values of all induction coordinates; taking the difference between the initial detection value and the average value of each central coordinate as a second central value of the central coordinate; taking the absolute value of the difference between the second central value and the first central value of each central coordinate as a change value corresponding to the central coordinate; and if and only if the second central value is greater than the first threshold value and the variation value is less than or equal to a second threshold value, determining that the touch position corresponding to the central coordinate still has touch after updating.
Preferably, if the touch at the mark position still exists after the driving frequency is updated, the step of compensating the initial detection value of at least one sensing coordinate in the mark position to obtain the reference value of the at least one sensing coordinate after the updating comprises: in the mark position, the initial detection value of the center coordinate is compensated so that the induction value of the center coordinate after compensation is larger than the first threshold value.
Preferably, in the marking position, the step of compensating the initial detection value of the center coordinate so that the sensing value of the center coordinate after compensation is greater than the first threshold value includes: in the mark position, the initial detection value of the center coordinate is compensated so that the induction value of the center coordinate after compensation is equal to the sum of the first threshold value and a preset constant.
Preferably, the driving method further includes: and if the touch detected in the last frame before the drive frequency is updated belongs to continuous touch, always taking the mark position as the current touch position after the drive frequency is updated until the first touch occurring after the update is detected.
Preferably, if the touch position corresponding to the first touch occurring after updating the driving frequency is different from the mark position, the reference value of at least one sensing coordinate in the mark position is compensated in one or more frames after updating the driving frequency.
Preferably, the step of updating the driving frequency comprises: sequentially adjusting the driving frequency to a plurality of preset frequency values, so that the frequency value which enables the touch device to have the minimum noise in the plurality of frequency values is determined as a target frequency value; and if the noise value corresponding to the current driving frequency exceeds a specific threshold value, updating the driving frequency to the target frequency value.
According to a second aspect of the present invention, there is also provided a touch device, including: the capacitors respectively correspond to the induction coordinates; the driving unit is used for providing driving signals to the plurality of capacitors and updating the driving frequency of the driving signals; the sensing unit is used for receiving the driving signal, obtaining detection values of all sensing coordinates according to the driving signal and detecting touch according to the detection values and the reference values of all sensing coordinates; and the first compensation unit is used for storing the touch position detected in the last frame before the driving frequency is updated as a mark position, judging whether touch still exists in each mark position after the driving frequency is updated, and providing the reference value of each induction coordinate according to the judgment result.
Preferably, the touch device further includes a compensation capacitor connected to the sensing unit, and the first compensation unit adjusts a capacitance value of the compensation capacitor according to a pre-fitted relation between the compensation capacitor and the driving frequency, so that original detection values corresponding to different driving frequencies are kept constant within a certain threshold.
Preferably, the first compensation unit includes: a first storage module, configured to store a maximum value of sensing values of each sensing coordinate in the mark position and a sensing coordinate corresponding to the maximum value as a first center value and a center coordinate of the mark position, respectively, where the sensing value of each sensing coordinate is equal to a difference between the detection value and the reference value, and an operation module, configured to obtain a mean value of initial detection values of all sensing coordinates after the driving frequency is updated by the driving unit, use a difference value between the initial detection value and the mean value of each center coordinate as a second center value corresponding to the center coordinate, and use an absolute value of a difference value between the second center value and the first center value of each center coordinate as a change value corresponding to the center coordinate; the judging module is connected with the operation module to receive the second central value and the change value, and judges that the mark position corresponding to the central coordinate still has touch after the driving frequency is updated by the driving unit if and only if the second central value is greater than a first threshold value and the change value is less than or equal to a second threshold value; the reset module is used for compensating the initial detection value of the center coordinate corresponding to the mark position for the mark position with touch after the driving frequency is updated by the driving unit, so that the induction value corresponding to the center coordinate after compensation is larger than the first threshold value; and a second storage module, configured to store the initial detection value of each sensing coordinate provided by the sensing unit as the reference value of each sensing coordinate, and update the reference value of the center coordinate corresponding to the mark position according to the initial detection value compensated by the reset module.
Preferably, the touch device further includes: a judging unit configured to judge whether a touch detected in a last frame before the driving frequency is updated belongs to a continuous touch; the detection unit is used for judging that the continuous touch is not finished and taking the mark position as the current touch position before the updating is realized and before the sensing unit detects the first touch appearing after the updating if the judgment unit judges that the touch detected in the last frame before the driving unit updates the driving frequency belongs to the continuous touch; and a second compensation unit, wherein if the touch position corresponding to the first touch occurring after the driving frequency is updated by the driving unit is different from the mark position, the second compensation unit compensates the reference value of at least one sensing coordinate in the mark position in one or more frames after the driving frequency is updated by the driving unit.
According to a third aspect of the present invention, there is also provided a terminal, including any one of the touch devices described above.
According to the touch device and the driving method and the terminal thereof, the capacitance value of the compensation capacitor is linearly changed along with the driving frequency by adjusting the compensation capacitor, so that the original detection value of each induction coordinate is kept constant within a certain threshold, and the reference value of the touch position detected in the last frame before updating is compensated after the driving frequency is updated, so that the influence of the deviation of the updated reference value on the touch detection of the touch device is prevented; before and after frequency hopping, if the touch control at the same touch position is not changed, the touch control device and the driving method thereof provided by the invention can accurately detect the touch control at the touch position after the driving frequency is updated; meanwhile, the touch device and the driving method thereof provided by the invention regenerate the reference value of each induction coordinate after the driving frequency is updated every time, so that the touch device has good environment adaptability and the touch detection precision is improved.
In some preferred embodiments, the touch device, the driving method thereof and the terminal provided by the invention can accurately restore the continuous touch which is not completed before the update after the drive frequency is updated, so that the touch device can completely detect the continuous touch, and the breakpoint problem caused by frequency hopping is avoided.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 shows an equivalent circuit diagram of a touch device.
Fig. 2 is a flowchart illustrating a driving method of a touch device according to a first embodiment of the invention.
Fig. 3 is a flowchart illustrating a driving method of a touch device according to a second embodiment of the invention.
Fig. 4 shows a schematic block diagram of a touch device according to a third embodiment of the invention.
Fig. 5 is a schematic block diagram of a touch device according to a fourth embodiment of the invention.
Detailed Description
The invention will be described in more detail below with reference to the accompanying drawings. Like elements in the various figures are denoted by like reference numerals. For purposes of clarity, the various features in the drawings are not necessarily drawn to scale. Moreover, certain well-known elements may not be shown in the figures.
In the following description, numerous specific details of the invention, such as structure, materials, dimensions, processing techniques and techniques of the devices are described in order to provide a more thorough understanding of the invention. However, as will be understood by those skilled in the art, the present invention may be practiced without these specific details.
The present invention may be embodied in various forms, some examples of which are described below.
Fig. 1 shows an equivalent circuit diagram of a touch device.
The touch device 100 generally includes a sensing unit 110, a driving unit 120, and a plurality of sensing capacitors C formed between the excitation electrodes and the sensing electrodesT
The plurality of induction capacitors CTArranged in an array, each sensing capacitor CTCorresponding to one sensed coordinate. The driving unit 120 is connected to the excitation electrodes of all rows for supplying the driving signals Tx1 to Txm in a scanning manner, thereby sequentially supplying the driving signals having the driving frequency fd to the excitation electrodes of different rows within one frame. The sensing unit 110 is connected to the sensing electrodes of all columns to receive the sensing signals Rx1 through Rxn of the corresponding column. Where m and n are non-zero natural numbers.
The sensing unit 110 detects corresponding current values according to the sensing signals Rx1 to Rxn, further obtains detection values according to the current values, and uses a difference between the detection value corresponding to each sensing coordinate and a reference value as a sensing value of the sensing coordinate, where the sensing value is used to represent a capacitance variation at each sensing coordinate, so that the sensing value at each sensing coordinate can be compared with a first threshold to determine whether a touch occurs at each sensing coordinate.
In order to improve the accuracy of the sensing unit 110 in detecting the touch and the signal-to-noise ratio of the touch device 100, the sensing unit 110 is usually connected to a compensation capacitor (not shown in fig. 1) so that the touch can be detected more accurately.
Fig. 2 is a flowchart illustrating a driving method of a touch device according to a first embodiment of the invention.
As shown in fig. 2, the driving method of the touch device (e.g., the touch device 100 shown in fig. 1) according to the first embodiment of the invention includes steps S210 to S280.
In step S210, a relation between the compensation capacitor and the driving frequency is fitted, and the capacitance of the compensation capacitor is set according to the relation.
Specifically, the capacitance at each sensing coordinate is compensated by using a compensation capacitor (connected to the sensing unit), and a capacitance Cneg of the compensation capacitor is set according to the updated driving frequency fd according to a relation between the compensation capacitor and the driving frequency of the touch device under the condition that the original detection value is not changed, where a linear relation exists between the capacitance Cneg of the compensation capacitor and the driving frequency fd: cneg ═ k · fd + T, where k and T represent non-zero natural numbers.
In step S220, a touch is detected based on the reference value base0 of each sensed coordinate at the current driving frequency fd.
Specifically, in step S220, based on the reference value base0 of each sensing coordinate at the current driving frequency fd, a sensing value sense0 of each sensing coordinate is obtained, and the sensing value sense0 of each sensing coordinate represents the capacitance variation Δ C at the sensing coordinate; when the sensing value exceeds the first threshold TH1, it is characterized that a touch is detected at the corresponding sensing coordinate.
In step S230, the detected touch position is stored as the mark position mark0 in the last frame before the update drive frequency fd.
Specifically, in step S230, the maximum value sense0_ max among the sensed values of the respective sensed coordinates in the mark position mark0 and the sensed coordinate corresponding to the maximum value are stored as the first center value mid1 and the center coordinate pos1 of the mark position, respectively.
In step S240, the driving frequency fd of the driving signal is updated.
Specifically, in step S240, the driving frequency fd is sequentially adjusted to a plurality of preset frequency values, so as to determine a target frequency value Fn, which minimizes noise of the touch device, among the frequency values in a frequency sweeping manner. And if the noise value corresponding to the current driving frequency fd exceeds a specific threshold value, updating the driving frequency fd of the driving signal to a target frequency value Fn.
In step S250, after updating the driving frequency fd, initial detection values rawdata0 of the respective sensing coordinates are obtained.
Specifically, in step S250, after updating the driving frequency fd each time, the initial detection value rawdata0 of each sensing coordinate is obtained according to the original value of each sensing coordinate.
In step S260, it is determined whether the touch at the mark position mark0 still exists after the drive frequency fd is updated. If yes, go to step S270; if not, go to step S280.
Specifically, step S260 includes: after the driving frequency fd is updated, obtaining the average value avg _ raw data of the initial detection values of all induction coordinates; taking the difference between the initial detection value rawdata0 and the mean value avg _ rawdata of each center coordinate pos1 as a second center value mid2 of the center coordinate pos 1; setting an absolute value | mid2-mid1| of a difference between the second central value mid2 and the first central value mid1 of each central coordinate pos1 as a change value Δ mid corresponding to the central coordinate pos 1; if and only if the second center value mid2 is greater than the first threshold value TH1 and the variation value Δ mid is less than or equal to or less than the second threshold value TH2, it is determined that the touch position corresponding to the center coordinate pos1 still has a touch after the update. Wherein the first threshold TH1 represents a determination threshold for touch, the second threshold TH2 represents a tolerable error threshold, and the first threshold TH1 and the second threshold TH2 may be set according to actual conditions.
In step S270, the initial detection value rawdata0 of at least one sensing coordinate in the mark position mark0 is compensated to obtain the updated reference value base0 of the at least one sensing coordinate. Subsequently, the execution returns to step S220.
Specifically, in step S270, in each mark position mark0, the initial detection value of the center coordinate pos1 is compensated such that the sensed value sense0 of the center coordinate pos1 after compensation is larger than the first threshold TH 1. In a preferred embodiment, the sense value sense0 of the compensated center coordinate pos1 is equal to the sum of the first threshold TH1 and a preset constant m, which is greater than 0, for example 1. In other embodiments, other sensed coordinates in the mark position other than the center coordinate may be compensated accordingly.
In step S280, the initial detection value rawdata0 of each sensing coordinate is directly used as the updated reference value base0 of the sensing coordinate. Subsequently, execution returns to S220.
In the driving method provided by this embodiment, the capacitance value of the compensation capacitor is linearly changed along with the driving frequency by adjusting the compensation capacitor, so that the original detection value of each sensing coordinate is kept constant within a certain threshold, and the reference value of the touch position detected in the last frame before updating is compensated after the driving frequency is updated, thereby preventing the updated reference value from deviating to influence the detection of the touch device on the touch; before and after frequency hopping, if the touch occurring at the same touch position is not changed, the touch device provided by the embodiment can accurately detect the touch at the touch position after the driving frequency is updated; meanwhile, the touch device provided by the embodiment regenerates the reference value of each sensing coordinate after updating the driving frequency each time, so that the touch device has good environment adaptability, and the touch detection precision is improved.
Fig. 3 is a flowchart illustrating a driving method of a touch device according to a second embodiment of the invention.
As shown in fig. 3, the driving method of the touch device according to the second embodiment of the invention is substantially the same as the driving method according to the first embodiment of the invention, and includes steps S210 to S280, so some steps are omitted in fig. 3. However, the driving method of the second embodiment of the present invention further includes steps S310 and S320.
After step S220 and before step S240, step S310 is executed (step S310 may be executed before step S230, or after step S230, or simultaneously with step S230). In step S310, it is determined whether the touch detected in the last frame before the update of the driving frequency belongs to the continuous touch. The continuous touch is, for example, a finger swipe touch on the touch device. If yes, perform step S320 after steps S240 and S250; if not, the steps S240 to S280 are directly performed.
In step S320, it is determined that the continuous touch is not completed, and the centroid coordinate (obtained by the centroid algorithm, that is, the coordinate reported before frequency hopping) of the mark position mark0 is reported as the current touch position until the sensing unit detects the first touch occurring after the driving frequency is updated (at this time, the sensing unit directly takes the initial detection value of each sensing coordinate as the reference value of each sensing coordinate after the driving frequency is updated, and detects the touch according to the reference value of each sensing coordinate). Subsequently, steps S260 to S280 are performed.
In some preferred embodiments, if the touch position corresponding to the first touch occurring after updating the driving frequency is different from each mark position determined in the last frame before frequency hopping, the reference value base0 of at least one sensing coordinate (e.g., the center coordinate pos1) in each mark position is compensated in one or more frames after updating the driving frequency to eliminate the influence of the touch on the reference value base0 of each sensing coordinate.
On the basis of the first embodiment, the driving method of the touch device according to the second embodiment of the present invention can also accurately restore the continuous touch that is not completed before the driving frequency is updated after the driving frequency is updated, so that the touch device can completely detect the continuous touch, and the breakpoint problem caused by frequency hopping is avoided.
Fig. 4 shows a schematic block diagram of a touch device according to a third embodiment of the invention.
As shown in fig. 4, a touch device 400 according to a third embodiment of the invention includes a sensing unit 410, a driving unit 420, a first compensation unit 430, and a plurality of sensing capacitors C formed between the excitation electrodes and the sensing electrodesTWherein a plurality of inductive capacitors CTRespectively corresponding to each induction coordinate.
The driving unit 420 is configured to provide a driving signal with a driving frequency fd and update the driving frequency of the driving signal to implement frequency hopping. Specifically, the driving unit 420 sweeps the frequency of each sensing capacitor to obtain a target frequency value Fn for the touch device 400 to have the minimum noise value, and if the noise value corresponding to the current driving frequency fd exceeds a specific threshold, the driving unit 420 adjusts the driving frequency fd of the driving signal to the target frequency value Fn.
The sensing unit 410 receives a driving signal for obtaining a detection value of each sensing coordinate according to the driving signal, so that a touch can be detected according to the detection value of each sensing coordinate and a reference value: when the difference between the detected value of the sensed coordinate and the reference value base0 of the sensed coordinate (denoted as the sensed value sense0, the sensed value sense0 represents the capacitance variation Δ C at the sensed coordinate) is greater than the first threshold TH1, the sensing unit 410 determines that a touch is generated at the sensed coordinate. After the driving frequency is updated each time, the sensing unit 410 can obtain an initial detection value rawdata0 of each sensing coordinate (for example, a detection value obtained in a first frame after the driving frequency is updated).
Specifically, the touch device 400 further includes a compensation capacitor (not shown in fig. 4) connected to the sensing unit 410, and the first compensation unit adjusts a capacitance value of the compensation capacitor according to a pre-fitted relation between the compensation capacitor and the driving frequency, so that original detection values corresponding to different driving frequencies fd are kept constant within a certain threshold. For example, the capacitance value Cneg of the compensation capacitor is linear with the drive frequency fd: cneg ═ k · fd + T, where k and T represent non-zero natural numbers.
The first compensation unit 430 is configured to store the touch position detected in the last frame before the update drive frequency fd as the mark position mark 0. Meanwhile, the first compensation unit 430 can determine whether there is still a touch at each mark position according to the initial detection value of each sensing coordinate, and provide a reference value base0 of each sensing coordinate to the sensing unit 410 according to the determination result.
Specifically, the first compensation unit 430 includes a first storage module, a second storage module, an operation module, a judgment module, and a reset module.
The first storage module is used for respectively storing the maximum value sense0_ max in the detection values of the sensing coordinates in each mark position and the sensing coordinate corresponding to the maximum value as the first central value mid1 and the central coordinate pos1 of the mark position mark0,
the operation module is configured to obtain a mean value avg _ raw data of the initial detection values of all the sensing coordinates after the driving frequency fd is updated by the driving unit 420, take a difference between the initial detection value raw data0 and the mean value avg _ raw data of each center coordinate pos1 as a second center value mid2 corresponding to the center coordinate pos1, and take an absolute value | mid2-mid1| of a difference between the second center value mid2 and the first center value mid1 of each center coordinate pos1 as a variation value Δ mid corresponding to the center coordinate pos 1.
The judgment module is connected to the operation module to receive the second central value mid2 and the variation value Δ mid, and judges that the mark position mark0 corresponding to the central coordinate pos1 still has touch after the driving frequency fd is updated by the driving unit 420 if and only if the second central value mid2 is greater than the first threshold TH1 and the variation value Δ mid is less than or equal to the second threshold TH 2.
For the mark position mark0 where there is still touch after the driving frequency fd is updated by the driving unit 420, the reset module is configured to compensate the initial detection value rawdata0 of the center coordinate pos1 corresponding to the mark position mark0, so that the sensing value sense0 corresponding to the center coordinate pos1 after compensation is greater than the first threshold TH 1.
The second storage module is configured to store the initial detection value rawdata0 of each sensing coordinate provided by the sensing unit 410 as the reference value base0 of each sensing coordinate, and update the reference value base0 of the center coordinate pos1 corresponding to the mark position mark0 according to the initial detection value rawdata0 compensated by the reset module.
Preferably, in the touch position where the touch still exists after the driving frequency is updated, the reset module is configured to compensate the initial detection value rawdata0 corresponding to the center coordinate pos1 of the mark position mark0, so that the sensing value sense0 corresponding to the center coordinate pos1 after compensation is equal to the sum of the first threshold TH1 and a preset constant m (the preset constant m is greater than 0, for example, 1).
Fig. 5 is a schematic block diagram of a touch device according to a fourth embodiment of the invention.
As shown in fig. 5, a touch device 500 according to a fourth embodiment of the invention is substantially the same as the touch device 400 according to the third embodiment, except that: the touch device 500 further includes a determining unit 510, a detecting unit 520, and a second compensating unit 530, so that continuous touches that are not completed before the update of the driving frequency fd can be resumed after the update of the driving frequency fd.
The determination unit 510 is configured to determine whether a touch detected in a last frame before the driving frequency is updated belongs to a continuous touch.
If the determining unit 510 determines that the touch detected in the last frame before the driving unit 420 updates the driving frequency fd belongs to continuous touch, the detecting unit 520 determines that the continuous touch is not completed and reports the centroid coordinate (obtained by centroid algorithm, that is, the coordinate reported before frequency hopping) of the mark position mark0 as the current touch position before the sensing unit 410 detects the first touch appearing after the update is implemented.
If the touch position corresponding to the first touch occurring after the driving frequency fd is updated by the driving unit 420 is different from the stored mark position mark0, the second compensation unit 530 compensates the reference value base0 of at least one sensing coordinate (e.g., the center coordinate pos1 of the mark position mark 0) in the mark position mark0 in one or more frames after the driving frequency fd is updated by the driving unit 420. Therefore, if a continuous touch is not completed before the skip driving frequency is updated, the determining unit 510, the detecting unit 520, and the second compensating unit 530 enable the touch device 500 to continue to detect the subsequent actions of the continuous touch after frequency hopping, so as to avoid the breakpoint problem caused by the update of the driving frequency.
The fifth embodiment of the present invention further provides a terminal, including any one of the touch devices described above.
In summary, the touch device, the driving method thereof and the terminal provided by the invention enable the capacitance value of the compensation capacitor to change linearly with the driving frequency by adjusting the compensation capacitor, so as to ensure that the original detection value of each sensing coordinate is kept constant within a certain threshold, and compensate the reference value of the touch position detected in the last frame before updating after updating the driving frequency, thereby preventing the updated reference value from deviating to influence the touch detection of the touch device; before and after frequency hopping, if the touch control at the same touch position is not changed, the touch control device, the driving method and the terminal provided by the invention can accurately detect the touch control at the touch position after the driving frequency is updated; meanwhile, the touch device, the driving method thereof and the terminal provided by the invention regenerate the reference value of each induction coordinate after the driving frequency is updated every time, so that the touch device has good environment adaptability and the touch detection precision is improved.
In some preferred embodiments, the touch device, the driving method thereof and the terminal provided by the invention can accurately restore the continuous touch which is not completed before the update after the drive frequency is updated, so that the touch device can completely detect the continuous touch, and the breakpoint problem caused by frequency hopping is avoided.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
While embodiments in accordance with the invention have been described above, these embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. The invention is limited only by the claims and their full scope and equivalents.

Claims (16)

1. A driving method for a touch device, the driving method comprising: scanning each sensing coordinate of the touch device with a driving signal having a plurality of driving frequencies, each driving frequency using a corresponding reference value to detect a touch, to obtain a detection value and comparing the detection value with a reference value to detect a touch,
wherein the content of the first and second substances,
storing the touch position detected in the last frame as a mark position before updating the driving frequency;
obtaining initial detection values of the induction coordinates after updating the driving frequency;
judging whether the touch at the mark position still exists after the driving frequency is updated;
and according to the judgment result, compensating the initial detection value corresponding to the mark position to obtain the updated reference value of each induction coordinate.
2. The driving method according to claim 1, wherein the driving method further comprises:
and fitting a relational expression of the compensation capacitance and the driving frequency of the touch device under the condition that the original detection value is unchanged within a certain threshold value, and obtaining the compensation capacitance corresponding to the new driving frequency through the relational expression and setting the compensation capacitance before updating the driving frequency.
3. The driving method according to claim 2, wherein the relation of the compensation capacitance to the driving frequency includes: cneg ═ k · fd + T, where Cneg represents the capacitance value of the compensation capacitor, fd represents the drive frequency, and k and T represent non-zero natural numbers.
4. The driving method according to claim 1, wherein the step of detecting a touch comprises:
obtaining the detection value of each induction coordinate;
judging whether the induction value of each induction coordinate exceeds a first threshold value or not, wherein the induction value of each induction coordinate is equal to the difference between the detection value and the reference value,
if yes, judging that the corresponding sensing coordinate is touched,
if not, judging that no touch exists at the corresponding induction coordinate.
5. The driving method according to claim 4, wherein the step of compensating the initial detection value corresponding to the mark position to obtain the reference value of each of the updated sensing coordinates according to the determination result comprises:
if the touch at the mark position still exists after the driving frequency is updated, compensating the initial detection value of at least one induction coordinate in the mark position to obtain the updated reference value of the at least one induction coordinate;
and if the touch at the mark position does not exist after the driving frequency is updated, directly taking the initial detection value of each induction coordinate as the reference value of each induction coordinate after updating.
6. The driving method according to claim 5, further comprising: respectively storing the maximum value in the induction values of all induction coordinates in each marking position and the induction coordinate corresponding to the maximum value as a first central value and a central coordinate of the marking position,
and the step of determining whether the touch at the mark position still exists after the driving frequency is updated includes:
after updating the driving frequency, obtaining the mean value of the initial detection values of all induction coordinates;
taking the difference between the initial detection value and the average value of each central coordinate as a second central value of the central coordinate;
taking the absolute value of the difference between the second central value and the first central value of each central coordinate as a change value corresponding to the central coordinate;
and if and only if the second central value is greater than the first threshold value and the variation value is less than or equal to a second threshold value, determining that the touch position corresponding to the central coordinate still has touch after updating.
7. The driving method according to claim 6, wherein the step of compensating the initial detection value of at least one sensing coordinate in the mark position to obtain the reference value of the at least one sensing coordinate after the updating if the touch at the mark position still exists after the updating of the driving frequency comprises:
in the mark position, the initial detection value of the center coordinate is compensated so that the induction value of the center coordinate after compensation is larger than the first threshold value.
8. The driving method according to claim 7, wherein the step of compensating the initial detection value of the center coordinate in the mark position so that the sensed value of the center coordinate after the compensation is larger than the first threshold value includes:
in the mark position, the initial detection value of the center coordinate is compensated so that the induction value of the center coordinate after compensation is equal to the sum of the first threshold value and a preset constant.
9. The driving method according to claim 1, further comprising:
and if the touch detected in the last frame before the drive frequency is updated belongs to continuous touch, always taking the mark position as the current touch position after the drive frequency is updated until the first touch occurring after the update is detected.
10. The driving method according to claim 9, wherein if the touch position corresponding to the first touch occurring after the driving frequency is updated is different from the mark position, the reference value for compensating for the at least one sensed coordinate in the mark position is updated in one or more frames after the driving frequency.
11. The driving method according to claim 1, wherein the step of updating the driving frequency includes:
sequentially adjusting the driving frequency to a plurality of preset frequency values, so that the frequency value which enables the touch device to have the minimum noise in the plurality of frequency values is determined as a target frequency value;
and if the noise value corresponding to the current driving frequency exceeds a specific threshold value, updating the driving frequency to the target frequency value.
12. A touch device, comprising:
the capacitors respectively correspond to the induction coordinates;
the driving unit is used for providing driving signals to the plurality of capacitors and updating the driving frequency of the driving signals;
the sensing unit is used for receiving the driving signal, obtaining detection values of all sensing coordinates according to the driving signal and detecting touch according to the detection values and the reference values of all sensing coordinates;
and the first compensation unit is used for storing the touch position detected in the last frame before the driving frequency is updated as a mark position, judging whether touch still exists in each mark position after the driving frequency is updated, and providing the reference value of each induction coordinate according to the judgment result.
13. The touch device of claim 12, further comprising a compensation capacitor coupled to the sensing unit,
the first compensation unit adjusts the capacitance value of the compensation capacitor according to a pre-fitted relation between the compensation capacitor and the driving frequency, so that original detection values corresponding to different driving frequencies are kept constant within a certain threshold value.
14. The touch device of claim 13, wherein the first compensation unit comprises:
a first storage module, configured to store a maximum value of the sensing values of each sensing coordinate in the mark position and a sensing coordinate corresponding to the maximum value as a first center value and a center coordinate of the mark position, respectively, where the sensing value of each sensing coordinate is equal to a difference between the detection value and the reference value,
the operation module is used for obtaining a mean value of initial detection values of all induction coordinates after the driving frequency is updated by the driving unit, taking a difference value between the initial detection value and the mean value of each central coordinate as a second central value corresponding to the central coordinate, and taking an absolute value of the difference value between the second central value and the first central value of each central coordinate as a change value corresponding to the central coordinate;
the judging module is connected with the operation module to receive the second central value and the change value, and judges that the mark position corresponding to the central coordinate still has touch after the driving frequency is updated by the driving unit if and only if the second central value is greater than a first threshold value and the change value is less than or equal to a second threshold value;
the reset module is used for compensating the initial detection value of the center coordinate corresponding to the mark position for the mark position with touch after the driving frequency is updated by the driving unit, so that the induction value corresponding to the center coordinate after compensation is larger than the first threshold value; and
and the second storage module is used for storing the initial detection value of each sensing coordinate provided by the sensing unit as the reference value of each sensing coordinate, and updating the reference value of the central coordinate corresponding to the mark position according to the initial detection value compensated by the reset module.
15. The touch device of claim 12, further comprising:
a judging unit configured to judge whether a touch detected in a last frame before the driving frequency is updated belongs to a continuous touch;
the detection unit is used for judging that the continuous touch is not finished and taking the mark position as the current touch position before the updating is realized and before the sensing unit detects the first touch appearing after the updating if the judgment unit judges that the touch detected in the last frame before the driving unit updates the driving frequency belongs to the continuous touch; and
and the second compensation unit is used for compensating the reference value of at least one induction coordinate in the mark position in one or more frames after the driving frequency is updated by the driving unit if the touch position corresponding to the first touch appearing after the driving frequency is updated by the driving unit is different from the mark position.
16. A terminal comprising a touch device as claimed in any one of claims 12 to 15.
CN201810098830.0A 2018-01-31 2018-01-31 Touch device, driving method thereof and terminal Active CN108073329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810098830.0A CN108073329B (en) 2018-01-31 2018-01-31 Touch device, driving method thereof and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810098830.0A CN108073329B (en) 2018-01-31 2018-01-31 Touch device, driving method thereof and terminal

Publications (2)

Publication Number Publication Date
CN108073329A CN108073329A (en) 2018-05-25
CN108073329B true CN108073329B (en) 2021-04-27

Family

ID=62157081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810098830.0A Active CN108073329B (en) 2018-01-31 2018-01-31 Touch device, driving method thereof and terminal

Country Status (1)

Country Link
CN (1) CN108073329B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11966539B2 (en) 2020-05-06 2024-04-23 Chipone Technology (Beijing) Co., Ltd. Method and device for adjusting touch capacitance data, electronic device, and storage medium

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110658935B (en) 2018-06-29 2022-02-22 京东方科技集团股份有限公司 Data detection method and device, storage medium and touch device
CN109117020B (en) * 2018-07-19 2022-09-20 北京集创北方科技股份有限公司 Positioning method and device of touch position, storage medium and electronic device
CN109144317B (en) * 2018-08-17 2022-03-22 北京集创北方科技股份有限公司 Screen gesture detection method and device
CN108958565B (en) * 2018-09-26 2021-05-04 深圳市德明利技术股份有限公司 Coordinate calculation method for multi-point capacitive touch, touch device and mobile terminal
CN111722740B (en) * 2019-03-19 2024-03-26 北京小米移动软件有限公司 Method, device, equipment and system for reporting position of touch point
KR102193785B1 (en) * 2019-04-10 2020-12-21 그린칩 주식회사 Seating detection device
CN110362224B (en) * 2019-06-05 2023-04-07 北京集创北方科技股份有限公司 Adjusting system and control method of touch screen, induction chip and touch display device
CN110502143B (en) * 2019-07-18 2022-02-15 深圳贝特莱电子科技股份有限公司 Capacitive screen touch detection method and device
CN111522469B (en) * 2020-05-06 2021-08-20 北京集创北方科技股份有限公司 Touch capacitance data adjusting method and device, electronic equipment and storage medium
CN111522470B (en) * 2020-05-06 2023-04-07 北京集创北方科技股份有限公司 Touch data processing method and device, electronic equipment and storage medium
CN113282315A (en) * 2021-05-17 2021-08-20 Oppo广东移动通信有限公司 Data updating method and device, touch screen module, storage medium and electronic equipment
CN114115690A (en) * 2021-12-03 2022-03-01 北京集创北方科技股份有限公司 Method and device for searching touch screen area, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9444453B2 (en) * 2009-09-11 2016-09-13 Apple Inc. Measuring body capacitance effect in touch sensitive device
US9746967B2 (en) * 2011-09-15 2017-08-29 Apple Inc. Concurrent touch and negative pixel scan
CN102955614B (en) * 2012-11-02 2016-06-08 深圳市汇顶科技股份有限公司 A kind of for touching the anti-interference method of detection, system and touch terminal
CN102968217B (en) * 2012-12-07 2016-01-20 深圳市汇顶科技股份有限公司 The datum renewal method of touch-screen, system and touch control terminal
CN103353816B (en) * 2013-06-14 2016-05-11 旭曜科技股份有限公司 A kind of embedded multiple-point touch control panel system and driving method thereof
TWI543051B (en) * 2013-09-18 2016-07-21 義隆電子股份有限公司 Scanning method having adjustable sampling frequency and touch device using the same
JP6126048B2 (en) * 2014-06-26 2017-05-10 株式会社東海理化電機製作所 Touch input device
KR101630047B1 (en) * 2014-07-08 2016-06-14 한양대학교 산학협력단 Appratus of Capacitive Touch Panel and Method of driving the same
WO2019023922A1 (en) * 2017-08-01 2019-02-07 深圳市汇顶科技股份有限公司 Method for determining touch position and touch control chip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11966539B2 (en) 2020-05-06 2024-04-23 Chipone Technology (Beijing) Co., Ltd. Method and device for adjusting touch capacitance data, electronic device, and storage medium

Also Published As

Publication number Publication date
CN108073329A (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN108073329B (en) Touch device, driving method thereof and terminal
TWI463386B (en) A method and an apparatus for improving noise interference of a capacitive touch device
US10037104B2 (en) Touch panel device with abnormal state detection
US9069427B2 (en) High noise immunity sensing methods and apparatus for a capacitive touch device
US8988362B2 (en) Group scanning circuit and method for a capacitive touch sensor
KR20130113181A (en) Touch sensing device and control method thereof
US10725584B2 (en) Method and apparatus for determining reference value, and electronic terminal thereof
US10488987B2 (en) Touch panel apparatus
US9104277B2 (en) Sensing method and calibration method for a capacitive touch panel
WO2019023882A1 (en) Touch detection method and apparatus, touchscreen and electronic terminal
US9851846B2 (en) Input device and method of operating input device
CN105243382A (en) Fingerprint sensor calibration method and apparatus
CN111189564B (en) Pressure measuring device
KR102286333B1 (en) Touch positioning method, device and electronic equipment
US9213457B2 (en) Driving method for touch panel and touch control system
US10955308B2 (en) Pressure measuring method and pressure measuring apparatus
KR102276144B1 (en) Environmental compensation methods in proximity sensors and proximity sensors with improved environmental compensation
US9152270B2 (en) Methods and systems for improving touch sensitivity of touch-based devices
CN110554812A (en) Sensing method of touch control identification device and sensing module thereof
US9569033B2 (en) Background signal processing system and background signal processing method
US20230349730A1 (en) Capacitive sensor device with drift compensation
CN110633020B (en) Sensing method of touch control identification device and sensing module thereof
JP6218228B2 (en) Touch detection device and touch detection method
CN111007964A (en) Signal processing method and signal processing system of touch signal

Legal Events

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