[go: up one dir, main page]

CN102427368B - High-speed successive approximation register analog-to-digital converter - Google Patents

High-speed successive approximation register analog-to-digital converter Download PDF

Info

Publication number
CN102427368B
CN102427368B CN201110392755.7A CN201110392755A CN102427368B CN 102427368 B CN102427368 B CN 102427368B CN 201110392755 A CN201110392755 A CN 201110392755A CN 102427368 B CN102427368 B CN 102427368B
Authority
CN
China
Prior art keywords
value
capacitor
offset
calibration
array
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.)
Expired - Fee Related
Application number
CN201110392755.7A
Other languages
Chinese (zh)
Other versions
CN102427368A (en
Inventor
游学武
胡天豪
温锦泉
王一涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hong Kong Applied Science and Technology Research Institute ASTRI
Original Assignee
Hong Kong Applied Science and Technology Research Institute ASTRI
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 Hong Kong Applied Science and Technology Research Institute ASTRI filed Critical Hong Kong Applied Science and Technology Research Institute ASTRI
Priority to CN201110392755.7A priority Critical patent/CN102427368B/en
Publication of CN102427368A publication Critical patent/CN102427368A/en
Application granted granted Critical
Publication of CN102427368B publication Critical patent/CN102427368B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

A successive approximation register analog-to-digital converter (SAR-ADC) predicts the compensation value for future cycles. The compensation value is applied to the capacitors in the calibration Y-side capacitor array to compensate for the capacitance error of the binary-weighted X-side capacitor array. Two calculation engines pre-calculate the predictor-0 and predictor-1 compensation values for the next bit to be converted. At the end of the current period, when the comparator determines the current bit, the comparator also controls the multiplexer to select one of the predictive compensation values. The compensation value is therefore present at the beginning of the next bit period, shortening the computation delay. The compensation value for the first bit to be converted, e.g. the MSB, is calculated during calibration. The compensation values for the other bits are data dependent. During calibration, the calibration values are accumulated to produce a first conversion compensation value for the first bit to be converted.

Description

一种高速的逐次逼近寄存器模数转换器A High Speed Successive Approximation Register Analog-to-Digital Converter

【技术领域】【Technical field】

本发明涉及模数转换器(ADC),特别涉及用于提高逐次逼近寄存器(SAR)ADC速度的管线式方法(pipelining method)。The present invention relates to analog-to-digital converters (ADCs), and more particularly to a pipelined method for increasing the speed of successive approximation register (SAR) ADCs.

【背景技术】【Background technique】

在系统芯片内常有各种模拟和数字电路。信号从数字域到模拟域转变,或者相反。模拟信号转换成数字信号用于复杂的数字处理,例如数字信号处理器(DSP)。There are often various analog and digital circuits in the system chip. Signal transitions from the digital domain to the analog domain, or vice versa. Analog signals are converted to digital signals for complex digital processing, such as digital signal processors (DSP).

有多种类型的模数转换器(ADC)已经广泛用于各种应用当中。闪速式(flash)ADC在一瞬间比较模拟信号电压和多个电压电平,产生一个代表该模拟电压的多比特数字值。逐次逼近ADC使用一系列阶段将一个模拟电压转换成数字比特。每个阶段比较一个模拟电压和一个参考电压,产生一个数字比特。在分级比较(sub-ranging)ADC中,每个阶段比较一个模拟电压和几个电压电平,所以每个阶段产生几个比特。在管线中,随后的阶段比在前的阶段产生更低的有效数字比特。There are several types of analog-to-digital converters (ADCs) that have been used in a wide variety of applications. A flash ADC compares an analog signal voltage to multiple voltage levels in an instant, producing a multi-bit digital value representing the analog voltage. Successive approximation ADCs use a series of stages to convert an analog voltage into digital bits. Each stage compares an analog voltage to a reference voltage and produces a digital bit. In a sub-ranging ADC, each stage compares an analog voltage to several voltage levels, so each stage produces several bits. In the pipeline, subsequent stages produce lower significant digit bits than previous stages.

算法、循环型ADC使用一个环路去转换模拟电压。该模拟电压被取样和比较以产生一个最高有效数字比特。然后该数字比特被转换回模拟的并从原模拟电压中减去,产生一个残余电压。然后该残余电压乘以2,再返回比较器以产生下一个数字比特。所以数字比特是在同一个比较器阶段里的多个循环里产生的。Algorithmic, cyclic ADCs use a loop to convert an analog voltage. The analog voltage is sampled and compared to produce a most significant digital bit. The digital bits are then converted back to analog and subtracted from the original analog voltage, producing a residual voltage. This residual voltage is then multiplied by 2 and returned to the comparator to generate the next digital bit. So digital bits are generated in multiple cycles within the same comparator stage.

图1是一个逐次逼近式寄存器ADC。逐次逼近寄存器SAR102接收一个时钟CLK并包含一个寄存器值,其不断改变而逐渐接近模拟输入电压VIN。例如,当和VIN0.312伏特比较时,在SAR102中的值可以开始是0.5,然后是0.25,然后是0.375,然后0.312,然后0.281,然后0.296,然后0.304,然后0.308,然后0.31,然后0.311,最后是0.312。SAR102输出当前寄存器值到数模转换器(DAC)100,其接收一个参考电压VREF,并将寄存器值转换成一个模拟电压VA。Figure 1 is a successive approximation register ADC. The successive approximation register SAR102 receives a clock CLK and contains a register value which is constantly changing to gradually approach the analog input voltage VIN. For example, when compared to VIN 0.312 volts, the values in SAR102 could start at 0.5, then 0.25, then 0.375, then 0.312, then 0.281, then 0.296, then 0.304, then 0.308, then 0.31, then 0.311, Finally it was 0.312. SAR 102 outputs the current register value to digital-to-analog converter (DAC) 100, which receives a reference voltage VREF and converts the register value into an analog voltage VA.

输入模拟电压VIN被施加在取样保持电路104上,其取样并保持VIN值。例如,一个电容器可以由VIN充电,然后该电容器和VIN隔离,保持该模拟电压。被取样保持电路104取样的输入电压施加在比较器106的反相输入上。被转换的模拟电压VA施加在比较器106的非反相输入上。The input analog voltage VIN is applied to the sample-and-hold circuit 104, which samples and holds the value of VIN. For example, a capacitor can be charged by VIN and then isolated from VIN, maintaining the analog voltage. The input voltage sampled by sample and hold circuit 104 is applied to the inverting input of comparator 106 . The converted analog voltage VA is applied to the non-inverting input of comparator 106 .

比较器106比较转换的模拟电压VA和取样的输入电压,当转换的模拟电压高于取样的VIN时,产生一高输出,SAR102内的寄存器值就太高。然后SAR102内的寄存器值就降低。The comparator 106 compares the converted analog voltage VA with the sampled input voltage. When the converted analog voltage is higher than the sampled VIN, a high output is generated, and the register value in the SAR 102 is too high. Then the register value in SAR102 is lowered.

当转换的模拟电压VA低于取样的输入电压时,比较器106就产生一低输出到SAR102。SAR102内的寄存器值就太低,然后SAR102内的寄存器值就升高用于下一循环。When the converted analog voltage VA is lower than the sampled input voltage, the comparator 106 generates a low output to the SAR 102 . The register value in SAR 102 is then too low, and then the register value in SAR 102 is raised for the next cycle.

SAR102中的寄存器值是N比特的二进制值,其中D(N-1)是最高有效比特(MSB),D0是最低有效比特(LSB)。SAR102可以首先设置MSB D(N-1),然后比较转换的模拟电压VA和输入电压VIN,然后基于比较而调整MSB和/或设置下一个MSB D(N-2)。重复该设置和比较循环,直到N次循环后设置LSB。在最后一个循环后,循环结束信号EOC被激活,指示完成。一个状态机或其他控制器可以与SAR一起使用或包含在SAR内,以控制顺序。The register value in SAR102 is an N-bit binary value, where D(N-1) is the most significant bit (MSB), and D0 is the least significant bit (LSB). The SAR102 can first set the MSB D(N-1), then compare the converted analog voltage VA to the input voltage VIN, then adjust the MSB and/or set the next MSB D(N-2) based on the comparison. This set and compare cycle is repeated until the LSB is set after N cycles. After the last cycle, the end-of-cycle signal EOC is activated, indicating completion. A state machine or other controller can be used with or included within the SAR to control the sequence.

DAC100或取样保持电路104可以有一电容器阵列。电容有二进制加权值,如1,2,4,8,16,32,…乘以一最小电容尺寸。例如,一个6比特DAC可以有一排1,2,4,8,16,32乘以一最小电容C的电容器。较高精度的DAC如11比特DAC有较大的电容器值,如2N-1=1024。DAC 100 or sample and hold circuit 104 may have an array of capacitors. Capacitors have binary weighted values, such as 1, 2, 4, 8, 16, 32, ... multiplied by a minimum capacitor size. For example, a 6-bit DAC can have a bank of 1, 2, 4, 8, 16, 32 multiplied by a minimum capacitance C of capacitors. Higher precision DACs such as 11-bit DACs have larger capacitor values, such as 2 N-1 =1024.

图2显示SAR ADC解析一个输入电压。SAR102的寄存器值初始被设置为1/2,或10000。比较器106确定输入电压VIN低于来自SAR102的转换值,所以在下一循环,SAR102被设置为1/4,或01000。比较器106确定输入电压VIN高于来自SAR102的转换值,所以在第三循环,SAR102被设置为3/8,或01100。比较器106确定输入电压VIN低于来自SAR102的转换值,所以在第四循环,SAR102被设置为5/6,或01010。现在比较器106确定输入电压VIN高于来自SAR102的转换值,所以在第五循环,SAR102被设置为9/32,或01011。最后的比较是VIN高于转换值,因此最终结果是01011。Figure 2 shows a SAR ADC resolving an input voltage. The register value of SAR102 is initially set to 1/2, or 10000. Comparator 106 determines that input voltage VIN is lower than the converted value from SAR 102, so on the next cycle, SAR 102 is set to 1/4, or 01000. Comparator 106 determines that input voltage VIN is higher than the converted value from SAR 102, so in the third cycle, SAR 102 is set to 3/8, or 01100. Comparator 106 determines that input voltage VIN is lower than the converted value from SAR 102, so in the fourth cycle, SAR 102 is set to 5/6, or 01010. Comparator 106 now determines that input voltage VIN is higher than the converted value from SAR 102, so in the fifth cycle, SAR 102 is set to 9/32, or 01011. The final comparison is that VIN is higher than the converted value, so the final result is 01011.

虽然这样的电容器阵列DAC是有用的,但是大尺寸的MSB电容器需要大量的电荷转移。可以缩小最小电容器尺寸C以减小电容器阵列的总电容,因此降低动态功率需求。最小电容器尺寸是由加工技术限制的。例如,对于一个金属-金属电容器,亚微米技术可以允许4x4μm2的最小物理尺寸,其电容值大概是16fF。While such capacitor array DACs are useful, large size MSB capacitors require a large amount of charge transfer. The minimum capacitor size C can be reduced to reduce the total capacitance of the capacitor array, thus reducing dynamic power requirements. The minimum capacitor size is limited by processing technology. For example, for a metal-metal capacitor, submicron technology allows a minimum physical size of 4x4μm2, with a capacitance of about 16fF.

对于要得到精确结果,在二进制加权阵列里匹配电容值是非常重要的。在深亚微米加工中,固有的设备和阻抗不匹配限制了转换器精度大概是10比特左右。For accurate results, matching capacitor values in the binary weighted array is very important. In deep submicron processing, inherent device and impedance mismatches limit converter accuracy to around 10 bits.

精度可以通过校准而得到提高。在输入电压被转换成数字值之前,可以执行一系列称为校准的步骤。校准可以通过和其他阵列电容器共享电荷,来测量每个电容器的不匹配。连接和断开其他阵列电容器,直到出现一个电压匹配。一旦出现最终的电压匹配,通过记录该电容器的使能信号(enable signal),得到一个不匹配值。Accuracy can be improved through calibration. Before the input voltage is converted to a digital value, a series of steps called calibration can be performed. Calibration can measure the mismatch of each capacitor by sharing charge with other array capacitors. Connect and disconnect other array capacitors until a voltage match occurs. Once a final voltage match occurs, a mismatch value is obtained by recording the enable signal for that capacitor.

然后对主阵列里的下一个电容器,重复该程序,存储其不匹配值。一旦该校准程序已经对主阵列里所有电容器都执行过了,那么这些每一个电容器的不匹配值就存储为电容系数。然后当处理模拟输入电压VIN时,这些电容系数可以规划第二阵列,以减去这些不匹配误差。接下来较小的电容器在主阵列里也被评估,它们存储的电容系数将被应用到第二电容器阵列。The procedure is then repeated for the next capacitor in the main array, storing its mismatch value. Once the calibration procedure has been performed on all capacitors in the main array, the mismatch values for each of these capacitors are stored as capacitance coefficients. These capacitance coefficients can then program a second array to subtract out these mismatch errors when processing the analog input voltage VIN. Next the smaller capacitors in the main array are also evaluated and their stored capacitance coefficients are applied to the second capacitor array.

在图2的例子里,当MSB D4被转换时,MSB电容器被切换而接收共享电荷,较低有效的电容器被切换断开或隔离。MSB电容器的误差在之前已经被校准确定为10000,该校准值10000被应用到DAC的第二(校准)阵列以补偿主阵列里MSN电容器误差。MSB的值被确定为0。然后倒数第二的MSB电容器被切换而在主DAC里共享的电荷,但是MSB电容器在主阵列里被隔离,因为MSB数字值被确定为0(D4=0)。在校准时,倒数第二的MSB的误差被确定为01000,校准值01000被应用到第二(校准)阵列用于补偿。比较器确定倒数第二个MSB D3=1。In the example of Figure 2, when MSB D4 is toggled, the MSB capacitor is switched to receive the shared charge and the less effective capacitor is switched off or isolated. The error of the MSB capacitors has been previously calibrated to 10000, and this calibration value of 10000 is applied to the second (calibration) array of DACs to compensate for the MSN capacitor errors in the main array. The value of MSB is determined to be 0. Then the penultimate MSB capacitor is switched to share the charge in the main DAC, but the MSB capacitor is isolated in the main array because the MSB digital value is determined to be 0 (D4=0). When calibrating, the penultimate MSB error is determined to be 01000, and the calibration value of 01000 is applied to the second (calibration) array for compensation. The comparator asserts that the penultimate MSB D3=1.

在下一个循环,MSB电容器被隔离,但是MSB-1和MSB-2电容器被连接而在主阵列里共享电荷。读取MSB-1和MSB-2电容器的校准值并加在一起,得到补偿值01100,其被应用到第二阵列以补偿MSB-1和MSB-2电容器的误差。比较器确定MSB-2数字值D2=0。On the next cycle, the MSB capacitors are isolated, but the MSB-1 and MSB-2 capacitors are connected to share charge in the main array. The calibration values for the MSB-1 and MSB-2 capacitors are read and added together, resulting in a compensation value of 01100, which is applied to the second array to compensate for the errors of the MSB-1 and MSB-2 capacitors. The comparator determines the MSB-2 digital value D2=0.

在第四循环,MSB电容器和MSB-2电容器被隔离,但是MSB-1和MSB-3电容器被连接而在主阵列里共享电荷。读取MSB-1和MSB-3电容器的校准值并加在一起,得到补偿值01010,其被应用到第二阵列以补偿MSB-1和MSB-3电容器的误差。比较器确定MSB-3数字值D1=1。In the fourth cycle, the MSB and MSB-2 capacitors are isolated, but the MSB-1 and MSB-3 capacitors are connected to share charge in the main array. The calibration values for the MSB-1 and MSB-3 capacitors are read and added together, resulting in a compensation value of 01010, which is applied to the second array to compensate for the errors of the MSB-1 and MSB-3 capacitors. The comparator determines the MSB-3 digital value D1=1.

在最后的循环,MSB电容器和MSB-2电容器被隔离,但是MSB-1和MSB-3和LSB电容器(D3、D1、D0)被连接而在主阵列里共享电荷。读取MSB-1和MSB-3和LSB电容器(D3、D1、D0)的校准值并加在一起,得到补偿值01011,其被应用到第二阵列以补偿连接的电容器D3、D1、D0的误差。比较器确定LSB数字值是D0=1。因此最后结果是,数字值01011代表该模拟输入电压。In the final cycle, the MSB and MSB-2 capacitors are isolated, but the MSB-1 and MSB-3 and LSB capacitors (D3, D1, D0) are connected to share charge in the main array. The calibration values for the MSB-1 and MSB-3 and LSB capacitors (D3, D1, D0) are read and added together to give a compensation value of 01011 which is applied to the second array to compensate for the connected capacitors D3, D1, D0 error. The comparator determines that the LSB digital value is D0=1. So the end result is that the digital value 01011 represents the analog input voltage.

图3是一个具有二进制加权电容器阵列和校准子DAC电容器阵列的SAR ADC的示意图。二进制加权X侧电容器阵列40有电容器22-28,其连接节点VX,节点VX载有电压VX并连接至比较器20的反相输入。Figure 3 is a schematic diagram of a SAR ADC with a binary weighted capacitor array and a calibration sub-DAC capacitor array. Binary weighted X-side capacitor array 40 has capacitors 22 - 28 connected to node VX carrying voltage VX and connected to the inverting input of comparator 20 .

比较器20的非反相输入连接到Y侧电容器阵列,其用于二进制加权X侧电容器阵列40里的电容器22-28的误差校准和补偿。The non-inverting input of comparator 20 is connected to the Y-side capacitor array, which is used for error calibration and compensation of capacitors 22-28 in binary-weighted X-side capacitor array 40.

二进制加权Y侧电容器阵列42有电容器55-58,其连接到节点VY,节点VY载有电压VY并连接至比较器20的非反相输入。校准值Y5:Y0、YT应用在开关68-62上。YT是终止比特(termination bit)。Binary weighted Y-side capacitor array 42 has capacitors 55 - 58 connected to node VY carrying voltage VY and connected to the non-inverting input of comparator 20 . Calibration values Y5:Y0, YT are applied to switches 68-62. YT is the termination bit.

ADC的精度比存储在逐次逼近式寄存器SAR206里的二进制比特数要少一位。除了二进制比特X5:X0,SAR206还存储有终止比特XT。SAR206还存储有校准Y侧比特Y5:Y0、YT。The accuracy of the ADC is one bit less than the number of binary bits stored in the successive approximation register SAR206. In addition to binary bits X5:X0, SAR 206 also stores termination bits XT. SAR 206 also stores calibration Y side bits Y5:Y0, YT.

在差分模拟输入电压VINP、VINN被转换为数字值之前,执行一个校准程序。校准程序首先为二进制加权X侧电容器阵列40里的每个电容器28-22找到不匹配误差,并为每个X侧电容器存储该误差系数。然后该校准程序对二进制加权Y侧电容器阵列42里的每个电容器58-52执行一遍,并为每个Y侧电容器存储Y侧误差系数。Before the differential analog input voltages VINP, VINN are converted to digital values, a calibration procedure is performed. The calibration procedure first finds the mismatch error for each capacitor 28-22 in the binary weighted X-side capacitor array 40, and stores this error coefficient for each X-side capacitor. The calibration procedure is then performed for each capacitor 58-52 in the binary weighted Y-side capacitor array 42, and a Y-side error coefficient is stored for each Y-side capacitor.

一旦完成校准,就执行正常运行,模拟电压被转换成数字值。这些误差系数被用来继续控制校准Y侧电容器阵列42里的开关68-62,以减去这些不匹配误差,因为每个X侧电容器28-23都被评估了。Once calibration is complete and normal operation is performed, the analog voltage is converted to a digital value. These error factors are used to continue to control the switches 68-62 in the calibration Y-side capacitor array 42 to subtract out these mismatch errors as each of the X-side capacitors 28-23 is evaluated.

在正常运行期间,二进制加权X侧电容器阵列40有开关32-38,在VIN取样阶段S1,它们将输入电压VINP切换到电容器22-28的底板,在转换阶段,它们切换来自SAR206的比特X5:X0、XT。在取样阶段S1,接地开关112闭合,在转换阶段,接地开关112断开。电容器22-28的顶板连接到比较器20的反相输入,产生电压VX。During normal operation, the binary-weighted X-side capacitor array 40 has switches 32-38, which switch the input voltage VINP to the bottom plates of capacitors 22-28 during the VIN sampling phase S1, and which switch bit X5 from SAR 206 during the switching phase: X0, XT. During the sampling phase S1, the grounding switch 112 is closed, and during the switching phase, the grounding switch 112 is open. The top plates of capacitors 22-28 are connected to the inverting input of comparator 20, which develops voltage VX.

电容器22-28增加最小电容尺寸C/64的二进制权数或倍数,终止电容器22和电容器23的电容是C/64,电容器24的电容是C/32,电容器26的电容是C/8。电容器28和27的电容是C/2和C/4。二进制加权X侧电容器阵列40在X侧的电容尺寸和安排,和二进制加权Y侧电容器阵列42的电容尺寸和安排是匹配的。Capacitors 22-28 add a binary weight or multiple of the minimum capacitance size C/64, termination capacitor 22 and capacitor 23 have a capacitance of C/64, capacitor 24 has a capacitance of C/32 and capacitor 26 has a capacitance of C/8. The capacitances of capacitors 28 and 27 are C/2 and C/4. The capacitance size and arrangement of the binary-weighted X-side capacitor array 40 on the X-side and the capacitance size and arrangement of the binary-weighted Y-side capacitor array 42 are matched.

在转换阶段,来自SAR206的X侧比特X5:X0、XT应用于二进制加权X侧电容器阵列40里的电容器22-28的底板上。在正常运行的取样阶段S1,底板连接到VINP。控制逻辑204可以产生控制信号如S1,并调整SAR206里的值,以响应来自比较器20的比较结果。一旦SAR206里的所有比特都被调整了,使忙信号为负,表示转换结束。During the conversion phase, X-side bits X5 : X0 , XT from SAR 206 are applied to the bottom plates of capacitors 22 - 28 in binary-weighted X-side capacitor array 40 . During the sampling phase S1 of normal operation, the backplane is connected to VINP. The control logic 204 can generate a control signal such as S1 and adjust the value in the SAR 206 in response to the comparison result from the comparator 20 . Once all bits in the SAR206 are adjusted, make the busy signal negative to indicate the end of the conversion.

二进制加权Y侧电容器阵列42有开关62-68,在第一取样阶段,它们将输入电压VINN切换到电容器62-68的底板,在正常运行的转换阶段,它们切换来自SAR206的比特Y5:Y0、YT。在取样阶段S1,接地开关114闭合,在转换阶段,接地开关114断开。电容器52-58的顶板连接到比较器20的反相输入,产生电压VY。The binary weighted Y-side capacitor array 42 has switches 62-68 which switch the input voltage VINN to the bottom plates of capacitors 62-68 during the first sampling phase and which switch bits Y5:Y0, YT. During the sampling phase S1 the grounding switch 114 is closed, and during the conversion phase the grounding switch 114 is open. The top plates of capacitors 52-58 are connected to the inverting input of comparator 20, which develops voltage VY.

在正常运行期间,一个差分模拟输入电压应用到输入VINP、VINN。如果使用的是一个单端模拟输入电压,那么它将应用到VINP,而一个固定电压如接地电压或VDD/2可以应用到VINN。二进制加权X侧电容器阵列40可以作为取样保持电路,而二进制加权Y侧电容器阵列42可以作为图1中的DAC100。During normal operation, a differential analog input voltage is applied to inputs VINP, VINN. If a single-ended analog input voltage is used, it will be applied to VINP, while a fixed voltage such as ground or VDD/2 can be applied to VINN. The binary-weighted X-side capacitor array 40 can be used as a sample-and-hold circuit, and the binary-weighted Y-side capacitor array 42 can be used as the DAC 100 in FIG. 1 .

图4A显示现有技术图3的DAC运行时间。在校准过程中,为图3中每个电容器22-28都存储有校准值。在模拟电压转换成数字电压的过程中,使用是自上而下的过程。通过和MSB电容器28的电荷共享,首先校验MSB,而该MSB电容器的校准值Y5:Y0被应用到校准Y侧电容器阵列42里的电容器62-68。然后使用二进制加权X侧电容器阵列40里较小的电容器去校验接下来的较小的数字比特。每一步的应用到校准Y侧电容器阵列42的校准值,取决于在那个循环中电容器62-68中哪一个是与线VX连接并共享电荷,取决于被校验的比特,结果越早(较高有效比特),校验也越早。因此每一步的补偿值必须被计算,并取决于较早的结果。FIG. 4A shows the DAC runtime of prior art FIG. 3 . During calibration, a calibration value is stored for each capacitor 22-28 in FIG. In the process of converting analog voltage to digital voltage, usage is a top-down process. The MSB is verified first by charge sharing with MSB capacitor 28 , whose calibration values Y5 : Y0 are applied to calibrate capacitors 62 - 68 in Y-side capacitor array 42 . The smaller capacitor in the binary weighted X-side capacitor array 40 is then used to check the next smaller digital bit. Each step is applied to calibrate the calibration value of the Y-side capacitor array 42, depending on which of the capacitors 62-68 is connected to line VX and sharing charge in that cycle, depending on which bit is being checked, the earlier the result (shorter Highly significant bit), the earlier the verification is. Therefore a compensation value must be calculated at each step and depends on earlier results.

应用到校准Y侧电容器阵列42的校准值称为补偿值,因为它是二进制加权X侧电容器阵列40里目前连接的电容器的校准值的总和。The calibration value applied to calibrate the Y-side capacitor array 42 is called the compensation value because it is the sum of the calibration values of the currently connected capacitors in the X-side capacitor array 40 that are binary weighted.

在图4A,比特N+1是从模拟转换成数字值的,然后是比特N,然后比特N-1。一个转换-周期时钟CLK与转换是同步的。In FIG. 4A, bit N+1 is converted from analog to digital value, then bit N, then bit N-1. A conversion-cycle clock CLK is synchronized with the conversion.

在每个比特周期的开始,在时间周期120内,计算转换值。在时间周期120,读取二进制加权X侧电容器阵列40里连接的电容器的校准值,并相加,得到转换值。然后在时间周期12,该计算得到的转换值被应用到校准Y侧电容器阵列42里的电容器,例如通过切换电压到这些电容器。然后出现电荷共享,施加到比较器20上的电压改变。在时间周期124,比较器输出最终会给出一个稳定的结果。分析比较器结果,为比特N+1确定数字值。At the beginning of each bit period, during time period 120, a conversion value is calculated. During time period 120, the calibration values of the capacitors connected in the binary weighted X-side capacitor array 40 are read and added to obtain the converted value. The calculated conversion values are then applied to the capacitors in the calibration Y-side capacitor array 42 during time period 12, for example by switching voltages to these capacitors. Charge sharing then occurs and the voltage applied to comparator 20 changes. During time period 124, the comparator output will finally give a stable result. Analyze the comparator results to determine a digital value for bit N+1.

一旦比特N+1的数字值确定了,那么二进制加权X侧电容器阵列40里的电容器就可以切换至校验下一个比特N。直到确认了比特N+1的结果,才能确定比特N的补偿值,比特N+1的结果是在时间周期124里比较器确定之后才知道的。Once the digital value of bit N+1 is determined, the capacitors in the binary weighted X-side capacitor array 40 can be switched to verify the next bit N. The offset value for bit N cannot be determined until the result of bit N+1 is confirmed, which is not known until the comparator is determined during time period 124 .

当周期时钟CLK使用了一个较高的频率时,如1GHz,那么用语计算和模拟比较的时间是减少了。图4B是显示较高转换频率下减少时间的示意图。直到在时间周期120完成计算时,才能得到补偿值CAL_CAP。较高频率的CLK意味着这些计算占据较大部分的时间,时间周期120被拉长了。那么会使得只有较少的时间去将这些补偿值应用到校准Y侧电容器阵列42。模拟比较也会占据更多的时间周期124。这样,就没有足够的时间14用于分析比较结果和下一个CLK上升沿之前的启动时间。因此较高频率的运行可能是不可行的,因为在转换时每个比特周期需要相当长的时间去读取校准值和计算补偿值。When a higher frequency is used for the cycle clock CLK, such as 1GHz, then the time used for calculation and analog comparison is reduced. FIG. 4B is a graph showing reduced time at higher switching frequencies. The compensation value CAL_CAP is not available until the calculation is completed during time period 120 . A higher frequency of CLK means that these calculations take a larger portion of the time, and the time period 120 is stretched. That would allow less time to apply these compensation values to calibrate the Y-side capacitor array 42 . Analog comparisons would also take up more time periods 124 . Thus, there is not enough time 14 for analyzing the comparison result and the start-up time until the next CLK rising edge. Therefore higher frequency operation may not be feasible due to the considerable time required to read calibration values and calculate compensation values per bit period during conversion.

期望的ADC,其有一个校准DAC用于测量电容不匹配误差。期望SAR ADC可以有更高的效率从存储的校准值产生转换值,以允许更高速度运行。也期望有一个能在高频率运行的校准ADC。Desired ADC with a calibration DAC for measuring capacitance mismatch error. It is expected that the SAR ADC can generate conversion values from stored calibration values with higher efficiency to allow higher speed operation. It is also desirable to have a calibrated ADC that can run at high frequencies.

【附图说明】【Description of drawings】

图1是一个逐次逼近式寄存器ADC。Figure 1 is a successive approximation register ADC.

图2显示SAR ADC解析一个输入电压。Figure 2 shows a SAR ADC resolving an input voltage.

图3是一个具有二进制加权电容器阵列和校准子DAC电容器阵列的SAR ADC的示意图。Figure 3 is a schematic diagram of a SAR ADC with a binary weighted capacitor array and a calibration sub-DAC capacitor array.

图4A显示现有技术图3的DAC运行时间。FIG. 4A shows the DAC runtime of prior art FIG. 3 .

图4B是显示较高转换频率下减少时间的示意图。FIG. 4B is a graph showing reduced time at higher switching frequencies.

图4C显示一个管线式SAR-ADC里前一个比特周期内两个补偿值的预先计算。Figure 4C shows the precomputation of two compensation values in the previous bit period in a pipelined SAR-ADC.

图5是有预先计算补偿值的SAR-ADC的方框图。Figure 5 is a block diagram of a SAR-ADC with precomputed compensation values.

图6是一个更详细的补偿预先计算的控制逻辑的方框图。Figure 6 is a more detailed block diagram of the compensation precalculated control logic.

图7是一个校准过程的流程图。Figure 7 is a flowchart of a calibration process.

图8是使用预先计算的预测校准值的转换过程的流程图。FIG. 8 is a flowchart of a conversion process using precomputed predicted calibration values.

图9是更详细的预先计算预测补偿值以减小计算延迟的SAR-DAC的方框图。FIG. 9 is a more detailed block diagram of a SAR-DAC that pre-computes predicted offset values to reduce computation delay.

【具体实施方式】【Detailed ways】

本发明涉及一个改进的校准SAR-DAC ADC。以下描述使本领域技术人员能够依照特定应用及其要求制作和使用在此提供的本发明。所属领域的技术人员将明了对优选实施例的各种修改,且本文所界定的一般原理可应用于其它实施例。因此,本发明不希望限于所展示和描述的特定实施例,而是应被赋予与本文所揭示的原理和新颖特征一致的最广范围。The present invention relates to an improved calibrated SAR-DAC ADC. The following description enables one skilled in the art to make and use the invention presented herein in accordance with a particular application and its requirements. Various modifications to the preferred embodiment will be apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments. Thus, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

本发明已经认识到补偿值的计算会限制SAR-ADC的高频运行。一个比特的补偿值计算取决于前一个比特的模拟比较的结果。但是,发明人认识到只有两个可能的比较输出。比较结果和比特可以是0或1。比特的补偿值可以被计算两次。可以假设前一个比特是0,计算补偿值,可以假设前一个比特的比较结果是1,再计算一次补偿值。The inventors have recognized that the calculation of the compensation values can limit the high frequency operation of the SAR-ADC. The compensation value calculation for one bit depends on the result of the analog comparison of the previous bit. However, the inventors have realized that there are only two possible comparison outputs. Comparison result and bit can be 0 or 1. The offset value of a bit may be calculated twice. It can be assumed that the previous bit is 0 to calculate the compensation value, and it can be assumed that the comparison result of the previous bit is 1 to calculate the compensation value again.

当两个可能的补偿值都被预先计算时,那么使用一个简单的多路复用器(mux),一旦已知比较结果,可以从这两个可能的数值中选择一个。因此计算的延迟可以从复杂的加法延迟减小到一个多路复用延迟。When both possible compensation values are precomputed, then a simple multiplexer (mux) is used to select one of the two possible values once the result of the comparison is known. Thus the computation latency can be reduced from a complex addition latency to a multiplexing latency.

图4C显示一个管线式SAR-ADC里前一个比特周期内两个补偿值的预先计算。对比特N+1,在时间周期120内,计算两个校准补偿值,CAL_CAP_IF1(其是假设对于比特N+1,模拟比较输出将是1)和CAL_CAP_IF0(其是假设对于比特N+1,模拟比较输出将是0)。在这个例子里,CAL_CAP_IF1被计算成0D(00001101),而CAL_CAP_IF0被计算成0E(00001110)。在模拟比较时间周期124,即当比较器20(图3)确定比特N+1的结果是0或1时,已经有两个预先计算的补偿值0D和0E了。在此例子中,在比较器20的输出COMP在时间128(即CLK的上升沿)确定后,比特N+1是1。Figure 4C shows the precomputation of two compensation values in the previous bit period in a pipelined SAR-ADC. For bit N+1, during time period 120, two calibration offset values are calculated, CAL_CAP_IF1 (which assumes that for bit N+1 the analog compare output will be 1) and CAL_CAP_IF0 (which assumes that for bit N+1 the analog compare output will be 0). In this example, CAL_CAP_IF1 is evaluated as 0D (00001101), and CAL_CAP_IF0 is evaluated as 0E (00001110). During analog compare time period 124, when comparator 20 (FIG. 3) determines that the result of bit N+1 is 0 or 1, there are already two precomputed offset values OD and 0E. In this example, bit N+1 is 1 after the output COMP of comparator 20 is asserted at time 128 (ie, the rising edge of CLK).

在时间128,CLK的上升沿取样COMP为1,并为比特N+1的转换存储该结果为1。多路复用器逻辑选择预先计算的补偿值CAL_CAP_IF1,其是0D,作为比特N的补偿值。丢弃CAL_CAP_IF0。在时间周期120’的多路复用延迟后,可得CAL_CAP是0D。二进制加权X侧电容器阵列40和校准Y侧电容器阵列42里的电容器被切换用于转换比特N,数值CAL_CAP被应用于校准Y侧电容器阵列42里的电容器,允许出现模拟比较。找到比特N的数字值为0,因为COMP走低。At time 128, the rising edge of CLK samples COMP as 1 and stores the result as 1 for the transition of bit N+1. The multiplexer logic selects the precomputed compensation value CAL_CAP_IF1, which is 0D, as the compensation value for bit N. Discard CAL_CAP_IF0. After a multiplexing delay of time period 120', CAL_CAP is available at 0D. Capacitors in binary weighted X-side capacitor array 40 and calibration Y-side capacitor array 42 are switched for switching bit N, and the value CAL_CAP is applied to the capacitors in calibration Y-side capacitor array 42, allowing an analog comparison to occur. A digital value of 0 is found for bit N because COMP is going low.

比特N-1的补偿值在时间周期120’被预先计算,比特N作为02和05赋予给CAL_CAP_IF1和CAL_CAP_IF0。在下一个CLK的上升沿,选择CAL_CAP_IF0作为CAL_CAP。The compensation value for bit N-1 is pre-calculated at time period 120', and bit N is given as 02 and 05 to CAL_CAP_IF1 and CAL_CAP_IF0. On the next rising edge of CLK, select CAL_CAP_IF0 as CAL_CAP.

比较结果COMP遇见启动时间(Setup time)14,所以在时间128CLK的上升沿之后,多路复用器可以从CAL_CAP_IF1和CAL_CAP_IF0中选择。一旦CAL_CAP已稳定,在时间周期12,切换电容器。请注意时间周期12大大地增加了,因为没有被CAL_CAP_IF1或CAL_CAP_IF0延迟,仅仅为CAL_CAP而有多路复用延迟。确实,时间120和12因为预先计算会有重叠。因此CLK可以使用较高频率。The comparison result COMP meets the setup time (Setup time) 14, so after the rising edge of time 128CLK, the multiplexer can select from CAL_CAP_IF1 and CAL_CAP_IF0. Once CAL_CAP has stabilized, at time period 12, the capacitor is switched. Note that time period 12 is greatly increased because there is no delay by CAL_CAP_IF1 or CAL_CAP_IF0, only the multiplex delay for CAL_CAP. Indeed, times 120 and 12 would overlap due to precalculation. Therefore CLK can use a higher frequency.

图5是有预先计算补偿值的SAR-ADC的方框图。SAR102连续控制DAC100里的电容器共享电荷,使用参考电压VREF来校验模拟电压VIN。也可以使用一个差分模拟电压来代替。连续的比特被校验,当数字值D(N-1):D0小于或大于模拟电压VIN,比较器106发信号到SAR102。Figure 5 is a block diagram of a SAR-ADC with precomputed compensation values. The SAR102 continuously controls the capacitor sharing charge in the DAC100, using the reference voltage VREF to verify the analog voltage VIN. A differential analog voltage can also be used instead. Successive bits are checked and the comparator 106 signals the SAR 102 when the digital value D(N-1):D0 is less than or greater than the analog voltage VIN.

在模拟电压转换成数字值之前,校准控制逻辑130启动。例如,在初始化时,校准控制逻辑130可以启动。校准控制逻辑130和SAR102一起运行以检验DAC100里DAC阵列中每个电容器,得到每个电容器的校准值。校准值代表那个电容器的电容值的误差,校准值存储在校准结果寄存器132中。Before the analog voltage is converted to a digital value, the calibration control logic 130 starts. For example, at initialization, the calibration control logic 130 may start. Calibration control logic 130 operates with SAR 102 to test each capacitor in the DAC array in DAC 100 to obtain a calibration value for each capacitor. The calibration value represents the error in the capacitance value of that capacitor, and the calibration value is stored in the calibration result register 132 .

在完成校准之后,当模拟电压VIN将要被转换成数字值D时,补偿预处理140接收来自SAR102的DAC100的电容器的当前配置,然后从校准结果寄存器132中读取这些电容器的校准值。为每个周期或校验的数字比特,都产生有两个补偿值—一个补偿值是假设前一比特是1,而另一个补偿值是假设数字比特是0。After the calibration is completed, when the analog voltage VIN is to be converted into a digital value D, the compensation preprocessing 140 receives the current configuration of the capacitors of the DAC 100 from the SAR 102 , and then reads the calibration values of these capacitors from the calibration result register 132 . For each digital bit that is cycled or checked, two offset values are generated—one offset that assumes the previous bit was 1, and another offset that assumes the digital bit was 0.

补偿预处理140提前一个周期运行,因此其为下一个比特预先计算补偿值,而当前比特仍然在被解析。当补偿预处理140计算两个补偿值时,比较器106还没有解决它的输出。Compensation preprocessing 140 runs one cycle ahead, so it precomputes compensation values for the next bit while the current bit is still being parsed. When the compensation preprocessing 140 calculates the two compensation values, the comparator 106 has not resolved its output.

图6是一个更详细的补偿预先计算的控制逻辑的方框图。在模拟电压被转换之前,如初始化之后,校准控制154启动。校准控制154为二进制加权X侧电容器阵列40(图3)的每个电容器执行校准,确定它们的误差,误差则由电容器的一个校准值来表示。校准值存储在校准寄存器164中。校准累加器156累加校准值,用于对电容器组合产生校准和补偿值。Figure 6 is a more detailed block diagram of the compensation precalculated control logic. Calibration control 154 starts before the analog voltage is converted, such as after initialization. Calibration control 154 performs calibration for each capacitor of binary-weighted X-side capacitor array 40 (FIG. 3), determining their error, represented by a calibration value for the capacitor. Calibration values are stored in calibration registers 164 . Calibration accumulator 156 accumulates calibration values for use in generating calibration and compensation values for capacitor combinations.

特别地,第一转换补偿引擎160从校准累加器156中读取累加的校准值,为每次转换将要校验的第一比特产生补偿值,第一比特是从上自下转换的MSB。因为MSB是在第一个转换周期转换的,所以没有前一周期的预先计算,因此预先计算是由第一转换补偿引擎160执行的。因为所有转换都是从MSB开始的,为MSB的预先计算可以立刻执行并用于所有转换。这些转换将不同于在MSB和其后的比特已经被转换之后,所以第一转换补偿引擎160只为第一比特MSB产生预先计算转换值。In particular, the first conversion compensation engine 160 reads the accumulated calibration value from the calibration accumulator 156 and generates a compensation value for the first bit to be verified for each conversion, the first bit being the MSB from top to bottom conversion. Because the MSB is converted in the first conversion cycle, there is no pre-calculation of the previous cycle, so the pre-computation is performed by the first conversion compensation engine 160 . Since all conversions start with the MSB, precomputation for the MSB can be performed at once and used for all conversions. These conversions will be different after the MSB and subsequent bits have been converted, so the first conversion compensation engine 160 only generates precomputed conversion values for the first bit MSB.

在转换时,也可以使用校准累加器156来协助计算引擎150、151来预先计算预测的补偿值。累加的中间补偿值可以存储在补偿寄存器162中用于以后的周期。Calibration accumulators 156 may also be used to assist calculation engines 150, 151 in pre-computing predicted compensation values upon conversion. The accumulated intermediate compensation values may be stored in compensation register 162 for later cycles.

计算引擎150假设模拟比较器将会确定当前比特是0,并基于此预测而计算预测-0的补偿值。计算引擎151假设模拟比较器将会确定当前比特是1,并基于此预测而计算预测-1的补偿值。计算引擎150、151可以从校准寄存器164读取预测在下一个周期将切换到共享电荷的电容器的各个校准值。计算引擎150、151还可以从补偿寄存器162读取前一补偿值或其他中间值,用于协助计算。例如,在当前预测中,较高电容器可能不会有改变,只有较低电容器会有改变。所以计算引擎150、151可以从补偿寄存器162读取前一周期的补偿值,然后调整较低电容器,而不是为所有电容器直接从校准值计算补偿值。The calculation engine 150 assumes that the analog comparator will determine that the current bit is 0, and calculates a predicted-0 compensation value based on this prediction. The computation engine 151 assumes that the analog comparator will determine that the current bit is 1, and computes a prediction-1 compensation value based on this prediction. The calculation engines 150, 151 may read from the calibration registers 164 the respective calibration values for the capacitors that are predicted to switch to charge sharing in the next cycle. Computation engines 150, 151 may also read previous compensation values or other intermediate values from compensation registers 162 to assist in calculations. For example, in the current forecast, there may be no change in the upper capacitor, only the lower capacitor. So the calculation engine 150, 151 can read the previous cycle's compensation value from the compensation register 162, and then adjust the lower capacitors, instead of calculating the compensation values directly from the calibration values for all capacitors.

在校准和转换期间,SAR控制逻辑155控制DAC阵列里电容器的切换顺序。在转换期间,来自比较器106(图5)的模拟比较结果COMP被应用到多路复用器152上,当模拟比较结果显示当前比特是0时,从计算引擎150选择预测-0结果,或者当模拟比较结果显示当前比特是1时,从计算引擎151选择预测-1结果。这发生在当前比特周期结尾时。During calibration and conversion, SAR control logic 155 controls the switching sequence of capacitors in the DAC array. During conversion, the analog comparison result COMP from comparator 106 (FIG. 5) is applied to multiplexer 152, and a predicted-0 result is selected from calculation engine 150 when the analog comparison result shows that the current bit is 0, or When the simulation comparison result shows that the current bit is 1, the prediction-1 result is selected from the calculation engine 151 . This happens at the end of the current bit period.

当要开始评估下一比特时,在下一周期开始时,由多路复用器152选择的补偿值被应用到校准Y侧电容器阵列42上,因此为将要评估的下一比特设置误差值。多路复用器152带来的延迟要远远小于计算引擎150、151带来的延迟,所以下一周期有更多的时间给开关去切换,给模拟电压去解决电荷共享,给比较器106去输出结果给下一比特。When the next bit is to be evaluated, at the beginning of the next cycle, the compensation value selected by the multiplexer 152 is applied to the calibration Y-side capacitor array 42, thus setting the error value for the next bit to be evaluated. The delay brought by the multiplexer 152 is much smaller than the delay brought by the calculation engines 150 and 151, so the next cycle has more time for the switch to switch, for the analog voltage to solve the charge sharing, and for the comparator 106 to output the result to the next bit.

由多路复用器152选择的补偿值也可以存储在补偿寄存器162中,给计算引擎150、151在计算预测补偿值时使用。The compensation value selected by the multiplexer 152 may also be stored in the compensation register 162 for use by the calculation engines 150, 151 in calculating the predicted compensation value.

图7是一个校准过程的流程图。校准开始于二进制加权X侧电容器阵列40里的MSB电容器,然后对所有较小电容器进行校准,直到LSB电容器被校准了。SAR DAC控制逻辑设置二进制加权X侧电容器阵列40和校准Y侧电容器阵列42里的开关和电压值,用于校准MSB电容器,如步骤302。Figure 7 is a flowchart of a calibration process. Calibration begins with the MSB capacitors in the binary weighted X-side capacitor array 40, and then all smaller capacitors are calibrated until the LSB capacitors are calibrated. The SAR DAC control logic sets the switch and voltage values in the binary weighted X-side capacitor array 40 and the calibration Y-side capacitor array 42 for calibrating the MSB capacitors, as in step 302.

为了确定MSB电容器的校准值,在步骤302首先设置开关和电压,然后在步骤304切换一些开关,移动电荷。当切换开关时,线VX、VY(图3)上的电压改变。电压改变量与电荷和电容有关,电荷守恒为Q=CV,因此通过测量电压改变,可以推导出由于开关切换引起的电容改变。To determine the calibration value for the MSB capacitor, the switches and voltages are first set at step 302, and then some switches are switched at step 304, moving the charge. When the switch is toggled, the voltage on the lines VX, VY (Figure 3) changes. The amount of voltage change is related to charge and capacitance, and the charge conservation is Q=CV. Therefore, by measuring the voltage change, the capacitance change caused by switching can be deduced.

切换后,模拟比较器比较新的电压VX、VY,并在一段时间后输出结果,如步骤306。比较器输出值显示哪个电压VX、VY更大。有时,也许需要开关组合的多个校验,以确定正在校验的电容器的误差值。如果该误差还没有确定,如步骤310,那么切换开关成不同组合,如步骤304,然后重复模拟比较,如步骤306。After switching, the analog comparator compares the new voltages VX, VY, and outputs the result after a period of time, as in step 306 . The output value of the comparator shows which voltage VX, VY is greater. Sometimes, multiple verifications of the switch combination may be required to determine the error value of the capacitor being verified. If the error has not been determined, as in step 310 , switch the switches into different combinations, as in step 304 , and then repeat the analog comparison, as in step 306 .

一旦已经确定了正在被校准的电容器的误差值,如步骤310,那么该电容器的校准值就被写入校准寄存器,如步骤314。校准累加器也添加该校准值并执行加法运算,用于计算MSB的第一转换补偿值,如步骤316。Once the error value for the capacitor being calibrated has been determined, step 310 , the calibration value for that capacitor is written into a calibration register, step 314 . The calibration accumulator also adds the calibration value and performs an addition operation for calculating the MSB first conversion compensation value, as in step 316 .

当有更多电容器要校准时,如步骤312,那么选择下一个电容器去校准,如MSB-1电容器,过程从步骤320开始重复。该电容器的校准值最终被确定和存储,如步骤314,其校准值被添加入校准累加器和较早的校准值累加,如步骤316。When there are more capacitors to be calibrated, as in step 312 , then the next capacitor is selected to be calibrated, such as the MSB-1 capacitor, and the process repeats from step 320 . The calibration value for this capacitor is finally determined and stored (step 314 ), its calibration value is added to a calibration accumulator and the earlier calibration values are accumulated (step 316 ).

当二进制加权X侧电容器阵列40里所有电容器都完成校准时,校准累加器包含了MSB的第一转换补偿值的最终值。因此MSB的第一转换补偿值不必为每次转换都重新计算,因为校验MSB的开关设置对于所有转换都是一样的。因此在校准期间,第一周期(转换MSB)的转换值已经预先计算了。When all capacitors in the binary-weighted X-side capacitor array 40 have been calibrated, the calibration accumulator contains the final value of the MSB first converted offset value. Therefore the first transition offset value for the MSB does not have to be recalculated for each conversion since the switch setting for checking the MSB is the same for all transitions. So during calibration, the conversion value for the first cycle (conversion MSB) is already precalculated.

图8是使用预先计算的预测校准值的转换过程的流程图。在所有校准值已经确定后,在MSB的第一转换补偿值已经计算后,转换开始。FIG. 8 is a flowchart of a conversion process using precomputed predicted calibration values. After all calibration values have been determined, after the MSB's first conversion offset value has been calculated, the conversion begins.

SAR-DAC控制逻辑设置开关和电压用于校验将要转换的当前比特,如步骤320。开关设置和校验MSB时的第一转换是一样的,但是取决于转换中间和LSB比特时已经转换的较高位比特。所以中间比特的开关设置取决于较早转换的结果,或者是数据相关的(data-dependent)。The SAR-DAC control logic sets the switches and voltages for verifying the current bit to be converted, step 320 . The switch setting is the same as the first transition when checking the MSB, but depends on the higher order bits already transitioned when transitioning the middle and LSB bits. So the switch setting for the middle bit depends on the result of an earlier conversion, or is data-dependent.

为了纠正二进制加权X侧电容器阵列40里被切换的电容器的电容值误差,一个补偿值被应用到校准Y侧电容器阵列42里的电容器上,如步骤322。由多路复用器152(图6)选择补偿值,预测-1值或预测-0值。选择的补偿值用于计算下一比特的两个预测补偿值,如步骤330。To correct the capacitance error of the switched capacitors in the binary weighted X-side capacitor array 40 , a compensation value is applied to the capacitors in the calibration Y-side capacitor array 42 , as in step 322 . The compensation value, the predicted-1 value or the predicted-0 value, is selected by multiplexer 152 (FIG. 6). The selected compensation value is used to calculate two predicted compensation values for the next bit, as in step 330 .

SAR-DAC控制逻辑等待比较器输出,如步骤324,并确定和存储当前比特的结果为0或1,取决于比较器的输出,如步骤326。如果有更多的比特要从模拟转换成二进制数字值,如步骤332,那么选择下一个最高有效比特去转换。在步骤334,模拟比较器的结果(步骤324、326)被多路复用器152用于选择较早步骤330产生的预测-0或预测-1补偿值,然后过程返回,SAR-DAC控制逻辑为转换下一比特设置开关,如步骤320。步骤334选择的补偿值被应用到校准Y侧电容器阵列42里电容器上,如步骤322,以补偿步骤320里被切换的电容器的误差。为下一比特重复过程,直到到达LSB。The SAR-DAC control logic waits for the comparator output, step 324, and determines and stores the result of the current bit as 0 or 1, depending on the comparator output, step 326. If there are more bits to convert from analog to binary digital value, step 332, then the next most significant bit is selected for conversion. In step 334, the result of the analog comparator (steps 324, 326) is used by the multiplexer 152 to select the predicted-0 or predicted-1 compensation value produced in the earlier step 330, and the process returns to the SAR-DAC control logic The switch is set for switching the next bit, as in step 320 . The compensation values selected in step 334 are applied to the capacitors in the calibration Y-side capacitor array 42 , as in step 322 , to compensate for errors in the switched capacitors in step 320 . Repeat the process for the next bit until the LSB is reached.

图9是更详细的预先计算预测补偿值以减小计算延迟的SAR-DAC的方框图。SAR控制逻辑155从比较器106读取比较输出COMP以确定当前比特的数字值,并为下一周期确定开关设置以转换下一比特。DAC控制172设置DAC100里的开关,调整电容器用于电荷共享,以产生一个电压应用到比较器106。FIG. 9 is a more detailed block diagram of a SAR-DAC that pre-computes predicted offset values to reduce computation delay. The SAR control logic 155 reads the compare output COMP from the comparator 106 to determine the digital value of the current bit, and determines the switch settings for the next cycle to convert the next bit. DAC control 172 sets switches in DAC 100 and adjusts capacitors for charge sharing to generate a voltage that is applied to comparator 106 .

补偿电容器控制174从补偿寄存器162读取补偿值,并应用或切换代表该补偿值的电压到DAC100里的校准Y侧电容器阵列42(图3)的电容器上。因此代表该补偿值的误差被减去。Compensation capacitor control 174 reads the compensation value from compensation register 162 and applies or switches a voltage representing the compensation value to the capacitors in calibration Y-side capacitor array 42 (FIG. 3) in DAC 100. The error representing this compensation value is therefore subtracted.

计算引擎150、151预先计算两个预测补偿值,假设比较器106将确定当前比特是1(来自计算引擎151的预测-1补偿值),和假设比较器106将确定当前比特是0(来自计算引擎150的预测-0补偿值)。一旦比较器106的输出COMP确定后,多路复用器152从计算引擎150、151选择其中一个预测补偿值。多路复用器152选择的预测补偿值存储在补偿寄存器162中,并由补偿电容器控制174用于下一周期以设置DAC100里的校准Y侧电容器阵列42的误差值。Calculation engines 150, 151 precompute two predicted offset values, assuming that comparator 106 will determine that the current bit is 1 (prediction-1 offset value from calculation engine 151), and assuming comparator 106 will determine that current bit is 0 (from computing engine 150 prediction - 0 compensation value). Once the output COMP of the comparator 106 is determined, the multiplexer 152 selects one of the predicted compensation values from the calculation engines 150 , 151 . The predicted compensation value selected by multiplexer 152 is stored in compensation register 162 and used by compensation capacitor control 174 for the next cycle to set the error value for calibration Y-side capacitor array 42 in DAC 100 .

在校准期间,校准控制154确定开关的顺序并应用电压以确定每个电容器的校准值,其存储在校准寄存器164中。这些校准值被校准累加器156累加,因此当所有电容器都被校准时,校准累加器156里的数值可以用于由第一转换补偿引擎160来计算第一转换值。第一转换值是为MSB的。因为没有比特是高于MSB的,所以第一转换值不是数据相关的。因此相同的第一转换补偿值可以用于对所有要转换的模拟电压而转换MSB。During calibration, calibration control 154 determines the sequence of switches and applies voltages to determine a calibration value for each capacitor, which is stored in calibration register 164 . These calibration values are accumulated by the calibration accumulator 156 so that when all capacitors are calibrated, the value in the calibration accumulator 156 can be used by the first conversion compensation engine 160 to calculate the first conversion value. The first converted value is the MSB. The first conversion value is not data dependent since no bits are higher than the MSB. The same first conversion offset value can therefore be used to convert the MSB for all analog voltages to be converted.

【替代实施例】[alternative embodiment]

发明人还想到一些其他的实施例。例如校准值不必为所有电容器而存储,如终止电容器或一个或多个LSB电容器,因为较大误差往往出现在较大电容器上。虽然描述了使用两个计算引擎并行计算两个补偿值,但是也可以使用一个单独的计算引擎两次,如果有足够的时间的话。预先计算可以扩展到模拟比较时间124,而不是在时间周期120完成。或者,可以在非常短的时钟周期内预先计算四个转换值,当计算需要两个时钟周期时。The inventors also contemplate some other embodiments. For example calibration values do not have to be stored for all capacitors, such as termination capacitors or one or more LSB capacitors, since larger errors tend to occur on larger capacitors. Although two compensation values are described to be calculated in parallel using two calculation engines, it is also possible to use a single calculation engine twice, if sufficient time is available. The precomputation can be extended to simulate comparison time 124 instead of being done at time period 120 . Alternatively, four conversion values can be precomputed in very short clock cycles, when the computation takes two clock cycles.

一个电容器可以不是只有一个校准值,可以有几个校准值或参数用于一个等式去计算校准值,对一个特别排列或顺序的电容器。不是仅仅相加几个电容器的电容值,可以有二级效应,其是补偿电容器的不同组合。因此校准值可以更复杂,但是仍然用于产生补偿值,该补偿值是多个因子的函数。校准计算和校准值可以更复杂,不是简单的相加或累加单个电容器的误差值。每个比特周期可以有几个阶段,开关设置和数值应用到电容器上可以在这些阶段之间切换或调整,以移动电荷和调整应用到比较器上的电压。可以插入其他阶段以隔离因断开开关而引起的开关噪声。Instead of just one calibration value for a capacitor, there can be several calibration values or parameters used in one equation to calculate the calibration value for a particular arrangement or order of capacitors. Instead of just adding the capacitance values of several capacitors, there can be secondary effects which are different combinations of compensating capacitors. The calibration values can thus be more complex but still be used to generate compensation values which are a function of several factors. Calibration calculations and calibration values can be more complex than simply adding or accumulating individual capacitor error values. Each bit cycle can have several phases between which the switch settings and the value applied to the capacitor can be toggled or adjusted to move charge and adjust the voltage applied to the comparator. Additional stages can be inserted to isolate switching noise caused by opening switches.

为了时序和管线式目的,可以在逻辑和数据路径上插入锁存器、触发器、寄存器和其他存储设备,以允许时钟同步。也可以为了各种目的而增加缓存、电容器、滤波器、电阻器和其他元件。For timing and pipeline purposes, latches, flip-flops, registers, and other storage devices can be inserted on the logic and data paths to allow clock synchronization. Buffers, capacitors, filters, resistors and other components may also be added for various purposes.

可以不是一个完全的二进制加权电容器阵列,而是一个二进制加权电容器阵列和一个非加权电容器阵列的组合,也可以提供期望的精度,但是仍然减少总电容和动态功率。虽然描述了在SAR ADC里的应用,但是该电路和校准步骤可以用于其他应用和系统中。Instead of a full binary weighted capacitor array, a combination of a binary weighted capacitor array and an unweighted capacitor array can also provide the desired accuracy, but still reduce overall capacitance and dynamic power. Although the application in a SAR ADC is described, the circuit and calibration procedure can be used in other applications and systems.

二进制加权X侧电容器阵列40,二进制加权Y侧电容器阵列42,校准子DAC阵列44的比特数是可以调整的。最小的系数,为终止电容器的控制,在某些实施例中可以丢弃。The number of bits in the binary-weighted X-side capacitor array 40, the binary-weighted Y-side capacitor array 42, and the calibration sub-DAC array 44 can be adjusted. The smallest coefficient, for the control of the termination capacitor, may be discarded in some embodiments.

可以不是一个自上而下的方法,其中首先校准MSB电容器,然后下一个MSB,重复直到校准最后的LSB电容器,可以代替为一个自下而上的顺序,其中首先校准LSB电容器,最后校准MSB电容器。Instead of a top-down approach where the MSB capacitor is calibrated first, then the next MSB, repeating until the last LSB capacitor is calibrated, there can be instead a bottom-up sequence where the LSB capacitor is calibrated first and the MSB capacitor last .

差分和单端模拟电压可以互换。单端模拟电压可以施加在一个差分输入上,而参考电压可以施加在另一个差分输入上。Differential and single-ended analog voltages are interchangeable. A single-ended analog voltage can be applied to one differential input, while a reference voltage can be applied to the other differential input.

二进制加权电容器阵列可以是温度计加权或使用格雷码,或其他加权安排。来自SAR206的二进制比特可以和其他控制或计时信息合并,如来自控制逻辑204或序列发生器或多阶段非重叠时钟的信息。Binary weighted capacitor arrays can be thermometer weighted or use Gray codes, or other weighting arrangements. The binary bits from SAR 206 may be combined with other control or timing information, such as information from control logic 204 or sequencers or multi-stage non-overlapping clocks.

可以调整SAR206里的寄存器值的比特数来达到期望的精度。例如,当N是16比特,VREF是2伏特时,LSB代表30微伏,其是ADC的精度。不同的比特数可以代替不同的精度,比特数可以是固定的,或者是可变的。The number of bits of the register value in the SAR206 can be adjusted to achieve the desired precision. For example, when N is 16 bits and VREF is 2 volts, the LSB represents 30 microvolts, which is the accuracy of the ADC. Different numbers of bits can substitute for different precisions, and the number of bits can be fixed or variable.

一些实施例不一定使用所有的元件。例如,在一些实施例里可以增加或删除开关。可以使用不同的开关,如两路开关或三路开关。多路复用器也可以用做开关。输入电阻也可以增加到VINP、VINN,或者使用更多的复杂的输入滤波器。可以使用多级开关,如两路开关用做开关,然后一个总开关连接VDD或GND到这些两路开关。Some embodiments do not necessarily use all elements. For example, switches may be added or removed in some embodiments. Different switches can be used, such as two-way switches or three-way switches. Multiplexers can also be used as switches. Input resistance can also be added to VINP, VINN, or use more complex input filters. Multi-level switches can be used, such as two-way switches are used as switches, and then a master switch connects VDD or GND to these two-way switches.

虽然已经描述了二进制加权电容器,但是可以使用其他加权,例如十进制加权电容器、质数加权电容器,或线性加权电容器,或八进制加权电容器。数字值可以是这些其他数字系统,如八进制数字,而不是二进制数字。Although binary weighted capacitors have been described, other weightings may be used, such as decimal weighted capacitors, prime number weighted capacitors, or linear weighted capacitors, or octal weighted capacitors. Numeric values can be in these other number systems, such as octal numbers, instead of binary numbers.

通过互换反相和非反相输入,可以增加逆变,但是不改变整个功能,因此可以看成是等同的。在转换阶段,穿过开关的数字值可以直接应用到开关上,作为通过该开关的数据,或者作为该开关的控制。更多复杂的开关可以使用该数字值去产生高或低的电压,其通过该复杂开关施加在电容器上。通过开关连接该数字值到电容器的其他实施例,也是有可能的。By interchanging the inverting and non-inverting inputs, inversion can be added without changing the overall functionality, so they can be considered equivalent. During the conversion phase, the digital value passing through the switch can be applied directly to the switch, either as data through the switch, or as a control for the switch. More complex switches can use this digital value to generate a high or low voltage, which is applied across the capacitor through the complex switch. Other embodiments of connecting the digital value to a capacitor via a switch are also possible.

电阻和电容值可以以不同的方式变化。可以增加电容器、电阻器和其他滤波元件。开关可以是n沟道晶体管、p沟道晶体管,或具有并联的n沟道和p沟道晶体管的传输门,或更复杂的电路,可以是无源的或有源的,放大的或非放大的。The resistor and capacitor values can be varied in different ways. Capacitors, resistors and other filtering components can be added. Switches can be n-channel transistors, p-channel transistors, or transmission gates with n-channel and p-channel transistors in parallel, or more complex circuits, and can be passive or active, amplifying or non-amplifying of.

可在各种节点处添加额外组件,例如电阻器、电容器、电感器、晶体管等,且还可存在寄生组件。启用和停用所述电路可用额外晶体管或以其它方式实现。可添加传送门晶体管或传输门以用于隔离。Additional components may be added at various nodes, such as resistors, capacitors, inductors, transistors, etc., and parasitic components may also be present. Enabling and disabling the circuit may be accomplished with additional transistors or otherwise. Pass-gate transistors or transmission gates can be added for isolation.

晶体管和电容最终的尺寸可能在电路仿真或现场测试之后进行选择。可能使用金属掩膜或其他可编程部件,去确定最终的电容、电阻、或晶体管尺寸。电容器可以并联在一起而形成一个较大的电容器,其和几个电容器尺寸有相同的边缘或边界效应。The final dimensions of transistors and capacitors may be chosen after circuit simulation or field testing. Metal masks or other programmable features may be used to determine final capacitor, resistor, or transistor dimensions. Capacitors can be connected in parallel to form a larger capacitor which has the same fringing or boundary effects as several capacitor sizes.

可以比较一个参考电压和一个单独的模拟电压,或者可以比较一个差分模拟电压。差分输入电压可以被锁存,然后该锁存单端电压与DAC电压比较。第一电压可以被一个电容器取样,然后第二电压可以被同一电器取样。差分电荷通过放大器的反馈存储在另一电容器里。比较差分模拟电压的另一个方法是将一个差分放大器置于具有确定增益的输入上。虽然可以使用一个运算放大器,也可以使用其他类型的放大器,如非放大比较缓存器。A reference voltage can be compared to a separate analog voltage, or a differential analog voltage can be compared. A differential input voltage can be latched, and this latched single-ended voltage is then compared to the DAC voltage. The first voltage can be sampled by a capacitor and then the second voltage can be sampled by the same appliance. The differential charge is stored in another capacitor via the amplifier's feedback. Another way to compare differential analog voltages is to place a differential amplifier across the input with a defined gain. While an op amp could be used, other types of amplifiers, such as unamplified compare registers, can also be used.

可以添加一个均衡开关在VX和VY之间。两个接地开关可以用在比较器20输入的真补输入线上。不是接地,一些开关可以连接到另一个固定电压上,如VDD或VDD/2。An equalization switch can be added between VX and VY. Two ground switches can be used on the true complement input line of the comparator 20 input. Instead of ground, some switches can be connected to another fixed voltage such as VDD or VDD/2.

本发明背景技术部分可含有关于本发明的问题或环境的背景信息而非描述其它现有技术。因此,在背景技术部分中包括材料并不是申请人承认现有技术。The Background of the Invention section may contain background information about the problem or circumstances of the invention rather than describe other prior art. Accordingly, the inclusion of material in the Background section is not an admission by Applicants of prior art.

本文中所描述的任何方法或工艺为机器实施或计算机实施的,且既定由机器、计算机或其它装置执行且不希望在没有此类机器辅助的情况下单独由人类执行。所产生的有形结果可包括在例如计算机监视器、投影装置、音频产生装置和相关媒体装置等显示装置上的报告或其它机器产生的显示,且可包括也为机器产生的硬拷贝打印输出。对其它机器的计算机控制为另一有形结果。Any method or process described herein is machine-implemented or computer-implemented and is intended to be performed by a machine, computer or other device and is not intended to be performed by humans alone without the assistance of such machines. Tangible results produced may include reports or other machine-generated displays on display devices such as computer monitors, projection devices, audio production devices, and related media devices, and may include hardcopy printouts that are also machine-generated. Computer control of other machines is another tangible result.

已出于说明和描述的目的呈现了对本发明实施例的先前描述。其不希望为详尽的或将本发明限于所揭示的精确形式。鉴于以上教示,许多修改和变型是可能的。希望本发明的范围不受此详细描述限制,而是由所附权利要求书限制。The foregoing description of embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto.

Claims (18)

1. pipeline compensates a successive approximation register SAR digital to analog converter, comprising:
Binary weighting X side capacitors array, it has the first capacitor of weighting capacitance, the first capacitor each of a plurality of the first switches that connects one to one wherein, and be connected to the first electric charge common lines;
Calibration Y side capacitors array, it has the second capacitor of weighting capacitance, the second capacitor each of a plurality of second switches that connects one to one wherein, and be connected to the second electric charge common lines and a plurality of second switch;
Analog comparator, it compares the voltage of the first electric charge common lines and the second electric charge common lines, to produce a relatively output;
Offset registers, its storage represents the offset of capacitance error;
Calibration register, the calibration value of capacitor in its storage binary weighting X side capacitors array, calibration value represents capacitance error;
Compensation condenser controller, it reads offset from offset registers, and applies this offset to a plurality of second switches, makes to calibrate the capacitance error in Y side capacitors array compensation binary weighting X side capacitors array;
The first computing engines, it reads calibration value from calibration register, and by hypothetical simulation comparator, produces the relatively output of the first state, and produces prediction-0 offset before analog comparator produces relatively output;
The second computing engines, it reads calibration value from calibration register, and by hypothetical simulation comparator, produces the relatively output of the second state, and produces prediction-1 offset before analog comparator produces relatively output;
Multiplexer, it receives prediction-0 offset from the first computing engines, and receive prediction-1 offset from the second computing engines, when the output of analog comparator is the relatively output of the first state, this multiplexer prediction of output-0 offset is as next offset, when being the relatively output of the second state, this multiplexer prediction of output-1 offset is as next offset;
Wherein the next offset from multiplexer is stored in offset registers, and as the offset of next bit, next bit is after current bit and be converted;
Therefore offset is the prediction of exporting based on the comparison and precalculated.
2. pipeline as claimed in claim 1 compensates successive approximation register SAR digital to analog converter,
Wherein the first computing engines produces prediction-0 offset, is before analog comparator produces relatively output;
Wherein the second computing engines produces prediction-1 offset, is before analog comparator produces relatively output;
Wherein relatively output meeting is determined a digital value for current bits switch, and the required offset of next bit can complete when current bits switch;
Therefore offset is changed in advance.
3. pipeline as claimed in claim 2 compensates successive approximation register SAR digital to analog converter, also comprises:
Calibration control logic, be used for starting the first and second switches, with the first capacitor in continuous verification binary weighting X side capacitors array, determine calibration value and be applied to the second capacitor in calibration Y side capacitors array, to compensate the capacitance error of the first capacitor, wherein calibration value is stored in calibration register, the operation of response calibration control logic.
4. pipeline as claimed in claim 3 compensates successive approximation register SAR digital to analog converter, also comprises:
Calibration accumulator, the calibration value at a plurality of calibration cycles, a plurality of the first capacitors being produced for cumulative calibration control logic, and produce a cumulative calibration value;
Therefore calibration value adds up.
5. pipeline as claimed in claim 4 compensates successive approximation register SAR digital to analog converter, also comprises:
The first conversion compensation engine, for generation of the first offset, for the period 1, the first conversion compensation engine reads cumulative calibration value from calibration accumulator;
Wherein the first offset is used as offset in the initial period.
6. pipeline compensation successive approximation register SAR digital to analog converter as claimed in claim 5, wherein produces in the initial period from analog voltage conversion the highest next significant bit MSB digital value.
7. pipeline as claimed in claim 2 compensates successive approximation register SAR digital to analog converter, also comprises:
SAR control logic, a bit clock is made to response, be used for starting offset registers, so that next offset from multiplexer is latched into offset registers, offset as next bit, next bit is after current bit and be converted, to respond the first edge of this bit clock
Therefore from next offset of multiplexer by this bit clock first along latching.
8. analog voltage is converted to a method for digital value, comprising:
(a) switch in the first array of capacitors is set, makes aimed capacitor and the first electric charge common lines in the first array of capacitors share electric charge;
From offset registers, read offset;
Apply this offset to the second array of capacitors, make the second array of capacitors and the second electric charge common lines share the second electric charge;
The error of the second charge compensation aimed capacitor wherein;
Comparator compares the voltage of the first electric charge common lines and the second electric charge common lines, produces a relatively output;
Before comparator produces output, while supposing that comparator output is the first state, producing is the first predictive compensation value of next offset, and while supposing that comparator output is the second state, producing is the second predictive compensation value of next offset;
Input the first predictive compensation value and the second predictive compensation value to multiplexer;
When a bit period ending, when comparator output is the first state, uses comparator output to remove to control this multiplexer and select the first predictive compensation value, when comparator output is the second state, select the second predictive compensation value;
When this bit period ending, the bit result of comparator output is used in storage, and this bit result is a bit of this digital value;
For other bits of this digital value, from (a), repeat.
9. method as claimed in claim 8, wherein
Offset comprises that aimed capacitor comparator when last bit period is output as the error of the first state, but does not comprise that aimed capacitor comparator when last bit period is output as the error of the second state,
The error of the second charge compensation aimed capacitor when last bit period wherein, described aimed capacitor connects described the first electric charge common lines at current bit period.
10. method as claimed in claim 9, also comprises:
Calibrate the capacitor in the first array, to produce calibration value, it represents the error of the first array capacitor;
This calibration value is stored into calibration register;
Wherein producing the first predictive compensation value comprises: from offset registers, read offset, from calibration register, read calibration value, combine this offset and this calibration value, to respond the configuration of the switch in the first array of capacitors.
11. methods as claimed in claim 10, wherein the capacitor in the first array of capacitors and in the second array of capacitors has the capacitance of binary weighting.
12. methods as claimed in claim 9, wherein the calculating for the conversion value of bit N is precalculated in the cycle of bit N-1, wherein N is an integer.
13. methods as claimed in claim 9, wherein the first predictive compensation value and the second predictive compensation value same time parallel within the last cycle produces.
14. 1 kinds of precalculated compensating analog transducers, comprising:
The first electric charge common lines;
A plurality of the first switches;
The first array capacitor, it has weighting capacitance, the first array capacitor each of a plurality of the first switches that connects one to one wherein, and be connected to the first electric charge common lines;
The first array capacitor have with the first array capacitor in smallest capacitor have first of identical position of minimum capacitance to stop capacitor, thereby two capacitors in the first array capacitor have identical position of minimum capacitance;
The first analog input, it has analog input voltage;
A plurality of the first digital values;
Wherein, in the sample phase of normal operation, a plurality of the first switches connect the first analog input to the first array capacitor;
Wherein, after the sample phase of normal operation, at translate phase, a plurality of the first switches connect the first digital value to the first array capacitor;
The second electric charge common lines;
A plurality of second switches;
The second array capacitor, it has weighting capacitance, the second array capacitor each of a plurality of second switches that connects one to one wherein, and be connected to the second electric charge common lines;
The second array capacitor have with the second array capacitor in smallest capacitor have second of identical position of minimum capacitance to stop capacitor, thereby two capacitors in the second array capacitor have identical position of minimum capacitance;
The second analog input, it has an analog input voltage;
A plurality of compensating digits values;
Wherein, in the sample phase of normal operation, a plurality of second switches are delivered to the second array capacitor by the second analog input;
Wherein, after the sample phase of normal operation, at translate phase, a plurality of second switches connect delivers to the second array capacitor by compensating digits value;
Comparator, it receives the first comparative voltage of the first electric charge common lines, and the second voltage of this first comparative voltage and the second electric charge common lines relatively, to produce a relatively output;
Control logic, for adjusting to the first digital value of a plurality of the first switches, for adjusting to the second digital value of a plurality of second switches;
Offset registers, for storing the compensating digits value of current period;
The first prediction and calculation engine, it reads compensating digits value from offset registers, and the relatively output that produces current period by hypothesis comparator is 0, and produces next compensating digits value of prediction-0;
The second prediction and calculation engine, it reads compensating digits value from offset registers, and the relatively output that produces current period by hypothesis comparator is 1, and produces next compensating digits value of prediction-1;
Multiplexer, when relatively output is 0, its output is from next compensating digits value of prediction-0 of the first prediction and calculation engine, and when relatively output is 1, its output is from next compensating digits value of prediction-1 of the second prediction and calculation engine;
Its offset registers storage is from next compensating digits value of prediction-0 or next compensating digits value of prediction-1 of multiplexer, for next current period;
Therefore next compensating digits value of prediction be by multiplexer, selected and be precalculated in the last cycle.
15. as the precalculated compensating analog transducer of claim 14, also comprises:
The first earthed switch, it is by the first electric charge common lines ground connection;
The second earthed switch, it is by the second electric charge common lines ground connection;
Wherein the first electric charge common lines ground connection, is response control logic.
16. precalculated compensating analog transducers as claimed in claim 15, also comprise:
Controller calibration, is used to each capacitor in the first array capacitor to produce calibration value, and calibration value represents that capacitance does not mate;
Wherein, when calculating next compensating digits value of prediction-0 and next compensating digits value of prediction-1, the first prediction and calculation engine and the second prediction and calculation engine read the calibration value being produced by calibration.
17. precalculated compensating analog transducers as claimed in claim 16, also comprise:
The first conversion compensation engine, it is started by controller calibration, is used to the MSB being converted to produce the first conversion offset;
Wherein, in the MSB change-over period, the first conversion offset by way of compensation digital value is applied to a plurality of second switches.
18. precalculated compensating analog transducers as claimed in claim 14, also comprise:
The first calibrating installation, is used to each capacitor in the first array capacitor to produce the first calibration value, and the first calibration value is applied to second switch in sample phase, to offset not mating and switching noise of capacitance;
The second calibrating installation, is used to each capacitor in the second array capacitor to produce the second calibration value, and the second calibration value is applied to the first switch in sample phase, to offset not mating and switching noise of capacitance;
Therefore calibration value produces and applies for offsetting not mate.
CN201110392755.7A 2011-11-30 2011-11-30 High-speed successive approximation register analog-to-digital converter Expired - Fee Related CN102427368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110392755.7A CN102427368B (en) 2011-11-30 2011-11-30 High-speed successive approximation register analog-to-digital converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110392755.7A CN102427368B (en) 2011-11-30 2011-11-30 High-speed successive approximation register analog-to-digital converter

Publications (2)

Publication Number Publication Date
CN102427368A CN102427368A (en) 2012-04-25
CN102427368B true CN102427368B (en) 2014-03-12

Family

ID=45961317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110392755.7A Expired - Fee Related CN102427368B (en) 2011-11-30 2011-11-30 High-speed successive approximation register analog-to-digital converter

Country Status (1)

Country Link
CN (1) CN102427368B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514777B (en) * 2012-08-03 2015-12-21 Realtek Semiconductor Corp Predictive successive-approximation-register converting device and method therefor
TWI536748B (en) * 2012-08-06 2016-06-01 瑞昱半導體股份有限公司 Successive approximation analog-to-digital converter and successive approximation analog-to-digital conversion method
TWI482438B (en) * 2012-09-26 2015-04-21 Realtek Semiconductor Corp Successive approximation analog to digital converter and method thereof
CN103036568B (en) * 2012-12-31 2015-09-09 中国科学技术大学 A kind of gradual approaching A/D converter
CN103199864B (en) * 2013-02-07 2015-12-02 中国科学技术大学 A kind of gradual approaching A/D converter
CN103152050B (en) * 2013-03-04 2016-03-02 中国科学技术大学 A kind of high speed gradual approaching A/D converter
CN103746693B (en) * 2013-12-19 2017-02-01 北京时代民芯科技有限公司 Calibration circuit eliminating capacitor mismatch error
US10075180B2 (en) * 2017-01-20 2018-09-11 Mediatek Inc. Circuits and methods for inter-symbol interference compensation
WO2018144866A1 (en) * 2017-02-03 2018-08-09 President And Fellows Of Harvard College Highly integrated high voltage actuator driver
CN106992781A (en) * 2017-03-27 2017-07-28 电子科技大学 A Predictive Quantization Method for Binary Charge Redistribution Successive Approximation Analog-to-Digital Converters
CN108964662B (en) * 2017-05-24 2022-02-25 瑞昱半导体股份有限公司 Integrated circuit capacitor layout
US10404264B2 (en) 2017-09-11 2019-09-03 Analog Devices, Inc. Method of performing analog-to-digital conversion
CN111064468B (en) * 2018-10-17 2023-04-07 创意电子股份有限公司 Calibration method and calibration system
CN109412594A (en) * 2018-12-26 2019-03-01 湘潭芯力特电子科技有限公司 A kind of digital method for self-calibrating applied to single-ended gradual approaching A/D converter
CN111404550B (en) * 2019-01-03 2022-09-09 无锡华润上华科技有限公司 Analog-to-digital converter and clock generation circuit thereof
CN110071720B (en) * 2019-04-25 2023-05-26 湖南品腾电子科技有限公司 Self-calibrating full-capacitance successive approximation digital-to-analog conversion circuit
KR20210034999A (en) * 2019-09-23 2021-03-31 에스케이하이닉스 주식회사 AIM device and method of multiplying/accumulation in the AIM device
CN112350728B (en) * 2020-10-29 2023-12-26 中国科学院上海微系统与信息技术研究所 Successive approximation type analog-to-digital converter capable of reducing capacitance array and working method thereof
CN112332849B (en) * 2020-11-11 2022-03-29 电子科技大学 Digital-to-analog converter and analog-to-digital converter for realizing low power consumption and low noise

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621294A (en) * 2009-07-29 2010-01-06 北京中星微电子有限公司 Control logical circuit and successive approximation analog-to-digital converter
US8031099B2 (en) * 2009-12-23 2011-10-04 Integrated Device Technology, Inc. Analog/digital or digital/analog conversion system having improved linearity

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602006007844D1 (en) * 2006-08-04 2009-08-27 St Microelectronics Srl Analog-to-digital converter
KR101122462B1 (en) * 2009-11-02 2012-03-02 고려대학교 산학협력단 Successive approxiamation analog/digtal converter and time-interleaved successive approxiamation analog/digtal converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621294A (en) * 2009-07-29 2010-01-06 北京中星微电子有限公司 Control logical circuit and successive approximation analog-to-digital converter
US8031099B2 (en) * 2009-12-23 2011-10-04 Integrated Device Technology, Inc. Analog/digital or digital/analog conversion system having improved linearity

Also Published As

Publication number Publication date
CN102427368A (en) 2012-04-25

Similar Documents

Publication Publication Date Title
CN102427368B (en) High-speed successive approximation register analog-to-digital converter
US8421658B1 (en) Parallel pipelined calculation of two calibration values during the prior conversion cycle in a successive-approximation-register analog-to-digital converter (SAR-ADC)
CN104320140B (en) Non-load multistage successive approximation register assisted pipeline analog-to-digital converter
US8416107B1 (en) Charge compensation calibration for high resolution data converter
US7812757B1 (en) Hybrid analog-to-digital converter (ADC) with binary-weighted-capacitor sampling array and a sub-sampling charge-redistributing array for sub-voltage generation
Pelgrom Analog-to-digital conversion
CN112202448B (en) Successive approximation type analog-to-digital converter, calibration method thereof and electronic equipment
CN103378861B (en) Analog-to-digital converter and method
TWI509997B (en) Data conversion circuitry and method therefor
CN110199482A (en) A kind of multistage mixed analog to digital converter
US20130176154A1 (en) Off-line gain calibration in a time-interleaved analog-to-digital converter
CN110750231B (en) Convolution neural network-oriented biphase coefficient adjustable analog multiplication circuit
US12224763B2 (en) Calibration method of capacitor array type successive approximation register analog-to-digital converter
CN107359878B (en) A Front-End Calibration Method for Pipeline ADC Based on Minimum Quantization Error
CN107046424A (en) ADC background calibrations with double conversions
US8344920B1 (en) Methods and apparatus for calibrating pipeline analog-to-digital converters
WO2019089499A1 (en) Method and apparatus for offset correction in sar adc with reduced capacitor array dac
JP2016012760A (en) Semiconductor device
TWI792480B (en) Method for providing digital output code to represent analog input value and analog-to-digital converter
WO2014207870A1 (en) Analog-to-digital converter
CN108988860A (en) A kind of calibration method and SAR ADC system based on SAR ADC
Fan et al. A 12-bit self-calibrating SAR ADC achieving a Nyquist 90.4-dB SFDR
CN117097332A (en) High-precision noise shaping successive approximation type analog-to-digital converter
Ware et al. 6GS/s 8-channel CIC SAR TI-ADC with neural network calibration
TW201015870A (en) Successive approximation ADC with binary error tolerance mechanism

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140312