Analog-to-digital converters (“ADC” or “A/D”) are used in a variety of applications in order to convert a detected analog signal into a digital signal. There are a variety of ADC architectures, such as pipelined, flash, Sigma-Delta, successive approximation register (“SAR”), etc.
For example, a flash ADC uses a linear voltage ladder with a comparator at each “rung” of the ladder to compare the input voltage to successive reference voltages. The reference ladders are constructed of a resistor network, and the outputs from the comparators provide the digital value. Thus, to do an N-bit conversion, a flash ADC requires 2̂N comparators, which can result in an ADC that is too big and consumes too much power for some applications.
Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
Further, spatially relative terms, such as “beneath,” “below,” “lower,” “above,” “upper” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The apparatus may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.
Analog-to-digital converters (“ADC” or “A/D”) convert an analog signal into a digital signal. Typical ADC arrangements, such as pipelined, flash, Sigma-Delta, successive approximation register (“SAR”), etc. are too slow for certain applications, and can use too much silicon area, consume too much power, and thus can be too expensive. A flash ADC uses a resistive linear voltage ladder with a comparator at each “rung” of the ladder. The comparators are configured to compare the input voltage to a plurality of successive reference voltages. Thus, to do an N-bit conversion, a flash ADC requires 2̂N comparators, resulting in a large and power-hungry device. For example, known ADC arrangements can consume about 200 mW and take up about 0.5 mm2 of chip space, which is too big for certain applications.
Many applications require converting a fast-varying analog signal to digital. For instance, certain radio frequency communications, radar, fast serial I/O, applications require fast, efficient and small ADC arrangements.
In accordance with examples disclosed herein, an ADC system samples an analog input using an energy storage device such as a capacitive element. A constant current source discharges the capacitive element. The higher the voltage level the capacitive element is charged to, the longer it takes to discharge—the discharge time is proportional to the input voltage level. Thus, measuring the discharge time and converting the measured time into digital counts results in a digital representation of the input voltage level.
A timer 20 also receives the START signal 14, and further receives the STOP signal 18 from the analog sampler 10. The timer 20 determines an elapsed time between receiving the START signal 14 and the STOP signal 18. In other words, the timer determines the time required for the energy storage device of the analog sampler 10 to discharge to the predetermined reference level. The timer 20 outputs a digital value 16 representing the analog input voltage Vin based on the determined elapsed time.
Thus, in the illustrated example, when the START signal 14 is low, the capacitive element 110 is charged to the Vin level. When the START signal 14 is high, the capacitive element 110 is discharged by the current source 114 at a constant rate. When the capacitive element 110 reaches or goes below the reference voltage Vref, the output of the comparator 116, or the STOP signal 18, goes high. The time elapsed between the START 14 and STOP signals going high reflects the analog input voltage Vin.
In some embodiments, the comparator 116 is implemented by a simple CMOS inverter structure with a known load threshold, rather than a traditional comparator with differential input pairs and associated circuitry. This makes the resulting ADC even smaller, further saving chip space.
In the illustrated example, when the START signal 14 is high, the oscillator 130 produces a clock signal 140. In some embodiments, the oscillator 130 outputs a clock signal 140 having a frequency in the range of tens of GHz, for example 50 GHz. As noted above, the illustrated oscillator 130 outputs the clock signal 140 when the received START signal 14 is high, and is held when the START signal 14 is low. Thus, the oscillator 130 operates in response to the received START signal 14, which conserves power. In other implementations, the oscillator 130 operates continuously.
The counter 132 receives the clock signal 140 from the oscillator 130. Each clock pulse output by the oscillator 130 increments the counter 132, which thus determines the elapsed time until receipt of the STOP signal 18 output by the voltage sampler 10 and outputs a count value 136 to the latch 134. In response to the STOP signal 18, the latch 134 latches the output from the counter 132, and outputs a digital representation 138 of the analog input voltage Vin.
In the illustrated example, when the START signal 14 is low, a first switch 142 turns on and the oscillator 130 is held, as noted above. In response to the START signal 14 going high, a second switch 144 turns on and the first switch 142 turns off, and the oscillator 130 runs to provide the clock signal output 140.
The chain of inverters 160 receives one bit of the clock signal 140, and are connected to one input 162 of a NAND gate 170. The other input 164 of the NAND gate 170 is directly connected to the bit of the clock output 140, and the output of the NAND gate is received by an inverter 172 that provides a counter output pulse 174.
Examples of the latch 134 use dynamic “T” (toggle) flip-flops, which in
The output state is held dynamically by parasitic capacitance, thus for a relatively short time. Since the counter operates at a high frequency, the output 136 state is not required to be held for a long duration. Thus, each bit of the ADC output 138 is implemented in a simple and transistor-efficient manner.
The analog-to-digital conversion speed can be further increased by time-interleaving a plurality of the ADCs disclosed herein. In other words, the analog input voltage is distributed and sampled among a plurality of ADCs operating in parallel. Thus, for a number N of ADCs connected in parallel with the analog input voltage distributed to the N ADCs and offset by one period divided by the number of ADCs N, the resulting analog-to digital conversion rate is the clock frequency for the individual ADC times the number of interleaved ADCs. Each ADC samples the analog voltage during a respective cycle of clock. Thus, the sample rate is greatly increased as compared to the individual ADCs.
Discrepancies among the individual ADCs, such as offset and/or gain errors, can result in noise that degrades the overall performance of the interleaved ADCs. Examples ADC systems disclosed herein include procedures for calibrating factors such gain and offset to avoid such noise when operating the interleaved ADC system 200. In general, a method for calibrating an ADC such as the ADC 100 disclosed herein includes applying a known analog input voltage to an input terminal of the ADC. The corresponding digital value output by the ADC is determined, and a difference between the known analog input voltage and the corresponding output digital value is determined. Referring to
In some example processes, the offset is first adjusted, then the gain is adjusted.
In some embodiments, the ADC gain is adjusted next.
Accordingly, the various embodiments disclosed herein provide a compact, fast, and low power ADC system. For example, one ADC implementation employs 64 interleaved ADCs 100 running at 337.5 mega-samples per second (MS/s), resulting in 28 giga-samples per second (GS/s).
Thus, disclosed embodiments include an ADC that includes an analog voltage input terminal and a start terminal. An analog voltage sampler has an energy storage device, such as a capacitive element, connected to the input terminal. The analog voltage sampler is configured to charge based on an analog input voltage received at the analog voltage input terminal, and to discharge in response to a START signal received at the start terminal. The analog voltage sampler is further configured to output a STOP signal in response to the energy storage device discharging to a predetermined reference level. A timer is configured to receive the START signal and the STOP signal, to determine an elapsed time between receiving the START signal and the STOP signal, and to output a digital value representing the analog input voltage based on the determined elapsed time.
In accordance with further disclosed embodiments, an analog-to-digital conversion method includes receiving an analog input voltage, and charging an energy storage device by the analog input voltage. The energy storage device is then discharged, and a discharge time required for the energy storage device to discharge is determined. The determined discharge time is converted to a digital value, which is output to provide a digital representation of the analog input voltage.
In accordance with still further disclosed embodiments, a method of calibrating an ADC includes applying a known analog input voltage to an input terminal of an ADC. The ADC includes an analog voltage sampler having a capacitive element connected to receive the input analog input voltage and charge based thereon. A current source selectively discharges the capacitive element, such as in response to receiving a START signal. A timer is configured to determine a discharge time for the capacitive element to discharge to a predetermined voltage level, and output a digital value representing the analog input voltage based on the determined discharge time. The calibration method further includes determining the digital value output by the ADC, and determining a relationship between the known analog input voltage and the output digital value. In response to the determined relationship, at least one of the predetermined reference value and the current source are adjusted.
The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure.