To delve into the workings of a dual-slope ADC, it essentially measures an input voltage by integrating it over a fixed period and then de-integrating it with a reference voltage. The process involves two main phases:
1. **Integration Phase**: The input voltage is integrated (accumulated) over a specific time interval, creating a ramp-up of the voltage across a capacitor.
2. **De-integration Phase**: After the integration period, the capacitor is then de-integrated using a reference voltage of opposite polarity until the capacitor's voltage returns to zero. The time required to reach zero is proportional to the input voltage.
The ultimate result, which is the time duration of the de-integration phase, is then converted into a digital value, representing the input voltage.