Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

AN3137 Folha de dados(PDF) 40 Page - STMicroelectronics

Nome de Peças AN3137
Descrição Electrónicos  Analog-to-digital converter on STM8L and STM8AL devices
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  STMICROELECTRONICS [STMicroelectronics]
Página de início  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3137 Folha de dados(HTML) 40 Page - STMicroelectronics

Back Button AN3137 Datasheet HTML 34Page - STMicroelectronics AN3137 Datasheet HTML 35Page - STMicroelectronics AN3137 Datasheet HTML 36Page - STMicroelectronics AN3137 Datasheet HTML 37Page - STMicroelectronics AN3137 Datasheet HTML 38Page - STMicroelectronics AN3137 Datasheet HTML 39Page - STMicroelectronics AN3137 Datasheet HTML 40Page - STMicroelectronics AN3137 Datasheet HTML 41Page - STMicroelectronics AN3137 Datasheet HTML 42Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 40 / 42 page
background image
Source code examples
AN3137
40/42
Doc ID 16983 Rev 3
FFT analysis:
●
16 point FFT calculation of 50 Hz signal is implemented
●
FFT is applied on 6 ADC channels: AIN0 - AIN5
●
FFT method shows 3-phase AC signal power measurement:
–
even channels (0, 2, 4) represent voltages
–
odd channels (1, 3, 5) represent currents
–
power is calculated as sum of the power of each harmonic frequencies (16 point
FFT = 7 harmonic)
Pa=U1*I1*cosF1 + ... + Un*In*cosFn
(n=7) ... for phase “a”
Pb=U1*I1*cosF1 + ... + Un*In*cosFn
(n=7) ... for phase “b”
Pc=U1*I1*cosF1 + ... + Un*In*cosFn
(n=7) ... for phase “c”
●
connect 6 signals to AIN0 - AIN5 pins; signals should have frequency CCA 50 Hz
●
the calculation takes CCA up to 3 seconds
●
the second line on LCD shows calculation results: phase number, effective values of U
and I, harmonic power, phase shift, distortion of U and I (all for each of the 3 phases)
●
to stop the method press the “Key” button (wait for the end of the result list, “done” will
appear on the screen)
Now the program starts again from the averaging method.
A.2.3
Hardware and software requirements
To run the project example you must have installed STVD (version 4.1.3 or newer) and
Cosmic/Raisonance compiler for STM8L/STM8A microcontrollers. Both tools are free for
download from STMicroelectronics and Cosmic/Raisonance websites.
The hardware requirement is to have the STM8L1526 evaluation board with the
STM8L152C6 chip installed.



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 39 40 41 42


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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