A Successive Approximation Register (SAR) Analog-to-Digital Converter (ADC) is a widely used type of ADC that converts an analog signal into a digital value. The SAR ADC operates through a series of steps to successively approximate the digital representation of an analog input voltage. Here’s a detailed breakdown of how it works:
### 1. **Analog Input Sampling**
- **Input Signal**: The analog signal to be converted is fed into the ADC.
- **Sample and Hold Circuit**: To ensure the analog signal remains constant during the conversion process, a sample-and-hold circuit captures the analog input voltage and holds it steady.
### 2. **Initialization**
- **Reference Voltage**: The SAR ADC uses a reference voltage (V_ref) to define the range of the analog input. This reference voltage sets the full-scale range for the conversion process.
### 3. **Binary Search Process**
The conversion process is based on a binary search method, which is where the term "successive approximation" comes from. Here's how it works step-by-step:
1. **Digital-to-Analog Converter (DAC) Setup**: The SAR ADC has an internal DAC that generates a voltage corresponding to the current approximation of the digital value.
2. **Most Significant Bit (MSB) Approximation**:
- The SAR ADC starts by approximating the most significant bit (MSB) of the digital value. It sets the MSB to 1 and all other bits to 0. The DAC then outputs a voltage corresponding to this approximation.
3. **Comparison**:
- The output of the DAC is compared with the held analog input voltage using a comparator.
- If the DAC output is less than the input voltage, the comparator outputs a signal indicating that the current approximation is too low.
4. **Bit Decision**:
- Based on the comparison result, the SAR ADC decides whether to keep or discard the current MSB approximation. If the DAC output is too low, the bit is kept as 1; otherwise, it's set to 0.
5. **Next Bit Approximation**:
- The SAR then proceeds to the next bit in the sequence, typically the next most significant bit. It sets this bit to 1 and all bits lower than it to 0, while keeping the higher bits from the previous step.
- The DAC generates a new output voltage based on this updated approximation.
6. **Repeat Comparison**:
- The new DAC output is compared with the analog input voltage. The SAR ADC determines whether the new bit should be set to 1 or 0 based on the comparison result.
7. **Continue Until Least Significant Bit (LSB)**:
- This process continues until all bits of the digital value have been approximated. The SAR ADC iterates through each bit from the MSB to the LSB.
### 4. **Final Digital Output**
- **Digital Value**: After all bits have been approximated, the SAR ADC produces the final digital output that represents the analog input voltage.
### Summary
In essence, a SAR ADC works by making a series of binary decisions, starting with the most significant bit and working down to the least significant bit. At each step, it compares a DAC-generated voltage to the analog input voltage and decides whether to set the current bit to 1 or 0. This process quickly narrows down the possible digital values until the final digital representation of the analog input is determined. SAR ADCs are valued for their accuracy, speed, and relatively simple design compared to other types of ADCs.