Design of a 250MSPS 4-bit Flash ADC
ADC Simulated Summary
Sample and Hold Design
Since the Vlsb = (2.5V – 1.25V) / 2^4 = 78.1mV, the required input capacitance based on the quantization noise power is 9.7aF (for operation up to 85C). This calculations is given by: C>=12kT*2^N/VFS^2, where N=4bits, full scale voltage is 1.25V, and the temperature is 85C. This means that even for a very small capacitor the quantization noise of the converter will dominate over the thermal noise of the sample and hold circuit. So there is basically no lower bound on the sampling capacitor size. The upper bound on the sampling capacitor is set by the bandwidth of the input signals which dictates the required settling time. For an ADC sampling frequency of 250MSPS, the input signals are band-limited to the Nyquist frequency, 125MHz. It is desired to have the sample and hold circuit settle to within 1LSB of its final value in half the sampling period; half the sampling period is 2ns. The worst case settling time will be for a full scale step from 1.25V to 2.5V. The final value will be reached in 2.774 time-constants because –1250mV*e^-x = -78mV gives x = 2.774, which is the ratio of time to RC time constants. Setting time = 2ns, the RC time constant must be less than 721ps. Example values for R and C are given below:
A CMOS switch was chosen because it helps mitigate the effect of charge injection when the switch changes from closed mode to open mode. With just a PMOS device as the switch, the hold pedestal moves by 8.8mV when the switch opens, shown in Figure 4. In Figure 5, the CMOS switch is used for the same setup and the hold pedestal is reduced to 1.86mV. In Figure 6 and Figure 7, the effect of connecting the SAH to the clocked comparators is evident. Without the clocked comparator as a load the sample and hold output is ideal. When the clocked comparator is connected, the act of clocking the comparator disrupts the sampled voltage at the input to the comparator. If the disruption is constant for every sample, it will appear as an offset and gain error. A buffer inserted between the SAH and the comparator is another option as well, but it was omitted for the sake of speed in the design and simplicity.
It is desired to clock the comparator when the SAH is fully settled and holding a constant voltage. The comparator has setup and hold requirements, which means the voltage at the instant the clock edge transitions from LO to HI must be persistent at the input for the setup time and must remain persistent after the transition for the hold time. I did not simulate the setup and hold times of the comparator, but a complete design would include this sort of analysis. To allow the SAH to settle before the comparator is clocked, the SAH clock and comparator clocks have the phase relationship in Figure 9. The clock rise and fall times were kept below 500ps for the SAH and comparators by making scaling the buffers with a ratio of 3x for subsequent buffers.
ADC Design and Results
The ADC top schematic is shown in Figure 10, and the testbench is in Figure 11. I increased the sampling capacitor from 1pF to 3pF and reduced the sampling switch resistance by changing the FET multiplier factors from 1 to 3 to get better dynamic performance from the ADC. I suspect the comparators’ disturbance of the SAH was too sever with 1pF, and using 3pF mitigated that disturbance. After making that update, an ENOB of 3.9b was achieved for input full scale sinusoids of 2MHz and 12.5MHz, shown in Figure 13 and Figure 14.
This ADC was designed assuming a stable reference voltage was available; in the future this voltage reference would have to be designed. Furthermore, the resistors in the Kelvin divider used to generate the reference voltage trip points are on the order of 5ohms, which for a voltage drop of 1V and 15 resistors will give current consumption on the order of 13mA, which might be able to reduced. Power consumption was not simulated either in this design, and that would be a must for the next iteration.
Figure 1. Same and hold test setup - used to determine switch width (back)
Figure 2. Switch resistance over FET width
Figure 4. Sample and hold output with just 1 PMOS switch
Figure 6. Sample and hold of input sine, with no load on capacitor (open circuit)
Figure 8. Clock timing buffers
Figure 10. ADC top schematic - flash architecture (back)
Figure 11. Flash ADC testbench - source is ramp for INL and DNL test (back)
Figure 12. Initial ADC simulation result for input ramp - all codes appear -> function OK
Figure 13. Output spectrum for 2MHz input, full scale
Figure 15. Output spectrum for 12.5MHz input, full scale
Figure 17. Time-domain output for 125MHz input sinusoid --> ADC is functional at this speed.
Figure 18. INL and DNL simulated by applying a ramp with N=100 samples per step from Vmin to Vmax