, Atmel logo and combinations thereof, Enabling Unlimited Possibilities
®
, and others are registered trademarks or trademarks of Atmel Corporation or its
subsidiaries. Other terms and product names may be trademarks of others.
DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right
is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE
ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT
SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES
FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this
document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information
contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended,
authorized, or warranted for use as components in applications intended to support or sustain life.
SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where
the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Atmel officer's specific written
consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems.
Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are
not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.
Table of Contents
FEATURES .............................................................................................................................................................................. 7
GENERAL DESCRIPTION ...................................................................................................................................................... 7
3 FUNCTION DESCRIPTION .............................................................................................................................................. 12
3.1
3.2
3.3
POWER SUPPLY .......................................................................................................................................................................................... 12
3.3.2 Power On Reset (POR) .................................................................................................................................................................. 12
METERING FUNCTION ................................................................................................................................................................................ 14
3.5.1 Theory of Energy Registers .......................................................................................................................................................... 14
3.5.2 Energy Registers ............................................................................................................................................................................ 16
3.5.3 Energy Pulse Output ...................................................................................................................................................................... 16
3.5.4 Startup and No-load Power ........................................................................................................................................................... 17
MEASUREMENT FUNCTION ....................................................................................................................................................................... 19
3.6.1 Active/ Reactive/ Apparent Power ................................................................................................................................................ 19
3.6.2 Fundamental / Harmonic Active Power ........................................................................................................................................ 19
3.6.3 Mean Power Factor (PF) ................................................................................................................................................................ 19
3.6.4 Voltage / Current RMS ................................................................................................................................................................... 19
3.6.6 Frequency ....................................................................................................................................................................................... 20
3.6.7 Temperature ................................................................................................................................................................................... 20
3.6.8 Peak Value ...................................................................................................................................................................................... 20
POWER QUALITY MONITORING ................................................................................................................................................................ 21
3.7.1 Instantaneous Signal Monitoring .................................................................................................................................................. 21
3.7.2 Instantaneous Signal Related Status And Events ...................................................................................................................... 21
3.7.3 Frequency Monitoring Related Status And Events ..................................................................................................................... 22
POWER MODE .............................................................................................................................................................................................. 23
3.8.1 Normal Mode (N Mode) .................................................................................................................................................................. 23
3.8.2 Idle Mode (I Mode) .......................................................................................................................................................................... 24
3.8.5 Transition of Power Modes ........................................................................................................................................................... 28
3.9.1 Gain Based Compensation ........................................................................................................................................................... 29
3.9.2 Delay/Phase Based Compensation .............................................................................................................................................. 30
REGISTER LIST ............................................................................................................................................................................................ 33
SPECIAL REGISTERS .................................................................................................................................................................................. 40
5.2.2 IRQ and WarnOut Signal Generation ............................................................................................................................................ 41
5.2.3 Special Configuration Registers ................................................................................................................................................... 45
5.4.5 EMM Status ..................................................................................................................................................................................... 59
ENERGY REGISTER .................................................................................................................................................................................... 66
5.5.1 Regular Energy Registers ............................................................................................................................................................. 66
5.5.2 Fundamental / Harmonic Energy Register ................................................................................................................................... 67
5.6.1 Power and Power Factor Registers .............................................................................................................................................. 68
5.6.2 Fundamental/ Harmonic Power and Voltage/ Current RMS Registers ...................................................................................... 68
5.6.3 Peak, Frequency, Angle and Temperature Registers ................................................................................................................. 69
POWER ON RESET TIMING ........................................................................................................................................................................ 76
VOLTAGE SAG AND PHASE LOSS TIMING .............................................................................................................................................. 78
ABSOLUTE MAXIMUM RATING .................................................................................................................................................................. 79
4.2.1
4.2.2
SPI Slave Interface Format ............................................................................................................................................................ 32
Power Mode Mapping ..................................................................................................................................................................................
Digital I/O and Power Pin States in Idle Mode .............................................................................................................................................
Compensation Related Registers ................................................................................................................................................................
Register List .................................................................................................................................................................................................
Fundamental/Harmonic Energy Calibration Registers .................................................................................................................................
EMM Status Registers .................................................................................................................................................................................
Regular Energy Registers ............................................................................................................................................................................
Fundamental / Harmonic Energy Register ...................................................................................................................................................
Power and Power Factor Register ...............................................................................................................................................................
Fundamental/ Harmonic Power and Voltage/ Current RMS Registers ........................................................................................................
Peak, Frequency, Angle and Temperature Registers ..................................................................................................................................
Metering Accuracy for Different Energy within the Dynamic Range ............................................................................................................
Measurement Parameter Range and Format ..............................................................................................................................................
Power On Reset Specification .....................................................................................................................................................................
Microcontroller STM8S903K3.void main(void){clock_inti();//clock initializationio_inti();//IO port initializationwhile(1){PC_ODR|=0x80;}The above program can light up the LED indicator, but as shown in...
At the Frankfurt Book Fair in October 2012, Phil Stutz and Barry Michels, authors of Tool, held a reader meeting, which became one of the highlights of the event. The reason is that Tool has been a be...
Which brother has worked on a communication instrumentation project? How much can a Taitai signaling analyzer (code + hardware already debugged) be sold for?...
Verilog Basics Key Points: The value assignment method in the tb module depends on the logic method in the logic function. If it is combinational logic, use blocking assignment. If it is sequential lo...
After restarting the phone, I run the program, and it runs very slowly. The slowness is not the most frustrating thing for me. The most frustrating thing is that it is sometimes fast and sometimes slo...