Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3254 Datasheet(PDF) 18 Page - STMicroelectronics

Part # AN3254
Description  SPI protocol for the STPMC1 metering device
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3254 Datasheet(HTML) 18 Page - STMicroelectronics

Back Button AN3254 Datasheet HTML 14Page - STMicroelectronics AN3254 Datasheet HTML 15Page - STMicroelectronics AN3254 Datasheet HTML 16Page - STMicroelectronics AN3254 Datasheet HTML 17Page - STMicroelectronics AN3254 Datasheet HTML 18Page - STMicroelectronics AN3254 Datasheet HTML 19Page - STMicroelectronics AN3254 Datasheet HTML 20Page - STMicroelectronics AN3254 Datasheet HTML 21Page - STMicroelectronics AN3254 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 24 page
background image
Converting readings into measured values
AN3254
18/24
Doc ID 17783 Rev 1
The interrupt service should do the following:
●
update
e
→ frac and e→ integ of the energy variable using e→ quot = e→ quant / 16
●
generate output pulses (if needed) from
e
→ frac
●
call the next subtask
●
perform other tasks (if needed)
In this way the addition of
e
→ quant is split in 16 times. This generates a microcontroller
output pulse that has a 16 times better accuracy of position in time, which would reduce the
jitter of an eventual LED output.
5.2
Other values
5.2.1
Voltage, current, and frequency calculation
The ratio between the register value and the actual voltage, current, or frequency value is a
function of the voltage and current sensor sensitivity and of the device internal parameters,
like analog amplification, reference voltage, measurement frequency, calibrator, attenuation
of each stage of decimation filter, and power meter constant.
Formulas to convert the readings into meaningful values are reported below.
For details on the device configuration bits mentioned below, please refer to the STPMC1
datasheet.
In any case, as the internal parameter values, here given as constants, are subject to
process drift, and the sensors sensitivity are subject to tolerance, even if these fluctuations
are compensated by the calibrators, the best way to obtain the proper parameters is to
measure known signals and calculate the ratio between the register value and actual value.
The device linearity ensures that the ratio remains constant.
Figure 8, 9, and 10 below show the signal processing chains for each phase current and
voltage.
Figure 8.
Voltage signal path



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


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