Matching The Adc Dynamic Range To The Maximum Signal Amplitude; Figure 23. Selecting The Reference Voltage - ST STM32 Application Note

How to get the best adc accuracy in microcontrollers
Hide thumbs Also See for STM32:
Table of Contents

Advertisement

How to get the best ADC accuracy
3.2.5

Matching the ADC dynamic range to the maximum signal amplitude

This method improves accuracy by a proper selection of the reference voltage or by using a
preamplifier stage to obtain the maximum possible resolution using the full ADC output
range.
Selecting a reference voltage (method for devices delivered in 100-/144-pin
packages only)
The reference voltage is selected in the expected range of the signal to be measured. If the
measured signal has an offset, then the reference voltage should also have a similar offset.
If the measured signal has a defined maximum amplitude, then the reference voltage should
also have a similar maximum value. By matching this reference voltage to the measurement
signal range, we obtain the maximum possible resolution using the full ADC output range.
In STM32 microcontrollers delivered in 100- and 144-pin packages, the ADC reference
voltage is connected to the external V
This makes it possible to match the reference voltage and the measured signal range.
For example, if the measured signal varies between 0 V and 2.5 V, it is recommended to
choose a V
datasheet for more details).
Note:
The voltage on V
Using a preamplifier
If the measured signal is too small (in comparison with the ADC range), then an external
preamplifier can be useful. This method can be implemented whatever the STM32 package,
and more specifically in packages that do not have a V
For example, if the measured signal varies between 0 V to 1 V and V
signal can be amplified so that its peak-to-peak amplitude is similar to the V
gain is then equal to 3 (see
26/49
of 2.5 V, possibly using a reference voltage like LM235 (see LM235
REF+
Figure 23
may range between 2.4 V and V
REF+

Figure 23. Selecting the reference voltage

Figure 24
DocID15067 Rev 3
and V
pins that should be tied to ground.
REF+
REF-
illustrates these conditions.
.
DDA
REF+
for an example).
input.
is set to 3 V, the
DDA
value. The
DDA
AN2834

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32 and is the answer not in the manual?

Questions and answers

Table of Contents