R-10-R/
AI

The term **R-2R** (commonly referred to as an R-10-R or R-2R Ladder) refers to a specific configuration of resistors used to create a **Digital-to-Analog Converter (DAC)**. It is one of the most fundamental circuits in electronics for converting binary data into a proportional analog voltage.
---
## 1. The Core Components
The circuit is composed of only two values of precision resistors: **R** and **2R** (where one is exactly double the resistance of the other).
| Component | Description |
| :--- | :--- |
| **R (Resistor)** | The base resistance value (e.g., 10kΩ). |
| **2R (Resistor)** | Double the base value (e.g., 20kΩ). |
| **Digital Inputs** | Logic pins (High/Low) representing binary bits (LSB to MSB). |
| **Output Node** | The point where the summed analog voltage is measured. |
---
## 2. How the Ladder Works
The R-2R ladder works on the principle of **superposition** and **Thevenin equivalent circuits**. Each "rung" of the ladder divides the input voltage.
### The Binary Weighting
* **MSB (Most Significant Bit):** The input closest to the output. It has the greatest effect on the output voltage (Vref / 2).
* **LSB (Least Significant Bit):** The input furthest from the output. It has the smallest effect on the output voltage.
### Formula for Output Voltage
For an $n$-bit R-2R ladder:
$$V_{out} = V_{ref} \times \frac{D}{2^n}$$
*(Where D is the decimal value of the binary input)*
---
## 3. Advantages vs. Disadvantages
### Advantages
1. **Simplicity:** You only need two resistor values, making it easy to manufacture or build manually.
2. **Scalability:** You can add more bits by simply adding more R and 2R sections.
3. **Constant Impedance:** The output impedance is always **R**, regardless of the digital input.
### Disadvantages
1. **Precision Requirement:** If the 2R resistor isn't exactly twice R, the DAC becomes non-linear (missing codes).
2. **Component Count:** For high resolution (e.g., 16-bit), you need many resistors (32 resistors).
---
## 4. Simple 3-Bit Example
If $V_{ref}$ is 5V and we use a 3-bit ladder:
| Binary Input | Calculation | Output Voltage |
| :--- | :--- | :--- |
| `000` | $5 \times (0/8)$ | 0V |
| `100` | $5 \times (4/8)$ | 2.5V |
| `111` | $5 \times (7/8)$ | 4.375V |
---
## 5. Typical Schematic Structure
```text
Bit 2 (MSB) ----[ 2R ]----o---- Output
|
[ R ]
|
Bit 1 ----------[ 2R ]----o
|
[ R ]
|
Bit 0 (LSB) ----[ 2R ]----o
|
[ 2R ]
|
Ground
```
- ⤷
Why is the R-2R ladder preferred over a Weighted Resistor DAC?
- ⤷ What happens to the output if the resistor tolerances are high?
- ⤷ How do you buffer the output of an R-2R ladder for practical use?