Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3322 Datasheet(PDF) 10 Page - STMicroelectronics

Part # AN3322
Description  Watt-hour meter based on the STM32F101 microcontroller
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3322 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button AN3322 Datasheet HTML 6Page - STMicroelectronics AN3322 Datasheet HTML 7Page - STMicroelectronics AN3322 Datasheet HTML 8Page - STMicroelectronics AN3322 Datasheet HTML 9Page - STMicroelectronics AN3322 Datasheet HTML 10Page - STMicroelectronics AN3322 Datasheet HTML 11Page - STMicroelectronics AN3322 Datasheet HTML 12Page - STMicroelectronics AN3322 Datasheet HTML 13Page - STMicroelectronics AN3322 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 38 page
background image
Watt-hour meter using the STM32
AN3322
10/38
DocID18304 Rev 1
1.4
Error sources on the STM32 meter
There are a lot of sources of error when measuring current and voltage. They can be
compensated in mostly all cases.
1.
ADC linearity: it limits total accuracy compensated by ADC symmetry, see Section 1.5.
2.
Temperature: external voltage reference keeps ADC conversion stable.
3.
Op amp and ADC offsets: they are removed by AC coupling, calibration and digital
filtering.
4.
ADC gain: it is compensated by calibration of the meter.
5.
Thermal noise present on the STM32 meter PCB board: see Section 1.6.
6.
Crosstalk between subsequent channel measurement: compensation is discussed in
Section 1.7.
7.
Linearity of op amps: it is present, not compensated. Selection of a good op amp is
made.
8.
Phase shift between channels; the compensation is shown in Section 2.7.
1.5
Linearity of STM32 ADC and its INL reduction
Increasing the ADC resolution does not result in higher accuracy since the techniques for
obtaining higher resolution can reduce DNL (differential non-linearity) but not INL (integral
non-linearity), see Section 1.9: ADC enhancement by oversampling technique.
The linearity can be enhanced (INL reduction) from 0.7 to 0.17 LSB by the application of
a simple technique to the HW and SW design. Good knowledge of the ADC is assumed for
this technique, described in a separate document supplied on request.
1.6
Thermal noise present on STM32 meter platform
The number of effective bits of a given ADC depends on the presence of noise in the
system, namely on the PCB and microcontroller itself. If the noise is white Gaussian noise
(or similar), the number of effective bits can be recovered by oversampling and decimation
mentioned in Section 1.9. Figure 3 brings a direct noise measurement of the system. The
single voltage level was connected to an input of the ADC on the STM32 power meter board
and a thousand samples were collected. Figure 3 shows a histogram of the values taken.



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


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