WO2014086211A1 - Method, system, and touch terminal for updating standard of touch screen - Google Patents
Method, system, and touch terminal for updating standard of touch screen Download PDFInfo
- Publication number
- WO2014086211A1 WO2014086211A1 PCT/CN2013/085830 CN2013085830W WO2014086211A1 WO 2014086211 A1 WO2014086211 A1 WO 2014086211A1 CN 2013085830 W CN2013085830 W CN 2013085830W WO 2014086211 A1 WO2014086211 A1 WO 2014086211A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- value
- touch screen
- touch
- current
- original
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
Definitions
- the present invention relates to the field of touch technologies, and in particular, to a method and system for updating a reference of a touch screen and a touch terminal. Background technique
- the touch screens used in terminal devices mainly include a capacitive touch screen and a resistive touch screen.
- the capacitive touch screen has been favored by more and more users for its good definition, light transmittance and touch.
- the touch control chip In the process of detecting touch, the touch control chip first samples the original data through an ADC (Analog-to-Digital Converter) to obtain the original value; then establishes a reference according to the original value to obtain a reference value; In the calculation, the original value is subtracted from the reference value to obtain the difference, and the coordinate value can be calculated from the difference.
- ADC Analog-to-Digital Converter
- the original value is subtracted from the reference value to obtain the difference, and the coordinate value can be calculated from the difference.
- it is necessary to maintain a correct reference that is, the original value used to establish the reference should be the original value sampled when the capacitive touch screen is in a stable state.
- the steady state means that there is no finger on the capacitive touch screen. Touching a pen, water droplets, etc. will change the state of the object of the original value.
- the capacitive touch screen may have water droplets, sweat, and touch on the screen, so that the obtained reference is incorrect, resulting in poor sensitivity or false alarm of the touch screen.
- the report point means that there is actually no touch at a certain position on the capacitive touch screen and the touch control chip calculates the coordinates.
- the touch control chip first obtains the original value through ADC sampling, and determines whether it is the first sampling after power-on. If yes, the original value of the current sampling is used as a reference.
- Benchmark and original The starting value is difference, then the coordinates are calculated, and then the data is changed according to the difference data to determine whether the reference needs to be updated. If necessary, the original value of the current sampling is used as a reference. Otherwise, the process ends and continues to the next time. sampling.
- the system is powered on, it is impossible to determine whether there are fingers or water droplets on the screen at this time, which will cause a wrong reference to be obtained when there are fingers or water droplets on the screen, and in the subsequent processing, when the finger leaves or drops After drying, you should be able to quickly update the baseline.
- the screen If the screen is in a stable state during power-on, and during subsequent use, due to environmental changes on the screen, such as temperature changes, or water droplets or sweat on the screen, in order to enable the capacitive touch screen to operate normally, it needs to be dynamically changed according to environmental changes. Update the baseline. For example, when the temperature of the capacitive screen changes with the temperature of the environment, the original value of the sample will change accordingly. At this time, the reference needs to be updated every time to avoid insensitive or false alarm points. If the acquired reference is incorrect during the reference update, the sensitivity of the touch screen may be deteriorated or the false alarm point may occur. Therefore, how to correctly obtain the reference value is the key to whether the capacitive touch screen touch control chip can be detected normally. Summary of the invention
- the present invention is directed to the above-described drawbacks of the prior art, and provides a method for updating a reference of a touch panel, which can quickly and accurately acquire a correct reference value, thereby correctly updating the reference.
- the invention adopts the following technical solutions:
- a method for updating a reference of a touch screen comprising the following steps:
- the sampling points are sampled, and the original values of the stable state samples are obtained, and the characteristic values of the sampling points of the touch screen are calculated and backed up according to the original values of the stable state samples, to obtain the backup feature values;
- the touch screen is powered on, sampling each sampling point, obtaining the original value of the power-on sampling, using the original value of the power-on sampling as a reference value to establish a reference, and calculating, according to the original value of the power-on sampling, the touch screen The power-on feature value of the sampling point;
- the current reference is incorrect, determine whether there is a touch on the touch screen. If there is no touch, the reference is updated periodically. If there is a touch, the change of the original value of the current sample is monitored in real time, and the reference is updated when the original value of the current sample meets the baseline update condition. .
- the invention also provides a reference update system for a touch screen, comprising:
- a sampling unit configured to sample each sampling point to obtain a sampled original value
- a calculating unit configured to calculate, according to an original value of the steady state sampling, a feature value of each sampling point of the touch screen, and calculate a current feature value of each sampling point of the touch screen according to the original value of the sampling time at the time of powering on the touch screen and after power-on, and Determining the current feature value from the backup feature value and taking an absolute value to find the maximum value among the absolute values;
- a backup unit configured to back up a feature value in a steady state, and obtain a backup feature value
- a reference value establishing unit configured to use a raw value sampled when the touch screen is powered on as a reference value to establish a reference
- a determining unit configured to determine whether a maximum value calculated according to sampling when the touch screen is powered on is greater than a set first threshold, and if the maximum value is greater than a set first threshold, determining that the current reference is incorrect, and Determine if there is a touch on the touch screen when the reference is incorrect;
- a reference value updating unit configured to periodically update the reference when the current reference is incorrect and there is no touch on the touch screen, and update the reference when the current reference is incorrect, there is a touch on the touch screen, and the original sampled original value meets the baseline update condition
- the monitoring unit is configured to monitor the change of the original value of the current sample in real time when the current reference is incorrect and there is a touch on the touch screen.
- the invention also provides a touch terminal, wherein the touch terminal comprises a reference update system of the touch screen.
- the invention compares the sampled value with the backup feature value by backing up the feature value in the steady state of the touch screen, and judges the correctness of the reference, so that the touch control chip can quickly and accurately obtain the correct reference value during the actual detection. Thereby the benchmark is updated correctly.
- Figure 1 is a working flow chart of a capacitive touch screen
- FIG. 2 is a flowchart of a method for updating a reference of a touch screen of Embodiment 1;
- FIG. 3 is a flow chart showing a method for updating a reference when the determination criterion is incorrect in the embodiment 1 and the touch screen has a touch;
- FIG. 4 is a flowchart of a method for updating a reference of a touch screen of Embodiment 2;
- FIG. 5 is a flow chart showing a method for updating a reference when the determination criterion is incorrect in the embodiment 2 and the touch screen has a touch;
- FIG. 6 is a flowchart of a method for updating a reference of a touch screen of Embodiment 3;
- FIG. 7 is a flow chart showing a method for updating a reference when the determination criterion is incorrect in the embodiment 3 and the touch screen has a touch;
- Fig. 8 is a block diagram showing the structure of a reference updating system of the touch panel of the fourth embodiment. detailed description
- the embodiment of the present invention compares the sampled value with the backup feature value by backing up the feature value in the steady state of the touch screen, and determines the correctness of the reference, so that the touch control chip can quickly and accurately obtain the correct reference during the actual detection.
- the value thus correctly updating the baseline.
- the feature value may be a difference value between the original values of the adjacent sampling point samples of the touch screen, a ratio between the original values of the adjacent sampling points of the touch screen, or an original value sampled by each sampling point of the touch screen.
- the feature value is a difference value between original values of adjacent sampling points of the touch screen.
- FIG. 2 it is a flowchart of a method for updating a reference of a touch screen according to Embodiment 1 of the present invention. The method comprises the following steps: Step S101: Stable state sampling, and calculating a difference value of adjacent sampling points in a steady state and backing up.
- each sampling point is sampled, and the original value of the steady state sampling is obtained, and then the difference value between the original values of the adjacent sampling points of the touch screen is calculated according to the original value of the stable state sampling, and the difference is backed up.
- the differential value as a reference quantity for the reference update, enables the touch control chip to quickly and accurately acquire the correct reference value when actually detecting it.
- the differential value can be backed up in a non-volatile memory of the touch control chip, such as Flash Memory, PROM (Programmable read-only memory), EAROM (Electrically alterable read only memory) Rewriting the read only memory), EPROM (Erasable programmable read only memory) or EEPROM (Electrically erasable programmable read only memory), etc.
- the value backup is stored in the flash memory of the touch control chip.
- Step S102 Power-on sampling, establish a reference, and calculate a difference value of adjacent sampling points at power-on.
- each sampling point is sampled, the original value of the power-on sampling is obtained, the original value of the power-on sampling is used as a reference value to establish a reference, and the touch screen phase is calculated according to the original value of the power-on sampling. The difference between the original values of the adjacent sample points.
- Step S103 Difference between the difference value at the time of power-on and the backup difference value and take an absolute value to find the maximum value in the absolute value.
- the degree of similarity is compared by making the difference between the two and taking the absolute value. In this step, compare the difference value sampled at power-on in Table 4 with the backup difference value in Table 2 Flash Memory and take the absolute value to find the maximum value in the absolute value.
- Step S104 Determine whether the maximum value is greater than the first threshold. If yes, execute step S105. Otherwise, the reference is correct, and the process ends, and the normal touch workflow is performed.
- the current reference is positive by comparing the maximum value with the set threshold.
- the first threshold is set according to the actual debugging result in the design process, and can be no longer changed after being set.
- Step S105 The current reference is incorrect.
- the maximum value is greater than the first threshold, indicating that the current baseline is incorrect at this time.
- Step S106 It is judged whether there is a touch, and if so, step S107 is performed, otherwise, step S108 is performed. When the current reference is incorrect, continue to determine if there is a touch on the touch screen. Specifically, it can be judged by the following methods:
- the second threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set.
- Step S107 Real-time monitoring of the change of the original sampled value, and updating the reference when the original sampled original value meets the baseline update condition.
- the touch screen When the touch screen has a touch, it is necessary to monitor the change of the original value of the current sample in real time.
- the original value of the current sample meets the reference update condition, it indicates that the current original value is more suitable for the reference reference quantity, and the reference needs to be updated immediately.
- the benchmark is replaced.
- the reference update condition may be set according to actual conditions, and is not limited to one type.
- the difference between the current feature value and the reference feature value and the backup feature value may be calculated, and if the difference between the current feature value and the backup feature value is greater than the reference If the difference between the eigenvalue and the backup eigenvalue is small, and the amount of change between the two differences exceeds a set value, the original value of the current sample is considered to be in accordance with the reference update condition, and is more suitable for the reference. Update the benchmark. The specific method is shown in Figure 3:
- Step A101 Determine whether the reference is incorrect and touched. If yes, go to step A102. Otherwise, end the process and follow the normal touch workflow.
- Step A102 Sampling, calculating a difference value of the current adjacent sampling point and calculating a reference difference value according to the reference value.
- Step A103 The current difference value and the reference difference value are respectively compared with the backup difference value and taken as an absolute value.
- diff_r[i] Abs(diff_ref[i] -back_diff[i]).
- Step A104 Find the maximum of the two sets of absolute values, respectively.
- This step separately calculates the maximum value of the absolute values of the two sets of differences, wherein the maximum value in diff_c[i] is the first maximum value diff_cmax, and the maximum value in diff_r[i] is the second maximum value diff_rmax.
- Step A105 Determine whether the first maximum value is smaller than the second maximum value. If yes, go to step A106, otherwise, go back to step A102.
- Step A106 Determine whether the absolute value of the difference between the second maximum value and the first maximum value is greater than the third threshold. If yes, go to step A107, otherwise, go back to step A102.
- this step it is determined whether the original value of the current sample conforms to the reference update condition by further comparing the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax with a set threshold value.
- the third threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set. If the difference between the second maximum value diff_rmax and the first maximum value diff_cmax does not exceed the third threshold value, it indicates that the sample original value at this time does not meet the reference update condition and needs to be resampled.
- Step A107 There is a false positive point, and the baseline is forced to be updated.
- the third threshold indicates that the current value is the original value without the touch state, the current touch is the false alarm point, the touch operation is not performed at this time, and the reference is forced to be updated once, thereby eliminating the false alarm point and restoring the correct reference.
- Step S108 The reference is updated periodically.
- the original reference value of the current sample is replaced with the current reference value to update the reference every predetermined time interval.
- the touch control chip by comparing the difference value between the original values sampled by the adjacent sampling points of the touch screen when the state is backed up, the difference between the original values of the samples sampled at the time of power-on and after power-on is compared with the difference value of the backup. Therefore, judging the correctness of the reference enables the touch control chip to quickly and accurately acquire the correct reference value during the actual detection, thereby correctly updating the reference.
- the feature value is a proportional value between the original values sampled by adjacent sampling points of the touch screen.
- FIG. 4 is a flowchart of a method for updating a reference of a touch screen according to Embodiment 2 of the present invention. The method includes the following steps:
- Step S201 Stable state sampling, and calculating the ratio of the adjacent sampling points in the steady state and preparing for the backup.
- each sampling point is sampled, and the original value of the steady state sampling is obtained, and then the ratio between the original values of the adjacent sampling points of the touch screen is calculated according to the original value of the stable state sampling, and the ratio is backed up.
- the proportional value as a reference quantity for the reference update, enables the touch control chip to quickly and accurately obtain the correct reference value when actually detecting.
- the ratio is the ratio between the original values of adjacent sample points sampled by a set multiple.
- the scale value backup is stored in the Flash Memory of the touch control chip.
- the original value is 2100 2050 1900 1950 2010 2200 1920 2010 2300 2100
- the touch control chip backs up the reference datum in the Flash Memory, and stores the scale value between the original values sampled by the adjacent sampling points of the touch screen in the steady state in the Flash Memory, because The MCU (Micro Control Unit) is difficult to process the decimal.
- the result of the ratio is enlarged by a set multiple to obtain an integer.
- the magnification of the setting can be adjusted according to the actual situation, such as but not limited to the ratio.
- Step S202 Power-on sampling, establish a reference, and calculate a ratio of adjacent sampling points at power-on.
- each sampling point is sampled, the original value of the power-on sampling is obtained, the original value of the power-on sampling is used as a reference value to establish a reference, and the touch screen phase is calculated according to the original value of the power-on sampling. The ratio between the original values of the adjacent sample points.
- Step S203 The difference between the proportional value at the time of power-on and the backup ratio value is taken and the absolute value is taken to find the maximum value in the absolute value.
- the degree of similarity is compared by making the difference between the two and taking the absolute value.
- the ratio of the sampled value at power-on in Table 8 is compared with the backup ratio value in Table 6 Flash Memory and the absolute value is taken to find the maximum value in the absolute value.
- Step S204 It is determined whether the maximum value is greater than the first threshold. If yes, step S205 is performed. Otherwise, the reference is correct, and the process ends, and the normal touch workflow is performed.
- the current reference has been determined by comparing the maximum value with a set threshold.
- the first threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set.
- Step S205 The current reference is incorrect.
- the maximum value is greater than the first threshold, indicating that the current baseline is incorrect at this time.
- Step S206 It is judged whether there is a touch, and if so, step S207 is performed, otherwise, step S208 is performed. When the current reference is incorrect, continue to determine if there is a touch on the touch screen. Specifically, it can be judged by the following methods:
- Step S207 The change of the original value of the current sample is monitored in real time, and the reference is updated when the original value of the current sample meets the reference update condition.
- the touch screen When the touch screen has a touch, it is necessary to monitor the change of the original value of the current sample in real time.
- the original value of the current sample meets the reference update condition, it indicates that the current original value is more suitable for the reference reference quantity, and the reference needs to be updated immediately.
- the benchmark is replaced.
- the reference update condition may be set according to actual conditions, and is not limited to one type.
- the difference between the current feature value and the reference feature value and the backup feature value may be calculated, and if the difference between the current feature value and the backup feature value is greater than the reference If the difference between the eigenvalue and the backup eigenvalue is small, and the amount of change between the two differences exceeds a set value, the original value of the current sample is considered to be in accordance with the reference update condition, and is more suitable for the reference. Update the benchmark. The specific method is shown in Figure 5:
- Step A201 Determine whether the reference is incorrect and touched. If yes, go to step A202. Otherwise, end the process and follow the normal touch workflow.
- Step A202 Sampling, calculating a proportional value of the current adjacent sampling point and calculating a reference proportional value according to the reference value.
- Step A203 The current scale value and the reference scale value are respectively compared with the backup scale value and take an absolute value.
- diff_r[i] Abs(prop_ref [i] -back_prop [i] ).
- Step A204 Find the maximum of the two sets of absolute values, respectively.
- Step A205 Determine whether the first maximum value is smaller than the second maximum value, and if yes, execute step A206, otherwise, return to step A202.
- Step A206 Determine whether the absolute value of the difference between the second maximum value and the first maximum value is greater than the third threshold. If yes, go to step A207, otherwise, go back to step A202.
- this step it is determined whether the original value of the current sample conforms to the reference update condition by further comparing the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax with a set threshold value.
- the third threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set. If the difference between the second maximum value diff_rmax and the first maximum value diff_cmax does not exceed the third threshold value, it indicates that the sample original value at this time does not meet the reference update condition and needs to be resampled.
- Step A207 There is a false positive point, and the baseline is forced to be updated.
- the current value is the original value without the touch state, and the current touch is a false alarm point, and is not executed at this time. Touch the action and force a baseline update to eliminate false positives and restore the correct baseline.
- Step S208 The reference is updated periodically.
- the original reference value of the current sample is replaced with the current reference value to update the reference every predetermined time interval.
- the ratio between the original values sampled by the adjacent sampling points of the touch screen in the steady state is compared with the ratio of the backup. Therefore, judging the correctness of the reference enables the touch control chip to quickly and accurately acquire the correct reference value during the actual detection, thereby correctly updating the reference.
- the feature value is the original value sampled by each sampling point of the touch screen.
- Step S301 Stable state sampling, and obtaining the original values sampled by each sampling point in the steady state and backing up.
- Step S301 Stable state sampling, and obtaining the original values sampled by each sampling point in the steady state and backing up.
- each sampling point is sampled, and the original value of each sampling point sample in a steady state is obtained, and the original value is backed up as a reference quantity of the reference update, so that the touch control chip can be quickly and accurately detected in actual detection.
- Get the correct reference value In this embodiment, the original value is backed up and stored in the Flash Memory of the touch control chip.
- the original value of the sample is directly used as the backup feature value without performing complicated calculation.
- Step S302 Power-on sampling, and obtain the original value sampled by each sampling point at the time of power-on, and establish a reference.
- each sampling point is sampled, and the original value of the power-on sampling is obtained, and the original value of the power-on sampling is used as a reference value to establish a reference. If the system has water on the screen before power-on, and the original value of the first sampling at power-on is as shown in the following table, the wrong reference will be obtained after power-on:
- Step S303 The difference between the original value at the time of power-on and the original value of the backup is taken and the absolute value is taken to find the maximum value in the absolute value.
- the current reference is correct by comparing the similarity between the original value of each sampling point of the current reference and the original value of the backup in the Flash Memory. Specifically, the degree of similarity is compared by making the difference between the two and taking the absolute value.
- the original value sampled at power-on in Table 11 is compared with the original value of the backup in Table 10 Flash Memory and its absolute value is taken to find the maximum value in the absolute value, as shown in the following table:
- Step S304 Determine whether the maximum value is greater than the first threshold. If yes, execute step S305. Otherwise, the reference is correct, and the process ends, and the normal touch workflow is performed.
- the current reference has been determined by comparing the maximum value with a set threshold.
- the first threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set.
- Step S305 The current reference is incorrect.
- the maximum value is greater than the first threshold, indicating that the current baseline is incorrect at this time.
- Step S306 It is judged whether there is a touch, and if so, step S307 is performed, otherwise, step S308 is performed. When the current reference is incorrect, continue to determine if there is a touch on the touch screen. Specifically, it can be judged by the following methods:
- the second threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set.
- Step S307 The change of the original value of the current sample is monitored in real time, and the reference is updated when the original value of the current sample meets the baseline update condition.
- the touch screen When the touch screen has a touch, it is necessary to monitor the change of the original value of the current sample in real time. When the original value of the current sample meets the reference update condition, it indicates that the current original value is more suitable for the reference reference quantity, and the reference needs to be updated immediately. The benchmark is replaced.
- the reference update condition can be set according to the actual situation, and is not limited to one type, for example, by calculating the difference between the original value of the current sample and the reference value and the original value of the backup, if the difference between the original value of the current sample and the original value of the backup If the value is smaller than the difference between the reference value and the original value of the backup, and the amount of change between the two differences exceeds a set value, the original value of the current sample is considered to be in accordance with the reference update condition, and is more suitable as a reference.
- the baseline can be updated. The specific method is shown in Figure 7:
- Step A301 Determine whether the reference is incorrect and touched. If yes, go to step A302. Otherwise, end the process and follow the normal touch workflow.
- Step A302 Sampling, and obtaining the original value of each current sampling point.
- each sampling point is sampled, and the original value rawdata[i] of each sampling point is obtained.
- Step A303 The current original value and the reference value are respectively compared with the original backup value and the absolute value is taken.
- Step A304 Find the maximum of the two sets of absolute values, respectively.
- This step separately calculates the maximum value of the absolute values of the two sets of differences, wherein the maximum value in diff_c[i] is the first maximum value diff_cmax, and the maximum value in diff_r[i] is the second maximum value diff_rmax.
- Step A305 determining whether the first maximum value is smaller than the second maximum value, and if yes, performing step A306. Otherwise, return to step A302.
- Step A306 Determine whether the absolute value of the difference between the second maximum value and the first maximum value is greater than a third threshold. If yes, go to step A307, otherwise, go back to step A302.
- this step it is determined whether the original value of the current sample conforms to the reference update condition by further comparing the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax with a set threshold value.
- the third threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set. If the difference between the second maximum value diff_rmax and the first maximum value diff_cmax does not exceed the third threshold value, it indicates that the sample original value at this time does not meet the reference update condition and needs to be resampled.
- Step A307 There is a false positive point, and the baseline is forced to be updated.
- Step S308 The reference is updated periodically.
- the original reference value of the current sample is replaced with the current reference value to update the reference every predetermined time interval.
- the original values of the sampling points at the time of power-on and after power-on are compared with the original values of the backup, and the correctness of the reference is judged, so that the touch control is performed.
- the chip When the chip is actually detected, it can quickly and accurately obtain the correct reference value, so as to correctly update the reference.
- This embodiment provides a reference update system for a touch screen.
- the system includes: a sampling unit 1, a computing unit 2, a backup unit 3, a reference value establishing unit 4, a determining unit 5, and a reference value updating unit 6.
- monitoring unit 7. The sampling unit 1 is configured to sample each sampling point to obtain the original value of the sampling; the calculating unit 2 is configured to calculate the sampling points of the touch screen according to the original value of the stable state sampling. The eigenvalue is calculated according to the original value of the sampling time at the time of powering on the touch screen and at each time point after power-on, and the current feature value is compared with the backup feature value and the absolute value is taken to find the absolute value.
- the maximum value of the value; the backup unit 3 is used to back up the feature value in the steady state, and the backup feature value is obtained;
- the reference value establishing unit 4 is configured to use the original value sampled when the touch screen is powered on as a reference value to establish a reference; And determining whether the maximum value calculated according to the sampling when the touch screen is powered on is greater than a set first threshold, and if the maximum value is greater than the set first threshold, determining that the current reference is incorrect, and determining that the current reference is incorrect Whether there is a touch on the touch screen;
- the reference value updating unit 6 is configured to periodically update the reference when the current reference is incorrect and there is no touch on the touch screen, and the current reference is incorrect, the touch screen has a touch, and the current sampled original value meets the reference update condition.
- Time update reference; monitoring unit 7 is used when the current reference is incorrect and there is a touch on the touch screen Monitor changes in the current value of the original sample.
- the calculating unit 2 is further configured to subtract the original value of the current sample from the current reference value to obtain a difference, and the difference is used to determine whether there is a touch on the touch screen.
- the judging unit 5 judges whether there is a touch on the touch screen by judging whether the difference is smaller than the set second threshold, and if the difference is smaller than the set second threshold, it is determined that there is no touch, otherwise, it is determined that there is a touch.
- the calculation unit 2 is further configured to compare the reference feature value with the backup feature value and take an absolute value to find the maximum value among the absolute values.
- the determining unit 5 is further configured to determine, when the maximum value of the absolute values of the differences between the current feature value and the backup feature value is less than the maximum value of the absolute values of the difference between the reference feature value and the backup feature value, Whether the absolute value of the difference is greater than the set third threshold, if the absolute value of the difference is greater than the set third threshold, replacing the current sampled original value with the current reference value to update the reference, and determining the current touch For false alarm points, no touch operation is performed.
- the feature value may be a difference value between the original values of the adjacent sampling point samples of the touch screen, a ratio between the original values of the adjacent sampling points of the touch screen, or an original value sampled by each sampling point of the touch screen.
- the scale value is a ratio between the original values of adjacent sample points sampled by a set multiple.
- the differential value can be backed up in a non-volatile memory of the touch control chip, such as Flash Memory, PROM, EAROM, EPROM or EEPROM, etc., in this embodiment, the differential value backup Stored in the Flash Memory of the touch control chip.
- a non-volatile memory of the touch control chip such as Flash Memory, PROM, EAROM, EPROM or EEPROM, etc.
- the sampled values are compared with the backup feature values to determine the correctness of the reference, so that the touch control chip can quickly and accurately obtain the correct reference value during actual detection. , thus correctly updating the benchmark.
- the embodiment provides a touch terminal, and the touch terminal includes a reference update system of the touch screen provided in Embodiment 4.
- the sampled values are compared with the backup feature values to determine the correctness of the reference, so that the touch control chip can quickly and accurately obtain the correct reference value during actual detection. Therefore, the reference is correctly updated, so that the touch terminal has high touch accuracy and a good user experience.
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)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
Description
触摸屏的基准更新方法、 系统及触控终端 Touch screen reference updating method, system and touch terminal
技术领域 Technical field
本发明涉及触控技术领域, 特别是涉及一种触摸屏的基准更新方法、 系统 及触控终端。 背景技术 The present invention relates to the field of touch technologies, and in particular, to a method and system for updating a reference of a touch screen and a touch terminal. Background technique
随着触控技术和终端技术的发展, 越来越多的终端设备采用触控方式进行 人机交互。 目前, 终端设备所采用的触摸屏主要有电容触摸屏和电阻触摸屏两 种, 其中电容触控屏以其良好的清晰度、 透光率和触感, 得到了越来越多用户 的青睐。 With the development of touch technology and terminal technology, more and more terminal devices use touch control for human-computer interaction. At present, the touch screens used in terminal devices mainly include a capacitive touch screen and a resistive touch screen. Among them, the capacitive touch screen has been favored by more and more users for its good definition, light transmittance and touch.
电容触摸屏在检测触摸过程中,触摸控制芯片先通过 ADC( Analog-to-Digital Converter, 模数变换器) 采样获取原始数据, 得到原始值; 再根据原始值来建 立基准, 得到基准值; 在后续的计算中, 由基准值减去原始值, 得到差值, 由 差值可计算出坐标值。 为了能够获得正确的差值, 需要维护一份正确的基准, 也即用于建立基准的原始值应是电容触摸屏处于稳定状态时所采样到的原始 值, 稳定状态是指电容触摸屏上没有手指、 触摸笔、 水滴等会改变原始值大小 的物体存在时的状态。 而在实际使用过程中, 电容触摸屏会因为屏上有水滴、 手汗以及上电时有触摸等情况的存在, 使得所获取到的基准不正确, 从而导致 触摸屏灵敏度变差或误报点, 误报点是指电容触摸屏上某个位置实际没有触摸 而触摸控制芯片计算出有坐标。 In the process of detecting touch, the touch control chip first samples the original data through an ADC (Analog-to-Digital Converter) to obtain the original value; then establishes a reference according to the original value to obtain a reference value; In the calculation, the original value is subtracted from the reference value to obtain the difference, and the coordinate value can be calculated from the difference. In order to get the correct difference, it is necessary to maintain a correct reference, that is, the original value used to establish the reference should be the original value sampled when the capacitive touch screen is in a stable state. The steady state means that there is no finger on the capacitive touch screen. Touching a pen, water droplets, etc. will change the state of the object of the original value. In actual use, the capacitive touch screen may have water droplets, sweat, and touch on the screen, so that the obtained reference is incorrect, resulting in poor sensitivity or false alarm of the touch screen. The report point means that there is actually no touch at a certain position on the capacitive touch screen and the touch control chip calculates the coordinates.
具体地, 触控系统在上电后, 需要先建立一份初始基准, 即将上电后第一 次采样的原始值直接作为基准值使用; 建立初始基准后, 在后续的采样计算中, 根据差值的数据变化规律, 再更新基准, 更新基准是指将当前采样的原始值作 为基准值, 后续的采样计算以本次的原始值作为参考。 如图 1 所示, 为电容触 摸屏的工作流程图, 触摸控制芯片先通过 ADC采样获取原始值后, 判断是否是 上电后首次采样, 若是, 则将本次采样的原始值作为基准, 否则, 将基准与原 始值做差得到差值, 然后计算出坐标, 再根据差值的数据变化规律判断是否需 要更新基准, 若需要则将本次采样的原始值作为基准, 否则, 结束此次流程, 继续下一次采样。 系统在上电时, 由于不能确定此时屏上是否有手指或水滴等, 会使得在屏上有手指或水滴时获取到一个错误的基准, 而在后续的处理过程中, 当手指离开或水滴擦干后, 应能够快速的更新基准。 如果上电时屏上处于稳定 状态, 而后续使用过程中, 由于屏上环境变化, 如温度变化, 或屏上有水滴或 汗点时, 为了能够使电容触摸屏正常操作, 需要根据环境变化动态地更新基准, 例如当电容屏温度随所在环境的温度而变化时, 采样的原始值也会相应的变化, 此时每过一定的时间需要更新一次基准, 以免触摸不灵敏或误报点。 如果在基 准更新时, 获取到的基准出错, 则有可能会导致触摸屏灵敏度变差或误报点现 象的出现。 因此, 如何能够正确地获取基准值, 是电容触摸屏触摸控制芯片能 否正常检测的关键所在。 发明内容 Specifically, after the power system is powered on, it is necessary to establish an initial reference, that is, the original value of the first sampling after power-on is directly used as the reference value; after the initial reference is established, in the subsequent sampling calculation, according to the difference The data of the value changes regularly, and the reference is updated. The original reference is used as the reference value, and the subsequent sample calculation is based on the original value of the current reference. As shown in Figure 1, for the working flow chart of the capacitive touch screen, the touch control chip first obtains the original value through ADC sampling, and determines whether it is the first sampling after power-on. If yes, the original value of the current sampling is used as a reference. Otherwise, Benchmark and original The starting value is difference, then the coordinates are calculated, and then the data is changed according to the difference data to determine whether the reference needs to be updated. If necessary, the original value of the current sampling is used as a reference. Otherwise, the process ends and continues to the next time. sampling. When the system is powered on, it is impossible to determine whether there are fingers or water droplets on the screen at this time, which will cause a wrong reference to be obtained when there are fingers or water droplets on the screen, and in the subsequent processing, when the finger leaves or drops After drying, you should be able to quickly update the baseline. If the screen is in a stable state during power-on, and during subsequent use, due to environmental changes on the screen, such as temperature changes, or water droplets or sweat on the screen, in order to enable the capacitive touch screen to operate normally, it needs to be dynamically changed according to environmental changes. Update the baseline. For example, when the temperature of the capacitive screen changes with the temperature of the environment, the original value of the sample will change accordingly. At this time, the reference needs to be updated every time to avoid insensitive or false alarm points. If the acquired reference is incorrect during the reference update, the sensitivity of the touch screen may be deteriorated or the false alarm point may occur. Therefore, how to correctly obtain the reference value is the key to whether the capacitive touch screen touch control chip can be detected normally. Summary of the invention
本发明针对现有技术的上述缺陷, 提供一种触摸屏的基准更新方法, 能够 快速准确地获取到正确的基准值, 从而正确地更新基准。 本发明采用如下技术 方案: The present invention is directed to the above-described drawbacks of the prior art, and provides a method for updating a reference of a touch panel, which can quickly and accurately acquire a correct reference value, thereby correctly updating the reference. The invention adopts the following technical solutions:
一种触摸屏的基准更新方法, 所述方法包括如下步骤: A method for updating a reference of a touch screen, the method comprising the following steps:
在触摸屏处于稳定状态时对各采样点采样, 得到稳定状态采样的原始值, 根据所述稳定状态采样的原始值计算得到所述触摸屏各采样点的特征值并备 份, 得到备份特征值; When the touch screen is in a stable state, the sampling points are sampled, and the original values of the stable state samples are obtained, and the characteristic values of the sampling points of the touch screen are calculated and backed up according to the original values of the stable state samples, to obtain the backup feature values;
触摸屏上电, 对各采样点采样, 得到上电采样的原始值, 将所述上电采样 的原始值作为基准值以建立基准, 并根据所述上电采样的原始值计算得到所述 触摸屏各采样点的上电特征值; The touch screen is powered on, sampling each sampling point, obtaining the original value of the power-on sampling, using the original value of the power-on sampling as a reference value to establish a reference, and calculating, according to the original value of the power-on sampling, the touch screen The power-on feature value of the sampling point;
将所述上电特征值与备份特征值做差并取绝对值, 找出所述绝对值中的最 大值; Determining the power-on feature value and the backup feature value and taking an absolute value to find a maximum value among the absolute values;
判断所述最大值是否大于设定的第一阈值, 若所述最大值大于设定的第一 阈值, 则判定当前基准不正确; Determining whether the maximum value is greater than a set first threshold, if the maximum value is greater than a set first Threshold, it is determined that the current reference is incorrect;
若当前基准不正确, 判断触摸屏上是否有触摸, 若无触摸, 则定时更新基 准, 若有触摸, 则实时监控当前采样的原始值的变化, 在当前采样的原始值符 合基准更新条件时更新基准。 If the current reference is incorrect, determine whether there is a touch on the touch screen. If there is no touch, the reference is updated periodically. If there is a touch, the change of the original value of the current sample is monitored in real time, and the reference is updated when the original value of the current sample meets the baseline update condition. .
本发明还提供了一种触摸屏的基准更新系统, 包括: The invention also provides a reference update system for a touch screen, comprising:
采样单元, 用于对各采样点采样, 得到采样的原始值; a sampling unit, configured to sample each sampling point to obtain a sampled original value;
计算单元, 用于根据稳定状态采样的原始值计算得到触摸屏各采样点的特 征值, 根据触摸屏上电时以及上电后各时间点采样的原始值计算得到触摸屏各 采样点的当前特征值, 以及将当前特征值与备份特征值做差并取绝对值, 找出 所述绝对值中的最大值; a calculating unit, configured to calculate, according to an original value of the steady state sampling, a feature value of each sampling point of the touch screen, and calculate a current feature value of each sampling point of the touch screen according to the original value of the sampling time at the time of powering on the touch screen and after power-on, and Determining the current feature value from the backup feature value and taking an absolute value to find the maximum value among the absolute values;
备份单元, 用于备份稳定状态时的特征值, 得到备份特征值; a backup unit, configured to back up a feature value in a steady state, and obtain a backup feature value;
基准值建立单元, 用于将触摸屏上电时采样的原始值作为基准值以建立基 准; a reference value establishing unit, configured to use a raw value sampled when the touch screen is powered on as a reference value to establish a reference;
判断单元, 用于判断根据触摸屏上电时的采样计算得到的最大值是否大于 设定的第一阈值, 若所述最大值大于设定的第一阈值, 则判定当前基准不正确, 以及在当前基准不正确时判断触摸屏上是否有触摸; a determining unit, configured to determine whether a maximum value calculated according to sampling when the touch screen is powered on is greater than a set first threshold, and if the maximum value is greater than a set first threshold, determining that the current reference is incorrect, and Determine if there is a touch on the touch screen when the reference is incorrect;
基准值更新单元, 用于在当前基准不正确且触摸屏上无触摸时, 定时更新 基准, 以及在当前基准不正确、 触摸屏上有触摸且当前采样的原始值符合基准 更新条件时更新基准; a reference value updating unit, configured to periodically update the reference when the current reference is incorrect and there is no touch on the touch screen, and update the reference when the current reference is incorrect, there is a touch on the touch screen, and the original sampled original value meets the baseline update condition;
监控单元, 用于在当前基准不正确且触摸屏上有触摸时, 实时监控当前采 样的原始值的变化。 The monitoring unit is configured to monitor the change of the original value of the current sample in real time when the current reference is incorrect and there is a touch on the touch screen.
本发明还提供了一种触控终端, 所述触控终端包括上述触摸屏的基准更新 系统。 The invention also provides a touch terminal, wherein the touch terminal comprises a reference update system of the touch screen.
本发明通过备份触摸屏的稳定状态时的特征值, 将采样值与备份特征值进 行比对, 判断基准的正确性, 使得触摸控制芯片在实际检测时, 能够快速准确 地获取到正确的基准值, 从而正确地更新基准。 附图说明 The invention compares the sampled value with the backup feature value by backing up the feature value in the steady state of the touch screen, and judges the correctness of the reference, so that the touch control chip can quickly and accurately obtain the correct reference value during the actual detection. Thereby the benchmark is updated correctly. DRAWINGS
图 1为电容触摸屏的工作流程图; Figure 1 is a working flow chart of a capacitive touch screen;
图 2为实施例 1触摸屏的基准更新方法的流程图; 2 is a flowchart of a method for updating a reference of a touch screen of Embodiment 1;
图 3为实施例 1 中判定基准不正确且触摸屏有触摸时更新基准的方法流程 图; 3 is a flow chart showing a method for updating a reference when the determination criterion is incorrect in the embodiment 1 and the touch screen has a touch;
图 4为实施例 2触摸屏的基准更新方法的流程图; 4 is a flowchart of a method for updating a reference of a touch screen of Embodiment 2;
图 5为实施例 2中判定基准不正确且触摸屏有触摸时更新基准的方法流程 图; 5 is a flow chart showing a method for updating a reference when the determination criterion is incorrect in the embodiment 2 and the touch screen has a touch;
图 6为实施例 3触摸屏的基准更新方法的流程图; 6 is a flowchart of a method for updating a reference of a touch screen of Embodiment 3;
图 7为实施例 3中判定基准不正确且触摸屏有触摸时更新基准的方法流程 图; 7 is a flow chart showing a method for updating a reference when the determination criterion is incorrect in the embodiment 3 and the touch screen has a touch;
图 8为实施例 4触摸屏的基准更新系统的结构框图。 具体实施方式 Fig. 8 is a block diagram showing the structure of a reference updating system of the touch panel of the fourth embodiment. detailed description
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实 施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅 仅用以解释本发明, 并不用于限定本发明。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例通过备份触摸屏的稳定状态时的特征值, 将采样值与备份特 征值进行比对, 判断基准的正确性, 使得触摸控制芯片在实际检测时, 能够快 速准确地获取到正确的基准值, 从而正确地更新基准。 特征值可以是触摸屏相 邻采样点采样的原始值之间的差分值、 触摸屏相邻采样点采样的原始值之间的 比例值或者触摸屏各采样点采样的原始值等。 下面分别以上述 3种特征值为例, 对本发明技术方案进行详细描述。 The embodiment of the present invention compares the sampled value with the backup feature value by backing up the feature value in the steady state of the touch screen, and determines the correctness of the reference, so that the touch control chip can quickly and accurately obtain the correct reference during the actual detection. The value, thus correctly updating the baseline. The feature value may be a difference value between the original values of the adjacent sampling point samples of the touch screen, a ratio between the original values of the adjacent sampling points of the touch screen, or an original value sampled by each sampling point of the touch screen. The technical solutions of the present invention are described in detail below by taking the above three kinds of characteristic values as examples.
实施例 1: Example 1:
本实施例中, 特征值为触摸屏相邻采样点采样的原始值之间的差分值。 请 参阅图 2所示, 为本发明实施例 1触摸屏的基准更新方法的流程图。 该方法包 括如下步骤: 步骤 S101 : 稳定状态采样, 计算得到稳定状态时相邻采样点的差分值并备 份。 In this embodiment, the feature value is a difference value between original values of adjacent sampling points of the touch screen. Referring to FIG. 2, it is a flowchart of a method for updating a reference of a touch screen according to Embodiment 1 of the present invention. The method comprises the following steps: Step S101: Stable state sampling, and calculating a difference value of adjacent sampling points in a steady state and backing up.
本步骤中, 触摸屏处于稳定状态时对各采样点采样, 得到稳定状态采样的 原始值, 再根据稳定状态采样的原始值计算得到触摸屏相邻采样点采样的原始 值之间的差分值, 备份该差分值, 作为基准更新的参考量, 使得触摸控制芯片 在实际检测时, 能够快速准确地获取到正确的基准值。 该差分值可以备份存储 于触摸控制芯片的非易失性存储器中, 例如 Flash Memory (闪存)、 PROM (Programmable read-only memory, 可编程只读存储器)、 EAROM (Electrically alterable read only memory, 电可改写只读存储器)、 EPROM ( Erasable programmable read only memory, 可擦可编程只读存储器) 或 EEPROM ( Electrically erasable programmable read only memory, 电可擦可编禾呈只读存储 器) 等, 本实施例中差分值备份存储于触摸控制芯片的 Flash Memory中。 In this step, when the touch screen is in a steady state, each sampling point is sampled, and the original value of the steady state sampling is obtained, and then the difference value between the original values of the adjacent sampling points of the touch screen is calculated according to the original value of the stable state sampling, and the difference is backed up. The differential value, as a reference quantity for the reference update, enables the touch control chip to quickly and accurately acquire the correct reference value when actually detecting it. The differential value can be backed up in a non-volatile memory of the touch control chip, such as Flash Memory, PROM (Programmable read-only memory), EAROM (Electrically alterable read only memory) Rewriting the read only memory), EPROM (Erasable programmable read only memory) or EEPROM (Electrically erasable programmable read only memory), etc. The value backup is stored in the flash memory of the touch control chip.
下面举例进行说明。 若电容触摸屏在稳定状态时采样的原始值如下表所示, 其中第一行为采样点编号, 第二行为每个采样点的原始值: The following examples are given. If the capacitive touch screen is in the steady state, the original values sampled are as shown in the following table, where the first behavior is the sampling point number, and the second behavior is the original value of each sampling point:
稳定状态采样的原始值 Raw value of steady state sampling
此时触摸控制芯片在 Flash Memory中备份参考基准, 将稳定状态时触摸屏 相邻采样点采样的原始值之间的差分值存储在 Flash Memory中, 即备份差分值 back_diff[i]=S[i+l]-S[i], 其中 back_diff[i]简写为 B[i], 如下表所示: At this time, the touch control chip backs up the reference reference in the Flash Memory, and stores the difference value between the original values sampled by the adjacent sampling points of the touch screen in the steady state in the Flash Memory, that is, the backup differential value back_diff[i]=S[i+ l]-S[i], where back_diff[i] is abbreviated as B[i], as shown in the following table:
表 2 备份差分值 Table 2 Backup differential values
该备份的建立有两种方式, 一种是在触摸屏出厂前, 工厂在确保屏上没有 触摸且处于稳定状态时, 把当前的基准值做差, 得到 back_diff[i], 另一种是出 厂时不进行校准, 在产品使用过程中通过软件的自动学习得到, 该方式相比第 一种方式较为复杂。 There are two ways to establish this backup. One is that before the touch screen is shipped from the factory, when the factory ensures that there is no touch on the screen and is in a stable state, the current reference value is made worse, and back_diff[i] is obtained, and the other is out. The factory does not perform calibration, and it is obtained through automatic learning of the software during the use of the product. This method is more complicated than the first method.
步骤 S102: 上电采样, 建立基准, 计算得到上电时相邻采样点的差分值。 本步骤中, 当触摸屏上电后, 对各采样点采样, 得到上电采样的原始值, 将上电采样的原始值作为基准值以建立基准, 并根据上电采样的原始值计算得 到触摸屏相邻采样点采样的原始值之间的差分值。 Step S102: Power-on sampling, establish a reference, and calculate a difference value of adjacent sampling points at power-on. In this step, after the touch screen is powered on, each sampling point is sampled, the original value of the power-on sampling is obtained, the original value of the power-on sampling is used as a reference value to establish a reference, and the touch screen phase is calculated according to the original value of the power-on sampling. The difference between the original values of the adjacent sample points.
若系统在上电之前屏上有水, 且上电时第一次采样的原始值如下表所示, 那么上电后将获取到错误的基准: If the system has water on the screen before power-on, and the original value of the first sampling at power-on is as shown in the following table, the wrong reference will be obtained after power-on:
上电时采样的原始值 Original value sampled at power-on
此时作为基准的相邻采样点采样的原始值之间的差分值如下表: The difference between the original values of the adjacent sample points sampled as the reference at this time is as follows:
表 4 上电时采样的差分值 Table 4 Difference values sampled at power-on
步骤 S103 : 将上电时的差分值与备份差分值做差并取绝对值, 找出绝对值 中的最大值。 Step S103: Difference between the difference value at the time of power-on and the backup difference value and take an absolute value to find the maximum value in the absolute value.
本实施例通过比对上电当前基准相邻采样点的差分值与 Flash Memory中的 备份差分值之间的相似程度, 来判定当前的基准是否正确。 具体是通过将两者 做差并取绝对值的方式来比对其相似程度。 本步骤中, 将表 4 中上电时采样的 差分值与表 2 Flash Memory中的备份差分值做差并取其绝对值, 找出绝对值中 的最大值。 In this embodiment, it is determined whether the current reference is correct by comparing the degree of similarity between the difference value of the current reference adjacent sampling point of the power-on and the backup difference value in the Flash Memory. Specifically, the degree of similarity is compared by making the difference between the two and taking the absolute value. In this step, compare the difference value sampled at power-on in Table 4 with the backup difference value in Table 2 Flash Memory and take the absolute value to find the maximum value in the absolute value.
步骤 S104: 判断该最大值是否大于第一阈值, 若是, 执行步骤 S105, 否则, 说明基准正确, 结束此次流程, 按正常的触摸工作流程进行。 Step S104: Determine whether the maximum value is greater than the first threshold. If yes, execute step S105. Otherwise, the reference is correct, and the process ends, and the normal touch workflow is performed.
本步骤中, 通过比较最大值与设定的一阈值来判定当前的基准是否已经正 确。 其中, 第一阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 In this step, it is determined whether the current reference is positive by comparing the maximum value with the set threshold. Indeed. The first threshold is set according to the actual debugging result in the design process, and can be no longer changed after being set.
步骤 S105 : 当前基准不正确。 Step S105: The current reference is incorrect.
最大值大于第一阈值, 说明此时当前的基准不正确。 The maximum value is greater than the first threshold, indicating that the current baseline is incorrect at this time.
步骤 S106:判断是否有触摸, 若是,执行步骤 S107, 否则,执行步骤 S108。 当前基准不正确时, 继续判断触摸屏上是否有触摸。 具体可通过如下方法 进行判断: Step S106: It is judged whether there is a touch, and if so, step S107 is performed, otherwise, step S108 is performed. When the current reference is incorrect, continue to determine if there is a touch on the touch screen. Specifically, it can be judged by the following methods:
对各采样点采样, 得到当前采样的原始值, 用当前基准值减去当前采样的 原始值得到差值; Sampling each sampling point, obtaining the original value of the current sampling, and subtracting the original value of the current sampling from the current reference value to obtain a difference;
判断该差值是否小于设定的第二阈值; Determining whether the difference is less than a set second threshold;
若该差值小于设定的第二阈值, 则判定为无触摸, 否则, 判定为有触摸。 其中, 第二阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 If the difference is less than the set second threshold, it is determined that there is no touch, otherwise, it is determined that there is a touch. The second threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set.
步骤 S107: 实时监控当前采样的原始值的变化, 在当前采样的原始值符合 基准更新条件时更新基准。 Step S107: Real-time monitoring of the change of the original sampled value, and updating the reference when the original sampled original value meets the baseline update condition.
触摸屏有触摸时, 需要实时监控当前采样的原始值的变化, 在当前采样的 原始值符合基准更新条件时, 说明当前的原始值更适合用来做基准参考量, 需 要马上更新基准, 把之前错误的基准替代掉。 基准更新条件可根据实际情况设 定, 不限于一种, 例如可通过计算当前特征值、 基准特征值分别与备份特征值 之间的差值, 如果当前特征值与备份特征值的差值比基准特征值与备份特征值 的差值小, 且这两个差值之间的变化量超过一设定值时, 则认为当前采样的原 始值符合基准更新条件, 更适合于做基准, 此时可更新基准。 具体方法如图 3 所示: When the touch screen has a touch, it is necessary to monitor the change of the original value of the current sample in real time. When the original value of the current sample meets the reference update condition, it indicates that the current original value is more suitable for the reference reference quantity, and the reference needs to be updated immediately. The benchmark is replaced. The reference update condition may be set according to actual conditions, and is not limited to one type. For example, the difference between the current feature value and the reference feature value and the backup feature value may be calculated, and if the difference between the current feature value and the backup feature value is greater than the reference If the difference between the eigenvalue and the backup eigenvalue is small, and the amount of change between the two differences exceeds a set value, the original value of the current sample is considered to be in accordance with the reference update condition, and is more suitable for the reference. Update the benchmark. The specific method is shown in Figure 3:
步骤 A101 : 判断是否基准不正确且有触摸, 若是, 执行步骤 A102, 否则, 结束此次流程, 按正常的触摸工作流程进行。 Step A101: Determine whether the reference is incorrect and touched. If yes, go to step A102. Otherwise, end the process and follow the normal touch workflow.
步骤 A102: 采样, 计算得到当前相邻采样点的差分值和根据基准值计算得 到基准差分值。 本步骤对各采样点采样, 得到当前采样的原始值, 根据当前采样的原始值 计算得到当前触摸屏相邻采样点采样的原始值之间的差分值, 即 diff_cur[i]=rawdata[i+l]-rawdata[i] ; 并根据基准值计算得到触摸屏相邻采样点采 样的基准值之间的差分值, 即 diff_ref[i]= refdata[i+l]- refdata[i]。 Step A102: Sampling, calculating a difference value of the current adjacent sampling point and calculating a reference difference value according to the reference value. In this step, each sampling point is sampled, and the original value of the current sampling is obtained, and the difference value between the original values of the adjacent sampling points of the current touch screen is calculated according to the original value of the current sampling, that is, diff_cur[i]=rawdata[i+l ]-rawdata[i] ; and calculate the difference value between the reference values of the adjacent sampling point samples of the touch screen according to the reference value, that is, diff_ref[i]= refdata[i+l]- refdata[i].
步骤 A103 : 将当前的差分值、 基准差分值分别与备份差分值做差并取绝对 值。 Step A103: The current difference value and the reference difference value are respectively compared with the backup difference value and taken as an absolute value.
将当前触摸屏相邻采样点采样的原始值之间的差分值与备份差分值做差并 取绝对值, 即 diff_c[i]=Abs(diff_cur[i]-back_diff[i]); 并将触摸屏相邻采样点采样 的基准值之间的差分值与备份差分值做差并取绝对值,即 diff_r[i]=Abs(diff_ref[i] -back_diff[i])。 The difference value between the original values of the adjacent sampling points of the current touch screen is compared with the backup difference value and takes an absolute value, that is, diff_c[i]=Abs(diff_cur[i]-back_diff[i]) ; and the touch screen phase The difference value between the reference values sampled by the adjacent sample points is compared with the backup difference value and takes an absolute value, that is, diff_r[i]=Abs(diff_ref[i] -back_diff[i]).
步骤 A104: 分别找出两组绝对值中的最大值。 Step A104: Find the maximum of the two sets of absolute values, respectively.
本步骤分别统计出两组差值绝对值中的最大值, 其中 diff_c[i]中的最大值为 第一最大值 diff_cmax, diff_r[i]中的最大值为第二最大值 diff_rmax。 This step separately calculates the maximum value of the absolute values of the two sets of differences, wherein the maximum value in diff_c[i] is the first maximum value diff_cmax, and the maximum value in diff_r[i] is the second maximum value diff_rmax.
步骤 A105 : 判断第一最大值是否小于第二最大值, 若是, 执行步骤 A106, 否则, 返回执行步骤 A102。 Step A105: Determine whether the first maximum value is smaller than the second maximum value. If yes, go to step A106, otherwise, go back to step A102.
本步骤中, 当第一最大值 diff_cmax小于第二最大值 diff_rmax时, 说明当 前的原始值已经逐步接近备份值; 否则, 说明此时的采样原始值并没有变好, 需要重新采样。 In this step, when the first maximum value diff_cmax is smaller than the second maximum value diff_rmax, it indicates that the current original value has gradually approached the backup value; otherwise, it indicates that the original sample value at this time does not get better and needs to be resampled.
步骤 A106: 判断第二最大值与第一最大值的差值的绝对值是否大于第三阈 值, 若是, 执行步骤 A107, 否则, 返回执行步骤 A102。 Step A106: Determine whether the absolute value of the difference between the second maximum value and the first maximum value is greater than the third threshold. If yes, go to step A107, otherwise, go back to step A102.
本步骤中, 通过进一步比较第二最大值 diff_rmax与第一最大值 diff_cmax 的差值的绝对值与设定的一阈值来判定当前采样的原始值是否符合基准更新条 件。 其中, 第三阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 若第二最大值 diff_rmax与第一最大值 diff_cmax的差值并没有超过 第三阈值, 说明此时的采样原始值不符合基准更新条件, 需要重新采样。 In this step, it is determined whether the original value of the current sample conforms to the reference update condition by further comparing the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax with a set threshold value. The third threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set. If the difference between the second maximum value diff_rmax and the first maximum value diff_cmax does not exceed the third threshold value, it indicates that the sample original value at this time does not meet the reference update condition and needs to be resampled.
步骤 A107: 有误报点, 强制更新一次基准。 Step A107: There is a false positive point, and the baseline is forced to be updated.
当第二最大值 diff_rmax与第一最大值 diff_cmax的差值的绝对值大于设定 的第三阈值时, 说明当前值为没有触摸状态的原始值, 当前的触摸为误报点, 此时不执行触摸操作, 并需要强制更新一次基准, 从而消除误报点并恢复正确 的基准。 When the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax is greater than the setting The third threshold indicates that the current value is the original value without the touch state, the current touch is the false alarm point, the touch operation is not performed at this time, and the reference is forced to be updated once, thereby eliminating the false alarm point and restoring the correct reference.
步骤 S108: 定时更新基准。 Step S108: The reference is updated periodically.
若无触摸, 每经过预定的时间间隔, 将当前采样的原始值替换当前基准值 以更新基准。 If there is no touch, the original reference value of the current sample is replaced with the current reference value to update the reference every predetermined time interval.
本实施例通过备份稳定状态时触摸屏相邻采样点采样的原始值之间的差分 值, 将上电时以及上电后各采样点采样的原始值之间的差分值与备份的差分值 进行比对, 判断基准的正确性, 使得触摸控制芯片在实际检测时, 能够快速准 确地获取到正确的基准值, 从而正确地更新基准。 In this embodiment, by comparing the difference value between the original values sampled by the adjacent sampling points of the touch screen when the state is backed up, the difference between the original values of the samples sampled at the time of power-on and after power-on is compared with the difference value of the backup. Therefore, judging the correctness of the reference enables the touch control chip to quickly and accurately acquire the correct reference value during the actual detection, thereby correctly updating the reference.
实施例 2: Example 2:
本实施例中, 特征值为触摸屏相邻采样点采样的原始值之间的比例值。 请 参阅图 4所示, 为本发明实施例 2触摸屏的基准更新方法的流程图。 该方法包 括如下步骤: In this embodiment, the feature value is a proportional value between the original values sampled by adjacent sampling points of the touch screen. Please refer to FIG. 4, which is a flowchart of a method for updating a reference of a touch screen according to Embodiment 2 of the present invention. The method includes the following steps:
步骤 S201 : 稳定状态采样, 计算得到稳定状态时相邻采样点的比例值并备 份。 Step S201: Stable state sampling, and calculating the ratio of the adjacent sampling points in the steady state and preparing for the backup.
本步骤中, 触摸屏处于稳定状态时对各采样点采样, 得到稳定状态采样的 原始值, 再根据稳定状态采样的原始值计算得到触摸屏相邻采样点采样的原始 值之间的比例值, 备份该比例值, 作为基准更新的参考量, 使得触摸控制芯片 在实际检测时, 能够快速准确地获取到正确的基准值。 该比例值为放大一设定 倍数的相邻采样点采样的原始值之间的比值。 本实施例中比例值备份存储于触 摸控制芯片的 Flash Memory中。 In this step, when the touch screen is in a steady state, each sampling point is sampled, and the original value of the steady state sampling is obtained, and then the ratio between the original values of the adjacent sampling points of the touch screen is calculated according to the original value of the stable state sampling, and the ratio is backed up. The proportional value, as a reference quantity for the reference update, enables the touch control chip to quickly and accurately obtain the correct reference value when actually detecting. The ratio is the ratio between the original values of adjacent sample points sampled by a set multiple. In this embodiment, the scale value backup is stored in the Flash Memory of the touch control chip.
下面举例进行说明。 若电容触摸屏在稳定状态时采样的原始值如下表所示, 其中第一行为采样点编号, 第二行为每个采样点的原始值: The following examples are given. If the capacitive touch screen is in the steady state, the original values sampled are as shown in the following table, where the first behavior is the sampling point number, and the second behavior is the original value of each sampling point:
稳定状态采样的原始值 Raw value of steady state sampling
编号 so SI S2 S3 S4 S5 S6 S7 S8 S9 原始值 2100 2050 1900 1950 2010 2200 1920 2010 2300 2100 此时触摸控制芯片在 Flash Memory中备份参考基准, 将稳定状态时触摸屏 相邻采样点采样的原始值之间的比例值存储在 Flash Memory 中, 由于 MCU (Micro Control Unit, 微控制单元)难以处理小数, 需将求比值的结果放大一设 定倍数, 以得到一个整数, 该设定的放大倍数可根据实际情况调整, 例如但不 限于将求比值的结果放大 S[0]倍, 即备份比例值 back_diff[i]= (S[i+l]/S[i])*S[0], 其中 back_diff[i]简写为 B[i], 如下表所示:No. so SI S2 S3 S4 S5 S6 S7 S8 S9 The original value is 2100 2050 1900 1950 2010 2200 1920 2010 2300 2100 At this time, the touch control chip backs up the reference datum in the Flash Memory, and stores the scale value between the original values sampled by the adjacent sampling points of the touch screen in the steady state in the Flash Memory, because The MCU (Micro Control Unit) is difficult to process the decimal. The result of the ratio is enlarged by a set multiple to obtain an integer. The magnification of the setting can be adjusted according to the actual situation, such as but not limited to the ratio. The result is magnified S[0] times, that is, the backup scale value back_diff[i]=(S[i+l]/S[i])*S[0], where back_diff[i] is abbreviated as B[i], as follows The table shows:
该备份的建立有两种方式, 一种是在触摸屏出厂前, 工厂在确保屏上没有 触摸且处于稳定状态时, 把当前的基准值做差, 得到 back_diff[i], 另一种是出 厂时不进行校准, 在产品使用过程中通过软件的自动学习得到, 该方式相比第 一种方式较为复杂。 There are two ways to establish this backup. One is that before the touch screen is shipped from the factory, the factory makes the current reference value worse when it is not touched and stable in the screen, and gets back_diff[i], and the other is shipped. Without calibration, it is obtained through automatic learning of the software during the use of the product, which is more complicated than the first method.
步骤 S202: 上电采样, 建立基准, 计算得到上电时相邻采样点的比例值。 本步骤中, 当触摸屏上电后, 对各采样点采样, 得到上电采样的原始值, 将上电采样的原始值作为基准值以建立基准, 并根据上电采样的原始值计算得 到触摸屏相邻采样点采样的原始值之间的比例值。 Step S202: Power-on sampling, establish a reference, and calculate a ratio of adjacent sampling points at power-on. In this step, after the touch screen is powered on, each sampling point is sampled, the original value of the power-on sampling is obtained, the original value of the power-on sampling is used as a reference value to establish a reference, and the touch screen phase is calculated according to the original value of the power-on sampling. The ratio between the original values of the adjacent sample points.
若系统在上电之前屏上有水, 且上电时第一次采样的原始值如下表所示, 那么上电后将获取到错误的基准: If the system has water on the screen before power-on, and the original value of the first sampling at power-on is as shown in the following table, the wrong reference will be obtained after power-on:
上电时采样的原始值 Original value sampled at power-on
此时作为基准的相邻采样点采样的原始值之间的比例值如下表 (已经放 上电时采样的比例值 At this time, the ratio between the original values of the adjacent sample points sampled as the reference is as follows (already placed Proportional value sampled at power-on
步骤 S203 : 将上电时的比例值与备份比例值做差并取绝对值, 找出绝对值 中的最大值。 Step S203: The difference between the proportional value at the time of power-on and the backup ratio value is taken and the absolute value is taken to find the maximum value in the absolute value.
本实施例通过比对上电当前基准相邻采样点的比例值与 Flash Memory中的 备份比例值之间的相似程度, 来判定当前的基准是否正确。 具体是通过将两者 做差并取绝对值的方式来比对其相似程度。 本步骤中, 将表 8 中上电时采样的 比例值与表 6 Flash Memory中的备份比例值做差并取其绝对值, 找出绝对值中 的最大值。 In this embodiment, it is determined whether the current reference is correct by comparing the degree of similarity between the ratio of the current reference adjacent sampling point of the power-on and the backup ratio value in the Flash Memory. Specifically, the degree of similarity is compared by making the difference between the two and taking the absolute value. In this step, the ratio of the sampled value at power-on in Table 8 is compared with the backup ratio value in Table 6 Flash Memory and the absolute value is taken to find the maximum value in the absolute value.
步骤 S204: 判断该最大值是否大于第一阈值, 若是, 执行步骤 S205, 否则, 说明基准正确, 结束此次流程, 按正常的触摸工作流程进行。 Step S204: It is determined whether the maximum value is greater than the first threshold. If yes, step S205 is performed. Otherwise, the reference is correct, and the process ends, and the normal touch workflow is performed.
本步骤中, 通过比较最大值与设定的一阈值来判定当前的基准是否已经正 确。 其中, 第一阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 In this step, it is determined whether the current reference has been determined by comparing the maximum value with a set threshold. The first threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set.
步骤 S205 : 当前基准不正确。 Step S205: The current reference is incorrect.
最大值大于第一阈值, 说明此时当前的基准不正确。 The maximum value is greater than the first threshold, indicating that the current baseline is incorrect at this time.
步骤 S206:判断是否有触摸, 若是,执行步骤 S207, 否则,执行步骤 S208。 当前基准不正确时, 继续判断触摸屏上是否有触摸。 具体可通过如下方法 进行判断: Step S206: It is judged whether there is a touch, and if so, step S207 is performed, otherwise, step S208 is performed. When the current reference is incorrect, continue to determine if there is a touch on the touch screen. Specifically, it can be judged by the following methods:
对各采样点采样, 得到当前采样的原始值, 用当前基准值减去当前采样的 原始值得到差值; Sampling each sampling point, obtaining the original value of the current sampling, and subtracting the original value of the current sampling from the current reference value to obtain a difference;
判断该差值是否小于设定的第二阈值; Determining whether the difference is less than a set second threshold;
若该差值小于设定的第二阈值, 则判定为无触摸, 否则, 判定为有触摸。 其中, 第二阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 步骤 S207 : 实时监控当前采样的原始值的变化, 在当前采样的原始值符合 基准更新条件时更新基准。 If the difference is less than the set second threshold, it is determined that there is no touch, otherwise, it is determined that there is a touch. The second threshold is set according to the actual debugging result in the design process, and can be no longer changed after being set. Step S207: The change of the original value of the current sample is monitored in real time, and the reference is updated when the original value of the current sample meets the reference update condition.
触摸屏有触摸时, 需要实时监控当前采样的原始值的变化, 在当前采样的 原始值符合基准更新条件时, 说明当前的原始值更适合用来做基准参考量, 需 要马上更新基准, 把之前错误的基准替代掉。 基准更新条件可根据实际情况设 定, 不限于一种, 例如可通过计算当前特征值、 基准特征值分别与备份特征值 之间的差值, 如果当前特征值与备份特征值的差值比基准特征值与备份特征值 的差值小, 且这两个差值之间的变化量超过一设定值时, 则认为当前采样的原 始值符合基准更新条件, 更适合于做基准, 此时可更新基准。 具体方法如图 5 所示: When the touch screen has a touch, it is necessary to monitor the change of the original value of the current sample in real time. When the original value of the current sample meets the reference update condition, it indicates that the current original value is more suitable for the reference reference quantity, and the reference needs to be updated immediately. The benchmark is replaced. The reference update condition may be set according to actual conditions, and is not limited to one type. For example, the difference between the current feature value and the reference feature value and the backup feature value may be calculated, and if the difference between the current feature value and the backup feature value is greater than the reference If the difference between the eigenvalue and the backup eigenvalue is small, and the amount of change between the two differences exceeds a set value, the original value of the current sample is considered to be in accordance with the reference update condition, and is more suitable for the reference. Update the benchmark. The specific method is shown in Figure 5:
步骤 A201 : 判断是否基准不正确且有触摸, 若是, 执行步骤 A202, 否则, 结束此次流程, 按正常的触摸工作流程进行。 Step A201: Determine whether the reference is incorrect and touched. If yes, go to step A202. Otherwise, end the process and follow the normal touch workflow.
步骤 A202: 采样, 计算得到当前相邻采样点的比例值和根据基准值计算得 到基准比例值。 Step A202: Sampling, calculating a proportional value of the current adjacent sampling point and calculating a reference proportional value according to the reference value.
本步骤对各采样点采样, 得到当前采样的原始值, 根据当前采样的原始值 计算得到当前触摸屏相邻采样点采样的原始值之间的比例值, 即 prop_cur[i]=rawdata[i+l]/rawdata[i]*rawdata[0] ; 并根据基准值计算得到触摸屏相 邻采样点采样的基准值之间的比例值, 即 prop_ref[i]=refdata[i+l]/refdata[i]* refdata[0]。 In this step, each sampling point is sampled, and the original value of the current sampling is obtained, and the ratio between the original values of the adjacent sampling points of the current touch screen is calculated according to the original value of the current sampling, that is, prop_cur[i]=rawdata[i+l ]/rawdata[i]*rawdata[0] ; and calculate the ratio between the reference values of the adjacent sampling points of the touch screen according to the reference value, ie prop_ref[i]=refdata[i+l]/refdata[i] * refdata[0].
步骤 A203 : 将当前的比例值、 基准比例值分别与备份比例值做差并取绝对 值。 Step A203: The current scale value and the reference scale value are respectively compared with the backup scale value and take an absolute value.
将当前触摸屏相邻采样点采样的原始值之间的比例值与备份比例值做差并 取绝对值, 即 diff_c[i]=Abs(prop_cur[i]-back_prop[i]); 并将触摸屏相邻采样点采 样的基准值之间的比例值与备份比例值做差并取绝对值, 即 diff_r[i]= Abs(prop_ref [i] -back_prop [i] )。 The difference between the original value of the sampling of the adjacent sampling points of the current touch screen is compared with the backup ratio value and takes an absolute value, that is, diff_c[i]=Abs(prop_cur[i]-back_prop[i]) ; and the touch screen phase The ratio between the reference values of the adjacent sample points is compared with the backup ratio value and takes the absolute value, that is, diff_r[i]=Abs(prop_ref [i] -back_prop [i] ).
步骤 A204: 分别找出两组绝对值中的最大值。 Step A204: Find the maximum of the two sets of absolute values, respectively.
本步骤分别统计出两组差值绝对值中的最大值, 其中 diff_c[i]中的最大值为 第一最大值 diff_cmax, diff_r[i]中的最大值为第二最大值 diff_rmax。 步骤 A205 : 判断第一最大值是否小于第二最大值, 若是, 执行步骤 A206, 否则, 返回执行步骤 A202。 This step separately counts the maximum of the absolute values of the two sets of differences, where the maximum value in diff_c[i] is The maximum value of the first maximum value diff_cmax, diff_r[i] is the second maximum value diff_rmax. Step A205: Determine whether the first maximum value is smaller than the second maximum value, and if yes, execute step A206, otherwise, return to step A202.
本步骤中, 当第一最大值 diff_cmax小于第二最大值 diff_rmax时, 说明当 前的原始值已经逐步接近备份值; 否则, 说明此时的采样原始值并没有变好, 需要重新采样。 In this step, when the first maximum value diff_cmax is smaller than the second maximum value diff_rmax, it indicates that the current original value has gradually approached the backup value; otherwise, it indicates that the original sample value at this time does not get better and needs to be resampled.
步骤 A206: 判断第二最大值与第一最大值的差值的绝对值是否大于第三阈 值, 若是, 执行步骤 A207, 否则, 返回执行步骤 A202。 Step A206: Determine whether the absolute value of the difference between the second maximum value and the first maximum value is greater than the third threshold. If yes, go to step A207, otherwise, go back to step A202.
本步骤中, 通过进一步比较第二最大值 diff_rmax与第一最大值 diff_cmax 的差值的绝对值与设定的一阈值来判定当前采样的原始值是否符合基准更新条 件。 其中, 第三阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 若第二最大值 diff_rmax与第一最大值 diff_cmax的差值并没有超过 第三阈值, 说明此时的采样原始值不符合基准更新条件, 需要重新采样。 In this step, it is determined whether the original value of the current sample conforms to the reference update condition by further comparing the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax with a set threshold value. The third threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set. If the difference between the second maximum value diff_rmax and the first maximum value diff_cmax does not exceed the third threshold value, it indicates that the sample original value at this time does not meet the reference update condition and needs to be resampled.
步骤 A207: 有误报点, 强制更新一次基准。 Step A207: There is a false positive point, and the baseline is forced to be updated.
当第二最大值 diff_rmax与第一最大值 diff_cmax的差值的绝对值大于设定 的第三阈值时, 说明当前值为没有触摸状态的原始值, 当前的触摸为误报点, 此时不执行触摸操作, 并需要强制更新一次基准, 从而消除误报点并恢复正确 的基准。 When the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax is greater than the set third threshold value, the current value is the original value without the touch state, and the current touch is a false alarm point, and is not executed at this time. Touch the action and force a baseline update to eliminate false positives and restore the correct baseline.
步骤 S208 : 定时更新基准。 Step S208: The reference is updated periodically.
若无触摸, 每经过预定的时间间隔, 将当前采样的原始值替换当前基准值 以更新基准。 If there is no touch, the original reference value of the current sample is replaced with the current reference value to update the reference every predetermined time interval.
本实施例通过备份稳定状态时触摸屏相邻采样点采样的原始值之间的比例 值, 将上电时以及上电后各采样点采样的原始值之间的比例值与备份的比例值 进行比对, 判断基准的正确性, 使得触摸控制芯片在实际检测时, 能够快速准 确地获取到正确的基准值, 从而正确地更新基准。 In this embodiment, by comparing the ratio between the original values sampled by the adjacent sampling points of the touch screen in the steady state, the ratio between the original values of the samples sampled at the time of power-on and after power-on is compared with the ratio of the backup. Therefore, judging the correctness of the reference enables the touch control chip to quickly and accurately acquire the correct reference value during the actual detection, thereby correctly updating the reference.
实施例 3: Example 3:
本实施例中, 特征值为触摸屏各采样点采样的原始值。 请参阅图 6所示, 为本发明实施例 3触摸屏的基准更新方法的流程图。 该方法包括如下步骤: 步骤 S301 : 稳定状态采样, 得到稳定状态时各采样点采样的原始值并备份。 本步骤中, 触摸屏处于稳定状态时对各采样点采样, 得到稳定状态各采样 点采样的原始值, 备份该原始值, 作为基准更新的参考量, 使得触摸控制芯片 在实际检测时, 能够快速准确地获取到正确的基准值。 本实施例中原始值备份 存储于触摸控制芯片的 Flash Memory中。 本实施例无需进行复杂计算, 直接以 采样的原始值作为备份特征值。 In this embodiment, the feature value is the original value sampled by each sampling point of the touch screen. Please refer to Figure 6, A flowchart of a method for updating a reference of a touch screen according to Embodiment 3 of the present invention. The method includes the following steps: Step S301: Stable state sampling, and obtaining the original values sampled by each sampling point in the steady state and backing up. In this step, when the touch screen is in a steady state, each sampling point is sampled, and the original value of each sampling point sample in a steady state is obtained, and the original value is backed up as a reference quantity of the reference update, so that the touch control chip can be quickly and accurately detected in actual detection. Get the correct reference value. In this embodiment, the original value is backed up and stored in the Flash Memory of the touch control chip. In this embodiment, the original value of the sample is directly used as the backup feature value without performing complicated calculation.
下面举例进行说明。 若电容触摸屏在稳定状态时采样的原始值如下表所示, 其中第一行为采样点编号, 第二行为每个采样点的原始值: The following examples are given. If the capacitive touch screen is in the steady state, the original values sampled are as shown in the following table, where the first behavior is the sampling point number, and the second behavior is the original value of each sampling point:
稳定状态采样的原始值 Raw value of steady state sampling
此时触摸控制芯片在 Flash Memory中备份参考基准, 将稳定状态时触摸屏 相邻采样点采样的原始值存储在 Flash Memory 中, 即备份原始值 back_diff[i]=S[i], 其中 back_diff[i]简写为 B[i], 如下表所示: At this time, the touch control chip backs up the reference reference in the Flash Memory, and stores the original value sampled by the adjacent sampling points of the touch screen in the steady state in the Flash Memory, that is, the backup original value back_diff[i]=S[i], where back_diff[i ] abbreviated as B[i], as shown in the following table:
表 10 备份原始值 Table 10 Backup original values
该备份的建立有两种方式, 一种是在触摸屏出厂前, 工厂在确保屏上没有 触摸且处于稳定状态时, 把当前的基准值做差, 得到 back_diff[i], 另一种是出 厂时不进行校准, 在产品使用过程中通过软件的自动学习得到, 该方式相比第 一种方式较为复杂。 There are two ways to establish this backup. One is that before the touch screen is shipped from the factory, the factory makes the current reference value worse when it is not touched and stable in the screen, and gets back_diff[i], and the other is shipped. Without calibration, it is obtained through automatic learning of the software during the use of the product, which is more complicated than the first method.
步骤 S302: 上电采样, 得到上电时各采样点采样的原始值, 建立基准。 本步骤中, 当触摸屏上电后, 对各采样点采样, 得到上电采样的原始值, 将上电采样的原始值作为基准值以建立基准。 若系统在上电之前屏上有水, 且上电时第一次采样的原始值如下表所 那么上电后将获取到错误的基准: Step S302: Power-on sampling, and obtain the original value sampled by each sampling point at the time of power-on, and establish a reference. In this step, after the touch screen is powered on, each sampling point is sampled, and the original value of the power-on sampling is obtained, and the original value of the power-on sampling is used as a reference value to establish a reference. If the system has water on the screen before power-on, and the original value of the first sampling at power-on is as shown in the following table, the wrong reference will be obtained after power-on:
表 11 上电时采样的原始值 Table 11 Raw values sampled at power-on
步骤 S303 : 将上电时的原始值与备份原始值做差并取绝对值, 找出绝对值 中的最大值。 Step S303: The difference between the original value at the time of power-on and the original value of the backup is taken and the absolute value is taken to find the maximum value in the absolute value.
本实施例通过比对上电当前基准各采样点的原始值与 Flash Memory中的备 份原始值之间的相似程度, 来判定当前的基准是否正确。 具体是通过将两者做 差并取绝对值的方式来比对其相似程度。 本步骤中, 将表 11中上电时采样的原 始值与表 10 Flash Memory中的备份原始值做差并取其绝对值,找出绝对值中的 最大值, 如下表所示: In this embodiment, it is determined whether the current reference is correct by comparing the similarity between the original value of each sampling point of the current reference and the original value of the backup in the Flash Memory. Specifically, the degree of similarity is compared by making the difference between the two and taking the absolute value. In this step, the original value sampled at power-on in Table 11 is compared with the original value of the backup in Table 10 Flash Memory and its absolute value is taken to find the maximum value in the absolute value, as shown in the following table:
步骤 S304: 判断该最大值是否大于第一阈值, 若是, 执行步骤 S305 , 否则, 说明基准正确, 结束此次流程, 按正常的触摸工作流程进行。 Step S304: Determine whether the maximum value is greater than the first threshold. If yes, execute step S305. Otherwise, the reference is correct, and the process ends, and the normal touch workflow is performed.
本步骤中, 通过比较最大值与设定的一阈值来判定当前的基准是否已经正 确。 其中, 第一阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 In this step, it is determined whether the current reference has been determined by comparing the maximum value with a set threshold. The first threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set.
步骤 S305 : 当前基准不正确。 Step S305: The current reference is incorrect.
最大值大于第一阈值, 说明此时当前的基准不正确。 The maximum value is greater than the first threshold, indicating that the current baseline is incorrect at this time.
步骤 S306: 判断是否有触摸, 若是,执行步骤 S307, 否则,执行步骤 S308。 当前基准不正确时, 继续判断触摸屏上是否有触摸。 具体可通过如下方法 进行判断: Step S306: It is judged whether there is a touch, and if so, step S307 is performed, otherwise, step S308 is performed. When the current reference is incorrect, continue to determine if there is a touch on the touch screen. Specifically, it can be judged by the following methods:
对各采样点采样, 得到当前采样的原始值, 用当前基准值减去当前采样的 原始值得到差值; Sampling each sample point, obtaining the original value of the current sample, subtracting the current sample from the current reference value The original value gets the difference;
判断该差值是否小于设定的第二阈值; Determining whether the difference is less than a set second threshold;
若该差值小于设定的第二阈值, 则判定为无触摸, 否则, 判定为有触摸。 其中, 第二阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 If the difference is less than the set second threshold, it is determined that there is no touch, otherwise, it is determined that there is a touch. The second threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set.
步骤 S307 : 实时监控当前采样的原始值的变化, 在当前采样的原始值符合 基准更新条件时更新基准。 Step S307: The change of the original value of the current sample is monitored in real time, and the reference is updated when the original value of the current sample meets the baseline update condition.
触摸屏有触摸时, 需要实时监控当前采样的原始值的变化, 在当前采样的 原始值符合基准更新条件时, 说明当前的原始值更适合用来做基准参考量, 需 要马上更新基准, 把之前错误的基准替代掉。 基准更新条件可根据实际情况设 定, 不限于一种, 例如可通过计算当前采样的原始值、 基准值分别与备份原始 值之间的差值, 如果当前采样的原始值与备份原始值的差值比基准值与备份原 始值的差值小, 且这两个差值之间的变化量超过一设定值时, 则认为当前采样 的原始值符合基准更新条件, 更适合于做基准, 此时可更新基准。 具体方法如 图 7所示: When the touch screen has a touch, it is necessary to monitor the change of the original value of the current sample in real time. When the original value of the current sample meets the reference update condition, it indicates that the current original value is more suitable for the reference reference quantity, and the reference needs to be updated immediately. The benchmark is replaced. The reference update condition can be set according to the actual situation, and is not limited to one type, for example, by calculating the difference between the original value of the current sample and the reference value and the original value of the backup, if the difference between the original value of the current sample and the original value of the backup If the value is smaller than the difference between the reference value and the original value of the backup, and the amount of change between the two differences exceeds a set value, the original value of the current sample is considered to be in accordance with the reference update condition, and is more suitable as a reference. The baseline can be updated. The specific method is shown in Figure 7:
步骤 A301 : 判断是否基准不正确且有触摸, 若是, 执行步骤 A302, 否则, 结束此次流程, 按正常的触摸工作流程进行。 Step A301: Determine whether the reference is incorrect and touched. If yes, go to step A302. Otherwise, end the process and follow the normal touch workflow.
步骤 A302: 采样, 得到当前各采样点的原始值。 Step A302: Sampling, and obtaining the original value of each current sampling point.
本步骤对各采样点采样, 得到当前各采样点的原始值 rawdata[i]。 In this step, each sampling point is sampled, and the original value rawdata[i] of each sampling point is obtained.
步骤 A303 : 将当前的原始值、 基准值分别与备份原始值做差并取绝对值。 将当前触摸屏各采样点采样的原始值与备份原始值做差并取绝对值, 即 diff_c[i]=Abs(rawdata[i]-back_base[i]);并将触摸屏各采样点的基准值与备份原始 值做差并取绝对值, 即 diff_r[i]=Abs(refdata[i]-back_diff[i])。 Step A303: The current original value and the reference value are respectively compared with the original backup value and the absolute value is taken. The original value of each sampling point of the current touch screen is compared with the original value of the backup and takes an absolute value, that is, diff_c[i]=Abs(rawdata[i]-back_base[i]) ; and the reference value of each sampling point of the touch screen is Back up the original value and make the difference and take the absolute value, ie diff_r[i]=Abs(refdata[i]-back_diff[i]).
步骤 A304: 分别找出两组绝对值中的最大值。 Step A304: Find the maximum of the two sets of absolute values, respectively.
本步骤分别统计出两组差值绝对值中的最大值, 其中 diff_c[i]中的最大值为 第一最大值 diff_cmax, diff_r[i]中的最大值为第二最大值 diff_rmax。 This step separately calculates the maximum value of the absolute values of the two sets of differences, wherein the maximum value in diff_c[i] is the first maximum value diff_cmax, and the maximum value in diff_r[i] is the second maximum value diff_rmax.
步骤 A305 : 判断第一最大值是否小于第二最大值, 若是, 执行步骤 A306, 否则, 返回执行步骤 A302。 Step A305: determining whether the first maximum value is smaller than the second maximum value, and if yes, performing step A306. Otherwise, return to step A302.
本步骤中, 当第一最大值 diff_cmax小于第二最大值 diff_rmax时, 说明当 前的原始值已经逐步接近备份值; 否则, 说明此时的采样原始值并没有变好, 需要重新采样。 In this step, when the first maximum value diff_cmax is smaller than the second maximum value diff_rmax, it indicates that the current original value has gradually approached the backup value; otherwise, it indicates that the original sample value at this time does not get better and needs to be resampled.
步骤 A306: 判断第二最大值与第一最大值的差值的绝对值是否大于第三阈 值, 若是, 执行步骤 A307, 否则, 返回执行步骤 A302。 Step A306: Determine whether the absolute value of the difference between the second maximum value and the first maximum value is greater than a third threshold. If yes, go to step A307, otherwise, go back to step A302.
本步骤中, 通过进一步比较第二最大值 diff_rmax与第一最大值 diff_cmax 的差值的绝对值与设定的一阈值来判定当前采样的原始值是否符合基准更新条 件。 其中, 第三阈值在设计过程中根据实际调试的结果进行设定, 设定好后可 不再更改。 若第二最大值 diff_rmax与第一最大值 diff_cmax的差值并没有超过 第三阈值, 说明此时的采样原始值不符合基准更新条件, 需要重新采样。 In this step, it is determined whether the original value of the current sample conforms to the reference update condition by further comparing the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax with a set threshold value. The third threshold is set according to the actual debugging result during the design process, and can be no longer changed after being set. If the difference between the second maximum value diff_rmax and the first maximum value diff_cmax does not exceed the third threshold value, it indicates that the sample original value at this time does not meet the reference update condition and needs to be resampled.
步骤 A307: 有误报点, 强制更新一次基准。 Step A307: There is a false positive point, and the baseline is forced to be updated.
当第二最大值 diff_rmax与第一最大值 diff_cmax的差值的绝对值大于设定 的第三阈值时, 说明当前值为没有触摸状态的原始值, 当前的触摸为误报点, 此时不执行触摸操作, 并需要强制更新一次基准, 从而消除误报点并恢复正确 的基准。 步骤 S308: 定时更新基准。 When the absolute value of the difference between the second maximum value diff_rmax and the first maximum value diff_cmax is greater than the set third threshold value, the current value is the original value without the touch state, and the current touch is a false alarm point, and is not executed at this time. Touch the action and force a baseline update to eliminate false positives and restore the correct baseline. Step S308: The reference is updated periodically.
若无触摸, 每经过预定的时间间隔, 将当前采样的原始值替换当前基准值 以更新基准。 If there is no touch, the original reference value of the current sample is replaced with the current reference value to update the reference every predetermined time interval.
本实施例通过备份稳定状态时触摸屏各采样点采样的原始值, 将上电时以 及上电后各采样点采样的原始值与备份的原始值进行比对, 判断基准的正确性, 使得触摸控制芯片在实际检测时, 能够快速准确地获取到正确的基准值, 从而 正确地更新基准。 In this embodiment, by comparing the original values sampled by the sampling points of the touch screen during the steady state, the original values of the sampling points at the time of power-on and after power-on are compared with the original values of the backup, and the correctness of the reference is judged, so that the touch control is performed. When the chip is actually detected, it can quickly and accurately obtain the correct reference value, so as to correctly update the reference.
实施例 4: Example 4:
本实施例提供了一种触摸屏的基准更新系统, 如图 8所示, 该系统包括: 采样单元 1、 计算单元 2、 备份单元 3、 基准值建立单元 4、 判断单元 5、 基准值 更新单元 6和监控单元 7。其中, 采样单元 1用于对各采样点采样, 得到采样的 原始值; 计算单元 2用于根据稳定状态采样的原始值计算得到触摸屏各采样点 的特征值, 根据触摸屏上电时以及上电后各时间点采样的原始值计算得到触摸 屏各采样点的当前特征值, 以及将当前特征值与备份特征值做差并取绝对值, 找出绝对值中的最大值; 备份单元 3 用于备份稳定状态时的特征值, 得到备份 特征值; 基准值建立单元 4用于将触摸屏上电时采样的原始值作为基准值以建 立基准; 判断单元 5 用于判断根据触摸屏上电时的采样计算得到的最大值是否 大于设定的第一阈值, 若最大值大于设定的第一阈值, 则判定当前基准不正确, 以及在当前基准不正确时判断触摸屏上是否有触摸; 基准值更新单元 6用于在 当前基准不正确且触摸屏上无触摸时, 定时更新基准, 以及在当前基准不正确、 触摸屏上有触摸且当前采样的原始值符合基准更新条件时更新基准;监控单元 7 用于在当前基准不正确且触摸屏上有触摸时, 实时监控当前采样的原始值的变 化。 This embodiment provides a reference update system for a touch screen. As shown in FIG. 8, the system includes: a sampling unit 1, a computing unit 2, a backup unit 3, a reference value establishing unit 4, a determining unit 5, and a reference value updating unit 6. And monitoring unit 7. The sampling unit 1 is configured to sample each sampling point to obtain the original value of the sampling; the calculating unit 2 is configured to calculate the sampling points of the touch screen according to the original value of the stable state sampling. The eigenvalue is calculated according to the original value of the sampling time at the time of powering on the touch screen and at each time point after power-on, and the current feature value is compared with the backup feature value and the absolute value is taken to find the absolute value. The maximum value of the value; the backup unit 3 is used to back up the feature value in the steady state, and the backup feature value is obtained; the reference value establishing unit 4 is configured to use the original value sampled when the touch screen is powered on as a reference value to establish a reference; And determining whether the maximum value calculated according to the sampling when the touch screen is powered on is greater than a set first threshold, and if the maximum value is greater than the set first threshold, determining that the current reference is incorrect, and determining that the current reference is incorrect Whether there is a touch on the touch screen; the reference value updating unit 6 is configured to periodically update the reference when the current reference is incorrect and there is no touch on the touch screen, and the current reference is incorrect, the touch screen has a touch, and the current sampled original value meets the reference update condition. Time update reference; monitoring unit 7 is used when the current reference is incorrect and there is a touch on the touch screen Monitor changes in the current value of the original sample.
本实施例中, 计算单元 2还用于用当前基准值减去当前采样的原始值得到 差值, 差值用于判断触摸屏上是否有触摸。 判断单元 5 通过判断差值是否小于 设定的第二阈值来判断触摸屏上是否有触摸, 若差值小于设定的第二阈值, 则 判定为无触摸, 否则, 判定为有触摸。 In this embodiment, the calculating unit 2 is further configured to subtract the original value of the current sample from the current reference value to obtain a difference, and the difference is used to determine whether there is a touch on the touch screen. The judging unit 5 judges whether there is a touch on the touch screen by judging whether the difference is smaller than the set second threshold, and if the difference is smaller than the set second threshold, it is determined that there is no touch, otherwise, it is determined that there is a touch.
计算单元 2还用于将基准特征值与备份特征值做差并取绝对值, 找出所述 绝对值中的最大值。 判断单元 5 还用于在当前特征值与备份特征值做差的绝对 值中的最大值小于基准特征值与备份特征值做差的绝对值中的最大值时, 判断 所述两个最大值的差值的绝对值是否大于设定的第三阈值, 若所述差值的绝对 值大于设定的第三阈值, 则将当前采样的原始值替换当前基准值以更新基准, 并判定当前的触摸为误报点, 不执行触摸操作。 The calculation unit 2 is further configured to compare the reference feature value with the backup feature value and take an absolute value to find the maximum value among the absolute values. The determining unit 5 is further configured to determine, when the maximum value of the absolute values of the differences between the current feature value and the backup feature value is less than the maximum value of the absolute values of the difference between the reference feature value and the backup feature value, Whether the absolute value of the difference is greater than the set third threshold, if the absolute value of the difference is greater than the set third threshold, replacing the current sampled original value with the current reference value to update the reference, and determining the current touch For false alarm points, no touch operation is performed.
特征值可以是触摸屏相邻采样点采样的原始值之间的差分值、 触摸屏相邻 采样点采样的原始值之间的比例值或者触摸屏各采样点采样的原始值。 当特征 值为触摸屏相邻采样点采样的原始值之间的比例值时, 比例值为放大一设定倍 数的相邻采样点采样的原始值之间的比值。 The feature value may be a difference value between the original values of the adjacent sampling point samples of the touch screen, a ratio between the original values of the adjacent sampling points of the touch screen, or an original value sampled by each sampling point of the touch screen. When the feature value is a proportional value between the original values sampled by adjacent sampling points of the touch screen, the scale value is a ratio between the original values of adjacent sample points sampled by a set multiple.
差分值可以备份存储于触摸控制芯片的非易失性存储器中, 例如 Flash Memory、 PROM、 EAROM、 EPROM或 EEPROM等, 本实施例中差分值备份 存储于触摸控制芯片的 Flash Memory中。 The differential value can be backed up in a non-volatile memory of the touch control chip, such as Flash Memory, PROM, EAROM, EPROM or EEPROM, etc., in this embodiment, the differential value backup Stored in the Flash Memory of the touch control chip.
本实施例通过备份触摸屏的稳定状态时的特征值, 将采样值与备份特征值 进行比对, 判断基准的正确性, 使得触摸控制芯片在实际检测时, 能够快速准 确地获取到正确的基准值, 从而正确地更新基准。 In this embodiment, by comparing the feature values in the steady state of the touch screen, the sampled values are compared with the backup feature values to determine the correctness of the reference, so that the touch control chip can quickly and accurately obtain the correct reference value during actual detection. , thus correctly updating the benchmark.
实施例 5: Example 5
本实施例提供了一种触控终端, 该触控终端包括实施例 4提供的触摸屏的 基准更新系统。 The embodiment provides a touch terminal, and the touch terminal includes a reference update system of the touch screen provided in Embodiment 4.
本实施例通过备份触摸屏的稳定状态时的特征值, 将采样值与备份特征值 进行比对, 判断基准的正确性, 使得触摸控制芯片在实际检测时, 能够快速准 确地获取到正确的基准值, 从而正确地更新基准, 使该触控终端的触摸准确率 高, 用户体验好。 In this embodiment, by comparing the feature values in the steady state of the touch screen, the sampled values are compared with the backup feature values to determine the correctness of the reference, so that the touch control chip can quickly and accurately obtain the correct reference value during actual detection. Therefore, the reference is correctly updated, so that the touch terminal has high touch accuracy and a good user experience.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明 的保护范围之内。 The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210527725.7 | 2012-12-07 | ||
| CN201210527725.7A CN102968217B (en) | 2012-12-07 | 2012-12-07 | The datum renewal method of touch-screen, system and touch control terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014086211A1 true WO2014086211A1 (en) | 2014-06-12 |
Family
ID=47798390
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/085830 Ceased WO2014086211A1 (en) | 2012-12-07 | 2013-10-23 | Method, system, and touch terminal for updating standard of touch screen |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102968217B (en) |
| WO (1) | WO2014086211A1 (en) |
Families Citing this family (33)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102968217B (en) * | 2012-12-07 | 2016-01-20 | 深圳市汇顶科技股份有限公司 | The datum renewal method of touch-screen, system and touch control terminal |
| CN104252399A (en) * | 2013-06-27 | 2014-12-31 | 中兴通讯股份有限公司 | Calibration processing method and device of touch screen, touch screen and terminal |
| TWI497374B (en) * | 2013-09-04 | 2015-08-21 | Ili Technology Corp | Baseline calibration for touch panel and system thereof |
| CN104423753B (en) * | 2013-09-10 | 2017-07-04 | 深圳市启望科文技术有限公司 | A kind of capacitance touch detection method, device and mobile terminal |
| TWI529578B (en) * | 2013-12-27 | 2016-04-11 | Egalax Empia Technology Inc | Touch device and its touch judgment method |
| CN105511655B (en) * | 2014-09-26 | 2018-08-07 | 宸鸿科技(厦门)有限公司 | Touch panel and its method for detecting |
| CN104808957B (en) * | 2015-03-31 | 2018-11-20 | 长治市华光光电科技集团有限公司 | The intelligent adjusting method of touch-control all-in-one machine screen intensity |
| CN105068688B (en) * | 2015-08-12 | 2018-09-18 | Tcl移动通信科技(宁波)有限公司 | A kind of the report point methods and its device of touch screen |
| CN106980402B (en) * | 2016-01-18 | 2022-01-07 | 中兴通讯股份有限公司 | Method and device for judging reset calibration and terminal |
| TWI604356B (en) * | 2016-09-09 | 2017-11-01 | 意象無限股份有限公司 | Touch system and touch detection method of the same |
| CN106610755B (en) * | 2016-11-02 | 2019-09-20 | 广州视源电子科技股份有限公司 | Method and device for calibrating touch screen |
| CN106605237A (en) * | 2016-11-24 | 2017-04-26 | 深圳市汇顶科技股份有限公司 | Button reference updating method, button reference updating module and terminal equipment |
| EP3432196B1 (en) | 2017-02-13 | 2020-10-21 | Shenzhen Goodix Technology Co., Ltd. | Sensing device and terminal device |
| EP3444747A4 (en) | 2017-06-13 | 2019-08-14 | Shenzhen Goodix Technology Co., Ltd. | OPTICAL BIOLOGICAL RECOGNITION MODULE, DISPLAY DEVICE AND ELECTRONIC EQUIPMENT |
| CN109564481A (en) * | 2017-06-22 | 2019-04-02 | 深圳市汇顶科技股份有限公司 | Method, device, touch screen and electronic terminal for updating current reference value of touch screen |
| WO2019006666A1 (en) * | 2017-07-04 | 2019-01-10 | 深圳市汇顶科技股份有限公司 | Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen |
| WO2019023882A1 (en) * | 2017-07-31 | 2019-02-07 | 深圳市汇顶科技股份有限公司 | Touch detection method and apparatus, touchscreen and electronic terminal |
| WO2019056192A1 (en) | 2017-09-19 | 2019-03-28 | 深圳市汇顶科技股份有限公司 | Method and system for measuring power-on reset time |
| CN108073329B (en) * | 2018-01-31 | 2021-04-27 | 北京集创北方科技股份有限公司 | Touch device, driving method thereof and terminal |
| CN110398682A (en) * | 2018-04-19 | 2019-11-01 | 京东方科技集团股份有限公司 | Touch test device and touch test method |
| CN108694005A (en) * | 2018-06-29 | 2018-10-23 | 上海海栎创微电子有限公司 | A kind of true 2 detection algorithms based on self-capacitance technology |
| CN109164948B (en) * | 2018-09-29 | 2021-07-13 | 维沃移动通信有限公司 | A touch screen electrostatic capacitance supplement device, method and mobile terminal |
| CN111064842B (en) * | 2018-10-16 | 2021-11-19 | 华为技术有限公司 | Method, terminal and storage medium for recognizing special-shaped touch |
| WO2020147105A1 (en) * | 2019-01-18 | 2020-07-23 | 深圳市汇顶科技股份有限公司 | Touch control screen temperature state detection method and apparatus, touch control chip and electronic device |
| CN111078046B (en) | 2019-12-05 | 2022-04-08 | 北京集创北方科技股份有限公司 | Detection method and device and electronic equipment |
| CN113093932B (en) * | 2020-01-08 | 2024-04-09 | 北京小米移动软件有限公司 | A touch detection processing method, device, terminal equipment and storage medium |
| CN111897449B (en) * | 2020-06-19 | 2024-07-26 | 上海美仁半导体有限公司 | Anti-interference processing method, system, chip and household appliance for touch signal |
| CN112273732A (en) * | 2020-11-19 | 2021-01-29 | 嘉兴飞童电子科技有限公司 | ASIC chip of electronic cigarette silicon microphone and processing method of ASIC chip |
| WO2022170590A1 (en) | 2021-02-10 | 2022-08-18 | 深圳市汇顶科技股份有限公司 | Method for determining capacitance reference, apparatus for determining capacitance reference, and device |
| CN112533102B (en) * | 2021-02-10 | 2021-06-18 | 深圳市汇顶科技股份有限公司 | Method for determining capacitance reference, and device and equipment for determining capacitance reference |
| CN114675757B (en) * | 2022-03-25 | 2024-12-27 | 合肥智芯半导体有限公司 | Touch sensing input module and its reference point and threshold updating device |
| CN118276752A (en) * | 2022-12-29 | 2024-07-02 | 华为技术有限公司 | Touch chip and working method thereof, display module, and electronic device |
| CN116540118A (en) * | 2023-03-29 | 2023-08-04 | 深圳市正浩创新科技股份有限公司 | Test method, electronic equipment and energy storage equipment |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101963873A (en) * | 2010-10-08 | 2011-02-02 | 展触光电科技股份有限公司 | Capacitance baseline value setting and calibrating method for capacitance type touch panel |
| CN101976135A (en) * | 2010-07-27 | 2011-02-16 | 苏州瀚瑞微电子有限公司 | Calibrating method of touch screen |
| CN102968217A (en) * | 2012-12-07 | 2013-03-13 | 深圳市汇顶科技股份有限公司 | Reference updating method and system for touch screen as well as touch terminal |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8384678B2 (en) * | 2008-10-20 | 2013-02-26 | Lg Display Co. Ltd. | Touch sensing device and method for correcting output thereof |
-
2012
- 2012-12-07 CN CN201210527725.7A patent/CN102968217B/en active Active
-
2013
- 2013-10-23 WO PCT/CN2013/085830 patent/WO2014086211A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101976135A (en) * | 2010-07-27 | 2011-02-16 | 苏州瀚瑞微电子有限公司 | Calibrating method of touch screen |
| CN101963873A (en) * | 2010-10-08 | 2011-02-02 | 展触光电科技股份有限公司 | Capacitance baseline value setting and calibrating method for capacitance type touch panel |
| CN102968217A (en) * | 2012-12-07 | 2013-03-13 | 深圳市汇顶科技股份有限公司 | Reference updating method and system for touch screen as well as touch terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102968217A (en) | 2013-03-13 |
| CN102968217B (en) | 2016-01-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014086211A1 (en) | Method, system, and touch terminal for updating standard of touch screen | |
| JP5753235B2 (en) | Capacitive touch screen calibration method and capacitive touch device | |
| EP3001653B1 (en) | Method and device for starting debugging port of terminal, and terminal | |
| CN105304064B (en) | Adjust the method and system of electronic equipment screen brightness | |
| CN105487809A (en) | Terminal control method and device | |
| CN108759892B (en) | Sensor calibration method, electronic device, and computer-readable storage medium | |
| WO2018103657A1 (en) | Touch control method and system, mobile terminal, and storage medium | |
| CN103927096A (en) | Mobile terminal touch screen responding method based on levels and system thereof | |
| CN103294583B (en) | A kind of method of control terminal screen and mobile terminal | |
| TWI576731B (en) | Capacitive sensor action in response to proximity sensor data | |
| WO2018000343A1 (en) | Method and device for preventing touch screen edge misoperation | |
| CN113126815A (en) | Key response control method and device, terminal equipment and storage medium | |
| US20160139734A1 (en) | Input device | |
| BR112017003972B1 (en) | TERMINAL AND METHOD | |
| CN109916551B (en) | Brake performance detection method and device and electronic equipment | |
| CN106980402B (en) | Method and device for judging reset calibration and terminal | |
| US9904402B2 (en) | Mobile terminal and method for input control | |
| CN105159555B (en) | A kind of customer equipment controlling method and user equipment | |
| CN104090681B (en) | The method and system of touch-screen stabilization | |
| CN103412091A (en) | PH value measuring method and device | |
| CN113126813B (en) | Correction method and device for key misjudgment, terminal equipment and storage medium | |
| CN105988835B (en) | Method and terminal for software upgrade | |
| TWI681316B (en) | Electronic device and navigation method | |
| CN106851802B (en) | Adjust the method and mobile terminal of the poll rate of dynamic thresholding algorithm | |
| KR102402581B1 (en) | Control Method of Automatic Signal Calibration System |
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: 13860683 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: 13860683 Country of ref document: EP Kind code of ref document: A1 |