6612_OMU_S2+2_URT_V1_14 Firmware Description Document UG_6612_017
4 Rev. 1.0
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 for Narrowband Method
......................................................................... 28
Table 5: Outlet 2 MPU Outputs for Wideband Method
............................................................................ 32
Table 6: Combined Outlets MPU Outputs for Narrowband Method
......................................................... 36
Table 7: Combined Outlets MPU Outputs for Wideband Method
............................................................ 38
Table 8: MPU Parameters
..................................................................................................................... 40
Table 9: CE Parameters
........................................................................................................................ 48
Table 10: MPU Output Summary Chart
.................................................................................................. 52
Table 11: MPU Input Summary Chart
.................................................................................................... 55
Table 12: CE Input Summary Chart
....................................................................................................... 56
UG_6612_ 017 6612_OMU_S2+2_URT_V1_14 Firmware Description Document
Rev. 1.0 5
1 Introduction
This document describes the firmware 6612_OMU_S2+2_URT_V1_14, which can be used with the
Teridian 78M6612 power and energy measurement IC. This firmware provides simple methods for
calibration, relay control, and access to measurement data such as Watts, Voltage, Current, accumulated
Energy and line frequency. It is optimized for measurement of up to two single phase AC loads using
current shunts as the current sensors, but 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:
DIO20 used as a configurable status alarm output pin
DIO4, DIO5, and DIO8 as LED outputs for Active, Ready, and Fault status
DIO7 and DIO19 used as configurable relay control ouputs
DIO6 used as an optional pulse output
The following sections detail the commands to be sent by the host to configure the 78M6612 and for
accessing measurement information.
2 Description of Basic Measurement Equations
The Teridian 78M6612 with firmware 6612_OMU_S2+2_URT_V1_14 provides the user with two types of
continuously updating measurement data (on 1 second increments by default). One is defined as
Narrowband” (NB) and the other is defined asWideband” (WB).
Narrowband measurements are typically used by utilities where the measured waveforms are
assumed to be sinusoidal.
Wideband measurements are generally of interest when measuring nonlinear systems such as
switched mode power supplies that tend to have non-sinusoidal waveforms. This firmware
utilizes an effective sampling rate of 3641 samples per second.
Table 1 lists the basic measurement equations for the Narrowband and the Wideband methods.
Table 1: Measurement Equations Definitions
Symbol Parameter Narrowband Equation Wideband Equation
V RMS Voltage V = √∑v(t)
2
V = √∑v(t)
2
I RMS Current I = S/V
I = √∑i(t)
2
P Active Power P = (i(t) * v(t)) P = (i(t) * v(t))
Q
Reactive
Power
Q = (i(t) * v(t)shift 90º)
Q = √(S
2
– P
2
)
S
Apparent
Power
S = √(P
2
+ Q
2
) S = V * I
PF Power Factor P/S P/S
PA Phase Angle ACOS (P/S) ACOS (P/S)
Both types of measurement outputs are continuously available to the user. To obtain measurement
outputs, the serial UART interface between the 78M6612 and the host processor must be set up and is
described in the next section.
6612_OMU_S2+2_URT_V1_14 Firmware Description Document UG_6612_017
6 Rev. 1.0
3 Serial Communication
The serial communication with the 78M6612 takes place over a UART (UART0) interface. The default
settings for the UART of the 78M6612, as implemented in this firmware, are given below:
Baud Rate: 38400bps
Data Bits: 8
Parity: None
Stop Bits: 1
Flow Control: Xon/Xoff
The host’s serial interface port is required to implement these settings on its UART. To verify
communication between the host and the 78M6612, the host must send a <CR> (carriage return) to the
78M6612. Communication is verified when the 78M6612 returns a > (greater than sign) known as the
command prompt. An example is given below:
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.

78M6612-DB/OMU-USB

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Power Management IC Development Tools Omu Demo Kit
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet