23/02/2023, hardwarebee
Successive Approximation is one of the most widely used methods of digitizing an analog signal. The majority of successive approximation ADCs have an n-bit resolution and a maximum sampling rate of 5 MBPS.
Successive Approximation DAC has more complex circuitry than digital ramp ADC but results in faster conversions. This method is quite popular; it uses the binary search algorithm for the conversion process. It generates a sequence of approximations through all possible quantization levels. It assumes a trial digital number. It then converts the assumed digital number back into analog form (an internal DAC is there to convert a digital signal to an analog signal, VDAC). The comparator then compares the resulting analog signal VDAC with the input signal Vin.
The block diagram below consists of 4 major blocks:
An analog signal is the input of an analog-to-digital converter (obviously). And the output is a digital signal. An analog signal is a continuous signal with infinite values. Whereas digital signals are not continuous and discrete. They have some finite levels, usually two or more levels. In most cases, digital signals are in binary format. It has either low or high levels (either 1 or 0).
The first block in the block diagram is the sample-and-hold circuit. It creates samples of an input signal and holds these samples at a constant level for a definite period of time. The value remains unchanged until the next sample arrives. They are particularly used in ADC to produce a discrete signal. Modern ADC chips frequently have a sample and hold circuit of their own. This discrete signal will then appear at the comparator input.
A comparator is an electronic circuit that compares two analog signals. In this ADC, the first input is the input signal, and the second signal is the output from the DAC. The comparator determines whether the feedback voltage is larger than the input signal, and depending as before on the result of the comparison, this bit is either allowed to remain or is cleared.
In each clock cycle, the comparator compares the two signals. The comparator compares Vin with VDAC.
Vin Versus VDAC
Vin > VDAC: Comparator output goes low. The bit in the SAR goes low as well.
Vin < VDAC: Comparator output goes high. The SAR keeps that bit high.
The output of the comparator is connected to the SAR. In this way, the DAC output voltage approaches the input voltage gradually. The comparator differential output also approaches zero.
It is a register that contains a digital representation of the analog voltage stored in the SAR. On the first clock cycle after receiving the conversion instruction, it starts with all zeros in SAR.
Let’s suppose an n-bit binary number. The approximation starts from the nth bit or MSB.
This register’s contents change bit by bit, beginning with MSB (the nth bit) and ending with LSB (n = 0).
Every clock cycle modifies the register’s content. The output of the SAR is fed to the DAC.
The conversion procedure is complete when the value of this register matches the analog input voltage.

An internal DAC is used to generate approximations of the input voltage. It produces an internal analog output voltage that is equivalent to the output of SAR (the output of the SAR is in digital format). This signal will appear at the negative terminal of the comparator, as shown in the block diagram.
The basic working principle is better understood with the help of an example and a flowchart.
Suppose a five-bit SAR ADC. An analog voltage signal of 19 volts is applied at the input.
Vin = 19V
The operation starts by clearing all the bits in SAR. Let’s suppose Q is the output, since it is a 5-bit ADC, the output will have five bits from Q0 to Q4. Initially, the contents in successive approximation register (SAR) are given below:
Q = [00000]
VDAC = 0V
Vin > VDAC
Vcomp = high
The comparator output is connected to SAR. As the comparator output goes high, the device sets the SAR’s most significant bit to one while leaving the other bits at zero.
The outputs of the circuits during this clock cycle are given below.
Q = [10000]
VDAC = 16V
Vin < VDAC
Vcomp = low
Keep in mind that the output from DAC is the equivalent of the contents in SAR. The figure below shows the contents of the SAR register during the first clock cycle.
Again, the same procedure will be followed. This time the n-1 bit (that is, the 4th bit) is set to 1, while all other bits remain unchanged.
Q = [11000]
VDAC = 24V
Vin < VDAC
Vcomp = low
The figure below shows the contents of the SAR register during the second clock cycle.
And
In this clock cycle, the output of the comparator goes low. The n-1 bit is set to a low value.
In this clock cycle, the n-2 bit (that is, the 3rd bit) is set. while the value of the previous n-1 bit is 0. The value of SAR in the second clock cycle was Q = [11000] = 24V.
The value of the SAR register during the third clock cycle is given below.
Q = [10100]
VDAC = 20V
Vin < VDAC
Vcomp = low
The figure below shows the contents of the SAR register during the third clock cycle.
But this value (Q = 10100 or VDAC = 20) is greater than the input voltage.
The approximation is wrong. The output of the comparator goes low.
In this clock cycle, the n-3 bit (the second bit) is set. while the value of the previous n-2 bit is 0. The value of SAR in the third clock cycle was Q = [10100] = 20 V. But this value is greater than the input voltage. Again,n the approximation is wrong. The n-2 bit goes low while the n-3 bit goes high.
Q = [10010]
VDAC = 18V
Vin < VDAC
Vcomp = high
The figure below shows the contents of the SAR register during the fourth clock cycle.
In this clock cycle, the n-4 or LSB bit is set. while the other bits remain unchanged. The value of SAR in the fourth clock cycle was Q = [10010] = 18V. But this value is less than the input voltage. The comparator output goes high. The least significant bit goes high.
Q = [10011]
VDAC = 19V
End of conversion
The figure below shows the contents of the SAR register during the fifth clock cycle.
At the end of the conversion, the input of the DAC is equal to the output of the DAC.
There are several important parameters for determining the precision of an ADC:
The sampling rate of the ADC should be at least double the frequency of the input signal.
It is suitable for applications where sampling is 10 MSPS.
An analog signal is a continuous signal, whereas a digital signal is represented by discrete values (discrete in time and amplitude). Quantization error is the difference between an actual analog value and its digital reconstruction. As the number of bits increases, the quantization error reduces.
The resolution of these types of ADCs is quite high. It ranges from 8 bits to 16 bits. An n-bit ADC has 2n different voltage levels. For example, a 4-bit ADC has 16 different voltage levels. So, as the number of ADC bits increases, resolution increases. Higher resolution results in improved signal quality.
It is the time taken by an ADC to completely digitize an incoming analog signal. For higher-speed conversions, a lower conversion time is required.
In this type of analog-to-digital converter, the conversion time is independent of the input signal. The processing of one bit requires one clock cycle. For an n-bit converter, n-clock cycles are required. So, there is a general formula for conversion time.
TC= n*Tclock
Where,
TC = Conversion time
Tclock = Time taken by the clock signal
As discussed above, the conversion time is given by:
TC= n*Tclock
There should be “nT” time required to complete a single conversion. The next input sample should be taken after nT clock pulses.
Successive approximation ADCs are commonly used in applications where precision and accuracy are critical, such as in medical equipment, scientific instruments, and industrial automation systems. Some specific applications of successive approximation ADCs include: