Background technology
The application of touch-screen is more and more universal, a large amount of touch-screens that adopt such as mobile phone, panel computer (PAD), laptop computer, desktop computer display screen and vehicle-carrying display screen.Wherein projected capacitive touch screen, because its light transmission is good, antijamming capability strong and can support the features such as multiple point touching, obtains applying more and more widely.Projected capacitive touch screen is divided into two kinds of self-capacitance formula and mutual capacitance types, the identification of in mutual capacitance type touch screen application, being counted with touch point in position, touch point is by first screen divider being become to several lattice units, again to each lattice unit in sequence or mode scan, whether the position of identifying each lattice unit place is touched, and finally counts that the process of the lattice unit sum that is touched completes.The scanning of possessive case unit is called to scanning one frame for one time.While scanning each lattice unit, by line, it is applied to one and drive electric signal, or its adjacent (left-right and front-back), the lattice unit that is stacked (up and down) are applied to one drive electric signal, then measure the response that the excitation of signal thus produces, whether the difference of response can be used for judging having in scanned lattice unit position and touch the dynamics size that occurs, touch etc.
Mutual capacitance touch control integrated circuit utilizes between lattice unit the variation of the self-capacitance Cs of mutual capacitance Cm and lattice unit in the time having no touch to be determined with no touch and count in touch point, and its principle of work as shown in Figure 1 and Figure 2.In figure, E is exciting signal source, can be the electric signal of random waveform shape; K1, k2 is switch; R is the dead resistance between touch-screen lattice unit and control integration circuit; Cm is the mutual capacitance between the grid needing; Cs is the self-capacitance on lattice unit to be measured and ground; Vc is the excitation signal voltage of lattice to be measured unit; Vo is integrator output voltage.While having touch, Cm becomes Cm', and Cs becomes Cs'.
, T is integrating range or drives between signal applied area, Vc (t) is pumping signal E(t) and the voltage responsive that produces at the beginning of lattice to be measured unit.
Traditional scan method is that size and the form of driving signal that each lattice unit is applied is identical, and the method for measuring response is also identical.Dispersiveness, the unevenness of screen aging and the randomness of application scenario electromagnetic interference (EMI) of parameter while manufacture due to impact, the touch-screen of various parasitic parameters, the Vc (t) that identical driving signal produces is not quite similar, and then produce different touch effects, the driving signal many times applying is also not suitable for this lattice unit, cause touching poor effect, react insensitive.
Summary of the invention
For addressing the above problem, the invention provides a kind of dynamic setting method and circuit of touch-screen control integration drives signal, waveform and the size of driving signal E (t) to each lattice unit are dynamically adjusted, to find the driving signal of the most applicable each lattice unit, obtain best touch effect.
For achieving the above object, the technical solution used in the present invention is: a kind of dynamic setting method of touch-screen control integration drives signal, prestore one group and drive signal, driving signal is put in touch-screen lattice unit successively, measure the response signal value that each driving signal produces in the time having touch and no touch, the corresponding driving signal of response signal with the biggest gap is the optimal drive signal of this lattice unit, according to said method for possessive case unit chooses optimal drive signal and be set the driving signal into this lattice unit in follow up scan.For making each lattice unit there is best touch effect, need change and size, shape and the form of the driving signal of each lattice unit are adjusted in external environment impact at any time according to self parameter of lattice unit.Size refers to the voltage amplitude that drives signal; Shape refer to waveform be just, cosine, square wave or triangular wave etc.; Form refers to single cycle waveform, pseudo-random sequence waveform, Chebyshev's waveform or other waveforms.Therefore, need arrange for control integration circuit in advance the driving signal of all size, shape, form or its combination, regularly these signals are applied in lattice unit, for it chooses the driving signal in applicable certain stage.Like this, the driving signal setting for each lattice unit can be different.After touch-screen operation a period of time, the parameter of lattice unit may change, and therefore needs to carry out taking turns again screening, to dynamically adjust the driving signal of lattice unit, ensures that there is best touch effect in each stage.
In driving signal electing process, need by relatively have touch and when no touch the variation of response signal determine optimal driving signal, but without actual touch, only need realize by a testing capacitor, utilize the access simulation of testing capacitor to have the situation of touch, utilize it to disconnect the situation of simulation no touch, measure the response signal that each driving signal produced in both cases, change the corresponding driving signal of maximum response signal and be optimal drive signal.
Because the performance parameter of lattice unit can change along with the interference of the length of service time and extraneous factor, the driving signal of setting when beginning just can not continue to obtain best touch effect to the later stage, therefore, the optimal drive signal of each lattice unit is again chosen at regular intervals and sets, can be in the time of each start, also can be every one minute, one hour, one day, one week or set once January, these are only and enumerate explanation, be not limited to above situation.
Preferably, have and touch and relatively the judging at the ratio of numeric field by output response signal of response signal value when no touch, utilize the maximum of ratio or minimum value to choose best driving signal.If using the voltage at self-capacitance two ends as response signal, the response signal value when response signal value while having touch is less than no touch, is divided by both, and its ratio is less, illustrates that response signal changes greatly, touches best results.
Further, the driving signal prestoring can upgrade and upgrade, and according to circumstances chooses new driving signal and deposits in system, realizes touch-screen and touches the steady in a long-term of effect and even promote.
Size and/or shape and/or the form difference of any two driving signals in the driving signal prestoring.The driving signal prestoring is the combination of different sizes, difformity, multi-form signal, for example, drive signal to be but be not limited to square wave, triangular wave, sine and cosine ripple, Chebyshev's ripple, pseudo-random sequence ripple or their combination.
What described touch-screen control integration drives signal dynamics method to set up adopted dynamically arranges circuit, comprise touch-screen control integration circuit, this circuit is connected to arbitrary lattice to be measured unit by drive signal generator and forms, drive signal generator is connected with the first mutual capacitance of lattice to be measured, lattice to be measured unit self-capacitance, the first self-capacitance two termination integrators of lattice to be measured, access a testing capacitor at lattice unit's self-capacitance to be measured two ends, and by access and the disconnection of a switch arrays control testing capacitor and control integration circuit, simulation has touch and no touch effect; Integrator output terminal is connected with analog to digital converter.Driving in signal dynamics setting up procedure, successively that a testing capacitor is in parallel with self-capacitance in original control integration circuit, whether access and simulated no touch generation by it.Using the drive signal generator that prestores some different driving signals as exciting signal source, successively each driving signal is applied on integrated circuit, when being accessed and do not accessed by measurement compare test electric capacity, the variation of self-capacitance both end voltage, chooses best driving signal.
Preferably, described switch arrays are first switch of connecting with testing capacitor and a second switch in parallel with testing capacitor.The first switch closure, when second switch is opened, testing capacitor place in circuit, in parallel with self-capacitance.The first switch opens, when second switch is closed, testing capacitor and circuit disconnect.
Further, described drive signal generator carries out renewal and the upgrading of built-in driving signal by external terminal, can carry out scene and upgrade or remote update.
This control integration circuit also comprises a driving signal memory cell, for prestoring driving signal to be selected and be the selected driving signals of each lattice unit.Storage unit can be built-in, also can be plug-in.Storage unit can be but be not limited to OPT circuit, ROM, SRAM, DROM, FLASH or EEPROM.It is each driving signal numbering that storage unit prestores while driving signal, only deposits it in the sequence number driving in signal library while storing selected driving signal.
Tool of the present invention has the following advantages:
1. the driving signal that all size, shape and form combination are provided, has expanded the selectable range that drives signal.
2. by the driving signal prestoring successively Access Control integrated circuit, choosing while touch and when no touch response signal changes and the most significantly drives the driving signal of signal as lattice unit, can be lattice unit best driving signal is set, fully ensure the touch effect of each lattice unit.
3. at set intervals with regard to for lattice unit carries out resetting of a wheel drive signal, adjust at any time the driving signal of each lattice unit, adapt to the variation of lattice unit performance parameter, ensure all the time to have best touch effect.
4. the driving signal prestoring can regularly be upgraded and upgrade, and ensures that touch-screen touches the long-term stability of effect.
Embodiment
A kind of touch-screen control integration drives signal dynamics arranges circuit, as shown in Figure 3, this circuit is mutual capacitance touchscreens control integration circuit, comprise that one is built-in with the drive signal generator P of the driving signal of some different sizes, shape and form combination, this drive signal generator P is as exciting signal source, connect with self-capacitance Cs and the mutual capacitance Cm of lattice to be measured unit successively, in series circuit, also have gauge tap k1 and dead resistance R, separately have a gauge tap k2 to be connected in parallel to self-capacitance Cs and mutual capacitance Cm two ends.Gauge tap k1 opens, and when gauge tap k2 is closed, two capacitor discharges, discharge the electric charge in it; Then, gauge tap k1 closure, gauge tap k2 opens, and drive signal generator just can be connected with two electric capacity, for it applies driving signal.This dynamically arranges circuit and also comprises a testing capacitor Ct, and testing capacitor Ct is in parallel with the lattice self-capacitance Cs of unit to be measured by the first switch k3, and testing capacitor Ct is separately parallel with second switch k4.When the first switch k3 closure, second switch k4 open, testing capacitor Ct access, simulation has touch effect; The first switch k3 opens, second switch k4 is when closed, and testing capacitor Ct disconnects, simulation no touch effect; This dynamically arranges circuit and also comprises an integrator U1, be connected to the parallel circuit two ends of self-capacitance and testing capacitor, the voltage at these parallel circuit two ends is carried out to integration, integrator U1 output terminal connects an analog to digital converter U2, the analogue response voltage value of collection is converted to digital signal, is convenient to carry out ratio computing at numeric field.Drive signal generator P carries out renewal and the upgrading of built-in driving signal by external terminal.In addition, this control integration circuit is also built-in or hang with driving signal memory cell outward, for prestoring driving signal to be selected and be the selected driving signals of each lattice unit.
Utilize at regular intervals this to dynamically arrange circuit and choose optimal drive signal for the each lattice of touch-screen unit, while choosing, utilize this circuit to scan each lattice unit, drive signal generator is applied to the driving signal in it in a certain lattice unit successively, measures respectively the output Vt of analog to digital converter in the time that testing capacitor Ct is accessed and do not accessed by switch.For example drive signal to a certain group, in k3 closure, when k4 opens, obtain one group of data Vt, open at k3, when k4 is closed, obtain another group data Vt ', make K=Vt/Vt', the less touch effect of K is better.Like this, just can obtain being applicable to the optimal drive signal of these lattice unit.Possessive case unit is repeated to above process, can obtain the optimal drive signal of possessive case unit.