SUCCESSIVE APPROXIMATION REGISTER ANALOG TO DIGITAL CONVERTER WITH COMPARATOR PERFORMANCE CALIBRATION
20260039309 ยท 2026-02-05
Assignee
Inventors
- Chang Liu (Irvine, CA, US)
- Xiaoliang Li (Irvine, CA, US)
- Haitao Tong (Laguna Hills, CA, US)
- Boyu Hu (Irvine, CA, US)
- Guansheng Li (Irvine, CA, US)
- Delong Cui (Irvine, CA, US)
- Jun Cao (Irvine, CA)
Cpc classification
H03M1/1014
ELECTRICITY
H03M1/46
ELECTRICITY
H03M1/468
ELECTRICITY
International classification
Abstract
Systems and methods are related to device including but not limited to a SAR ADC. The device includes a first digital to analog conversion (DAC) circuit including first capacitors. The digital to analog conversion (DAC) circuit is configured to adjust a first input voltage in response to a first control signal. The device also includes a first comparator configured to receive an adjusted input voltage from the digital to analog conversion (DAC) circuit. The first control signal is provided in response to a target input voltage and a sensed input voltage and adjusts the first input voltage using the first capacitors.
Claims
1. A device, comprising: a first digital to analog conversion (DAC) circuit comprising a plurality of first capacitors, wherein the digital to analog conversion (DAC) circuit is configured to adjust a first input voltage in response to a first control signal; and a first comparator configured to receive an adjusted input voltage from the digital to analog conversion (DAC) circuit, wherein the first control signal is provided in response to a target input voltage and a sensed input voltage and adjusts the first input voltage using the first capacitors.
2. The device of claim 1, wherein the sensed input voltage is provided by a replica circuit.
3. The device of claim 2, wherein the replica circuit comprises an input filter, an output filter, and a replica DAC circuit corresponding to the first digital to analog conversion (DAC) circuit coupled between the input filter and the output filter.
4. The device of claim 3, wherein the replica circuit further comprises a replica comparator and second capacitors configured by the first control signal.
5. The device of claim 1, further comprising: a current source configured to control a bias current for the first comparator, wherein the current source is controlled by a second control signal, the second control signal being provided in response to a conversion margin.
6. The device of claim 1, further comprising: a current source configured to provide a bias current for the first comparator, wherein the current source is controlled by a second control signal, the second control signal being provided in response to a conversion margin; and wherein the first comparator further comprises a differential pair of transistors and a first transistor configured to receive a clock signal for enabling the first comparator, wherein the first transistor is coupled between the differential pair and the current source.
7. The device of claim 1, wherein the first control signal controls a plurality of switches coupled to respective capacitors of the first capacitors.
8. The device of claim 1, further comprising a plurality of DAC units, wherein each of the DAC units comprises a second circuit configured to determine a conversion margin in a unit of the second circuit.
9. The device of claim 1, wherein the first input voltage is an input common mode voltage.
10. A device, comprising: a plurality of units, each unit comprising: a first digital to analog conversion (DAC) circuit; a first comparator configured to receive an input voltage from the digital to analog conversion (DAC) circuit; and a current source configured to control a bias current for the first comparator, wherein the current source is controlled by a first control signal, the first control signal being provided in response to a conversion margin for the unit.
11. The device of claim 10, wherein the first digital to analog conversion (DAC) circuit comprising a plurality of first capacitors, wherein the digital to analog conversion (DAC) circuit is configured to adjust a first input voltage in response to a second control signal; and the first comparator is configured to receive an adjusted input voltage from the digital to analog conversion (DAC) circuit, wherein the second control signal is provided in response to a target input voltage and a sensed input voltage and adjusts the first input voltage using the capacitors.
12. The device of claim 11, wherein the input voltage is an input common mode voltage.
13. The device of claim 11, wherein the sensed input voltage is provided by a replica circuit, wherein the replica circuit comprises an input filter, an output filter, and a replica DAC circuit corresponding to the first digital to analog conversion (DAC) circuit coupled between the input filter and the output filter.
14. The device of claim 13, wherein the replica circuit further comprises a replica comparator and second capacitors configured by the second control signal.
15. The device of claim 10, wherein the first comparator further comprises a differential pair of transistors and a first transistor configured to receive a clock signal for enabling the first comparator, wherein the first transistor is coupled between the differential pair and the current source and wherein each of the units comprises a first circuit configured to determine the conversion margin in the unit of the first circuit.
16. An analog-to-digital conversion device, comprising: a plurality of units, each unit comprising: a first digital to analog conversion (DAC) circuit comprising a plurality of capacitors, wherein the digital to analog conversion (DAC) circuit is configured to adjust a first input voltage in response to a first control signal; and a first comparator configured to receive an adjusted input voltage from the digital to analog conversion (DAC) circuit, wherein the first control signal is provided in response to a target input voltage and a sensed input voltage and adjusts the first input voltage using.
17. The device of claim 16, further comprising: a current source configured to control a bias current for the first comparator, wherein the current source is controlled by a second control signal, the second control signal being provided in response to a conversion margin.
18. The device of claim 16, further comprising: a current source configured to provide a bias current for the first comparator, wherein the current source is controlled by a second control signal, the second control signal being provided in response to a conversion margin; and wherein the first comparator further comprises a differential pair of transistors and a first transistor configured to receive a clock signal for enabling the first comparator, wherein the first transistor is coupled between the differential pair and the current source.
19. The device of claim 16, wherein the first control signal controls a plurality of switches coupled to respective capacitors of the capacitors.
20. The device of claim 16, wherein the first input voltage is an input common mode voltage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0004] Various objects, aspects, features, and advantages of the disclosure will become more apparent and better understood by referring to the detailed description taken in conjunction with the accompanying drawings, in which like reference characters identify corresponding elements throughout. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements.
[0005]
[0006]
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015] The details of various embodiments of the methods and systems are set forth in the accompanying drawings and the description below.
DETAILED DESCRIPTION
[0016] Systems and methods for calibration of a SAR ADC are described below, according to one or more embodiments. Various embodiments disclosed herein are related to a device for communication of data. In some embodiments, the device includes or is a SAR ADC employed in a physical layer product. In some embodiments, the SAR ADC is a high speed SAR ADC (e.g., with resolutions at and beyond 7 and speeds of several hundred Mega samples per second operating frequency). In some embodiments, the SAR ADC is adaptively tuned for PVT operations to increase speed or reduce noise as appropriate. The adaptive feedback technique can increase the speed of operation in the slow corner without any common mode voltage V.sub.CM related performance degradation in the fast (FF) corner in some embodiments. Advantageously, systems and methods described herein can provide a SAR ADC that has reduced latency and reduced noise over variations in process, voltage and temperature (PVT) and input common mode voltage V.sub.cm.
[0017] In some embodiments, a time interleaved successive approximation register analog to digital converter (TI SAR ADC) contains multi-way interleaved sub-ADCs and is a major building block in an ADC/DSP based Serializer/Deserializer (SerDes) core. In some embodiments, performance issues associated with a latched based comparator of the ADC that effect the power, noise and speed of the entire ADC are mitigated. The performance issues can be due to PVT variations and input common mode voltage (V.sub.cm) bias conditions. The performance issues can be magnified in a networking switch chip due to huge global and local variations among hundreds of lanes distributed over large chip area. In some embodiments, performance issues are mitigated by having a well-controlled bias current (I.sub.bias) for the comparator and addressing variances due to input common mode voltage V.sub.cm being determined by the previous driving stage. In some embodiments, the systems and methods address the worst variability caused by PVT variations in order to meet the timing and noise specifications. In some embodiments, the SAR ADC is configured to meet timing specification for fast and slow corner PVT variations. In some embodiments, the ADC is configured so the clocking transistor has enough headroom, and the speed is not degraded due to insufficient bias current while maintaining sufficient noise-based performance degradation.
[0018] In some embodiments, the ADC includes a comparator topology and calibration scheme configured to reduce the performance issues described above. In some embodiments, systems and methods provide calibration without degrading driving stage performance and optimize the comparator common mode voltage V.sub.cm without affecting other stages.
[0019] Various embodiments disclosed herein are related to an apparatus including a receiver. The apparatus can be used in communication applications. The receiver includes an analog-to-digital conversion (ADC) circuit including a comparator and a processor. The processor is configured to perform comparator current bias calibration and/or input common mode voltage V.sub.cm calibration.
[0020] Some embodiments relate to a device including but not limited to a SAR ADC. The device includes a first digital to analog conversion (DAC) circuit including first capacitors. The digital to analog conversion (DAC) circuit is configured to adjust a first input voltage in response to a first control signal. The device also includes a first comparator configured to receive an adjusted input voltage from the digital to analog conversion (DAC) circuit. The first control signal is provided in response to a target input voltage and a sensed input voltage and adjusts the first input voltage using the first capacitors.
[0021] A digital to analog conversion (DAC) circuit can refer to any circuit that converts a binary input number into an analog output in some embodiments. A DAC circuit can be a capacitive sample and hold DAC circuit for an ADC in some embodiments. An adjusted input voltage refers to a signal that has been changed for modified from its original input. The adjusted voltage signal can be adjusted in accordance with a calibration scheme in some embodiments. A control signal can refer to any signal (digital or analog) that causes a component or circuit to provide an action in some embodiments. A target input voltage can refer to a desired signal in some embodiments. A sensed input voltage can refer to a signal that reflects an actual signal or characteristic occurring or that has occurred in a circuit or component in some embodiments. A comparator can refer to any circuit that can compare two signals and provide an output representative of a characteristic of the comparison. A comparator can be embodied as a differential circuit or operational amplifier in some embodiments.
[0022] In some embodiments, the sensed input voltage is provided by a replica circuit. A replica circuit can refer to a circuit that is similar to another circuit or component for providing a copy or replica of a parameter, signal, or operation associated with the another circuit in some embodiments. In some embodiments, the replica circuit comprises an input filter, an output filter, and a replica DAC circuit corresponding to the first digital to analog conversion (DAC) circuit coupled between the input filter and the output filter. In some embodiments, the replica circuit further comprises a replica comparator and second capacitors configured by the first control signal.
[0023] In some embodiments, the device also includes a current source configured to control a bias current for the first comparator. The current source is controlled by a second control signal which is provided in response to a conversion margin. A current source can refer to any circuit for providing a current in some embodiments. A bias current can refer to a current flowing into or out of a component or circuit for operation of the component or circuit in some embodiments.
[0024] In some embodiments, the device also includes a current source configured to provide a bias current for the first comparator. The current source is controlled by a second control signal which is provided in response to a conversion margin. The first comparator further includes a differential pair of transistors and a first transistor configured to receive a clock signal for enabling the first comparator. The first transistor is coupled between the differential pair and the current source. A differential pair of transistors can refer to two transistors coupled together at a terminal and configured to provide a signal at the terminal in some embodiments. A differential pair can be two well matched, source-coupled or drain coupled transistors and can be used in a differential amplifier configuration in some embodiments. A clock signal can refer to any signal that oscillates between a high and low state in some embodiments. A clock signal can be used to coordinate a sequence of actions in a circuit. A clock signal can be a square wave signal, a sinusoidal signal, a trapezoidal signal, etc.
[0025] In some embodiments, the first control signal controls switches coupled to respective capacitors of the first capacitors. In some embodiments, the device further includes DAC units. Each of the DAC units includes a second circuit configured to determine a conversion margin in a unit of the second circuit. In some embodiments, the first input voltage is an input common mode voltage. An input common mode voltage can refer to the voltage of an input signal provided to a circuit in some embodiments. The common mode voltage is a component of differential input signals taken together in some embodiments.
[0026] Some embodiments relate to a device including a number of units. Each unit includes a first digital to analog conversion (DAC) circuit, a first comparator configured to receive an input voltage from the digital to analog conversion (DAC) circuit, and a current source configured to control a bias current for the first comparator. The current source is controlled by a first control signal which is provided in response to a conversion margin for the unit.
[0027] In some embodiments, the first digital to analog conversion (DAC) circuit includes a first capacitors. The digital to analog conversion (DAC) circuit is configured to adjust a first input voltage in response to a second control signal. The first comparator is configured to receive an adjusted input voltage from the digital to analog conversion (DAC) circuit. The second control signal is provided in response to a target input voltage and a sensed input voltage and adjusts the first input voltage using the capacitors.
[0028] In some embodiments, the input voltage is an input common mode voltage. In some embodiments, the sensed input voltage is provided by a replica circuit. The replica circuit includes an input filter, an output filter and a replica DAC circuit corresponding to the first digital to analog conversion (DAC) circuit coupled between the input filter and the output filter. In some embodiments, the replica circuit further includes a replica comparator and second capacitors configured by the second control signal. In some embodiments, the first comparator further includes a differential pair of transistors and a first transistor configured to receive a clock signal for enabling the first comparator. The first transistor is coupled between the differential pair and the current source and each of the units includes a first circuit configured to determine the conversion margin in the unit of the first circuit.
[0029] Some embodiments relate to an analog-to-digital conversion device including a number of units. Each unit includes a first digital to analog conversion (DAC) circuit including capacitors. The digital to analog conversion (DAC) circuit is configured to adjust a first input voltage in response to a first control signal. Each unit also includes a first comparator configured to receive an adjusted input voltage from the digital to analog conversion (DAC) circuit. The first control signal is provided in response to a target input voltage and a sensed input voltage and adjusts the first input voltage using the capacitors.
[0030] In some embodiments, the device also includes a current source configured to control a bias current for the first comparator. The current source is controlled by a second control signal which is provided in response to a conversion margin.
[0031] In some embodiments, the device also include a current source configured to provide a bias current for the first comparator. The current source is controlled by a second control signal which is provided in response to a conversion margin. The first comparator further includes a differential pair of transistors and a first transistor configured to receive a clock signal for enabling the first comparator. The first transistor is coupled between the differential pair and the current source.
[0032] In some embodiments, the first control signal controls switches coupled to respective capacitors of the capacitors. In some embodiments, the first input voltage is an input common mode voltage.
[0033] Various embodiments disclosed herein are related to a SAR ADC, such as, a high speed SAR ADC or very high speed SAR ADC. In some embodiments, the SAR ADC is relatively immune to PVT variations and is configured for use in 200G/100G networking applications. In some embodiments, the systems and methods described herein for a SAR ADC are used in network integrated circuits (ICs) such as an optical transceiver or other transceiver. In some embodiments, the systems and methods described herein provide a speed and lower noise advantage without a significant power/area penalty. The SAR ADC can be utilized in or communicate with the various components in a variety of communication environments. The SAR ADC can operate according to the principles described herein and use the conversion structure and operations described in U.S. Pat. No. 10,903,846 assigned to the assignee of the present application and incorporated herein by reference in its entirety. The SAR ADC can operate according to the principles described herein and use the conversion structure and operations described in U.S. patent application Ser. No. 18/522,698, U.S. patent application Ser. No. 17/700,166, and U.S. patent application Ser. No. 17/694,225, all assigned to the assignee of the present application and incorporated herein by reference in their entireties. In some embodiments, a calibration circuit is provided for a comparator in a TI SAR ADC to achieve optimal performance under variations in PVT and input common mode voltage V.sub.cm.
[0034]
[0035] The transmitter 210 is a circuit or a component that receives transmit data TX Data from the processor 280, and generates output signals Out+, Out. The transmitter 210 may receive N bits of digital data TX Data from the processor 280, and generate the output signals Out+, Out having voltages or currents corresponding to the digital data TX Data. The output signals Out+, Out may be differential signals. In some embodiments, the transmitter 210 may generate a single ended signal or a signal in a different representation for the output signals Out+, Out. In some embodiments, the transmitter 210 transmits the output signals Out+, Out through a network cable. In some embodiments, the transmitter 210 provides the output signals Out+, Out to a wireless transmitter (not shown) that can upconvert the output signals Out+, Out to generate a wireless transmit signal at a radio frequency and transmit the wireless transmit signal through a wireless medium.
[0036] The receiver 220 is a circuit or a component that receives input signals In+, In, and generates receive data RX Data. In some embodiments, the receiver 220 receives the input signals In+, In through a network cable. The input signals In+, In may be differential signals. In some embodiments, the receiver 220 may receive a single ended signal or a signal in a different representation for the input signals In+, In. In some embodiments, the receiver 220 receives the input signals In+, In from a wireless receiver (not shown) that can receive a wireless receive signal through a wireless medium and down convert the wireless receive signal to generate the input signals In+, In at a baseband frequency. In some embodiments, the receiver 220 receives the input signals In+, In and generates N bits of digital data RX Data corresponding to voltages or currents of the input signals In+, In. The receiver 220 may provide the digital data RX Data to the processor 280. In some embodiments, the receiver 220 includes a SAR ADC 225 that can convert the input signals In+, In into N-bit digital data RX Data.
[0037] The processor 280 is a circuit or a component that can perform logic computations. In some embodiments, the processor 280 is implemented as a field-programmable gate array, an application-specific integrated circuit, or state machine. The processor 280 may be electrically coupled to the transmitter 210 and the receiver 220 through conductive traces or bus connections. In this configuration, the processor 280 may receive the data RX Data from the receiver 220 and perform logic computations or execute various applications according to states of the received data RX Data. The processor 280 may also generate the data TX Data, and provide the data TX Data to the transmitter 210.
[0038] With reference to
[0039] In some embodiments, sample and DAC circuit 310 is a circuit or a component that samples the input signals In+, In, and generates DAC output signals CompP, CompN at nodes 296 and 298. In some embodiments, the sample and DAC circuit 310 is embodied as a capacitive DAC circuit. In some embodiments, the sample and DAC circuit 310 includes inputs configured to receive the input signals In+, In, feedback ports configured to receive data bits and common mode voltage bits V.sub.cm from SAR logic circuit 350 at nodes 292 and 294, and output ports configured to output DAC output signals CompP, CompN to comparator circuit 330. In some embodiments, sample and DAC circuit 310 includes dedicated capacitors for adjusting the common mode input voltage V.sub.cm. The common mode input voltage V.sub.cm can refer to the average voltage level of the differential input signals for SAR ADC 300 in some embodiments. The common mode input voltage V.sub.cm can be equal to the sum of the signals In+ and In divided by 2 in some embodiments.
[0040] In some embodiments, comparator circuit 330 is a circuit or a component that receives the DAC output signals CompP, CompN, and determines a state of a corresponding bit of the data RX Data according to the DAC output signals CompP, CompN. In some embodiments, the comparator circuit 330 includes a first output port coupled to first input ports of the first set of storage circuits, and a second output port coupled to input ports of the second set of storage circuits.
[0041] Comparator circuit 330 may be enabled or disabled according to the clock signal CLK_SAR. The clock signal CLK_SAR is a comparator clock signal for the comparator circuit 330. For example, comparator circuit 330 is enabled in response to a rising edge or logic state 1 of the clock signal CLK_SAR and is disabled in response to a falling edge or logic state 0 of the clock signal CLK_SAR. When the comparator circuit 330 is enabled, the comparator circuit 330 may determine a state of a bit according to the DAC output signals CompP, CompN, and generate comparator outputs indicating the determined state of the bit. For example, when the comparator circuit 330 is enabled, in response to a difference in voltages of the DAC output signal CompP, CompN being higher than OV or a reference voltage, the comparator circuit 330 may generate a comparator output a logic state 1. For example, when the comparator circuit 330 is enabled, in response to a difference in voltages of the DAC output signals CompP, CompN being lower than OV or the reference voltage, the comparator circuit 330 may generate the comparator output having a logic state 0. When the comparator circuit 330 is disabled, the comparator circuit 330 may reset the comparator output to logic state 0. The comparator output is a differential signal in some embodiments.
[0042] Comparator circuit 330 is advantageously coupled to current source 354 (e.g., variable current source) which is controlled by a control signal from comparator bias current calibration circuit 360. Current source 354 provides a directly controlled bias current I.sub.bias for comparator circuit 330. A magnitude of the bias current I.sub.bias is related to the control signal (e.g., I.sub.bias bits M:0), where M is an integer (e.g., 3). The control signal (e.g., I.sub.bias bits M:0) controls a magnitude of the bias signal to reduce performance issues associated with conventional comparator circuits. For example, controlling the bias current reduces susceptibility of comparator performance with variations in PVT and common mode bias conditions.
[0043] SAR logic circuit 350 is coupled to common mode voltage V.sub.cm calibration logic circuit 362, comparator circuit 330, comparator bias current calibration circuit 360, and sample and DAC circuit 310. SAR logic circuit 350 is configured to receive the comparator output and provide the data bits to sample and DAC circuit 310 and the input common mode voltage V.sub.cm voltage bits to sample and DAC circuit 310. SAR logic circuit 350 is configured to operate iteratively to determine each bit of the digital output code. SAR logic circuit 350 can initialize the conversion process by setting up sample and DAC circuit 310 to output an initial guess for the most significant bit (MSB) of the digital code and analyze a comparison of the output of sample and DAC circuit 310 with the input analog signal. Based on the comparison result, SAR logic circuit 350 adjusts the output for the next bit in the digital code. After setting each bit, the SAR logic circuit 350 provides feedback (e.g., via data bits to sample and DAC circuit 310) and input common mode voltage V.sub.cm (e.g., a control signal) to sample and DAC circuit 310 in some embodiments.
[0044] SAR logic circuit 350 includes conversion margin monitor circuit 332 which is configured to determine parameters associated with the conversion operation for SAR ADC 300. In some embodiments, conversion margin monitor circuit 332 is configured to provide a feedback signal to comparator bias current calibration circuit 360 which provides the I.sub.bias bits in response to the feedback. In some embodiments, conversion margin monitor circuit 332 provides conversion margin bits associated with the amount of conversion margin and provides those bits as the feedback to comparator bias current calibration circuit 360. In some embodiments, the conversion margin is indicative of an amount of unused time before a bit error occurs within a sampling cycle. The conversion margin can be determined from comparator output transitions and clock signals in some embodiments.
[0045] In some embodiments, one or more of conversion margin monitor circuit 332, comparator bias current calibration circuit 360, and common mode voltage V.sub.cm calibration logic circuit 362 is an on-chip controller configured to determine the conversion margin and adjust parameters to achieve faster operation and/or less noise. Advantageously, the controller implements systems and methods described herein for determining conversion margin and adjusting parameters (e.g., via input common mode voltage V.sub.cm control bits [N:0] and the control signal (I.sub.bias bits M:0)) in some embodiments. The controller can be a hardware implementation or software (e.g., firmware implementation) integrated with SAR ADC 300. In some embodiments, one or more of conversion margin monitor circuit 332, comparator bias current calibration circuit 360, and common mode voltage V.sub.cm calibration logic circuit 362 is a processor, microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or logic device, or any other type and form of dedicated semiconductor logic or processing circuitry capable of processing or supporting the operations described herein.
[0046] In some embodiments, input common mode voltage V.sub.cm calibration logic circuit 362 is similar to SAR logic circuit 350 and/or conversion margin monitor circuit 332. In some embodiments, input common mode voltage V.sub.cm calibration logic circuit 362 is coupled to SAR logic circuit 350 and SAR input common mode voltage V.sub.cm sensing circuit 368. Input common mode voltage V.sub.cm calibration logic circuit 362 is configured to provide input common mode voltage V.sub.cm control bits [N:0] to SAR input common mode voltage V.sub.cm sensing circuit 368 and SAR logic circuit 350 where N is an integer. Input common mode voltage V.sub.cm calibration logic circuit 362 is configured to provide input common mode voltage V.sub.cm control bits [N:0] in response to an output from comparator 364 as discussed below in some embodiments. Comparator 364 provides a signal associated with a comparison of a target input common mode voltage V.sub.cm (e.g., a desired voltage) from target input common mode voltage generation circuit and SAR input and a sensed input common mode voltage V.sub.cm from input common mode voltage V.sub.cm sensing circuit 368 in some embodiments. SAR input common mode voltage V.sub.cm sensing circuit 368 determines sensed input common mode voltage V.sub.cm at an input of comparator circuit 330.
[0047] With reference to
[0048] Noise and delay are sensitive to comparator bias current I.sub.bias. The delay T_delay is approximately related to 1/I.sub.bias in some embodiments. The noise is approximately related to the the square root of I.sub.bias in some embodiments. The use of a programmable current source 354 below transistor 406 for the clock signal, makes the performance of SAR ADC 300 robust to PVT variations in some embodiments. The comparator bias current I.sub.bias is calibrated using SAR conversion timing margin information which reduces the noise as much as possible under the conversion timing constraint in some embodiments. The conversion margin monitor circuit 332 (
[0049] With reference to
[0050] After time T associated with operation 508, the comparator bias current settles and the outputs of every SAR conversion margin monitor circuit 332 in units 301A, 301B, . . . 301n are captured by SAR logic circuit 350 in operation 510. The outputs reflect the conversion margin for each of units 301A, 301B, . . . 301n.
[0051] After operation 510, SAR ADC 300 determines if the I.sub.bias bits [M:0] have saturated (e.g., reaches the limit for current adjustment range). If so, flow 500 advances to an operation 516 and the calibration is complete. If not, SAR ADC 300 advances to operation 514, where the outputs of every SAR conversion margin monitor circuit 332 in units 301A, 301B, . . . 301n is determined and summed. If the outputs indicate that all units 301A, 301B, . . . 301n have enough conversion timing margin, then the I.sub.bias code is reduced in operation 520. If the outputs indicate all units 301A, 301B, . . . 301n do not have enough conversion timing margin, then flow 500 advances to an operation 516 and the calibration is complete. After operation 520, flow 500 returns to operation 508 and operations 510, 512, and 514 are repeated process until the sum indicates not all units 301A, 301B, . . . 301n have conversion margin and the calibration is complete. In some embodiments, the control signal is set to the level before the last decrease when the calibration is done at operation 516. After operation 516, flow 500 returns to operation 504.
[0052] With reference to
[0054] The two sums are equal in some embodiments. The factor V.sub.cm can be directly coupled to the comparator input for performance adjustment purposes in some embodiments. Capacitors 604 and 610 provide the regular SAR conversion function by applying a differential voltage at the comparator inputs in some embodiments. Capacitors 606 and 612 have a fixed connection at their bottom plates in some embodiments. Capacitors 604 and 610 represent multiple dedicated V.sub.cm cap units in some embodiments.
[0055] With reference to
[0056] With reference to
[0057] Inputs of comparator circuit 330r are couped to capacitors 602r, 604r, 606r, 608r and 612r in some embodiments. Capacitor 602r is coupled to switch 622r. Capacitor 604r is coupled to switch 624r. Capacitor 608 is coupled to switch 628r. Switches 614r and 630r are controlled by replica input common mode voltage V.sub.cm bits from replica SAR logic circuit 322r, and switches 622r and 623r are controlled by bits O.sub.s[N:0]. Capacitors 602r, 604r, 606r, 608r and 612r are variable capacitors in some embodiments.
[0058] In some embodiments, input common mode voltage V.sub.cm filter 802 includes a first resistor, a second resistor, and a capacitor. Filter 802 can be an RC filter employed before transistors 840 and 842 at an input of comparator circuit 330r and configured to extract input common mode voltage V.sub.cm and filter out high frequency components while keeping the DC component.
[0059] SAR replica unit 301r can be a modified version of SAR unit 301A where the SAR conversion is is disabled while keeping the sampling and input common mode voltage V.sub.cm and adjustment function. The voltage at the input of comparator circuit 330r reflects input common mode voltage V.sub.cm of the SAR ADC 300. The voltage is sampled by sample capacitor and digital to analog (CAPDAC) circuit 310r and filtered by SAR common mode voltage V.sub.cm sample and filter circuit 804.
[0060] In some embodiments, SAR common mode voltage V.sub.cm sample and filter circuit 804 includes a sampling transistor 812, a resistor, a first capacitor, and a second capacitor. Filter circuit 804 can be a low pass RC filter employed at an input of comparator circuit 330r and configured to extract input common mode voltage V.sub.cm and filter out high frequency components while keeping the DC component. The sensed input common mode voltage V.sub.cm is provided by filter circuit 804.
[0061] In some embodiments, SAR input common mode voltage V.sub.cm sensing circuit 368 is configured to provide additional input common mode voltage V.sub.cm offset capability. For situations where circuit 368 cannot track the input common mode voltage V.sub.cm precisely. Circuit 368 can provide additional input common mode voltage V.sub.cm offset using capacitors 602r and 608r, switches 612r and 628r and bits O.sub.s[N:0] in some embodiments. User can assign the offset using bits O.sub.s[N:0] in some embodiments.
[0062] With reference to
[0063] With reference to
[0064] Replica transistor 1004 is a replica of differential pair of transistors associated with comparator circuit 330, and replica transistor 1006 is a replica of a clock switch transistor associated with comparator circuit 330. Variable current source 1002 is a replica of the current source associated with comparator circuit 330.
[0065] Target input common mode voltage V.sub.cm generation circuit 366 is biased by a current Ib. The current value is chosen so that transistors 1004 and 1006 are in the same bias condition as in comparator circuit 330 (
[0066] Replica transistor 1004 is configured as a diode connected to stay in the saturation region and generate a desired Vgs voltage. Replica transistor 1006 is biased by an analog to digital converter to maintain on state, and generate a desired Vds voltage. Variable current source 1002 is configured using a resistor having a fixed voltage drop in some embodiments.
[0067] With reference to
[0068] At an operation 1102, an initial state, determines the input common mode voltage V.sub.cm bits [M:0] are set to a default code. At an operation 1104, flow 1100 is idle. At an operation 1106, flow 1100 determines if calibration is enabled in response to a calibration enable signal cal_en. If enabled SAR ADC 300 waits a certain time T for an output of circuit 368 to settle at an operation 1108. If not enabled, SAR ADC 300 returns to operation 1104.
[0069] After time T and operation 1108, the comparator circuit 330 compares the sensed input common mode voltage V.sub.cm and the target input common mode voltage V.sub.cm in operation 1110 and an accumulator accumulates the output of comparator 364. The accumulator can be used to determine the polarity of the difference between the sensed input common mode voltage Vcm and the target input common mode voltage V.sub.cm in some embodiments. After operation 1110, SAR ADC 300 determines if the input common mode voltage V.sub.cm bits [M:0] have saturated (reach the maximum/minimum allowed code) in an operation 1112. If so, flow 1100 advances to an operation 1118 and the calibration is complete.
[0070] If not, SAR ADC 300 advances to operation 1114, where a determination of whether the sign of the difference between the sensed input common mode voltage V.sub.cm and the target input common mode voltage V.sub.cm has changed. If so, flow 1100 advances to operation 1118. If not, flow 1100 advances to operation 1116 where the input common mode voltage V.sub.cm bits are increased if the output of the accumulator indicates the sensed input common mode voltage V.sub.cm is less than the target input common mode voltage V.sub.cm and the input common mode voltage V.sub.cm bits are decreased if the output of the accumulator indicates the sensed input common mode voltage V.sub.cm is more than the target input common mode voltage V.sub.cm. Average values can be utilized. After operation 1116, flow 1100 returns to operation 1108 and operations 1110, 1112, and 1114 are repeated process until the calibration is complete in operation 1118.
[0071] Flows 500 and 1100 can be performed in in a controller of SAR ADC 300 (e.g., in calibration logic circuit 362 and comparator bias current calibration circuit 360 (
[0072] It should be noted that certain passages of this disclosure can reference terms such as first and second in connection with devices or operations for purposes of identifying or differentiating one from another or from others. These terms are not intended to merely relate entities (e.g., a first device and a second device) temporally or according to a sequence, although in some cases, these entities can include such a relationship. Nor do these terms limit the number of possible entities that can operate within a system or environment. It should be understood that the systems described above can provide multiple ones of any or each of those components and these components can be provided on either a standalone machine or, in some embodiments, on multiple machines in a distributed system. In addition, the systems and methods described above can be provided as one or more computer-readable programs or executable instructions embodied on or in one or more articles of manufacture, e.g., a floppy disk, a hard disk, a CD-ROM, a flash memory card, a PROM, a RAM, a ROM, or a magnetic tape. The programs can be implemented in any programming language, such as LISP, PERL, C, C++, C #, or in any byte code language such as JAVA. The software programs or executable instructions can be stored on or in one or more articles of manufacture as object code. Further, certain components may be coupled together with intervening components provided there between. M, N, O and n can refer to any integer.
[0073] While the foregoing written description of the methods and systems enables one of ordinary skill to make and use embodiments thereof, those of ordinary skill will understand and appreciate the existence of variations, combinations, and equivalents of the specific embodiment, method, and examples herein. The present methods and systems should therefore not be limited by the above described embodiments, methods, and examples, but by all embodiments and methods within the scope and spirit of the disclosure.