User guide

71M6533-DB Demo Board User’s Manual
Page: 3 of 75 ` REV 3
Table of Contents
1 GETTING STARTED................................................................................................................................................ 7
1.1 General .................................................................................................................................................................... 7
1.2 Safety and ESD Notes ............................................................................................................................................ 7
1.3 Demo Kit Contents ................................................................................................................................................. 7
1.4 Demo Board Versions ............................................................................................................................................ 7
1.5 Compatibility ........................................................................................................................................................... 8
1.6 Suggested Equipment not Included ..................................................................................................................... 8
1.7 Demo Board Test Setup ......................................................................................................................................... 8
1.7.1 Setup with USB-to-Serial Adapter ..................................................................................................................... 9
1.7.2 Power Supply Setup ........................................................................................................................................ 10
1.7.3 Checking Operation......................................................................................................................................... 10
1.7.4 Serial Connection Setup .................................................................................................................................. 11
1.8 Using the Demo Board ......................................................................................................................................... 13
1.8.1 Serial Command Language ............................................................................................................................. 13
1.8.2 Using the Demo Board for Energy Measurements .......................................................................................... 21
1.8.3 Adjusting the Kh Factor for the Demo Board ................................................................................................... 21
1.8.4 Adjusting the Demo Boards to Different Current Transformers ....................................................................... 21
1.8.5 Adjusting the Demo Boards to Different Voltage Dividers ............................................................................... 22
1.9 Calibration Parameters ........................................................................................................................................ 23
1.9.1 General Calibration Procedure ........................................................................................................................ 23
1.9.2 Calibration Macro File ..................................................................................................................................... 24
1.9.3 Updating the Demo Code (hex file) ................................................................................................................. 24
1.9.4 Updating Calibration Data in Flash or EEPROM ............................................................................................. 24
1.9.5 Automatic Gains Calibration ............................................................................................................................ 25
1.9.6 Loading the Code for the 6533 into the Demo Board ...................................................................................... 25
1.9.7 The Programming Interface of the 71M6533 ................................................................................................... 27
1.10 Demo Code ........................................................................................................................................................ 27
1.10.1 Demo Code Description ............................................................................................................................... 27
1.10.2 Important Demo Code MPU Parameters ..................................................................................................... 27
1.10.3 Useful CLI Commands Involving the MPU and CE ...................................................................................... 33
2 APPLICATION INFORMATION ............................................................................................................................. 35
2.1 Calibration Theory ................................................................................................................................................ 35
2.1.1 Calibration with Three Measurements ............................................................................................................. 35
2.1.2 Calibration with Five Measurements ............................................................................................................... 37
2.2 Calibration Procedures ........................................................................................................................................ 38
2.2.1 Calibration Procedure with Three Measurements ........................................................................................... 39
2.2.2 Calibration Procedure with Five Measurements .............................................................................................. 40
2.2.3 Calibration Procedure for Rogowski Coil Sensors ........................................................................................... 40
2.2.4 Calibration Spreadsheets ................................................................................................................................ 41
2.2.5 Compensating for Non-Linearities ................................................................................................................... 45
2.3 Power Saving Measures ...................................................................................................................................... 46
2.4 Schematic Information ......................................................................................................................................... 46
2.4.1 Components for the V1 Pin ............................................................................................................................. 46
2.4.2 Reset Circuit .................................................................................................................................................... 46
2.4.3 Oscillator ......................................................................................................................................................... 47
2.4.4 EEPROM ......................................................................................................................................................... 47
2.4.5 LCD ................................................................................................................................................................. 48
2.4.6 Optical Interface .............................................................................................................................................. 48
2.4.7 Ferrites ............................................................................................................................................................ 49