This disclosure pertains in general to digital transceivers, and more specifically to analog to digital converters.
Serial/Deserializers (SerDes's) are widely used in applications that involve gigabit rate links. Compared to parallel links, serial communication has many advantages such as no crosstalk noise, occupies less area, and consumes less power. Analog to digital converters (ADC) are used in SerDes's to digitize analog signals to achieve channel equalization. However, ADCs can be power hungry and present challenges in integrating ADCs in SerDes′, especially in high speed operation.
Integration of high speed, low power and area efficient ADCs is a key differentiator in the design of the receiver (RX) path of an ADC-based Serializer-Deserializer (SerDes) transceiver. An ADC converts analog values to digital representations. A digital representation is a sum of discrete values some of which may be non-binary scaled and/or binary scaled. The ADC includes dedicated comparators to determine whether to add or to subtract the non-binary scaled values. A comparator is used to determine whether to add or to subtract the binary scaled values. The ADC further calibrates offset voltages of the comparators to substantially remove dead zone and conversion errors, without compromising the conversion speed. The calibration can be performed both in foreground and background.
Other aspects include components, devices, systems, improvements, methods, processes, applications and other technologies related to the foregoing.
The teachings of the embodiments disclosed herein can be readily understood by considering the following detailed description in conjunction with the accompanying drawings.
The Figures and the following description relate to various embodiments by way of illustration only. It should be noted that from the following discussion, alternative embodiments of the structures and methods disclosed herein will be readily recognized as viable alternatives that may be employed without departing from the principles discussed herein. Reference will now be made in detail to several embodiments, examples of which are illustrated in the accompanying figures. It is noted that wherever practicable similar or like reference numbers may be used in the figures and may indicate similar or like functionality.
Operation
The ADC 100 includes a sampling switch 101, an adder 102, a series of comparators 1031-m, a comparator 104, a shift register 106, a digital-to-analog converter (DAC) 108, and a digital register 110. The comparators 1031-m are also collectively referred to as the comparators 103. As illustrated, one terminal of the sampling switch 101 is the input terminal of the ADC 100 and the other terminal of the sampling switch 101 is connected to the adder 102.
The ADC 100 is driven by a clock signal to take samples of an incoming analog signal Vin(t). The ADC 100 can sample the incoming analog signal at rising edges of the clock signal. That is, at each rising edge of the clock signal, the ADC 100 takes a sample of the incoming analog signal and converts the sampled value to a N-bit digital symbol representing the sampled value as shown in Equation (1):
where i is an integer in the range of [1, Nc] and represents one of the Nc cycles, bi is a logical signal determined in the i cycle, and wi is the weight (i.e., discrete value) in the i cycle. The logical signal bi has values indicating whether the corresponding weight wi should be added or subtracted.
The sampling switch 101 is controlled according to the clock signal. As illustrated in
The adder takes as input the sampled value Vin(zT) and the output of the DAC 108 and outputs a difference signal (Vin(zT)−VDAC), where z is an integer. The output of the DAC 108 represents an existing digital conversion of the sampled value. The difference signal represents the remaining analog value to be converted. In a loop-unrolled cycle i, the difference signal is provided as an input to a comparators 103i and serves as the basis for the comparator 103i to determine the logical signal bi. In a SAR cycle i, the difference signal is provided as an input to the comparator 104 and serves as the basis for the comparator 104 to determine the logical signal bi.
To determine the logical signal bi (i.e., whether to add or subtract a discrete value wi), the comparator 103i (or the comparator 104) compares the sampled value Vin(zT) to the DAC's output VDAC. If the sampled value Vin(zT) is greater than (less than) the DAC's output VDAC, the comparator outputs the logical signal bi having a positive (negative) value indicating that the discrete value wi is to be added (subtracted). The outputs of the comparator 103i (or the comparator 104) can be determined according to Equations (2)-(3):
bi=+1 if Vin(zT)>VDAC (2),
bi=−1 if Vin(zT)<VDAC (3).
In addition to generating the logical signal bi, the comparator 103i outputs a ready signal (rdyi) that enables the next comparator 103(i+1) (or 104) to make the determination. For example, as illustrated, the ready signal rdy1 output by the comparator 103-1 that determines the logical signal b1 enables the comparator 103-2 to make the determination on the logical signal b2. The ready signal rdym output by the comparator 103m enables the comparator 104 to make the determination on the logical signal b(m+1).
In each SAR cycle, the comparator 104 outputs the logical signal bi to the shift register 106. At a given time, the shift register 106 stores one or more logical signals that have been outputted by the comparator 104 and provides the logical signals to the DAC 108. Additionally, the comparator 104 generates a ready signal that triggers the comparator 104 to reset and to make the determination for the next cycle after a delay.
As described above, the DAC's 108 output VDAC is the existing digital conversion of the sampled analog value. In a cycle i, the DAC's output can be determined according to Equation (4):
where j is an integer in the range of [1, i−1], bj is a logical signal determined in the j cycle, and wj is the weight in the j cycle. As shown in Equation (4), the DAC's output is updated when a comparator determines to add or to subtract a discrete value.
The digital register 110 outputs the N-bit digital symbol. The digital register 110 combines the logical signals generated by the comparators 103-104 with their corresponding weights to determine the N-bit converted digital signal according to Equation (1).
The partial loop-unrolling SAR ADC 100 achieves a power efficient digital conversion of analog signals while maintaining a high conversion speed, a low area occupation, as well as optimized noise performance and error tolerance. Because dedicated comparators are used for making determinations for the MSBs, these comparators do not need to be reset during the conversion. This is beneficial for the conversion speed. In addition, the noise and power consumption of the comparators used in the loop-unrolling cycles can be optimized for every cycle of comparison, for example based on the amount of redundancy available at that cycle. Furthermore, because one comparator is reused in all SAR cycles to make determinations for LSBs that are more subject to comparator noises, the comparator noise can be optimized such that it is negligible compared to quantization noise.
In one embodiment, the ADC 100 outputs a 7-bit digital signal and the full-scale (FS) is 64. The ADC 100 employs 8 cycles to digitize an analog sample according to Equation (5):
VADC=(b1·34+b2·18+b3·10+b4·5)+(b5·4+b6·2+b7·1+b8·0.5) (5).
In this particular embodiment, 4 cycles are loop-unrolled cycles where dedicated comparators determine the logical signals b1-b4, and 4 cycles are SAR cycles where one comparator determines the logical signals b5-b8. Other combinations of weights are also possible.
In the illustrated example, the ADC 100 samples the incoming analog signal at rising edges of the clock signal. The ADC 100 can also sample the incoming analog signal at falling edges of the clock signal or at both rising and falling edges of the clock signal.
The capacitances of the capacitors C1-C7 of the capacitive array 202a-g are scaled in a non-binary way and the sum of the capacitances C1-C7 is the total capacitance of the DAC. The capacitances can be based on Metal-Oxide-Metal (MOM) structures.
The capacitive array 202 uses a bottom-plate sampling scheme. The bottom-plates of the capacitors 212a through 212g are coupled together and are coupled to the ground via the switch 208. The bottom-plates of the capacitors 213a through 213g are coupled together and are coupled to the ground via the switch 209. The switches 208-209 are controlled according to the clock signal T. In the illustrated example, the signal start_conv that is the inverse of the clock signal T is provided to the comparator 103a to trigger the comparator 103a to make a comparison. In the tracking phase, the ADC 200 tracks the analog signal, and in the conversion phase, the ADC 200 samples and converts the analog signal.
In the tracking phase (i.e. the signal start_conv is low and the clock signal T is high), the switches 208-209 are on. The switches 216a-g are on to provide the analog signal Vin to the top-plates of the capacitors 212a-g. The switches 217a-g are on to provide the analog signal −Vin to the top-plates of the capacitors 213a-g. The switches 214a-g, 215a-g coupling the top plates of the capacitors 212a-g, 213a-g to the positive reference voltage VR and the switches 218a-g, and 219a-g coupling the top plates of the capacitors 212a-g, 213a-g to the negative reference voltage −VR are off.
At the end of the tracking phase (i.e. the signal start_conv transitions from low to high and the clock signal T transitions from high to low), the switches 208-209, the switches 216a-g, and the switches 217a-g are switched off to sample the analog signal Vin. The switches 214a-g, 215a-g 218a-g, and 219a-g are operated in such a way that the capacitors 212a-g, 213a-g are connected in a balanced way to the reference voltages VR and −VR. The difference between the signals provided to the terminals of the comparators 103a through 104 is the opposite of the analog value to be converted.
During the conversion phase (i.e. signal start_conv high), the capacitors 212a-g and 213a-g are progressively connected to the reference voltage VR or −VR according to the comparators decisions that have been determined. The remaining analog value to be converted (i.e., the difference between the input signal and the DAC output signal) is provided to each comparator. The DAC 200 applies the SAR algorithm to approximate the digital conversion to the analog signal by reducing this difference voltage to substantially zero. The error between the analog value and the converted digital value is the quantization error.
Compared to the ADC 200 illustrated in
Compared to the ADC 200, the input analog signals are substantially not attenuated by parasitic capacitance of the comparators that is between the input of the comparators and the ground when being converted by the ADC 250. As a result, the ADC 250 has an improved power consumption and area occupation compared to the ADC 200. The parasitic capacitance is the sum of the parasitic capacitance between the bottom-plates of the capacitors 212a-g, 213a-g and the input parasitic capacitance of the comparators. The attenuation of the reference voltages can be resolved by increasing the reference voltage value.
Calibration of Offset Voltages
Mismatches in offset voltages of the comparators (hereinafter also referred to as “offset mismatches”) may cause dead zones in ADCs and subject ADCs to conversion errors which compromise the overall ADC performance. For example, offset mismatches may cause an increase in distortion components and noise floor. As further described below, the offset voltages of the comparators are calibrated to substantially minimize the quantization error.
The calibration module 302 determines voltage offsets that result in dead zones and redundant comparisons. To determine the voltage offset for a comparator 103i, the calibration module 302 adjusts the offset voltage provided to the comparator 103i until the outputs of the comparators 103i-103m and 104 do not include predetermined patterns that correspond to dead zones. The calibration module 302 records the amount of voltage offset provided to the comparator. This amount is the amount of the voltage offset to be compensated. In various embodiments, the calibration module 302 determines the amount of voltage offset that results in dead zones before determining the residual amount of voltage offset that can be measured by analyzing SAR redundant comparisons. The total amount of offset voltage to be compensated is the sum of both amounts.
To determine the amount of offset voltage that causes a dead zone in the ADC 300, the calibration module 302 injects an offset voltage to a comparator 103i. This amount of offset voltage Vosi exceeds the redundancy range (−εtoli, εtoli) that is available at a conversion step i. The redundancy range can be determined according to Equation (10). As a result, a dead zone appears in the input-output characteristic of the ADC 300. The calibration module 302 sets the offset voltage for all comparators 103i-104 to zero. The calibration module 302 adjusts the offset voltage until the comparators' outputs do not include dead zone patterns. For example, the calibration module 302 injects an offset voltage to a comparator 103i, and observes the output of the comparators 103k-104. A dead zone pattern appears when the subsequent comparators 103k-104 have outputs with opposite sign with respect to the output of the comparator 103i as shown in Equations (6)-(7).
bi=+1 and bk=−1 for ∀k>i (6)
bi=−1 and bk=+1 for ∀k>i (7).
If a dead zone pattern as indicated in Equations (6)-(7) appears, the calibration module 302 determines that the amount of offset voltage to be compensated for the comparator 103i has the same sign as the output of the comparator 103i. A small increase/decrease in the compensation offset is applied to the comparator 103i. At the steady state, this amount of offset voltage compensation prevents the dead zone of the comparator 103i. The calibration module 302 determines the amounts of offset voltage compensation to remove dead zones for all comparators 1031-m. If all the comparators' 1031-m dead zone is compensated, the offsets of the comparators 1031-m do not contribute to conversion errors of the ADC 300.
For each comparator 103i, the calibration module 302 determines whether there is any residual voltage offset mismatch between the comparator 103i and 103j. The residual offset can be measured by identifying redundant comparisons in subsequent comparators. The calibration module 302 may apply a full-scale signal to the input of the ADC 300. For each comparator 103i, the calibration module 302 identifies whether there is any subsequent comparator 103j that has the opposite output with respect to the comparator 103i and whether the weighted sum of all the intermediate comparators' outputs is opposite to the weighted output of the comparator 103i as shown in Equations (8)-(9):
If the comparator 103j exists, the calibration module 302 adjusts the offset voltage provided to the comparator 103i until the above two sequences according to equations (8)-(9) have the same occurrence rate. For example, for every comparator 103i, the calibration module 302 decreases (or increases) the offset voltage if the occurrence rate of the outputs of the comparators as shown in equation (8) is larger than (or less than) the occurrence rate the outputs of the comparators as shown in equation (9). The calibration module 302 determines this amount of offset voltage is to be compensated for the comparator. This amount of offset voltage is the offset mismatch between the comparators 103i and 103j. This is because if the difference (Vin−Vdac,i) is small during a comparison i, the ADC 300 converts the same difference (Vin−Vdac,i) in one of the subsequent conversion step j. For every redundant cycle i, the sum of DAC weights wn (n>i) added or subtracted in the following cycles is greater than wi and the difference between these two terms defines the available redundancy range εtoli as shown in Equation (10):
In the redundant comparison case, if the comparator 103i is affected by an offset error Vosi that is different from the one which affects the comparator 103j Vosj, the two decisions bi and bj are different. The calibration module 302 makes the determination for all comparators 1031-m. If the offset voltage mismatches between the comparators' 1031-m is compensated, the offsets of the comparators 1031-m do not subject the comparators to other errors. As such, the ADC's redundancy range can absorb errors (e.g. noise, reference voltage ripple, etc.) from other sources.
The calibration can be performed in the foreground or in the background. During foreground calibrations, the calibration module 302 applies a dedicated calibration signal to the input of the ADC. For example, an arbitrary analog signal that may improve convergence speed of the calibration is applied to the input of the ADC. The foreground calibration may be performed during the startup of the ADC. During background calibrations, the calibration module 302 uses signals applied to the ADC. The calibration module 302 may apply foreground calibration to track the comparators' offsets drifting during time slots when no signal is applied to the ADC in the application. The calibration can be performed without using any dedicated clock cycles or resetting any comparator at the end of the conversion and thus does not compromise the conversion speed and power consumption of the ADC.
Upon reading this disclosure, those of skill in the art will appreciate still additional alternative designs. Thus, while particular embodiments and applications of the present disclosure have been illustrated and described, it is to be understood that the embodiments are not limited to the precise construction and components disclosed herein and that various modifications, changes and variations which will be apparent to those skilled in the art may be made in the arrangement, operation and details of the method and apparatus of the present disclosure disclosed herein without departing from the spirit and scope of the disclosure as defined in the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
4894656 | Hwang | Jan 1990 | A |