single-phase energy meter solution for advanced applications · single-phase energy meter solution...

28
L N v AC I LOAD, (OPA) PGA112 OPA4376 (4 Gain Stages) Concerto F28M35 3.3 V TLV1117 LDO AFE032 + PLC COUPLING CIRCUIT LCD Display I LOAD, (PGA) TI Designs Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation that you need Single-Phase Energy Metering with ±0.5% including methodology, testing and design files to Accuracy Using Concerto™ F28M35 MCU quickly evaluate and customize and system. TI Independent Metrology Processing Core Frees Up Designs help you accelerate your time to market. Host Processor’s (Cortex ® -M3) Bandwidth for Communications, Diagnostics, Tamper Protection, Design Resources and Display Integrated Independent C28x MCU Provides the Design Folder TIDM-EMETER-CORTEXM3 CPU for Power-Line Communications, Which F28M35H52C1 Product Folder Support the Prime, G3, and OPA4376 Product Folder IEEE-1901.2 Standards PGA112 Product Folder Dynamic Range of 6.67:1 per Gain Stage, or AFE032 Product Folder 2000:1 Using All Four Gain Stages TLV1117-33 Product Folder Easy Calibration and Energy Metering: No SN74LVC2G07 Product Folder Metrology Coding Required to Configure the Metrology Registers and Read the Results Optional PGA112 Provided to Increase Number of ASK Our E2E Experts Gain Stages and Achieve Higher Dynamic Range WEBENCH® Calculator Tools and Accuracy Featured Applications E-Meter with Integrated PLC for Monitoring E-Meters with Host Application, Metrology, and PLC on a Single Chip Requiring 32-Bit Processing Power Grid Infrastructure Meters An IMPORTANT NOTICE at the end of this TI reference design addresses authorized use, intellectual property matters and other important disclaimers and information. Concerto, C2000, Code Composer Studio are trademarks of Texas Instruments. Cortex, ARM are registered trademarks of ARM Holdings plc. All other trademarks are the property of their respective owners. 1 TIDU386 – June 2014 Single-Phase Energy Meter Solution for Advanced Applications Submit Documentation Feedback Copyright © 2014, Texas Instruments Incorporated

Upload: others

Post on 19-Oct-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

L NvAC

ILOAD, (OPA)

PGA112

OPA4376(4 Gain Stages)

ConcertoF28M35

3.3

V

TLV1117 LDO

AFE032+

PLC COUPLING CIRCUIT

LCD Display

ILOAD, (PGA)

TI DesignsSingle-Phase Energy Meter Solution for AdvancedApplications

TI Designs Design FeaturesTI Designs provide the foundation that you need • Single-Phase Energy Metering with ±0.5%including methodology, testing and design files to Accuracy Using Concerto™ F28M35 MCUquickly evaluate and customize and system. TI • Independent Metrology Processing Core Frees UpDesigns help you accelerate your time to market. Host Processor’s (Cortex®-M3) Bandwidth for

Communications, Diagnostics, Tamper Protection,Design Resources and Display• Integrated Independent C28x MCU Provides theDesign FolderTIDM-EMETER-CORTEXM3

CPU for Power-Line Communications, WhichF28M35H52C1 Product Folder Support the Prime, G3, andOPA4376 Product Folder IEEE-1901.2 StandardsPGA112 Product Folder

• Dynamic Range of 6.67:1 per Gain Stage, orAFE032 Product Folder2000:1 Using All Four Gain StagesTLV1117-33 Product Folder

• Easy Calibration and Energy Metering: NoSN74LVC2G07 Product FolderMetrology Coding Required to Configure theMetrology Registers and Read the Results

• Optional PGA112 Provided to Increase Number ofASK Our E2E ExpertsGain Stages and Achieve Higher Dynamic RangeWEBENCH® Calculator

Tools and Accuracy

Featured Applications• E-Meter with Integrated PLC for Monitoring• E-Meters with Host Application, Metrology, and

PLC on a Single Chip Requiring 32-Bit ProcessingPower

• Grid Infrastructure Meters

An IMPORTANT NOTICE at the end of this TI reference design addresses authorized use, intellectual property matters and otherimportant disclaimers and information.

Concerto, C2000, Code Composer Studio are trademarks of Texas Instruments.Cortex, ARM are registered trademarks of ARM Holdings plc.All other trademarks are the property of their respective owners.

1TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 2: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

System Description www.ti.com

1 System DescriptionThis design, featuring the F28M35 Concerto dual-core microcontroller, implements a highly integratedsolution for electricity metering featuring programmable metrology software and hardware. The metrologycore is independent of the main core, freeing up the ARM® Cortex-M3’s bandwidth to run communications,diagnostics, and any user-defined host application. Additional hardware is provided to support power-linecommunications using the C2000™ core of the Concerto and the AFE032 PLC front-end.

2 Design FeaturesThe F28M35 Concerto microcontroller is a dual-core controller featuring an ARM Cortex-M3 and a C2000core. Dedicated metrology processing hardware offloads the calculation-intensive processes from themain cores, freeing them up to run other host applications and reduce development time.

The designer can configure and calibrate the metrology hardware by simply configuring the metrologycontrol registers from the M3 core and initializing the metrology hardware. Following this, the metrologyhardware samples the onboard 12-bit ADCs, filters and processes the voltage and current signals, andmeasures the RMS voltage, current, active, and reactive power and power factor. The advanced signal-processing algorithms run by the metrology hardware ensure an accuracy of 0.5% for a dynamic range of6.66:1 even with a 12-bit ADC. The dynamic range is increased to 2000:1 using four analog gain stages.The metrology hardware has a built-in automatic gain stage selection, and the designer can calibrate eachgain stage individually to achieve maximum accuracy.

The main processing core in this controller is a powerful ARM Cortex-M3, clocked at 75 MHz. This core isresponsible for all communications, diagnostics, and for initializing and controlling the metrology hardware.With a wide variety of communications peripherals and 32 KB of dedicated RAM, the ARM core is capableof running any user-defined host application. With the metrology hardware taking care of the main signalprocessing, almost the entire bandwidth of the ARM core is available for a user application.

The secondary core is a 150-MHz C28 floating point DSP core. This core can be used to run additionalsignal processing and control algorithms. Future releases of this design will also have software support torun power-line communications from the C28 core, making this solution a single-chip metrology and PLCsolution.

2 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 3: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

Gain ADC 1

CurrentSensor

(Shunt/CT)

AGC ADC 2

Load

V +

V ±

I + I ±

www.ti.com Block Diagrams

3 Block DiagramsFigure 1 shows typical connections for a single phase electricity meter. The voltage sensor circuit isnormally realized using a resistor divider that uses high-precision and low-drift resistors. The currentsensor is either a shunt resistor (for low-cost, nonisolated applications) or a current transformer (for non-intrusive, isolated measurement). The outputs of these transducers is then fed to a pre-amplification stagethat uses differential amplifiers by using TI’s OPA4376 precision, low noise quad-op amp. The currentfrom the op amps is fed to four separate gain stages to widen the dynamic range of the current andimprove accuracy. This design can also use a TI PGA112 programmable gain amplifier instead of the opamps to realize variable gain is also provided.

Figure 1. Typical Connections Inside an Electricity Meter

In the following sections, this reference will provide more information on the current and voltage sensors,ADCs, and so on.

3TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 4: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

-

+

U4C

OPA4376

10

98

41

1

A3V3

R54 56

A3V3

C600.1uF

C551uF

C620.1uF

C610.1uF

C640.1uF

C630.1uF

R56 10

C560.1uF

DC_BIAS

AGND AGNDAGNDAGNDAGNDAGNDAGNDAGND

R55 22k

R6222k

AGND

C571uF

AGND

C580.1uF

AGND

C591uF

AGND

Voltage Input

Current Input

ADC116 Channel

Dual S/H

MetrologyEngine

Config Regs

Result Regs

ARM Cortex M375 MHz

C28x DSP150 MHz

AIO

MU

X

Ana

log

Com

mon

Inte

rfac

e B

us

IPC

Circuit Design and Component Selection www.ti.com

Figure 2 shows a detailed block diagram of the high level interface used for a single-phase electricitymeter. A current transformer (CT) connected to the live side measures the current drawn by the load. TheCT has an associated burden resistor that has to be connected at all times to protect the measuringdevice. The choice of CT and burden resistor is done based on the manufacturer and the current rangerequired for energy measurements. The CT can be easily replaced by a Rogowski coil with minimalchanges to the front end. Voltage divider resistors for the voltage channel ensure the mains voltagedivides down to adhere to normal input voltage range of the amplification circuit. The signal-conditioningcircuits used for both current and voltage are discussed in detail in the following sections.

Figure 2. Block Diagram of Concerto-Based Electricity Meter

4 Circuit Design and Component SelectionThis section describes various pieces that constitute the hardware for design of a working single-phaseelectricity meter that uses the F28M35 microcontroller.

4.1 Power SupplyThe power supply for the main system derives from the mains using an isolated switching converter. Thisconverter provides an output voltage of 15 V for the system. The microcontroller and amplification circuitsrun on a 3.3-V rail, which is derived from the 15-V rail using a TLV1117 adjustable low-dropout voltage(LDO) regulator set to give an output voltage of 3.3 V.

4.2 Analog Inputs

4.2.1 DC Bias GenerationBoth the voltage and current sense blocks use a differential amplifier to increase the incoming signals andfeed the conditioned signal to the ADC of the microcontroller. The output of these amplifiers centers on aDC bias equal to half the supply voltage. Therefore, for a 3.3-V MCU, the DC bias is set at 1.65 V. Thisvoltage is generated using one of the op amps of the OPA4376 quad-op amp. Figure 3 illustrates thecircuit used to generate the DC bias.

Figure 3. DC Bias Generation Circuit

4 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 5: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

( )( )OUT + –

8.25 kV = V × + 1.65 V

8.25 k + 5 × 340 k– V

www.ti.com Circuit Design and Component Selection

4.2.2 Voltage InputThe voltage sense block should sense both positive and negative voltages since it is used to measure theline voltage. Therefore, a differential amplifier is used with an attenuation to scale the voltage down to theinput voltage range acceptable by the ADC. The signal is also shifted by 1.65 V (the DC bias). Therefore,negative voltages appear between 0 and 1.65 V and positive voltages between 1.65 and 3.3 V.

The output of the amplifier is given by:

(1)

Thus, a voltage input of 0 V gives an output of 1.65 V, and the maximum deflection is ±340 V. The outputfor –340 V is 0 V and 340 V is 3.3 V.

4.2.3 Current InputThe target accuracy for active power measurement is ±0.5% over a current dynamic range of 2000:1 (0.05to 100 A). Quantization error analysis was applied to determine the number of bits required to achieve±0.5% active power accuracy, and nonlinearity of the 12-bit ADC was also taken into consideration.

The required dynamic range is 2000:1, or approximately 66 dB. Therefore, the total number of bitsrequired is approximately 11 bits. However, the design requires even more bits to achieve an accuracy of±0.5% over the entire dynamic range. Figure 4 shows the quantization error analysis used to determinethe number of bits required for achieving this accuracy.

Figure 4. Quantization Error Analysis

From the output graph, an error of less than 0.5% needs at least four extra bits. This outcome brings thetotal number to 16 bits.

The ADC on the F28M35 MCU is a 12-bit ADC. However, the lower three bits are nonlinear and cannot becalibrated. Therefore, we are left with only nine effective bits. To overcome the shortage of bits, multiplegain stages have been implemented to reduce the effective dynamic range seen by the ADC while stillmaintaining the required accuracy and dynamic range of current to be measured. Ideally, three gainstages are sufficient with the last gain stage having a gain of x64. This design implemented four gainstages with the following gains:• First gain stage (x2.2): 15 to 100 A• Second gain stage (x6.8): 2 to 15 A• Third gain stage (x51): 0.3 to 2 A• Fourth gain stage (x330): 0.05 to 0.3 A

5TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 6: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

R31

TBD C45TBD

I1_S

R37 10KR39 10K R40 TBD

-

+

U3B

OPA4376

5

67

41

1

-

+

U3C

OPA4376

10

98

41

1

AGND

AGND

AGND

-

+

U3D

OPA4376

12

1314

41

1

AGND AGND

AGND AGND AGND

I1_1S

R23 56

I1_3SI1_2S I1_4S

C382.2nF

AGND

R24 56

AGND

C392.2nF

C402.2nF

R25 56

AGND

R26 56

C412.2nF

AGND

DC_BIAS

J8

TSW-102-07-F-S

12

R27

TBD

DC_BIAS

-

+

U3A

OPA4376

3

21

41

1

A3V3

AGND

R41 0

R116 0 / DNP

R43 22k

C49 200pF

R28

22k

C42

200pF

R3410

PWM

C472.2nF

R33 10k

R42 10k

A3V3

R35 10K

R44 160k

C50 TBD

R36 10K

A3V3

C51 TBD

R45 680k

C48TBD

C46TBD

DC_BIAS

A3V3

R38 TBD

R46 TBD

C52 TBD

DC_BIAS

R32 0

C43TBD

R29

TBDC44TBD

R30

TBD

Software Description www.ti.com

The first gain stage is used to feed the second, third, and fourth gain stages. Therefore, the gains of thelast three gain stages listed above are additional gains over the existing x2.2 gain provided by the firststage.

Figure 5 shows the current sense circuit used in this design.

Figure 5. Current Sense Circuitry

5 Software DescriptionThis section discusses the software for the implementation of single phase metrology using the Concertodevice. The first subsection discusses the initialization of the metrology hardware. The next subsectiondescribes the calibration and usage of this metrology hardware. The design guide then covers theconfiguration registers and result registers as well as their respective address.

5.1 Initializing the Metrology LibraryThe metrology library can be used to access the metrology hardware. The library consists of structuresand functions used to initialize, calibrate, and store results. The library’s initialization function needs to becalled in the beginning to initialize the hardware. The initialization also takes care of initializing the relevantADC channels, setting up the ADC trigger, and sampling the ADC. The function also initializes the GPIOsconnected to the pulse LEDs of the meter as outputs. The pulses from these GPIOs can measure thepower as well as calibrate the meter using a metering test setup.

The metrology library also contains an interrupt service register (ISR) that is triggered when the metrologyhardware measures the passage of one second. This ISR is used to read the result registers of themetrology block and store the active, reactive, and apparent powers and the RMS voltage and current in astructure that can be read by the M3. The basic software flow is described in the flowcharts in Figure 6.This chart presents a basic dummy application, and the designer can modify the “infinite loop” shown inthe main program flow to perform the function of a host application.

6 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 7: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

CONFIGURE CLOCKS AND PERIPHERALS

LOAD CALIBRATION DATA

INITIALIZEMETROSUITE

INTIALIZE IPC ANDMETROSUITE

COMMS

INITIALIZE NVIC ANDENABLE GLOBAL

INTERRUPTS

BLINK RED

READ POWERMEASURMENTS

STARTMETROSUITE

ISR

RETURN

INFINITELOOP

www.ti.com Software Description

Figure 6. Metrology Software Flowchart

5.1.1 Metrology Library Functions and Data StructuresThis section describes the functions and data structures that are used to communicate with the metrologyblock from the M3 core. The calibration data is stored in the structure “Calibration_Const” and is loadedinto the metrology block using the function "LoadCalData()".

The function and structure prototypes are defined in the header file “metroSUITE.h”, which should beincluded when using the library. Additionally, the library file “metroSUITE.lib” should be added to the CodeComposer Studio™ (CCS) project and listed as a library under the Linker File Search Path settings of theCCS project as shown in Figure 7.

Figure 7. Adding the metroSUITE.lib File as a Library

7TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 8: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

typedef struct

{

//Current gain calibration

volatile long Gain_S1; //Current gain calibration for stages 1-4

volatile long Gain_S2;

volatile long Gain_S3;

volatile long Gain_S4;

//Power gain calibration

volatile long PGain_S1; //Power calibration for stages 1-4

volatile long PGain_S2;

volatile long PGain_S3;

volatile long PGain_S4;

//One Tick thresholds

volatile long Tick_S1; //One tick energy threshold for stages 1-4

volatile long Tick_S2;

volatile long Tick_S3;

volatile long Tick_S4;

//Fractional phase delay

volatile long FracD1; //Voltage fractional phase delay for stages 1-4

volatile long FracD2;

volatile long FracD3;

volatile long FracD4;

}Calibration_Const;

Software Description www.ti.com

Calibration_Const and LoadCalData()Calibration_Const is a structure that contains the calibration data. The designer can load this structure intothe metrology block at any time using the LoadCalData() function. The metrology block reads the values toperform calculations on current, voltage, and power. The structure members are described in Figure 8:

Figure 8. Calibration_Const Structure Definition

The structure calibrates the current gain first to reduce the error introduced by the CT and the gain stages.The structure calibrates the power gain to eliminate the error due to the fixed point calculations performedin the metrology hardware. The structure calibrates the fractional phase to compensate for the phase shiftof the CT. This compensation is important when calibrating the meter at 60⁰ and –60⁰.The energy threshold for one pulse is different for each gain stage. This information is stored in the one-tick threshold variables, Tick_Sx.

The function used to load the calibration values into the metrology block isLoadCalData(Calibration_Const Kx). This function takes a structure of type Calibration_Const as anargument and copies the values stored in Calibration_Const to the memory locations that the metrologyblock reads from.

Metrology Lib Initialization FunctionsMetrology Lib can be initialized by simply calling three initialization functions during the initialization phaseof the main code. The functions are listed here:• void metroSUITE_Init(void);

– This function initializes the metrology block and the associated peripherals, such as the ADC andGPIOs used for metrology.

• void metroSUITE_INT1_EN();– This function enables the M3 core's metrology interrupt to service interrupts generated by the

metrology block and read the output result data. The designer should call this function after theNVIC and NVIC vector table have been initialized.

• void metroSUITE_Comms_Init();– This function initializes the common interface bus, which is used to communicate with the metrology

block. The designer should call this function once the metrology interrupt and global interrupts areenabled.

Calling these three functions in this order will initialize the metrology block and periodically generateinterrupts that feed the power measurement results into the M3.

8 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 9: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

www.ti.com Meter Demo

Metrology Result RegisterThe M3 reads the results generated by the metrology block during the metroSUITE ISR by the M3 andstores these results in the structure “metroSUITE_ResultRegs”. “metroSUITE_Results” is a variable ofdata type “metroSUITE_ResultRegs” that stores the results of the metrology measurements. Table 1describes the members of this structure.

Table 1. metroSUITE_ResultRegs Structure Member Descriptions

STRUCTURE MEMBER DATA TYPE DESCRIPTION (FORMAT)freq Unsigned long int Period of line frequency (IQ 1.15)

voltRMS Signed long RMS voltage (IQ 22)currRMS Signed long RMS current (IQ 22)actPwr Signed long Active power

reactPwr Signed long Reactive powerappPwr Signed long Apparent power

pwrFactor Signed long Power factor (IQ 1.8)

6 Meter DemoThe energy meter evaluation module (EVM) associated with this reference design has the F28M35 anddemonstrates energy measurements. The complete demonstration platform consists of the EVM that canbe easily hooked to any test system and the metrology software that can be calibrated using the JTAGdebug interface and CCS.

9TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 10: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

PLC

LCD display and LEDs for power display and calibration

ePWMs, SPI/eQEP, eCAP

PGA112

DSPF28M35

6 ADC inputs

Current + voltagecond. circuit

CT input

Input filter

AC-DC: 15 VLDO: 3.3 V

AFE032

Neutral

Line

EA

RT

H

UART

Meter Demo www.ti.com

6.1 EVM OverviewThe following figures of the EVM describe the hardware. Figure 9 is the top view of the energy meter. Figure 10 illustrates the location of variouscircuit blocks of the EVM based on functionality.

Figure 9. Top View of the Single-Phase Energy Meter EVM Figure 10. Top View of the EVM with Components Highlighted

10 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 11: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

www.ti.com Meter Demo

6.1.1 Connections to Test Setup or AC VoltagesAC voltage or currents can be applied to the board for testing purposes at these points:• LINE corresponds to the line connection.• NEUTRAL corresponds to the connection to the neutral wire.• EARTH corresponds to the earth connection.• CT Input is the point where the inputs from the current transformer are fed into the system.

Figure 11 shows a front view of the EVM with connections for current inputs.

Figure 11. Front View of the EVM with Test Setup Connections

6.1.2 Loading the Example CodeThe source code was developed in CCS v5.5. Older versions of CCS may not open this project.

Opening the ProjectThe folder “m3” contains the source codes, header files, and the metrology library. The library is stored inthe folder labeled “metroSUITE”. For first time use, both projects should be completely rebuilt byperforming the following steps:1. Open CCS.2. Click on Project, then Import Existing CCS Eclipse Project.3. Browse to the “m3” folder.

(a) Find two projects under the folder “csl_f28m35x_m3”, which is the chip support library and“flash_m3”, the metrology project.

(b) Open “flash_m3”.4. Once the project is open, right click on the project and select Build. The project should build with zero

errors.

11TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 12: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

Meter Demo www.ti.com

Flashing the EVM and Calibrating from CCSOnce the project has been built and the board is safely connected to a test setup, the code must beflashed into the microcontroller before testing. Once the board is powered up, connect a JTAG emulator tothe board and the PC. The designer should follow these steps while calibrating from CCS:1. Click on the Debug button on the CCS window to launch the debug session.2. Once the code has been loaded onto the board, add “_defaults”, “metroSUITE_Results”, and

“CalUpdateFlag” to the watch window.3. Disconnect the emulator from the M3 core by clicking Disconnect Target from the Debug tab

(see Figure 12).

Figure 12. Connecting and Disconnecting the Target from CCS

4. Power cycle the board. The red LED should blink every second, indicating that the metrology code isnow running.

5. Connect the target by clicking on Connect Target. This command will pause program execution, andthe meter is now ready to calibrate.

6. Enter the initial calibration data in the watch window under “_defaults”.7. Set CalUpdateFlag to “1”. This input will make the M3 call the LoadCalData() function and update the

calibration constants.8. Click on the Run button to begin code execution.9. Turn on Continuous Refresh in the watch window to view the output results and to change the

calibration values in real time (see Figure 13).

Figure 13. Activating Continuous Refresh

10. To calibrate the system on the fly, change the desired calibration constant under “_defaults” andtoggle CalUpdateFlag to “1”.

12 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 13: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

Input Current (A)

Err

or

(%)

0 20 40 60 80 100 120-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

D001Input Current (A)

Err

or

(%)

0 5 10 15 20 25-0.5

-0.4

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

0.4

0.5

D002

Test setup

Power and accuracy reading

Voltage input

Current input

Pulse detection for accuracy measurement

www.ti.com Test Results and Calibration

7 Test Results and Calibration

7.1 Metrology ResultsThe meter was tested using a metering test setup and calibrated to meet the accuracy requirement(±0.5%). Figure 14 shows the test setup used, and Figure 15 shows the accuracy test results, tested at230-V, 50-Hz AC.

Figure 14. Test Setup Connections

Figure 15. Left: Test Results (0.05 to 100 A); Right: Test Results (0.05 to 20 A)

13TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 14: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

11 11s

Pulses Base Base

3600 f 2 2 100011 tick = kWh/pulse

N I V

æ ö´ ´ ´ ´´ ç ÷

ç ÷´è ø

Test Results and Calibration www.ti.com

The meter was calibrated using the JTAG debugger and CCS Debug mode. The calibration constantswere adjusted, and current and power measurements were observed in real time. The voltage and currentare stored in Q22 format. Therefore, the calculated power is also in Q22 format. The value of the one-tickenergy can be calculated using the following formula:

where• VBase = 340 V• IBase = (150 A/Gain of the stage). (2)

The gains of the different stages are calculated relative to the first gain stage. Therefore, the IBase for thefirst stage is 150 A.

The gains for the subsequent stages are given below:• Stage 2: Gain = x6.8; IBase = 22.05 A• Stage 3: Gain = x51; IBase = 2.941 A• Stage 4: Gain = x330; IBase = 0.454 A

Substituting the above values in the one-tick energy equation, the focus shifts to the one-tick energyconstants for the different gain stages. The required pulse rate was set at NPulses = 600000 imp/kWh.

The calculated one-tick energies for each stage are given below:• Stage 1: 1 tick = 4934475• Stage 2: 1 tick = 33554432• Stage 3: 1 tick = 251658240• Stage 4: 1 tick = 1628376847

The calibration procedure followed for calibrating the board is as follows:1. Calibrate current and voltage AC gains based on RMS for each gain stage.2. Calibrate active power gain at 0°.3. Calibrate the fractional delay, θ requirement at 60°.4. Check accuracy at 0° again.

14 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 15: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

C215pF

C315pF

X1

ABM3B-20.000MHZ-10-1-U-T

X11

GN

D1

2

X23

GN

D2

4

C1 0.1uF

DGND

DGND

R12 DNP A3V3

DGNDDGND

GPIO27_B_PE3_SSI1TX_LCD_SDAGPIO26_B_PE2_SSI1RX_LCD_SDAGPIO25_B_PE1_SSI1FSS_LCD_CS

GPIO24_B_PE0_SSI1CLK_LCD_SCK

DGND

DGND

PLC_RX

C81 DNP DGND

GPIO3_B_PA3

GPIO54_B_PH6_SSI0TX_SPISIMOA

EMU0

GPIO0_B_PA0_LCD_C_D

EMU1

TDITCK

TDO

TRSTTMS

BOOT STRAP

R4

10k

R3

10k

R2

10k

R1

10k

R9DNP

R10DNP

R7DNP

R8DNP

C_ECAP3_GPIO9_B_PB1

GPIO3_B_PA3

TXDRVz_GPIO12_B_PB4

MDXA_SPISIMO_GPIO20MDRA_SPISOMI_GPIO21

3V3

MFSXA_SPISTE_GPIO23MCLKXA_SPICLK_GPIO22

C_SCIRXDA_GPIO28_B_PE4C_SCITXDA_GPIO29_B_PE5

GPIO1_AGPIO2_A

GPIO5_AGPIO4_AGPIO3_A

GPIO7_A

GPIO0_A

GPIO6_A

R6 261

R5 261

GPIO63_B_PJ7

GPIO59_B_PJ3GPIO60_B_PJ4GPIO61_B_PJ5

GPIO58_B_PJ2GPIO57_B_PJ1_SSI0FSS_SPISTEA

GPIO62_B_PJ6

GPIO56_B_PJ0_SSI0CLK_SPICLKA

GPIO68_B_PC4

GPIO71_B_PC7GPIO70_B_PC6GPIO69_B_PC5

ADC1A0

ADC1A3ADC1A2

ADC1A6ADC1A4

ADC1A7

ADC1B3

ADC1B7ADC1B4

ADC2A4

ADC2A2

ADC2B4

ADC2A6

I2_S

GPIO4_B_PA4

GPIO1_B_PA1_LCD_BL_EN

GPIO5_B_PA5

DAC_GPIO7_B_PA7INT_GPIO6_B_PA6

GPIO10_B_PB2

U22

AT24C1024B

NC1

A12

A23

GND4

VCC8

WP7

SCL6

SDA5

C151 0.1uF

DGND

R11 DNP

3V3

A3V3

GPIO11_B_PB3

GPIO13_B_PB5

M_I2C0SCL_GPIO15_B_PB7M_I2C0SDA_GPIO14_B_PB6

C_SPICLKA_GPIO18_B_PD2C_SPISTEA_GPIO19_B_PD3

GPIO30_B_PE6GPIO31_B_PE7

GPIO33_B_PF1GPIO32_B_PF0

GPIO36_B_PF4GPIO37_B_PF5

GPIO40_B_PG0

GPIO38_B_PF6

GPIO42_B_PG2GPIO41_B_PG1

GPIO45_B_PG5GPIO46_B_PG6

GPIO51_B_PH3

GPIO49_B_PH1GPIO48_B_PH0

GPIO53_B_PH5

GPIO50_B_PH2

GPIO52_B_PH4

GPIO55_B_PH7_SSI0RX_SPISOMIA

FLT1FLT2

R105 1k

DGND

3V3

D1 HSMH-C19012

D2 ASMT-RF45-AN00212

3V3U2

SN74LVC2G07DBVR

2Y4

Vcc5

2A3

GND2

1A1

1Y6

GPIO8_B_PB0_LCD_RST

3V3

GPIO52_B_PH4

R13

4.7k

EMU1EMU0

R17DNP

R16

4.7k

R15DNP

Default Bootmode Setting:EMU0:1EMU1:1

Wait-In-RESET Bootmode SettingEMU0:0EMU1:1

XCLK_GPIO34_B_PF2GPIO35_B_PF3

GPIO35_B_PF3

GPIO43_B_PG3

GPIO43_B_PG3

GPIO47_B_PG7

R18

2.2k

GPIO47_B_PG7

XCLK_GPIO34_B_PF2

C_SPISIMOA_GPIO16_B_PD0C_SPISOMIA_GPIO17_B_PD1

3V3R142.2k

R106 1k

3V3

DGNDDGND

F28M35x_144pin

U1A

B.PA0_GPIO05

B.PA1_GPIO16

B.PA2_GPIO27

B.PA3_GPIO38

B.PA4_GPIO49

B.PA5_GPIO512

B.PA6_GPIO613

B.PA7_GPIO714

B.PB0_GPIO815

B.PB1_GPIO918

B.PB2_GPIO1019

B.PB3_GPIO1120

B.PB4_GPIO1230

B.PB5_GPIO1331

B.PB6_GPIO1426

B.PB7_GPIO1527

B.PC4_GPIO6837

B.PC5_GPIO6938

B.PC6_GPIO7039

B.PC7_GPIO7140

B.PD0_GPIO16102

B.PD1_GPIO1798

B.PD2_GPIO1828

B.PD3_GPIO1929

B.PD4_GPIO2065

B.PD5_GPIO2164

B.PD6_GPIO2273

B.PD7_GPIO2368

B.PE0_GPIO2443

B.PE1_GPIO2545

B.PE2_GPIO2632

B.PE3_GPIO2733

B.PE4_GPIO2877

B.PE5_GPIO2976

B.PE6_GPIO3022

B.PE7_GPIO3123

B.PF0_GPIO32104

B.PF1_GPIO33103

B.PF2_GPIO3482

B.PF3_GPIO3581

B.PF4_GPIO3648

B.PF5_GPIO3751

B.PF6_GPIO3869

B.PG0_GPIO4049

B.PG1_GPIO4150

B.PG2_GPIO4271

B.PG3_GPIO4378

B.PG5_GPIO4572

B.PG6_GPIO4670

B.PG7_GPIO4752

B.PH0_GPIO4841

B.PH1_GPIO4942

B.PH2_GPIO5036

B.PH3_GPIO5135

B.PH4_GPIO5246

B.PH5_GPIO5347

B.PH6_GPIO5479

B.PH7_GPIO5580

A.GPIO0140

A.GPIO1141

A.GPIO2142

A.GPIO3143

A.GPIO4112

A.GPIO5111

A.GPIO6110

A.GPIO7109

A.XRSN144

ADC1A0121

ADC1A2122

ADC1A3123

ADC1A4124

ADC1A6125

ADC1A7126

ADC1B0117

ADC1B3116

ADC1B4115

ADC1B7114

ADC1VREFHI120

ADC2A0132

ADC2A2131

ADC2A3130

ADC2A4129

ADC2A6128

ADC2A7127

ADC2B0136

ADC2B3137

ADC2B4138

ADC2B7139

ADC2VREFHI133

B.PJ0_GPIO5663

B.PJ1_GPIO5762

B.PJ2_GPIO5861

B.PJ3_GPIO5960

B.PJ4_GPIO6057

B.PJ5_GPIO6156

B.PJ6_GPIO6253

B.PJ7_GPIO6397

B.TDI88

B.X193

B.X295

B.XRSN4

EMU083

EMU186

FLT116 FLT221

TCK89

TDO84

TMS87

TRSTN85

GPIO2_B_PA2

GPIO1_A

GPIO0_AI1_1S

I1_4S

I1_3SI1_2S

V1

M_I2C0SCL_GPIO15_B_PB7

M_I2C0SDA_GPIO14_B_PB6

DGND

C177 0.1uF

DGND

R136 100

R135 100

D11 SLR-342DC3F12

3V3

D12 SLR-342MC3F12

3V3U33

SN74LVC2G07DBVR

2Y4

Vcc5

2A3

GND2

1A1

1Y6

DGND

www.ti.com Design Files

8 Design Files

8.1 SchematicsTo download the schematics, see the design files at TIDM-EMETER-CORTEXM3.

Figure 16. F28M35

15TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 16: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

A3V3

GPIO3_A

J22

TSW-103-07-F-S

123

GPIO7_A

J23

TSW-103-07-F-S

123

DGND

C78

0.1uF

GPIO4_A

GPIO6_AGPIO5_A

AGND

H6

HOLE_4MM

1

H5

HOLE_4MM

1

J3

TSW-103-07-F-S

123

J21

TSW-103-07-F-S

123

DGND

C_ECAP3_GPIO9_B_PB1

DAC_GPIO7_B_PA7INT_GPIO6_B_PA6

GPIO8_B_PB0_LCD_RST

GPIO0_B_PA0_LCD_C_D

DGND

GPIO1_AGPIO2_A

GPIO0_A

J4

TSW-108-07-F-S

12345678

H1

HOLE_5MM

1

H3

HOLE_5MM

1

H2

HOLE_5MM

1

H4

HOLE_5MM

1

ADC1A6ADC1A4ADC1A3ADC1A2ADC1A0

ADC1A7GPIO1_B_PA1_LCD_BL_EN

GPIO3_B_PA3GPIO2_B_PA2

GPIO5_B_PA5GPIO4_B_PA4

C820.1uF

DGND

J18

TSW-108-07-F-S

12345678

J19

TSW-108-07-F-S

12345678

Additional ADC inputs Aria core GPIOs

J20

TSW-108-07-F-S

12345678

3V3

DGND

GPIO24_B_PE0_SSI1CLK_LCD_SCK

GPIO27_B_PE3_SSI1TX_LCD_SDAGPIO26_B_PE2_SSI1RX_LCD_SDA

GPIO25_B_PE1_SSI1FSS_LCD_CS

EPWM: GPIO0 - GPIO9EQEP/ECAP: GPIO24 - GPIO27

R66 56/DNP

C92

2.2

nF

R68 56/DNPR67 56/DNP

R70 56/DNPR69 56/DNP

R71 56/DNP

C93

2.2

nF

C9

42

.2n

F

C9

52

.2n

F

C9

62

.2n

F

C9

72

.2n

F

AGND

Place cap close to DSP's ADCinput and resistor near theconnector

AGND

C6

2.2uF

C7

2.2uF

C27

470n

F

C30

470n

F

C37

2.2uF

C2

84

70

nF

C2

94

70

nF

C16

2.2uF

C15

2.2uF

C22

2.2uF

C36

2.2uF

C3

34

70

nF

C3

24

70

nF

C17

2.2uF

C3

14

70

nF

C11

2.2uF

C24

2.2uF

C4

2.2uF

C9

2.2uF

C8

2.2uF

C21

2.2uF

C2

64

70

nF

R22 0

R21 0

C35

2.2uF

C34

2.2uF

F28M35x_144pin

U1B

VDD-11

VDD-108108

VDD-1111

VDD-2424

VDD-5555

VDD-5858

VDD-6666

VDD-7575

VDD-9191

VDD-9999

VDDA.PLL-9090

VDDA-119119

VDDA-134134

VSS.OSC94

VSSA-ADCVREFLO.1118

VSSA-ADCVREFLO.2135

A.VREGENZ113

B.VREGENZ101

VDDIO-1010

VDDIO-100100

VDDIO-105105

VDDIO-106106

VDDIO-107107

VDDIO-1717

VDDIO-22

VDDIO-2525

VDDIO-33

VDDIO-3434

VDDIO-4444

VDDIO-5454

VDDIO-5959

VDDIO-6767

VDDIO-7474

VDDIO-9292

VDDIO-9696

PP-GND1PP1 A3V3

DGND

DGND

DGND

AGND

DGND

DGND

AGNDAGND

DGND

3V3

*Place one of these2.2uF caps at eachcorner of the part

R20 0

R19 0

C12

2.2uF

C10

2.2uF

C18

2.2uF

C19

2.2uF

C23

2.2uF

C5

2.2uF

C14

2.2uF

C13

2.2uF

C20

2.2uF

C2

54

70

nF

Design Files www.ti.com

Figure 17. F28M35 Power

Figure 18. Connector

16 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 17: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

C1110.1uF

AGNDAGND

C1122.2nF

DGND

I1_S

3V3A3V3

GPIO54_B_PH6_SSI0TX_SPISIMOA

GPIO56_B_PJ0_SSI0CLK_SPICLKA

GPIO57_B_PJ1_SSI0FSS_SPISTEA

GPIO55_B_PH7_SSI0RX_SPISOMIAR82 0

R83

10k

R84

10k

R86

10k

3V3

R85

10kU6

PGA112

AVDD1

CH12

CH0/VCAL3

VREF4

VOUT5

DVDD10

CS9

DIO8

SCLK7

GND6

R79 56 / DNPI2_S

C1

08

2.2

nF

C109

0.1uF

C110

470nF

AGND

AGND

DGND

DC_BIAS

C143

0.1uF

C144

0.1uF

3V3

C145

470nF

A3V3

C146

0.1uF

R31

TBD C45TBD

I1_S

R37 10K

C700.1uF

R39 10K

A3V3

C710.1uF

C720.1uF

R40 TBD

Notes:1. R56 changed from 0 to 10 ohm due to oscillation.2. C59 to C64 is currently removed.

-

+

U4A

OPA4376

3

21

41

1

A3V3

R57 340k R58 340k

R49 340k

R59 340k

R48 340k R51 340k

R60 340k

R50 340k

R61 340k

R52 340k

R63 8.25k

R47

8.25k

C65 560pF

C53560pF

C67470nF

C690.1uF

C680.1uF

-

+

U3B

OPA4376

5

67

41

1

-

+

U3C

OPA4376

10

98

41

1

AGND

AGND

AGND

-

+

U3D

OPA4376

12

1314

41

1

AGND AGND

AGND AGND AGND

C730.1uF

C740.1uF

AGND DGND

AGND

I1_1S

R23 56

I1_3SI1_2S I1_4S

V1

C382.2nF

AGND

R24 56

AGND

C392.2nF

C402.2nF

R25 56

AGND

R26 56

C412.2nF

AGND

Line-H2

Line-H1

DC_BIAS

R64 220k

-

+

U4C

OPA4376

10

98

41

1

A3V3

R54 56

A3V3

C600.1uF

C551uF

C620.1uF

C610.1uF

C640.1uF

C630.1uF

R56 10

C560.1uF

DC_BIAS

AGND

DC_BIAS

AGNDAGNDAGNDAGNDAGNDAGNDAGND

J8

TSW-102-07-F-S

12

R27

TBD

C762.2nF

PWM

C661uF

GPIO2_B_PA2

R55 22k

R6222k

AGND

DC_BIAS

C571uF

AGND

C580.1uF

AGND

-

+

U3A

OPA4376

3

21

41

1

A3V3

AGND

R41 0

R116 0 / DNP

R43 22k

C49 200pF

R28

22k

C42

200pF

R3410

PWM

C472.2nF

R33 10k

R42 10k

A3V3

R35 10K

R44 160k

C50 TBD

R36 10K

A3V3

C51 TBD

R45 680k

C48TBD

C46TBD

C542.2nF

R53 56

AGND

DC_BIAS

C591uF

AGND

J16

TSW-103-07-F-S

123

A3V3

R38 TBD

R46 TBD

C52 TBD

DC_BIAS

R32 0

C43TBD

R29

TBDC44TBD

R30

TBD

www.ti.com Design Files

Figure 19. Metrology Front End

Figure 20. Metrology Front End 2

17TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 18: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

C129

1uF

AGND

C130

0.1uF

3V3

C131

0.1uF

AGND

TP9

GND

TP10

GND

TP11

GND

TP12

GNDC121

10uF/35V

C118

0.1uF

C122

10uF/35V

C123

470nF

C124

22uF/35V

15V

AGND

C126

10uF/35V

C127

1uF

C128

0.1uF

3V3

DGND

3V3 15V

XCLK_GPIO34_B_PF2

DAC_GPIO7_B_PA7

R87 DNPDGND

R88

DNP

3V3

R89

DNP

R90

DNP

R91

DNP

TP4 TSENSE

DGND

R92 DNPDGND

TXDRVz_GPIO12_B_PB4INT_GPIO6_B_PA6

R93 10k

3V3

R94 10kR95 10k

C132

10nF

C133

10nF

DGND DGND

TxLinePF

C134

4700pF

TP5

TXF OUT

C135

10nFC136

2.2nF AGND

TP6

DAC OUT

RxLineF

R96 0

AGND

TP7

RXF OUTC137

4700pF

R97 330

TP8

ADC_PLC_RX

AGND

PLC_RX

C1382.2nF

AFE032

U16

DGND1

DVDD2

SCLK3

DIN4

DOUT5

CS6

DAC7

SD8

INT9

XCLK10

AVDD111

AGND112

NC225PA ISET26RX_PGA1_IN27

TXRXNRF28 AGND2

29

AVDD230

DNC231 ZC IN332 ZC OUT333 DNC334 TSENSE35

ZC_OUT236 ZC_OUT137 ZC_IN238 ZC_IN139

PA_GND240

PA_GND141

PA_OUT242

PA_OUT143

PA_VS244

PA_VS145

DNC446 TX_FLAG47 RX_FLAG48

TX_PGA_IN13DAC OUT14DNC15DAC NRF16TX_F_OUT17

PA_IN18

PA NRF19

RX_PGA2_OUT20RX_PGA2_IN21RX_F_OUT22NC23

PowerPad49

DGND224

AGNDDGND

3V3

L627uH/LBM2016T270J

1 2C142 0.1uF R99 100

RxLine

TxLinePF

L41uH/LB3218T1R0M

1 2

U17B350A-13-F

12

U18B350A-13-F

12

15V

AGND

C139 10uF/35V

RxLineF

TxLine

C140 10nF

R98

1k

AGND

L5

1000uH/CB2518T102K

12

C141

2.2nF

R100 0

R101 0

RxLine

TxLine

TP14

TXRX

TXR X

TP13

GND

AGND

MDXA_SPISIMO_GPIO20MCLKXA_SPICLK_GPIO22

MFSXA_SPISTE_GPIO23MDRA_SPISOMI_GPIO21

R117 0

U21

SMBJP6KE20A-TP

12

U9

VSK-S5-15U

AC(N)1

AC(L)2

+Vo3

-Vo4

C113

120uF

/EE

U-F

C1V

121

1

2

C1150.22uF/ECQ-U3A224MG

C1140.1uF

R102

10k

C1174700pF/PME295RB4470MR30

C1164700pF/PME295RB4470MR30

L2

20mH/PM3700-80-RC

1 2

4 3

R103

10k

C148

120uF

/EE

U-F

C1V

121

1

2

EGND

U11 807120004401 2

15V

DGND

Connect analog anddigital ground at thedevice

DGNDAGND

Line-H1

Line-H2

L3FBMH3216HM501NT

1 2

3V3

D3

S1BB-13-F

12

U5

TLV1117-33IDCY

AD

J/G

ND

1

OU

T2

IN3

OU

T4

15V

C8410uF/35V

C830.1uF

C851uF

DGND

R81

260

C860.1uF

C881uF

C870.1uF

C8910uF/35V

C9110uF/35V

C901uF

DGNDD4

ASMT-RF45-AN002

12

L1FBMH3216HM501NT

1 2

R134

DNP

Line-H1

C147470nF

A3V3

AGND

DGND

U20MOV-20D621K

12

Design Files www.ti.com

Figure 21. System Power

Figure 22. AFE032

18 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 19: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

Q1

BC817-40LT1GR110 100k R111 100k R112 100k

D5

PMLL4148L12

R113

240k

D6

BZV55-C5V6 12

C1590.33uF

Line-H1

Line-H2

Line-H1

Line-H2

U25

FOD817BSD

1

23

4R114 270

Zero crossing detection3V3

C1600.1uFDGND

U26

SN74LVC1G57DBVR

In11

GND2

In03

In26

VCC5

Y4

R115 1k

DGND

C161 0.1uF

DGND

3V3

DGND

C_ECAP3_GPIO9_B_PB1

L8 Resv f or 600nH

1 2

L7 3.8uH/47uH/15uH1 2

C149 0.47uF/400V

In1: L --> Y: LIn1: H --> Y: H

R1041M

Operational Band Configurations L + C

1. Cenelec A: 15uH + 4.7uF/250V2. Cenelec B/C: 3.8uH + 0.47uF/400V3. FCC Band: 600nH + 0.47uF/400V4. Less than 20kHz: 47uH + 0.47uF/400V

C150 Resv f or 4.7uF/250V

0.47uF/400V: ECQ-E4474KF4.7uF/250V: ECQ-E2475KF

3.8uH: DR1040-3R8-R47uH: DR1040-470-R15uH: DR1040-150-R600nH: ETQ-P5LR60XFA

o

o

o

T1

WE/750510476

11

33

22

44

77

88

TXRX

AGND

U19SM15T6V8CA

12J15

TSW-105-07-F-S

12345

EGND

www.ti.com Design Files

Figure 23. Coupling Circuit

19TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 20: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

U29 DOGS_102X64_LCD

A1+

1

A2+

14

C1-

2

C2-

13

VB0-17

VB1+19

VLCD15

VB1-16

VB0+18

VDD2/322

VDD123

RST27

VSS120

VSS221

SD

A24

SC

K25

CD

26

CS

028

U30

TPS75105DSKT

ENB1 ENA2

D1A3

D2A4

GND5

D2B7

D1B8

VIN9

ISET10

NC6

GND_T11

DGND

C1681uF

C1691uF

3V3

R118

47k

DGND

R119

47k

R120 DNPGPIO27_B_PE3_SSI1TX_LCD_SDAGPIO26_B_PE2_SSI1RX_LCD_SDA

GPIO25_B_PE1_SSI1FSS_LCD_CS

GPIO24_B_PE0_SSI1CLK_LCD_SCK

GPIO8_B_PB0_LCD_RST

R121 0

GPIO0_B_PA0_LCD_C_D

C170 1uF

DGND

C171 1uF

C172 1uF

GPIO1_B_PA1_LCD_BL_EN

3V3

C1731uF

DGND

R12247k R123

36k

J17

5747150-75

94

83

72

61

10

11

TDO

TDITCK

EMU1EMU0

3V3

TRSTTMS C107

0.1uF

DGND

DGND

JTAG

TSW-107-07-F-D

GND4

GND8

GND10

GND12

TRST_N2

EMU013

EMU114

VDD5

TMS1

TDO7

TDI3

TCK11

TCK_RET9

KEY6

C_SCIRXDA_GPIO28_B_PE4

C_SCITXDA_GPIO29_B_PE5

Isolated RS-232

DGND

R107 68

3V3

C155

0.1uF

JTAG

ISO-DGND

U31

PS8802-1

2

3

1

4

8

7

6

5

Q2BC857BW,115

32

1R124 2.2k

C174 0.1uF

C17510uF/35V

C17610uF/35V

R126 1k

R125 DNPR127

10k

R128

220

Q3BC857BW,115

32

1

R129 1.5k

D7 LL103A-GS081 2

D8 LL103A-GS0812

D9 LL103A-GS0812

ISO_-12V

ISO_+12V

ISO-DGND

U32

PS8802-1

2

3

1

4

8

7

6

5 D10

LL103A-GS08

12

R130

1k

R132 2.2k

R131

DNP

DGND

DGND

3V3

R133 0

Design Files www.ti.com

Figure 24. Communication Circuit

Figure 25. Display

20 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 21: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

www.ti.com Design Files

8.2 Bill of MaterialsTo download the bill of materials (BOM), see the design files at TIDM-EMETER-CORTEXM3.

Table 2. BOM

QTY VALUE DEVICE PARTS1 F28M35H52C1RFPT CONCERTO DUAL-CORE MCU U12 SN74LVC2G07DBVR IC BUFF/DVR DL NON-INV SOT23-6 U2, U332 OPA4376AIPWR IC OPAMP GP 5.5-MHZ QUAD 14TSSOP U3,U41 TLV1117-33IDCY IC REG LDO 3.3-V 0.8-A SOT223-4 U51 PGA112AIDGST IC OPAMP PROG GAIN R-R 10MSOP U61 VSKM-S5-15U POWER SUPPLY SWITCHING 5 W 15 V U91 80712000440 FUSE 250-V IEC TL TE7 SHORT 2 A U111 AFE032 PLC ANALOG FRONTEND U16

C1, C56, C58, C60, C61, C62, C63, C64, C68, C69, C70, C71, C72,C73, C74, C78, C82, C83,46 C1608X7R1H104K080AA CAP CER 0.1-µF 50-V 10% X7R 0603 C86, C87, C107, C109, C111, C114, C118, C128, C130, C131, C142, C143, C144, C146, C151,

C152, C153, C154, C155, C156, C157, C158, C160, C161, C162, C164, C166, C1742 C1608C0G1H150J080AA CAP CER 15-PF 50-V 5% NP0 0603 C2, C3

C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18,C19, C20, C21, C22,25 CGA3E1X7R0J225K080AC CAP CER 2.2-µF 6.3-V 10% X7R 0603 C23, C24, C34, C35, C36, C3714 C1608X7R1C474K080AC CAP CER 0.47-µF 16-V 10% X7R 0603 C25, C26, C27, C28, C29, C30, C31, C32, C33, C67, C110, C123, C145,C147

C38, C39, C40, C41, C47, C54, C76, C81, C92, C93, C94, C95, C96, C97, C108, C112, C136,19 C1608C0G1H222J080AA CAP CER 2200-PF 50-V 5% NP0 0603 C138, C1412 06035A201FAT2A CAP CER 200-PF 50-V 1% NP0 0603 C42, C492 C1608C0G1H561J080AA CAP CER 560-PF 50-V 5% NP0 0603 C53, C65

C55, C57, C59, C66, C85, C88, C90, C127, C129, C163, C165, C168, C169, C170, C171, C172,17 C2012X7R1H105K125AB CAP CER 1-µF 50-V 10% X7R 0805 C1739 C3216X7R1V106M160AC CAP CER 10-µF 35-V 20% X7R 1206 C84, C89, C91, C121, C122, C126, C139, C176, C1752 EEU-FC1V121 CAP ALUM 120-µF 35-V 20% RADIAL C113, C1481 ECQ-U3A224MG CAP FILM 0.22-µF 300-V-AC RADIAL C1152 PME295RB4470MR30 CAP FILM 4700-PF 1.5 K-V-DC RADIAL C116, C1171 C3216X5R1V226M160AC CAP CER 22-µF 35-V 20% X5R 1206 C1244 C1608C0G1H103J080AA CAP CER 10000-PF 50-V 5% NP0 0603 C132, C133, C135, C1402 CGJ3E2C0G1H472J080AA CAP CER 4700-PF 50-V 5% NP0 0603 C134, C1371 ECQ-E4474KF CAP FILM 0.47-µF 400-V-DC RADIAL C1491 ECQ-E2475KF CAP FILM 4.7-µF 250-V-DC RADIAL C1501 C1608X7R1H334K080AC CAP CER 0.33-µF 50-V 10% X7R 0603 C1591 HSMH-C190 LED 660-NM RED DIFF 0603 SMD D12 ASMT-RF45-AN002 LED CHIPLED 0.45-MM YLW/GRN 0603 D2, D4

21TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 22: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

Design Files www.ti.com

Table 2. BOM (continued)QTY VALUE DEVICE PARTS

1 S1BB-13-F DIODE GEN PURPOSE 100-V 1-A SMB D31 PMLL4148L DIODE SWITCHING 75-V 0.2-A LLDS D51 BZV55-C5V6 DIODE ZENER 5.6-V 500-MW LLDS D63 FBMH3216HM501NT FERRITE BEAD 500 OHM 1206 L1, L3, L91 PM3700-80-RC CHOKE COMMON MODE 20 MH SMD L21 LB3218T1R0M INDUCTOR 1.0 UH 1.075 A 20% SMD L41 CB2518T102K INDUCTOR POWER 1000 UH 1007 L51 LBM2016T270J INDUCTOR WOUND 27 UH 5% 0806 L61 DR1040-3R8-R INDUCTOR POWER SHIELD 3.8 UH SMD L71 DR1040-470-R INDUCTOR POWER SHIELD 47 UH SMD L71 DR1040-150-R INDUCTOR POWER SHIELD 15 UH SMD L71 ETQ-P5LR60XFA COIL POWER CHOKE .60 UH SMD L81 BC817-40LT1G TRANS NPN GP 500-MA 45-V SOT23 Q1

R1, R2, R3, R4, R33, R35, R36, R37, R39, R42, R83, R84, R85, R86, R92, R93, R94, R95, R102,21 ERA-3AEB103V RES 10 K-OHM 1/10 W .1% 0603 SMD R103, R1273 ERJ-3EKF2610V RES 261 OHM 1/10 W 1% 0603 SMD R5, R6, R812 1622960-1 RES 4.70 K-OHM 1/10 W 1% 0603 R13, R164 ERJ-3EKF2201V RES 2.2 K-OHM 1/10 W 1% 0603 SMD R14, R18, R124, R132

12 ERJ-3GEY0R00V RES 0.0 OHM 1/10 W JUMP 0603 SMD R19, R20, R21, R22, R32, R41, R56, R82, R100, R101, R1217 ERA-3AEB560V RES 56 OHM 1/10 W .1% 0603 SMD R23, R24, R25, R26, R53, R54, R791 ERJ-3EKF68R0V RES 68 OHM 1/10 W 1% 0603 SMD R1072 ERJ-3EKF1000V RES 100 OHM 1/10 W 1% 0603 SMD R135, R1364 ERA-3AEB223V RES 22 K-OHM 1/10 W .1% 0603 SMD R28, R43, R55, R621 1-1614884-7 RES 10.0 OHM 1/10 W 0.1% 0805 R341 ERA-3AEB164V RES 160 K-OHM 1/10 W .1% 0603 SMD R441 1-1879417-5 RES 680 K-OHM 1/16 W 0.1% 0603 R452 RNCS0603BKE8K25 RES 8.25 K-OHM 1/16 W 0.1% 0603 R47, R63

10 ERA-6AEB3403V RES 340 K-OHM 1/8 W .1% 0805 SMD R48, R49, R50, R51, R52, R57, R58, R59, R60, R611 ERJ-3EKF2203V RES 220 K-OHM 1/10 W 1% 0603 SMD R641 ERA-3AEB331V RES 330 OHM 1/10 W .1% 0603 SMD R976 1622866-1 RES 1.00 K-OHM 1/10 W 1% 0603 R98, R105, R106, R115, R126, R1301 ERJ-3EKF2200V RES 220 OHM 1/10 W 1% 0603 SMD R1281 ERJ-3EKF1501V RES 1.5 K-OHM 1/10 W 1% 0603 SMD R1291 ERJ-6ENF1000V RES 100 OHM 1/8 W 1% 0805 SMD R99

22 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 23: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

www.ti.com Design Files

Table 2. BOM (continued)QTY VALUE DEVICE PARTS

1 MCR25JZHF1004 RES 1 M-OHM 1/4 W 1% 1210 SMD R1043 ERJ-8ENF1003V RES 100 K-OHM 1/4 W 1% 1206 SMD R110, R111, R1121 ERJ-8ENF2403V RES 240 K-OHM 1/4 W 1% 1206 SMD R1131 ERJ-3EKF2700V RES 270 OHM 1/10 W 1% 0603 SMD R1141 ERJ-8GEY0R00V RES 0.0 OHM 1/4 W JUMP 1206 SMD R1173 ERJ-3EKF4702V RES 47 K-OHM 1/10 W 1% 0603 SMD R118, R119, R1221 ERJ-3EKF3602V RES 36 K-OHM 1/10 W 1% 0603 SMD R1236 5000 TEST POINT PC MINI .040"D RED TP4, TP5, TP6, TP7, TP8, TP145 5001 TEST POINT PC MINI .040"D BLACK TP9, TP10, TP11, TP12, TP131 750510476 T12 B350A-13-F DIODE SCHOTTKY 50-V 3-A SMA U17, U181 SM15T6V8CA TRANSIL 1500-W 6.8-V BIDIR SMC U191 MOV-20D621K VARISTOR 620-V 6.5-KA DISC 20MM U201 SMBJP6KE20A-TP TVS 600-W 20-V UNIDIRECT SMBJ U211 AT24C1024B IC EEPROM 1-MBIT 1-MHZ 8TSSOP U222 PS8802-1-F3-AX OPTOISOLATOR ANALOG HS OUT 8SSOP U231 MAX3221ECPWR IC RS232 3 to 5.5-V DRVR 16-TSSOP U241 FOD817BSD OPTOCOUPLER PHOTOTRANS OUT 4-SMD U251 SN74LVC1G57DBVR IC MULT-FUNCTION GATE SOT23-6 U262 BC857BW, 115 TRANSISTOR PNP 45-V 100-MA SOT323 Q2,Q34 LL103A-GS08 DIODE SCHOTTKY 40-V 0.2-A SOD80 D7, D8, D9, D101 136 LED 3.1-MM 610-NM ORANGE TRANSP D111 SLR-342MC3F LED 3.1-MM 563-NM GREEN TRANSP D121 ABM3B-20.000MHZ-10-1-U-T CRYSTAL 20.0000-MHZ 10-PF SMD X11 5747150-7 CONN D-SUB RECPT STR 9POS PCB AU J171 TSW-107-07-F-D 100-mil space JTAG3 TSW-103-07-F-S 100-mil space J3, J16, J214 TSW-108-07-F-S 100-mil space J4, J18, J19, J201 TSW-102-07-F-S 100-mil space J81 TSW-105-07-F-S 100-mil space J151 TPS75105DSKT LDO current source U301 EA LED39x41-W White LED Backlight For DOG-S Series U291 EA DOGS102W-6 FSTN (+) Transflect White Background U291 EA DOGS102N-6 FSTN (+) Reflective Superwhite Backround U29

23TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 24: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

1 2

1 2

121 2

1 2

1 2

1

2

12

1

2

1

2

1

2

12

1

2

1

2

12

1

2

1 2

1 2

1212 12

1 2

1 2

1 2

1 2

1 2

1

2

1

2

1

2

1 2

12

121 2

12

12

12

12

1 2

1 2

1 2

1 2

12

12

1 2

121 2

1 2

1 2

1 2

12

12

12

12

1 21 2

12

12

1 2

1 2

1 2

12

12

12

12

1 2

1 2

1 2

12

1 2

12

1

2

1 2

1 2

1 2

1

2

1

2

1 2

1 2

1 2

1 2

1

2

3

4

5

1

3

12345678

1

2

1 2

3 4

5 6

7 8

9 10

11 12

13 14

12

12

3 4

1 2

1 212

1 2

12

3

1 2

1 2

1 2

12

12

12

12

1 2 1 2 1 21 21 2

12

12

1 2

1 2

1 2

1 2

1 2

1 2

1 2

1 2

1212 12

1 2

12

12

12

1 2

1 2

1212

12

1 212

12

12 1212

12

121212

1 2

1 2

1 2

12

121212

12

1212

12

12

12

1 2

12

1 2

12

12

12

12

12

12

12

12

12

12

1 2

12

1 2

12

12

12 1 2

1

2

3

4

5 6

7

8

9

11 1 111

11

1 11

12345678910

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

10

0

10

1

10

2

10

3

10

4

10

5

10

6

10

7

10

8

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

PP1

1

2

12 1

2 1

2

1

2

34

5

6

1

2

1 2 3 45678

123

41

2

3 4

5

6

1

2

3

4

5

6

78

9

10

11

12

13

14

1

2

3

4

5

6

78

9

10

11

12

13

14

1 2 3

4

1

2

3

4

56

7

8

9

10

1 2

34

1

2

1

2

3

4

1234567812345678

12345678

12

12

1

2

1

2

3 1

2

3

12

1

2

13

14

28

27

26

25

24

23

22

21

20

19

18

17

16

15

12

12

1 2 3 4 5678910

11

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

11

1

1

1

2

34

5

6

12

1

2 1

2

1 2 3

123

1

1

1 2

1 2

12

1 2

12 1

2

121

2

12

1 2

1 2

1

21

21

2

1

2

12345 6 7 8 1 2 3 4

5678

1

2

3

1

2

3

12345

678910 11

Design Files www.ti.com

8.3 PCB Layer PlotsTo download the layer plots, see the design files at TIDM-EMETER-CORTEXM3.

Figure 26. Top Layer

24 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 25: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

www.ti.com Design Files

Figure 27. Ground Plane (Layer 2)

25TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 26: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

Design Files www.ti.com

Figure 28. Power Plane (Layer 3)

26 Single-Phase Energy Meter Solution for Advanced Applications TIDU386–June 2014Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 27: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

12

12

12

1

2

1

2

1

2

1

2

12

1

2

12

12

12

12

12

12

12

12

1 2

1 2

12

12

1 2

1

2

1

2

12

1

2

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

12

1 2

12

12

12

12

1 2

1 2

12

1 2

1 2

1 2

12

12

12

12

12

1 2

1 2

1 2

1 2

1 2

1

2

3

4

5

1

3

12345678

1

2

1 2

3 4

5 6

7 8

9 10

11 12

13 14

12

12

12

1

2

1 2

1 2

12

12

12

1 2

12

12

12

1 2

1 2

12

12

12

12

12

12

12

12

12

12

12

12

12

1

2

3

4

5 6

7

8

9

11 1 111

11

1 11

1

2

1

2

1

2

3

4

1234567812345678

12345678

1

2

3 1

2

3

12

12

1 2

12

12

1

2

13

14

28

27

26

25

24

23

22

21

20

19

18

17

16

15

1 2

1 2

12

12

11

1

1

1 2 3

123

1

1

1 2

1 2

1 2

12

12

12

12345

678910 11

www.ti.com Design Files

Figure 29. Bottom Layer

8.4 CAD ProjectTo download the CAD project files, see the design files at TIDM-EMETER-CORTEXM3.

8.5 Gerber FilesTo download the Gerber files, see the design files at TIDM-EMETER-CORTEXM3.

9 Software FilesTo download the software files, please see the link at TIDM-EMETER-CORTEXM3.

10 About the AuthorANIRBAN GHOSH works at TI as an Applications Engineer in the Smart Grid Business Unit for electricitymetering and metrology related projects.

27TIDU386–June 2014 Single-Phase Energy Meter Solution for Advanced ApplicationsSubmit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Page 28: Single-Phase Energy Meter Solution for Advanced Applications · Single-Phase Energy Meter Solution for Advanced Applications TI Designs Design Features TI Designs provide the foundation

IMPORTANT NOTICE FOR TI REFERENCE DESIGNS

Texas Instruments Incorporated ("TI") reference designs are solely intended to assist designers (“Buyers”) who are developing systems thatincorporate TI semiconductor products (also referred to herein as “components”). Buyer understands and agrees that Buyer remainsresponsible for using its independent analysis, evaluation and judgment in designing Buyer’s systems and products.TI reference designs have been created using standard laboratory conditions and engineering practices. TI has not conducted anytesting other than that specifically described in the published documentation for a particular reference design. TI may makecorrections, enhancements, improvements and other changes to its reference designs.Buyers are authorized to use TI reference designs with the TI component(s) identified in each particular reference design and to modify thereference design in the development of their end products. HOWEVER, NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPELOR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT, AND NO LICENSE TO ANY THIRD PARTY TECHNOLOGYOR INTELLECTUAL PROPERTY RIGHT, IS GRANTED HEREIN, including but not limited to any patent right, copyright, mask work right,or other intellectual property right relating to any combination, machine, or process in which TI components or services are used.Information published by TI regarding third-party products or services does not constitute a license to use such products or services, or awarranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectualproperty of the third party, or a license from TI under the patents or other intellectual property of TI.TI REFERENCE DESIGNS ARE PROVIDED "AS IS". TI MAKES NO WARRANTIES OR REPRESENTATIONS WITH REGARD TO THEREFERENCE DESIGNS OR USE OF THE REFERENCE DESIGNS, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ACCURACY ORCOMPLETENESS. TI DISCLAIMS ANY WARRANTY OF TITLE AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESSFOR A PARTICULAR PURPOSE, QUIET ENJOYMENT, QUIET POSSESSION, AND NON-INFRINGEMENT OF ANY THIRD PARTYINTELLECTUAL PROPERTY RIGHTS WITH REGARD TO TI REFERENCE DESIGNS OR USE THEREOF. TI SHALL NOT BE LIABLEFOR AND SHALL NOT DEFEND OR INDEMNIFY BUYERS AGAINST ANY THIRD PARTY INFRINGEMENT CLAIM THAT RELATES TOOR IS BASED ON A COMBINATION OF COMPONENTS PROVIDED IN A TI REFERENCE DESIGN. IN NO EVENT SHALL TI BELIABLE FOR ANY ACTUAL, SPECIAL, INCIDENTAL, CONSEQUENTIAL OR INDIRECT DAMAGES, HOWEVER CAUSED, ON ANYTHEORY OF LIABILITY AND WHETHER OR NOT TI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, ARISING INANY WAY OUT OF TI REFERENCE DESIGNS OR BUYER’S USE OF TI REFERENCE DESIGNS.TI reserves the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services perJESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevantinformation before placing orders and should verify that such information is current and complete. All semiconductor products are soldsubject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s termsand conditions of sale of semiconductor products. Testing and other quality control techniques for TI components are used to the extent TIdeems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is notnecessarily performed.TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products andapplications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provideadequate design and operating safeguards.Reproduction of significant portions of TI information in TI data books, data sheets or reference designs is permissible only if reproduction iswithout alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable forsuch altered documentation. Information of third parties may be subject to additional restrictions.Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirementsconcerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or supportthat may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards thatanticipate dangerous failures, monitor failures and their consequences, lessen the likelihood of dangerous failures and take appropriateremedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components inBuyer’s safety-critical applications.In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is tohelp enable customers to design and create their own end-product solutions that meet applicable functional safety standards andrequirements. Nonetheless, such components are subject to these terms.No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the partieshave executed an agreement specifically governing such use.Only those TI components that TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use inmilitary/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components thathave not been so designated is solely at Buyer's risk, and Buyer is solely responsible for compliance with all legal and regulatoryrequirements in connection with such use.TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use ofnon-designated products, TI will not be responsible for any failure to meet ISO/TS16949.

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2014, Texas Instruments Incorporated