WO2014131305A1 - Apparatus and system for correcting capacitor on chip - Google Patents

Apparatus and system for correcting capacitor on chip Download PDF

Info

Publication number
WO2014131305A1
WO2014131305A1 PCT/CN2013/089351 CN2013089351W WO2014131305A1 WO 2014131305 A1 WO2014131305 A1 WO 2014131305A1 CN 2013089351 W CN2013089351 W CN 2013089351W WO 2014131305 A1 WO2014131305 A1 WO 2014131305A1
Authority
WO
WIPO (PCT)
Prior art keywords
capacitor array
time
switched capacitor
switch
comparison
Prior art date
Application number
PCT/CN2013/089351
Other languages
French (fr)
Chinese (zh)
Inventor
周栋梁
陆京辉
刘永才
谢豪律
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014131305A1 publication Critical patent/WO2014131305A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H7/00Multiple-port networks comprising only passive electrical elements as network components
    • H03H7/01Frequency selective two-port networks
    • H03H7/0153Electrical filters; Controlling thereof
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H1/00Constructional details of impedance networks whose electrical mode of operation is not specified or applicable to more than one type of network
    • H03H1/02Constructional details of impedance networks whose electrical mode of operation is not specified or applicable to more than one type of network of RC networks, e.g. integrated networks
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H2210/00Indexing scheme relating to details of tunable filters
    • H03H2210/02Variable filter component
    • H03H2210/025Capacitor
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H2210/00Indexing scheme relating to details of tunable filters
    • H03H2210/03Type of tuning
    • H03H2210/036Stepwise
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H2210/00Indexing scheme relating to details of tunable filters
    • H03H2210/04Filter calibration method
    • H03H2210/043Filter calibration method by measuring time constant

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to an on-chip capacitance correcting apparatus and method. Background technique
  • a high-precision analog-to-digital converter ADC
  • RX/TX Filter receive link/transmit link filter
  • ADC analog-to-digital converter
  • RX/TX Filter receive link/transmit link filter
  • high precision on-chip capacitors are required.
  • general capacitors have a large error variation with process, temperature and other factors, such as TSMC 40 ⁇ process.
  • the capacitance error is approximately ⁇ 20%. Therefore, a correction circuit is required to automatically correct the capacitance to achieve a high accuracy (for example, ⁇ 1%).
  • the structure of the traditional calibration circuit is shown in Figure 2.
  • the corpse 1 2 flows through the resistor to generate a voltage V l 1 2 to charge the capacitor to generate a voltage V 2 .
  • the comparator compares the voltage of V 2 to adjust the capacitance.
  • the purpose of debugging the filter is similar to the capacitance, and there is a large error variation (error of ⁇ 20%) with changes in process, temperature, etc., and therefore, the generated voltage V also changes. This will increase the accuracy and difficulty of the two voltage comparisons, and will also increase the range of debugging required for the capacitor array, thereby reducing the accuracy of the capacitance correction. Summary of the invention
  • the embodiment of the invention provides an on-chip capacitance correcting device and method for solving the problem that the accuracy and precision of the capacitance calibration circuit in the related art are low and the demand is not satisfied.
  • an embodiment of the present invention provides an on-chip capacitance correcting apparatus, including: a corrected resistor, a switched capacitor array, a comparator circuit, a logic control circuit, and a switch, wherein one end of the switch is grounded, and the other end is coupled to the switched capacitor array Connected
  • the input current k1 charges the switched capacitor array for T time to generate a voltage V2; wherein k Is a positive integer;
  • the comparator circuit compares VI with V2 and outputs the comparison result to the logic control circuit
  • the logic control circuit outputs a correction end signal when the VI is less than or equal to V2; the logic control circuit controls the switch to be closed when VI is greater than V2, and controls the switch to be off after the switched capacitor array is discharged to zero. After the switch capacitor array is controlled to decrease the set value of the capacitor value, the charging and comparing processes are repeated.
  • the apparatus of the embodiment of the present invention further includes: a current mirror circuit, wherein the current I and the current k1 are currents output by the current mirror circuit.
  • the comparator circuit performs a comparison wait after the charging capacitor array is charged for T time, and compares VI and V2 when the set comparison dwell time arrives.
  • the sum of the charging time T, the comparison dwell time, and the discharging time is one clock cycle.
  • the set value of the capacitance is a unit capacitance value.
  • an embodiment of the present invention provides an on-chip capacitance correction method, which is applied to the calibration apparatus of the embodiment of the present invention, and includes:
  • the input current I flows through the corrected resistor to generate a voltage VI; the input current k1 charges the switched capacitor array for a time T to generate a voltage V2; wherein k is a positive integer;
  • the comparator circuit compares VI with V2 and outputs the comparison result to the logic control circuit
  • the logic control circuit outputs a correction end signal when the VI is less than or equal to V2; the logic control circuit controls the switch to be closed when VI is greater than V2, and controls the switch to be turned off after the discharge capacitor array is discharged to zero, and controls After the switched capacitor array reduces the set capacitance value, the input current I flows through the corrected resistor to generate a voltage VI; the input current k1 charges the switched capacitor array for a T time to generate a voltage V2.
  • the input current I flows through the corrected resistor.
  • the voltage VI is generated; the input current k1 charges the switched capacitor array for T time, and the generated voltage V2, the current I and the current k1 are the currents output by the current mirror circuit.
  • the comparator circuit compares VI and V2, and outputs the comparison result to a logic control circuit, where the comparator circuit charges T in the switched capacitor array. After the time, the comparison waits and compares VI and V2 when the set comparison dwell time arrives.
  • the sum of the charging time T, the comparison dwell time, and the discharging time is one clock cycle.
  • the set value of the capacitance is a unit capacitance value.
  • the method and apparatus of the embodiments of the present invention not only can reduce the difficulty of the comparator circuit by using the corrected resistance, but also reduce the range of debugging required for the capacitor array, and improve the accuracy of the capacitance correction.
  • 1 is a scenario diagram of an on-chip capacitor application in the related art
  • FIG. 2 is a structural diagram of a capacitance correcting circuit in the related art
  • FIG. 3 is a structural block diagram of an on-chip capacitance correcting apparatus according to Embodiment 1 of the present invention.
  • FIG. 4 is a structural block diagram of an on-chip capacitance correcting apparatus according to Embodiment 2 of the present invention.
  • FIG. 6 is a flowchart of a method for correcting on-chip capacitance according to Embodiment 3 of the present invention. Preferred embodiment of the invention
  • Embodiments of the present invention provide an on-chip capacitance correction apparatus and method.
  • the device uses a corrected resistor R-cal for capacitance correction, which greatly improves the calibration accuracy, and the correction accuracy of the resistor is higher, and the correction accuracy of the capacitor is also increased.
  • the correction accuracy of the resistor is recommended. Up to ⁇ 1%.
  • the method for correcting the resistance is not specifically limited, and those skilled in the art can perform resistance correction according to any correction technology currently available, and the correction accuracy is higher.
  • the embodiment provides an on-chip capacitance correcting device.
  • the method includes: a corrected resistor R-cal, a switched capacitor array Cap-switch, a comparator circuit, a logic control circuit, and a switch SW, wherein the switch SW- The terminal is grounded, and the other end is connected to the switched capacitor array;
  • the input current I flows through the corrected resistor R_cal to generate a voltage VI;
  • the input current k1 charges the switched capacitor array Cap-switch for a time T, and generates a voltage V2; wherein k is a positive integer;
  • the comparator circuit compares VI and V2, and outputs the comparison result to the logic control circuit; the logic control circuit outputs a correction end signal when the VI is less than or equal to V2; when the VI is greater than V2, the control switch SW is closed, and the capacitor array to be switched After the Cap-switch is discharged to zero, the control switch SW is turned off, and after the capacitor array of the control switch SW is decreased by the set amount of capacitance, the above charging and comparison processes are repeated.
  • the comparator circuit compares and waits after the switched capacitor array Cap-switch is charged for T time, and compares VI and V2 when the set comparison dwell time arrives. That is to say, after the comparator circuit is charged by the Cap-switch of the switched capacitor array, the voltage comparison is not immediately performed, but waits for a period of time, and after the V2 is stabilized, the comparison is performed, which can further improve the correction accuracy.
  • the sum of the charging time ⁇ , the comparison dwell time, and the discharging time is one clock cycle; and the capacitance of the set amount is a unit capacitance value.
  • An embodiment of the present invention provides an on-chip capacitance correcting device, as shown in FIG. 4, including a Comparator circuit (comparator circuit), an R_cal resistor (corrected resistor), an OPA circuit (op amp circuit), and a Cap_switch (switched capacitor array).
  • a Comparator circuit comparative circuit
  • R_cal resistor corrected resistor
  • OPA circuit op amp circuit
  • Cap_switch switched capacitor array
  • Mirror circuit current mirror circuit
  • SW switch
  • SAR-logic control circuit uccessive approximation logic control circuit.
  • the SAR-logic control circuit is used to gradually reduce the capacitance value in the Cap-switch circuit, and the Comparator circuit continuously compares the voltage values on the R eal resistor and the Cap-switch circuit to achieve high-accuracy capacitance correction.
  • an appropriate Vref and a desired R-cal resistance value are selected according to specific needs.
  • the current kl starts to charge the Cap-switch circuit (the charging time is T, which is half of the clock cycle). V2 starts to increase slowly. After T time, the charging stops. At this time, in order to keep the voltage V2 on the Cap-switch circuit unchanged to ensure the accuracy of the comparison between VI and V2, the SW is still disconnected (compare The time is a quarter of a time period).
  • the Comparator circuit outputs a correction end signal, and the correction ends.
  • the VI is greater than V2
  • the SW After the comparison time is over, in order to ensure the accuracy of the next cycle comparison and the accuracy of the overall correction circuit, the SW starts to be turned on so that Cap- The charge in the switch begins to be released until the voltage V2 is zero. For sufficient discharge, the discharge time is a quarter time period. At the same time, the SAR logic control circuit reduces the capacitance of an LSB in the Cap-switch. When the next clock cycle begins, the SW is again disconnected, and the current kl begins to charge the adjusted Cap-switch again.
  • the Comparator circuit compares the VI and V2 again, so that the charging, comparing, discharging and SAR-logic control circuits reduce the capacitance of an LSB in the Cap-switch.
  • the Comparator circuit detects that V2 is greater than or equal to VI, it outputs a correction end signal and the calibration ends. At this time, the capacitance value in the Cap-switch is the corrected high-precision capacitance.
  • the embodiment of the present invention provides an on-chip capacitance correction method, which is applied to the calibration apparatus according to the first or second embodiment, and specifically includes:
  • Step S601 the input current I flows through the corrected resistor to generate a voltage VI; the input current k1 charges the switched capacitor array for a time T, and generates a voltage V2; wherein k is a positive integer;
  • the current I and the current k1 are currents output by the current mirror circuit, and the k is a proportional coefficient of the replica current.
  • Step S602 the comparator circuit compares VI with V2, and outputs the comparison result to the logic control circuit;
  • the comparator circuit waits for comparison after the charging capacitor array is charged for T time, and compares VI and V2 when the set comparison dwell time arrives.
  • Step S603 the logic control circuit outputs a correction end signal when the VI is less than or equal to V2; otherwise, the control switch is closed, and after the switched capacitor array is discharged to zero, the switch is controlled to be turned off, and the switched capacitor array is controlled to be reduced. After a small amount of capacitance value is returned, the process returns to step S601.
  • the set value of the capacitance value is a unit capacitance value
  • the sum of the above charging time ⁇ , the comparison dwell time, and the discharge time is one clock cycle.
  • the apparatus and method provided by the embodiments of the present invention can not only reduce the difficulty of the comparator circuit but also reduce the range of debugging required by the capacitor array, and improve the capacitance by performing capacitance correction using the corrected resistor. The accuracy of the correction.
  • the spirit and scope of the invention Thus, if such modifications and variations of the present invention are claimed in the present invention The invention is also intended to cover such modifications and variations within the scope of the invention.
  • the method and apparatus of the embodiments of the present invention can not only reduce the difficulty of the comparator circuit but also reduce the range of debugging required for the capacitor array by improving the capacitance correction by using the corrected resistor, and improve the capacitance correction. Precision.

Abstract

Embodiments of the present invention disclose an apparatus and a system for correcting a capacitor on chip. The apparatus comprises a corrected resistor, a switch capacitor array, a comparator circuit, a logic control circuit, and a switch. A compactor outputs a comparison result to the logic control circuit by comparing voltages passing through the corrected resistor and the switch capacitor array, and then outputs a correction end signal, or controls opening or closing of the switch, and controls charge, discharge and comparison of the switch capacitor array according to the comparison result. By means of the apparatus and the method, the complexity of a comparator circuit can be reduced and the required commissioning range of a capacitor array is decreased, thereby improving the accuracy and precision of the capacitor correction.

Description

一种片上电容校正装置和方法  On-chip capacitance correcting device and method
技术领域 Technical field
本发明涉及移动通信领域, 尤其涉及一种片上电容校正装置和方法。 背景技术  The present invention relates to the field of mobile communications, and in particular, to an on-chip capacitance correcting apparatus and method. Background technique
在移动通信系统中, 如, 射频收发器( RF transceiver ) 中, 如图 1所示, 需要高精度的模数转换器( ADC )、接收链路 /发射链路滤波器( RX/TX Filter ) , 要想实现高精度的 ADC和 Filter, 需要有高精度的片上电容, 但是, 一般的 电容都会随着工艺、 温度等因素的变化有一个很大的误差变化, 如, TSMC 40匪工艺中的电容误差约为 ± 20%。 所以需要一个校正电路对电容进行自动 校正, 以达到一个很高的精度(例如, ± 1% ) 。  In a mobile communication system, such as an RF transceiver, as shown in Figure 1, a high-precision analog-to-digital converter (ADC), a receive link/transmit link filter (RX/TX Filter) is required. In order to achieve high precision ADC and Filter, high precision on-chip capacitors are required. However, general capacitors have a large error variation with process, temperature and other factors, such as TSMC 40匪 process. The capacitance error is approximately ± 20%. Therefore, a correction circuit is required to automatically correct the capacitance to achieve a high accuracy (for example, ± 1%).
传统的校准电路的结构如图 2所示, 图中 1尸12, 流过电阻产生电压 Vl 12对电容充电产生电压 V2, 通过比较器比较 V2的电压来调整电容, 从 而达到对滤波器进行调试的目的。 但是, 在该电路结构中, 电阻与电容类似, 也会随着工艺、 温度等因素的变化有一个很大的误差变化(误差为 ± 20% ) , 因此, 产生的电压 V也是变化的。 这样就会增大两个电压比较的准确性和难 度, 同时也会增大电容阵列所需调试的范围, 从而减小了电容校正的精度。 发明内容 The structure of the traditional calibration circuit is shown in Figure 2. In the figure, the corpse 1 2 flows through the resistor to generate a voltage V l 1 2 to charge the capacitor to generate a voltage V 2 . The comparator compares the voltage of V 2 to adjust the capacitance. The purpose of debugging the filter. However, in this circuit structure, the resistance is similar to the capacitance, and there is a large error variation (error of ± 20%) with changes in process, temperature, etc., and therefore, the generated voltage V also changes. This will increase the accuracy and difficulty of the two voltage comparisons, and will also increase the range of debugging required for the capacitor array, thereby reducing the accuracy of the capacitance correction. Summary of the invention
本发明实施例提供一种片上电容校正装置和方法, 用以解决相关技术中 电容校准电路的准确性和精度较低, 不满足需求的问题。  The embodiment of the invention provides an on-chip capacitance correcting device and method for solving the problem that the accuracy and precision of the capacitance calibration circuit in the related art are low and the demand is not satisfied.
本发明实施例釆用的技术方案如下:  The technical solutions used in the embodiments of the present invention are as follows:
一方面, 本发明实施例提供一种片上电容校正装置, 包括: 已校正电阻、 开关电容阵列、 比较器电路、 逻辑控制电路、 以及开关, 所述开关一端接地, 另一端与所述开关电容阵列相连;  In one aspect, an embodiment of the present invention provides an on-chip capacitance correcting apparatus, including: a corrected resistor, a switched capacitor array, a comparator circuit, a logic control circuit, and a switch, wherein one end of the switch is grounded, and the other end is coupled to the switched capacitor array Connected
输入电流 I流经所述已校正电阻, 产生电压 VI;  Input current I flows through the corrected resistor to generate a voltage VI;
输入电流 kl对所述开关电容阵列充电 T时间, 产生电压 V2; 其中, k 为正整数; The input current k1 charges the switched capacitor array for T time to generate a voltage V2; wherein k Is a positive integer;
所述比较器电路对 VI与 V2进行比较,并将比较结果输出至逻辑控制电 路; 以及  The comparator circuit compares VI with V2 and outputs the comparison result to the logic control circuit;
所述逻辑控制电路在 VI小于等于 V2时, 输出校正结束信号; 所述逻辑 控制电路在 VI大于 V2时, 控制所述开关闭合, 待所述开关电容阵列放电至 零后, 控制所述开关断开, 以及控制所述开关电容阵列减小设定量的电容值 后, 重复所述充电、 比较过程。  The logic control circuit outputs a correction end signal when the VI is less than or equal to V2; the logic control circuit controls the switch to be closed when VI is greater than V2, and controls the switch to be off after the switched capacitor array is discharged to zero. After the switch capacitor array is controlled to decrease the set value of the capacitor value, the charging and comparing processes are repeated.
可选地, 本发明实施例的所述装置还包括: 电流镜电路, 所述电流 I和 电流 kl为所述电流镜电路输出的电流。  Optionally, the apparatus of the embodiment of the present invention further includes: a current mirror circuit, wherein the current I and the current k1 are currents output by the current mirror circuit.
可选地, 本发明实施例的所述装置中, 比较器电路在所述开关电容阵列 充电 T时间后,进行比较等待,并在设定的比较停留时间到达时,对 VI与 V2 进行比较。  Optionally, in the device of the embodiment of the invention, the comparator circuit performs a comparison wait after the charging capacitor array is charged for T time, and compares VI and V2 when the set comparison dwell time arrives.
可选地, 本发明实施例的所述装置中, 所述充电时间 T、 比较停留时间、 以及放电时间之和为一个时钟周期。  Optionally, in the device of the embodiment of the invention, the sum of the charging time T, the comparison dwell time, and the discharging time is one clock cycle.
可选地, 本发明实施例的所述装置中, 所述设定量的电容值为一个单位 电容值。  Optionally, in the device of the embodiment of the invention, the set value of the capacitance is a unit capacitance value.
另一方面, 本发明实施例提供一种片上电容校正方法, 应用于本发明实 施例的所述校正装置中, 包括:  On the other hand, an embodiment of the present invention provides an on-chip capacitance correction method, which is applied to the calibration apparatus of the embodiment of the present invention, and includes:
输入电流 I流经已校正电阻,产生电压 VI; 输入电流 kl对开关电容阵列 充电 T时间, 产生电压 V2; 其中, k为正整数;  The input current I flows through the corrected resistor to generate a voltage VI; the input current k1 charges the switched capacitor array for a time T to generate a voltage V2; wherein k is a positive integer;
比较器电路对 VI与 V2进行比较, 并将比较结果输出至逻辑控制电路; 以及  The comparator circuit compares VI with V2 and outputs the comparison result to the logic control circuit;
逻辑控制电路在 VI小于等于 V2时, 输出校正结束信号; 所述逻辑控制 电路在 VI大于 V2时, 控制开关闭合, 待所述开关电容阵列放电至零后, 控 制所述开关断开, 以及控制所述开关电容阵列减小设定量的电容值后, 输入 电流 I流经已校正电阻, 产生电压 VI; 输入电流 kl对开关电容阵列充电 T 时间, 产生电压 V2。  The logic control circuit outputs a correction end signal when the VI is less than or equal to V2; the logic control circuit controls the switch to be closed when VI is greater than V2, and controls the switch to be turned off after the discharge capacitor array is discharged to zero, and controls After the switched capacitor array reduces the set capacitance value, the input current I flows through the corrected resistor to generate a voltage VI; the input current k1 charges the switched capacitor array for a T time to generate a voltage V2.
可选地, 本发明实施例的所述方法中, 所述输入电流 I流经已校正电阻 , 产生电压 VI ; 输入电流 kl对开关电容阵列充电 T时间, 产生电压 V2中, 电 流 I和电流 kl为电流镜电路输出的电流。 Optionally, in the method of the embodiment of the present invention, the input current I flows through the corrected resistor. The voltage VI is generated; the input current k1 charges the switched capacitor array for T time, and the generated voltage V2, the current I and the current k1 are the currents output by the current mirror circuit.
可选地, 本发明实施例的所述方法中, 所述比较器电路对 VI与 V2进行 比较, 并将比较结果输出至逻辑控制电路中, 所述比较器电路在所述开关电 容阵列充电 T时间后, 进行比较等待, 并在设定的比较停留时间到达时, 对 VI与 V2进行比较。  Optionally, in the method of the embodiment of the present invention, the comparator circuit compares VI and V2, and outputs the comparison result to a logic control circuit, where the comparator circuit charges T in the switched capacitor array. After the time, the comparison waits and compares VI and V2 when the set comparison dwell time arrives.
可选地, 本发明实施例的所述方法中, 所述充电时间 T、 比较停留时间、 以及放电时间之和为一个时钟周期。  Optionally, in the method of the embodiment of the present invention, the sum of the charging time T, the comparison dwell time, and the discharging time is one clock cycle.
可选地, 本发明实施例的所述方法中, 所述设定量的电容值为一个单位 电容值。  Optionally, in the method of the embodiment of the present invention, the set value of the capacitance is a unit capacitance value.
本发明实施例的有益效果如下:  The beneficial effects of the embodiments of the present invention are as follows:
本发明实施例的所述方法和装置, 通过釆用已经校正的电阻进行电容校 正, 不仅可以降低比较器电路的难度, 而且减小了电容阵列所需调试的范围, 提高了电容校正的精度。 附图概述  The method and apparatus of the embodiments of the present invention not only can reduce the difficulty of the comparator circuit by using the corrected resistance, but also reduce the range of debugging required for the capacitor array, and improve the accuracy of the capacitance correction. BRIEF abstract
下面将对实施例或相关技术描述中所需要使用的附图作一简单地介绍, 显然, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术 人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他 的附图。  BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set forth in the accompanying claims Other drawings can also be obtained from these drawings on the premise of creative labor.
图 1为相关技术中片上电容应用场景图;  1 is a scenario diagram of an on-chip capacitor application in the related art;
图 2为相关技术中电容校正电路的结构图;  2 is a structural diagram of a capacitance correcting circuit in the related art;
图 3为本发明实施例一所述的片上电容校正装置的结构框图;  3 is a structural block diagram of an on-chip capacitance correcting apparatus according to Embodiment 1 of the present invention;
图 4为本发明实施例二所述的片上电容校正装置的结构框图;  4 is a structural block diagram of an on-chip capacitance correcting apparatus according to Embodiment 2 of the present invention;
图 5为本发明实施例二所述装置实现电容校正的流程图;  5 is a flowchart of implementing capacitance correction by the apparatus according to Embodiment 2 of the present invention;
图 6为本发明实施例三提供的一种片上电容校正方法的流程图。 本发明的较佳实施方式 FIG. 6 is a flowchart of a method for correcting on-chip capacitance according to Embodiment 3 of the present invention. Preferred embodiment of the invention
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供一种片上电容校正装置和方法。 所述装置釆用一个已 经校正的电阻 R— cal进行电容校正, 极大的提高了校正精度, 电阻的校正精 度越高, 电容的校正精度也随之增高, 本实施例中建议电阻的校正精度达到 ± 1%。 需要说明的是, 本实施例中, 对于如何校正电阻不作具体限定, 本领 域技术人员可以根据目前已有的任何校正技术进行电阻校正, 校正精度越高 实施例一  Embodiments of the present invention provide an on-chip capacitance correction apparatus and method. The device uses a corrected resistor R-cal for capacitance correction, which greatly improves the calibration accuracy, and the correction accuracy of the resistor is higher, and the correction accuracy of the capacitor is also increased. In this embodiment, the correction accuracy of the resistor is recommended. Up to ± 1%. It should be noted that, in this embodiment, the method for correcting the resistance is not specifically limited, and those skilled in the art can perform resistance correction according to any correction technology currently available, and the correction accuracy is higher.
本实施例提供一种片上电容校正装置, 如图 3所示, 包括: 已校正电阻 R— cal、开关电容阵列 Cap— switch,比较器电路、逻辑控制电路、以及开关 SW, 所述开关 SW—端接地, 另一端与所述开关电容阵列相连;  The embodiment provides an on-chip capacitance correcting device. As shown in FIG. 3, the method includes: a corrected resistor R-cal, a switched capacitor array Cap-switch, a comparator circuit, a logic control circuit, and a switch SW, wherein the switch SW- The terminal is grounded, and the other end is connected to the switched capacitor array;
输入电流 I流经已校正电阻 R_cal, 产生电压 VI;  The input current I flows through the corrected resistor R_cal to generate a voltage VI;
输入电流 kl对开关电容阵列 Cap— switch充电 T时间, 产生电压 V2; 其 中, k为正整数;  The input current k1 charges the switched capacitor array Cap-switch for a time T, and generates a voltage V2; wherein k is a positive integer;
比较器电路对 VI与 V2进行比较, 并将比较结果输出至逻辑控制电路; 逻辑控制电路在 VI小于等于 V2时,输出校正结束信号; 在 VI大于 V2 时, 控制开关 SW闭合, 待开关电容阵列 Cap— switch放电至零后, 控制开关 SW断开, 以及控制开关 SW电容阵列减小设定量的电容值后, 重复上述充 电、 比较过程。  The comparator circuit compares VI and V2, and outputs the comparison result to the logic control circuit; the logic control circuit outputs a correction end signal when the VI is less than or equal to V2; when the VI is greater than V2, the control switch SW is closed, and the capacitor array to be switched After the Cap-switch is discharged to zero, the control switch SW is turned off, and after the capacitor array of the control switch SW is decreased by the set amount of capacitance, the above charging and comparison processes are repeated.
可选地, 比较器电路在开关电容阵列 Cap— switch充电 T时间后, 进行比 较等待,并在设定的比较停留时间到达时,对 VI与 V2进行比较。也就是说, 比较器电路在开关电容阵列 Cap— switch充电后, 并不立刻进行电压比较, 而 是等待一段时间, 待 V2稳定后, 再进行比较, 这样可以进一步提高校正准 确性。 可选地, 本实施例中, 所述充电时间 τ、 比较停留时间、 以及放电时间 之和为一个时钟周期; 所述设定量的电容值为一个单位电容值。 Optionally, the comparator circuit compares and waits after the switched capacitor array Cap-switch is charged for T time, and compares VI and V2 when the set comparison dwell time arrives. That is to say, after the comparator circuit is charged by the Cap-switch of the switched capacitor array, the voltage comparison is not immediately performed, but waits for a period of time, and after the V2 is stabilized, the comparison is performed, which can further improve the correction accuracy. Optionally, in this embodiment, the sum of the charging time τ, the comparison dwell time, and the discharging time is one clock cycle; and the capacitance of the set amount is a unit capacitance value.
实施例二 Embodiment 2
本发明实施例提供一种片上电容校正装置,如图 4所示,包括 Comparator 电路(比较器电路) 、 R_cal电阻(已校正电阻) 、 OPA电路(运放电路) 、 Cap_switch (开关电容阵列 ) 、 Mirror电路(电流镜电路) 、 SW (开关) 、 SAR— logic控制电路(逐次逼近逻辑控制电路)。 利用 SAR— logic控制电路逐 步减小 Cap— switch电路中的电容值, 并通过 Comparator电路不断比较 R eal 电阻和 Cap— switch电路上的电压值, 从而实现高精度的电容校正。  An embodiment of the present invention provides an on-chip capacitance correcting device, as shown in FIG. 4, including a Comparator circuit (comparator circuit), an R_cal resistor (corrected resistor), an OPA circuit (op amp circuit), and a Cap_switch (switched capacitor array). Mirror circuit (current mirror circuit), SW (switch), SAR-logic control circuit (successive approximation logic control circuit). The SAR-logic control circuit is used to gradually reduce the capacitance value in the Cap-switch circuit, and the Comparator circuit continuously compares the voltage values on the R eal resistor and the Cap-switch circuit to achieve high-accuracy capacitance correction.
本实施例中, 根据具体需求选择适当的 Vref和所需的 R— cal电阻值。 电 流 I会通过 R— cal电阻产生电压 VI , 同时电流 I通过一个高精度( ± 1%以内 ) 的电流镜后的电流 kl会对 Cap— switch电路中的电容进行充电并产生电压 V2; 其中, V! =1^ cal , c , C为 Cap— switch的电容值。 基于上述电路结构, 下面详细阐述本实施例中电容校正的整体流程图, 如图 5所示。 当 SAR— logic控制电路接收到一个校正开始的信号后, 在一个 时钟周期开始时, SW断开,此时电流 kl开始对 Cap— switch电路进行充电(充 电时间为 T, 为时钟周期的一半), V2开始慢慢增大, T时间后, 充电停止, 此时为了保持 Cap— switch电路上的电压 V2不变以保证 Comparator电路对 VI 和 V2进行比较的准确性, SW仍然断开(比较停留的时间为四分之一个时间 周期 )。 当检测到 VI小于或者等于 V2时, Comparator电路会输出一个校正 结束信号, 校正结束。 而当检测到 VI大于 V2时, 无校正信号输出, 比较停 留的时间结束后, 为了保证下一周期再次比较的准确度以及整体校正电路所 能实现的精度, SW此时开始接通使得 Cap— switch中的电荷开始释放直至电 压 V2为零,为了放电充分,放电时间为四分之一个时间周期,同时, SAR logic 控制电路会减小 Cap— switch中一个 LSB的电容值。当下一个时钟周期开始时, SW又重新断开, 电流 kl再次开始对调整后的 Cap— switch进行充电, V2又 慢慢升高, 充电 T时间后, 充电停止, Comparator电路再次对 VI和 V2进行 比较检测, 如此充电、 比较、 放电和 SAR— logic控制电路减小 Cap— switch中 一个 LSB的电容过程不断重复, 直至 Comparator电路测到 V2大于或者等于 VI时, 输出一个校正结束信号, 校正结束。 此时 Cap— switch中的电容值即为 校正后的高精度的电容。 In this embodiment, an appropriate Vref and a desired R-cal resistance value are selected according to specific needs. The current I generates a voltage VI through the R-cal resistor, while the current I charges the capacitor in the Cap-switch circuit through a high-precision (within ± 1%) current mirror k1 and generates a voltage V 2 ; , V! =1^ cal , c , C is the capacitance value of Cap-switch. Based on the above circuit structure, the overall flow chart of the capacitance correction in the present embodiment will be described in detail below, as shown in FIG. When the SAR-logic control circuit receives a signal that the correction starts, at the beginning of one clock cycle, SW is turned off. At this time, the current kl starts to charge the Cap-switch circuit (the charging time is T, which is half of the clock cycle). V2 starts to increase slowly. After T time, the charging stops. At this time, in order to keep the voltage V2 on the Cap-switch circuit unchanged to ensure the accuracy of the comparison between VI and V2, the SW is still disconnected (compare The time is a quarter of a time period). When it is detected that the VI is less than or equal to V2, the Comparator circuit outputs a correction end signal, and the correction ends. When it is detected that the VI is greater than V2, there is no correction signal output. After the comparison time is over, in order to ensure the accuracy of the next cycle comparison and the accuracy of the overall correction circuit, the SW starts to be turned on so that Cap- The charge in the switch begins to be released until the voltage V2 is zero. For sufficient discharge, the discharge time is a quarter time period. At the same time, the SAR logic control circuit reduces the capacitance of an LSB in the Cap-switch. When the next clock cycle begins, the SW is again disconnected, and the current kl begins to charge the adjusted Cap-switch again. V2 again Slowly rise, after charging T time, the charging stops, the Comparator circuit compares the VI and V2 again, so that the charging, comparing, discharging and SAR-logic control circuits reduce the capacitance of an LSB in the Cap-switch. When the Comparator circuit detects that V2 is greater than or equal to VI, it outputs a correction end signal and the calibration ends. At this time, the capacitance value in the Cap-switch is the corrected high-precision capacitance.
实施例三 Embodiment 3
如图 6所示, 本发明实施例提供一种片上电容校正方法, 该方法应用于 实施例一或二所述的校正装置中, 具体包括:  As shown in FIG. 6, the embodiment of the present invention provides an on-chip capacitance correction method, which is applied to the calibration apparatus according to the first or second embodiment, and specifically includes:
步骤 S601 , 输入电流 I流经已校正电阻, 产生电压 VI; 输入电流 kl对 开关电容阵列充电 T时间, 产生电压 V2; 其中, k为正整数;  Step S601, the input current I flows through the corrected resistor to generate a voltage VI; the input current k1 charges the switched capacitor array for a time T, and generates a voltage V2; wherein k is a positive integer;
可选地 , 该步骤中 , 电流 I和电流 kl为电流镜电路输出的电流 , 所述 k 为复制电流的比例系数。  Optionally, in this step, the current I and the current k1 are currents output by the current mirror circuit, and the k is a proportional coefficient of the replica current.
步骤 S602, 比较器电路对 VI与 V2进行比较, 并将比较结果输出至逻 辑控制电路;  Step S602, the comparator circuit compares VI with V2, and outputs the comparison result to the logic control circuit;
可选地, 该步骤中, 比较器电路在开关电容阵列充电 T时间后, 进行比 较等待, 并在设定的比较停留时间到达时, 对 VI与 V2进行比较。  Optionally, in this step, the comparator circuit waits for comparison after the charging capacitor array is charged for T time, and compares VI and V2 when the set comparison dwell time arrives.
步骤 S603 , 逻辑控制电路在 VI小于等于 V2时, 输出校正结束信号; 否则, 控制开关闭合, 待所述开关电容阵列放电至零后, 控制所述开关断开, 以及控制所述开关电容阵列减小设定量的电容值后, 返回步骤 S601。  Step S603, the logic control circuit outputs a correction end signal when the VI is less than or equal to V2; otherwise, the control switch is closed, and after the switched capacitor array is discharged to zero, the switch is controlled to be turned off, and the switched capacitor array is controlled to be reduced. After a small amount of capacitance value is returned, the process returns to step S601.
可选地, 该步骤中, 设定量的电容值为一个单位电容值;  Optionally, in this step, the set value of the capacitance value is a unit capacitance value;
可选地, 上述充电时间 τ、 比较停留时间、 以及放电时间之和为一个时 钟周期。  Alternatively, the sum of the above charging time τ, the comparison dwell time, and the discharge time is one clock cycle.
综上所述, 本发明实施例提供的装置和方法, 通过釆用已经校正的电阻 进行电容校正, 不仅可以降低比较器电路的难度, 而且减小了电容阵列所需 调试的范围, 提高了电容校正的精度。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。 In summary, the apparatus and method provided by the embodiments of the present invention can not only reduce the difficulty of the comparator circuit but also reduce the range of debugging required by the capacitor array, and improve the capacitance by performing capacitance correction using the corrected resistor. The accuracy of the correction. The spirit and scope of the invention. Thus, if such modifications and variations of the present invention are claimed in the present invention The invention is also intended to cover such modifications and variations within the scope of the invention.
工业实用性 本发明实施例的所述方法和装置, 通过釆用已经校正的电阻进行电容校 正, 不仅可以降低比较器电路的难度, 而且减小了电容阵列所需调试的范围, 提高了电容校正的精度。 INDUSTRIAL APPLICABILITY The method and apparatus of the embodiments of the present invention can not only reduce the difficulty of the comparator circuit but also reduce the range of debugging required for the capacitor array by improving the capacitance correction by using the corrected resistor, and improve the capacitance correction. Precision.

Claims

权 利 要 求 书 claims
1、 一种片上电容校正装置, 包括: 已校正电阻、 开关电容阵列、 比较器 电路、 逻辑控制电路、 以及开关, 所述开关一端接地, 另一端与所述开关电 容阵列相连; 1. An on-chip capacitance correction device, including: a corrected resistor, a switched capacitor array, a comparator circuit, a logic control circuit, and a switch, one end of the switch is grounded, and the other end is connected to the switched capacitor array;
输入电流 I流经所述已校正电阻, 产生电压 VI; The input current I flows through the corrected resistor, generating a voltage VI;
输入电流 kl对所述开关电容阵列充电 T时间, 产生电压 V2; 其中, k 为正整数; The input current kl charges the switched capacitor array for T time to generate voltage V2; where k is a positive integer;
所述比较器电路对 VI与 V2进行比较,并将比较结果输出至逻辑控制电 路; 以及 The comparator circuit compares VI with V2 and outputs the comparison result to the logic control circuit; and
所述逻辑控制电路在 VI小于等于 V2时, 输出校正结束信号; 所述逻辑 控制电路在 VI大于 V2时, 控制所述开关闭合, 待所述开关电容阵列放电至 零后, 控制所述开关断开, 以及控制所述开关电容阵列减小设定量的电容值 后, 重复所述充电、 比较过程。 The logic control circuit outputs a correction end signal when VI is less than or equal to V2; the logic control circuit controls the switch to close when VI is greater than V2, and controls the switch to open after the switched capacitor array is discharged to zero. After turning on and controlling the switched capacitor array to reduce the capacitance value by a set amount, the charging and comparison process is repeated.
2、 如权利要求 1所述的装置, 其中, 所述装置还包括: 电流镜电路, 所 述电流 I和电流 kl为所述电流镜电路输出的电流。 2. The device according to claim 1, wherein the device further includes: a current mirror circuit, and the current I and the current kl are currents output by the current mirror circuit.
3、 如权利要求 1或 2所述的装置, 其中, 所述比较器电路在所述开关电 容阵列充电 T时间后, 进行比较等待, 并在设定的比较停留时间到达时, 对 VI与 V2进行比较。 3. The device according to claim 1 or 2, wherein the comparator circuit waits for comparison after charging the switched capacitor array for T time, and when the set comparison dwell time is reached, compares VI and V2 Compare.
4、 如权利要求 3所述的装置, 其中, 所述充电时间 T、 比较停留时间、 以及放电时间之和为一个时钟周期。 4. The device according to claim 3, wherein the sum of the charging time T, the comparison dwell time, and the discharging time is one clock cycle.
5、 如权利要求 1或 2或 4所述的装置, 其中, 所述设定量的电容值为一 个单位电容值。 5. The device according to claim 1, 2, or 4, wherein the set amount of capacitance value is a unit capacitance value.
6、 一种应用权利要求 1所述装置进行片上电容校正的方法, 包括: 输入电流 I流经已校正电阻,产生电压 VI; 输入电流 kl对开关电容阵列 充电 T时间, 产生电压 V2; 其中, k为正整数; 6. A method for on-chip capacitance correction using the device of claim 1, including: input current I flows through the corrected resistor to generate voltage VI; input current kl charges the switched capacitor array for T time to generate voltage V2; wherein, k is a positive integer;
比较器电路对 VI与 V2进行比较, 并将比较结果输出至逻辑控制电路; 以及 The comparator circuit compares VI with V2 and outputs the comparison result to the logic control circuit; and
逻辑控制电路在 VI小于等于 V2时, 输出校正结束信号; 所述逻辑控制 电路在 VI大于 V2时, 控制开关闭合, 待所述开关电容阵列放电至零后, 控 制所述开关断开, 以及控制所述开关电容阵列减小设定量的电容值后, 输入 电流 I流经已校正电阻, 产生电压 VI; 输入电流 kl对开关电容阵列充电 T 时间, 产生电压 V2。 The logic control circuit outputs a correction end signal when VI is less than or equal to V2; the logic control circuit When VI is greater than V2, the circuit controls the switch to close, and after the switched capacitor array is discharged to zero, it controls the switch to open, and after controlling the switched capacitor array to reduce the capacitance value by a set amount, the input current I flows. After the corrected resistance, the voltage VI is generated; the input current kl charges the switched capacitor array for T time, generating the voltage V2.
7、 如权利要求 6所述的方法, 其中, 所述输入电流 I流经已校正电阻, 产生电压 VI; 输入电流 kl对开关电容阵列充电 T时间, 产生电压 V2中, 电 流 I和电流 kl为电流镜电路输出的电流。 7. The method of claim 6, wherein the input current I flows through the corrected resistor to generate the voltage VI; the input current kl charges the switched capacitor array for T time to generate the voltage V2, the current I and the current kl are The current output by the current mirror circuit.
8、 如权利要求 6或 7所述的方法, 其中, 所述比较器电路对 VI与 V2 进行比较, 并将比较结果输出至逻辑控制电路中, 所述比较器电路在所述开 关电容阵列充电 T时间后,进行比较等待, 并在设定的比较停留时间到达时, 对 VI与 V2进行比较。 8. The method according to claim 6 or 7, wherein the comparator circuit compares VI and V2 and outputs the comparison result to the logic control circuit, and the comparator circuit charges the switched capacitor array After T time, wait for comparison, and when the set comparison dwell time arrives, compare VI and V2.
9、 如权利要求 8所述的方法, 其中, 所述充电时间 T、 比较停留时间、 以及放电时间之和为一个时钟周期。 9. The method of claim 8, wherein the sum of the charging time T, the comparison dwell time, and the discharging time is one clock cycle.
10、 如权利要求 6或 7或 9所述的方法, 其中, 所述设定量的电容值为 一个单位电容值。 10. The method of claim 6, 7, or 9, wherein the set amount of capacitance value is a unit capacitance value.
PCT/CN2013/089351 2013-02-26 2013-12-13 Apparatus and system for correcting capacitor on chip WO2014131305A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310059540.2 2013-02-26
CN201310059540.2A CN104009747A (en) 2013-02-26 2013-02-26 On-chip capacitor correcting unit and method thereof

Publications (1)

Publication Number Publication Date
WO2014131305A1 true WO2014131305A1 (en) 2014-09-04

Family

ID=51370262

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/089351 WO2014131305A1 (en) 2013-02-26 2013-12-13 Apparatus and system for correcting capacitor on chip

Country Status (2)

Country Link
CN (1) CN104009747A (en)
WO (1) WO2014131305A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106059523B (en) * 2016-04-20 2018-12-14 佛山臻智微芯科技有限公司 A kind of on-chip capacitance bearing calibration based on LC resonance circuit
CN106059564A (en) * 2016-04-20 2016-10-26 佛山臻智微芯科技有限公司 On-chip capacitor correction method applied to filter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6262603B1 (en) * 2000-02-29 2001-07-17 National Semiconductor Corporation RC calibration circuit with reduced power consumption and increased accuracy
CN101887280A (en) * 2009-05-12 2010-11-17 联发科技股份有限公司 Calibration apparatus and calibration method thereof
CN202455320U (en) * 2011-12-31 2012-09-26 国民技术股份有限公司 RC (resistor-capacitor) filter correction circuit
CN102710234A (en) * 2012-07-03 2012-10-03 复旦大学 Automatic frequency correction method and circuit for active resistance capacitive filter
CN102916679A (en) * 2012-10-19 2013-02-06 钜泉光电科技(上海)股份有限公司 Circuit for supplying precise low-frequency clock signal, and control method for circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6262603B1 (en) * 2000-02-29 2001-07-17 National Semiconductor Corporation RC calibration circuit with reduced power consumption and increased accuracy
CN101887280A (en) * 2009-05-12 2010-11-17 联发科技股份有限公司 Calibration apparatus and calibration method thereof
CN202455320U (en) * 2011-12-31 2012-09-26 国民技术股份有限公司 RC (resistor-capacitor) filter correction circuit
CN102710234A (en) * 2012-07-03 2012-10-03 复旦大学 Automatic frequency correction method and circuit for active resistance capacitive filter
CN102916679A (en) * 2012-10-19 2013-02-06 钜泉光电科技(上海)股份有限公司 Circuit for supplying precise low-frequency clock signal, and control method for circuit

Also Published As

Publication number Publication date
CN104009747A (en) 2014-08-27

Similar Documents

Publication Publication Date Title
CN111030630B (en) Circuit and method for calibrating RC time constant on chip by using switched capacitor
US8552797B2 (en) High accuracy RC calibradion circuit
CN106656185B (en) Monoclinic analog-to-digital converter with digital double sampling function, chip and terminal
US9054721B1 (en) Systems and methods for digital calibration of successive-approximation-register analog-to-digital converter
US11029197B2 (en) Optical sensor arrangement and method for light sensing
US8842029B2 (en) Area-efficiency delta modulator for quantizing an analog signal
TW201810954A (en) Calibration circuit and calibration method for DAC
CN201766572U (en) DAC calibration circuit
WO2014131305A1 (en) Apparatus and system for correcting capacitor on chip
CN101951262B (en) DAC (Digital Analog Converter) calibrating circuit and calibrating method thereof
US9276596B1 (en) Analog to digital converting apparatus and initial method thereof
TW201334403A (en) RC calibration circuit without current mismatch
CN109643139B (en) Impedance adjusting circuit, chip and reference voltage generating circuit
US11112481B2 (en) Differential circuit calibration apparatus and method
CN108599764B (en) Step-length-adjustable comparator offset voltage correction circuit and method
US9293939B2 (en) Calibration of a BST capacitor control circuit
TWI500261B (en) Impedance calibration device and method therefor
TWI622273B (en) Charge-redistribution successive approximation adc and control method thereof
CN108134592A (en) The RC time constants calibration circuit and method of a kind of active filter
CN111819790B (en) Method for operating an optical sensor device with improved offset correction, and optical sensor device
CN208143192U (en) A kind of RC time constant correcting circuit using CMOS technology chip interior
CN113552793A (en) Self-calibration high-precision digital time conversion circuit
TWI542140B (en) Electronic system and auto configuration method for an operational amplifier in the electronic system
TWI698091B (en) Successive approximation register analog-to-digital converter and operation method thereof
CN107800435B (en) Compensation circuit and cancellation method for parasitic effect of capacitor array

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13876315

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13876315

Country of ref document: EP

Kind code of ref document: A1