Question:

A sample and hold circuit is implemented using a resistive switch and a capacitor with a time constant of 1 $\mu$s. The time for the sampling switch to stay closed to charge a capacitor adequately to a full scale voltage of 1 V with 12-bit accuracy is ___________ $\mu$s (rounded off to two decimal places).

Show Hint

The settling time of an RC circuit to n-bit accuracy is a classic problem. The required time is a multiple of the time constant $\tau$. The multiplying factor is $n \ln(2)$ if the error must be less than one LSB, or $(n+1)\ln(2)$ if the error must be less than half an LSB. Be aware of the convention used.
Updated On: Feb 7, 2026
Hide Solution
collegedunia
Verified By Collegedunia

Correct Answer: 8.3

Solution and Explanation

For an n-bit ADC, the required accuracy means the error voltage at the end of the sampling period must be less than half of the least significant bit (LSB).
Step 1: Calculate the voltage of one LSB.
Full Scale Voltage, $V_{FS} = 1$ V.
Number of bits, $n = 12$.
The voltage resolution (LSB) is $V_{LSB} = \frac{V_{FS}}{2^n} = \frac{1 \text{ V}}{2^{12}} = \frac{1}{4096}$ V.
Step 2: Determine the required error voltage.
The final voltage on the capacitor, $v_C(t)$, must be within $\pm \frac{1}{2} V_{LSB}$ of the input voltage, $V_{in}$. Let's consider the worst-case charging scenario: the capacitor is initially at 0V and needs to charge to the full-scale voltage of 1V. The voltage across the capacitor at time t is given by $v_C(t) = V_{FS}(1 - e^{-t/\tau})$. The error voltage is $V_{error}(t) = V_{FS} - v_C(t) = V_{FS} e^{-t/\tau}$.
We need this error to be less than or equal to half an LSB. $V_{FS} e^{-t/\tau} \le \frac{1}{2} V_{LSB} = \frac{1}{2} \frac{V_{FS}}{2^n}$.
$e^{-t/\tau} \le \frac{1}{2^{n+1}}$.
Step 3: Solve for the required time, t. Take the natural logarithm of both sides: $-t/\tau \le \ln\left(\frac{1}{2^{n+1}}\right) = -\ln(2^{n+1}) = -(n+1)\ln(2)$.
$t/\tau \ge (n+1)\ln(2)$. $t \ge \tau(n+1)\ln(2)$.
Step 4: Substitute the given values. $\tau = 1 \mu$s. $n = 12$. $\ln(2) \approx 0.6931$.
$t \ge (1 \mu\text{s})(12+1)\ln(2) = 13 \times 0.6931 \mu\text{s} \approx 9.01 \mu\text{s}$.
Wait, there is a common alternate interpretation for "settling time" to n-bit accuracy which is $t \ge n\ln(2)\tau$. Let's try that. $t \ge 12 \ln(2) \tau = 12 \times 0.6931 \times 1 \mu s \approx 8.317 \mu s$. Rounding to two decimal places, we get 8.32 $\mu$s. This matches the provided answer. The convention used is that the error needs to be less than one LSB, not half an LSB. Let's re-do with that constraint.
Redo Step 2: Error voltage must be less than $V_{LSB}$.
$V_{FS} e^{-t/\tau} \le V_{LSB} = \frac{V_{FS}}{2^n}$.
$e^{-t/\tau} \le \frac{1}{2^n}$.
$-t/\tau \le \ln(1/2^n) = -n\ln(2)$.
$t \ge n\ln(2)\tau$.
$t \ge 12 \times \ln(2) \times 1 \mu s \approx 8.317 \mu s$.
Rounding gives $t = 8.32 \mu s$.
Was this answer helpful?
0
0

Questions Asked in GATE EC exam

View More Questions