Accompanying drawing explanation
Fig. 1 is the schematic diagram of traditional capacitance touching control panel.
Fig. 2 is the electric capacity baseline detection signal of traditional capacitance touching control panel and the oscillogram of correction signal.
Fig. 3 is the circuit diagram being applied to the panel time delay testing circuit of contact panel baseline correction that the embodiment of the present invention provides.
Fig. 4 is the circuit diagram being applied to the panel time delay testing circuit of contact panel baseline correction that another embodiment of the present invention provides.
[symbol description]
1: contact panel
11: touch interface
12: driving circuit
13: testing circuit
P1, P2: path
TX, Vdrv: drive singal
RX, SS: electric capacity baseline detection signal
Th: critical value
E: electrode
C, Cm, Cint: electric capacity
3,4: panel time delay testing circuit
31,41: detecting amplifier
32,42: comparer
33,43: correcting unit
34: analog/digital converter
Vout: testing result signal
Vref: reference signal
Kflag: comparison signal
CK: control signal
Dout: digital signal
415: current lens unit
411: the first current sources
412: the second current sources
413: the first switches
414: second switch
I1: the first electric current
I2: the second electric current
A: first end
B: the second end
VDD: supply voltage
N1, N2, N3:N transistor npn npn
P1, P2, P3:P transistor npn npn
Biasa, biasb: bias voltage
GND: ground connection
Embodiment
(being applied to the embodiment of the panel time delay testing circuit of contact panel baseline correction)
Please refer to Fig. 3, Fig. 3 is the circuit diagram being applied to the panel time delay testing circuit of contact panel baseline correction that the embodiment of the present invention provides.The panel time delay testing circuit 3 being applied to contact panel baseline correction comprises detecting amplifier 31, comparer 32, correcting unit 33 and analog/digital converter 34.
Detecting amplifier 31 connects the electrode of contact panel, is capacitance type touch-control panel at this contact panel.Detecting amplifier 31 detects the electric capacity of the electrode of contact panel, and described electric capacity can be from perhaps mutual tolerance.As shown in Figure 3, one end of electric capacity C receives drive singal Vdrv, and the other end connecting electrode E of electric capacity C, electrode E represents with the node of circuit, and it represents one of them electrode of contact panel.The present invention does not limit the shape of described electrode, and panel time delay testing circuit 3 is for being connected to electrode E with Detection capacitance value.
Comparer 32 couples detecting amplifier 31, and correcting unit 33 couples detecting amplifier 31 and comparer 32.Analog/digital converter 34 couples detecting amplifier 31.The testing result signal Vout that detecting amplifier 31 produces by analog/digital converter 34 is converted to digital signal Dout.In the present embodiment, the algorithm of the touch control detection that analog/digital converter 34 uses along with contact panel and designing, those of ordinary skill in the art can change analog/digital converter 34 according to actual needs, and therefore the present invention does not limit.
Detecting amplifier 31 receives the electric capacity baseline detection signal SS of the electrode E from contact panel, and electric capacity baseline detection signal SS is converted to testing result signal Vout by detecting amplifier 31.Testing result signal Vout and reference signal Vref compares by comparer 32, produces comparison signal Kflag accordingly.Correcting unit 33 produces control signal CK according to comparison signal Kflag, and control signal CK is sent to detecting amplifier 31, in order to control detecting amplifier 31 correct detection consequential signal Vout.
Detecting amplifier 31 can be current amplifier.In the present embodiment, the electric capacity baseline detection signal SS that detecting amplifier 31 receives is current forms.But the present invention does not limit the type of detecting amplifier 31, detecting amplifier 31 also can be voltage amplifier.
Comparer 32 is in order to compare testing result signal Vout and reference signal Vref, and described reference signal Vref can be a critical value Th of the testing result signal Vout corresponding to required design.Such as: when testing result signal Vout is voltage form, reference signal Vref is also voltage form, and the current potential of reference signal Vref can equal the critical value Th described in Fig. 2.But the present invention does not limit the implementation of comparer 32, do not limit reference signal Vref content yet.
Correcting unit 33 is controlled by comparison signal Kflag, such as: correcting unit 33 can be trigger circuit, is controlled by the triggering (such as comparison signal Kflag changes into a noble potential by an electronegative potential) of comparison signal Kflag, and produces control signal CK.An electric capacity baseline detection signal SS and correction signal (Fig. 3 is not shown) subtracts each other in order to make detecting amplifier 31 by control signal CK, makes the signal received by the input end of detecting amplifier 31 (end points of connecting electrode E) change into remaining electric capacity baseline detection signal SS by electric capacity baseline detection signal SS originally and deducts a correction signal.Because testing result signal Vout changes (such as: testing result signal Vout is directly proportional to electric capacity baseline detection signal SS) along with electric capacity baseline detection signal SS, therefore, when electric capacity baseline detection signal SS deducts a correction signal, testing result signal Vout also can reduce, and reaches the object making testing result signal Vout lower than critical value Th by this.
In other words, when testing result signal Vout is greater than reference signal Vref, electric capacity baseline detection signal SS is deducted correction signal according to the control signal CK of correcting unit 33 by detecting amplifier 31, and the testing result signal Vout produced to make detecting amplifier 31 is lower than a set critical value.Electric capacity baseline detection signal SS and subtracting each other of correction signal can be real-time, the adaptive change along with testing result signal Vout.
In addition, in one embodiment, when testing result signal Vout is greater than reference signal Vref, detecting amplifier 31 can make electric capacity baseline detection signal SS and correction signal be subtracted from one another in a Preset Time according to control signal CK.Described Preset Time can adjust according to the signal intensity amplitude of electric capacity baseline detection signal SS (waveform mild or precipitous), and by this, electric capacity baseline detection signal SS and subtracting each other of correction signal also can be the lasting Preset Times set by maintenance one section.
In order to reach the object of signal correction, when testing result signal Vout is greater than reference signal Vref, correction signal can be the first level Va, as shown in Figure 2.When testing result signal Vout is not more than reference signal Vref, correction signal is second electrical level Vb.With traditional way unlike the panel time delay testing circuit 3 of, the embodiment of the present invention be put into effect for the electric capacity baseline detection signal SS of each detected electrode time, adaptive baseline correction.The correction signal that the present embodiment provides, when electric capacity baseline detection signal SS is greater than critical value Th, produces correction signal immediately, does not have the problem that correction signal and electric capacity baseline detection signal SS are positioned at the diverse location on time shaft.It is worth mentioning that, described correction signal is different according to the design of detecting amplifier 31, refers to the explanation of subsequent embodiment.
(being applied to another embodiment of the panel time delay testing circuit of contact panel baseline correction)
Please refer to Fig. 4, Fig. 4 is the circuit diagram being applied to the panel time delay testing circuit of contact panel baseline correction that another embodiment of the present invention provides.Panel time delay testing circuit 4 comprises detecting amplifier 41, comparer 42 and correcting unit 43, and correcting unit 43 also can be called baseline correction controller (Baseline Calibration Controller) in the present embodiment.Fig. 4 provides and a kind of detecting amplifier 41 is applied to panel time delay testing circuit 4.
As shown in Figure 4, detecting amplifier 41 connects the electrode E of contact panel, and electrode E represents with the node of circuit in the present embodiment.One end of electric capacity Cm receives drive singal Vdrv, other end connecting electrode E, and this electric capacity Cm represents mutual tolerance, and the mutual tolerance received between the electrode of drive singal Vdrv and institute pole E is electric capacity Cm.Panel time delay testing circuit 4 is for being connected to electrode E to detect the capacitance of its mutual tolerance.
Comparer 42 couples detecting amplifier 41, and correcting unit 43 couples detecting amplifier 41 and comparer 42.When testing result signal Vout is greater than reference signal Vref, electric capacity baseline detection signal SS is deducted correction signal according to the control signal CK of correcting unit 43 by detecting amplifier 41, and the testing result signal Vout produced to make detecting amplifier 41 is lower than a set critical value Th.Described correction signal can be electric current I 1 in Fig. 4 or electric current I 2.
The thin portion circuit of detecting amplifier 41 please refer to explanation below.In the present embodiment, detecting amplifier 41 comprises at least one current source (411 or 412), at least one switch element 413 or 414, current lens unit 415 and electric capacity Cint.The present invention is the number of current limiting power and switch element and annexation not.Current source (411 or 412) is in order to generation current (I1 or I2), and electric current (I1 or I2) represents described correction signal.Switch element couples current source (411 or 412) and correcting unit 43, receives the control signal CK of correcting unit 43, and controls according to control signal CK the electrode E whether current source (411 or 412) couples contact panel.
Current lens unit 415 has first end A and the second end B, first end A is in order to be coupled to electrode E, current lens unit 415 does phase reversal to the electric capacity baseline detection signal SS received by electrode E, and produce testing result signal Vout in this second end B of current lens unit 415, wherein testing result signal Vout is contrary with the phase place of electric capacity baseline detection signal SS.The first end of electric capacity connects the second end B of current lens unit 415, and the second end of electric capacity connects ground connection GND.When testing result signal Vout is greater than reference signal Vref, electric capacity baseline detection signal SS is deducted the electric current (I1 or I2) of current source (411 or 412) by switch element (413 or 414) according to control signal CK.Fig. 4 of the present embodiment is only a kind of implementation of detecting amplifier 41, the implementation of the present invention also not current limiting power (411 or 412), switch element (413 or 414) and current lens unit 415.
In more detail, detecting amplifier 41 comprises the first current source 411, second current source 412, first switch element 413, second switch unit 414, current lens unit 415 and electric capacity Cint as shown in Figure 4.First current source 411 couples supply voltage VDD, produces the first electric current I 1.Second current source 412 couples ground connection GND, produces the second electric current I 2, and described first electric current I 1 and the second electric current I 2 represent correction signal.First switch element 413 couples the first current source 411 and correcting unit 43, and is controlled by the control signal CK of correcting unit 43, and controls according to control signal CK the electrode E whether the first current source 411 couples contact panel.In other words, whether the first electric current I 1 that the first switch element 413 controls the first current source 411 flows into electrode E, and therefore the first electric current I 1 can as correction signal.
Second switch unit 414 couples the second current source 412 and correcting unit 43, and is controlled by the control signal CK of correcting unit 43, and controls according to control signal CK the electrode E whether the second current source 412 couples contact panel.In other words, whether the second electric current I 2 that second switch unit 414 controls the second current source 412 flows into electrode E, and therefore the second electric current I 2 can as correction signal.
Further, current lens unit 415 comprises P-type crystal pipe P1, P2, P3 and N-type transistor N1, N2, N3.Current lens unit 415 is made up of two current mirrors, and the two ends of two current mirrors are connected to each other, and the other two ends of two current mirrors connect supply voltage VDD and ground connection GND respectively.One of them current mirror above-mentioned is made up of P-type crystal pipe P1, P2 and N-type transistor N1 and is applied in bias voltage biasa, and another current mirror above-mentioned to be then made up of with N-type transistor N2, N3 P-type crystal pipe P3 and to be applied in bias voltage biasb.
Then, the detailed construction of current lens unit 415 is described further.The source electrode of P-type crystal pipe P1, P2 connects supply voltage VDD, and the grid of P-type crystal pipe P1, P2 is connected to each other.The drain electrode of N-type transistor N1 connects grid and the drain electrode of P-type crystal pipe P1, and the source electrode of N-type transistor N1 and the drain electrode of P-type crystal pipe P2 are connected first end A and the second end B respectively, wherein first end A is in order to receive the input current representing electric capacity baseline detection signal SS, and the second end B is in order to export follow-up signal sampling circuit (such as: the analog/digital converter 34 of Fig. 3) to by testing result signal Vout.
The source electrode of N-type transistor N2, N3 connects ground connection GND, and the grid of N-type transistor N2, N3 is connected to each other.The drain electrode of P-type crystal pipe P3 connects grid and the drain electrode of N-type transistor N2, and the source electrode of P-type crystal pipe P3 and the drain electrode of N-type transistor N3 are connected first end A and the second end B respectively.The first end of the Cint of electric capacity connects the second end B of current lens unit 415, and second end of electric capacity Cint connects ground connection GND.
Briefly, the circuit structure of current lens unit 415 can be described below.Current lens unit 415 has the first current mirror (be made up of P-type crystal pipe P1, P2), the first bias transistor (i.e. N-type transistor N1), the second bias transistor (i.e. P-type crystal pipe P3) and the second current mirror (be made up of N-type transistor N2, N3).First current mirror and the second current mirror are connected to high voltage VDD and ground connection GND respectively.The input end of the first current mirror and the input end of the second current mirror are connected to the first end A of current lens unit 415 respectively by the first bias transistor (N-type transistor N1) and the second bias transistor (P-type crystal pipe P3).The output terminal of the first current mirror and the output terminal of the second current mirror are connected to the second end B of current lens unit 415.
Based on the circuit of Fig. 4, when testing result signal Vout is greater than reference signal Vref, electric capacity baseline detection signal SS is deducted the first electric current I 1 of the first current source 411 and the second electric current I 2 of the second current source 412 by the first switch element 413 and second switch unit 414 according to control signal CK.Electric capacity baseline detection signal SS and subtracting each other of correction signal (first electric current I 1 and the second electric current I 2) can be real-time, the adaptive change along with testing result signal Vout.
In addition, in one embodiment, when testing result signal Vout is greater than reference signal Vref, detecting amplifier 31 can make electric capacity baseline detection signal SS and correction signal be subtracted from one another in a Preset Time according to control signal CK.As shown in Figure 4, described control signal CK can make the first switch element 413 and second switch unit 413 conducting Preset Time, to make in Preset Time, electric capacity baseline detection signal SS and correction signal (comprising the first electric current I 1 and the second electric current I 2) are subtracted from one another.By this, electric capacity baseline detection signal SS and subtracting each other of correction signal (first electric current I 1 and the second electric current I 2) also can be the lasting Preset Times set by maintenance one section.In addition, the present invention does not limit the size of the first electric current I 1 and the second electric current I 2 yet.
(the possible effect of embodiment)
In sum, a kind of panel time delay testing circuit being applied to contact panel baseline correction that the embodiment of the present invention provides, it can carry out real-time baseline correction to contact panel.Described panel time delay testing circuit can provide the Real-Time Monitoring of Resistance-Capacitance delay, and is automatic, adaptive correction.Described panel time delay testing circuit is independently testing mechanism, is bonded to easily in the framework of the testing circuit of existing contact panel.In addition, the panel time delay testing circuit that provides of the embodiment of the present invention reaches described automatic, adaptive correction by the current operating mode of current amplifier.
The foregoing is only embodiments of the invention, it is also not used to limit to the scope of the claims of the present invention.