78M6612-DB/OMU-USB Maxim Integrated Products, 78M6612-DB/OMU-USB Datasheet

KIT DEMO OUTLET MEASUREMENT OMU1

78M6612-DB/OMU-USB

Manufacturer Part Number
78M6612-DB/OMU-USB
Description
KIT DEMO OUTLET MEASUREMENT OMU1
Manufacturer
Maxim Integrated Products

Specifications of 78M6612-DB/OMU-USB

Data Bus Width
8 bit
Interface Type
USB
Tool Type
Demonstration Board
Core Architecture
8051
Cpu Core
80515
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
USER GUIDE
TM
Simplifying System Integration
6612_OMU_S2+2_URT_V1_14
Firmware Description Document
March 5, 2010
Rev. 1.0
UG_6612_017

Related parts for 78M6612-DB/OMU-USB

78M6612-DB/OMU-USB Summary of contents

Page 1

Simplifying System Integration Firmware Description Document TM 6612_OMU_S2+2_URT_V1_14 USER GUIDE March 5, 2010 Rev. 1.0 UG_6612_017 ...

Page 2

Firmware Description Document © 2010 Teridian Semiconductor Corporation. All rights reserved. Teridian Semiconductor Corporation is a registered trademark of Teridian Semiconductor Corporation. Simplifying System Integration is a trademark of Teridian Semiconductor Corporation. All other trademarks are the property of ...

Page 3

UG_6612_ 017 1 Introduction ................................................................................................................................... 5 2 Description of Basic Measurement Equations ............................................................................. 5 3 Serial Communication ................................................................................................................... 6 4 Command Line Interface ............................................................................................................... 7 4.1 Identification and Information Commands ................................................................................. 7 4.2 Reset Commands .................................................................................................................... 7 4.3 MPU Data ...

Page 4

Firmware Description Document Tables Table 1: Measurement Equations Definitions ........................................................................................... 5 Table 2: Outlet 1 MPU Outputs for Narrowband Method ......................................................................... 20 Table 3: Outlet 1 MPU Outputs for Wideband Method ............................................................................ 24 Table 4: Outlet 2 MPU Outputs ...

Page 5

... Current Transformer (CT) sensors may also be used if desired. All measurement calculations are computed by the 78M6612 and communicated to the host processor over a serial interface (UART0) on the TX and RX pins of the 78M6612 device. RTC (real time clock), LCD Driver, and Battery Modes are not supported by this firmware. Additional 78M6612 hardware utilized by this firmware includes: • ...

Page 6

... The host sends the following to the 78M6612: <CR> The 78M6612 sends the following back to the host: > Commands the host may send to the 78M6612 in order for the host to configure the 78M6612 or to receive the measurement data are given in the next section. 6 UG_6612_017 ...

Page 7

... Reset Commands A soft reset of the 78M6612 can be performed by using the Z command. The soft reset restarts code execution at addr 0000 but does not alter flash contents. To issue a soft reset to the 78M6612, the host sends the following: >Z<CR> The W command acts like a hardware reset. The energy accumulators in XRAM will retain their values. ...

Page 8

... MPU Data Access Command The most pertinent is the MPU data access command. All the measurement calculations are stored in the MPU data addresses of the 78M6612. The host requests measurement information using the MPU data access command which is a right parenthesis ) To request information, the host sends the MPU data access command, the address (in hex) which is requested, the format in which the data is desired (Hex or Decimal) and a carriage return ...

Page 9

UG_6612_ 017 4.3.3 Block Reads The block read command can also be used to read consecutive registers: )saddr:eaddr? For decimal format or )saddr:eaddr$ for hex format where saddr is the start address and eaddr is the final address. The following ...

Page 10

Firmware Description Document 4.3.5 MPU/XDATA Access Commands ) MPU Data Access Description: Allows user to read from and write to MPU data space. Usage: ) {Starting MPU Data Address} {option}…{option}<CR> Command )saddr? <CR> Combinations: )saddr?? <CR> )saddr???<CR> )saddr:eaddr? )saddr$<CR> ...

Page 11

UG_6612_ 017 4.4 Auxiliary Commands 4.4.1 Repeat Command The repeat command can be useful for monitoring measurements and is efficient in demands from the host. If the host requests line frequency, alarm status, Irms nb overcurrent event count, Vrms SAG ...

Page 12

Firmware Description Document 4.5 Calibration Commands Using the precision source method, the user provides a precision voltage and precision current load to the device for calibration. The 6612_OMU_S2+2_URT_V1_14 firmware provides commands to calibrate the measurement units. For linear current ...

Page 13

UG_6612_ 017 4.5.1.2 CALW Command To use the CALW command, enter the following: >CALW<CR> The response is: TCal OK VCal OK WCal 0 OK > The device will calibrate the temperature, calibrate the voltage, and finally calibrate the power and ...

Page 14

Firmware Description Document 4.5.2 Atomic Calibration Commands The atomic calibration commands provide individual calibration of voltage, current, temperature, watts and a sequence of these results in providing full calibration for the unit. 4.5.2.1 CLV Command An example of an ...

Page 15

UG_6612_ 017 4.5.2.4 CLT Command The CLT command is used for the temperature calibration. With this command, the contents of CE register 71 are read and entered into MPU register C0 and the contents are saved to flash. The CLT ...

Page 16

... CE Data Access Commands The CE is the main signal processing unit in the 78M6612. The user writes to the CE data space are mainly for calibration purposes. For the advanced user, details of CE data access commands are described. The commands similar to the MPU access except that ] is used for the CE data access command ...

Page 17

UG_6612_ 017 4.6.3 U Command The U command is used for updating default values of the CE Data in flash. The description is given in the CE control Command section. Additional examples are provided in the table that follows: ] ...

Page 18

Firmware Description Document 4.7 CE Control Commands The most pertinent command is the enable command, CEn mainly used to turn the off such that the CE data contents can be updated in flash using ...

Page 19

... Example: RI60$$$$<CR> Configuration RAM space is the address range 0x2000 to 0x20FF. This RAM contains registers used for configuring basic hardware and functional properties of the 78M6612 and is organized in bytes (8 bits). The 0x2000 offset is automatically added when the command RI is typed. Rev. 1.0 ...

Page 20

... MPU Measurement Outputs This section describes the measurement outputs that can be obtained. Energy outputs are accumulated numbers. The host accessing the measurement information from the 78M6612 more frequently will not result in any update in the information. Table 2 lists the Narrowband outputs for Outlet 1. ...

Page 21

UG_6612_ 017 Location Output LSB (hex) Irms_nb A Overcurrent 03 1 Event Count Vrms Under Voltage 04 1 Event Count Vrms Over Voltage 05 1 Event Count Vrms A 06 mVrms Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description Document Comment Bit 15 ...

Page 22

Firmware Description Document Location Output LSB (hex) Watts mWh Total Cost A 09 mUnits Irms_nb A 0A mArms VARs_nb VAs_nb Power – 0D Factor_nb A Phase – ...

Page 23

UG_6612_ 017 Location Output LSB (hex) Watts A Min 12 mW Watts A Max 13 mW Irms_nb A 14 mArms Min Irms_nb A 15 mArms Max VARs_nb Min VARs_nb A 17 mWs Max VAs_nb ...

Page 24

Firmware Description Document Location Output LSB (hex) Phase – Angle_nb A 1D Max – Reserved 1E – Reserved 1F Table 3 lists the wideband measurement outputs for Outlet 1. Table 3: Outlet 1 MPU Outputs for Wideband Method Location ...

Page 25

UG_6612_ 017 Location Output LSB (hex) Irms_wb A Overcurrent 23 Event Count Vrms Under Voltage 24 Event Count Vrms Over Voltage 25 Event Count Vrms Watts Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description Document Comment – ...

Page 26

Firmware Description Document Location Output LSB (hex mWh Total Cost A 29 mUnits Irms_wb VARs_wb VAs_wb Power 2D – Factor_wb A Phase – 2E Angle_wb A – ...

Page 27

UG_6612_ 017 Location Output LSB (hex) Watts A Max 33 mW Irms_wb A 34 mArms Min Irms_wb A 35 mArms Max VARs_wb Min VARs_wb Max VAs_wb Min VAs_wb ...

Page 28

Firmware Description Document Table 4 lists the narrowband measurement outputs for Outlet 2. Table 4: Outlet 2 MPU Outputs for Narrowband Method Location Output LSB (hex) Delta 40 0.1 °C Temperature Line 41 0.01 Hz Frequency Alarm Status 42 ...

Page 29

UG_6612_ 017 Location Output LSB (hex) Irms_nb B Overcurrent 43 Event Count Vrms Under Voltage 44 Event Count Vrms Over Voltage 45 Event Count Vrms Watts mWh Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware ...

Page 30

Firmware Description Document Location Output LSB (hex) Total Cost B 49 mUnits Irms_nb B 4A mArms VARs_nb VAs_nb Power – 4D Factor_nb B Phase – 4E Angle_nb B – Reserved 4F Vrms A ...

Page 31

UG_6612_ 017 Location Output LSB (hex) Irms_nb B 54 mArms Min Irms_nb B 55 mArms Max VARs_nb Min VARs_nb Max VAs_nb Min VAs_nb Max Power – Factor_nb B ...

Page 32

Firmware Description Document Table 5 lists the wideband measurement outputs for Outlet 2. Table 5: Outlet 2 MPU Outputs for Wideband Method Location Output LSB (hex) Delta 60 0.1 °C Temperature Line 61 0.01 Hz Frequency Alarm Status 62 ...

Page 33

UG_6612_ 017 Location Output LSB (hex) Irms_wb B Overcurrent 63 Event Count Vrms Under Voltage 64 Event Count Vrms Over Voltage 65 Event Count Vrms Watts mWh Total Cost B 69 ...

Page 34

Firmware Description Document Location Output LSB (hex) Irms_wb B 6A mArms VARs_wb VAs_wb Power 6D – Factor_wb B Phase 6E mDegrees Angle_wb B – Reserved 6F Vrms A Min 70 mV Vrms A ...

Page 35

UG_6612_ 017 Location Output LSB (hex) Irms_wb B 75 mArms Max VARs_wb Min VARs_wb Max VAs_wb Min VAs_wb Max Power Factor_wb B 7A Min Power – Factor_wb B ...

Page 36

Firmware Description Document Table 6 lists the narrowband measurement outputs for both outlets combined (Outlet 1 + Outlet 2). Table 6: Combined Outlets MPU Outputs for Narrowband Method Location Output LSB (hex) Watts ...

Page 37

UG_6612_ 017 Location Output LSB (hex) Irms_nb T 8B mArms Max VARs_nb Min VARs_nb Max VAs_nb Min VAs_nb Max Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description Document Comment Maximum combined ...

Page 38

Firmware Description Document Table 7 lists the wideband measurement outputs for both outlets combined (Outlet 1 + Outlet 2). Table 7: Combined Outlets MPU Outputs for Wideband Method Location Output LSB (hex) Watts ...

Page 39

UG_6612_ 017 Location Output LSB (hex) Irms_wb T 9B mArms Max VARs_wb Min VARs_wb Max VAs_wb Min VAs_wb Max Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description Document Comment Maximum combined ...

Page 40

... A5 – 40 Table 8: MPU Parameters Default Comment External rms voltage corresponding to 250 mVpk at the VA input of the 78M6612. It must +471.500 be set high enough to account for overvoltages. Usually set to 471.500 V (471.500d). Minimum current value to be measured on the IA input. +0.007 Currents below this value will be ignored ...

Page 41

UG_6612_ 017 MPU Location LSB Parameter (hex) Temperature A6 – Nominal Reserved A7 – PPMC A8 ppm/°C ppm/°C 2 PPMC A9 2 Cost/kWh AA mUnits Units of Cost AB N/A Relay AC – Configuration Sequence AD 0.1s Delay Energize AE ...

Page 42

Firmware Description Document MPU Location LSB Parameter (hex) Additional BD – Status – Unused BE Tolerance on BF 0.001° Phase Reserved C0 – Calibration C1 mVrms Voltage Calibration C2 mArms Current Calibration C3 0.1° Phase Tolerance on C4 mVrms ...

Page 43

UG_6612_ 017 MPU Location LSB Parameter (hex) Max Iteration C8 1 for Voltage Max Iteration C9 1 for Current Tolerance Watts Average Count for CB 1 Watts Max Iteration CC 1 for Watts Calibration CD 1 WRATE ...

Page 44

Firmware Description Document MPU Location LSB Parameter (hex) Temp Alarm Max D1 0.1°C Threshold Frequency D2 0.01Hz Minimum Threshold Frequency Maximum D3 0.01Hz Threshold SAG Voltage Alarm D4 mVpk Threshold Min Voltage D5 mVrms Alarm Threshold Peak Voltage D6 ...

Page 45

UG_6612_ 017 MPU Location LSB Parameter (hex) PFA_nb_Pos DB – Threshold PFA_wb_Neg DC – Threshold PFA_wb_Pos DD – Threshold Peak IB_nb DE mArms Alarm Threshold Peak IB_wb DF mArms Alarm Threshold PFB_nb_Neg E0 – Threshold PFB_nb_Pos E1 – Threshold Rev. ...

Page 46

Firmware Description Document MPU Location LSB Parameter (hex) PFB_wb_Neg E2 – Threshold PFB_wb_Pos E3 – Threshold Peak I Total_nb E4 mArms Alarm Threshold Peak I Total_wb E5 mArms Alarm Threshold Alarm E6 – Mask_Reg Alarm E7 – Mask_DIO Control ...

Page 47

UG_6612_ 017 MPU Location LSB Parameter (hex) Clear Control F2 – and Power Factor Polarity Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description Document Default Comment Clear Control and Power Factor Polarity Register: Bit 2 – Power Factor Polarity 0 = Power Factor ...

Page 48

Firmware Description Document 6.2 CE Parameters Table 9 lists the CE parameters that the Firmware 6612_OMU_S2+2_URT_V1_14 has set. The user does not need to alter any of these parameters as they are automatically set by Calibration Commands. CE Location( ...

Page 49

UG_6612_ 017 CE Location( LSB Parameter hex) CESTATE VMAX A * IMAX A / (WRATE * WRATE 0F X) 1.6826E+0 1 WattSec Reserved 10 VMAX A SAG 11 *4.2551E- Threshold 07 (Vpk) Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description ...

Page 50

Firmware Description Document CE Location( LSB Parameter hex) VMAX A * IMAX A * QUANTA 12 1.8541E- 10 (Watt) VMAX A * IMAX B * QUANTB 13 1.8541E- 10 (Watt) VMAX A * QUANT IMAX VAR ...

Page 51

UG_6612_ 017 CE Location( LSB Parameter hex) 16384 is the default Gain Adjust 19 and is a gain of 1. Reserved 1A – Reserved 1B – Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description Document Default Comment To increase all channels equally by ...

Page 52

Firmware Description Document 7 Address Content Summary If the color shading is the same, the information in the table cells is the same between narrowband and wideband measurements. Note that Outlet 1 = channel A and Outlet 2 = ...

Page 53

UG_6612_ 017 Outlet 2 Common Data Common, Outlet 2 47 Specific Data 48 49 Tier 1, Outlet 2 Specific 4A Data Tier 2, Outlet 2 Specific 50 Max/Min ...

Page 54

Firmware Description Document Totals of Multiple Outlets Common Total Data Bandwidth Specific 83 Totals Common Total Max/Min 88 Data 89 Bandwidth Specific 8A Total Max/Min Data ...

Page 55

UG_6612_ 017 Voltage Current - Outlet 1 Current - Outlet 2 Unused Temperature Cost Relay Configuration Misc. Config Unused Quick Calibration Parameters Temperature Frequency Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description Document Table 11: MPU Input Summary Chart A0 Vmax A1 Imin ...

Page 56

Firmware Description Document Voltage Unused Current - Outlet 1 Power Factor - Outlet 1 Current - Outlet 2 Power Factor - Outlet 2 Total Current Alarm Mask for Status Regs Alarm Mask for Alarm DI/O Relay Controls Min/Max Controls ...

Page 57

... UG_6612_ 017 8 Contact Information For more information about Teridian Semiconductor products or to check the availability of the 78M6612, contact us at: http://www.teridian.com/contact-us/ 6440 Oak Canyon Road Suite 100 Irvine, CA 92618-5201 Telephone: (714) 508-8800 FAX: (714) 508-8878 Rev. 1.0 6612_OMU_S2+2_URT_V1_14 Firmware Description Document ...

Page 58

Firmware Description Document Revision History Revision Date Description 1.0 3/5/2010 First publication. 58 UG_6612_017 Rev. 1.0 ...

Related keywords