Background technology
A kind of mutual capacitance detection technique that touch-screen is conventional, RX input end is by receiving TX sweep signal after mutual capacitance induction, the change of TX sweep signal low and high level is by producing induction current Ix after mutual capacitance inductive coupling, Ix electric current is by being stored in integrating capacitor by induced charge after gain control, window control, voltage in then ADC sampling integrating capacitor, MCU judges whether to there occurs touch by the change of ADC sampled value.Be realize by manually adjusting in window control prior art, roughly implementation is like this: in the prototype debug stage, adjusts integration window configuration register, make the touch effect of the touch-screen when certain register configuration best by developer by software; Arrange according to this Configuration Values with the touch panel of the same style of model machine number, due to manufacturing process factor, even the touch panel of same model, may be there is the difference of some capacitance-resistance parameters in the sweep trace of each panel and the line of induction, and the existence of this difference makes the panel of same model adopt unified integration window configuration to become so not desirable.
Refer to shown in Fig. 1, realize schematic diagram for mutual capacitance detection technique of the prior art.Wherein, TX sweep trace sends detection waveform, and the RX line of induction is coupled by mutual capacitance, produces Irx induction current, and Irx induction current is after gain control and window control, and charge storage, on internal integral electric capacity Vcap, then to be sampled Vcap integral voltage by ADC.When finger have touch mutual capacitance screen time, human body is equivalent to an electric conductor and receives the earth, and the electric current on the RX line of induction can be divided by human body and pours off, and the integral voltage obtained like this will change.MCU, by detecting the change of ADC sampled value, judges whether to there occurs touch.The window control mentioned in above-mentioned application is realized by MCU allocation window register in prior art, needs artificial constantly debugging, just can obtain more rational window parameter, complicated operation.In addition, the control of current integration window needs manual debugging to determine, once touch-screen parameter changes, need again to debug, compare and waste time and energy, for products application when the different touch screen, need FAE technician to participate in parameter testing, the popularization for product is comparatively unfavorable.
Utility model content
The purpose of this utility model is the shortcoming overcoming above-mentioned prior art, provides a kind of mutual capacitance touchscreens can removed debug phase copywriter and debug this process of integration window, eliminate the automatic adjustment induction window width configuring the weak point brought because of unification.
To achieve these goals, the mutual capacitance touchscreens of automatic adjustment induction window width of the present utility model has following formation:
This regulates the mutual capacitance touchscreens of induction window width automatically, comprise several TX sweep traces, several RX lines of induction, its principal feature is, induction window width regulating circuit is provided with at the exit of every bar RX line of induction, described induction window width regulating circuit comprises: the first switch, and the first end of the first described switch is connected with the output terminal of the described RX line of induction; Second switch, the first end of described second switch is connected with the output terminal of the described RX line of induction; First biasing circuit, the output terminal of the first described biasing circuit is connected with the second end of the first described switch; Comparer, the first input end of described comparer is connected with the output terminal of the first described biasing circuit; Second biasing circuit, the output terminal of the second described biasing circuit is connected with the second input end of described comparer; The second described biasing circuit and the first described biasing circuit are the biasing circuit of corresponding mirror image; Compensating circuit, described compensating circuit is connected with the output terminal of the second described biasing circuit; Window calculation processing module, the input end of described window calculation processing module is connected with the output terminal of described comparer; Current gain module, the input end of described current gain module is connected with the second end of described second switch; 3rd switch, the first end of the 3rd described switch is connected with the first end of described current gain module, and the control end of the 3rd described switch is connected with the output terminal of described window calculation processing module; Integrating capacitor, the first end of described integrating capacitor is connected with the second end of the 3rd described switch; Second end ground connection of described integrating capacitor; ADC sampling module, is connected with described integrating capacitor, to sample to described integrating capacitor;
Described touch-screen also comprises:
Control module, in order to control each induction window width regulating circuit in touch-screen.
Further, induction window width regulating circuit is provided with at the exit of every bar TX sweep trace.
Further, described compensating circuit comprises the 4th switch, 5th switch, first driving source and the second driving source, the first end of the 4th described switch is connected with the output terminal of the second described biasing circuit, second end of the 4th described switch is connected with the first end of the first described driving source, second termination external power source of the first described driving source, second end of the 5th described switch is connected with the output terminal of the second described biasing circuit, the first end of the 5th described switch is connected with the second end of the second described driving source, the first end ground connection of the second described driving source.
Again further, the 4th described switch and the 5th switch are HF switch.
Further, the first described biasing circuit and the second described biasing circuit include the first resistance, the second resistance, the 3rd driving source; The first end of the first described resistance is connected with the second end of the second described resistance, the first end ground connection of the second described resistance, second end of the first described resistance is connected with the first end of the 3rd described driving source, second termination external power source of the 3rd described driving source, the first end of the first described resistance is the output terminal of the first described biasing circuit or the second described biasing circuit;
Or the first end of the first described resistance is connected with the second end of the second described resistance, first termination of the second described resistance is connected with the first end of the 3rd described driving source, second end ground connection of the 3rd described driving source, second termination external power source of the first described resistance, the first end of the first described resistance is the output terminal of the first described biasing circuit or the second described biasing circuit.
Further, described window calculation processing module comprises counter and logic control element, positive width parameter register, negative width parameter register; Described positive width parameter register, negative width parameter register and comparer are connected with described counter and logic control element respectively, the output terminal of described positive width parameter register, the output terminal of negative width parameter register are connected with the control end of the 3rd described switch, and described control module is connected with described counter and logic control element.
Further, the first described switch, second switch and the 3rd switch are HF switch.
Have employed the mutual capacitance touchscreens of the automatic adjustment induction window width in this utility model, integration window automatic detection function can be realized, manual debugging integration window process can be saved, improve the development efficiency of product; After integration window realizes detection automatically, the window that the control accuracy of its window obtains than manual debugging is accurate, and an accurate integration window is more conducive to by ELIMINATION OF ITS INTERFERENCE outside, simple to operate, has wide range of applications.
Embodiment
In order to more clearly describe technology contents of the present utility model, conduct further description below in conjunction with specific embodiment.
Refer to shown in Fig. 2 to figure, the utility model utilize the first biasing circuit, the second biasing circuit, compensating circuit, comparer CMP, window calculation processing module, the first K switch 1 and second switch K2 combination realize mutual capacitance detect time just (bear) induction current integration window Automatic Measurement Technique.
Referring to shown in Fig. 2, is the schematic diagram of the mutual capacitance touchscreens of automatic adjustment induction window width of the present utility model.This regulates the mutual capacitance touchscreens of induction window width automatically, comprise several TX sweep traces, several RX lines of induction, wherein on the basis of existing technology, induction window width regulating circuit is provided with at the exit of every bar RX line of induction, described induction window width regulating circuit comprises: the first K switch 1, and the first end of the first described K switch 1 is connected with the output terminal of the described RX line of induction; The first end of second switch K2, described second switch K2 is connected with the output terminal of the described RX line of induction; First biasing circuit, the output terminal of the first described biasing circuit is connected with the second end of the first described K switch 1; The first input end of comparer CMP, described comparer CMP is connected with the output terminal of the first described biasing circuit; Second biasing circuit, the output terminal of the second described biasing circuit is connected with second input end of described comparer CMP; The second described biasing circuit and the first described biasing circuit are the biasing circuit of corresponding mirror image; Compensating circuit, described compensating circuit is connected with the output terminal of the second described biasing circuit; Window calculation processing module, the input end of described window calculation processing module is connected with the output terminal of described comparer CMP; Current gain module, the input end of described current gain module is connected with second end of described second switch K2; 3rd K switch 3, the first end of the 3rd described K switch 3 is connected with the first end of described current gain module, and the control end of the 3rd described K switch 3 is connected with the output terminal of described window calculation processing module; The first end of integrating capacitor Vcap, described integrating capacitor Vcap is connected with the second end of the 3rd described K switch 3; The second end ground connection of described integrating capacitor Vcap; ADC sampling module, is connected with described integrating capacitor Vcap, to sample to described integrating capacitor Vcap;
Described touch-screen also comprises:
Control module MCU, in order to control each induction window width regulating circuit in touch-screen.
In a preferred embodiment, induction window width regulating circuit is also provided with at the exit of every bar TX sweep trace.In the specific embodiment of this instructions, only be provided with induction window width regulating circuit with the exit of the RX line of induction to be described, but those skilled in the art can draw the related art scheme when the exit of every bar TX sweep trace is provided with induction window width regulating circuit, do not repeat them here.
Based on above-mentioned circuit connecting relation, the first K switch 1 in the mutual capacitance touchscreens of automatic adjustment induction window width of the present utility model is closed when automatic window detects, and disconnect when normal work, second switch K2 disconnects when automatic window detects, and it is closed when normal work, controlled the work of the first K switch 1 and second switch K2 by control module MCU, the faradic flow direction effect of the control RX line of induction can be played.The second described biasing circuit is used for providing a datum, be connected with second input end of described comparer CMP, and the first described biasing circuit and the second described biasing circuit are the biasing circuit of mirror image, mirror image described herein to be meant to structure identical parameters identical, first biasing circuit inputs with first of described comparer CMP and is connected, in addition, the first described biasing circuit is connected with the described RX line of induction by the first K switch 1, in order to receive the RX induction current under detecting pattern.
When circuit starts to enter automatic window detecting pattern, compensating circuit provides a little offset current, and the comparer input voltage that the second biasing circuit is connected is higher than (or lower than) the first comparer CMP input voltage that connects of biasing circuit; Then TX sweep trace starts to send TX sweep waveform, when by mutual capacitance, the RX line of induction senses that the sweep waveform height of TX sweep trace changes, induction current can be produced, this induction current is added in the first biasing circuit, the comparer CMP input terminal voltage that first biasing circuit is connected raises (or reduction), and comparer CMP output level is overturn.When the high level that TX sweep waveform tends towards stability (or low level), RX induction current fades away, the comparator input terminal voltage that first biasing circuit is connected reduces (or rising), and comparer output level can be made again to overturn; Specifically refer to Fig. 3 and Fig. 4, wherein Fig. 3 is the oscillogram of induction positive current of the present utility model and comparer output level, and Fig. 4 is the oscillogram of induction negative current of the present utility model and comparer output level.
In addition, in a preferred embodiment, the size of the offset current that described compensating circuit provides according to the difference of touch-screen is also different, this offset current can be arranged by control module MCU, such as, in a preferred embodiment, can arrange this offset current is 1 microampere or 10 microamperes etc., does not repeat them here.
Compensating circuit of the present utility model, mainly comprises two kinds of forms: one is positive current compensating circuit, is mainly used in carrying out forward current compensation to reference voltage when positive induction current detects; Another kind is negative current compensating circuit, is mainly used in carrying out negative current compensation to reference voltage when negative induction current detects.In a kind of preferred embodiment, refer to shown in Fig. 5, described compensating circuit comprises the 4th K switch 4, 5th K switch 5, first driving source Ip and the second driving source In, the first end of the 4th described K switch 4 is connected with the output terminal of the second described biasing circuit, second end of the 4th described K switch 4 is connected with the first end of the first described driving source Ip, the second termination external power source of the first described driving source Ip, second end of the 5th described K switch 5 is connected with the output terminal of the second described biasing circuit, the first end of the 5th described K switch 5 is connected with second end of the second described driving source In, the first end ground connection of the second described driving source In.
Change in both modes to control described touch-screen better, in a kind of preferred embodiment, the 4th described K switch 4 and the 5th K switch 5 are HF switch.
In a kind of preferred embodiment, referring to shown in Fig. 6, is the structural representation of the first embodiment of biasing circuit of the present utility model.The first described biasing circuit and the second described biasing circuit include the first resistance R1, the second resistance R2, the 3rd driving source I; The first end of the first described resistance R1 is connected with second end of the second described resistance R2, the first end ground connection of the second described resistance R2, second end of the first described resistance R1 is connected with the first end of the 3rd described driving source I, the second termination external power source of the 3rd described driving source I, the first end of the first described resistance R1 is the output terminal of the first described biasing circuit or the second described biasing circuit;
In another preferred embodiment, referring to shown in Fig. 7, is the structural representation of the second embodiment of biasing circuit of the present utility model.The first end of the first described resistance R1 is connected with second end of the second described resistance R2, first termination of the second described resistance R2 is connected with the first end of the 3rd described driving source I, the second end ground connection of the 3rd described driving source I, the second termination external power source of the first described resistance R1, the first end of the first described resistance R1 is the output terminal of the first described biasing circuit or the second described biasing circuit.
Window calculation processing module of the present utility model carries out computing to the faradic pulsewidth that comparer exports, and is just obtaining the window parameter of (bearing) integration current; Mainly comprise: (1) counter, for calculating the width just (bearing) induction current pulsewidth; (2) just (bearing) width parameter register, just calculating (bearing) induction current integration window parameter for storing.Window calculation processing module is mainly used in: what (1) reception comparer exported just (bears) induction current pulsewidth, the instruction sent according to control module MCU and counting clock, calculate and just (bear) induction current pulsewidth width, just drawing (bearing) induction current window parameter thus; (2) by just (bearing) induction current window parameter, control just (to bear) the induction current integration window time.In a kind of preferred embodiment, refer to shown in Fig. 8, described window calculation processing module comprises counter and logic control element, positive width parameter register, negative width parameter register; Described positive width parameter register, negative width parameter register and comparer CMP are connected with described counter and logic control element respectively, the output terminal of described positive width parameter register, the output terminal of negative width parameter register are connected with the control end of the 3rd described K switch 3, and described control module MCU is connected with described counter and logic control element.
In order to control to respond to the width of window and faradic pulsewidth in described touch-screen better, in a kind of preferred embodiment, the first described K switch 1, second switch K2 and the 3rd K switch 3 are HF switch.
In addition, in the utility model, each RX line of induction just (bears) integration window parameter and can have one or more groups respectively, can determine according to the number of TX sweep trace, each TX sweep trace can have each self-corresponding one group just (to bear) integration window parameter.
Have employed the mutual capacitance touchscreens of the automatic adjustment induction window width in this utility model, integration window automatic detection function can be realized, manual debugging integration window process can be saved, improve the development efficiency of product; After integration window realizes detection automatically, the window that the control accuracy of its window obtains than manual debugging is accurate, and an accurate integration window is more conducive to by ELIMINATION OF ITS INTERFERENCE outside, simple to operate, has wide range of applications.
In this description, the utility model is described with reference to its specific embodiment.But, still can make various amendment and conversion obviously and not deviate from spirit and scope of the present utility model.Therefore, instructions and accompanying drawing are regarded in an illustrative, rather than a restrictive.