Design a current measurement circuit with two selectable ranges:
Use the provided switch SW_RANGE to select the measurement range.
Design the circuit so that:
V_SENSE ≈ 200 mV at the maximum current of either range.Select resistors from:
0.1 Ω, 0.22 Ω, 0.47 Ω, 1 Ω, 2.2 Ω
Example test cases:
SW_RANGE | I_TEST | Expected V_SENSE |
|---|---|---|
| LOW (OFF) | 100 mA | ≈100 mV |
| LOW (OFF) | 200 mA | 196–204 mV |
| HIGH (ON) | 2 A | 196–204 mV |