Top

Sonoma (MAXREFDES14#): Isolated Energy Measurement Subsystem Reference Design

MAXREFDES14

Reference Design Disclaimer See the  Important Notice and Disclaimer  covering reference designs and other Maxim resources.

Description

Introduction

The Sonoma (MAXREFDES14#) energy measurement subsystem reference design provides galvanic isolation from the system with a single pulse transformer while using resistors as the sensing elements. The result is a small, cost-optimized board. AC measurement applications often require galvanic isolation to protect the system and user from high voltages. This is typically accomplished by either using bulky voltage/current transformers for sensors or by isolating the data and power interface to the measurement subsystem. These approaches, however, consume a considerable amount of space and come with hidden costs and design challenges.

The Sonoma design utilizes an isolated energy measurement processor (MAX78615+LMU); a multichannel, precision analog-to-digital converter (ADC) (MAX78700); a pulse transformer; optional 20MHz crystal oscillator, and the appropriate sense resistors for converting AC voltage and current into measurable signals. With the embedded load monitoring unit (LMU) firmware and nonvolatile storage of calibration and configuration data, Sonoma is a complete measurement subsystem ready for integration into any design.

Applications

  • Lighting control systems
  • Commercial and industrial automation
  • Renewable energy systems
  • Electric vehicle charging systems
  • Smart home applications

Competitive Advantages

  • On-chip nonvolatile storage of calibration and configuration parameters
  • Full galvanic isolation with a single transformer
  • Small board size
  • Lower BOM cost

Features

  • High-accuracy power measurement
  • High-voltage galvanic isolation
  • Preset gain/offset parameters
  • On-board 4mΩ current sensing resistor with a good temperature coefficient
  • On-board voltage sensing resistor divider with a ratio of 2667:1 with good temperature coefficient
  • Universal AC input voltage range from 90 to 264VAC
  • Pluggable terminals for AC (8A max)
  • Small printed-circuit board (PCB) area
  • Device drivers
  • Example C source code
  • Configuration files for Xilinx® LX9 and ZedBoard™ platforms
  • Pmod™-compatible form factor

  • MAXREFDES14

    Using Sonoma's (MAXREFDES14) high-accuracy design, you can quickly create an isolated energy measurement subsystem with high-voltage galvanic isolation. MAXREFDES14

  • maxrefdes14fig00

    maxrefdes14fig00

Using Sonoma's (MAXREFDES14) high-accuracy design, you can quickly create an isolated energy measurement subsystem with high-voltage galvanic isolation.

Icon

Designed, Built, Tested

Board pictured here has been fully assembled and tested.

 

Details Section

Details Section

Introduction


More detailed image
(PNG)

AC measurement applications often require galvanic isolation to protect the system and user from high voltages. This is typically accomplished by either using bulky voltage/current transformers for sensors or by isolating the data and power interface to the measurement subsystem. These approaches, however, consume a considerable amount of space and come with hidden costs and design challenges.

The Sonoma (MAXREFDES14#) energy measurement subsystem reference design provides galvanic isolation from the system with a single pulse transformer while using resistors as the sensing elements. The result is a small, cost-optimized board.

The Sonoma design utilizes an isolated energy measurement processor (MAX78615+LMU); a multichannel, precision analog-to-digital converter (ADC) (MAX78700); a pulse transformer; optional 20MHz crystal oscillator, and the appropriate sense resistors for converting AC voltage and current into measurable signals. With the embedded load monitoring unit (LMU) firmware and nonvolatile storage of calibration and configuration data, Sonoma is a complete measurement subsystem ready for integration into any design.

Figure 1. The Sonoma subsystem design block diagram.
Figure 1. The Sonoma subsystem design block diagram.

Detailed Description of Hardware

Sonoma connects to Pmod-compatible field-programmable gate array (FPGA)/microcontroller development boards. The Pmod specification allows for both 3.3V and 5V modules as well as various pin assignments. Sonoma requires a supply voltage of 3.3V from the Pmod connector and uses the SPI pin assignments as illustrated here.

Table 1 shows the power requirements. Table 2 shows currently supported platforms and ports.

Table 1. Power Requirement for the Sonoma Subsystem Reference Design

Power Type Input Voltage (V) Input Current (mA, typ)
On-board power 3.3 8.4

Table 2. Supported Platforms and Ports

Supported Platforms Ports
LX9 platform (Spartan®-6) J5
ZedBoard platform (Zynq®-7020) JA1

Figure 1 shows the block diagram of the Sonoma reference design. The system utilizes the isolated MAX78615+LMU measurement processor, a single MAX78700 data converter, and resistive sensors for measuring 2-wire AC loads up to 8A.

The MAX78615+LMU energy measurement processor sits in the isolated domain of the system, simplifying integration into existing low-voltage domains found in many embedded systems. Pages of the internal flash memory are reserved for storing configuration and calibration data.

The MAX78700 analog-to-digital data converter (ADC) connects to the MAX78615+LMU processor through a single pulse transformer. The MAX78700 receives timing, configuration data, and power from the MAX78615+LMU, across the isolation barrier, utilizing Maxim’s unique remote sensor technology. The MAX78700 responds with converted data samples of the voltage, current, and die temperature.

The All Design Files section contains schematics, layout files, Gerbers, and firmware necessary for immediate porting to your system. The board is configured for an SPI interface between the MAX78615+LMU and the host system and design files support this mode. Removing R10 places the device in UART mode. For more information, refer to the MAX78615+LMU data sheet on host interface options and protocols if using the UART interface is necessary.

The MAX78615+LMU device on the Sonoma contains a fixed set of preprogrammed scaling factors (optimized for a given bill of materials) in the nonvolatile memory to perform proper voltage, current, and power calculations. The resulting measurement accuracy in this case is directly related to the initial tolerance of the passive components found in the sense circuit. The Sonoma reference design utilizes fixed gain coefficients and offsets that were derived from looking at ten (10) initial units. Refer to the scaling registers section in the MAX78615+LMU data sheet for more information.

  • Scaling Factors Used by Host:
    • Full Scale Voltage (VFSCALE) = 667Vpk
    • Full Scale Current (IFSCALE) = 50Apk
  • Gain/Offset Parameters (value)
    • Offset for die temperature (0x3F88)
    • Gain for voltage sensor (0x208907)
    • Gain for current sensor (0x28BB1E)
    • RMS (noise) offset for IRMS (0x735)

Use the formulas below to calculate the RMS voltage, RMS current, and power.

Equation 1.

Detailed Description of LX9/ZedBoard Firmware

Table 2 shows the currently supported platforms and ports. Support for additional platforms may be added periodically under Firmware Files in the All Design Files section.

The Sonoma firmware released for the LX9 development kit targets a Microblaze soft core microcontroller placed inside a Xilinx Spartan®-6 FPGA. The Sonoma firmware also supports the ZedBoard kit and targets an ARM® Cortex® -A9 processor placed inside a Xilinx Zynq system-on-chip (SoC).

The firmware allows for immediate interfacing to the MAX78615+LMU, for register read and write commands. Figure 2 shows the simple process flow. The firmware is in C, developed using the Xilinx SDK tool, based on the Eclipse open-source standard. Custom Sonoma-specific design functions (driver in the maximDeviceSpecificUtilities.c file) were created utilizing the standard Xilinx XSpi core version 3.03a.

Figure 2. The Sonoma firmware flowchart.
Figure 2. The Sonoma firmware flowchart.

The firmware accepts register read or write commands. The complete source code is provided to speed customer development. Code documentation can be found in the corresponding firmware platform files.

Quick Start

Required equipment:

  • Windows® PC with two USB ports
  • 120V AC outlet or a test equipment that can generate 120VAC (e.g., Fluke 6100A)
  • An AC load
  • Sonoma (MAXREFDES14#) board
  • Sonoma-supported platform (i.e., LX9 development kit or ZedBoard kit)

Download, read, and carefully follow each step in the appropriate Sonoma Quick Start Guide:

Sonoma (MAXREFDES14#) LX9 Quick Start Guide
Sonoma (MAXREFDES14#) ZedBoard Quick Start Guide

Lab Measurements

Equipment:

  • Fluke 6100A electrical power standards
  • Fluke true RMS multimeters
  • Windows PC
  • Sonoma (MAXREFDES14#) board

Take special care and use proper equipment when testing the Sonoma design. Duplication of the presented test data requires an AC source with high accuracy.

Figure 3 shows the measured power accuracy of a random Sonoma board over load current. The error is less than ±3% with a fixed set of gain/offset coefficients for the sensors. Calibration of the sensors would achieve higher accuracy. Lower current levels produce higher errors, because the measurable signal is closer to the noise level. Averaging multiple data reads or increasing the accumulation interval of the MAX78615+LMU reduces the relative error.


Figure 3. Power accuracy, 23.5mA to 7.9A at 120VRMS/60Hz and room temperature.

ARM is a registered trademark and registered service mark of ARM Limited.
Cortex is a registered trademark of ARM Limited.
Eclipse is a trademark of Eclipse Foundation, Inc.
MicroBlaze is a trademark of Xilinx, Inc.
Nexys is a trademark of Digilent Inc.
Pmod is a trademark of Digilent Inc.
Spartan is a registered trademark of Xilinx, Inc.
Windows is a registered trademark and registered service mark of Microsoft Corporation.
Xilinx is a registered trademark and registered service mark of Xilinx, Inc.
ZedBoard is a trademark of ZedBoard.org.
Zynq is a registered trademark of Xilinx, Inc.

Parametrics

Input Type Vin(Min) Vin(Max) Iout(Max) Single/Multiple Output Vout(V) Pout(W) Isolated/Non-Isolated Topology
AC - - - - - - Isolated -

Parametrics

Input Type AC
Vin(Min) -
Vin(Max) -
Iout(Max) -
Single/Multiple Output -
Vout(V) -
Pout(W) -
Isolated/Non-Isolated Isolated
Topology -

Maxim Devices (2)

Part Number Name Product Family Order Design kits and evaluation modules
MAX78615+LMU Isolated Energy Measurement Processor for Load Monitoring Units Metering and Energy Measurement Buy Now Design Kits
MAX78700 Multichannel, Isolated, Precision ADC Metering and Energy Measurement Buy Now Design Kits

Maxim Devices (2)

Part Number Product Family
Metering and Energy Measurement
Isolated Energy Measurement Processor for Load Monitoring Units
Metering and Energy Measurement
Multichannel, Isolated, Precision ADC

Design Files (11)

Title Type Size Date
maxrefdes14-cad-ra ZIP 123KB 2017-11-01
MAXREFDES14BMA.xls PDF 10KB 2017-11-03
rd14v01_00 ZIP 38MB 2017-11-01
CAM output PDF 97KB 2017-11-01
No Title PDF 673KB 2019-07-09
maxrefdes14_cad_rc ZIP 153KB 2019-07-09
No Title PDF 90KB 2019-07-09
rd14_lx9_v01_00 ZIP 26MB 2019-07-09
MAXREFDES14BMB.xlsx PDF 10KB 2019-07-09
rd14v02_00 ZIP 39MB 2019-07-09
rd14_zed_v01_00 ZIP 11MB 2019-07-09
Date Type
2017-11-01

maxrefdes14-cad-ra

(ZIP, 123KB)

2017-11-03

MAXREFDES14BMA.xls

(PDF, 10KB)

2017-11-01

rd14v01_00

(ZIP, 38MB)

2017-11-01

CAM output

(PDF, 97KB)

2019-07-09

No Title

(PDF, 673KB)

2019-07-09

maxrefdes14_cad_rc

(ZIP, 153KB)

2019-07-09

No Title

(PDF, 90KB)

2019-07-09

rd14_lx9_v01_00

(ZIP, 26MB)

2019-07-09

MAXREFDES14BMB.xlsx

(PDF, 10KB)

2019-07-09

rd14v02_00

(ZIP, 39MB)

2019-07-09

rd14_zed_v01_00

(ZIP, 11MB)

Applications

MAXREFDES14 Related Videos

View All Videos