beautypg.com

Introduction, 2 description of basic measurement equations, Description of basic measurement equations – Maxim Integrated 6612_OMU_S2+2_URT_V1_14 User Manual

Page 5: Table 1: measurement equations definitions, 1 introduction

background image

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 as “Wideband” (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.