Electronic Components Datasheet Search
  English  ▼

X  

AN3322 Datasheet(PDF) 17 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) 17 Page - STMicroelectronics

Back Button AN3322 Datasheet HTML 13Page - STMicroelectronics AN3322 Datasheet HTML 14Page - STMicroelectronics AN3322 Datasheet HTML 15Page - STMicroelectronics AN3322 Datasheet HTML 16Page - STMicroelectronics AN3322 Datasheet HTML 17Page - STMicroelectronics AN3322 Datasheet HTML 18Page - STMicroelectronics AN3322 Datasheet HTML 19Page - STMicroelectronics AN3322 Datasheet HTML 20Page - STMicroelectronics AN3322 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 38 page
background image
DocID18304 Rev 1
17/38
AN3322
Watt-hour meter using the STM32
1.10.1
RMS voltage
The voltage analog circuitry is described in detail in this section. Main phase voltage is
reduced by a voltage divider directly connected to the phase voltage. The voltage divider
consists of a parallel and serial connection of these components:
L1 + R1 + C1||C2 + 12 x R2 and R14
The output voltage from the voltage divider is given by the VOLTDIVIDER that is
computed from:
Equation 7
Rall = R1 + 12 x R2 + R14 = 100 R + 12 x 47 k + 1.5 k = 565.6 k
Equation 8
Voltage division is: VOLTDIVIDER =
[-]
VOLTDIVIDER constant means that the input voltage is divided by number 377.
Voltage represented in volts is computed by:
Equation 9
ULSB in LSB - actual output of ADC channel
UV in volts - output from METER
UV = CU x ULSB
The calibration constant for the voltage circuitry consists of:
Equation 10
CU = VOLTDIVIDER x LSB12-BIT x V_IMPRECISION
where LSB12-BIT is defined in Section 1.1: STM32 ADC parameters, V_IMPRECISION is
the imprecision and tolerance of the components used in analog circuitry, mainly resistors
and soldering.
Since we want the smallest value to be 1 µV, we must multiply everything by 1.000.000
additionally. This also helps to maintain the preservation of the precision.
In order to save the microcontroller computational power and to keep precision as high as
possible, it is beneficial to avoid division operation during all the computations during
a period and do it as the last step after every period computation.
According to Section 1.9: ADC enhancement by oversampling technique, during
oversampling, the sum of 18 samples from ADC results as the VSUM value representing
measured voltage with higher precision.
Computation of the voltage RMS value takes 44 VSUM values. They may only be squared,
then summed, and finally they can be divided by common decimation and RMS constant.
R14
Rall
---------
1,5k
565,6k
-----------------------
0,002652
==



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