전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN3322 데이터시트(PDF) 21 Page - STMicroelectronics

부품명 AN3322
상세설명  Watt-hour meter based on the STM32F101 microcontroller
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3322 데이터시트(HTML) 21 Page - STMicroelectronics

Back Button 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 AN3322 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 38 page
background image
DocID18304 Rev 1
21/38
AN3322
Watt-hour meter using the STM32
To keep energy resolution up to 1 mW, we need power to be specified by 25 bits or more. In
order to reach desired precision in the pulse generation, Efragment and all the energy values
are computed in µWs.
1.10.6
Pulse output
In order to reduce jitter when generating the pulse output signal, the following algorithm is
used:
The energy is computed once per period of mains (i.e. every 0.02 s) EWh
The energy computed is divided by 44. EfragmentWh = EWh / 44
This fragment is added to the accumulator every time the ADC is triggered (44 times
per one period of mains) that is equal to 2.2 kHz
Whenever the accumulator surpasses a certain level, ETHR, impulse threshold, the
pulse LED is toggled and the ETHR is distracted from the accumulator
In order to reach desired precision in the pulse generation, ETHR and all the energy
values are computed in µWs.
The pulse constant (the number of pulses generated per consumed kWh) is set by the
manufacturer.
Example 4
Impulse constant K is set by the manufacturer to:
K = 3200 impulses / kWh
Relation between joules and watts per second is the following:
W x s = J
W x h = 3600 J
kW x h = 3.600.000 J
1 kW x h = 3.600.000.000.000 µW x s
In order to be able to set correctly ETHR, it is necessary to know that 1 impulse means:
3200 impl. ...........................1 kWh
1 impl. ...........................X kWh
3200 impulses = 1 kWh = 3.600.000 J
The energy of one impulse EIMPL is:
x = EIMPL = 1 kWh / K [imp / impl/kWh] = 3.600.000.000.000 / K [µWs]
EIMPL = 1125 J = 1125 Ws
EIMPL= 1.125.000.000 µWs
Because the LED is toggled by reaching the ETHR value (impulse-threshold), the generation
of one complete pulse (rising and falling edge) requires two events (two times reaching
ETHR within EIMPL step). It is necessary to divide the threshold constant for 1impl EIMPL by
two:
ETHR = EIMPL/ 2 = 1.125.000.000 / 2 = 562.500.000 µWs



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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