CN113220168B - Multi-mode operation method of capacitive touch panel - Google Patents
Multi-mode operation method of capacitive touch panel Download PDFInfo
- Publication number
- CN113220168B CN113220168B CN202010071069.9A CN202010071069A CN113220168B CN 113220168 B CN113220168 B CN 113220168B CN 202010071069 A CN202010071069 A CN 202010071069A CN 113220168 B CN113220168 B CN 113220168B
- Authority
- CN
- China
- Prior art keywords
- touch
- value
- mode
- waterproof
- sensing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000006698 induction Effects 0.000 claims abstract description 11
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 52
- 230000000694 effects Effects 0.000 claims description 23
- 230000002040 relaxant effect Effects 0.000 claims description 3
- 230000003139 buffering effect Effects 0.000 claims description 2
- 238000001914 filtration Methods 0.000 claims description 2
- 230000000087 stabilizing effect Effects 0.000 claims description 2
- 230000006641 stabilisation Effects 0.000 claims 1
- 238000011105 stabilization Methods 0.000 claims 1
- 210000003811 finger Anatomy 0.000 description 15
- 239000000356 contaminant Substances 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000005684 electric field Effects 0.000 description 3
- 239000007788 liquid Substances 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000011109 contamination Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000003344 environmental pollutant Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 231100000719 pollutant Toxicity 0.000 description 1
- 150000003839 salts Chemical class 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
- 238000003911 water pollution Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
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)
- Electronic Switches (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention discloses a multi-mode operation method for a capacitive touch panel and a computing device, wherein the multi-mode operation method for the capacitive touch panel comprises the following steps: taking the mutual capacitance value of the panel at the initial time as a reference value; the mutual capacitance value obtained after the initial step is taken as an original value; comparing the original value with the reference value to obtain an induction value; comparing the current sensing value with the previous sensing value to obtain a first comparison result; a correction step, when the touch cell has an induction value smaller than 0 and the induction value of any one of the other touch cells in the vertical direction and the horizontal direction of the touch cell is larger than the effective touch standard value, obtaining a calculated value according to the induction value of the touch cell and the absolute value of the touch cell, and taking the calculated value as the induction value of the touch cell; and a determining step, selecting a normal mode or a waterproof mode according to the first comparison result and all the lattice sensing values after the correcting step.
Description
Technical Field
The present invention relates to multi-mode operation of capacitive touch panels, and more particularly to waterproof mode operation of capacitive touch panels using mutual scanning.
Background
Capacitive touch panels have been widely used in various types of electronic or computing devices, particularly in mobile phones, tablet computers, notebook computers, and other electronic devices. Capacitive touch panels often face greatly different operating environments, such as water or highly conductive liquids spilled on touch pads, contamination attachment, and the like. To solve these abnormal usage states, U.S. patent No. 8823678 and taiwan patent No. TWI490764 disclose methods for determining the location of water pollution. US8823678 determines and decides whether contaminants are present based on the measured capacitance levels in the dry mode and the wet mode. Taiwan patent TWI490764 compares the scanning signal results of different rows according to a self-contained scanning mode to identify the water position. However, the prior art only identifies areas affected by water but cannot recognize whether the areas are effectively touched.
In addition, the prior art cannot distinguish the situation of being polluted by liquid with high conductivity such as salt water, so that the accuracy of judging the touched point is low.
Therefore, there is a need for capacitive touch panel technology that can reduce false positives in a variety of different modes with high reporting rates.
Disclosure of Invention
In order to provide a technology capable of accurately judging various operation modes and having high reporting rates in various operation modes, the invention provides a multi-mode operation method for a capacitive touch panel, wherein the panel is provided with a plurality of touch cells, an induction value of the touch cells is obtained in a mutual capacitance scanning mode, the method comprises a normal mode and a waterproof mode, and the method is used for determining to enter the waterproof mode according to the following judging conditions: the maximum value of the sensing values of the plurality of touch cells is larger than an upper threshold value, and the minimum value of the sensing values of the plurality of touch cells is smaller than a lower threshold value; the maximum value minus the minimum value in the sensing values of the plurality of touch cells is larger than a first preset value; the total number of the sensing values of the plurality of touch control grids, which is larger than the upper threshold value, is larger than an upper waterproof grid number, and the total number of the sensing values, which is smaller than the lower threshold value, is larger than a lower waterproof grid number; and if the sum of absolute values of the sensing values smaller than the lower threshold is larger than a second preset value, judging that the waterproof mode is entered as long as more than two conditions are met.
Preferably, the sensing values are determined to meet the above condition twice or more, so as to enter the waterproof mode.
According to the present invention, the sensing values are processed as follows before the determination is performed: when the panel is initially, the sensing value of each touch cell mutual capacitance scanning is obtained as a reference value of each touch cell; and then obtaining the sensing value of each touch cell mutual capacitance scanning every time, deducting the sensing value from the reference value of each touch cell, and then executing the waterproof judgment condition.
According to the invention, before the judgment is executed, the plurality of sensing values are corrected, and when the sensing value of the touch cell is smaller than 0, the sensing value of any one of the other touch cells in the vertical direction and the horizontal direction of the touch cell is larger than an effective touch standard value, and the sensing value of any one of the other touch cells in the horizontal direction of the touch cell is larger than the effective touch standard value, a calculated value is obtained according to the sensing value of the touch cell and the absolute value of the touch cell to serve as the sensing value of the touch cell.
According to the present invention, if a touch event is detected, the upper threshold, the lower threshold, the first predetermined value, the upper number of waterproof cases, the lower number of waterproof cases, the second predetermined value or the number of judgment times in the waterproof condition may be increased according to the number of touch events.
According to the present invention, after entering the waterproof mode, a judging anhydrous condition returning to the normal mode is included, the judging anhydrous condition is the same as the standard of the judging waterproof condition, or the values of the upper threshold, the lower threshold, the first predetermined value, the upper waterproof grid number, the lower waterproof grid number or the second predetermined value can be reduced to form a buffering effect.
The invention also provides a multi-mode operation method for the capacitive touch panel, wherein the panel is provided with a plurality of touch cells, a sensing value of the plurality of touch cells is obtained in a mutual capacitance scanning mode, the touch panel comprises a normal mode and a waterproof mode, in the waterproof mode, if a region which is not judged to be touched is considered to be changed due to water, a waterproof reference value is established according to the change of the sensing value, and after the sensing value of each touch cell deducts the waterproof reference value, a touch effect is judged.
In the waterproof mode, a waterproof mode effective touch standard value is set to be larger than a normal mode effective touch standard value in the normal mode, and a surrounding judgment condition is set according to sensing values of upper, lower, left and right adjacent touch cells of the touch cell with the sensing value larger than the waterproof mode effective touch standard value, so as to judge whether the touch cell is effectively touched.
According to the present invention, in the waterproof mode, when the touch event is not determined to occur, the effective touch standard value of the waterproof mode may be increased, or the standard of the surrounding determination condition may be increased, and after the touch event occurs, the original effective touch standard value of the waterproof mode may be returned, or the original standard of the surrounding determination condition may be returned.
According to the present invention, in the waterproof mode, when the total number of the sensing values of the plurality of touch cells greater than an upper threshold is greater than a positive area cell number or the total number of the sensing values of the plurality of touch cells less than a lower threshold is greater than a negative area cell number by a change amount greater than a one-area change cell number, the effective touch standard value of the waterproof mode can be increased, or the standard of the surrounding judgment condition can be increased.
According to the invention, in the waterproof mode, when the occurrence of a touch event is determined, a protection range is set around a touch coordinate, and the protection range is reinforced with stable processing, so that the reporting standard is improved, or the forced limitation does not generate a new touch event.
In the waterproof mode, the effective touch standard value of the touch cell at the edge of the touch panel is set to be smaller than the waterproof effective touch standard value, or the effective touch standard value of the touch cell at the corner of the touch panel is set to be larger than the waterproof effective touch standard value, and whether the touch cell is effectively touched is judged according to the sensing values of the upper, lower, left and right adjacent touch cells of the touch cell with the sensing values larger than the waterproof mode effective touch standard value; or the filtering or stabilizing treatment is enhanced aiming at the sensing numerical value of each touch cell, so that the stability of the touch effect is improved.
In the waterproof mode, if the touch object leaves the touch panel for a predetermined time after the touch object is determined to cause a touch event, the touch object is forced to stay in the waterproof mode, or if the total number of touch cells with the difference between the current sensing value and the previous sensing value being greater than a predetermined value is greater than a predetermined number of cells, the touch object remains in the waterproof mode for a predetermined time without performing effective touch judgment.
The invention also provides a multi-mode operation method for the capacitive touch panel, wherein the panel is provided with a plurality of touch cells, a sensing value of the plurality of touch cells is obtained in a mutual capacitance scanning mode, the touch panel comprises a normal mode and an underwater operation mode, and the touch panel is set by an underwater switch or is judged to enter the underwater operation mode according to the following judgment conditions: the change amount of the sensing values of the plurality of touch cells in a short time is larger than an effective touch standard value, and the sensing values of the plurality of touch cells in a preset time are stable; in addition, after the underwater operation mode is judged, an underwater reference value is established, and the sensing values of the plurality of touch control grids take absolute values or take negative values to carry out touch control judgment.
The method according to the present invention further comprises a waterproof mode in which entry into the underwater operation mode is determined according to the underwater switch setting or the determination underwater condition.
According to the invention, after determining that the underwater operation mode is entered, the sensing values of the plurality of touch cells can be amplified again or the judgment standard is relaxed when the touch judgment is performed, wherein the method for relaxing the judgment standard comprises setting an underwater mode effective touch standard value smaller than a normal mode effective touch standard value in the normal mode, or setting standard values of surrounding judgment conditions according to the sensing values of the touch cells with sensing values larger than the underwater mode effective touch standard value to be reduced or judging whether the touch cells are effectively touched.
According to the idea of the invention, after the determination of the in-water operation mode, the out-of-water operation mode is additionally determined according to the following conditions for determining the out-of-water operation mode, and the mode is returned to the waterproof mode or the normal mode: the total variation of the sensing values of the plurality of touch cells in a short time is larger than a water judgment value, and the total variation of the sensing values of the plurality of touch cells in a preset time is smaller than a stable preset value.
The invention also proposes a computing device comprising: a central processing unit; a touch panel for displaying and allowing a user to operate in a touch manner; the controller is communicated with the touch panel and the central processing unit or has the function of judging a touch effect according to a touch sensing value; wherein the central processing unit and the controller operate in tandem to perform the methods described above.
According to the invention, the situations of negative touch effect and pollutant attachment can be distinguished, effective touch can be accurately identified under the condition that the touch screen is stained with a large amount of water, and the situations that liquid with high conductivity is attached to the touch panel and the glove is worn for touch can be distinguished, so that the invention has quite high effective touch identification capability compared with the prior art.
Drawings
Fig. 1 is a view schematically showing a mutual capacitive touch panel;
FIGS. 2A and 2B show the sensing values of the touch cells when the normal finger touches the panel and the sensing values of the touch cells when water exists on the touch panel, respectively;
FIG. 3 is a flow chart illustrating mutual capacitance signal processing according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating tracking and negative touch effect processing according to an embodiment of the invention;
FIG. 5 is a diagram showing a plurality of cell sensing values of a touch panel for illustrating a negative touch effect;
FIG. 6 is a flowchart for explaining the "waterproof mode" judgment and processing operation;
FIG. 7 is a block diagram illustrating a computing device according to one embodiment.
Reference numerals illustrate: 500-a computing device; 502-a touch panel; 504-a controller; 506-a central processing unit.
Detailed Description
To facilitate understanding of the spirit and principles of the present invention, the arrangement and sensing manner of the capacitive touch panel will be briefly described. Referring to fig. 1, the touch panel 100 is provided with N columns and M rows of scan lines. In this specification, a region between two adjacent rows and two adjacent columns is referred to as a cell, and the entire touch panel is referred to as a frame. In general, a capacitive touch panel generates an induced electric field on a surface of the panel to obtain an equivalent capacitance, and when a finger touches the panel, the strength of the induced electric field changes to change the equivalent capacitance, generally by about pF (10) -12 Faraday) the signal thus obtained is converted into a digital signal by means such as an analog-to-digital converter and subjected to other processing to generate a corresponding value for performing a different process or operation. Generally, two scanning methods for obtaining a sensing value by scanning a touch panel are mainly used, one is self-capacitance scanning, and the other is mutual capacitance scanning.
Here, the capacitance sensing value of the capacitive touch panel under the sensing electric field is referred to as raw data, and the capacitance sensing value is different under different environmental conditions such as touch and adhesion of foreign objects. The raw data obtained under the initial condition of not being touched or contacted by the foreign object is hereinafter referred to as a reference value. When a finger touches the capacitive touch panel, an original value is obtained, and a difference value obtained by subtracting the original value from the reference value is a change value generated by the finger touch, namely, the difference value=the original value-the reference value. For example, fig. 2A shows the variation values of each touch cell when the finger touches under normal conditions, that is, the values shown in the figure are all different values. As shown in fig. 2A, the cells of value 1197 and surrounding cells have significantly larger values than other touch cells, and are therefore considered finger touches. Hereinafter, the variation value will be referred to as a sensing value.
Generally, the operation modes of the touch panel mainly include a normal mode and a waterproof mode. The waterproof mode refers to an operation mode when water exists in the touch panel, and an operation mode other than the waterproof mode is a normal mode.
Fig. 3 is a flow chart illustrating mutual capacitance signal processing 100 according to the present invention. As shown in fig. 3, in step S100, at the start-up, the whole touch panel is scanned in a mutual capacitance manner to obtain a mutual capacitance signal, and the signal is subjected to a/D processing to obtain a corresponding value as a reference value. For example, under a clean environment and no foreign object touch, the obtained reference value of each touch cell is within a certain range, for example within ±30. And then proceeds to step S102.
In step S102, the whole touch panel is scanned in a mutual capacitance manner to obtain a mutual capacitance signal, and the signal is subjected to a/D processing to obtain a corresponding value as an original value. Then, in step S104, the original value is subtracted from the reference value to obtain a difference value (=original value-reference value) as the current sensing value for the subsequent processing. In general, the normal operation mode is entered after the start-up is initiated. For example, in the case that the entire touch panel has 28×16 cells, the effective touch standard value (or simply standard value) is preset to 400, that is, the cell value is considered to be effective when the cell value is greater than or equal to 400. If the touch panel enters the normal mode after being started, the maximum induction value of the finger touch position is 1200.
In accordance with an embodiment of the present invention, the sensed values obtained as described above are subjected to tracking and negative touch processing 200 for pattern determination and pattern processing. As shown in fig. 4, in S202, tracking processing is performed, and the current sensing value and the previous sensing value of each touch cell are compared, and the comparison result can provide touch point information on the touch panel, etc. For example, according to the comparison result, it can be known whether a new touch event occurs or not, and the moving track of the touch object such as a finger is known.
The negative touch effect refers to that when more than two fingers touch the touch surface to cause more than two touch points, a negative induction value is generated between the effective touch points, and the negative touch effect is called as a negative touch effect. When the touch event is found to occur and some of the cells are negative according to the comparison result of the tracking process, a negative touch effect process is performed. For example, as shown in fig. 5, two touch points exist (a plurality of cells shown in darkest shading in the figure), and the values of the cells in the frame are negative values, which are caused by negative effects. However, some cells may generate negative values due to the influence of contaminants, and thus, in order to avoid that the negative touch effect is determined as contaminants, the negative touch effect process may be performed on cells having negative values. In step S206, it is determined whether the grid is affected by a negative touch effect. If the cell sensing value is smaller than the effective touch standard value and the cells are larger than the standard value in the vertical direction and the horizontal direction of the touch cell, the touch cell is considered to be influenced by the negative touch effect. For example, the grid with-153 in FIG. 5 conforms to the negative touch effect. If the determination result is yes, proceed to step S208.
In step S208, the following formula is used to calculate the obtained value to replace the current value of the touch cell:
C cal =C+(|C|-|N offset |)/R
wherein C is cal : negative effect calculation, C: lattice value, N offset : negative touch offset, R: proportional value。
Thus, the value of the-153 lattice becomes-153+ (| -153| -90|) per 2≡132 after processing. Therefore, the grid affected by the negative touch effect cannot be misjudged as a polluted point before the waterproof mode condition judgment is carried out, and the judgment accuracy is further improved.
According to the embodiment of the present invention, the sensing values after the tracking and negative touch effect processing are provided to the mode determining processing and/or each mode processing.
Next, mode determination and related mode processing according to an embodiment of the present invention are described. First, a "waterproof mode" judgment and processing operation according to an embodiment of the present invention will be described. The waterproof mode refers to a case when water exists in the touch panel.
Fig. 6 is a flowchart for explaining the "waterproof mode" judgment and processing job 300. In step S302, according to the touch panel sensing value after the tracking and the negative touch effect processing, it is first determined whether water exists on the touch panel to determine whether to maintain the normal mode or enter the waterproof mode or switch from the waterproof mode to the normal mode, if it is determined that water exists on the touch panel, the waterproof mode is entered, otherwise, the touch panel is maintained in the normal mode or switch from the waterproof mode to the normal mode. For example, if the following five conditions are met, it is determined that water is present to enter the waterproof mode of operation: 1. the maximum value of all the grid sensing values of the touch panel is larger than an upper waterproof threshold value, such as 200, or the minimum value is smaller than a lower waterproof threshold value, such as-200; 2. (maximum grid sensing value) - (minimum grid sensing value) > a predetermined value, e.g. 300;3. the total number of cells of all cell sensing values for which the sensing value of the individual cell is greater than the upper waterproof threshold (e.g., 200) is greater than the upper waterproof threshold (e.g., >4 cells) and the total number of cells less than the lower threshold (e.g., -180) is greater than the lower waterproof threshold (e.g., >8 cells); 4. the sum of the absolute values of the touch cell sensing values less than the lower threshold (e.g., -180) minus the waterproof offset value (e.g., 200) is greater than a predetermined value (e.g., > 420) for all cell sensing values. For example, the sum of four grid-induced values as indicated in the larger bold frame in fig. 2B is (| -259|+| -370|+| -226|) >420;5. all cell sensing values are scanned at least twice in succession while meeting the above conditions 1 to 4. It is noted that, preferably, the above threshold, offset or predetermined value may depend on the size, number of grids, etc. of the touch panel. If the above five conditions are met, i.e., the condition of water is met, proceed to step S304 to enter the waterproof mode operation.
In step S304, an effective touch standard value higher than that in the normal mode is set. For example, in normal mode operation, the effective touch standard value is set to 400, but in waterproof mode, the effective touch standard value is set to 600. In addition, according to the embodiment of the invention, in order to accurately determine the situation of water accumulation at the edge and the corner of the touch panel, so as to reduce erroneous determination, the effective touch standard value of the touch cell at the edge and the corner of the touch panel is set to be different from other touch cells. For example, when the effective touch standard value of the other touch cells is set to 600, the effective touch standard value of the touch cell at the edge of the touch panel is reduced, for example, to 550, and the effective touch standard value of the touch cell at the corner is further increased, for example, to 700. Thus, false alarm of the effective touch point can be avoided. Then, the process proceeds to step S306.
In step S306, it is determined whether the touch cell is effectively touched according to the comparison between the sensing values of the possible touched cell and the neighboring cells around the touched cell, the effective touch standard and a plurality of preset thresholds. For example, it is determined whether the sensed value of the possible touched cell is greater than a valid touch standard value (e.g., 600) and greater than or equal to the sensed values of all adjacent cells (up, down, left, and right). Here, the neighboring cells around refer to the cells adjacent to each other in the vertical and horizontal directions of the touch cell, for example, the top and bottom cells have only 3 neighboring cells, the central cell has 4 neighboring cells, and so on. Next, it is determined whether the values of adjacent cells of the touch cell are all greater than 0, whether the sum of the values of the upper and lower adjacent cells is greater than a first predetermined threshold (e.g., 600), whether the sum of the values of the left and right adjacent cells is greater than a second predetermined threshold (e.g., 600), or whether the sum of the upper, lower, left and right adjacent cells is greater than a third predetermined threshold (e.g., 900). If the touch result is met, the touch cell is judged to be effectively touched, and the touch result is output after the touch cell is judged to be effectively touched. For example, as shown in fig. 2B, the sensing value 603 indicated by the smaller thick frame is larger than the effective touch standard value, but the right neighbor value is-193, and does not meet the condition that the neighbors are all larger than 0, and thus is not determined as effective touch. It should be understood that the above standard values or relevant thresholds for judgment are merely illustrative, and they may be different depending on the conditions of the column-to-row spacing and the like. For example, the correlation threshold may be determined based on a large amount of measurement data.
In addition, when judging that the effective touch point exists, when the distance between the two-finger touch points is within 6 grids, only the touch point with larger induction quantity is reserved, and the other point is ignored. Moreover, in order to avoid erroneous determination of whether water is present in the touch panel by the touch object being pulled out of the touch panel after the touch object touches the touch panel, the switch from the waterproof mode to the normal mode in step S302 is performed before the determination of no water is present and the switch from the waterproof mode to the normal mode is performed (S308), when the touch object is already in the waterproof mode before the step S302 is performed, if the touch object leaves the touch panel for a predetermined period of time after the determination of the touch event, the touch object is still forced to stay in the waterproof mode, or if the difference between the current sensing value and the previous sensing value is greater than a predetermined number of touch cells, the touch object remains in the waterproof mode for a predetermined period of time but no effective touch determination is performed. In other words, if the condition that the water is not present in step S302 is satisfied, the following 2 items are further determined: 1. judging whether or not the waterproof mode is in before proceeding to step S302; 2. whether the total number of the touch cells with the difference between the current sensing value and the previous sensing value being larger than a preset value is larger than a preset cell number or not. When any one of the foregoing 2 is satisfied, even if it is determined in step S302 that there is no water, the waterproof mode is maintained for a predetermined period of time without being directly switched to the normal mode, and then step S304 is performed. Otherwise, the waterproof mode is left and the normal mode is directly switched, and then step S306 is performed.
In step S308, it is determined whether or not to leave the waterproof mode. The conditions for the determination in this step will be more severe than the conditions for the determination of entry into the waterproof mode, to avoid frequent switching between the two different modes in the case of boundary conditions. For example, assuming that the touch pad is 0 when it is completely anhydrous and 100 when it is not operable with much water, a threshold for entering the waterproof mode is set to 80, a threshold for exiting the waterproof mode is set to 60, and the operation in the waterproof mode is maintained when the value is between 60 and 80 after entering the waterproof mode.
In addition, when it is determined that the finger is lifted after the finger touch, the finger remains in the waterproof mode for at least a period of time, for example, 0.5 seconds, and still performs the effective touch point recognition processing. Or, when the difference between the sensing value and the previous sensing value is greater than the predetermined change value and the total number of the predetermined change value is greater than the predetermined number of the thumb width, for example, 2, the touch point is still in the waterproof mode for at least a period of time, for example, 0.5 seconds, but no effective touch point identification process is performed.
If it is determined in step S308 that the waterproof mode is not established, the normal mode is returned to, otherwise, the process returns to step S306.
In this embodiment, regarding the determination in step S308 as to whether to leave the waterproof mode and return to the normal mode, there are five conditions that are met, and it is determined that the waterproof mode is to leave the normal mode: 1. the maximum value of all the grid sensing values of the touch panel is greater than an upper waterproof threshold, such as 150, or the minimum value is less than a lower waterproof threshold, such as-150; 2. (maximum grid sense value) - (minimum grid sense value) > a predetermined value, e.g., 210;3. the total number of cells of all cell sensing values for which the sensing value of the individual cell is greater than the upper waterproof threshold (e.g., 150) is greater than the upper waterproof threshold (e.g., >3 cells) and the total number of cells less than the lower threshold (e.g., -150) is greater than the lower waterproof threshold (e.g., >6 cells); 4. the sum of the absolute values of the touch cell sensing values less than the lower threshold (e.g., -150) minus the waterproof offset value (e.g., 150) is greater than a predetermined value (e.g., > 420) for all cell sensing values. For example, the sum of four grid-induced values as indicated in the larger bold frame in fig. 2B is (| -259|+| -370|+| -226|) >420;5. all cell sensing values are scanned at least twice in succession while meeting the above conditions 1 to 4. It is noted that, preferably, the above threshold, offset or predetermined value may depend on the size, number of grids, etc. of the touch panel. If the above five conditions are met, i.e. the condition to leave the waterproof mode and return to the normal mode is met, the normal mode operation is entered.
As described above, the operation modes of the touch panel mainly include a normal mode and a waterproof mode. The waterproof mode refers to an operation mode when water exists in the touch panel, and an operation mode other than the waterproof mode is a normal mode. According to the present invention, a waterproof mode is entered whenever a small amount of water is present in the touch panel. Although the entire screen is immersed in water, it can be broadly considered that water exists on the touch panel, but if the screen is thin, the two are still different. More specifically, when only a small amount of water exists in the touch panel, the water stain or the effective touch can be determined according to the comparison between the sensing values of the adjacent cells and the surrounding cells, the effective touch standard and a plurality of preset thresholds. However, when the whole screen is immersed in water, all the touch cells on the screen are in a water state, so that the whole sensing value is improved, and in such a state, even if the finger touches the screen, the variation of the increase of the sensing value is relatively small, and the sensing value is difficult to clearly judge and perceive. Therefore, the present invention additionally sets an in-water mode for the state in which the screen is entirely immersed in water. When the screen is immersed in water, all the touch cells on the screen are in a water state, and the finger can pull out the water on the touch panel when sliding on the touch panel, so that the sensing value of the contacted touch cells is reduced, and whether the screen is in effective touch can be judged.
The in-water mode may be set by an in-water switch or it may be determined whether to enter the in-water mode according to the following conditions: the change of the sensing value of the touch cell in a short time is larger than an effective touch standard value, and the sensing value of the touch cell is stable in a preset time (for example, 0.5 seconds). After determining to enter the underwater mode, the system establishes an underwater reference value, and then performs a touch judgment according to the absolute value or the negative value of the sensing value of the touch cell.
Because the sensing values of all the touch cells on the screen are integrally improved when the screen is immersed in water, after the screen is judged to enter the underwater mode, the sensing values of the touch cells can be set to be amplified again or a relaxation judgment standard can be set when the touch judgment is carried out in order to effectively judge the touch of the finger. The method for relaxing the judgment standard comprises the following steps: and setting an in-water mode effective touch standard value to be smaller than a normal mode effective touch standard value in a normal mode, or setting standard value reduction of surrounding judgment conditions according to sensing values of the upper, lower, left and right adjacent touch grids of the touch grid with sensing values larger than the in-water mode effective touch standard value, and judging whether the touch grid is effectively touched.
After determining to enter the underwater mode, the underwater mode may be exited and returned to the waterproof mode or the normal mode according to the following determination: the total variation of the sensing value of the touch control grid in a short time is larger than a water judgment value, and the total variation of the sensing value of the touch control grid in a preset time is smaller than a stable preset value.
Compared with the prior art, according to the invention, the misjudgment situation can be remarkably reduced, and the accuracy of effective touch control is greatly improved. When a considerable amount of water exists, the waterproof mode in the prior art is often misjudged or cannot be executed, but the waterproof mode according to the invention can still correctly judge effective touch.
FIG. 7 is a block diagram illustrating a computing device 500 according to one embodiment. As shown, the computing device 500 includes a touch panel 502, a controller 504, and a central processing unit 506. The touch panel 502 is used for displaying and allowing a user to operate in a touch manner. The controller 506 may obtain an input signal from the touch panel and may perform at least one of the above modes according to the present invention in conjunction with the central processing unit 508 according to the input signal. The computing device 500 is capable of performing the waterproof mode processing according to the present invention with high touch point accuracy.
While the preferred embodiments of the present invention have been illustrated in the foregoing description, these are for illustrative purposes only and should not be construed as limiting the scope of the invention, since many modifications can be made by those skilled in the art without departing from the spirit of the invention, and the appended claims encompass all such modifications as fall within the scope and spirit of the invention.
Claims (19)
1. A multi-mode operation method for a capacitive touch panel is characterized in that the panel is provided with a plurality of touch cells, an induction value of the plurality of touch cells is obtained in a mutual capacitance scanning mode, the operation mode of the touch panel comprises a normal mode and a waterproof mode, and the touch panel is determined to enter the waterproof mode according to one of the following judging waterproof conditions:
(1) The maximum value of the sensing values of the plurality of touch cells is larger than an upper threshold value, and the minimum value of the sensing values of the plurality of touch cells is smaller than a lower threshold value;
(2) The maximum value minus the minimum value in the sensing values of the plurality of touch cells is larger than a first preset value;
(3) The total number of the sensing values of the plurality of touch control grids, which is larger than the upper threshold value, is larger than an upper waterproof grid number, and the total number of the sensing values, which is smaller than the lower threshold value, is larger than a lower waterproof grid number; and
(4) The absolute value sum of all the sensing values smaller than the lower threshold is larger than a second preset value;
and (3) if two or more of the conditions (1) to (4) are met, judging that the waterproof mode is entered.
2. The multi-mode operation method for a capacitive touch panel according to claim 1, wherein the waterproof mode is entered when the plurality of sensing values are judged to be in accordance with the conditions described in (1) to (4) of claim 1 twice or more.
3. The method of claim 1, wherein the sensing values are processed as follows before performing the determining:
when the panel is initially, the sensing value of each touch cell mutual capacitance scanning is obtained as a reference value of each touch cell; and
And then obtaining the sensing value of each touch cell mutual capacity scanning every time, deducting the sensing value from the reference value of each touch cell, and then executing the waterproof judgment condition.
4. The method of claim 1, wherein the plurality of sensing values are corrected before the determination is performed, and when the sensing value of the touch cell has a sensing value smaller than 0, and the sensing value of any one of the other touch cells in the vertical direction and the horizontal direction of the touch cell is larger than an effective touch standard value, and the sensing value of any one of the other touch cells in the horizontal direction of the touch cell is larger than the effective touch standard value, a calculated value is obtained according to the sensing value of the touch cell and the absolute value of the touch cell to be used as the sensing value of the touch cell.
5. The method of claim 1, wherein the values of the upper threshold, the lower threshold, the first predetermined value, the upper number of waterproof cases, the lower number of waterproof cases, or the second predetermined value in the waterproof condition are increased with the number of touch events if a touch event is detected.
6. The method of claim 2, wherein the upper threshold, the lower threshold, the first predetermined value, the upper number of waterproof cases, the lower number of waterproof cases, the second predetermined value, or the number of judgment times in the judgment waterproof condition increases with the number of touch events if a touch event is detected.
7. The method of claim 1, wherein after entering the waterproof mode, a judging anhydrous condition is included, wherein the judging anhydrous condition is the same as the standard of the judging waterproof condition, or the upper threshold, the lower threshold, the first predetermined value, the upper waterproof number, the lower waterproof number or the second predetermined value is reduced to form a buffering effect.
8. The method according to claim 1, wherein in the waterproof mode, after a touch event is determined by a touch object, the touch object is forcedly left in the waterproof mode for a predetermined time after leaving the touch panel, or when the total number of touch cells having a difference between a current sensing value and a previous sensing value greater than a predetermined value is greater than a predetermined number of cells, the touch object is left in the waterproof mode for a predetermined time without performing effective touch judgment.
9. The method of claim 1, wherein in the waterproof mode, if there is a change in the sensing amount for an area not determined to be touched, the change is regarded as a change caused by water, and a waterproof reference value is established accordingly, and after the sensing value of each touch cell is subtracted from the waterproof reference value, a touch effect is determined.
10. The method of claim 9, wherein in the waterproof mode, a waterproof mode effective touch standard value is set to be greater than a normal mode effective touch standard value in the normal mode, and a surrounding judgment condition is set according to sensing values of upper, lower, left and right adjacent touch cells of the touch cell whose sensing value is greater than the waterproof mode effective touch standard value, so as to judge whether the touch cell is effectively touched.
11. The method of claim 10, wherein in the waterproof mode, when the touch event is not determined to occur, the effective touch standard value of the waterproof mode is increased, or the standard of the surrounding determination condition is increased, and after the touch event occurs, the original effective touch standard value of the waterproof mode is returned, or the original standard of the surrounding determination condition is returned.
12. The method of claim 10, wherein in the waterproof mode, when a difference between a total number of the sensing values of the plurality of touch cells greater than an upper threshold and a positive area cell number is greater than an area change cell number or a difference between a total number of the sensing values of the plurality of touch cells less than a lower threshold and a negative area cell number is greater than an area change cell number, the waterproof mode effective touch standard value is increased or the surrounding judgment condition standard is increased.
13. The method of claim 9, wherein in the waterproof mode, when it is determined that a touch event occurs, a protection range is set around a touch coordinate, and the protection range is used to enhance a stabilization process, improve a reporting standard, or force a definition that no new touch event occurs.
14. The multi-mode operation method for capacitive touch panel according to claim 10, wherein in the waterproof mode, an effective touch standard value of a touch cell at an edge of the touch panel is set smaller than the waterproof mode effective touch standard value, or an effective touch standard value of the touch cell at a corner of the touch panel is set larger than the waterproof mode effective touch standard value, and whether the touch cell is effectively touched is judged according to an induction value of the touch cell with a sensing value larger than the waterproof mode effective touch standard value, wherein the upper, lower, left and right adjacent to the touch cell; or the filtering or stabilizing treatment is enhanced aiming at the sensing numerical value of each touch cell, so that the stability of the touch effect is improved.
15. The method of claim 1, wherein the operation modes of the touch panel include the normal mode and an underwater operation mode, and the underwater operation mode is entered by a underwater switch setting or according to a determination underwater condition as follows:
the change amount of the sensing values of the plurality of touch cells in a short time is larger than an effective touch standard value, and the sensing values of the plurality of touch cells in a preset time are stable;
in addition, after the underwater operation mode is judged, an underwater reference value is established, and the sensing values of the plurality of touch control grids take absolute values or take negative values to carry out touch control judgment.
16. The method of claim 15, wherein the entering into the underwater operation mode is determined according to the underwater switch setting or the underwater condition determination in the waterproof mode.
17. The method according to claim 15 or 16, wherein after determining that the in-water operation mode is entered, the sensing values of the plurality of touch cells are further amplified or the determination criteria are relaxed when performing touch determination, wherein the method of relaxing the determination criteria includes setting an in-water mode valid touch criterion value to be smaller than a normal mode valid touch criterion value in the normal mode, or setting a decrease in the criterion value of surrounding determination conditions according to the sensing values of the touch cells adjacent to the up, down, left and right of the in-water mode valid touch criterion value to determine whether the touch cell is valid.
18. The multi-mode operation method for a capacitive touch panel according to claim 15 or 16, wherein after determining to enter the in-water operation mode, the out-of-water operation mode is additionally determined according to the following determination out-of-water conditions, and returns to the waterproof mode or the normal mode:
the total variation of the sensing values of the plurality of touch cells in a short time is larger than a water judgment value, and the total variation of the sensing values of the plurality of touch cells in a preset time is smaller than a stable preset value.
19. A computing device, comprising:
a central processing unit;
a touch panel for displaying and allowing a user to operate in a touch manner;
the controller is communicated with the touch panel and the central processing unit or has the function of judging a touch effect according to a touch sensing value;
wherein the central processing unit and the controller operate cooperatively to perform the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010071069.9A CN113220168B (en) | 2020-01-21 | 2020-01-21 | Multi-mode operation method of capacitive touch panel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010071069.9A CN113220168B (en) | 2020-01-21 | 2020-01-21 | Multi-mode operation method of capacitive touch panel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113220168A CN113220168A (en) | 2021-08-06 |
CN113220168B true CN113220168B (en) | 2024-02-09 |
Family
ID=77085454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010071069.9A Active CN113220168B (en) | 2020-01-21 | 2020-01-21 | Multi-mode operation method of capacitive touch panel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113220168B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681742A (en) * | 2012-05-26 | 2012-09-19 | 汕头超声显示器(二厂)有限公司 | Touch signal detection method for capacitive touch screen |
CN103197787A (en) * | 2012-01-09 | 2013-07-10 | 义隆电子股份有限公司 | Noise elimination method of touch panel |
CN104142768A (en) * | 2013-05-10 | 2014-11-12 | 株式会社东海理化电机制作所 | Touch type input device and method for detecting touching of touch panel |
CN104238842A (en) * | 2013-06-11 | 2014-12-24 | 义隆电子股份有限公司 | Method for identifying non-common-ground object |
CN104657009A (en) * | 2013-11-20 | 2015-05-27 | 义隆电子股份有限公司 | touch device and data processing method thereof |
CN105122195A (en) * | 2013-11-25 | 2015-12-02 | 华为终端有限公司 | Information processing method and electronic device |
CN106062688A (en) * | 2014-01-16 | 2016-10-26 | 三星电子株式会社 | Method and apparatus for processing input using touch screen |
CN109614016A (en) * | 2019-01-11 | 2019-04-12 | 中国联合网络通信集团有限公司 | Touch identification method, device and the electronic equipment of capacitance touch screen |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI502458B (en) * | 2013-05-02 | 2015-10-01 | Elan Microelectronics Corp | Method of identifying a liquid object on a touch panel |
US9310934B2 (en) * | 2014-02-21 | 2016-04-12 | Qualcomm Incorporated | Systems and methods of moisture detection and false touch rejection on touch screen devices |
US10437384B2 (en) * | 2015-03-13 | 2019-10-08 | Parade Technologies, Ltd. | Water detection and wipe detection algorithms for touchscreen proximity sensing |
-
2020
- 2020-01-21 CN CN202010071069.9A patent/CN113220168B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197787A (en) * | 2012-01-09 | 2013-07-10 | 义隆电子股份有限公司 | Noise elimination method of touch panel |
CN102681742A (en) * | 2012-05-26 | 2012-09-19 | 汕头超声显示器(二厂)有限公司 | Touch signal detection method for capacitive touch screen |
CN104142768A (en) * | 2013-05-10 | 2014-11-12 | 株式会社东海理化电机制作所 | Touch type input device and method for detecting touching of touch panel |
CN104238842A (en) * | 2013-06-11 | 2014-12-24 | 义隆电子股份有限公司 | Method for identifying non-common-ground object |
CN104657009A (en) * | 2013-11-20 | 2015-05-27 | 义隆电子股份有限公司 | touch device and data processing method thereof |
CN105122195A (en) * | 2013-11-25 | 2015-12-02 | 华为终端有限公司 | Information processing method and electronic device |
CN106062688A (en) * | 2014-01-16 | 2016-10-26 | 三星电子株式会社 | Method and apparatus for processing input using touch screen |
CN109614016A (en) * | 2019-01-11 | 2019-04-12 | 中国联合网络通信集团有限公司 | Touch identification method, device and the electronic equipment of capacitance touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN113220168A (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9041684B2 (en) | Senseline data adjustment method, circuit, and system to reduce the detection of false touches in a touch screen | |
KR20140008292A (en) | Method for detecting an arbitrary number of touches from a multi-touch device | |
US10824270B1 (en) | Multi-mode operation method for capacitive touch panel | |
KR20080017806A (en) | Apparatus and method for sensing movement of multi-touch points and mobile device using the same | |
CN109643200B (en) | Electronic device, touch detection circuit, and method for updating reference value of touch screen | |
US8624861B2 (en) | Method for determining touch point | |
US20160147373A1 (en) | Input device, and control method and program therefor | |
CN102945109A (en) | Method for detecting touch regions of mutual capacitance screen | |
AU2015202763A1 (en) | Glove touch detection | |
JP5712339B1 (en) | Input device, input method, and program | |
CN105353927A (en) | Capacitive touch device and object identification method thereof | |
CN113835558A (en) | Screen parameter adjusting method and device and electronic equipment | |
CN107807747B (en) | Touch system and touch detection method thereof | |
US9836175B2 (en) | Input device, method of controlling the same, and program | |
CN113220168B (en) | Multi-mode operation method of capacitive touch panel | |
TWI724628B (en) | Multi-mode operation method for capacitive touch panel | |
WO2024093978A1 (en) | Touch-control object identification method, touch-control device and storage medium | |
KR102013592B1 (en) | Touch sensing system and touch sensing method | |
TWI718886B (en) | Multi-mode operation method for capacitive touch panel | |
CN116069185A (en) | Control method of touch screen display, touch screen display and electronic equipment | |
CN113377224B (en) | Multi-mode operation method for capacitive touch panel and computing device | |
US11099700B1 (en) | Multi-mode operation method for capacitive touch panel | |
CN107239185B (en) | Capacitor controller, control method and device | |
TWI507960B (en) | Touch control system and coordinate correcting method thereof | |
US20160147357A1 (en) | Anti-noise method of touch panel, touch panel and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |