An electronic device uses a main supply MAIN_IN = 5 V and backup battery BACKUP_IN = 4.2 V to power R_LOAD = 1 kΩ.
Design a circuit using two diodes and one capacitor so that:
Select one capacitor from:
22 µF, 47 µF, 100 µF, 220 µF
Example test cases:
MAIN_IN | BACKUP_IN | Condition | Voltage Across R_LOAD |
|---|---|---|---|
| 5 V | 4.2 V | Normal operation | 4.2–5 V |
| 0 V | 4.2 V | Backup operation | 3.4–4.2 V |
| 0 V | 0 V | 10 ms after shutdown | ≥3 V |
| 0 V | 0 V | 100 ms after shutdown | ≤2 V |
For the hold-up test, start with the output settled on backup power.