| Electronic Components Datasheet Search |
|
AN3322 Datasheet(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3322 Datasheet(HTML) 6 Page - STMicroelectronics |
|
6 / 38 page ![]() Watt-hour meter using the STM32 AN3322 6/38 DocID18304 Rev 1 1 Watt-hour meter using the STM32 The following sections describe the necessary feasibility study, theory and computation for the STM32 power meter implementation. The system design, STM32 parameter evaluation, ADC feature enhancement, and international standards are also covered here. 1.1 STM32 ADC parameters The most important part of the power meter and its microcontroller used in metering applications is the embedded ADC. Its parameters are the key to deciding if the requirements for precision of the implemented meter can be fulfilled (international standards mentioned in these sections). The first step is to evaluate the parameters given in the ADC specifications: For the given STM32 ADC, the specifications and tests show: Equation 1 Integral non-linearity error is . Equation 2 The resolution of the 12-bit ADC is = 0.02% of the full scale ADC range. Equation 3 If , then the accuracy = resolution of given ADC. Equation 4 The accuracy of the 12-bit ADC is = 0.02% of the full scale ADC range. 1.2 Requirements for meter in Class B The European standard defining the requirements for electricity metering equipment should be the source of constraints and limits for the design presented in this application note. EN 50470-1:2006 and EN 50470-3:2006 are referenced in this case. All the computation is directed to the precision of Class B. Table 1. STM32 ADC parameter specifications Symbol Parameter Test conditions Typ. Max. Unit ET Total unadjusted error fPCLK2 = 24 MHz, fADC = 12 MHz, RAIN < 10 k, VDDA = 3 to 3.6 V TA = 25 °C Measurements made after ADC calibration VREF+ = VDDA ±1.3 ±2 LSB EO Offset error ±1 ±1.5 EG Gain error ±0.5 ±1.5 ED Differential linearity error ±0.7 ±1 EL Integral linearity error ±0.8 ±1.5 EINL 12 bit – 0,8LSB12 bit – = 1 2 12 -------- EINL 12 bit – 1LSB 1 2 12 -------- |
|
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 |