| Electronic Components Datasheet Search |
|
AN3322 Datasheet(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3322 Datasheet(HTML) 20 Page - STMicroelectronics |
|
20 / 38 page ![]() 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 = |
|
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 |
| 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 |