Sensing circuit discharge control method and device and contact panel, electronic installation
[technical field]
The invention relates to a kind of sensing circuit discharge control method and device and contact panel, electronic installation, clearer and more definite, be about a kind of each sensing circuit discharge control method that is used to control contact panel and device and contact panel, electronic installation.
[background technology]
Contact panel has been widely used in the various application.Contact panel comprises the staggered sense wire of direction in length and breadth, and it has sensing circuit and touches position on contact panel with sensing finger.
Fig. 1 is the sensing circuit 10 that shows existing contact panel.This sensing circuit 10 comprises sensing electrode 100 and discharge cell 110.This sensing electrode 100 has capacitance, that is: with the represented stray capacitance of capacitor 104.When the finger incident of touching took place, the total capacitance value of sensing electrode 100 can increase, and the touching of finger is equivalent to an extra capacitor, with sense capacitance 102 expressions.That is when finger touches, sense capacitance 102 has a non-vanishing capacitance, and when no finger touches, then the capacitance of this sense capacitance 102 is zero.Even have under the situation of finger touches, the capacitance of this sense capacitance 102 is much smaller than the capacitance of this stray capacitance 104.Revise that electric capacity 116 is used for compensate for parasitic capacitance so that the parasitic capacitance value of each sensing electrode 100 is can difference too not big.
This discharge cell is connected in voltage source V by switch 114
DDIn advance whole electric capacity (that is sense capacitance and stray capacitance) of sensing electrode are charged to a fixed voltage, for example 5V.Make first current source 127 and second current source 138 discharge successively by gauge tap 123 and switch 134 then.This first current source 127 is big current source, and its current value can be for example 300 μ A.This second current source 138 is little current source, and its current value can be for example 90nA.
The discharge mode of this sensing circuit 10 is to connect 127 one period set time of discharge of first current source (big current source) earlier.Be precharged to about the approximately remaining 1V of voltage of 5V.At big current source interdischarge interval, second current source (little current source) 138 is the disconnecting state.Then,, and connect little current source 138, residual charge release is finished big current source 127 disconnectings.Having finger to touch and do not having and point under the situation of touching, because the total capacitance value difference, the time of discharge off has notable difference.Therefore can utilize this mistiming incident that judged whether to touch to take place.
At whole interdischarge interval, the voltage of pre-charge is linear and descends, and this sensing circuit 10 has a comparer 145, is used for relatively this charging voltage and a reference voltage V
Ref, its magnitude of voltage for example is 1V.When voltage drops to this below reference voltage level, comparer 145 promptly sends one and changes status signal.Begin to discharge into comparer 145 by calculating and send the time that changes status signal, can calibrate the sense capacitance value of representing the finger touches incident in view of the above.
See also Fig. 2, show that same sensing circuit is having finger to touch and do not having the discharge scenario of pointing under touching.The situation that first curve (with depicted as solid lines) expression has finger to touch, and second curve (with dotted lines) expression does not have the situation that finger touches.At first whole electric capacity are precharged to a predetermined voltage, 5V for example, the voltage drop Δ V that then must discharge is 5V.Then, big current source 127 is discharged to time t1, has this moment and points under the situation of touching, and total capacitance value is bigger, and the voltage of its release is reduced to Δ V1, points under the situation of touching and have, and total capacitance value is less, and the voltage of its release is reduced to Δ V1 '.Then, utilize little current source 138 that residual charge (correspondence has or not the voltage drop of touching to be respectively Δ V2, Δ V2 ') is discharged and finish, for there being finger to touch under the situation of incident, the time of discharge off is t2, and do not touch under the situation of incident for there being finger, the time of discharge off is t2 '.
Because factors such as processing procedure difference, the stray capacitance 104 of each sensing electrode 100 of contact panel may be different, although utilized correction electric capacity 116 to be compensated, but has difference slightly, in order to compensate this species diversity, the discharged condition of this big current source 127 need be readjusted by a small margin.In the prior art be by this big current source 127 of direct adjustment size of current for it.Generally speaking, these current sources constitute with the CMOS transistor, and the size of current of adjustment current source is just controlled and put on the transistorized voltage of CMOS.The fine-adjusting current size means must accurately provide required magnitude of voltage, for example 1.9V, 2.0V, 2.1V etc., yet, among a small circle, desire trim voltage and be worth technical suitable trouble and be not easy to reach.
[summary of the invention]
The purpose of this invention is to provide a kind of sensing circuit discharge control method and device and contact panel, electronic installation, adjusting frequency of the discharge current of its adjustment current source is low, effective.
For realizing aforementioned purpose of the present invention, the invention provides a kind of sensing circuit discharge control method and comprise step and have: a time clock is provided, and this time clock has a time clock cycle; Set the current value of the big current source in this sensing circuit; Set a numerical value P, the length of the interdischarge interval of big current source is P clock cycle doubly; Sensing electrode charging with this sensing circuit; Utilize big current source this sensing electrode to be discharged with current value and the interdischarge interval that sets; With the little current source in this sensing circuit with the remaining charge discharge of this sensing electrode to discharge off; Judge whether discharge off in a schedule time of this sensing electrode; As judge that this sensing electrode fails discharge off in this schedule time, then adjust this numerical value P to finely tune the interdischarge interval of this big current source; Set one first current source upper limit discharge time; Whether this discharge time of judging this first current source is above this first current source upper limit discharge time; And, then adjust this current value of this first current source as surpassing this first current source upper limit discharge time this discharge time of judging this first current source.
The present invention also provides a kind of sensing circuit discharge control device to include: an edge detecting device, the sensing electrode that is used to detect this sensing circuit discharge off when after charging; One master controller, be used to set a numerical value P to set the interdischarge interval of this first current source, the length of this interdischarge interval is P clock cycle doubly, this master controller is indicated this sensing electrode charging and the big current source in this sensing circuit is discharged this sensing electrode with current value and the interdischarge interval that sets, indicate then little current source in this sensing circuit with the remaining charge discharge of this sensing electrode to discharge off, and judge whether discharge off in a schedule time of this sensing electrode according to the output of this edge detector; One time controlled-length apparatus is used to adjust the interdischarge interval of big current source, judges that as this master controller this sensing electrode fails discharge off in this schedule time, and then this time span controller is promptly adjusted this numerical value P to finely tune the interdischarge interval of this big current source; An and voltage controller, be used to control the voltage of this first current source to control its discharge current, this master controller is set first current source upper limit discharge time, and whether surpass this first current source upper limit discharge time the discharge time of judging first current source, as the discharge time of judging first current source surpass this first current source upper limit discharge time, then indicate this voltage controller to adjust the current value of first current source.
The present invention also provides a kind of contact panel that includes above-mentioned sensing circuit discharge control device.
The present invention also provides a kind of electronic installation that includes the contact panel of above-mentioned sensing circuit discharge control device.
Compared to prior art, the present invention can significantly reduce the number of times of adjusting the big current source discharge current (voltage) in the contact panel sensing circuit, and adopt numeral to adjust the discharge time of big current source, thereby reach the sense capacitance discharge time of each sensing circuit of calibration, to get rid of the inconsistent problem that causes stray capacitance difference to be caused because of the processing procedure factor.
For above and other objects of the present invention, feature and advantage can be become apparent, cooperate appended graphicly, be described in detail below:
[description of drawings]
Fig. 1 shows the sensing circuit of existing contact panel;
Fig. 2 shows that this existing sensing circuit is having or not the discharge scenario of pointing under touching;
Fig. 3 shows the different discharge scenario of different sensing circuits;
Fig. 4 shows different parasitic capacitance values required discharge time of length;
Fig. 5 shows according to the present invention contact panel, and this contact panel has the sensing circuit discharge control device;
The circuit diagram of the sensing circuit of the contact panel of Fig. 6 displayed map 5;
Fig. 7 is the process flow diagram of the sensing circuit discharge control method according to the present invention; And
Fig. 8 shows the synoptic diagram of the electronic installation with contact panel of the present invention.
[embodiment]
Hereinafter with reference to appended graphic detailed description technology contents of the present invention.
According to the present invention, utilize the interdischarge interval of big current source in the digital form fine setting sensing circuit, thus the inconsistency that difference caused between the stray capacitance in each sensing electrode of compensating touch control panel.
Fig. 3 shows the different discharge scenario of different sensing circuits.Similar with Fig. 2, wherein first curve table with depicted as solid lines is shown with the situation that finger touches the incident generation, and does not have the situation that finger touches the incident generation with second curve representation of dotted lines.As seen from the figure, situation about taking place with the nothing finger incident of touching is an example, former current source 127 greatly is discharged to time t1 from the time 0, different when total capacitance value, can be discharged to t1 ' or be advanced to t1 by this big current source 127 is delayed " (its corresponding curve is represented with dashed line in the drawings) reach and discharge identical voltage drop Δ V1 '.That is to say that even the stray capacitance difference of each sensing electrode, via the discharge time of the big current source of fine setting, the residual electricity pressure drop that needs at last to discharge by little current source 138 is the same.If little current source discharge current value is fixed, then Fang Dian time will be identical.Because little current source discharge current is much smaller than big current source discharge current, differ between the two and reach thousand times spectrum, the voltage drop that discharges be responsible for then only (voltage of for example big current source discharge is reduced to about 4V in the gap of several times, and the voltage of little current source discharge is reduced to about 1V), so little current source can be longer than big current source discharge time discharge time.Therefore, the fine setting of big current source discharge time can not impact the judgement that has or not sense capacitance (that is having or not finger to touch incident).
Fig. 4 shows and uses fixedly under the discharge current, different parasitic capacitance values required discharge time of length, and wherein white rectangular demonstration does not have to point and touches the sense capacitance total capacitance value of generation, that is its parasitic capacitance value C
Par, and oblique line represents that partly the capacitance of pointing extra increase when touching is arranged, that is the sense capacitance value.According to the present invention, a time clock is provided, its cycle is T
C, see this figure shown in the below, then the first parasitic capacitance value C as can be known
ParBe nT 1 required discharge time
C, n=12; The second parasitic capacitance value C
ParBe mT 2 required discharge times
C, m=8; Trixenie capacitance C
ParBe oT 3 required discharge times
C, o=15.Each parasitic capacitance value required discharge time is this clock cycle of T
CDifferent multiples.Sense capacitance needed discharge time of almost fixed.Therefore, can be the clock cycle of how many integral multiples by adjusting big current source discharge time, and reach the purpose of finely tuning big current source discharged condition.
Fig. 5 shows the contact panel 30 according to the embodiment of the invention.The sensing circuit discharge control device 50 that this contact panel 30 has sensing circuit 40 and is used to control these sensing circuit 40 discharges.Fig. 6 shows the circuit diagram of sensing circuit 40.In the present embodiment, this sensing circuit 40 is identical with sensing circuit shown in Figure 1 10, also comprises sensing electrode 400 and discharge cell 410, and wherein similar to Fig. 1 label is represented similar elements, so its annexation and action do not repeat them here.
In calibration procedure,, reach a period of time t with big current source 427 discharges that have the fixed current value in the discharge cell 410 earlier then with stray capacitance 404 pre-charges in this sensing circuit 40
LS, to discharge up to discharge off with little current source 438 again, be t the discharge time of its medium and small current source 438
SS
Below the Fig. 7 that will cooperate demonstration to be used for the sensing circuit discharge control method according to the present invention simultaneously illustrates present embodiment.
This device 50 has an edge detecting device 52, a master controller 54, a reservoir 55, a voltage controller 56 and a time controlled-length apparatus 58.Calibration procedure begins in step S610.In step S620, master controller 54 is set big current source t discharge time
LSAnd current value.T wherein
LS=P * T
C, T
CBe the cycle of time clock.According to the present invention, master controller 54 is not t discharge time of the big current source 427 of direct setting
LSLength, but set numerical value P, that is set the time t of big current source discharge
LSBe P T clock cycle doubly
CIn present embodiment, initial setting numerical value P is a conservative estimation value, that is a less value.And more easy to control at this because of voltage, therefore be to reach the purpose of setting its current value by the voltage V (its discharge current value is proportional to magnitude of voltage V) that sets big current source 427.From the above, step S620 represents to set P, V value among Fig. 7, is equivalent to set big current source t discharge time with indirect mode
LSAnd current value.
In step S630, big current source discharge time and discharge current value that sensing circuit 40 uses master controller 54 to set make stray capacitance C
ParDischarge is up to discharge off.In step S640, edge detector 52 detects the drop edge of the voltage waveform of its sensing electrodes of sensing circuit, that is when detects discharge off.Edge detector 52 have a counter (not shown) be used to calculate discharge waveform during be corresponding to several clock cycles.Edge detector 52 delivers testing result to these master controller 54 judgements total discharge time of t
P(t
P=t
LS+ t
SS) whether be shorter than a schedule time t
dIn other words, check and adopt these setting values to discharge, whether in the given time discharge off.If of course, the expression setting value is suitable value, and then master controller 54 is stored to reservoir 55 with these setting values, and this is step S645.If discharge off represents that then the voltage drop of big current source release is not enough in the given time, need to adjust.
After judging that palpus is adjusted big current source discharged condition, according to present embodiment, in step S650, master controller 54 is judged big current source t discharge time that sets earlier
LSWhether surpassed maximum discharge time of the t that is allowed
MaxIf do not surpass as yet, then adjust the setting of P.In present embodiment, because initial P value is set at than low value, therefore the adjustment of being carried out can be a little increases, that is the P shown in the step S655 among Fig. 7
N=P
O+ Δ p, wherein P
NRepresent adjusted P value, P
OExpression P value originally, Δ p is number clock cycle that increases a little.The for example initial P that sets is 7, that is be 7 times of clock cycles, just P big current source discharge time of initial setting
O=7, and can increase by 1 cycle (that is Δ p=1) a little, the P value is adjusted into 8, just big current source is adjusted into 8 times of clock cycles, just P discharge time
N=7+1=8.Adjust after the P value, return step S630, big current source discharge time and discharge current value that sensing circuit 40 uses master controller 54 to be adjusted make stray capacitance C
ParDischarge is up to discharge off.
Because big current source can not unrestrictedly prolong discharge time, therefore upper limit t discharge time is arranged
MaxStipulate.According to present embodiment, if judge t at step S650 through repeatedly adjusting the P value
LSSurpass t
Max, then in step S660 with the P value initial setting value of resetting back, and adjust V value (V by voltage controller 56
N=V
O+ Δ v; V wherein
NRepresent adjusted magnitude of voltage, V
OExpression magnitude of voltage originally, Δ v are the magnitude of voltage that increases a little).
Utilize the present invention, can significantly reduce the number of times of adjusting the big current source discharge current (voltage) in the contact panel sensing circuit, and adopt numeral to adjust the discharge time of big current source, thereby reach the sense capacitance discharge time of each sensing circuit of calibration, to get rid of the inconsistent problem that causes stray capacitance difference to be caused because of the processing procedure factor.
Fig. 8 shows the electronic installation 70 with contact panel 30 of the present invention.The contact panel that comprises sensing circuit discharge control device 50 30 as shown in Figure 5 can be the part of electronic installation 70.This electronic installation 70 comprises a contact panel 30 of the present invention and a power supply unit 75, and this power supply unit 75 couples to supply power to this contact panel 30 with this contact panel 30.This electronic installation 70 can be display on mobile phone, digital camera, personal digital assistant, notebook computer, desktop computer, TV, satellite navigation, the car, aviation with display or portable DVD player projector etc.