CN102253772A - Touch sensing method and related touch device - Google Patents

Touch sensing method and related touch device Download PDF

Info

Publication number
CN102253772A
CN102253772A CN2010101781081A CN201010178108A CN102253772A CN 102253772 A CN102253772 A CN 102253772A CN 2010101781081 A CN2010101781081 A CN 2010101781081A CN 201010178108 A CN201010178108 A CN 201010178108A CN 102253772 A CN102253772 A CN 102253772A
Authority
CN
China
Prior art keywords
count value
charging
testing capacitance
discharge
electric capacity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010101781081A
Other languages
Chinese (zh)
Other versions
CN102253772B (en
Inventor
黄赫炜
陈俊宏
张志远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN 201010178108 priority Critical patent/CN102253772B/en
Publication of CN102253772A publication Critical patent/CN102253772A/en
Application granted granted Critical
Publication of CN102253772B publication Critical patent/CN102253772B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)

Abstract

The invention relates to a touch sensing method for a touch device. The touch device comprises a touch panel; the touch sensing method comprises the following steps of: checking whether charging capacity and discharging capacity of a capacitor to be detected in the touch panel have been set; when the charging capacity and the discharging capacity have been set, charging and discharging the capacitor to be detected, and receiving a count value corresponding to the capacitance of the capacitor to be detected; when a basic count value has been set, calculating variation between the count value and the basic count value, and judging whether the touch panel is touched according to the variation; and when the count value is not in a preset range, performing a charging and discharging capacity setting program to update the charging capacity and the discharging capacity.

Description

Touch detection method and relevant contactor control device
Technical field
The present invention relates to a kind of touch detection method and relevant contactor control device, particularly relevant for a kind of method and the relevant contactor control device that can accurately detect touch action.
Background technology
Touch Screen is made up of a transparent touch-control panel and a display screen, is used for various consumption electronic products, as user's operation-interface.Projected capacitive (Projected Capacitive) contact panel (Touch Panel) is one of most widely used contact panel technology, has high sensitivity and durable advantage, and can realize the multi-point touch function.Please refer to Fig. 1, Fig. 1 is the functional block diagram of a known contactor control device 10.Contactor control device 10 includes a contact panel 100, a multiplexer 102, an electric capacity measurement device 104, a processing unit 106 and an internal memory 108.Contact panel 100 is a projected capacitive touch panel, has staggered ITO (tin indium oxide) sense wire of ranks with the induction touch action, each sense wire equivalence is the circuit that resistance and an electric capacity are formed, when human body touching contact panel 100, the changing of equivalent capacity volume production of touched sense wire.Multiplexer 102 is coupled to many sense wires of contact panel 100, is used for each sense wire of timesharing conducting and electric capacity to measure binding between the device 104, to finish the scanning of whole contact panel 100.Electric capacity is measured device 104, the equivalent capacity of the sense wire that is connected by multiplexer 102 promptly is a testing capacitance, electric capacity is measured device 104 the testing capacitance amount is converted to recordable numerical value, as analog voltage or digital count value, exports processing unit 106 to.
Testing capacitance when contact panel 100 is not touched is environment electric capacity (EnvironmentCapacitor), and its electric capacity is measured device 104 by electric capacity and is converted to corresponding one basic count value, is stored in the internal memory 108.The size of environment electric capacity is different along with the characteristic of contact panel, the environment electric capacity accurately whether, also influence the correctness of touch detection.When contact panel 100 is touched, the testing capacitance amount can change because body capacitance amount (Human Capacitance) adds, processing unit 106 with electric capacity measure New count value that device 104 conversion testing capacitance amounts are produced with corresponding to the basic count value of environment electric capacity relatively, can judge whether human body touching contact panel 100.
The mode that electric capacity is measured device 104 measurement testing capacitance amounts has different several modes, wherein the most easy mode is to connect testing capacitance with resistance or constant current source, discharge and recharge the time according to the principle measurement that discharges and recharges time τ=R * C, with estimation testing capacitance amount.The equivalent capacity of the sense wire of contact panel 100 self is minimum, approximately is tens of extremely hundreds of picofarads (pF), and when testing capacitance was environment electric capacity, the time that discharges and recharges was very short, and the measurement of testing capacitance amount may produce very mistake.Another way shifts (Charge Transfer) for carrying out electric charge, electric charge on the testing capacitance is shifted the integrating capacitor (Integrating Capacitor) that is stored to than high capacitance, and carry out one shift the voltage levvl that makes integrating capacitor to for several times electric charge and arrive a predetermined voltage level after, integrating capacitor is discharged, repeat above-mentioned electric charge transfer step again, up to obtaining accurate testing capacitance amount.Above-mentioned electric charge branch mode only utilizes estimates the testing capacitance amount discharge time of utilization to the time of integrating capacitor charging, and measurement efficient is lower.
The mode of another known measurement testing capacitance amount is the combination of above two kinds of modes, is called trigonometric integral (Delta-sigma) method.Please refer to Fig. 2, Fig. 2 is the synoptic diagram that a known trigonometric integral formula electric capacity is measured device 20, and electric capacity is measured device 20 and be can be used to measure device 104 as the electric capacity of Fig. 1.Electric capacity is measured device 20 and is made up of an integrating capacitor 200, a discharge circuit 202, a comparer 204, a digital signal processing unit 206 and switch SW 1, SW2.Please refer to Fig. 3, Fig. 3 is that the electric capacity of Fig. 2 is measured the sequential chart that device 20 discharges and recharges the coherent signal of program, and it is described under the different situation of the electric capacity of testing capacitance 22, the voltage V on the signal S1 of gauge tap SW1 and SW2 and S2, the integrating capacitor 200 CMAnd the sequential of the signal SB that exported of comparer 204, wherein dotted line and solid line represent that respectively the electric capacity of testing capacitance 22 reaches less situation more greatly.
Signal S1, S2 gauge tap SW1, SW2 respectively make power supply V in not conducting simultaneously CCTo testing capacitance 22 chargings, then carry out electric charge and shift, the electric charge on the testing capacitance 22 is transferred to integrating capacitor 200.When carrying out the electric charge transfer, comparer 204 is with the voltage V on the integrating capacitor 200 CMWith a reference voltage V REFCompare, produce a signal SB, simultaneously, digital signal processing unit 206 is converted to a count value Dx with signal SB.As voltage V CMGreater than reference voltage V REFThe time, 202 pairs of integrating capacitors 200 of signal SB control discharge circuit are discharged.As shown in Figure 3, when the electric capacity of testing capacitance 22 is bigger, the electric weight that is transferred to integrating capacitor 200 is also more, so the dutycycle of signal SB (DutyCycle) is bigger.
In brief, it is electric capacitys of representing testing capacitance 22 with the dutycycle of signal SB that electric capacity is measured device 20, and signal SB is converted to count value Dx, for the electric capacitance change of back-end processing circuit judges testing capacitance 22.Mode compared to the time that discharges and recharges of direct measurement testing capacitance 22 or the number of times estimation testing capacitance amount that only shifts according to electric charge, when testing capacitance is the minimum environment electric capacity of electric capacity, the result who measures device 20 measurement environment electric capacity gained with electric capacity is more accurate, it is also higher to measure efficient, but still have many shortcomings on real the work, be described as follows.
It is to charge with 22 pairs of known integrating capacitors of testing capacitance 200 of the unknown that electric capacity is measured device 20.Be applicable to the contact panel that measures various characteristics in order to make electric capacity measure device 20, the electric capacity of known integrating capacitor 200 must be much larger than the electric capacity of testing capacitance 22, approximately be tens of how farads (nF), therefore, no matter integrating capacitor 200 is to be integrated in the integrated circuit or as external module, all to need very high cost.If integrating capacitor 200 is external modules, integrating capacitor 200 is disturbed by external electromagnetic ripple signal easily, causes the voltage V on the integrating capacitor 200 CMInstability, therefore, the signal SB that comparer 204 produces contains noise, influences the degree of accuracy of back-end processing circuit judges electric capacitance change.
On real the work, when finish discharge time, the voltage V on the integrating capacitor 200 CMMust return the initial voltage level in duration of charging; In other words, discharge capability must be greater than charging ability.When the electric capacity of testing capacitance 22 is very big, the quantity of electric charge that is transferred to integrating capacitor 200 by testing capacitance 22 electric charges is also big, and if this moment is the deficiency of time of 200 pairs of discharge circuits of integrating capacitor, 202 discharges, the voltage V on the integrating capacitor 200 CMCan't when finish discharge time, return the initial voltage level and additive effect occur.Please refer to Fig. 4, Fig. 4 is that electric capacity is measured the sequential chart that device 20 discharges and recharges the coherent signal of program.As shown in Figure 4, as voltage V CMAdditive effect occurs, finally may reach current potential identical when being full of electricity with testing capacitance 22, electric charge shifted and can not take place this moment, and electric capacity is measured device 20 can't bring into play the measurement effect.When the problems referred to above cause charging ability greater than discharge capability in the environmental factor drift, also take place easily.
On the other hand, when testing capacitance 22 during much smaller than integrating capacitor 200, the voltage variety that at every turn carries out on the integrating capacitor 200 of electric charge transfer back is minimum, relatively the discharge capability of discharge circuit 202 is bigger, need the longer time that integrating capacitor 200 is charged to effective scalable voltage levvl, cause the measurement waste of time.Moreover to judge the electric capacitance change of testing capacitance 22 too short discharge time, gained is out of true as a result.
As from the foregoing, measure in the device in known electric capacity, charging and discharging capabilities is the adjustable elasticity of tool not, can't reach identical degree of accuracy when being used for the contact panel of different qualities.In addition, when same contact panel uses or environmental factor when causing the environment electric capacity to change because of long-time, known electric capacity is measured device and method for measurement can't flexibly measure new environment electric capacity.Thus, when contact panel was touched, the back-end processing circuit may be because there be accurate environment electric capacity can't correctly detect touch action for relatively.
Summary of the invention
Therefore, fundamental purpose of the present invention promptly is to provide a kind of touch detection method and relevant contactor control device.
The invention provides the touch detection method that is used for a contactor control device, this contactor control device includes a contact panel, this touch detection method includes: check whether a charging ability and a discharge capability are set, this charging ability and this discharge capability are in order to discharge and recharge a testing capacitance in this contact panel; When this charging ability and this discharge capability have been set, this testing capacitance is discharged and recharged, and receive a count value, this count value is corresponding to the electric capacity on this testing capacitance; Check whether a basic count value is set, this basis count value is the electric capacity of this testing capacitance when not touched corresponding to this contact panel; When this basis count value has been set, calculate the variable quantity between this count value and this basis count value, to judge according to this variable quantity whether this contact panel is touched; Check whether this count value is positioned at a preset range; And when this count value is not in this preset range, carry out a charging and discharging capabilities setting program, to upgrade this charging ability and this discharge capability.
Description of drawings
Fig. 1 is the functional block diagram of a known contactor control device.
Fig. 2 is that a known trigonometric integral formula electric capacity is measured schematic representation of apparatus.
Fig. 3 and Fig. 4 are that the electric capacity of the 2nd figure is measured the sequential chart that device discharges and recharges the coherent signal of program.
Fig. 5 is that the embodiment of the invention one electric capacity is measured schematic representation of apparatus.
Fig. 6 is that the electric capacity of Fig. 5 is measured device and is set at and fills under the situation of afterwards putting configuration the sequential chart of coherent signal when discharging and recharging program earlier.
Fig. 7 is that the electric capacity of Fig. 5 is measured device and is set at and puts under the situation of afterwards filling configuration the sequential chart of coherent signal when discharging and recharging program earlier.
Fig. 8 is the synoptic diagram of the embodiment of the invention one flow process.
Fig. 9 is that the electric capacity of Fig. 5 is measured device and is set at and fills earlier under the situation of afterwards putting configuration, the sequential chart of coherent signal when discharging and recharging program, and it describes the adjustment of charging ability.
Figure 10 is that the electric capacity of Fig. 5 is measured device and is set at and fills earlier under the situation of afterwards putting configuration, the sequential chart of coherent signal when discharging and recharging program, and it describes the adjustment of discharge capability.
Figure 11 is that the electric capacity of Fig. 5 is measured device and is set at and fills earlier under the situation of afterwards putting configuration, the sequential chart of coherent signal when discharging and recharging program, and it describes the relation of testing capacitance amount and coherent signal.
Figure 12 is the synoptic diagram of the embodiment of the invention one flow process.
Figure 13 is that the embodiment of the invention one electric capacity is measured schematic representation of apparatus.
Figure 14 is that the electric capacity of Figure 13 is measured device and is set at and fills earlier under the situation of afterwards putting configuration, the sequential chart of coherent signal when discharging and recharging program, and it describes the relation of testing capacitance amount and coherent signal.
The 15th is that the electric capacity of Figure 13 is measured device and is set at and puts earlier under the situation of afterwards filling configuration, the sequential chart of coherent signal when discharging and recharging program, and it describes the relation of testing capacitance amount and coherent signal.
Figure 16 is that the embodiment of the invention one electric capacity is measured schematic representation of apparatus.
Wherein, description of reference numerals is as follows:
10,50 contactor control devices, 510,610,710 cycle control circuits
100 contact panels, 512,612,712 voltage generation units
102 multiplexers 514,516,614, discharge and recharge control module
616、714、716
104 electric capacitys are measured device 518,618,718 analog to digital converters
106,504 processing units, 520,620,720 cycle detection circuit
108,506 internal memories, 522,622,722 analog to digital converters
20,502,602,702 electric capacitys are measured device SW1~SW3 switch
22,500,600,700 testing capacitance S1~S3, SB, SD, signal
SD2
200 integrating capacitor Dx, DL, DU count value
202 discharge circuit V CMVoltage
204 comparer V REF, V U, V L, reference voltage
V REF1~V REF3
206,524,624, single 80,120 flow processs of digital signal processing
724 yuan
800,802,804, step
806、808、810、
812、1200、1202、
1204、1206、1208、
1210、1212、1214、
1216
Embodiment
Please refer to Fig. 5, Fig. 5 is the synoptic diagram of the embodiment of the invention one contactor control device 50.Contactor control device 50 includes a testing capacitance 500, an electric capacity is measured device 502, a processing unit 504 and an internal memory 506.In fact, contactor control device 50 comprises a contact panel and a multiplexer in addition, omit to indicate the equivalent capacity of the sense wire of the contact panel that testing capacitance 500 couples by multiplexer for electric capacity measurement device 502 in Fig. 5.Electric capacity measure device 502 include one-period control circuit 510 and one-period testing circuit 520.Cycle control circuit 510 includes a voltage generation unit 512, discharges and recharges control module 514,516, an analog to digital converter (Analog-to-digital Converter) 518 and switch SW 1~SW3.Cycle detection circuit 520 includes an analog to digital converter 522 and a digital signal processing unit 524.
Electric capacity is measured the electric capacity that device 502 is used for measuring testing capacitance 500, and the measurement mode is that testing capacitance electricity 500 is discharged and recharged, simultaneously with the voltage V on the testing capacitance 500 CMBe converted to a count value Dx, count value Dx represents testing capacitance 500 electric capacitys.The basic count value that internal memory 506 stores corresponding to the environment electric capacity of contact panel.Processing unit 504 is coupled to electric capacity and measures device 502 and internal memory 506, be used for according to the variable quantity between count value Dx and the basic count value, judged whether that touch action takes place, when variable quantity greater than a predetermined value, judge that touch action takes place, otherwise judge that then touch action does not take place.In addition, processing unit 504 is adjusted charging ability and discharge capability that electric capacity is measured 502 pairs of testing capacitances 500 of device according to count value Dx, but not measures the fixedly charging and discharging capabilities of device 20 as electric capacity among the 2nd figure.
Electric capacity is measured device 502 and is described in detail as follows.Cycle control circuit 510 is coupled to testing capacitance 500 and processing unit 504, is used for testing capacitance 500 is discharged and recharged.Voltage generation unit 512 is used for producing reference voltage V REF1, V REF2And V REF3Discharge and recharge control module 514 and 516 according to its hardware design, wherein a control module is set at the charging configuration, and in order to testing capacitance 500 is charged, another control module is set at the discharge configuration, in order to testing capacitance 500 is discharged, charging and discharge capability are adjusted by processing unit 504.Adjustment to the charging and discharging capabilities of testing capacitance 500 can be illustrated in the variation in the cycle of discharging and recharging.The hardware implementation mode that discharges and recharges control module 514 and 516 is not limited to any ad hoc rules, but need guarantee that both chargings and discharge capability are to adjust, for example can use simple switch and adjustable electric capacity, adjustable electric capacity is precharged to carries out electric charge behind the suitable voltage levvl and shift, or with adjustable current source, or discharge and recharge control module (or claiming charging control unit) with what modes such as voltage source resistance in series realized charging configuration.In like manner, the discharging and recharging control module (or claim discharge control module) and can use adjustable current source to realize of discharge configuration, or directly pass through resistance eutral grounding.
It should be noted that the electric capacity that discharges and recharges control module of the configuration that is used for charging, its electric capacity can be very little and be integrated in electric capacity and measures in the integrated circuit of device 502, and is different with the integrating capacitor of known external high capacitance.Therefore, electric capacity is measured the cost that device 502 has been saved external capacitor, and because the electric capacity that discharges and recharges in the control module is not external module, is not easy to be disturbed by electromagnetic wave signal, and then guarantees the degree of accuracy that electric capacity is measured.
Switch SW 1 is coupled to voltage generation unit 512 and testing capacitance 500, is used for according to a signal S1 control reference voltage V REF1And the binding between the testing capacitance 500.When signal S1 gauge tap SW1 conducting, 512 pairs of testing capacitances of voltage generation unit 500 carry out pre-charge, make the voltage of testing capacitance 500 equal reference voltage V REF1, purpose is to reduce error in measurement.Switch SW 2 is coupled to and discharges and recharges control module 514 and testing capacitance 500, be used for according to a signal S2, control discharges and recharges the binding between control module 514 and the testing capacitance 500, make and discharge and recharge 514 pairs of testing capacitances of control module 500 charging (or discharge, decide) according to discharging and recharging the configuration of control module 514.
Analog to digital converter 518 is one 1 (bit) analog to digital converters, is equivalent to a comparer, is coupled to voltage generation unit 512 and testing capacitance 500, is used for according to reference voltage V REF2With the voltage V on the testing capacitance 500 CMBe converted to a signal S3.In other words, analog to digital converter 518 is with voltage V CMWith reference voltage V REF2Compare, signal S3 represents comparative result.Switch SW 3 is coupled to analog to digital converter 518, discharges and recharges control module 516 and testing capacitance 500, be used for according to signal S3, control discharges and recharges the binding between control module 516 and the testing capacitance 500, make 516 pairs of testing capacitances of control module 500 discharge (or charging, decide) according to discharging and recharging the configuration of control module 516.
Analog to digital converter 522 is one 1 analog to digital converters, is equivalent to a comparer, is coupled to voltage generation unit 512 and testing capacitance 500, is used for according to reference voltage V REF3With the voltage V on the testing capacitance 500 CMBe converted to a signal SB.Digital signal processing unit 524 is coupled to analog to digital converter 522, is used for signal SB being converted to count value Dx after through a plurality of runnings that discharge and recharge the cycle, exports processing unit 504 to.Digital signal processing unit 524 can be considered a totalizer, is signal SB to be taken a sample with a predetermined sampling frequency, and the accumulative total sampling result.In brief, cycle detection circuit 520 is with the voltage V on the testing capacitance 500 CMBe converted to count value Dx.Because voltage V CMWaveform represent that cycle that discharges and recharges of testing capacitance 500 and count value Dx are according to voltage V CMAnd produce, so count value Dx represents the cycle that discharges and recharges of testing capacitance 500, also represents the electric capacity of testing capacitance 500.
Note that to discharge and recharge control module 514 and discharge and recharge control module 516 to be set at charging configuration or discharge configuration, the sequencing that carries out charge or discharge with electric capacity measurement device 502 is relevant.When discharging and recharging control module 514 are charging configurations and to discharge and recharge control module 516 are discharges during configuration, and electric capacity is measured 502 pairs of testing capacitances of device 500 and charged earlier and afterwards discharge, and is called to fill earlier and afterwards puts configuration.When discharging and recharging control module 514 are discharge configurations and to discharge and recharge control module 516 are chargings during configuration, and electric capacity is measured 502 pairs of testing capacitances of device 500 and discharged earlier and afterwards charge, and is called to put earlier and afterwards fills configuration, with Fig. 6 and Fig. 7 explanation.
Please refer to Fig. 6, Fig. 6 fills earlier under the situation of afterwards putting configuration for electric capacity measurement device 502 is set at, and the sequential chart of coherent signal when discharging and recharging program is wherein described signal S1~S3, voltage V CMAnd signal SB.When discharging and recharging control module 514 are charging configurations and to discharge and recharge control module 516 are discharge configurations, and reference voltage is set at V REF3〉=V REF2≈ V REF1The time, by signal shown in Figure 6 as can be known, switch SW 1 is closed after conducting a period of time when the program of discharging and recharging is initial, and testing capacitance 500 is precharged to reference voltage V REF1When switch SW 2 conductings, discharge and recharge control module 514 and carry out the electric charge transfer, testing capacitance 500 chargings.Because reference voltage V REF2Approximate reference voltage V REF1, so voltage V CMRise to soon and be greater than or equal to reference voltage V REF2, the signal S3 gauge tap SW3 conducting that this moment, analog to digital converter 518 was exported discharges and recharges 516 pairs of testing capacitances 500 of control module and discharges.Discharging action continues to signal S3 gauge tap SW3 and closes, that is voltage V CMBe less than or equal to reference voltage V REF2The time till.Discharging and recharging control module 514 and begin to carry out electric charge and be transferred to and discharge and recharge control module 516 and stop to discharge during this period of time, is one to discharge and recharge the cycle.After a plurality of runnings that discharge and recharge the cycle, digital signal processing unit 524 is converted to count value Dx with signal SB.
Measure device 502 in electric capacity and be set at and fill earlier when afterwards putting configuration, above-mentioned reference voltage is set V REF3〉=V REF2≈ V REF1Only be one embodiment of the invention, reference voltage also can be designed to V REF3〉=V REF2〉=V REF1, to be applicable to the great situation of testing capacitance amount.In this case, discharging and recharging control module 514 need shift through electric charge repeatedly, with voltage V CMCharge to and be higher than reference voltage V REF3And reference voltage V REF2
Please refer to Fig. 7, Fig. 7 is put under the situation of afterwards filling configuration the sequential chart of coherent signal when discharging and recharging program earlier for electric capacity measurement device 502 is set at.When discharging and recharging control module 514 are discharge configurations and to discharge and recharge control module 516 are charging configurations, and reference voltage is set at V REF3≤ V REF2≈ V REF1The time, by signal shown in Figure 7 as can be known, switch SW 1 is closed after conducting a period of time when the program of discharging and recharging is initial, and testing capacitance 500 is precharged to reference voltage V REF1When switch SW 2 conductings, discharge and recharge control module 514 and carry out the electric charge transfer, testing capacitance 500 discharges.Voltage V on testing capacitance 500 CMDrop to and be less than or equal to reference voltage V REF2The time, signal S3 gauge tap SW3 conducting discharges and recharges 516 pairs of testing capacitances 500 of control module and charges.The charging action continues to signal S3 gauge tap SW3 and closes, that is the voltage V on the testing capacitance 500 CMBe greater than or equal to reference voltage V REF2Till.After a plurality of runnings that discharge and recharge the cycle, digital signal processing unit 524 is converted to count value Dx with signal SB.Measure device 502 in electric capacity and be set at and put earlier when afterwards filling configuration, above-mentioned reference voltage is set V REF3≤ V REF2≈ V REF1Only be one embodiment of the invention, reference voltage also can be designed to V REF3≤ V REF2≤ V REF1, to be applicable to the great situation of testing capacitance amount.
Processing unit 504 is coupled to and discharges and recharges control module 514,516, digital signal processing unit 524 and internal memory 504.As described above, processing unit 504 is used for according to the variable quantity between count value Dx and the basic count value, has judged whether that touch action takes place, and according to count value Dx, the charging ability or the discharge capability of 510 pairs of testing capacitances 500 of adjustment cycle control circuit.In addition, signal S1, the S2 of gauge tap SW1, SW2 are produced by processing unit 504.
Processing unit 502 is adjusted the mode of charging and discharging capabilities, illustrates that as Fig. 8 Fig. 8 is the synoptic diagram of the embodiment of the invention one flow process 80.Flow process 80 is used for processing unit 504, is used for adjusting charging ability or the discharge capability that electric capacity is measured device 502.Flow process 80 includes following steps:
Step 800: beginning.
Step 802: receive corresponding to the voltage signal V on the testing capacitance 500 CMCount value Dx.
Step 804: check that count value Dx is whether less than a higher limit of a preset range.If carry out step 808; If not, carry out step 806.
Step 806: downgrade electric capacity and measure the charging ability of device 502 or increase the discharge capability that electric capacity is measured device 502, get back to step 802.
Step 808: check that count value Dx is whether greater than a lower limit of this preset range.If carry out step 812; If not, carry out step 810.
Step 810: increase electric capacity and measure the charging ability of device 502 or downgrade the discharge capability that electric capacity is measured device 502, get back to step 802.
Step 812: finish.
By flow process 80 as can be known, processing unit 504 judges with a predetermined count value scope DL~DU whether count value Dx is too high or too low, correspondingly to adjust charging ability or discharge capability, the too high or too low expression environment of count value Dx electric capacity may change because of the laying dust on external factor such as temperature, humidity or the contact panel.Predetermined count value scope can be set according to the maximum count value that processing unit 504 may receive, and for example upper limit count value DU is set at 80% of maximum count value, and lower limit count value DL is set at 20% of maximum count value.
Step 804 and step 808 can reduce: check whether count value Dx is positioned at preset range, and step 806 and step 810 can reduce: adjust charging ability or discharge capability that electric capacity is measured device 502.When count value Dx greater than upper limit count value DU, processing unit 504 judges that count value Dx are too high, must downgrade charging ability or increase discharge capability; When count value Dx less than lower limit count value DL, processing unit 504 judges that count value Dx are low excessively, must increase charging ability or downgrade discharge capability.The adjustment of 504 pairs of charging and discharging capabilities of processing unit is carried out till count value Dx is positioned at predetermined count value scope DL~DU, and the charge or discharge ability of this moment is the most suitable setting.Note that when carrying out step 806 and step 810 processing unit 504 can be adjusted charging ability and the discharge capability that electric capacity is measured device 502 simultaneously, or selects an adjustment.
Please refer to Fig. 9, Fig. 9 is that electric capacity is measured device 502 and is set at and fills earlier when afterwards putting configuration, a sequential chart of the coherent signal when discharging and recharging program, and processing unit 504 is adjusted the pattern of charging abilities according to flow process 80 as shown in Figure 9.In Fig. 9, to suppose to discharge and recharge control module 514 and have three sections charging ability CC1, CC2, CC3 can select, the charging ability size order is CC1<CC2<CC3; Signal waveform corresponding to charging ability CC1, CC2, CC3 is represented with long dotted line, solid line, short dash line respectively.Charge with charging ability CC2 when discharging and recharging control module 514, processing unit 504 is checked and is learnt the upper limit of the count value Dx of reception greater than preset range simultaneously, be that the dutycycle of signal SB is when excessive, the charging ability that processing unit 504 will discharge and recharge control module 514 comes down to charging ability CC1, reduces and carries out the electric weight that electric charge shifts at every turn.As shown in Figure 9, when charging with charging ability CC1, the voltage V on the testing capacitance 500 CMClimb not if originally so high, the dutycycle of signal SB diminishes, cycle detection circuit 520 is correspondingly exported less count value Dx.
Similarly, charge with charging ability CC2 when discharging and recharging control module 514, processing unit 504 is checked and is learnt the lower limit of the count value Dx of reception less than preset range simultaneously, be the dutycycle of signal SB when too small, the charging ability that processing unit 504 will discharge and recharge control module 514 increases and is charging ability CC3.At this moment, the dutycycle of signal SB correspondingly becomes greatly, and cycle detection circuit 520 is correspondingly exported bigger count value Dx.Processing unit 504 through one to for several times judgement count value Dx and adjust charging ability after, the charging ability that discharges and recharges control module 514 is set in the most suitable state.
Please refer to Figure 10, Figure 10 is that electric capacity is measured device 502 and is set at and fills earlier when afterwards putting configuration, a sequential chart of the coherent signal when discharging and recharging program, and processing unit 504 is adjusted the pattern of discharge capabilities according to flow process 80 as shown in Figure 10.In Figure 10, to suppose to discharge and recharge control module 516 and have three sections discharge capability DC1, DC2, DC3 can select, the discharge capability size order is DC1>DC2>DC3; Signal waveform corresponding to discharge capability DC1, DC2, DC3 is represented with long dotted line, solid line, short dash line respectively.Discharge with discharge capability DC2 when discharging and recharging control module 516, processing unit 504 is checked and is learnt count value Dx going up in limited time greater than preset range simultaneously, the discharge capability that processing unit 504 will discharge and recharge control module 516 increases and is discharge capability DC1, to increase discharge capacity, shortens discharge time.As shown in Figure 10, when increasing, discharge capability is discharge capability DC1, the voltage V on the testing capacitance 500 CMComparatively fast drop to and be lower than voltage V REF3, the dutycycle of signal SB diminishes, and cycle detection circuit 520 is correspondingly exported less count value Dx.
Similarly, discharge with discharge capability DC2 when discharging and recharging control module 516, processing unit 504 is checked and is learnt the lower limit of count value Dx less than preset range simultaneously, the discharge capability that processing unit 504 will discharge and recharge control module 516 comes down to discharge capability DC3, to reduce discharge capacity, increase discharge time, the dutycycle of signal SB correspondingly becomes greatly, and cycle detection circuit 520 is correspondingly exported bigger count value Dx.Processing unit 504 is set in the most suitable state with the discharge capability that discharges and recharges control module 516 after adjusting to discharge capability for several times through one.
Fig. 9 and Figure 10 have shown that filling the electric capacity of afterwards putting configuration earlier measures in the device 502, and charging ability and discharge capability are corresponding to the relation of the dutycycle of signal SB.When being set to put earlier, electric capacity measurement device 502 afterwards fills configuration, processing unit 504 also can be adjusted the discharge capability that discharges and recharges control module 514 and discharge and recharge the charging ability of control module 516, this area tool knows that usually the knowledgeable is when not describing in detail at this according to aforementioned understanding correlation timing figure.
As from the foregoing, when processing unit 504 inspections learn that the count value Dx that receives is positioned at preset range, expression processing unit 504 will discharge and recharge the charging ability of control module 514 or discharge and recharge the discharge capability of control module 516, be adjusted to and be applicable under the new environment electric capacity condition, avoid because of unaccommodated charge or discharge ability causes count value Dx too high or too low, and the judgement of follow-up touch-control action was lost efficacy.
In known contactor control device, when the environment electric capacity of contact panel changes because of external factor, electric capacity is measured the count value that device produced may be too high or too low, has not been suitable for the judgement of touch event, yet can not changed the charging and discharging capabilities of testing capacitance.In this case, the count value that processing unit obtains can't be represented correct testing capacitance amount, and whether the touch action that also just can't judge rightly takes place.In comparison, in contactor control device 50, when electric capacity is measured count value Dx that device 50 produced because of environment electric capacitance change when too high or too low, processing unit 504 is according to count value Dx, adjust electric capacity and measure the charge or discharge ability of 50 pairs of testing capacitances 500 of device, charging ability or discharge capability are applicable under the condition of new environment electric capacity.Thus, count value Dx can get back in the predetermined count value scope, and electric capacity is measured the function that device 50 measures the testing capacitance amounts and replied, so whether processing unit 504 touch action that can judge rightly takes place.
Please refer to Figure 11, Figure 11 is that electric capacity is measured device 502 and is set to fill earlier and afterwards puts configuration, the sequential chart of the coherent signal when discharging and recharging program.In Figure 11, represent with long dotted line, solid line, short dash line respectively that corresponding to the signal waveform of testing capacitance amount C1, C2, C3 testing capacitance amount size order is C1<C2<C3.According to the V=Q/C principle, suppose that testing capacitance amount originally is C2, the testing capacitance quantitative change the C3 greatly if electric weight that the electric charge that charges shifts is constant, voltage V CMStep-down; Otherwise, if the electric weight that electric charge shifts is constant the testing capacitance quantitative change little be C1, voltage V CMImprove.If measure discharge time according to discharging and recharging time τ=R * C principle, when the testing capacitance amount was C3 by the C2 increase, increased discharge time, and it is big that the dutycycle of signal SB becomes; Otherwise when the testing capacitance amount was reduced to C1 by C2, shortened discharge time, and the dutycycle of signal SB diminishes.By the 11st figure as can be known, the electric capacity of testing capacitance 500 is represented in the variation of the dutycycle of signal SB.In like manner, if measure device 502 and measure different testing capacitance amounts to put the electric capacity of afterwards filling configuration earlier, also the dutycycle of signal SB is represented the electric capacity of testing capacitance 500 as can be known, does not give unnecessary details at this.
Please refer to Figure 12, Figure 12 is the synoptic diagram of the embodiment of the invention one flow process 120.Flow process 120 is used for processing unit 504, is used for detecting touch action and whether takes place.Flow process 120 includes following steps:
Step 1200: beginning.
Step 1202: whether the charging and discharging capabilities of checking electric capacity measurement device 502 is set.If not,
Carry out step 1204; If carry out step 1210.
Step 1204: testing capacitance 500 is discharged and recharged with predetermined charging ability and discharge capability.
Step 1206: carry out a charging and discharging capabilities setting program.
Step 1208:, reset basic count value corresponding to the environment electric capacity according to the count value that receives at present.
Step 1210: use charging ability and the discharge capability set that testing capacitance 500 is discharged and recharged, and receive the count value that electric capacity measurement device 502 is exported.
Step 1212: check whether basic count value is set.If carry out step 1214; If not, get back to step 1208.
Step 1214: calculate the count value of reception and the variable quantity between the basic count value, and judge whether to take place touch action according to variable quantity.
Step 1216: check whether count value is positioned at preset range.If get back to step 1210; If not, get back to step 1206.
When electric capacity was measured device 502 and is connected with testing capacitance 500 first, the charging and discharging capabilities that is applicable to testing capacitance 500 may not set as yet and finished.According to step 1202, processing unit 504 checks earlier whether the charging and the discharge capability that discharge and recharge control module 514 and 516 are set; If do not set as yet, processing unit 504 will charge earlier and discharge capability is set at predetermined value, testing capacitance 500 is discharged and recharged, and carry out a charging and discharging capabilities setting program, be i.e. the flow process 80 of the 8th figure.By flow process 80, charging and discharge capability that processing unit 504 will discharge and recharge control module 514 and 516 are set in the state that measures testing capacitance 500 that is best suited for.Next, according to step 1208, processing unit 504 resets basic count value according to count value Dx.Please note, if previous charging and discharging capabilities setting program is to carry out for the first time, it is to be connected with testing capacitance 500 first that the expression electric capacity is measured device 502, may not store basic count value in the internal memory 506 corresponding to testing capacitance 500, therefore, processing unit 504 directly is set at basic count value with count value Dx.
When charging and discharging capabilities setting program first finish and basic count value set finish after, or processing unit 504 is checked when having learnt that charging and discharging capabilities has been set according to step 1202, according to step 1210, processing unit 504 receives electric capacity and measures the count value Dx that device 502 is exported.By as can be known aforementioned, it is periodically to export count value Dx that electric capacity is measured device 502, and step 1212 and step 1214 are promptly carried out in receive count value Dx at every turn.According to step 1212, processing unit 504 checks whether basic count value is set, if basic count value is not set, the count value Dx that processing unit 504 will receive at present is set at basic count value; If basic count value is set, processing unit 504 calculates the count value Dx of reception and the variable quantity between the basic count value, judges whether to take place touch action according to variable quantity.
When judging whether touch action takes place, according to step 1216, processing unit 504 checks whether count value Dx is positioned at preset range, i.e. employed predetermined count value scope DL~DU in the flow process 80.If count value Dx is positioned at preset range, the expression charging and discharging capabilities is applicable to the present testing capacitance that measures 500 is discharged and recharged, can not cause the time of discharging and recharging too short or long and make the misjudgment of touch action, therefore, processing unit 504 control capacitance measuring devices 502 discharge and recharge testing capacitance 500 with identical charging and discharging capabilities, and getting back to step 1210, count pick up value Dx and the touch action of proceeding step 1212 and step 1214 are judged.Relatively, if count value Dx is positioned at outside the preset range, the environment electric capacity of expression contact panel may change because of external factor, uses the resulting count value Dx of original charging and discharging capabilities, can't be used for correctly judging touch action.At this moment, processing unit 504 carry out step 1206, that is carries out flow process 80 described charging and discharging capabilities setting programs, resets the charging and discharging capabilities that electric capacity is measured device 502.
It should be noted that, under the situation that the charging and discharging capabilities setting program carries out the non-first time, when processing unit 504 finishes the charging and discharging capabilities setting program, when desiring to reset basic count value (as step 1208), count value Dx that processing unit 504 will receive at present and present basic count value compute weighted, producing new basic count value, rather than the count value that receives directly is set at basic count value.Thus, basic count value is to follow the environment changes in capacitance and change leniently, can not make the setting mistake of basic count value because violent change of temporary transient environment.
In brief, according to flow process 120, processing unit 504 not only can carry out the judgement of touch-control action and when environment electric capacity changes, adjustment is to the charging and discharging capabilities of testing capacitance 500, and can be when environment electric capacity changes, upgrade basic count value, make the judgement of touch-control action have the most accurate basic count value to compare according to this.The electric capacity of known contactor control device is measured the charging and discharging capabilities of device and can not be adjusted, basic count value corresponding to the environment electric capacity also can't be upgraded, in comparison, according to flow process 80 and flow process 120, the electric capacity of contactor control device 50 is measured the charging and discharging capabilities of device 502 and can be adjusted with environmental change, the basis count value is renewable, so the judgement of touch-control action is more accurate, and also can be used for measuring the contact panel of different qualities.
It is one embodiment of the invention that the electric capacity of Fig. 5 is measured device 502, and this area tool knows that usually the knowledgeable is when doing different variations and modification according to this.Please refer to Figure 13, examine Figure 13 measures device 602 for the embodiment of the invention one electric capacity synoptic diagram.Electric capacity measure device 602 include one-period control circuit 610 and one-period testing circuit 620.Cycle control circuit 610 includes a voltage generation unit 612, discharges and recharges control module 614,616, an analog to digital converter 618 and switch SW 1~SW3, and cycle detection circuit 620 includes an analog to digital converter 622 and a digital signal processing unit 624.Note that analog to digital converter 622 is a N position analog to digital converter, different with the analog to digital converter 522 among Fig. 5, corresponding unit class is not seemingly given unnecessary details at this in other unit and the electric capacity measurement device 502.
Analog to digital converter 622 is coupled to a testing capacitance 600 and digital signal processing unit 624, is used for the voltage V on the testing capacitance 600 CMBe converted to a N position signal SD, export digital signal processing unit 624 to.The scope of analog to digital converter 622 employed sampling voltages is a reference voltage V LTo a reference voltage V UBe similar to electric capacity and measure reference voltage V in the device 502 REF3Setting means, measure device 602 when electric capacity and be set to fill earlier and afterwards put configuration, above-mentioned sampling voltage scope V L~V UMust be greater than to testing capacitance 600 precharge reference voltage V REF1And analog to digital converter 618 is used for and voltage V CMReference voltage V relatively REF2When being set to put earlier, electric capacity measurement device 602 afterwards fills configuration, sampling voltage scope V L~V UMust be less than reference voltage V REF1And reference voltage V REF2Digital signal processing unit 624 is converted to a count value Dx with signal SD, exports the back-end processing unit to.
Please refer to Figure 14 and Figure 15, Figure 14 and Figure 15 are respectively that electric capacity is measured device 602 and is set to fill earlier and afterwards puts configuration and put earlier under the situation of afterwards filling configuration, and the sequential chart of coherent signal when discharging and recharging program is wherein described signal S1~S3, voltage V CMAnd signal SD.In expression signal S3 and voltage V CMThe time, represent with long dotted line, solid line, short dash line respectively that corresponding to the signal waveform of testing capacitance amount C1, C2, C3 testing capacitance amount size order is C1<C2<C3.By Figure 14 and Figure 15 as can be known, the testing capacitance scale shows by the dutycycle of signal SD and represents, so the processing unit that electric capacity is measured device 602 rear ends can be adjusted the charging and discharging capabilities that discharges and recharges control module 614 or 616 according to count value Dx.
Electric capacity in Fig. 5 is measured in the device 502, and the charging ability or the discharge capability that discharge and recharge control module 516 are to be adjusted according to count value Dx by the processing unit 504 of rear end.The present invention proposes another embodiment, order is filled the discharge capability of the electric capacity measurement device of afterwards putting configuration earlier or is put the electric capacity of afterwards filling configuration earlier and measures the charging ability of device directly according to the voltage on the testing capacitance, measure adjustment voluntarily in the device in electric capacity, need not be by the processing unit of rear end.Please refer to Figure 16, Figure 16 is the synoptic diagram that the embodiment of the invention one electric capacity is measured device 702.Electric capacity measure device 702 include one-period control circuit 710 and one-period testing circuit 720.Cycle control circuit 710 includes a voltage generation unit 712, discharges and recharges control module 714,716, an analog to digital converter 718 and switch SW 1~SW3.Cycle detection circuit 720 includes an analog to digital converter 722 and a digital signal processing unit 724.
Note that the different analog to digital converters 718 that are that electric capacity measurement device 702 and electric capacity are measured device 502 are N position analog to digital converters.Analog to digital converter 718 is coupled to a testing capacitance 700 and discharges and recharges control module 716, is used for the voltage V on the testing capacitance 700 CMBe converted to a N position signal SD2, export to and discharge and recharge control module 716.The scope of analog to digital converter 718 employed sampling voltages is a reference voltage V LTo a reference voltage V UDischarge and recharge control module 716 according to signal SD2, by 2 NIn the charging ability of individual different brackets or the discharge capability (deciding), select a corresponding charging ability or a discharge capability, testing capacitance 700 is discharged and recharged on the configuration that discharges and recharges control module 716.Compared to Fig. 5, the charging ability or the discharge capability that discharge and recharge control module 716 directly determine according to signal SD2, but not are determined according to the count value that cycle detection circuit 720 is produced by the processing unit of rear end.
It is noted that the binding that discharges and recharges between control module 716 and the testing capacitance 700 is still by switch SW 3 controls, but the signal of gauge tap SW3 is to discharge and recharge the signal S3 that control module 716 is exported, but not the signal SD2 that analog to digital converter 718 is exported.Measure the mode that configuration and setting and the adjustment of back-end processing unit discharge and recharge the charging and discharging capabilities of control module 714 that discharges and recharges of device 702 about electric capacity, please refer to aforementioned electric capacity measuring device 502, do not give unnecessary details at this.
The above only is the preferred embodiments of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (32)

1. a touch detection method that is used for a contactor control device is characterized in that this contactor control device includes a contact panel, and this touch detection method includes:
Check whether a charging ability and a discharge capability are set, this charging ability and this discharge capability are in order to a testing capacitance in this contact panel is discharged and recharged;
When this charging ability and this discharge capability have been set, this testing capacitance is discharged and recharged, and receive a count value, this count value is corresponding to the electric capacity on this testing capacitance;
Check whether a basic count value is set, this basis count value is the electric capacity of this testing capacitance when not touched corresponding to this contact panel;
When this basis count value has been set, calculate the variable quantity between this count value and this basis count value, to judge according to this variable quantity whether this contact panel is touched;
Check whether this count value is positioned at a preset range; And
When this count value is not in this preset range, carry out a charging and discharging capabilities setting program, to upgrade this charging ability and this discharge capability.
2. touch detection method as claimed in claim 1 is characterized in that this charging and discharging capabilities setting program includes:
Receive this count value;
Check whether this count value is positioned at this preset range, to produce a check result; And
And, adjust this charging ability and this discharge capability according to this check result.
3. touch detection method as claimed in claim 2 is characterized in that the step of adjusting this charging ability and this discharge capability according to this check result includes:
When this check result is represented this count value greater than a higher limit of this preset range, downgrade this charging ability.
4. touch detection method as claimed in claim 2 is characterized in that the step of adjusting this charging ability and this discharge capability according to this check result includes:
When this check result is represented this count value greater than a higher limit of this preset range, increase this discharge capability.
5. touch detection method as claimed in claim 2 is characterized in that the step of adjusting this charging ability and this discharge capability according to this check result includes:
When this check result is represented this count value less than a lower limit of this preset range, increase this charging ability.
6. touch detection method as claimed in claim 2 is characterized in that the step of adjusting this charging ability and this discharge capability according to this check result includes:
When this check result is represented this count value less than a lower limit of this preset range, downgrade this discharge capability.
7. touch detection method as claimed in claim 1 is characterized in that this touch detection method also includes:
When upgrading this charging ability and this discharge capability, reset this basis count value according to this count value.
8. touch detection method as claimed in claim 7, it is characterized in that resetting the step of this basis count value according to this count value, be that this count value and this basis count value are computed weighted, produce an operation result, and this operation result is set at this basis count value.
9. touch detection method as claimed in claim 1 is characterized in that this touch detection method also includes:
When this charging ability and this discharge capability are not set, this testing capacitance is discharged and recharged with a predetermined charging ability and a predetermined discharge ability;
Carry out this charging and discharging capabilities setting program; And
This count value that will be received in the time of will carrying out this charging and discharging capabilities setting program is set at this basis count value.
10. contactor control device is characterized in that including:
One contact panel;
One electric capacity is measured device, is coupled to this contact panel, is used for a testing capacitance in this contact panel is discharged and recharged, and produces a count value according to the voltage on this testing capacitance, and this count value is corresponding to the electric capacity of this testing capacitance; And
One processing unit, be coupled to this electric capacity and measure device, be used for carrying out a touch detection program, to judge whether this contact panel is touched, in this touch detection program, this processing unit is adjusted this electric capacity according to this count value and is measured a charging ability and the discharge capability of device in order to this testing capacitance is discharged and recharged.
11. contactor control device as claimed in claim 10 is characterized in that this touch detection routine package that this processing unit carries out contains:
Check whether this charging ability and this discharge capability are set;
When this charging ability and this discharge capability have been set, control this electric capacity and measure device this testing capacitance is discharged and recharged, and receive this count value;
Check whether a basic count value is set, this basis count value is the electric capacity of this testing capacitance when not touched corresponding to this contact panel;
When this basis count value has been set, calculate the variable quantity between this count value and this basis count value, to judge according to this variable quantity whether this contact panel is touched;
Check whether this count value is positioned at a preset range; And
When this count value is not in this preset range, carry out a charging and discharging capabilities setting program, measure this charging ability and this discharge capability of device to upgrade this electric capacity.
12. contactor control device as claimed in claim 11 is characterized in that this charging and discharging capabilities setting program that this processing unit carries out includes:
Receive this count value;
Check whether this count value is positioned at this preset range, to produce a check result; And
And, adjust this charging ability and this discharge capability that this electric capacity is measured device according to this check result.
13. contactor control device as claimed in claim 12 is characterized in that this processing unit when this check result is represented this count value greater than a higher limit of this preset range, downgrades this charging ability.
14. contactor control device as claimed in claim 12 is characterized in that this processing unit when this check result is represented this count value greater than a higher limit of this preset range, increases this discharge capability.
15. contactor control device as claimed in claim 12 is characterized in that this processing unit when this check result is represented this count value less than a lower limit of this preset range, increases this charging ability.
16. contactor control device as claimed in claim 12 is characterized in that this processing unit when this check result is represented this count value less than a lower limit of this preset range, downgrades this discharge capability.
17. contactor control device as claimed in claim 11 is characterized in that this processing unit when upgrading this charging ability and this discharge capability, resets this basis count value according to this count value simultaneously.
18. contactor control device as claimed in claim 17 is characterized in that this processing unit computes weighted this count value and this basis count value, produces an operation result, and this operation result is set at this basis count value.
19. contactor control device as claimed in claim 11 is characterized in that this processing unit when this charging ability and this discharge capability are not set, carries out following steps:
With a predetermined charging ability and a predetermined discharge ability this testing capacitance is discharged and recharged;
Carry out this charging and discharging capabilities setting program; And
This count value that will be received in the time of will carrying out this charging and discharging capabilities setting program is set at this basis count value.
20. contactor control device as claimed in claim 11 is characterized in that this electric capacity measurement device includes:
One charging control unit is used for to this testing capacitance charging;
One discharge control module is used for to this testing capacitance discharge;
One first switch is coupled to this testing capacitance and this charging control unit, is used for controlling the binding between this charging control unit and this testing capacitance according to one first switching signal;
One second switch is coupled to this testing capacitance and this discharge control module, is used for controlling the binding between this discharge control module and this testing capacitance according to a second switch signal;
One first analog to digital converter is coupled to this testing capacitance, and being used for the voltage transitions on this testing capacitance is one first signal; And
One-period testing circuit, be coupled to this testing capacitance, being used for the voltage transitions on this testing capacitance is a count value, exports this processing unit to, this count value is represented the electric capacity of this testing capacitance.
21. contactor control device as claimed in claim 20 is characterized in that this electric capacity measurement device includes in addition:
One voltage generation unit is coupled to this first analog to digital converter and this cycle detection circuit, is used for producing a plurality of reference voltages, uses for this first analog to digital converter and this cycle detection circuit; And
One the 3rd switch is coupled to this testing capacitance and this voltage generation unit, is used for controlling the binding between this voltage generation unit and this testing capacitance according to one the 3rd switching signal.
22. contactor control device as claimed in claim 21 is characterized in that this voltage generation unit is used for before this charging control unit and this discharge control module discharge and recharge this testing capacitance this testing capacitance being precharged to a predetermined voltage in addition.
23. contactor control device as claimed in claim 22 is characterized in that this predetermined voltage is similar to the employed reference voltage of this first analog to digital converter.
24. contactor control device as claimed in claim 20 is characterized in that this first analog to digital converter is one 1 analog to digital converters, other is coupled to this second switch, and this first signal that this first analog to digital converter is produced is this second switch signal.
25. contactor control device as claimed in claim 20 is characterized in that this first analog to digital converter is one 1 analog to digital converters, other is coupled to this first switch, and this first signal that this first analog to digital converter is produced is this first switching signal.
26. contactor control device as claimed in claim 20, it is characterized in that this first analog to digital converter is a multidigit analog to digital converter, other is coupled to this discharge control module, and the control module that should discharge is according to this first signal, by selecting a corresponding discharge capability in a plurality of discharge capabilities, in order to this testing capacitance is discharged.
27. contactor control device as claimed in claim 26 is characterized in that this first switching signal is that this processing unit produces, and this second switch signal is that this discharge control module produces.
28. contactor control device as claimed in claim 20, it is characterized in that this first analog to digital converter is a multidigit analog to digital converter, other is coupled to this charging control unit, and this charging control unit is according to this first signal, by selecting a corresponding charging ability in a plurality of charging abilities, in order to this testing capacitance is charged.
29. contactor control device as claimed in claim 28 it is characterized in that this first switching signal is that this charging control unit produces, and this second switch signal is that this processing unit produces.
30. contactor control device as claimed in claim 20 is characterized in that this cycle detection circuit includes:
One second analog to digital converter is coupled to this testing capacitance, and being used for the voltage transitions on this testing capacitance is a secondary signal; And
One digital signal processing unit is coupled to this second comparer, is used for this secondary signal is converted to this count value.
31. contactor control device as claimed in claim 30 is characterized in that this second analog to digital converter is one 1 analog to digital converters.
32. contactor control device as claimed in claim 30 is characterized in that this second analog to digital converter is a multidigit analog to digital converter.
CN 201010178108 2010-05-18 2010-05-18 Touch sensing method and related touch device Expired - Fee Related CN102253772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010178108 CN102253772B (en) 2010-05-18 2010-05-18 Touch sensing method and related touch device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010178108 CN102253772B (en) 2010-05-18 2010-05-18 Touch sensing method and related touch device

Publications (2)

Publication Number Publication Date
CN102253772A true CN102253772A (en) 2011-11-23
CN102253772B CN102253772B (en) 2013-10-16

Family

ID=44981065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010178108 Expired - Fee Related CN102253772B (en) 2010-05-18 2010-05-18 Touch sensing method and related touch device

Country Status (1)

Country Link
CN (1) CN102253772B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376969A (en) * 2013-06-05 2013-10-30 科世达(上海)管理有限公司 Capacitive touch circuit
CN104484084A (en) * 2014-12-18 2015-04-01 合肥鑫晟光电科技有限公司 Driving method of touch screen, touch screen and display device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387669A (en) * 2007-09-14 2009-03-18 欧姆龙株式会社 Sensing apparatus and method, and program therefore
CN101414819A (en) * 2007-10-16 2009-04-22 通泰积体电路股份有限公司 Sensing method and apparatus for controlling current source and compensating touch control capacitance
WO2010004867A1 (en) * 2008-07-08 2010-01-14 セイコーインスツル株式会社 Electrostatic detection device, information equipment and electrostatic detection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387669A (en) * 2007-09-14 2009-03-18 欧姆龙株式会社 Sensing apparatus and method, and program therefore
CN101414819A (en) * 2007-10-16 2009-04-22 通泰积体电路股份有限公司 Sensing method and apparatus for controlling current source and compensating touch control capacitance
WO2010004867A1 (en) * 2008-07-08 2010-01-14 セイコーインスツル株式会社 Electrostatic detection device, information equipment and electrostatic detection method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376969A (en) * 2013-06-05 2013-10-30 科世达(上海)管理有限公司 Capacitive touch circuit
CN103376969B (en) * 2013-06-05 2016-12-28 科世达(上海)管理有限公司 A kind of capacitive touch circuit
CN104484084A (en) * 2014-12-18 2015-04-01 合肥鑫晟光电科技有限公司 Driving method of touch screen, touch screen and display device
WO2016095385A1 (en) * 2014-12-18 2016-06-23 京东方科技集团股份有限公司 Touch screen driving method, touch screen, and display device
US9965084B2 (en) 2014-12-18 2018-05-08 Boe Technology Group Co., Ltd. Driving method of touch screen, touch screen and display apparatus

Also Published As

Publication number Publication date
CN102253772B (en) 2013-10-16

Similar Documents

Publication Publication Date Title
TWI410853B (en) Capacitance measurement device for a touch control device
CN101833044B (en) System and method for determining capacitance value
US7205776B2 (en) Capacitance measuring apparatus and method, and program
CN102253289B (en) Electric capacity measuring device for touch control device
CN101060321B (en) Charge transport device, touch induction device and method
CN102576269B (en) Capacitive touch sensor device configuration systems and methods
CN102033166B (en) Method and apparatus to measure self-capacitance using single pin
US8179380B2 (en) Method and apparatus for implementing a capacitive touch slider
USRE46317E1 (en) Normalizing capacitive sensor array signals
US9547399B2 (en) Injected touch noise analysis
CN102667690B (en) Methods and apparatus for performing capacitive touch sensing and proximity detection
CN203465699U (en) Capacitor sensing system using half-period discontinuous integral
TWI410852B (en) Touch detection method and related touch control device
CN103440073B (en) Get rid of the capacitance sensing circuit of effect of parasitic capacitance
CN103675463A (en) Liquid dielectric constant measuring system self-adapting to scale and precision
CN103488360A (en) Baseline capacitance calibration
CN110418970A (en) Ratio formula mutual capacitance-code converter
CN102253772B (en) Touch sensing method and related touch device
TW200917130A (en) Method of current source for control and compensation touch sensing capacitor detector and apparatus thereof
CN102236481A (en) Approach detection method of capacitance touch plate and application thereof
KR101109495B1 (en) calibration method for capacitance measurement circuit and touch screen device using the same
CN104767512A (en) Capacitance touch key-press signal measurement device and measurement method thereof
CN102692545B (en) Detection circuit for detecting voltage of MCU (micro controller unit)
CN111078054A (en) Touch detection device, control method thereof and display module
EP2722985B1 (en) Method of differential measurement of voltage levels of capacitive change.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131016

Termination date: 20210518