Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN2834 Datasheet(PDF) 23 Page - STMicroelectronics

Part # AN2834
Description  How to get the best ADC accuracy in STM32Fx Series and STM32L1 Series devices
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2834 Datasheet(HTML) 23 Page - STMicroelectronics

Back Button AN2834 Datasheet HTML 19Page - STMicroelectronics AN2834 Datasheet HTML 20Page - STMicroelectronics AN2834 Datasheet HTML 21Page - STMicroelectronics AN2834 Datasheet HTML 22Page - STMicroelectronics AN2834 Datasheet HTML 23Page - STMicroelectronics AN2834 Datasheet HTML 24Page - STMicroelectronics AN2834 Datasheet HTML 25Page - STMicroelectronics AN2834 Datasheet HTML 26Page - STMicroelectronics AN2834 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 45 page
background image
DocID15067 Rev 2
23/45
AN2834
How to get the best ADC accuracy
44
The solution is to add noise or some signal change (with uniform signal distribution e.g.
triangular sweep) to the input signal which pushes its level across 1-bit ADC level (so that
the signal level changes below 0x14A and above 0x14B level). This causes the ADC results
to vary. Applying software averaging to the different ADC results, produces the mean value
of the original input signal.
Example of implementation of this method is done by using a triangular generator with RC
coupling to the input signal (white noise generation is more complicated). Care must be
taken not to modify the mean value of the original input signal (so, capacitive coupling must
be used).
A very simple implementation of the quasi-triangular source which is generated directly by
the STM32x microcontroller is on Figure 22.
Figure 22. Simple quasi-triangular source using a microcontroller output
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 STM32x devices delivered in 100- and 144-pin packages, the ADC reference voltage is
connected to the external VREF+ and VREF- pins that should be tied to ground. 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 VREF+ = 2.5 V, possibly using a reference voltage like LM235 (see LM235 datasheet
for more details). Figure 23 illustrates these conditions.
C
R2
Vin
MCU
Ain
OUT
VDD
t
Vin
Uin
t
Uout
R1
ai170803



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com