beautypg.com
71M6541 Demo Board REV 3.0 User’s Manual
2
Rev 4.0
Table of Contents
1
GETTING STARTED................................................................................................................................................ 5
1.1
General .................................................................................................................................................................... 5
1.2
Safety and ESD Notes ............................................................................................................................................ 5
1.3
Demo Kit Contents ................................................................................................................................................. 6
1.4
Demo Board Versions ............................................................................................................................................ 6
1.5
Compatibility ........................................................................................................................................................... 6
1.6
Suggested Equipment not Included ..................................................................................................................... 6
1.7
Demo Board Test Setup ......................................................................................................................................... 7
1.7.1
Power Supply Setup .......................................................................................................................................... 8
1.7.2
Cables for Serial Communication ...................................................................................................................... 8
1.7.3
Checking Operation ........................................................................................................................................... 9
1.7.4
Serial Connection Setup .................................................................................................................................... 9
1.8
Using the Demo Board ......................................................................................................................................... 10
1.8.1
Serial Command Language ............................................................................................................................. 11
1.8.2
Using the Demo Board for Energy Measurements .......................................................................................... 17
1.8.3
Adjusting the Kh Factor for the Demo Board ................................................................................................... 17
1.8.4
Adjusting the Demo Boards to Different SHUNT Resistors ............................................................................. 17
1.8.5
Using the Pre-Amplifier ................................................................................................................................... 17
1.8.6
Using Current Transformers (CTs) .................................................................................................................. 17
1.8.7
Implementing a Single-Phase 3-Wire Meter (EQU 1) ...................................................................................... 17
1.8.8
Adjusting the Demo Boards to Different Voltage-Dividers ............................................................................... 17
1.9
Calibration Parameters ........................................................................................................................................ 18
1.9.1
General Calibration Procedure ........................................................................................................................ 18
1.9.2
Calibration Macro File ..................................................................................................................................... 19
1.9.3
Updating the Demo Code (hex file) ................................................................................................................. 19
1.9.4
Updating Calibration Data in Flash or EEPROM ............................................................................................. 20
1.9.5
Loading the Code for the 71M6541 into the Demo Board ............................................................................... 20
1.9.6
The Programming Interface of the 71M6541 ................................................................................................... 22
1.10
Demo Code ........................................................................................................................................................ 23
1.10.1
Demo Code Description ............................................................................................................................... 23
1.10.2
Important MPU Addresses ........................................................................................................................... 23
1.10.3
LSB Values in CE Registers ........................................................................................................................ 30
1.10.4
Calculating IMAX and Kh ............................................................................................................................. 30
1.10.5
Determining the Type of 71M6x0x ............................................................................................................... 31
1.10.6
Communicating with the 71M6X0X .............................................................................................................. 32
1.10.7
Bootloader Feature ...................................................................................................................................... 32
APPLICATION INFORMATION ............................................................................................................................. 34
2.1
Sensor Connections and Equations ................................................................................................................... 34
2.1.1
Sensor Wiring .................................................................................................................................................. 34
2.1.2
Single-phase two-wire (EQU 0) ....................................................................................................................... 35
2.1.3
Single-phase three-wire (EQU 1) .................................................................................................................... 36
2.2
Calibration Theory ................................................................................................................................................ 37
2.2.1
Calibration with Three Measurements ............................................................................................................. 37
2.2.2
Calibration with Five Measurements ............................................................................................................... 38
2.3
Calibration Procedures ........................................................................................................................................ 40
2.3.1
Calibration Equipment ..................................................................................................................................... 40
2.3.2
Phase-by-Phase Calibration ............................................................................................................................ 40
2.3.3
Detailed Calibration Procedures ...................................................................................................................... 40
2.3.4
Calibration Procedure with Three Measurements ........................................................................................... 41