Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button 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 AN3322 Datasheet HTML 22Page - STMicroelectronics AN3322 Datasheet HTML 23Page - STMicroelectronics AN3322 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 38 page
background image
Watt-hour meter using the STM32
AN3322
20/38
DocID18304 Rev 1
Even the CP is theoretically equal to (CI x CU); CP is set during the calibration process as
a constant between a supplied instant power PTheor and the instant power PW measured by
the STM32 power meter.
Equation 17
PTheor = CP x PW
The difference between CP given by the calibration process and (CI x CU) is given by the
phase shift that, even when carefully compensated, does still not have a negligible influence
on the computation of the power.
The instant power over one period of mains PW can be computed also from the energy E
taken over one period of mains equal to 20 ms:
Equation 18
Equation 19
where tS is the sampling period for u (t) and i (t).t is the period of mains equal to 20 ms. In
order to reach the desired precision in the pulse generation, PW and all the energy values
are computed in µW.
1.10.5
Energy
Energy is calculated as a product of current IIN, voltage UIN, time Ttimer and power
calibration constant CP (Ttimer - time in seconds).
Equation 20
EWh = CP x IIN x UIN x Ttimer
In order to save the microcontroller computational power, the previously computed instant
power PW can be used to get energy.
Equation 21
EWh = PW x Ttimer
Equation 22
Equation 23
E
ut
 it
 t
s
t
s
ut
 it

t
44
------
ut
 it


===
PW
E
t
--------
1
t
-----
t
44
------
ut
 it

1
44
------
ut
 it

==
=
E
fragment
1
44
------
ut
 it
 t
s
1
44
------
t
s
ut
 i
 t

1
44
------
t
44
------
ut
 it

==
=
=
1
44
------
t
44
------
ut
 it

=
E
fragment
1
44
------
tP
=



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