CN102226822A - RC constant measuring method of differential capacitance - Google Patents
RC constant measuring method of differential capacitance Download PDFInfo
- Publication number
- CN102226822A CN102226822A CN2011100821457A CN201110082145A CN102226822A CN 102226822 A CN102226822 A CN 102226822A CN 2011100821457 A CN2011100821457 A CN 2011100821457A CN 201110082145 A CN201110082145 A CN 201110082145A CN 102226822 A CN102226822 A CN 102226822A
- Authority
- CN
- China
- Prior art keywords
- constant
- search
- differential capacitance
- circuit
- rcout
- 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.)
- Pending
Links
Images
Landscapes
- Measurement Of Resistance Or Impedance (AREA)
Abstract
The invention discloses an RC (resistance capacitance) constant measuring method of differential capacitance. The method provided by the invention is based on a circuit structure of which differential capacitance is an RC constant, converts the RC constant into a pulse width, and uses a digital circuit to measure the RC constant of the differential capacitance. The method measures the RC constant of the differential capacitance and corrects the same in a circuit, and the method can be widely used in the field of measurement and correction on the RC constant of the differential capacitance better. A measuring module circuit simply implements the conversion between the RC constant and an RC out voltage value, so that the condition for measuring and correcting the RC constant through the digital circuit is provided, the digital circuit can flexibly and conveniently correct the RC constant, and the correction speed is greatly improved through a binary search algorithm.
Description
Technical field
The present invention relates to a kind of RC constant measuring method, generally be applied to small resistance capacitive constant product and detect, as detection RC constant value size in the analog filter and to its circuit arrangement of effectively proofreading and correct based on the differential capacitance circuit structure.
Background technology
At present, in Design of Analog Filter, the corner frequency of wave filter, the product of it and resistance capacitance is inversely proportional to.To specific wave filter, its RC constant should be constant.On the sheet integrated wave filter generally be divided into Active RC (resistance capacitance) and
(transconductance capacitor) two kinds of structures.
The general resistance that uses made when structure realized mutual conductance
Because resistance capacitance generally has 10%~25% deviation on the sheet, the corner frequency that influences wave filter is up to ± 50%.Need proofread and correct the corner frequency of wave filter, make its deviation less than ± 5%, transitional zone and the outer inhibition of band just can meet the demands.We generally use switch resistance or switching capacity to realize the filter frequencies correction, the difference with the structure of wave filter realization.The general switched capacitor array that uses in the Active RC wave filter, and
The general switched capacitor array that uses in the wave filter, Principles of Regulation are in full accord, and therefore, the correction of wave filter need be done to measure accurately to the RC constant.
The measuring method of RC constant is a lot, for different RC constant structures, can adopt no measuring method.At above-mentioned general RC constant circuit version difference, exist than large deviation, need to reduce error, the accurate problem of measuring, the present invention is based on the circuit structure that differential capacitance is the RC constant, the RC constant is converted to pulse width, adopt digital circuit and realize a kind of be the measuring method of RC constant at differential capacitance.
Summary of the invention
The object of the present invention is to provide a kind of circuit structure simple, it is accurately convenient to measure, the RC constant measuring method of the differential capacitance that precision is controlled.
For solving the problems of the technologies described above, the technical solution used in the present invention is: a kind of RC constant measuring method of differential capacitance, comprise the differential capacitance circuit module and
Measurement module;
Described differential capacitance circuit module act as realize RC constant and comparer export the RCOUT time span (
) proportionate relationship, the conversion of the concrete duty of circuit and
Be calculated as follows:
1) at t0 constantly, switch S 1 closure, reset circuit, at this moment
, RCOUT is output as low, because of
, flow through resistance R 1 electric current and be:
, (1)
2) at t1 constantly, switch S 1 disconnects, and reseting procedure finishes, and flows through resistance R 1 electric current I by C1, has:
This moment output voltage
Descend, finally cause
, the comparer output switching activity, RCOUT transfers high level to by low level, is disconnected to the RCOUT level by switch S 1 and uprises this process, and the time is:
By formula (3) as can be known,
Be directly proportional with the RC constant, it is right that the measurement of RC constant is converted into
Measurement;
Described
Measurement module, RCOUT time measurement module are realized by digital circuit, can carry out the pulse width counting to the RCOUT time constant by the digital dock of using upper frequency, suppose that the digital reference clock is
, count value is N, so
Measuring accuracy is by digital dock frequency decision, calculates the RC constant at last to be:
The present invention also comprises the correction of RC circuit, and trimming process was divided into for two steps: initialization and search correction (;
During initialization, send the RC constant
The correction power on signal (PWR_RCTUNE) of measurement module circuit and reset switch signal (RST), power on signal shifts to an earlier date some cycles than reset switch signal, promptly begins the CNT rolling counters forward after the reset switch signal is sent;
The search timing can get the preset reference count value by formula (6)
, realize measuring actual N value and reference by the digital dock of using upper frequency
Value relatively according to comparative result and adjust capacitor array, changes RC value size, up to making the RC value the biglyyest near default R1*C1 value.
Described differential capacitance is made adjustable array format, and binary search algorithm is used in the capacitor array adjustment.
Described binary search algorithm is divided into 3 stages: initialization, search downwards, about search;
1) during initialization, the extreme higher position 1 of switched capacitor array, other position 0 makes its value of mediating.Pulse width (RCOUT) to the output of differential capacitance circuit is counted;
When 2) searching for downwards, count value is judged, if less than preset value, is shown that then current capacitance is less than normal, this moment current search invariant position (being 1), next searching position 1; Otherwise show that capacitance is bigger than normal, current search position 0 begin to search for behind next searching position 1 next time, is determined until the lowest order direction;
When searching for 3), about the definite capacitor array of downward search procedure, search for, determine setting left and right, counting error minimum in first three state;
Suppose that capacitor array has the N position, then need N+2 search altogether, each search time is all identical.
Beneficial effect of the present invention: this method has realized the measurement of differential capacitance RC constant and the correction in circuit thereof.The differential capacitance circuit module has been realized the conversion of RC constant and RCOUT magnitude of voltage simply, measures and proofread and correct the condition that provides for adopting digital circuit, and it is convenient, flexible that digital circuit is proofreaied and correct the RC constant, and binary search algorithm is improved correction rate significantly.
Description of drawings
Fig. 1 is differential capacitance RC constant metering circuit figure.
Fig. 2 is a RCOUT(RCOUT voltage) the measurement sequential chart.
Fig. 3 is a RC constant digital calibration logic diagram.
Fig. 4 is a RC constant digital calibration sequential chart.
Fig. 5 is the binary search algorithm state transition diagram.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in further detail.
As depicted in figs. 1 and 2, the RC constant measuring method of a kind of differential capacitance of the present invention comprises differential capacitance circuit module 106 Hes
Measurement module 201;
Described differential capacitance circuit module 106 act as realize RC constant and comparer export the RCOUT time span (
) proportionate relationship, the conversion of the concrete duty of circuit and
Be calculated as follows:
At t0 constantly, switch S 1101 closures, reset circuit, at this moment
, RCOUT is output as low, because of
, flow through resistance R 1102 electric currents and be:
At t1 constantly, switch S 1101 disconnects, and reseting procedure finishes, and flows through resistance R 1102 electric current I by C1103, has:
This moment output voltage
Descend, finally cause
, comparer 105 output switching activities, RCOUT transfers high level to by low level, is disconnected to the RCOUT level by switch S 1101 and uprises this process, and the time is:
By formula as can be known,
Be directly proportional with the RC constant, it is right that the measurement of RC constant is converted into
Measurement.
Described
Measurement module 201 is measured sequential as shown in Figure 2, and RCOUT time measurement module is realized by digital circuit, can carry out the pulse width counting to the RCOUT time constant by the digital dock of using upper frequency, supposes that the digital reference clock is
, count value is N, so
Measuring accuracy is by digital dock frequency decision, calculates the RC constant at last to be:
Extend as RC constant measuring method, also comprise the bearing calibration of RC circuit,, in application, generally be converted to correction for the RC constant for the measurement of RC constant, so only need change the control bit of switched capacitor array, but make the RC constant approach the interior value of an error range of receiving.DLC (digital logic circuit) is adopted in the correction of RC constant, RC constant figure adjustment module, as Fig. 3, utilize RCOUT(RC measuring voltage output) pulse width 403, method by digital circuit can easily be proofreaied and correct the RC constant neatly, and whole figure adjustment process was divided into for two steps: initialization 301 and search proofread and correct 302.
During initialization 301, send the RC constant
The correction power on signal (PWR_RCTUNE) 401 of measurement module circuit and reset switch signal (RST) 402.Power on signal 401 should shift to an earlier date some cycles than reset switch signal 402, so that
The measurement module circuit is set up.Promptly begin CNT counter 404 countings after the reset switch signal is sent, the physical circuit work schedule is seen Fig. 4.
Search was proofreaied and correct 302 o'clock, and differential capacitance is made adjustable array format, can get the preset reference count value by formula (6)
, realize measuring actual N value and reference by the digital dock of using upper frequency
Value relatively according to comparative result and adjust capacitor array, changes RC value size, and up to making the RC value the biglyyest near default R1*C1 value, correction error is relevant with the capacitor array figure place, and the big more precision of figure place is high more.
In order to accelerate correction rate, reduce calibration cycle, RC constant capacitor array 501 is adjusted and is used binary search algorithm to realize.With 3 capacitor arrays 501 is example, the binary search algorithm state transition diagram as shown in Figure 5, whole searching algorithm can be divided into 3 stages: initialization, search downwards, about search.
During initialization, the extreme higher position 1 of switched capacitor array, other position 0 makes its value of mediating.Pulse width (RCOUT) 403 to the output of differential capacitance circuit is counted.
Search downwards 502 o'clock is judged count value, if less than preset value, shows that then current capacitance is less than normal, this moment current search invariant position (being 1), next searching position 1; Otherwise show that capacitance is bigger than normal, current search position (putting 0).Begin to search for behind next searching position 1 next time, determine until the lowest order direction.
About search 503 o'clock, about capacitor array that downward search procedure is determined, search for, determine setting left and right, counting error minimum in first three state.
Suppose that capacitor array has the N position, then needs this search of N+2 altogether.Each search time is all identical.
In a word; though the present invention has exemplified above-mentioned preferred implementation, should illustrate, though those skilled in the art can carry out various variations and remodeling; unless such variation and remodeling have departed from scope of the present invention, otherwise all should be included in protection scope of the present invention.
Claims (4)
1. the RC constant measuring method of a differential capacitance is characterized in that: comprise differential capacitance circuit module (106) and
Measurement module (201);
Described differential capacitance circuit module (106) act as realize RC constant and comparer export the RCOUT time span (
) proportionate relationship, the conversion of the concrete duty of circuit and
Be calculated as follows:
1) at t0 constantly, switch S 1(101) closure, reset circuit, at this moment
, RCOUT is output as low, because of
, flowing through resistance R 1(102) and electric current is:
2) at t1 constantly, switch S 1(101) disconnect, reseting procedure finishes, and flows through resistance R 1(102) electric current I passes through C1(103), have:
This moment output voltage
Descend, finally cause
, comparer (105) output switching activity, RCOUT transfers high level to by low level, by switch S 1(101) be disconnected to the RCOUT level and uprise this process, the time is:
,(3)
By formula as can be known,
Be directly proportional with the RC constant, it is right that the measurement of RC constant is converted into
Measurement;
Described
Measurement module (201), its RCOUT time measurement module are realized by digital circuit, can carry out the pulse width counting to the RCOUT time constant by the digital dock of using upper frequency, suppose that the digital reference clock is
, count value is N, so
Measuring accuracy is by digital dock frequency decision, calculates the RC constant at last to be:
2. according to the RC constant measuring method of the described a kind of differential capacitance of claim 1, it is characterized in that also comprise the correction of RC circuit, trimming process was divided into for two steps: (302) are proofreaied and correct in initialization (301) and search;
During initialization (301), send the RC constant
The correction power on signal (PWR_RCTUNE) of metering circuit and reset switch signal (RST), power on signal (401) shifts to an earlier date some cycles than reset switch signal (402), promptly begins CNT counter (404) counting after the reset switch signal is sent;
When (302) are proofreaied and correct in search, can get the preset reference count value by formula (6)
, realize measuring actual N value and reference by the digital dock of using upper frequency
Value relatively according to comparative result and adjust capacitor array, changes RC value size, up to making the RC value the biglyyest near default R1*C1 value.
3. according to the RC constant measuring method of the described a kind of differential capacitance of claim 2, it is characterized in that: described differential capacitance is made adjustable array format, and binary search algorithm is used in the capacitor array adjustment.
4. according to the RC constant measuring method of the described a kind of differential capacitance of claim 3, it is characterized in that: 3. described binary search algorithm is divided into 3 stages: initialization, search downwards, about search;
1) during initialization, the extreme higher position 1 of switched capacitor array, other position 0 makes its value of mediating, and the pulse width (RCOUT) (403) of RC differential capacitance circuit (106) output is counted;
2) during search (502) downwards, count value is judged,, is shown that then current capacitance is less than normal if less than preset value, this moment current search invariant position (being 1), next searching position 1; Otherwise show that capacitance is bigger than normal, current search position 0 begin to search for behind next searching position 1 next time, is determined until the lowest order direction;
When searching for (503) 3), search for about the capacitor array of after search is finished downwards, determining, determine setting left and right, counting error minimum in first three state;
Suppose that capacitor array has the N position, then need N+2 search altogether, each search time is all identical.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100821457A CN102226822A (en) | 2011-04-01 | 2011-04-01 | RC constant measuring method of differential capacitance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100821457A CN102226822A (en) | 2011-04-01 | 2011-04-01 | RC constant measuring method of differential capacitance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102226822A true CN102226822A (en) | 2011-10-26 |
Family
ID=44807806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100821457A Pending CN102226822A (en) | 2011-04-01 | 2011-04-01 | RC constant measuring method of differential capacitance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102226822A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114337600A (en) * | 2022-03-11 | 2022-04-12 | 华南理工大学 | On-chip differential active RC filter calibration and tuning method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050140431A1 (en) * | 2003-12-30 | 2005-06-30 | Riches James J. | Offset, delay and parasitically immune resister-capacitor (rc) tracking loop and method of using same |
CN101222206A (en) * | 2007-01-09 | 2008-07-16 | 宽达科技股份有限公司 | Method and device for correcting time constant of chip built-in resistor and capacitor |
EP1962421A1 (en) * | 2007-02-23 | 2008-08-27 | STMicroelectronics S.r.l. | Calibration circuit for calibrating an adjustable capacitance of an integrated circuit having a time constant depending on said capacitance |
CN101820261A (en) * | 2010-04-21 | 2010-09-01 | 广州市广晟微电子有限公司 | Device and method for correcting cut-off frequency of filter |
CN102226823A (en) * | 2011-04-01 | 2011-10-26 | 广州润芯信息技术有限公司 | Measuring method of RC constant of ground capacitance |
-
2011
- 2011-04-01 CN CN2011100821457A patent/CN102226822A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050140431A1 (en) * | 2003-12-30 | 2005-06-30 | Riches James J. | Offset, delay and parasitically immune resister-capacitor (rc) tracking loop and method of using same |
CN101222206A (en) * | 2007-01-09 | 2008-07-16 | 宽达科技股份有限公司 | Method and device for correcting time constant of chip built-in resistor and capacitor |
EP1962421A1 (en) * | 2007-02-23 | 2008-08-27 | STMicroelectronics S.r.l. | Calibration circuit for calibrating an adjustable capacitance of an integrated circuit having a time constant depending on said capacitance |
CN101820261A (en) * | 2010-04-21 | 2010-09-01 | 广州市广晟微电子有限公司 | Device and method for correcting cut-off frequency of filter |
CN102226823A (en) * | 2011-04-01 | 2011-10-26 | 广州润芯信息技术有限公司 | Measuring method of RC constant of ground capacitance |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114337600A (en) * | 2022-03-11 | 2022-04-12 | 华南理工大学 | On-chip differential active RC filter calibration and tuning method |
CN114337600B (en) * | 2022-03-11 | 2022-06-03 | 华南理工大学 | On-chip differential active RC filter calibration and tuning method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102130679B (en) | Active RC (Resistance-Capacitance) filter bandwidth calibration method | |
CN102226823A (en) | Measuring method of RC constant of ground capacitance | |
CN102207522B (en) | Resistance capacitance (RC) constant measuring method based on frequency measurement | |
CN100583644C (en) | Integrating A/D convertion method and its A/D converter | |
CN105628266B (en) | The temperature compensation system and method for a kind of pressure sensor | |
CN104122439B (en) | Electric energy meter capable of improving phase correction precision | |
CN101754506B (en) | Electromagnetic oven power automatic calibration method and circuit | |
CN104965186A (en) | Calibration method for automatically compensating electric energy metering error of electric energy meter according to temperature | |
CN103036538A (en) | Circuit and method for correcting offset voltage of comparator | |
CN106443543A (en) | Linearity testing method for current sensor | |
CN102494852B (en) | Method for calibrating helium mass spectrometer leak detector | |
CN110519356B (en) | Method and device for calibrating reporting success rate of gas meter | |
CN107147392A (en) | TIADC Mismatch Error Calibration Method Based on Adaptive Filtering and Taylor Series | |
CN103176497B (en) | Comparator offset voltage compensation circuit and compensation method | |
KR20140070431A (en) | Analog front-end compensation | |
CN102226822A (en) | RC constant measuring method of differential capacitance | |
CN104483033B (en) | A kind of CMOS temperature transmitter circuit of wide temperature range | |
CN105243728A (en) | Method and system for calculating thickness of paper money | |
CN104122438A (en) | Reactive power measurement circuit | |
US20170052243A1 (en) | Method for determining the conductivity of a medium | |
CN107817060B (en) | Temperature digital converter | |
CN206960878U (en) | Time-to-digit converter | |
CN103499742B (en) | Reduce because of the method for signal amplitude variation on high-precision phase measurement impact | |
CN101820261B (en) | Device for correcting cut-off frequency of filter | |
CN109238117B (en) | Signal processing circuit and device for non-contact position sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111026 |