Input Impedance

When a voltage level imposed on a pin is sampled, it is first captured by the Sample-and-Hold capacitor (CIN). This ensures that the voltage does not change while the ADC samples the signal.

Figure 1. Model of Internal Analog Input Circuit

The time it takes to charge or discharge CIN to a certain voltage level is limited by the input resistance (RIN). The following equation shows the proportional relation between the time constant τ and the input impedance.

τ=RIN×CIN

Refer to the Electrical Characteristics section in the data sheet for details on the input characteristics of the ADC.

The 12-bit resolution of the ADC (and optional gain) requires the impulse response of the input circuit settled to more than 99.9% of the final voltage to be certain the measurement will be correct. The following example calculations without gain and with 16x gain show how settled a signal needs to be for the ADC to sample correctly at 12-bit resolution.

VMSb=VREFVREF4096×Gain
VMSb%=(114096×Gain)×100%
VMSb%without gain=(114096×1)×100%=99.975%
VMSb%16x gain=(114096×16)×100%=99.998%

The impulse response for the input circuit is given by the following equation.

V(t)=VIN×(1et/τ)

Solving the two examples for VMSb where VIN is 100%, the following settling times are obtained.

twithout gain=8.29τ
t16x gain=10.81τ

The impedance of the external signal should also be taken into consideration when calculating the settling time, expanding the circuit into a more complex system as shown in the figure below.

Figure 2. Model of Analog Input Circuit with External Signal

The characteristics of the external impedance determine how complex the settling time calculation will be. However, this is not covered by this technical brief.