[go: up one dir, main page]

CN113141182B - Analog-to-digital converter device and capacitance weight correction method - Google Patents

Analog-to-digital converter device and capacitance weight correction method Download PDF

Info

Publication number
CN113141182B
CN113141182B CN202010066277.XA CN202010066277A CN113141182B CN 113141182 B CN113141182 B CN 113141182B CN 202010066277 A CN202010066277 A CN 202010066277A CN 113141182 B CN113141182 B CN 113141182B
Authority
CN
China
Prior art keywords
capacitor
weight value
analog
capacitors
digital
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.)
Active
Application number
CN202010066277.XA
Other languages
Chinese (zh)
Other versions
CN113141182A (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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN202010066277.XA priority Critical patent/CN113141182B/en
Publication of CN113141182A publication Critical patent/CN113141182A/en
Application granted granted Critical
Publication of CN113141182B publication Critical patent/CN113141182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/1205Multiplexed conversion systems
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • H03M1/1009Calibration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

模拟数字转换器装置包含电容阵列、数字逻辑电路以及比较器电路。电容阵列包含多个第一电容、待校电容与多个补偿电容。数字逻辑电路对该待校电容执行校正程序以根据决策信号校正该待校电容的权重值,并在执行该校正程序后通过该电容阵列转换输入信号为多个位(bits)。比较器电路比较该多个第一电容与该待校电容响应于该校正程序所产生的测试信号与预定电压,以产生该决策信号。数字逻辑电路进一步根据该权重值选择该多个补偿电容中的至少一者,以调整对应于校正后的该权重值的数字码为符合该多个位表达的整数。

The analog-to-digital converter device includes a capacitor array, a digital logic circuit, and a comparator circuit. The capacitor array includes a plurality of first capacitors, a capacitor to be calibrated, and a plurality of compensation capacitors. The digital logic circuit performs a correction procedure on the capacitor to be calibrated to correct the weight value of the capacitor to be calibrated according to a decision signal, and converts the input signal into a plurality of bits through the capacitor array after executing the correction procedure. The comparator circuit compares the test signal generated by the plurality of first capacitors and the capacitor to be calibrated in response to the correction procedure with a predetermined voltage to generate the decision signal. The digital logic circuit further selects at least one of the plurality of compensation capacitors according to the weight value to adjust the digital code corresponding to the corrected weight value to an integer that conforms to the expression of the plurality of bits.

Description

模拟数字转换器装置与电容权重修正方法Analog-to-digital converter device and capacitance weight correction method

技术领域Technical Field

本申请是关于模拟数字转换器,更明确地,是关于具有电容权重修正的逐渐逼近缓存器式的模拟数字转换器。The present application relates to analog-to-digital converters, and more particularly, to a successive approximation register-based analog-to-digital converter with capacitance weight correction.

背景技术Background technique

模拟数字转换器已广泛地应用于各种电子装置,以产生数字信号来进行后续的信号处理。在现有技术中,各种校正机制被使用,以提升模拟数字转换器的分辨率。例如,利用校正机制修正电容或电流源所对应的数字权重,以产生出相应的数字码。然而,在上述技术中,若数字码不是模拟数字转换器的预期位数可表达的数值,将造成模拟数字转换器的分辨率下降。若为了表达该数字码而增加模拟数字转换器的位数,又将造成电路成本大幅上升。Analog-to-digital converters have been widely used in various electronic devices to generate digital signals for subsequent signal processing. In the prior art, various correction mechanisms are used to improve the resolution of analog-to-digital converters. For example, the correction mechanism is used to correct the digital weight corresponding to the capacitor or current source to generate a corresponding digital code. However, in the above technology, if the digital code is not a value that can be expressed by the expected number of bits of the analog-to-digital converter, the resolution of the analog-to-digital converter will be reduced. If the number of bits of the analog-to-digital converter is increased in order to express the digital code, the circuit cost will increase significantly.

发明内容Summary of the invention

在一些实施例中,模拟数字转换器装置包含电容阵列、数字逻辑电路以及比较器电路。电容阵列包含多个第一电容、待校电容与多个补偿电容。数字逻辑电路用于对该待校电容执行校正程序以根据决策信号校正该待校电容的权重值,并在执行该校正程序后经由该电容阵列转换输入信号为多个位。比较器电路用于比较该多个第一电容与该待校电容响应于该校正程序所产生的测试信号与预定电压以产生该决策信号。数字逻辑电路进一步用于根据该权重值选择该多个补偿电容中的至少一者,以调整对应于校正后的该权重值的一数字码为符合该多个位表达的一整数。In some embodiments, the analog-to-digital converter device includes a capacitor array, a digital logic circuit, and a comparator circuit. The capacitor array includes a plurality of first capacitors, a capacitor to be calibrated, and a plurality of compensation capacitors. The digital logic circuit is used to perform a correction procedure on the capacitor to be calibrated to correct the weight value of the capacitor to be calibrated according to a decision signal, and convert the input signal into a plurality of bits through the capacitor array after executing the correction procedure. The comparator circuit is used to compare the test signal generated by the plurality of first capacitors and the capacitor to be calibrated in response to the correction procedure with a predetermined voltage to generate the decision signal. The digital logic circuit is further used to select at least one of the plurality of compensation capacitors according to the weight value to adjust a digital code corresponding to the corrected weight value to an integer that conforms to the expression of the plurality of bits.

在一些实施例中,电容权重修正方法包含下列操作:对一模拟数字转换器装置的一待校电容执行一校正程序,以根据一决策信号校正该待校电容的一权重值,其中该模拟数字转换器装置转换一输入信号为多个位;比较该模拟数字转换器装置的多个第一电容与该待校电容响应于该校正程序所产生的一测试信号与一预定电压,以产生该决策信号;以及根据该权重值选择多个补偿电容中的至少一者,以调整对应于校正后的该权重值的一数字码为符合该多个位表达的一整数。In some embodiments, a capacitor weight correction method includes the following operations: executing a calibration procedure on a capacitor to be calibrated of an analog-to-digital converter device to calibrate a weight value of the capacitor to be calibrated according to a decision signal, wherein the analog-to-digital converter device converts an input signal into multiple bits; comparing multiple first capacitors of the analog-to-digital converter device with a test signal and a predetermined voltage generated by the capacitor to be calibrated in response to the calibration procedure to generate the decision signal; and selecting at least one of multiple compensation capacitors according to the weight value to adjust a digital code corresponding to the corrected weight value to an integer that conforms to the expression of the multiple bits.

有关本申请的特征、实施与效果,将结合附图详细说明如下。The features, implementation and effects of the present application will be described in detail as follows with reference to the accompanying drawings.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为根据本申请一些实施例示出一种模拟数字转换器装置的示意图;FIG1 is a schematic diagram showing an analog-to-digital converter device according to some embodiments of the present application;

图2为根据本申请一些实施例示出图1中所述补偿电容单元的示意图;以及FIG2 is a schematic diagram showing the compensation capacitor unit in FIG1 according to some embodiments of the present application; and

图3为根据本申请一些实施例示出一种电容权重修正方法的流程图。FIG. 3 is a flow chart showing a capacitance weight correction method according to some embodiments of the present application.

符合说明:Comply with the description:

100 模拟数字转换器装置100 Analog-to-digital converter device

110 电容阵列110 Capacitor Array

112 最低有效位电容单元112 Least Significant Capacitor Unit

114 最高有效位电容单元114 Most significant bit capacitor unit

116 补偿电容单元116 Compensation capacitor unit

118A、118B 切换电路118A, 118B Switching Circuit

120 比较器电路120 Comparator Circuit

130 数字逻辑电路130 Digital Logic Circuits

C0~Cn-1 电容C 0 ~C n-1 capacitance

CD 虚设电容CD Dummy Capacitor

D0~Dn-1D 0 ~D n-1

DOUT 数位码DOUT digital code

S1 开关S1 switch

SC1,SC2 控制信号 SC1 , SC2 control signal

SD 决策信号S D decision signal

ST 测试信号S T test signal

VCM 预定电压VCM Predetermined voltage

VIN 输入信号VIN Input Signal

VREF1,VREF2 参考电压VREF1, VREF2 reference voltage

C,2C,4C,8C,2n-1C 容值C,2C,4C,8C,2n-1C Capacitance

0.25C,0.125C,0.0625C 容值0.25C, 0.125C, 0.0625C Capacitance

300 电容权重修正方法300 Capacitance Weight Correction Method

S310,S320,S330 操作S310, S320, S330 Operation

S311,S312,S313 步骤S311, S312, S313 Steps

具体实施方式Detailed ways

本文所使用的所有词汇具有其通常的含义。上述词汇适用于普遍常用字典中的定义,在本申请的内容中包含任一在此讨论的词汇的使用例子仅为示例,不应限制本申请的范围与含义。同样地,本申请也不仅限于此说明书所示出的各种实施例。All words used herein have their usual meanings. The above words are applicable to the definitions in commonly used dictionaries. The use examples of any word discussed herein included in the content of this application are only illustrative and should not limit the scope and meaning of this application. Similarly, this application is not limited to the various embodiments shown in this specification.

关于本文中所使用的“耦接”或“连接”,均可指两个或多个组件相互直接地进行实体或电性接触,或是相互间接地进行实体或电性接触,也可指两个或多个组件相互操作或动作。As used herein, “coupled” or “connected” may refer to two or more components being in direct physical or electrical contact with each other, or being in indirect physical or electrical contact with each other, or may refer to two or more components operating or moving with each other.

如本文所用,用语“电路(circuit)”可以是由至少一个晶体管与/或至少一个主被动组件按一定方式连接以处理信号的装置。如本文所用,用语“和/或”包含了列出的关联项目中的一个或多个的任何组合。As used herein, the term "circuit" may be a device that is connected in a certain manner by at least one transistor and/or at least one active and passive component to process a signal. As used herein, the term "and/or" includes any combination of one or more of the listed associated items.

在本文中,使用第一、第二与第三等等这些词汇,是用于描述并辨别各个组件。因此,在本文中的第一组件也可被称为第二组件,而不脱离本申请的本意。In this document, the terms "first", "second", "third", etc. are used to describe and distinguish various components. Therefore, the first component in this document may also be referred to as the second component without departing from the original meaning of this application.

为易于理解,在各附图中的类似组件将被指定为相同标号。For ease of understanding, similar components in the various drawings will be designated by the same reference numerals.

图1为根据本申请一些实施例示出一种模拟数字转换器(analog-to-digitalconverter,ADC)装置100的示意图。在一些实施例中,ADC装置100为逐渐逼近暂存式(successive approximation register,SAR)ADC。1 is a schematic diagram showing an analog-to-digital converter (ADC) device 100 according to some embodiments of the present application. In some embodiments, the ADC device 100 is a successive approximation register (SAR) ADC.

ADC装置100包含电容阵列110、比较器电路120以及数字逻辑电路130。在一般操作下,电容阵列110的一端经开关S1接收预定电压VCM(或称共模电压),且电容阵列110的另一端对输入信号VIN取样。数字逻辑电路130可根据比较器电路120输出的决策信号SD来控制电容阵列110。如此,电容阵列110与比较器电路120协同运作,以将取样到的输入信号VIN转换为n个位D0~Dn-1。n为正整数,且n个位D0~Dn-1可定义数位码DOUT。例如,若n为5,数字码DOUT可为0至31(即00000至11111)中的任一整数。The ADC device 100 includes a capacitor array 110, a comparator circuit 120, and a digital logic circuit 130. In general operation, one end of the capacitor array 110 receives a predetermined voltage VCM (or common mode voltage) through a switch S1, and the other end of the capacitor array 110 samples an input signal VIN. The digital logic circuit 130 can control the capacitor array 110 according to a decision signal SD output by the comparator circuit 120. In this way, the capacitor array 110 and the comparator circuit 120 work together to convert the sampled input signal VIN into n bits D 0 ~D n-1 . n is a positive integer, and the n bits D 0 ~D n-1 can define a digital code DOUT. For example, if n is 5, the digital code DOUT can be any integer from 0 to 31 (i.e., 00000 to 11111).

在执行上述转换前,数字逻辑电路130执行校正程序,以校正电容阵列110中的待校电容的权重值。在执行校正程序后,数字逻辑电路130经由电容阵列110执行上述转换。在一些实施例中,校正程序称为前景式(foreground)校正。Before performing the above conversion, the digital logic circuit 130 performs a calibration procedure to calibrate the weight values of the capacitors to be calibrated in the capacitor array 110. After performing the calibration procedure, the digital logic circuit 130 performs the above conversion via the capacitor array 110. In some embodiments, the calibration procedure is called foreground calibration.

电容阵列110包含最低有效位(least significant bit,LSB)电容单元112、最高有效位(most significant bit,MSB)电容单元114、补偿电容单元116、切换电路118A与切换电路118B。LSB电容单元112包含虚设(dummy)电容CD以及多个电容C0~C2。MSB电容单元114包含多个电容C3~Cn-1,其即为待校电容。LSB电容单元112中的最小者为虚设电容CD-与电容C0,且上述两个电容每一者的容值设定为单位电容C。多个电容C1~Cn-1-的容值依序设定2倍(即电容C1的预设权重值)的单位电容C(即2C)、4倍的单位电容C(即4C)、…、至2n-1倍的单位电容C(即2n-1C)。在校正程序中,数字逻辑电路130透过LSB电容单元112得知一个待校电容(例如为电容C3)的权重值。补偿电容单元116基于数字逻辑电路130的控制而调整待校电容的权重值。补偿电容单元116的一种示例设置方式可参考后述图2的例子。The capacitor array 110 includes a least significant bit (LSB) capacitor unit 112, a most significant bit (MSB) capacitor unit 114, a compensation capacitor unit 116, a switching circuit 118A and a switching circuit 118B. The LSB capacitor unit 112 includes a dummy capacitor CD and a plurality of capacitors C0 - C2 . The MSB capacitor unit 114 includes a plurality of capacitors C3 -Cn -1 , which are capacitors to be calibrated. The smallest of the LSB capacitor units 112 are the dummy capacitor CD- and the capacitor C0 , and the capacitance of each of the two capacitors is set to a unit capacitor C. The capacitance of the plurality of capacitors C1 -Cn -1- is sequentially set to 2 times (i.e., the preset weight value of the capacitor C1 ) of the unit capacitor C (i.e., 2C), 4 times of the unit capacitor C (i.e., 4C), ..., to 2n-1 times of the unit capacitor C (i.e., 2n-1C ). In the calibration process, the digital logic circuit 130 obtains the weight value of a capacitor to be calibrated (e.g., capacitor C3 ) through the LSB capacitor unit 112. The compensation capacitor unit 116 adjusts the weight value of the capacitor to be calibrated based on the control of the digital logic circuit 130. An exemplary configuration of the compensation capacitor unit 116 can be referred to the example of FIG. 2 described below.

切换电路118A包含多个开关,其用于根据数字逻辑电路130所产生的多个控制信号SC1选择性地传输输入信号VIN、参考电压VREF1或电压VREF2(例如可为地电压或为负参考电压)至虚设电容CD与多个电容C0~Cn-1。切换电路118B包含多个开关,其用于根据数字逻辑电路130所产生的多个控制信号SC2选择性地将补偿电容单元116中的至少一补偿电容并联耦接至对应的待校电容(例如为电容C3),以调整该待校电容的校正后权重值所对应的数字码至符合位D0~Dn-1可表达的整数。上述关于校正程序以及调整权重值的操作将在后述参照图3进行说明。The switching circuit 118A includes a plurality of switches for selectively transmitting the input signal VIN, the reference voltage VREF1 or the voltage VREF2 (e.g., a ground voltage or a negative reference voltage) to the dummy capacitor CD and the plurality of capacitors C0 to Cn -1 according to the plurality of control signals SC1 generated by the digital logic circuit 130. The switching circuit 118B includes a plurality of switches for selectively coupling at least one compensation capacitor in the compensation capacitor unit 116 in parallel to the corresponding capacitor to be calibrated (e.g., capacitor C3 ) according to the plurality of control signals SC2 generated by the digital logic circuit 130, so as to adjust the digital code corresponding to the calibrated weight value of the capacitor to be calibrated to an integer that can be expressed by the bits D0 to Dn-1 . The above-mentioned calibration procedure and the operation of adjusting the weight value will be described later with reference to FIG. 3.

图2为根据本申请一些实施例示出图1中的补偿电容单元116的示意图。补偿电容单元116包含多个补偿电容,例如可为多个容值为0.25C的补偿电容、多个容值为0.125C的补偿电容与多个容值为0.0625C的补偿电容。在一些实施例中,多个补偿电容的容值皆设定为小于或等于0.25倍的单位电容C,但本申请并不以此为限。这些补偿电容透过切换电路118B选择性地并联耦接至MSB电容单元114中的待校电容。FIG. 2 is a schematic diagram showing the compensation capacitor unit 116 in FIG. 1 according to some embodiments of the present application. The compensation capacitor unit 116 includes a plurality of compensation capacitors, such as a plurality of compensation capacitors with a capacitance of 0.25C, a plurality of compensation capacitors with a capacitance of 0.125C, and a plurality of compensation capacitors with a capacitance of 0.0625C. In some embodiments, the capacitance of the plurality of compensation capacitors is set to be less than or equal to 0.25 times the unit capacitance C, but the present application is not limited thereto. These compensation capacitors are selectively coupled in parallel to the capacitor to be calibrated in the MSB capacitor unit 114 through the switching circuit 118B.

图3为根据本申请一些实施例示出一种电容权重修正方法300的流程图。在一些实施例中,电容权重修正方法300可由图1的数字逻辑电路130执行。在一些实施例中,数字逻辑电路130可由执行电容权重修正方法300的数字电路、状态机与/或逻辑电路实施,但本申请并不以此为限。FIG3 is a flow chart showing a capacitance weight correction method 300 according to some embodiments of the present application. In some embodiments, the capacitance weight correction method 300 may be executed by the digital logic circuit 130 of FIG1. In some embodiments, the digital logic circuit 130 may be implemented by a digital circuit, a state machine, and/or a logic circuit that executes the capacitance weight correction method 300, but the present application is not limited thereto.

在操作S310,对待校电容执行校正程序,以校正待校电容的权重值。在操作S320,判断校正后的权重值所对应的数字码是否符合ADC装置产生的多个位可表达的整数。若否,则执行操作S330。若是,则不选择补偿电容并停止执行电容权重修正方法300。在一些实施例中,在操作S320,在判断校正后的权重值所对应的数字码符合ADC装置产生的多个位可表达的整数后,可再次执行操作S311以进行另一待校电容的校正。In operation S310, a calibration procedure is performed on the capacitor to be calibrated to calibrate the weight value of the capacitor to be calibrated. In operation S320, it is determined whether the digital code corresponding to the calibrated weight value conforms to the integer that can be expressed by multiple bits generated by the ADC device. If not, operation S330 is performed. If so, the compensation capacitor is not selected and the capacitor weight correction method 300 is stopped. In some embodiments, in operation S320, after determining that the digital code corresponding to the calibrated weight value conforms to the integer that can be expressed by multiple bits generated by the ADC device, operation S311 can be performed again to calibrate another capacitor to be calibrated.

以电容C3为待校电容为例说明。预定电压VCM设定为参考电压VREF1的一半,且电容C3的容值理想上应相同于LSB电容单元112的容值总和(即C+C+2C+4C=8C)。测试信号ST为由LSB电容单元112与电容C3根据参考电压VREF1产生的分压电压。在开始校正前,数字逻辑电路130输出多个控制信号SC1-以经由切换电路118A控制电容C3接收参考电压VREF1,并控制虚设电容CD与多个电容C0~C2皆接收参考电压VREF2。在初次校正时,数字逻辑电路130切换多个控制信号SC1中对应者,以经由切换电路118A控制待校电容C3自接收参考电压VREF1切换至接收参考电压VREF2,以产生测试信号ST(步骤S311)。在此条件下,测试信号ST理想上应为一半的参考电压VREF1。若电容C3的权重值有误差(即C3不等于8C),测试信号ST会不同于一半的参考电压VREF1。藉由比较测试信号ST与预定电压VCM,比较器电路120可输出对应的决策信号SD(步骤S312)。在下次校正中,数字逻辑电路130响应于此决策信号SD改变多个控制信号SC1中一对应者,以使得电容C2-自接收参考电压VREF2切换至接收参考电压VREF1(步骤S311)。如此,测试信号ST将会改变,故比较器电路120再度产生新的决策信号SD(步骤S312)。依此类推,当数字逻辑电路130侦测到决策信号SD在逻辑值1与逻辑值0之间来回切换(toggle)时,数字逻辑电路130可平均触发上述切换情形的多个控制信号SC1,以计算电容C3的权重值(步骤S313)。The capacitor C3 is taken as an example to be calibrated. The predetermined voltage VCM is set to half of the reference voltage VREF1, and the capacitance of the capacitor C3 should ideally be the same as the sum of the capacitances of the LSB capacitor units 112 (i.e., C+C+2C+4C=8C). The test signal ST is a divided voltage generated by the LSB capacitor unit 112 and the capacitor C3 according to the reference voltage VREF1. Before calibration, the digital logic circuit 130 outputs a plurality of control signals SC1- to control the capacitor C3 to receive the reference voltage VREF1 through the switching circuit 118A, and to control the dummy capacitor CD and the plurality of capacitors C0 - C2 to receive the reference voltage VREF2. During the initial calibration, the digital logic circuit 130 switches the corresponding one of the plurality of control signals SC1 to control the capacitor C3 to receive the reference voltage VREF1 to receive the reference voltage VREF2 through the switching circuit 118A, so as to generate the test signal ST (step S311). Under this condition, the test signal ST should ideally be half of the reference voltage VREF1. If the weight value of the capacitor C3 has an error (i.e., C3 is not equal to 8C), the test signal ST will be different from half of the reference voltage VREF1. By comparing the test signal ST with the predetermined voltage VCM, the comparator circuit 120 can output a corresponding decision signal SD (step S312). In the next calibration, the digital logic circuit 130 changes a corresponding one of the plurality of control signals SC1 in response to the decision signal SD , so that the capacitor C2- switches from receiving the reference voltage VREF2 to receiving the reference voltage VREF1 (step S311). In this way, the test signal ST will change, so the comparator circuit 120 generates a new decision signal SD again (step S312). Similarly, when the digital logic circuit 130 detects that the decision signal SD toggles between logic value 1 and logic value 0, the digital logic circuit 130 may average the control signals SC1 triggering the above switching situations to calculate the weight value of the capacitor C3 (step S313).

数字逻辑电路130计算此权重值与电容C3的预设权重值之间的误差,以校正该权重值。例如,若ADC装置100的有效位数(effective number of bits,ENOB)为11(即n=11),即ADC装置100预期产生11个位D0~D10。在二进制制的设定下,电容C3的预设权重值为8(即电容C3理想上应为8C),且电容C3未校正前所对应的数字码为16(以差动信号来看)。若电容C3的权重值为7,数字逻辑电路130可根据默认权重值与权重值之间的误差来校正电容C3的权重值。根据校正后的权重值,电容C3对应到的数位码为14,且数位码14为11个位D0~D10可表达的整数。在此条件下,数字逻辑电路130停止校正程序(或是继续校正下一个待校电容)。同理,若电容C3的权重值为8.5,电容C3根据校正后的权重值对应到的数字码为17,且数位码17为11个位D0~D10可表达的整数。在此条件下,数字逻辑电路130可停止校正程序(或是继续校正下一个待校电容)。The digital logic circuit 130 calculates the error between the weight value and the preset weight value of the capacitor C 3 to correct the weight value. For example, if the effective number of bits (ENOB) of the ADC device 100 is 11 (i.e., n=11), the ADC device 100 is expected to generate 11 bits D 0 ~D 10 . Under the setting of the binary system, the preset weight value of the capacitor C 3 is 8 (i.e., the capacitor C 3 should ideally be 8C), and the digital code corresponding to the capacitor C 3 before correction is 16 (in terms of differential signal). If the weight value of the capacitor C 3 is 7, the digital logic circuit 130 can correct the weight value of the capacitor C 3 according to the error between the default weight value and the weight value. According to the corrected weight value, the digital code corresponding to the capacitor C 3 is 14, and the digital code 14 is an integer that can be expressed by the 11 bits D 0 ~D 10. Under this condition, the digital logic circuit 130 stops the correction process (or continues to correct the next capacitor to be corrected). Similarly, if the weight value of capacitor C3 is 8.5, the digital code corresponding to capacitor C3 according to the calibrated weight value is 17, and the digital code 17 is an integer that can be expressed by 11 bits D0 - D10 . Under this condition, the digital logic circuit 130 can stop the calibration process (or continue to calibrate the next capacitor to be calibrated).

上述关于权重校正的操作用于示例,且本申请并不以此为限。在一些实施例中,数字逻辑电路130可将误差与校正后的权重值储存为一查照表,以利后续的模拟数字转换。在一些实施例中,上述权重校正的详细操作可参照相关文献(A 12b 70MS/s SAR ADC withdigital startup calibration in 14nm CMOS,Symp.VLSI Circuits,June 2015.)。The above-mentioned weight calibration operation is for example only, and the present application is not limited thereto. In some embodiments, the digital logic circuit 130 may store the error and the corrected weight value as a lookup table to facilitate subsequent analog-to-digital conversion. In some embodiments, the detailed operation of the above-mentioned weight calibration may refer to the relevant literature (A 12b 70MS/s SAR ADC with digital startup calibration in 14nm CMOS, Symp. VLSI Circuits, June 2015.).

在某些情况下,电容C3的权重值所对应的数位码并非11个位D0~D10可表达的整数。在此情形下,将造成ADC装置100的ENOB降低。例如,若电容C3的权重值计算为8.25,电容C3的权重值所对应的数位码为16.5,其并非为11个位D0~D10可表达的整数。如此,数字逻辑电路130会认定电容C3可能对应到的数字码为16或17。若未调整此权重值,将造成ENOB由11个位降低至10.5个位。在此条件下,数字逻辑电路130将执行操作S330,以调整此权重值。In some cases, the digital code corresponding to the weight value of capacitor C 3 is not an integer that can be expressed by 11 bits D 0 ~ D 10. In this case, the ENOB of the ADC device 100 will be reduced. For example, if the weight value of capacitor C 3 is calculated to be 8.25, the digital code corresponding to the weight value of capacitor C 3 is 16.5, which is not an integer that can be expressed by 11 bits D 0 ~ D 10. In this way, the digital logic circuit 130 will determine that the digital code that capacitor C 3 may correspond to is 16 or 17. If this weight value is not adjusted, the ENOB will be reduced from 11 bits to 10.5 bits. Under this condition, the digital logic circuit 130 will perform operation S330 to adjust this weight value.

继续参照图3,在操作S330,根据待校电容的权重值选择补偿电容中至少一者,以调整待校电容的权重值。在上述例子中,电容C3的权重值为8.25。数字逻辑电路130可输出多个控制信号SC2,以经由切换电路118B自补偿电容单元116选出至少一补偿电容,并将此至少一补偿电容与电容C3并联耦接以修正电容C3的权重值。在此例中,数字逻辑电路130可选出一个容值为0.25C的补偿电容来,以将电容C3的权重值由8.25修正为8.5。由此,根据校正后的权重值,电容C3对应的数位码为17,其可为11个位D0~D10可表达的整数。Continuing to refer to FIG. 3 , in operation S330 , at least one of the compensation capacitors is selected according to the weight value of the capacitor to be calibrated to adjust the weight value of the capacitor to be calibrated. In the above example, the weight value of capacitor C 3 is 8.25. The digital logic circuit 130 can output a plurality of control signals S C2 to select at least one compensation capacitor from the compensation capacitor unit 116 via the switching circuit 118B, and couple the at least one compensation capacitor in parallel with capacitor C 3 to correct the weight value of capacitor C 3. In this example, the digital logic circuit 130 can select a compensation capacitor with a capacitance of 0.25C to correct the weight value of capacitor C 3 from 8.25 to 8.5. Thus, according to the corrected weight value, the digital code corresponding to capacitor C 3 is 17, which can be an integer that can be expressed by 11 bits D 0 to D 10 .

通过上述操作,数字逻辑电路130可判断校正后的权重值所对应的数字码是否为11个位可表达的整数。若否,数字逻辑电路130可进一步使用补偿电容修正权重值,以修正数字码为11个位可表达的整数。如此,可避免ADC装置100的有效位数降低。在二进制制的设定下,待校电容的权重值中小于1且大于0的数值为y。若y小于0.5,数字逻辑电路130会使用补偿电容将y修正为0.5(例如将8.25修正为8.5,其中8.25为权重值且y为0.25)。若y大于0.5,数字逻辑电路130会使用补偿电容将权重值修正为最接近此权重值的正整数(例如将8.625修正为9,其中8.625为权重值,y为0.625)。Through the above operation, the digital logic circuit 130 can determine whether the digital code corresponding to the corrected weight value is an integer that can be expressed by 11 bits. If not, the digital logic circuit 130 can further use the compensation capacitor to correct the weight value to correct the digital code to an integer that can be expressed by 11 bits. In this way, the effective number of bits of the ADC device 100 can be avoided from being reduced. Under the setting of the binary system, the value less than 1 and greater than 0 in the weight value of the capacitor to be calibrated is y. If y is less than 0.5, the digital logic circuit 130 will use the compensation capacitor to correct y to 0.5 (for example, 8.25 is corrected to 8.5, where 8.25 is the weight value and y is 0.25). If y is greater than 0.5, the digital logic circuit 130 will use the compensation capacitor to correct the weight value to the positive integer closest to this weight value (for example, 8.625 is corrected to 9, where 8.625 is the weight value and y is 0.625).

在一些相关技术中,为了表达上述的数字码16.5,可让ADC装置的ENOB增加1位。然而,若ADC装置的ENOB增加,处理ADC装置输出之后端电路的成本将大幅增加。相较于上述技术,本申请一些实施例中的ADC装置100可透过补偿电容单元116来修正权重值,以使数字码修正为原有位可表达的整数。如此,ADC装置100的ENOB可以维持于原始数值,故不会增加后端电路的成本。In some related technologies, in order to express the above digital code 16.5, the ENOB of the ADC device can be increased by 1 bit. However, if the ENOB of the ADC device is increased, the cost of the back-end circuit for processing the output of the ADC device will be greatly increased. Compared with the above technology, the ADC device 100 in some embodiments of the present application can correct the weight value through the compensation capacitor unit 116 so that the digital code is corrected to an integer that can be expressed by the original bit. In this way, the ENOB of the ADC device 100 can be maintained at the original value, so the cost of the back-end circuit will not be increased.

上述各图式的电路数量与/或位数量仅用于示例。依据不同实际需求,各图式中所采用的电路(例如为电容)数量与/或位数量可相应调整。以上多个例子以二进制制为例说明,但本申请并不以此为限。在一些实施例中,ADC装置100与电容权重修正方法300亦可适用于非二进制制的操作。The number of circuits and/or the number of bits in the above-mentioned diagrams are only used for examples. According to different actual needs, the number of circuits (such as capacitors) and/or the number of bits used in each diagram can be adjusted accordingly. The above examples are illustrated by using binary system, but the present application is not limited to this. In some embodiments, the ADC device 100 and the capacitor weight correction method 300 can also be applied to non-binary operations.

综上所述,本申请一些实施例所提供的ADC装置与电容权重修正方法可使用补偿电容修正待校电容的权重值,而不影响ADC装置的原有分辨率与不增加后端电路的成本。In summary, the ADC device and capacitance weight correction method provided in some embodiments of the present application can use the compensation capacitor to correct the weight value of the capacitance to be calibrated without affecting the original resolution of the ADC device and without increasing the cost of the back-end circuit.

虽然本申请的实施例如上所述,然而该多个实施例并非用来限定本申请,本技术领域具有通常知识者可依据本申请的明示或隐含的内容对本申请的技术特征施以变化,凡此种变化均可能属于本申请所寻求的专利保护范畴,换言之,本申请的专利保护范围须视本说明书的权利要求书所界定的范围为准。Although the embodiments of the present application are described above, these multiple embodiments are not intended to limit the present application. A person having ordinary knowledge in the technical field may make changes to the technical features of the present application based on the explicit or implicit contents of the present application. All such changes may fall within the scope of patent protection sought by the present application. In other words, the scope of patent protection of the present application shall be based on the scope defined in the claims of this specification.

Claims (10)

1. An analog-to-digital converter apparatus, characterized in that the analog-to-digital converter apparatus comprises:
The capacitor array comprises a plurality of first capacitors, a plurality of capacitors to be calibrated and a plurality of compensation capacitors;
The digital logic circuit is used for executing a correction program on the capacitor to be corrected so as to correct the weight value of the capacitor to be corrected according to a decision signal, and converting an input signal into a plurality of bits through the capacitor array after executing the correction program; and
A comparator circuit for comparing the test signals generated by the first capacitors and the capacitors to be calibrated in response to the calibration procedure with a predetermined voltage to generate the decision signal,
Wherein the digital logic circuit is further configured to select at least one of the plurality of compensation capacitors according to the weight value to adjust a digital code corresponding to the corrected weight value to an integer conforming to the plurality of bit expressions.
2. The analog-to-digital converter device of claim 1, wherein the digital logic circuit is configured to output a plurality of first control signals according to the decision signal to control the capacitor to be calibrated to switch from receiving a first reference voltage to receiving a second reference voltage, and to sequentially control the plurality of first capacitors to switch from receiving the second reference voltage to receiving the first reference voltage to generate the test signal.
3. The analog-to-digital converter apparatus of claim 2, wherein the digital logic circuit is configured to average the plurality of first control signals according to the decision signal to calculate the weight value and to confirm whether the digital code meets the integer to select the at least one of the plurality of compensation capacitances.
4. The analog-to-digital converter device of claim 3, wherein if the weight value does not match the integer, the digital logic circuit is configured to output a second plurality of control signals to control the at least one of the plurality of compensation capacitors to be coupled in parallel to the capacitor to be calibrated.
5. The analog-to-digital converter device according to claim 1, wherein a smallest of the plurality of first capacitances is a unit capacitance, and the plurality of compensation capacitances are each set to be less than or equal to 0.25 times the unit capacitance.
6. The analog-to-digital converter device of claim 1, wherein if the weight value is less than 1 and the value greater than 0 is less than 0.5, the digital logic circuit is configured to select the at least one of the plurality of compensation capacitors to adjust the value to 0.5.
7. The analog-to-digital converter device of claim 1, wherein if the weight value is less than 1 and greater than 0 is greater than 0.5, the digital logic circuit is configured to select the at least one of the plurality of compensation capacitors to adjust the weight value to the nearest positive integer.
8. A method of capacitance weight correction, the method comprising:
Executing a correction program on a capacitor to be corrected of an analog-digital converter device to correct a weight value of the capacitor to be corrected according to a decision signal, wherein the analog-digital converter device converts an input signal into a plurality of bits;
Comparing a plurality of first capacitances of the analog-to-digital converter device with a test signal generated by the capacitance to be calibrated in response to the calibration procedure with a predetermined voltage to generate the decision signal; and
At least one of a plurality of compensation capacitors is selected according to the weight value, so that the digital code corresponding to the corrected weight value is adjusted to be an integer conforming to the expression of the plurality of bits.
9. The capacitance weight correction method of claim 8, wherein selecting the at least one of the plurality of compensation capacitances according to the weight value comprises:
if the value of the weight value is less than 1 and the value of the weight value greater than 0 is less than 0.5, selecting at least one of the plurality of compensation capacitors to adjust the value to 0.5.
10. The capacitance weight correction method of claim 8, wherein selecting the at least one of the plurality of compensation capacitances according to the weight value comprises:
And if the value of the weight value smaller than 1 and larger than 0 is larger than 0.5, selecting at least one of the compensation capacitors to adjust the weight value to a positive integer closest to the weight value.
CN202010066277.XA 2020-01-20 2020-01-20 Analog-to-digital converter device and capacitance weight correction method Active CN113141182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010066277.XA CN113141182B (en) 2020-01-20 2020-01-20 Analog-to-digital converter device and capacitance weight correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010066277.XA CN113141182B (en) 2020-01-20 2020-01-20 Analog-to-digital converter device and capacitance weight correction method

Publications (2)

Publication Number Publication Date
CN113141182A CN113141182A (en) 2021-07-20
CN113141182B true CN113141182B (en) 2024-06-21

Family

ID=76808898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010066277.XA Active CN113141182B (en) 2020-01-20 2020-01-20 Analog-to-digital converter device and capacitance weight correction method

Country Status (1)

Country Link
CN (1) CN113141182B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970038A (en) * 2011-08-31 2013-03-13 奇景光电股份有限公司 Successive approximation analog-to-digital converter for correcting capacitor mismatch and method thereof
US8842027B2 (en) * 2012-12-28 2014-09-23 Industrial Technology Research Institute Analog to digital converter and method for evaluating capacitor weighting of digital-to-analog converter thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8223044B2 (en) * 2010-04-22 2012-07-17 Texas Instruments Incorporated INL correction circuitry and method for SAR ADC
US8754800B2 (en) * 2012-09-29 2014-06-17 Intel Corporation Methods and arrangements for high-speed analog-to-digital conversion
TWI572144B (en) * 2015-11-25 2017-02-21 瑞昱半導體股份有限公司 Method and digital correction circuit for adaptive regulating coding mode

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970038A (en) * 2011-08-31 2013-03-13 奇景光电股份有限公司 Successive approximation analog-to-digital converter for correcting capacitor mismatch and method thereof
US8842027B2 (en) * 2012-12-28 2014-09-23 Industrial Technology Research Institute Analog to digital converter and method for evaluating capacitor weighting of digital-to-analog converter thereof

Also Published As

Publication number Publication date
CN113141182A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
TWI736103B (en) Analog to digital converter device and capacitor weight calibration method
EP0809889B1 (en) Analog-to-digital conversion with multiple charge redistribution conversions
US7928880B2 (en) Digital analog converter
KR970005828B1 (en) Multiple analog/digital converter for pipeline structure
US7142138B2 (en) Multi-step analog/digital converter and on-line calibration method thereof
CN103281083A (en) Successive approximation fully differential analog-digital converter with figure correction function and processing method thereof
US12224763B2 (en) Calibration method of capacitor array type successive approximation register analog-to-digital converter
CN107017888A (en) Successive approximation register analog-to-digital converter, correction method and electronic device
TWI556585B (en) Analog-to-Digital Converting Device and Related Calibration Method and Calibration Module
KR20160058140A (en) Pipelined successive approximation analog to digital converter
TWI792741B (en) Successive approximation register analog to digital converter device and signal conversion method
TWI653836B (en) Correcting device of successive approximation analog-to-digital conversion
US10230386B2 (en) Method of offset calibration in a successive approximation register analog-to-digital converter and a successive approximation register analog-to-digital converter
CN113141182B (en) Analog-to-digital converter device and capacitance weight correction method
TW202114357A (en) Analog to digital converter device and noise shaping digital slope analog to digital converter circuitry
US20220021396A1 (en) Signal converting apparatus and related method
CN109428595B (en) Continuous approximation analog-to-digital conversion correcting device
CN106506005A (en) Background Calibration Circuit and Method for Eliminating Breakpoints in Transmission Curve of Pipeline Analog-to-Digital Converter
TWI819392B (en) Successive approximation register analog to digital converter and signal conversion method
CN112583406A (en) Analog-to-digital converter device and analog-to-digital converter circuit system
US12191881B2 (en) Analog-to-digital converter and analog-to-digital conversion method using the same
US9024798B2 (en) Method of successive approximation A/D conversion
TWI847433B (en) Successive approximation register analog to digital converter and signal conversion method
CN111510147B (en) Device and Algorithm for Digital Correction of Offset Voltage of SAR Comparator with Multi-comparator Structure
WO2021120037A1 (en) Successive approximation register analog-to-digital converter and mismatch voltage detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant