km35z512 based one-phase smart power meter reference

35
1 Introduction The electro-mechanical power meters are gradually replaced by electronic meters. Modern electronic meters have several advantages over their electro-mechanical predecessors. Their mechanical construction is more cost-effective because there are no moving parts. In addition, electronic meters have one-percent accuracy (or better) in the typical dynamic range of power measurement of 1000:1, whereas electro-mechanical meters have two-percent accuracy in the dynamic range of 80:1. The higher the accuracy and dynamic range of the measurement are, the more precise the energy bills are. This design reference manual describes a solution for one-phase electronic power meter, based on the MKM35Z512VLL7 MCU. This MCU is a part of the NXP Kinetis-M Series. The Kinetis-M series MCUs address accuracy needs by providing a high-performance analog frontend (24-bit AFE), combined with embedded Programmable Gain Amplifier (PGA). Along with high-performance analog peripherals, these new devices integrate memories, input / output ports, digital blocks, and various communication options. The Arm ® Cortex ® - M0+ core and Memory-Mapped Arithmetic Unit (MMAU), with support of 64-bit math, enable fast execution of metering algorithms. The one-phase power meter reference design is intended for the measurement and registration of active and reactive energies in one-phase two-wire networks. This design is made to be compliant with IS14697:1999 for class 0.5 accuracy for a dynamic range of 10-60 A. The integrated Switched-Mode Power Supply (SMPS) enables efficient operation of the power meter electronics, and it provides enough power for optional modules, such as nonvolatile memories (NVM) for data logging and firmware storage, and the plugin card for wireless communication for Automatic Meter Reading (AMR)/Advance Metering Infrastructure (AMI) and remote monitoring. The power meter electronics are backed up by a 3.6 V Li-SOCI2 battery when disconnected from the mains. This battery activates the power meter, whenever the user button is pressed or a tamper event occurs. The power meter reference design is intended for use in real applications, as suggested by its implementation of a Human Machine Interface (HMI) and communication interfaces for remote data collection. 1.1 Specification The MKM35Z512 one-phase power meter reference design is intended for use in a real application. Its metrology portion has undergone thorough laboratory testing. Thanks to intensive testing, accurate 24-bit AFE, and continual algorithm improvements, the one-phase power meter calculates active, reactive, and apparent energies more accurately and over a higher dynamic range than what is required by common standards. All information, including accuracies, operating conditions, and optional features, are summarized in the following table: Contents 1 Introduction......................................1 1.1 Specification.................................1 2 MKM35Z512 series MCU................ 3 3 Basic theory.....................................4 3.1 Active energy............................... 5 3.2 Reactive energy........................... 5 3.3 Active power................................ 5 3.4 Reactive power............................ 5 3.5 RMS current and voltage............. 5 3.6 Apparent power........................... 6 3.7 Power factor................................. 6 4 Hardware design............................. 6 4.1 Power supply............................... 7 4.2 Digital circuits............................... 8 4.3 Analog circuits............................13 5 Software design............................ 14 5.1 Block diagram............................ 14 5.2 Software tasks........................... 15 5.3 Performance.............................. 20 6 Application setup........................... 20 7 Accuracy and performance........... 22 8 Summary....................................... 24 9 References.................................... 25 10 Revision history............................. 25 11 Metering Board Electronics........... 26 12 Appendix B: Metering board layout ...................................................... 28 13 Appendix C: Bill of materials of the metering board.............................. 32 14 Appendix D: Bill of materials of the GPRS board.................................. 34 AN12837 KM35Z512 based One-Phase Smart Power Meter Reference Design Rev. 1 — 21 October 2021 Application Note

Upload: others

Post on 09-Jan-2022

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: KM35Z512 based One-Phase Smart Power Meter Reference

1 IntroductionThe electro-mechanical power meters are gradually replaced by electronicmeters. Modern electronic meters have several advantages over theirelectro-mechanical predecessors. Their mechanical construction is morecost-effective because there are no moving parts. In addition, electronicmeters have one-percent accuracy (or better) in the typical dynamic rangeof power measurement of 1000:1, whereas electro-mechanical meters havetwo-percent accuracy in the dynamic range of 80:1. The higher the accuracyand dynamic range of the measurement are, the more precise the energybills are.

This design reference manual describes a solution for one-phase electronicpower meter, based on the MKM35Z512VLL7 MCU. This MCU is a part of theNXP Kinetis-M Series. The Kinetis-M series MCUs address accuracy needsby providing a high-performance analog frontend (24-bit AFE), combined withembedded Programmable Gain Amplifier (PGA). Along with high-performanceanalog peripherals, these new devices integrate memories, input / outputports, digital blocks, and various communication options. The Arm® Cortex®-M0+ core and Memory-Mapped Arithmetic Unit (MMAU), with support of 64-bitmath, enable fast execution of metering algorithms. The one-phase powermeter reference design is intended for the measurement and registration ofactive and reactive energies in one-phase two-wire networks. This design ismade to be compliant with IS14697:1999 for class 0.5 accuracy for a dynamicrange of 10-60 A.

The integrated Switched-Mode Power Supply (SMPS) enables efficientoperation of the power meter electronics, and it provides enough powerfor optional modules, such as nonvolatile memories (NVM) for data loggingand firmware storage, and the plugin card for wireless communication forAutomatic Meter Reading (AMR)/Advance Metering Infrastructure (AMI) andremote monitoring. The power meter electronics are backed up by a 3.6 V Li-SOCI2 battery when disconnected from the mains.This battery activates the power meter, whenever the user button is pressed or a tamper event occurs.

The power meter reference design is intended for use in real applications, as suggested by its implementation of a Human MachineInterface (HMI) and communication interfaces for remote data collection.

1.1 SpecificationThe MKM35Z512 one-phase power meter reference design is intended for use in a real application. Its metrology portion hasundergone thorough laboratory testing. Thanks to intensive testing, accurate 24-bit AFE, and continual algorithm improvements,the one-phase power meter calculates active, reactive, and apparent energies more accurately and over a higher dynamic rangethan what is required by common standards. All information, including accuracies, operating conditions, and optional features, aresummarized in the following table:

Contents

1 Introduction......................................11.1 Specification.................................12 MKM35Z512 series MCU................33 Basic theory.....................................43.1 Active energy............................... 53.2 Reactive energy...........................53.3 Active power................................ 53.4 Reactive power............................ 53.5 RMS current and voltage............. 53.6 Apparent power........................... 63.7 Power factor.................................64 Hardware design............................. 64.1 Power supply............................... 74.2 Digital circuits...............................84.3 Analog circuits............................135 Software design............................ 145.1 Block diagram............................ 145.2 Software tasks........................... 155.3 Performance.............................. 206 Application setup...........................207 Accuracy and performance........... 228 Summary.......................................249 References....................................2510 Revision history.............................2511 Metering Board Electronics........... 2612 Appendix B: Metering board layout

...................................................... 2813 Appendix C: Bill of materials of the

metering board.............................. 3214 Appendix D: Bill of materials of the

GPRS board..................................34

AN12837KM35Z512 based One-Phase Smart Power Meter Reference DesignRev. 1 — 21 October 2021 Application Note

Page 2: KM35Z512 based One-Phase Smart Power Meter Reference

Table 1. MKM35Z512 one-phase power meter specification

Type of meter One-phase AC static watt-hour smart meter

Type of measurement Four-quadrant

Metering algorithm Low-power real time based

Accuracy IS14697 class 0.5 (0.5 %)

Nominal voltage 240 VAC ± 20 %

Current range 0 – 60 A (10 A is nominal current, dynamic range is up to 72 A)

Nominal frequency 50 Hz ± 5 %

Meter constant (imp / kWh, imp / kVArh) 3200

Functionality V, A, kW, VAr, VA, kWh (import / export), kVArh (import / export), Hz,power factor, time, date

Voltage sensor Voltage divider

Current sensors (Shunt, CT) Shunt resistor down to 200 μΩ (350 μΩ used in this design),

Current transformer with 2500:1 turn ratio

Energy output pulse interface Two red LEDs (active and reactive energy)

User interface (HMI) 8 x 15 segment LCD, one push button

Tamper detection Two hidden buttons (module area and main cover)

IEC62056-21 infrared interface 9600 / 8-N-1 IR interface

Remote communication modules (optional only)

• GPRS

GPRS modules with 1 x SIM card slot, IPv6 capable module

External NVMs

• EEPROM

• Flash (optional only)

M240M2, 256 KB

IS25LQ040B, 512 KB

Internal battery 1/2AA, 3.6 V Lithium-Thionyl Chloride (Li-SOCI2) 1.2 Ah

Power consumption @ 3.3 V and 22 °C:

• Normal mode (powered from mains)

• Stand-by mode (powered from battery)

• Power-down mode (powered from battery)

11.0 mA 1

2.2 mA

4.0 μA (both covers closed, no tampering)

1. Valid for CORECLK = 23.986176 MHz and without any plugin communication module.

NXP SemiconductorsIntroduction

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 2 / 35

Page 3: KM35Z512 based One-Phase Smart Power Meter Reference

2 MKM35Z512 series MCUNXPs MKM35Z512 series MCU is based on the 90 nm process technology. It has on-chip peripherals, computationalperformance, and power capabilities to enable the development of a low-cost and highly integrated power meter see Figure1. It is based on the 32-bit Arm Cortex-M0+ core, with CPU clock rated up to 75 MHz. The analog measurement frontendis integrated on all devices; it includes a highly accurate 24-bit Sigma Delta ADC, PGA, high-precision internal 1.2 V voltagereference (Vref), phase shift compensation block, 16-bit SAR ADC, a peripheral crossbar (XBAR), programmable delay block(PDB), and a memory-mapped arithmetic unit (MMAU). The XBAR module acts as a programmable switch matrix, enablingmultiple simultaneous connections of internal and external signals. An accurate Independent Real-Time Clock (IRTC) with passivetamper detection capabilities is also available on all devices.

In addition to high-performance analog and digital blocks, the MKM35Z512 series MCU was designed with an emphasis onachieving the required software separation. It integrates hardware blocks, supporting the distinct separation of the legally relevantsoftware from other software functions.

The hardware blocks controlling and/or checking the access attributes include:

• Arm Cortex-M0+ core

• DMA controller module

• Miscellaneous control module

• Memory protection unit

• Peripheral bridge

• General-purpose input / output module

NXP SemiconductorsMKM35Z512 series MCU

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 3 / 35

Page 4: KM35Z512 based One-Phase Smart Power Meter Reference

SWD &MTB

Interrupt Controller

Arm Cortex-M0+

75 MHz

Flash 512 KB (2 banks 256 KB) 32 K OSC

Unique ID

16-bit SAR ADC

HSCMP x3

iRTC with Tamper

GPIOs

Core System Memories ClocksSecurity

Analog

Timers CommunicationInterfaces HMI

SPI x3Quad Timer x4ch

1 KHz LPO

I2C x2

LLWU

1.2 V VREF

Watchdog

Segment LCD

(>288)segmentw/ 8mux)

High RangeOSC

PIT x2

PCRC EWM

XBAR

SRAM64 KB

DMA

BME

MPU

UART x4(ISO7816 x1)LPUART x1

IRDAIR

MMCAU

PDB x1

LPTMR x2

MMAU

Red is difference withKM34Z256

AFE24 bit

ΣΔ ADCPGA

24 bitΣΔ ADCPGA

Phase Shift Compensation

24 bitΣΔ ADCPGA

24 bitΣΔ ADCPGA

VREF Factory calibrated temp

sensor

MCG 32 K & 4 M IRC

FLL & PLL

Figure 1. KM35Z512 MCUs block diagramKM35Z512 MCUs block diagram

The MKM35Z512 devices are highly capable and fully programmable MCUs, with application software driving the differentiationof the product. Currently, the necessary SDK peripheral software drivers, metering algorithms, communication protocols,and a vast number of complementary software routines are available directly from semiconductor vendors or third parties.Because the MKM35Z512 MCUs integrate a high-performance analog frontend, communication peripherals, hardware blocks forsoftware separation, and are capable of executing various Arm Cortex-M0+ compatible software, they are ideal components fordevelopment of residential, commercial, and light industrial electronic power meter applications.

3 Basic theoryThe critical task for a digital processing engine or an MCU in an electricity-metering application is the accurate computation ofthe active energy, reactive energy, active power, reactive power, apparent power, RMS voltage, and RMS current. The activeand reactive energies are sometimes referred to as the billing quantities. The remaining quantities are calculated for informativepurposes, and they are referred to as non-billing. A description of the billing and non-billing metering quantities and calculationformulas follows.

NXP SemiconductorsBasic theory

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 4 / 35

Page 5: KM35Z512 based One-Phase Smart Power Meter Reference

3.1 Active energyThe active energy represents the electrical energy produced, flowing, or supplied by an electric circuit during a time interval. Theactive energy is measured in the unit of Watt Hours (Wh). The active energy in a typical one-phase power meter application iscomputed as an infinite integral of the unbiased instantaneous phase voltage u(t) and phase current i(t) waveforms.

Eq. 3-1

3.2 Reactive energyThe reactive energy is given by the integral (with respect to time) of the product of voltage and current, and the sine of the phaseangle between them. The reactive energy is measured in the unit of Volt-Ampere-Reactive Hours (VARh). The reactive energy ina typical one-phase power meter is computed as an infinite integral of the unbiased instantaneous shifted phase voltage u(t-90°)and phase current i(t) waveforms.

Eq. 3-2

3.3 Active powerThe active power (P) is measured in Watts (W), and it is expressed as a product of the voltage and the in-phase component of thealternating current. The average power of any whole number of cycles is the same as the average power value of just one cycle.Therefore, we can easily find the average power of a very long-duration periodic waveform simply by calculating the average valueof one complete cycle with period T.

Eq. 3-3

3.4 Reactive powerThe reactive power (Q) is measured in units of volt-amperes-reactive (VAR), and it is a product of the voltage and current, andthe sine of the phase angle between them. The reactive power is calculated in the same manner as the active power, but, in thereactive power, the voltage input waveform is shifted 90 degrees with respect to the current input waveform.

Eq. 3-4

3.5 RMS current and voltageThe Root Mean Square (RMS) is a fundamental measurement of the magnitude of an alternating signal. In mathematics, theRMS is known as the standard deviation, which is a statistical measure of the magnitude of a varying quantity. The standarddeviation measures only the alternating portion of the signal, as opposed to the RMS value, which measures both the direct andalternating components.

NXP SemiconductorsBasic theory

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 5 / 35

Page 6: KM35Z512 based One-Phase Smart Power Meter Reference

In electrical engineering, the RMS or effective value of a current is, by definition, such that the heating effect is the same for equalvalues of alternating or direct current. The basic equations for a straightforward computation of the RMS current and RMS voltagefrom the signal function are as follows:

Eq. 3-5

Eq. 3-6

3.6 Apparent powerThe total power in an AC circuit (both absorbed and dissipated) is referred to as the total apparent power (S). The apparent poweris measured in the units of volt-amperes (VA). For any general waveforms with higher harmonics, the apparent power is given bythe product of the RMS phase current and RMS phase voltage.

Eq. 3-7

For sinusoidal waveforms with no higher harmonics, the apparent power can also be calculated using the power triangle method,as a vector sum of the active power (P) and reactive power (Q) components.

Eq. 3-8

For a better accuracy, use Eq. 3-7 to calculate the apparent power of any general waveforms with higher harmonics. In purelysinusoidal systems with no higher harmonics, both Eq. 3-7 and Eq. 3-8 provide the same results.

3.7 Power factorThe power factor of an AC electrical power system is defined as the ratio of the active power (P) flowing to the load to the apparentpower (S) in the circuit. It is a dimensionless number ranging from –1 to 1.

Eq. 3-9

where angle φ is the phase angle between the current and voltage waveforms in the sinusoidal system.

Circuits containing purely resistive heating elements (filament lamps, cooking stoves, and so on) have a power factor of one.Circuits containing inductive or capacitive elements (electric motors, solenoid valves, lamp ballasts, and others) often have apower factor below one.

4 Hardware designThis section describes the power meter electronics, which are divided into three separate parts:

• Power supply

NXP SemiconductorsHardware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 6 / 35

Page 7: KM35Z512 based One-Phase Smart Power Meter Reference

• Digital circuits

• Analog signal-conditioning circuits

The power supply is designed to operate single phase input mains from 90 VAC to 450 VAC and secondary side regulation.

Total capacity of power supply output is 10 W max. For more information, see Power supply.

Digital and analog circuit of the reference design is based on peripheral usage of the MCU and a block diagram is shown below:

KM35Z512

LCDSD-

ADC

I2C

EEPROM(Meter app

data)

OSC

-PL

L-FL

L

32k Crystal

RTC Battery

iRTC

Power Supply SMPS

Power Management

Unit

AUX BatteryCover

OpenTamperSwitch

Push Button

Magnet Tamper

Calibration LEDs

GPIO

Optical Port

UAR

TGPRS/LPR

Module/RS232

Shunt element Sense circuit

Current transformer Sense circuit

UAR

TD

ebug

SWD IO/CLK JTAG debug

PMC MD-ResetButton

SD-

ADC

SD-

ADCVoltage Sense

circuit

Module OpenSwitch

Terminal OpenSwitch

EEPROM(FW storage)

SPI Flash

Relay Driver

Figure 2. KM35Z512 usage for one-phase smart meter

The digital part can be configured to support both basic and advanced features. The basic configuration is composed of onlythe circuits necessary for power meter operation; that means MCU (MKM35Z512VLL7), debug interface, LCD interface, LEDinterface, IR ( IEC62056-21), GPRS module connector, relays, pushbutton, 256 KB I2C EEPROM and tamper detection. Incontrast to the basic configuration, all the advanced features are optional, and require the following additional components to bepopulated: 512 KB SPI Flash for firmware upgrade and/or data storage. For more information, see, Digital circuits.

The MKM35Z512 devices enable differential analog signal measurements with common mode reference of up to 0.8 V andinput signal range of ±250 mV. The capability of the device to measure analog signals with negative polarity brings a significantsimplification to the phase current and phase voltage sensors hardware interfaces (see Analog circuits).

The power meter electronics were created using a two-layer printed circuit board (PCB). Two-layer PCB is cheaper andcost-effective. Figure 24 and Figure 25 show the top and bottom views of the power meter PCB, respectively.

4.1 Power supplyPower supply has been developed using an offline high-voltage converter which features a 1050 V avalanche-rugged powersection, PWM operation at 60 kHz with frequency jittering for lower EMI. The power supply provides 12 V for Latching relayoperation and 5 V (2A Max) for GPRS/RF module and energy measurement block by using 3.6 V LDO.

Output of the SMPS and LDO is LPV fixed at 3.6 V.

The following supply voltages are all derived from the regulated output voltage of the SMPS-LDO and auxiliary battery:

• RFV – 5 V supply used to supply GPRS module and backlight in the meter

• LPV – Fixed 3.6 V supply from SMPS-LDO that powers the GPRS modem or other types of modules

NXP SemiconductorsHardware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 7 / 35

Page 8: KM35Z512 based One-Phase Smart Power Meter Reference

• uVCC is supported by LPV and ABAT (auxiliary 3.6 V Li-SOCI2 battery) – provides supply to digital and analog voltage forthe MCU and digital/analog circuits. MCU power pins VDD, VDDA, SAR_VDDA all are powered through this.

D14BAT54C/SOT

31

2

J5Jumper

BT2ER14250

13 2

C410.1uf

LPV

+C4210uF,25V

1

2

ABAT

C43

0.1uf

GND

uVCC

Figure 3. Power supplies for the MCU in meter

The battery voltage (ABAT) is separated from the regulated output voltage (LPV) using D14 diode. When the power meter isconnected to the mains, then the electronics are powered through the top D14 diode from the regulated output voltage (LPV).If the power meter is disconnected from the mains, then the bottom D14 diode start conducting, and the MCU, including a fewadditional circuits operating in the Standby and Power-down modes, are supplied from the battery (ABAT). The switching betweenthe mains and battery voltage sources is performed autonomously, with a transition time that depends on the rise and fall timesof the regulated output supply (LPV).

The analog circuits within the MCU usually require decoupled power supplies for the best performance. The analog voltages(VDDA and SAR_VDDA) are supplied through uVCC only and bypass capacitors C19, C22 are put close to the MCU analogvoltage pins for better performance.

The digital and analog voltages MCU VDD, VDDA, and SAR_VDDA are lower than the regulated output voltageLPV, due to a voltage drop on the diode D14 (0.35 V).

NOTE

4.2 Digital circuitsAll the digital circuits are supplied from the uVCC, and uVCCB voltages. The digital/analog common MCU voltage (uVCC), whichis backed up by the 1/2AA 3.6 V Li-SOCI2 battery (BT2), is active even when the power meter electronics are disconnected fromthe mains. It powers the MCU (U1), LEDs, isolated optical communication interface (IRLED1, PT1). The regulated output voltage(LPV) powers the digital circuits that can be switched off during the Standby and Power-down operating modes anyway. Theseare the communication modules which can be connected on connectors (FRC1, FRC4).

4.2.1 MKM35Z512VLL7The MKM35Z512VLL7 MCU (U1) is the most noticeable component on the metering board see Figure 25 The followingcomponents are required for proper operation of this MCU:

• Filtering ceramic capacitors C7, C8, C19, C22, C37, C13, C14

• LCD charge pump capacitors C1 – C4

• External reset filters C35 and R63

• 32.768 kHz crystal XT2

The LCD (LCD1) is an indispensable part of the power meter. Connector CON11 is the SWD interface for MCU programming.

The debug interface (CON11) is not isolated from the mains supply. Use only galvanically isolated debug probesfor programming the MCU when the power meter is supplied from the mains supply.

CAUTION

NXP SemiconductorsHardware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 8 / 35

Page 9: KM35Z512 based One-Phase Smart Power Meter Reference

4.2.2 Output LEDsThe MCU uses a timer and GPIO pins to control two bright red LEDs see Figure 4; LED1 for active energy, and LED2 for reactiveenergy. These LEDs are used at the time of the meter calibration or verification.

KVAR

H

KWH

LED1LED1

2

R261K5

uVCC

R251K5

LED2LED1

2

Figure 4. Output LEDs control

4.2.3 KB I2C EEPROM memoryThe 256 KB I2C EEPROM memory (M24M02) can be used for parameter storage (backup of the calibration parameters) andother application purposes, for example, load profiles, billing, and even to store new application firmware. The connection of theEEPROM memory to the MCU is made through the I2C1 module, as shown in Figure 5. The maximum communication throughputis limited by the M24M02 device. The memory can work in both the Normal and Standby operation modes.

R52

10K

SDA

C230.1uf

uVCC

U7

M24M02-DR

A01

A12

GND4

SDA5SCL6WP7VCC8

A23

GNDSCL

R51

10K

Figure 5. 256 KB I2C EEPROM control

4.2.4 KB SPI FlashThe 512 KB SPI Flash (IS25LQ040B-JNLE) can be used to store a new firmware application, and/or to store load profiles. Theconnection of the Flash memory to the MCU is made through the SPI1 module, as shown in Figure 6.

The SPI1 module of the MKM35Z512VLL7 device supports communication speed of up to 12.5 Mbit/s. The memory can work inboth the Normal and Standby operation modes.

GND

uVCCuVCC

uVCCGND MOSI

MISOSS

SCKC24

0.1uf

U8IS25LQ040B-JNLE

CE1

SO2

WP3

GND4

SI5SCK6HOLD7VCC8

Figure 6. 512 KB SPI Flash control

NXP SemiconductorsHardware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 9 / 35

Page 10: KM35Z512 based One-Phase Smart Power Meter Reference

4.2.5 GPRS module interfaceThe expansion headers FRC1, FRC4, see Figure 7 are used to interface the power meter to the GPRS modules. Currently,they support only the WM620 based GPRS module, see Figure 8. In the future, they will also support other types of modules forexample, the 6LowPAN LPR modules and so on. Header RFC4 provides the interconnection, while header RFC1 provides powersupply from the SMPS supply to the module itself. All of these modules accept supply voltage of 3.6 V or 5.0 V with a maximumcontinuous current of up to 2000 mA. Currently these module connectors support below signals apart from power/ground pins:

• UART Tx, Rx data lines, RTS, CTS flow controls

• Low voltage 3.6 V, High voltage 5 V

• NIC enable pin to enable/disable GPRS module resident power supply

RFRXDRFTXD

LPV

GND

GND

FRC1

CON_RF

1 23 45 6

879 10RFV

RFCTS

GND

LPV

NIC_PC

FRC4

CON_RF

1 23 45 6

879 10

+C12

100uf/25V

RFRTS

Figure 7. GPRS control

Figure 8. Extension for the GPRS communication

4.2.6 IR interface (IEC62056-21)The power meter has a galvanically isolated optical communication port, as per IEC62056-21 so that it can be easily connectedto a common handheld meter-reading instrument for data exchange. The IR interface is driven by the UART. Power to the IRinterface is provided by a latch MOSFET circuit so that the IR interface can be disabled during standby or low leakage stop mode ofthe meter, that is, when mains power supply is not available. Powering from the latch to MOSFET circuit enables the MCU to switchoff the phototransistor circuit, and thus minimize current consumption in the Standby or power-down modes. The IR interfaceschematic part is shown in the following figure:

NXP SemiconductorsHardware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 10 / 35

Page 11: KM35Z512 based One-Phase Smart Power Meter Reference

PT1PT334-6B

21

uVCCB

R91K

ORXD

IRLED1IR333

2

1

OTXD

R8510

Figure 9. IR control

Alternatively, this interface can be also used for waking up the meter (from the Power-down to the Standby mode)by an external optical probe. However, this feature has an impact on increasing the current consumption in bothoperation modes.

NOTE

4.2.7 Isolated RS232 interfaceThis communication interface can be used primarily for real-time visualization using the FreeMASTER tool [6] or other means. Thecommunication is driven by the UART1 module of the MCU. The communication is optically isolated using the optocouplers U2and U6. As there is a fixed voltage level on these control lines generated by the PC, it is used to power the secondary side of theU2 optocoupler and the primary side of the U6 optocoupler. The communication interface, including the R41, R43, R44, R47, C15components, are required to power the optocouplers from the transition control signals, is shown in Figure 10.

GND

R442K2

1 2

C15

1uf/25V

U6EL817A

4 1

3 2

RSRXD

RSTXD

R47

1K

12

U2EL817A

41

32

CON5

E2964-WW01S12-LNC

1 GND2 RX3 TX4 VCC5 NC6

R43 1K1 2

R41

1K5

12

uVCCB

Figure 10. RS232 control

The CON5 output connector is not bonded to the meter’s enclosure. Therefore, the described interface is primarilyused at the time of development (uncovered equipment).

NOTE

4.2.8 Relay driverRelays are present in smart meter to cut-off the load from source input. Two PMV90ENE N channel trench MOSFETs are usedto drive the relays that are connected through CON9, CON10 placed at the meter PCB. Relays are driven by MCU GPIO pinsconfigured as output. Relay connectors are shown Figure 11.

NXP SemiconductorsHardware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 11 / 35

Page 12: KM35Z512 based One-Phase Smart Power Meter Reference

Q1PMV90ENE

RLV

RLVD41N4007R55

1K

RL1ON

Q2PMV90ENE

RL1OFF+

C25100uf/25V

RL2ON

GND

CON10

G9TB-U1A

123

RL2OFF

R57

47K

+

C26100uf/25VGND

Q3

PMV90ENE

D21N4007

Q4

PMV90ENE

R4947K

GND

RLVRLV

R58

47K

D51N4007R56

1KRLVRLV

CON9

G9TB-U1A

123

R5047K

GND

R531K

R541K

D31N4007

RLV

Figure 11. Relay control

4.2.9 Magnetic TamperThere are two magnetic tamper sensors in the meter PCB. The first one is a hall-effect sensor which is used to sense any presenceof DC magnet near the meter. MCU interface is a GPIO pin input configuration. The second one is the 3D magnetic sensor andis not placed in the meter PCB and can be populated if required. This sensor is interfaced to MCU using I2C. Magnetic tampersense circuit is shown in Figure 12.

U5AH180-WG7

VCC1

OUT2 GND

3

M_SDAM_SDAR42

100KMAG

U3

TLV493DA1B6HTSA2

SCL/INT1

GND2

GND3

VDD4GND5SDA/ADDR6

C20

0.1uf

C17

0.1uf

R92

10K

M_SCL M_SDAM_SDA

R93

10K

U4AH180-WG7

VCC1

OUT2GND

3

C21

0.1uf

uVCCB

Figure 12. Magnetic tamper sense circuit

4.2.10 Cover, module, and terminal open tampersThere are options for 3 tampers detection in the meter PCB. Cover open tamper occurs when the cover of the meter is opened.MCU is signaled through tamper pin which is available in RTC battery power domain. The second one is the module open tamperand is signaled when the GPRS module of the meter is removed or replaced. The third one is optional and called terminal opentamper and is detected when terminal of the meter is opened or closed. Tamper sense circuit is shown in Figure 13.

RBAT

ABAT

D7

BAT54C/SOT3

1

2

R64

100K

TAMP1

C28

0.1uf

TAMP0

R65

1M

ABAT

SW2

PS-221605-F NS

12

34

56

C30

0.1uf

TAMP2

SW1

PS-221605-F NS

12

34

56

J4Jumper

Figure 13. Tamper sense circuit

NXP SemiconductorsHardware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 12 / 35

Page 13: KM35Z512 based One-Phase Smart Power Meter Reference

4.3 Analog circuitsAn excellent performance of the metering AFE, including external analog signal conditioning, is crucial for the power meterapplication. Due to the high dynamic range of the current measurement (typically 700:1) and the relatively low input signal range(from microvolts to several tens of millivolts), the phase current measurement is utmost critical. All analog circuits are describedin the following subsections.

4.3.1 Phase and neutral current measurementAlthough the MKM35Z512 one-phase power meter reference design is optimized for shunt resistors, various current transformersand Rogowski coils can also be used. The only limitations are the sensor output signal range (which must be within ±0.5 V peak)and the dimensions of the enclosure. The interface of a current sensor to the MKM35Z512VLL7 device is very straightforward;only the anti-aliasing low-pass filters, attenuating signals with frequencies greater than the Nyquist frequency, must be populatedon the board (see Figure 14). The cut-off frequency of the analog filters implemented on the board is 15.4 kHz.

A 350 μΩ shunt resistor is used to measure phase current. This produces peak voltage of 350 μΩ x 60 A x 1.2 = 25.2 mV acrossthe shunt resistor. So, AFE PGA gain value ‘8’ can be chosen safely to restrict under the ±250 mV for the AFE input. High valueof shunt resistor is not chosen as it generates more heat across the shunt.

C16 1ufCON6CT+

1

CON7

CT-1

FB11000Z

IN-R46 51R

CON8

CTG1

R40 51R IN+

SHC18 1uf

R45

10K

Figure 14. Phase current signal conditioning circuit

In addition to phase current measurement, due to the need to identification of current related tampers such as earth tamper etc,the neutral current is also measured but with a current transformer sensor. The current transformer gives isolation to the MCUAFE circuit as the ground of the circuit is referenced from the mains phase voltage. The neutral current signal conditioning circuitis shown in Figure 15.

C10 1ufNCT

R39 51R

CON3CT+

1 IB+

R11 7R

R32 7RCON4

CT-1

R10 51R

C9 1uf

IB-

Figure 15. Neutral current signal conditioning circuit

4.3.2 Phase voltage measurementA simple voltage divider is used for the line voltage measurement. Due to power dissipation, it is better to design this divider usingseveral resistors connected serially. See Figure 16. One half of these resistors consists of R3, R4, R5, and R6, the second halfconsists of resistor R7. The resistor values were selected to scale down the 536.4 V Vrms (758.56 V Peak) which is peak input linevoltage (designed as per electricity board requirement, but one can change according to their requirement) to the 0.250 V peakinput signal range of the 24-bit SD ADC. The voltage drop and power dissipation on each of the R3-R6 SMD 1206/MELF0204resistors are below 190 V and 76 mW, respectively. The anti-aliasing low-pass filter of the phase voltage measurement circuit isset to a cut-off frequency of 72.34 kHz.

NXP SemiconductorsHardware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 13 / 35

Page 14: KM35Z512 based One-Phase Smart Power Meter Reference

R6

470K

,120

6 C5

0.01uf

R4

470K

,120

6

NEUTRAL VR

R7

820R

,120

6R5

470K

,120

6

R3

470K

,120

6

R1 51R

Figure 16. Phase voltages signal conditioning circuit

5 Software designThis section describes the software application of the MKM35Z512 one-phase power meter reference design. The softwareapplication consists of measurement, calculation, calibration, user interface, and communication tasks.

5.1 Block diagramThe application software is written in the C language and compiled using:

• NXP MCUXpresso

• IAR® Embedded Workbench for Arm

• Keil MDK toolchains with high optimization for execution speed

The software application is based on the MKM35Z512 SDK drivers [5] and Low Power Real Time (LPRT) metering algorithmlibrary (AN13259).

The software transitions between operating modes, calculates all metering quantities, controls the active energy pulse output,controls the LCD, stores and retrieves parameters from the NVMs, and enables application monitoring and control. The applicationmonitoring and control is performed using local IR interface and a remote GPRS communication interface.

The following figure shows the software architecture of the power meter, including interactions of the software peripheral driversand application libraries with the application kernel. All tasks executed by the MKM35Z512 one-phase power meter software arebriefly explained in the following subsections.

NXP SemiconductorsSoftware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 14 / 35

Page 15: KM35Z512 based One-Phase Smart Power Meter Reference

Power Management

Phase-Locked Loop (PLL) Driver

Reset Controller Module (RCM) Driver

Power Management Controller (PMC)

Driver

Application tasks

Non-volatile Memory (NVM) Driver

Analogue Front-End (AFE) Driver

Parameter StorageFlash 2 KB sector (0x13800-0x13FFF)

SPI1 Driver

IS25LQ04-JNLE 512 KB SPI flash

I2C1 Driver

M24M02 256 KB I2C EEPROM

Analog Measurements and Energy Calculations

High-Speed Comparator (CMP)

Driver

Phase Voltages and Currents Signal

Conditioning Circuit

Quad Timer (TMR) Driver

Pulse Output Generation

Phase Voltage Frequency Measurement

Peripheral Crossbar (XBAR) Driver

kWh and kVARh LEDs

Quad Timer (TMR) Driver

GPIO & PORT Drivers

Communications

GPRS module interface

Application Reset

System Mode Controller (SMC)

Driver

Clock Management

IR interface (IEC62056-21)

UART0Driver

Isolated RS232 interface

Customizable command interface

UART3Driver

GPRS driver

Low-Power Real- Metering LibraryTime (LPRT)

Independent Real Time Clock (IRTC)

Driver32.768 kHz External

Crystal

Tampers interface

Tampering

8x15 Segment LCD Display

HMISegment LCD Controller Driver

GPIO & PORT Drivers

PUSH button

GPIO & PORTDrivers

Watchdog (WDOG) Driver

System Integration Module (SIM) Driver

Device Initialization and Security

Low Leakage Wakeup (LLWU)

Driver

Data Processing(executes periodically)

Low Power Timer (LPTMR) Driver

Voltage Reference (VREF) Driver

Calibration Task(event triggered execution)

HMI Control(execute periodically)

Operating Mode Control(executes after each POR)

Communication Tasks(event triggered execution)

Parameter Management Tasks

(event triggered execution)

Calculation Billing and Non-billing Quantities

(executes periodically)

Tamper monitoring(event triggered execution)

UART1Driver

Bare-metal drivers Libraries Application SW

EEPROM Driver

Frequency-Locked Loop (FLL) Driver

Figure 17. Software architecture

5.2 Software tasksThe software tasks are part of the application. They are driven by events (interrupts) generated either by the on-chip peripheralsor the application tasks. The list of all tasks, trigger events, and calling periods is summarized in the following table:

NXP SemiconductorsSoftware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 15 / 35

Page 16: KM35Z512 based One-Phase Smart Power Meter Reference

Table 2. List of software tasks

Task name Description Source file(s) Function(s) name Trigger sourceIRQ

priority

Calling

period

Operatingmode control

Controlstransitioning

betweenpower meter

operating modes

IOControls.c

IOControls.hAppGPIOInit Meter reset – After every meter

reset

HMI control

Updates LCD UserInterface.c Display QTMR interrupt Level 3

(lowest) Periodic 1 sec

Reads userbutton state Timer.c GPTimerEventHa

ndler QTMR interrupt Level 3(lowest) Asynchronous

Dataprocessing

Reads digitalvalues from

the AFE

libmeterliblprt_cmp0p.a/

meterlprtlib_cm0p_iar.a/

meterlprtlib_cm0p_mdk.lib,MeteringLPRT

.h

V_CallbackAFE CH2

conversioncomplete IRQ

Level 2 Periodic 333.3 μs

Calculation Zero-cross detection

libmeterliblprt_cmp0p.a/

meterlprtlib_cm0p_iar.a/

meterlprtlib_cm0p_mdk.lib,

MeteringLPRT.h

TMR2callback

QTMR interrupt(CMP1 o/p

triggering QTMRthrough XBAR)

Level 2 Periodic 20 msec(50 Hz)

CalculationCalculation

billing and non-billing quantities

libmeterliblprt_cmp0p.a/

meterlprtlib_cm0p_iar.a/

meterlprtlib_cm0p_mdk.lib,MeteringLPRT

.h

DoMetering1Ph – Periodic 1 sec

Pulsegeneration

LEDsdynamic pulse

output generationMeteringISR.h DoPulsing1Ph LPTMR0

compare flagLevel 0

(highest)Periodic every 1

msec

Tampermonitoring

Readstampers state

RTCDriver.c,

RTCDriver.hRTCEventHandle

r

TAMPER0 activehigh, TAMPER1

both edges

Level 3(lowest) Asynchronous

Table continues on the next page...

NXP SemiconductorsSoftware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 16 / 35

Page 17: KM35Z512 based One-Phase Smart Power Meter Reference

Table 2. List of software tasks (continued)

Task name Description Source file(s) Function(s) name Trigger sourceIRQ

priority

Calling

period

Power metercalibration

Performs powermeter calibration

libmeterliblprt_cmp0p.a/

meterlprtlib_cm0p_iar.a/

meterlprtlib_cm0p_mdk.lib,

Calibration1Ph.h

DoCalibration1Ph UART interface –Command

through UARTinterface

Parametermanagement

Reads parametersfrom the Flashand from the

external EEPROM MeteringRunInit.c,

MeteringInterface1Ph.h

InitCalibration Device reset – After everydevice reset

Writes parametersto the Flashand to the

external EEPROM

UpdateFlashCalib,

ReadVerifyFlashCalib,

ReadVerifyCalib1Ph,

After successfulcalibration,

controlled by user,or switching off

– Asynchronous

Writes backupto the

external EEPROMUpdateCalib

After successfulcalibration,

controlled by user–

Commandthrough UART

interface

A special load point must be applied by the test equipment.

NOTE

5.2.1 Power meter calibrationThe power meter is calibrated using a special test equipment. The calibration task runs whenever power meter is connected tothe mains and a calibration command is triggered through IR communication interface. The running calibration task measuresthe phase voltage and phase current signals generated by the test equipment; it scans for 240 V phase voltage and 10.0 Aphase current waveforms with a 60 degree phase shift. The voltage and current signals must be the first harmonic only. All thesevalues should be precise and stable during the calibration itself; the final precision of the power meter strongly depends on it.If the calibration task detects such a load point, then the calibration task calculates the calibration gains and phase shift using thefollowing equations:

gainU = 240.0/URMS Eq. 5-1

gainI = 10.0/IRMS Eq. 5-2

θ = 60ο - tan-1 (Q/P) Eq. 5-3

gainU and gainI are calibrated gains.

θ is the calculated phase shift caused by the parasitic inductance of the shunt resistor or current transformer.

URMS, IRMS, P, and Q are quantities measured by the non-calibrated meter.

NXP SemiconductorsSoftware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 17 / 35

Page 18: KM35Z512 based One-Phase Smart Power Meter Reference

The calibration task terminates by storing the calibration gains and phase shifts into two non-volatile memories; the internalFlash memory and the external EEPROM memory (backup storage). The recalibration of the power meter can be reinitiatedlater also. For more detailed discussion of the calibration process, refer application note AN12827 Single point power metercalibration process.

5.2.2 Operating mode controlThe transitioning of the power meter electronics between the operating modes helps to maintain a long battery lifetime. The powermeter software application supports the following operating modes:

• Normal: Electricity is supplied, the power meter is fully functional.

• Standby: Electricity is disconnected, and you can list through the menus and can also communicate with the meter usingIR interface.

• Power-down: Electricity is disconnected with no user interaction.

The Figure 18 shows the transitioning between the supported operating modes. After the battery or the mains is connected, thepower meter transitions to the Device Reset state. If the electricity is applied, then the software application enters the Normalmode, and all software tasks including calibration, measurements, calculations, HMI control, parameter storage, pulse generation,tamper management, and communication, are executed. In this mode, the MKM35Z512VLL7 device runs in the RUN mode.The system core and Flash clock frequency are generated by the frequency-locked loop (FLL), and it is 23.986 MHz. The AFEclock frequency is generated by the phase-locked loop (PLL), and it is 12.288 MHz. The power meter electronics consume 11.0mA in the Normal mode.

Power-down Mode

Stand-By Mode

Normal Mode

DeviceReset

DeviceSwitched

OFF

inserted battery or electricity

applied

electricity applied

electricity disconnected

electricity disconnected and

15 s timeout elapsed

electricity applied or

user button pressed

pressing user button refreshes

15 s timeout

battery removed and electricity disconnected

electricity disconnected or user button pressed

electricity applied

battery supply present

Figure 18. Operating modes

If the electricity is not applied, then the software application enters the power-down mode. Meter can exit this mode when electricityis applied, or user button is pressed. If user button is pressed, the software then enters the standby mode. This mode transitionsbetween the Normal mode and the Power-down mode with a duration of only 15 seconds refresh timeout. The power meterruns from the battery during this mode, and you can list through the menus and can also download meter billing and non-billingquantities through IR interface only. In this mode, the MKM35Z512VLL7 device functions in the RUN mode. The system clockfrequency is scaled down to 2 MHz from the 4 MHz internal relaxation oscillator. Because of the slow clock frequency, the limitednumber of enabled on-chip peripherals, the power consumption of the power meter electronics is approximately 2.2 mA.

When the power meter runs from the battery but you do not list through the menus, then the software transitions automaticallyto the Power-down mode. The MKM35Z512VLL7 device is forced to enter the Very Low Leakage Stop 2 (VLLS2) mode, where

NXP SemiconductorsSoftware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 18 / 35

Page 19: KM35Z512 based One-Phase Smart Power Meter Reference

the recovery can be triggered by pressing the user button or applying the electricity. The Power-down mode is characterized bya battery current consumption of 4.0 μA.

5.2.3 Data processingReading the phase voltage, phase and neutral current samples from the analog frontend (AFE) occurs periodically every333.3 μsec. This task runs on the high priority level, and it is triggered asynchronously when the AFE result registers receivenew samples.

This task reads the phase voltage, phase, and neutral current samples from three AFE result registers, and writes these valuesto the buffers, to be used by the calculation task.

AFE samples for voltage and current are taken continuously at a constant rate of 3000 samples per second.This can be achieved by setting AFE modulator clock and over sampling ratio (OSR) accordingly, for example, inlow-power AFE mode, setting AFE modulator clock to 768 kHz and OSR to 256. Although in normal AFE mode,higher modulator clock and OSR value can be set to achieve desired sample rate.

NOTE

5.2.4 CalculationsThis separate task monitors the mains zero-crossings, which are used to calculate frequency in the timer handler callback functionitself. Apart from that, the main calculation process computes both the billing (energies) and the non-billing quantities. This is doneperiodically at the end of 50 signal periods, that is, 1 second.

Now, all circle buffers are filled up with the AFE results from the previous 50 signal periods. First, the calculation task performs theDoMetering1Ph which calculates all instantaneous parameters including Vrms, Irms, Phase angle, and Powers. This calculationprocess uses the calibration gains obtained during the calibration stage (see Power meter calibration). DoCalibration1Ph functionis used to do calibration of the meter depending on a user command received through IR communication interface.

Finally, the billing quantities are computed, which helps to produce a low-jitter, high-dynamic range pulse output waveform for oneor two energy LEDs (kWh and KVArh). The energy LED pulsing is done by another independent task DoPulsing1Ph.

5.2.5 HMI controlThe Human Machine Interface (HMI) control task executes continuously for LCD display and push-button events. Using shortkeypress, the LCD parameters can be scrolled through a pre-defined list of billing and non-billing parameters.

5.2.6 Main loop processingMain loop of the application software runs all the tasks like Data processing, checking and storing tamper/events, communicationtasks, checking for power mode change, reads the real-time clock and refreshes the watchdog. The interaction with the user ismade through an asynchronous event, which occurs when the user button is pressed. By pressing the user button, you are ableto scroll through the menus and display all measured and calculated quantities see Figure 20.

5.2.7 Tamper monitoringThere are two hidden mechanical push-buttons. One button is used for the main cover opening detection, and the second buttonis used for the GPRS module removal or insertion detection. There is an optional third push button to detect the terminal coveropening. By default, this push button is not populated on meter PCB. These asynchronous events are read as the IRTC interrupt,those tamper events can be stored in the memory, and can be shown on the LCD continuously. The other tampers which aremonitored are magnetic tamper and few other electrical tamper conditions the detection logic of which are beyond the scope ofthis document.

NXP SemiconductorsSoftware design

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 19 / 35

Page 20: KM35Z512 based One-Phase Smart Power Meter Reference

5.2.8 IR port communicationIR port communication is done as part of Communication task. A proprietary set of communication commands has been utilized tocommunicate with the meter for few tasks, for example, calibration of the meter, reading billing and non-billing quantities, readingor setting meter clock etc. UART0 has been used for this interface.

5.2.9 GPRS port communicationGPRS module communication is done as part of Communication task. GPRS module is connected through UART3 of the MCU.The application software uses AT command interface to communicate with the GPRS mode. The communication protocol forremote communication through GPRS is beyond the scope of this document. GPRS communication enables AMI (or AMR) meterreading from remote location.

5.2.10 Parameter managementThe current software application uses 2048-byte sector of the internal MKM35Z512VLL7 Flash memory for parameter storage.There is also an external 256 KB EPROM memory used for the same purpose, but as a backup storage (optional only). By default,the parameters are written after a successful calibration, and they are read after each device reset. The main purpose for usingthese non-volatile memories like EEPROM is to save all the other meter parameters. Storing and reading of parameters can alsobe initiated through the IR or GPRS communication interface using proprietary tool or protocol-specific standard tools used bypower meter OEMs or utilities.

5.3 PerformanceTable 3 shows the memory requirements of the MKM35Z512 one-phase power meter software application, see section 5.1.

Table 3. Memory requirements

Function DescriptionFlash size

[KB]

RAM size

[KB]

Application framework Complete application without LPRT library, EEPROM driver,and communication 37.758 9.976

Low-power real timemetering library Low-power real time metering algorithm library 4.628 1.453

EEPROM driver EEPROM driver 1.084 -

Proprietary communication Proprietary protocol and serial communication driver 5.078 1.357

Grand total 48.548 12.800

The device system clock is generated by the FLL (except for the AFE clock). In the Normal operating mode, the FLL multiplies theclock of an external 32.768 kHz crystal by a factor of 732, hence generating a low-jitter system clock with a frequency of 23.986176MHz. Such system clock frequency is sufficient for executing a fully functional software application.

6 Application setupFigure 19 shows the wiring diagram of the MKM35Z512 one-phase power meter. Registering the active and reactive energyconsumed by an external load is among the main capabilities of the power meter. When you connect the power meter to the mainsor when you press the user button, the power meter transitions from the Power-down mode to either the Normal mode or theStandby mode, respectively. In the Normal and Standby modes, the LCD is turned on, and it shows the last quantity. List throughthe menus and display other quantities by pressing the user button. All configuration and informative quantities accessible throughthe LCD are summarized in Table 4.

NXP SemiconductorsApplication setup

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 20 / 35

Page 21: KM35Z512 based One-Phase Smart Power Meter Reference

Display 8x15 segments Active energy LED (Red)Reactive energy LED (Red)

Debug interface

IR interface

GPRS module

User PUSH button

KM35Z512 MCU (bottom side)

RS232 interface

Shunt resistor

Module open tamper (bottom side)

Cover open tamper

Crystal (bottom side)

Current transfer (bottom side)

Relays (bottom side)

PHASE NEUTRAL

PHASE NEUTRAL

Load, up to 60 A

Figure 19. MKM35Z512 one-phase power meter wiring diagram

Table 4. LCD menu item list

Value Unit Format Auxiliary symbols

Line voltage VRMS ###.## V

Phase line current ARMS ###.## A

Neutral line current ARMS ###.## A

Signed active power P W #.## (+ forward, – reverse) W

Signed reactive power Q VAr #.## (+ lag, – lead) VA, r

Apparent power S VA #.## VA

Power factor – #.### PF

Frequency Hz #.### Hz

Date – DD:MM:YY

Time – HH:MM:SS

Meter serial number – ########

Figure 20 shows the values and special symbols on the power meter display. This figure displays the following display parameters– line voltage, phase current, instantaneous active power, date, time, all segment ON.

NXP SemiconductorsApplication setup

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 21 / 35

Page 22: KM35Z512 based One-Phase Smart Power Meter Reference

Figure 20. MKM35Z512 one-phase smart power meter display

The active energy LED flashes simultaneously with the internal energy counters during the Normal operation mode. The activeenergy LED is the sum of both active energies (imported and exported).

7 Accuracy and performanceThe MKM35Z512 one-phase reference designs are fully calibrated using the test equipment MTE PTS400.3. All power meterswere tested according to the IS14697 class 0.5 (0.5 %) Indian standards for electronic meters.

During the calibration and testing process, the power meter measured electrical quantities generated by the test bench MTEPTS400.3, calculated the active energy, and generated pulses on the output LED; each generated pulse was equal to the activeenergy amount in kWh/ imp. The deviations between the pulses generated by the power meter and the reference pulses generatedby the test equipment defined the measurement accuracy.

Figure 21 shows the accuracy plot of NXP MKM35Z512 one-phase smart power meter. The figure indicates the results of thepower meter accuracy performed at 25 °C. The accuracy of the measurement for various phase currents, various phase voltages,various frequency values, and the angles between phase current and phase voltage, are shown in the graph.

First graph shows the accuracy of the active energy measurement after calibration. The x-axis shows the variation of the phasecurrent, and the y-axis denotes the average accuracy of the power meter, computed from five successive measurements. The twobold red lines define the Class 0.5 (IS14697) accuracy margins for active energy measurement for power factor 1 for this test.

The second graph shows the accuracy of the active energy after calibration. The x-axis shows the variation of the phase voltage,and the y-axis denotes the average accuracy of the power meter, computed from five successive measurements. The two boldred lines define the Class 0.5 (IS14697) accuracy margins for active energy measurement for power factor 1 for this test.

The third graph shows the accuracy of the active energy after calibration. The x-axis shows the variation of the frequency, and they-axis denotes the average accuracy of the power meter, computed from five successive measurements. The two bold red linesdefine the Class 0.5 (IS14697) accuracy margins for active energy measurement for power factor 1 for this test.

By analyzing the protocols of several MKM35Z512 one-phase power meters, this equipment measures active and reactiveenergies at all power factors, at 25 °C ambient temperature, and in the current range of 0.1 – 72 A, with the accuracy range of±0.5 %.

Even though the current range of the power meter is scaled to 72 A, it is not recommended to operate the powermeter in the 60 – 72 A range for a longer time period, due to heating of the shunt resistor in this current range.

CAUTION

NXP SemiconductorsAccuracy and performance

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 22 / 35

Page 23: KM35Z512 based One-Phase Smart Power Meter Reference

In (A)

ERR [%] Active Energy(unity and other power factors PF)

ERR [%] Active Energy(unity and other power factors PF)

NXP SemiconductorsAccuracy and performance

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 23 / 35

Page 24: KM35Z512 based One-Phase Smart Power Meter Reference

43 45 47 49 51 53 55 57

ERR [%] Active Energy(unity and other power factors PF)

Figure 21. Accuracy results at 25 °C

8 SummaryThis design reference manual describes a solution for a one-phase smart electronic power meter, based on theMKM35Z512VLL7 MCU.

NXP offers Fast Fourier Transform (FFT), Filter-based, Low-power and real time-based metering algorithms for use in customerapplications. The FFT-based metering algorithm calculates the metering quantities in the frequency domain, the latter two doesthe same in the time domain. This reference manual explains the basic theory of power metering and lists all the equations to becalculated by the power meter.

The hardware platform of the power meter is algorithm-independent, so the application firmware can leverage any type of meteringalgorithm, based on customer preference. To extend the power meter uses, the hardware platform comprises either 256 KBEEPROM for data storage and firmware upgrade and also an optional 512 KB SPI Flash for firmware upgrade, and an expansionheader for GPRS module for AMI communication and monitoring.

The application software is written in the C language, and compiled using MCUXpresso, IAR Embedded Workbench for Armand Keil tool chains. It is based on the MKM35Z512 SDK software drivers and the Low-Power Real-Time (LPRT) metrologylibrary. The application firmware calibrates the power meter through IR command, calculates all metering quantities, controlsactive energy pulse output and the LCD, stores, and retrieves parameters from the Flash and EEPROM memory. The applicationsoftware of such complexity requires approximately 49 KB of Flash and 7 KB of RAM. The system clock frequency of theMKM35Z512VLL7 device must be 12.288 MHz (or higher) to calculate all metering quantities with an update rate of 3 kHz (thesample rate).

The power meter is designed to transition between three operating modes. It runs in the Normal mode when it is powered from themains. In this mode, the meter electronics consume 11.0 mA. The Standby mode is entered when the power meter runs from thebattery and the user lists through the menus. In this particular mode, the 3.6 V Li-SOCI2 (1.2 Ah) battery is being discharged by 2.2

NXP SemiconductorsSummary

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 24 / 35

Page 25: KM35Z512 based One-Phase Smart Power Meter Reference

mA as it also measures currents on both phase and neutral current channels. When the power meter runs from the battery but nointeraction with the user occurs, the power meter electronics automatically transition to the Power-down mode. The Power-downmode is characterized by current consumption as low as 4 μA.

The application software enables you to monitor the measured and calculated quantities through the proprietary applicationrunning on your PC. The IR communication interface is used for such communication. Another very important means of AMI (orAMR) communication is through GPRS communication module.

The MKM35Z512 one-phase smart power meters were tested according to the IS14697 Indian standard for static watt-hour metersfor Class 0.5 accuracy. After analyzing several power meters, we can state that this smart power meter measures active energiesat all power factors, at 25 °C ambient temperature, in the current range of 0.1 – 72 A, with an accuracy range of ±0.5 %.

9 References1. Single Point Meter Calibration process (document AN12827).

2. FFT-Based Algorithm for Metering Applications (document AN4255).

3. Using FFT on the Sigma-Delta ADCs (document AN4847).

4. Filter-Based Algorithm for Metering Applications (document AN4265).

5. MKM34Z256 SDK Software Drivers (available at https://mcuxpresso.nxp.com/en/welcome).

6. FreeMASTER Data Visualization and Calibration Software (FreeMASTER).

7. Low-Power Real-Time Algorithm for Metering Applications (document AN13259).

10 Revision history

Revision number Date Substantive changes

0 May 2020 Initial release

1 21 October 2021 Update Class, Standard

NXP SemiconductorsReferences

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 25 / 35

Page 26: KM35Z512 based One-Phase Smart Power Meter Reference

11 Metering Board Electronics

~

~

+

-

D21

DF10S1

1

2 3

4

R6610K

Q1PMV90ENE

D1BAT54C/SOT

31

2

RLVR52

10K

R63

10K

CON15

PCT2

1

GND

Smart Meter - NXP

Q5PMV100XPEA

RST

RLVD41N4007

GND1

RFTXD

uVCC

Pushbutton and Latch(Power)

LCD2

R68100K/1210/2512

GND

C38

33uF

,450

V1

2

L3

15mH

1 2

R551K

GND

R6

470K

,120

6

R33

2K7

LP10

RBAT

R61

18K

1 2

RL2ON

SCL

R37

2K7

LCD8

RL1ON

Q2PMV90ENE

uVCC RL1OFF

RST

+C361000uF/25V

12

Title

Size Document Number Rev

Date: Sheet of

1.0.0Custom

1 1Thursday, January 09, 2020

ABAT

uVCC

D13BAT54C/SOT

31

2

LCD14

LCD1 8COM LCD

PIN

11

PIN

22

PIN

33

PIN

44

PIN

55

PIN

66

PIN

77

PIN

88

PIN

99

PIN

1010

PIN

1111

PIN

1212

PIN

1313

PIN

1414

PIN

1515

PIN

1616

PIN

1717

PIN

1818

PIN

1919

PIN

2020

PIN

2121

PIN

2222

PIN

2323

C10 1uf

D7

BAT54C/SOT3

1

2

Cover / Terminal Cover Open

R12

2K7

+C47

10uF

/25V

PT1PT334-6B

21

Signal Conditioning

MN2

MH1

U5AH180-WG7

VCC1

OUT2 GND

3

R8439K

D8BAT54C/SOT

31

2

LCD20

R31

2K7

D14BAT54C/SOT

31

2

+

C25100uf/25V

GND

LP7

R70 22R

NEUTRAL

C11 0.1uf

M_SDAM_SDA

LP11

uVCCB

LP20

LCD

1

LCD19

J5Jumper

RL2ON

LP4

uVCC

GND

C13 0.1uf

SCK

R83

470K

MOV1V510LA80BPW

R91

100R/2W

D6BAT54C/SOT

31

2

R16

2K7

KVAR

H

LCD18

C16 1uf

C3410pf

CON10

G9TB-U1A

123

R29

2K7

RL2OFF

R57

47K

L415mH

12

R442K2

1 2

KVARH

NCT

LP1

MAINS_ON

BT1CR-2032

132

LCD17

+

C26100uf/25V

Relay Driver

R39 51RRFRXD

C15

1uf/25V

SDA

C230.1uf

IN+

uVCCB

R73 1K2

BT2ER14250

13 2

C48

33uF

,450

V1

2

C551nf

RFTXD

U12EL817A

12

43

LP19

R18

2K7

C5

0.01uf

R4

470K

,120

6

LCD & Pulse LED (KWh)NEUTRAL

VR

RFV

BKLT1LCDBKLT 1

2

LCD

19

KWH

FB21000Z

RL1ON

LP2

CON11

JTAG

12345

CON3CT+

1

MN4

MH1

uVCC

GND

LP6

C7

0.1uf

uVCC

R24

2K7

U10TLV809

GN

D1

RST

3VC

C2

Q3

PMV90ENE

D21N4007

C190.1uf

Communication

C410.1uf

RLV

R64

100K

U6EL817A

4 1

3 2

LED1LED1

2

RL1OFF

RLV1

uVCC

C540.1uf

LCD

15

R86

3K3

R42

100K

LPV

TAMP1

RFV

+

C39470uF/25V

R22

2K7

M_SDA

SWD_IO

VR

C372n2/2KV

C29

0.1uf

uVCC

SWD_CLK

CON12

Neutral

1

MAG

RBAT

LP14

TAMP1

RFV

Q4

PMV90ENE

GND

R87 10K

RFCTS

CON1LCDB

1

OTXD

LCD

4

GND

LCD9

R20

2K7

RSRXD

LCD

0

NIC_PC

R7

820R

,120

6

REFO

RFRTS

XT1

SMD

12

R5

470K

,120

6

C49 22nf

U3

TLV493DA1B6HTSA2

SCL/INT1

GND2

GND3

VDD4GND5SDA/ADDR6

GND

MN3

MH1

C28

0.1uf

R80DNP-10K

C8

0.1uf

LCD15

D9MURS120

R85 1K2

uVCC

RSTXD

C271uf

PB

R7522R

R91K

GND

MN1

MH1

J1Jumper

RSTXD

LCD21

CON6CT+

1

CON7

CT-1

R4947K

R47

1K

12

R35

2K7

R782K7

FB11000Z

GND

GND

LP12

LCD0

C4

0.1uf

uVCC

LP16

+C40470uF/25V

LCD

2

C20

0.1uf

PBD

R72

100R 5W-WW

R62100K

12

R36

2K7

LPV

LCD6

C44

220n

f/310

V AC

RLVRLV

R58

47K

U2EL817A

41

32

CON5

E2964-WW01S12-LNC

1 GND2 RX3 TX4 VCC5 NC6

LCD

6

SS

C22 0.1uf

CON13

PCT1

1

IB+

FRC1

CON_RF

1 23 45 6

879 10

LCD

22LCD5

SW4PBU

1

43

2

R11 7R

RSRXD

R4810K

R32 7R

TAMP2

MISO

LAT

R88 22R

C35

0.1uf

D20BAV99

C17

0.1uf

LP23

LCD4

R30

2K7

TAMP0

+C4210uF,25V

1

2

MAG

LCD

17

LP9

GND

IN-

D17BAV99

R381K5

R65

1M

LCD3

RL2OFF

PB

D51N4007

OTXD

LP8

SW3PBD

1

43

2

R60510K1

2

GND

R81DNP

R261K5

D16UF4007

C3

0.1uf

C3310pf

R561K

R28

2K7

GND

uVCC

R3

470K

,120

6

SWD_CLK

C51

2n2/50V

CON4

CT-1

MOSI

LPV

R59510K

12

RLVRLV

R7110K

R82470R

LP13

GND1

LCD

18

LP15

LCD

10

XT232K768

21

34

R17

2K7

TVS1PESD5V0S1BA / ESDALCL5-1BM2

LCD

3

R74

470K

TORelays

J2Jumper

R770R

IN-

LCD

16

M_SCL

LCD

12

LCD

5

R10 51R

CON9

G9TB-U1A

123

R13

2K7

C2

0.1uf

R5047K

RFV

Single Wire Operation

IB+

ABAT

R23

2K7

ORXD

GND

R43 1K1 2

BAT

D15 MRA4007

R89220K

ABAT

LAT

L1 3.3uH,3A

SW2

PS-221605-F NS

12

34

56

R92

10K

LCD16

TVS2

CDDFN2-T3.3B / ESDALCL5-1BM2

PCT

Q6

BC81

7-40

LT1G

GND

RFRXD

ORXD

R67

470K

LP21

Power Supply

C30

0.1uf

U1

MKM34ZXXXxxxX-TP100pin

PTA0/LCD231

PTA1/LCD242

PTA2/LCD253

PTA3/LCD264

PTA4/LCD27/LLWU_P15/NMI5

PTA5/LCD28/CMP0OUT6

PTA6/LCD29/PXBAR_IN0/LLWU_P147

PTA7/LCD30/PXBAR_OUT08

PTB0/LCD319

VDD

110

VSS1

11PTB1/LCD32

12

PTB2/LCD3313

PTB3/LCD3414

PTB4/LCD3515

PTB5/LCD3616

PTB6/LCD37/CMP1P017

PTB7/LCD38/AFE_CLK18

PTC0/LCD39/SCI3_RTS/PXBAR_IN119

PTC1/LCD40/CMP1P1/SCI3_CTS20

PTC2/LCD41/SCI3_TXD/PXBAR_OUT121

PTC3/LCD42/CMP0P3/SCI3_RXD/LLWU_P1322

PTC4/LCD4323

EXTAL32K26

VDDA31

VSSA32

PTC5/AD0/SCI0_RTS/LLWU_P1244

PTC6/AD1/SCI0_CTS/QT145

PTC7/AD2/SCI0_TXD/PXBAR_OUT246

PTD0/CMP0P0/SCI0_RXD/PXBAR_IN2/LLWU_P1147

PTD1/SCI1_TXD/SPI0_SS/PXBAR_OUT3/QT348PTD2/CMP0P1/SCI1_RXD/SPI0_SCK/PXBAR_IN3/LLWU_P1049

PTD3/SCI1_CTS/SPI0_MOSI50

PTD4/AD3/SCI1_RTS/SPI0_MISO/LLWU_P951 PTD5/AD4/LPTIM2/QT0/SCI3_CTS

52

PTD6/AD5/LPTIM1/CMP1OUT/SCI3_RTS/LLWU_P853

PTD7/CMP0P4/I2C0_SCL/PXBAR_IN4/SCI3_RXD/LLWU_P754

PTE0/I2C0_SDA/PXBAR_OUT4/SCI3_TXD/CLKOUT55

PTE1/RESET56

PTE2/EXTAL1/EWM_IN/PXBAR_IN6/I2C1_SDA57

PTE3/XTAL1/EWM_OUT/AFE_CLK/I2C1_SCL58

VSS3

59

SAR_VSSA60

SAR_VDDA61

VDD

262

PTE4/LPTIM0/SCI2_CTS/EWM_IN63

PTE5/QT3/SCI2_RTS/EWM_OUT/LLWU_P664

PTE6/CMP0P2/PXBAR_IN5/SCI2_RXD/LLWU_P5/SWD_IO65 PTE7/AD6/PXBAR_OUT5/SCI2_TXD/SWD_CLK66

PTF0/AD7/RTCCLKOUT/QT2/CMP0OUT67

PTF1/LCD0/AD8/QT0/PXBAR_OUT668

PTF2/LCD1/AD9/CMP1OUT/RTCCLKOUT69

PTF3/LCD2/SPI1_SS/LPTIM1/SCI0_RXD70

PTF4/LCD3/SPI1_SCK/LPTIM0/SCI0_TXD71

PTF5/LCD4/SPI1_MISO/I2C1_SCL/LLWU_P472

PTF6/LCD5/SPI1_MOSI/I2C1_SDA/LLWU_P373

PTF7/LCD6/QT2/CLKOUT74

PTG0/LCD7/QT1/LPTIM275

PTG1/LCD8/AD10/LLWU_P2/LPTIM076

PTG2/LCD9/AD11/SPI0_SS/LLWU_P177

PTG3/LCD10/SPI0_SCK/I2C0_SCL78

PTG4/LCD11/SPI0_MOSI/I2C0_SDA79

PTG5/LCD12/SPI0_MISO/LPTIM180

PTG6/LCD13/LLWU_P0/LPTIM281

PTG7/LCD1482

PTH0/LCD1583

PTH1/LCD1684

PTH2/LCD1785

PTH3/LCD1886

PTH4/LCD1987

PTH5/LCD2088

PTH6/SCI1_CTS/SPI1_SS/PXBAR_IN789

PTH7/SCI1_RTS/SPI1_SCK/PXBAR_OUT790

PTI0/CMP0P5/SCI1_RXD/PXBAR_IN8/SPI1_MISO/SPI1_MOSI91

PTI1/SCI1_TXD/PXBAR_OUT8/SPI1_MOSI/SPI1_MISO92

PTI2/LCD2193

PTI3/LCD2294

VSS4

95

VLL3

96

VLL2

97

VLL1

98

VCAP

299

VCAP

110

0

VSS2

27

TAMPER030

TAMPER129

TAMPER228

VBAT

24

XTAL32K25

SDADP033 SDADM034

SDADP135 SDADM136

VREFH37

VREFL38

SDADP2/CMP1P239 SDADM2/CMP1P340

VREF41

SDADP3/CMP1P442 SDADM3/CMP1P543

LCD22

R21

2K7

C43

0.1uf

MISO

PBD

T1EE20 / 10P

5

3

2

4

9

10

1

8

76

RFCTS

IRLED1IR333

2

1

SDA

TAMP2

LCD1C9 1uf

GND

GND

LP18

C320.1uf

C50

0.1uf

CON2UART

1234

KWH

LCD7

Magnetic Tamper

M_SCL

C52

47nf/50V

LCD

20

R19

2K7

R46 51R

R14

2K7

OTXD

Auxilary Power (Single wire operation)DNP incase SWB option

uVCC

LCD13

LCD

8

CON8

CTG1

IB-

GND

R531K

LPV

C31

0.1uf

U7

M24M02-DR

A01

A12

GND4

SDA5SCL6WP7VCC8

A23

+C53470uF/35V

R9010K

D12MURS360

LCD12

C1 0.1uf

TAMP0

R40 51R

LP17

M_SDAM_SDA

uVCC

R34

2K7

MOSI

GND

MAINS_ONU11

Viper26KGND

1

VCC

5

NC6

FB7

CO

MP

8

D16

D15

D14

D13

NC2NC3NC4

NC9

NC10

NC11

NC12

LP22

LCD11

C60.1uf

4.5V for RF Module

R251K5

J3 Jumper

R541K

LCD

21

NMS

LCD

11

LCD

7

LED2LED1

2

LCD10

GND

LCD

14

ORXD

U9ST732M36R

IN2

NC

04

NC

15

OUT3

GN

D1

R41

1K5

12

IN+

SCL

R691K

R27

2K7

NIC_PC

FRC4

CON_RF

1 23 45 6

879 10

TVS3CDDFN2-T3.3B / ESDALCL5-1BM2

GND

R93

10K

Memory

C46

220n

f/310

V AC

SS

U4AH180-WG7

VCC1

OUT2GND

3

R761K

NMS

PGND

R15

2K7

LP3

D31N4007

LP5

SCK

LCD

9

GND

R8510

C451n2,Y2

C21

0.1uf

SWD_IO

SW1

PS-221605-F NS

12

34

56

R2 10K

C24

0.1uf

J4Jumper

RLV

ABAT

C14 0.1uf

U13TL431

31

2

R79

470K

R51

10K

SH

CON14

Phase

1

J1 - CLOSE - CLOSE J2 - OPEN - CLOSEJ3 - CLOSE - OPENJ4 - CLOSE - CLOSE J5 - OPEN - CLOSED6 - MOUNT - DONTD7 - MOUNT - DONTD8 - MOUNT - DONTAUX - MOUNT - DONT

uVCCB

+C12

100uf/25V

C18 1uf

U8IS25LQ040B-JNLE

CE1

SO2

WP3

GND4

SI5SCK6HOLD7VCC8

R1 51R

Arrow Electronics India Pvt. Ltd.,

GNDuVCCB

R45

10K

IB-

LCD

13

RFRTS

Figure 22. Schematic diagram of the metering board

NXP SemiconductorsMetering Board Electronics

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 26 / 35

Page 27: KM35Z512 based One-Phase Smart Power Meter Reference

GND

GND

SIM2

MOLEX-1042240820

sVCC1 RST2 CLK3

GND5NC6DATA7S1

4S2

899

1010

1111

1212

S_D

AT

R11K

+C20

100uf/25V

DCD

GP_TX

+C1922uF,25V

1

2

GND

5V

GN

D

MR

ST

C2

0.1u

f

C4

33pf

WM620/N52 Module - Antenna - USB

R13 100

L4

27nH

GND

GND

S_RST

GND

VMO

D

CON2

USB

12345

V_BUS

J2JMP

GNDS_VCC

GND

S_VC

C

GND

S_DET

SIM Interface

LED1LED

12

+C1810uF,25V

1

2

L227nH

+C16

10uf/25V

GND

GN

D

MC

UVC

C

C6

0.1u

f

GND

ANT

SuperCap

J5 JMP

C10

0.1u

f

RIN

G

C5

0.1u

f

V1_8

V

MCURX

UFL1MM9329-2700

1 2

34

C9

33pf

L52.2uH, 3A

J6 JMP

S_DAT

S_VCC

MOD1

WM620

GND1

NC2

NC3

NC4

NC5

NC6

NC7

NC8

NC9

NC10

NC11

GND12

UIM

_VC

C13

UIM

_RST

14

UIM

_DAT

A15

UIM

_CLK

16

GN

D17

USB

D+

18

USB

D-

19

V_BU

S20

GN

D21

VBAT

122

VBAT

223

GN

D24

RES

ET25

V_M

SME_

1.8V

26

V_M

SMP_

2.6V

27

EAR

_1P

28

EAR

_1N

29

MIC

_1N

30

MIC

_1P

31

ANT44

GND43

NC42

NC41

NC40

NC39

NC38

NC37

SPKR_N36

SPKR_P35

GND34

MIC_N33

NC

62

GN

D61

SLEE

P60

DC

D59

NC

58

NC

57

NC

56

TXD

55

RXD

54

RTS

53

CTS

52

RN

G51

GN

D50

HKA

INO

49

SIG

_LED

48

VCIO

N47

ON

_OFF

46

MIC2_P32

GN

D45

DC

D

MRST

MCUTX

J1JMP

SIG_LED

VMOD

C12

33pf

S_R

ST

R114K7

V1_8V

GN

D

S_VCC

GN

D

VMOD

D2PESD5V0S1BA

L127nH

S_DAT

GND

GN

D

S_RST

MCURX

V1_8

V

D4STPS3H100U

5V

C3

1nf

D3

PESD5V0S1BA

SIG

_LED

J3 JMP

R7560K

R3

10K

MCUTX

S_CLK

SDS

Q1BC817

23

1

GND

S_DAT

R104K7

USB

_D-

R15

DNP

R1210K

J4JMP

C13

33pf

R5

10K

SIG

_LED

+C1

470u

F/10

V

MC

UVC

C

N51 Module Control

GND

V_BUS

S_VCC

GND

R910K

GP_

RX

+C17

100uf/25V

R16

0R

GND

+C15

10uF,25V

1

2

USB_D+

MCUVCC

S_VCC

C11

33pf

D6

PMEG

3030

EP12

V1_8V

FRC2

FRC10

1 23 45 6

879 10

S_C

LK

R21K5

GND

CON1

PCB ANT

12

GND

S_CLK

V_BU

S

MCU Interface

J7JMP

Arrow Electronics India Pvt. Ltd.,

V1_8

V

GP_RX

R41K

+C235F/2.7V

SIM1

MOLEX-475532001sVCC

1 RST2 CLK3

GND5NC6DATA7S1

4S2

899

1010

S_RST

SDS

GND

VMO

D

Title

Size Document Number Rev

Date: Sheet of

1 1.0

Network Interface Card

1 1Tuesday, February 11, 2020

GND

EN

D1

DALC208 / BZA408B

IO11

V2

IO23

IO34GND5IO46

GND

R8

10R

C14

0.1u

f

Q2BC817

23

1

GN

DS_CLK

MC

UVC

C

ANT

FRC1

FRC10

1 23 45 6

879 10

TP1TP

USB_D-

S_RST

D5

PMEG

3030

EP1

2

S_CLK

S_DET

S_DETGND

PWR

C21

33pf

C8 33pf

L3

27nH

U2STBB1-Axx

VOU

T1

SW2

2PG

ND

3SW

14

VIN

5EN

6

MO

DE

/ SYN

C7

VIN

A8

GN

D9

FB10

PAD11

R14100K

EN

C22

33pf

USB

_D+

J8JMP

R6

10K

U1ST732M33R

IN2

NC

04

NC

15

OUT3

GN

D1

GND

S_DAT

GP_

TX

PWR

GND

Q3BC817

2 3

1

MCUVCCGND

Figure 23. Schematic diagram of the GPRS daughter board

NXP SemiconductorsMetering Board Electronics

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 27 / 35

Page 28: KM35Z512 based One-Phase Smart Power Meter Reference

12 Appendix B: Metering board layout

Figure 24. Top-side view of the metering board (not scaled)

NXP SemiconductorsAppendix B: Metering board layout

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 28 / 35

Page 29: KM35Z512 based One-Phase Smart Power Meter Reference

Figure 25. Bottom-side view of the metering board (not scaled)

NXP SemiconductorsAppendix B: Metering board layout

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 29 / 35

Page 30: KM35Z512 based One-Phase Smart Power Meter Reference

Figure 26. Top-side view of the GPRS module board (not scaled)

NXP SemiconductorsAppendix B: Metering board layout

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 30 / 35

Page 31: KM35Z512 based One-Phase Smart Power Meter Reference

Figure 27. Bottom-side view of the GPRS module board (not scaled)

NXP SemiconductorsAppendix B: Metering board layout

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 31 / 35

Page 32: KM35Z512 based One-Phase Smart Power Meter Reference

13 Appendix C: Bill of materials of the metering board

Item Qty Reference Description Part Number Manufacturer Value1 1 LCD1+BKLT1 LCD with backlight HSA26785-DYTSP-01 Jiangxi Holitech LCD

2 1 BT1 Lithium Battery Coin 3V 210mAh CR2032-PEN3-A10606 EEMB 3V210mAh3 1 BT2 Lithium Battery Cylindrical 3.6V 1.2Ah 1/2AA ER14250-VB-A09586 EEMB 3.6V 1.2Ah4 1 CON1 PCB PAD NA NA NA

5 9CON3,CON4,CON6,CON7,CON8, CON12,CON13,CON14,CON15 PCB PAD NA NA NA

6 1 CON5 Headers & Wire Housings BERGSTIK 10119333-103A05LF Amphenol FCI BERGSTICK7 1 CON10 Headers & Wire Housings BERGSTIK 10119333-103A05LF Amphenol FCI BERGSTICK8 1 CON9 Headers & Wire Housings BERGSTIK 10119333-103A05LF Amphenol FCI BERGSTICK9 1 CON11 Headers & Wire Housings BERGSTIK 10119333-103A05LF Amphenol FCI BERGSTICK

10 2 C56,C57 0.1uf X7R 10% SMD0805CC0402KRX7R9BB104 / DNP YAGEO 0.1uF

11 15C1,C2,C3,C4,C6,C7,C8,C11,C13,C14,C19,C22,C29,C35,C58 0.1uf X7R 10% SMD0805 CC0402KRX7R9BB104 YAGEO 0.1uF

12 1 C5 0.01uf X7R 10% SMD0805 CC0603KRX7R9BB103 YAGEO 0.01uf 13 4 C9,C10,C16,C18 1uf X7R 10% SMD0805 CC0402KRX7R9BB105 YAGEO 1uf

14 1 C26 100uf/25v Aluminum case, electrolytic capacitor

UVR1E101MED1TD / ESK107M025AE3EA / DNP Nichicon / Kemet 100uf/25v

15 2 C12,C25 100uf/25v Aluminum case, electrolytic capacitorUVR1E101MED1TD / ESK107M025AE3EA Nichicon / Kemet 100uf/25v

16 1 C15 1uf X7R 10% SMD0805CC0805KRX7R9BB105 / DNP YAGEO 1uf

17 4 C24,C17,C20,C54 0.1uf X7R 10% SMD0805CC0603KRX7R9BB104 / DNP YAGEO 0.1uf

18 9 C21,C23,C28,C30,C31,C32,C41,C43, C49 0.1uf X7R 10% SMD0805 CC0603KRX7R9BB104 YAGEO 0.1uf 19 1 C27 1uf X7R 10% SMD0805 CC0603KRX7R9BB105 YAGEO 1uf 20 1 C36 1000uf/25v Aluminum case, electrolytic capacitor UVZ1V471MPD1TD / Nichicon / Kemet 1000uf/25v21 1 C37 2200pF ±10% 2000V (2kV) Ceramic Capacitor X7R Radial S222K53X7RP63K7R VISHAY 2200pF 2KV

22 2 C38,C48 33uf/450v Aluminum case, electrolytic capacitorUPW2W330MHD / SP450M0033B7S-1825 Nichicon / YAGEO 33uf/450v

23 1 C53 470uf/50v Aluminum case, electrolytic capacitor

UVZ1V471MPD1TD / ESK477M035AH2EA / DNP Nichicon / Kemet 470uf/50v

24 2 C39,C40 470uf/50v Aluminum case, electrolytic capacitorUVZ1V471MPD1TD / ESK477M035AH2EA Nichicon / Kemet 470uf/50v

25 2 C42,C47 10uf/25v Aluminum case, electrolytic capacitor

ESK106M025AC3FA / SN025M0010AZF-0511 Kemet / YAGEO 10uf/25v

26 1 C45 AC Line Rated Disc Capacitors X1Y1 440LD10-R VISHAY 0.001uF 400V27 1 C50 1nf X7R 10% SMD0805 CC0805KRX7R9BB102 YAGEO 1nf28 1 C51 2.2nf X7R 10% SMD0805 CC0805KRX7R9BB222 YAGEO 2.2nf29 1 C52 47nf X7R 10% SMD0805 CC0805KRX7R9BB473 YAGEO 47nf30 1 C55 1nf X7R 10% SMD0805 CC0603KRX7R9BB102 YAGEO 1nf31 3 D6,D7,D8 Rectifier Diode Schottky 0.2A 5ns 3-Pin SOT-23 T/R BAT54C,215 / DNP Nexperia BAT54C32 3 D1,D13,D14 Rectifier Diode Schottky 0.2A 5ns 3-Pin SOT-23 T/R BAT54C,215 Nexperia BAT54C

33 2 D3,D5 Rectifier Diode Switching 1KV 1A 75ns 2-Pin SMA T/RSTTH110A / US1M-E3/61T / DNP ST Micro / VISHAY STTH110A

34 2 D2,D4 Rectifier Diode Switching 1KV 1A 75ns 2-Pin SMA T/RSTTH110A / US1M-E3/61T ST Micro / VISHAY STTH110A

35 2 D9,D12 Rectifier Diode Schottky 100V 3A 2-Pin SMB Flat T/R STPS3H100UF ST Micro STPS3H10036 1 D15 Rectifier Diode Switching 600V 1A 80ns 2-Pin SMA T/R STTH1L06A ST Micro STTH1L06

37 1 D16Rectifier Diode Small Signal Switching 100V 0.3A 4ns 2-Pin SOD-123 T/R

BAS16GWJ /1N4148W-13-F Nexperia / Doide INC 1N4148

38 2 D17,D20Rectifier Diode Switching 100V 0.215A 4ns Automotive 3-Pin SOT-23 T/R

BAV99,235 / MMBD1203 / DNP Nexperia / ON Semi BAV99

39 1 D21 Rectifier Bridge Diode Single 1KV 1A 4-Pin Micro DIP SMD T/RMDB10S / MBL110S-M3/I ON Semi / VISHAY MDB10S

40 2 FB1,FB2Ferrite Beads Multi-Layer High Current 1KOhm 25% 100MHz 1.6A 0.12Ohm DCR 0805 T/R BLM21SP102SN1D MURATA 1K Beed

41 2 FRC1,FRC4 FRC connector 10 pin- C-Grid III Interconnects 901301110 MOLEX FRC Connector42 1 IRLED1 Round Non-flange Infrared LED IR313 Everlight IR31343 5 J1,J2,J3,J4,J5 PCB PAD NA NA JUMPER44 2 LED1,LED2 LED Uni-Color Super Red 650nm 2-Pin T-1 T/R 264-7SDRC/S530-A3 Everlight LED45 1 L1 DRUM Core Inductor 3.3uH@1KHz 3A 20% 10mOHM TH 122001 Prismatic 3.3uH

Figure 28. BOM report of meter PCB

NXP SemiconductorsAppendix C: Bill of materials of the metering board

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 32 / 35

Page 33: KM35Z512 based One-Phase Smart Power Meter Reference

Item Qty Reference Description Part Number Manufacturer Value46 1 L2 common mode choke Prismatic 15mH47 4 MN1,MN2,MN3,MN4 PCB PAD NA NA NA48 1 MOV1 RADIAL LEAD VARISTORS 510VRMS V510LA80BPW Littlefuse V510LA8049 1 PT1 PHOTO TRANSISTOR PT333-3C / BPV11 Everlight / VISHAY PT33350 2 Q1,Q3 T+D52:H54rans MOSFET N-CH 30V 3A 3-Pin SOT-23 T/R PMV90ENER Nexperia PMV90ENER51 2 Q2,Q4 T+D52:H54rans MOSFET N-CH 30V 3A 3-Pin SOT-23 T/R PMV90ENER / DNP Nexperia PMV90ENER52 1 Q5 Trans MOSFET P-CH 20V 2.4A 3-Pin SOT-23 T/R PMV100XPEAR Nexperia PMV100XPEAR

53 1 Q6 Trans GP BJT NPN 45V 0.5A 345mW 3-Pin SOT-23 T/RBC817,215 / BC817-16LT3G Nexperia / ON Semi BC817

54 2 R1,R45 Thick Film Resistor RC0603FR-0751RL YAGEO 51R55 2 R2,R63 Thick Film Resistor RC0603FR-0710KL YAGEO 10K56 8 R3,R4,R5,R6,R67,R74,R79,R83 Thick Film Resistor RC1206FR-07470KL YAGEO 470K57 1 R7 Thick Film Resistor RC1206FR-072K2L YAGEO 2K258 1 R8 Thick Film Resistor RC0603FR-0747KL YAGEO 47K

59 4 R43,R47,R54,R56 Thick Film ResistorRC0603FR-071KL / DNP YAGEO 1K

60 4 R9,R53,R55,R90 Thick Film Resistor RC0603FR-071KL YAGEO 1K61 4 R10,R39,R40,R46 Thick Film Resistor RC0402FR-0751RL YAGEO 51R62 2 R11,R32 Thick Film Resistor RC0603FR-077RL YAGEO 7R

63 24

R12,R13,R14,R15,R16,R17,R18,R19,R20,R21,R22,R23,R24,R27,R28,R29,R30,R31,R33,R34,R35,R36,R37,R71 Thick Film Resistor

RC0402FR-072K7L / RC0402FR-070RL YAGEO 2K7L / 0R

64 1 R41 Thick Film ResistorRC0603FR-071K5L / DNP YAGEO 1K5

65 3 R25,R26,R38 Thick Film Resistor RC0603FR-071K5L YAGEO 1K566 3 R42,R62,R65 Thick Film Resistor RC0603FR-07100KL YAGEO 100K

67 1 R44 Thick Film ResistorRC0805FR-072K2L/ DNP YAGEO 2K2

68 2 R92,R93 Thick Film Resistor RC0603FR-0710KL YAGEO 10K69 9 R48,R49,R51,R52,R57,R78,R81,R87,R89 Thick Film Resistor RC0603FR-0710KL YAGEO 10K

70 2 R50,R58 Thick Film Resistor RC0603FR-0710KL / DNP YAGEO 10K

71 1 R59 Thick Film Resistor RC0603FR-07510KL YAGEO 510K72 1 R60 Thick Film Resistor RC0603FR-07510KL YAGEO 510K73 1 R61 Thick Film Resistor RC0603FR-0718KL YAGEO 18K74 1 R64 Thick Film Resistor RC0603FR-07100KL YAGEO 100K75 1 R66 Thick Film Resistor RC0603FR-0727KL YAGEO 27K76 1 R68 Thick Film Resistor RC2512FR-07100KL YAGEO 100K77 3 R69,R70,R76 Thick Film Resistor RC1206FR-0722RL YAGEO 22R78 1 R72 Thick Film Resistor PNP300JR-73-47R YAGEO 4779 2 R73,R85 Thick Film Resistor RC1206FR-071K2L YAGEO 1K280 1 R75 Thick Film Resistor RC0805FR-0722RL YAGEO 22R

81 2 R77,R80 Thick Film Resistor RC0402FR-0710KL / DNP YAGEO 10K

82 1 R82 Thick Film Resistor RC0603FR-07220RL YAGEO 220R83 1 R84 Thick Film Resistor RC0603FR-070RL YAGEO 0R84 1 R86 Thick Film Resistor RC0805FR-073K3L YAGEO 3K3

85 1 R88 Thick Film ResistorRC0603FR-07470KL / DNP YAGEO 470K

86 1 R91 Thick Film ResistorPNP300JR-73-100R / DNP YAGEO 100

87 2 SW1,SW2 6 Pin Push to OFF SW SPST MOM NO PB 12V 50MA SMT PS-221605-F NS C&K COMPONENTS6 pin Switch88 2 SW3,SW4 Tact Switch DPDT PB 2A 500V TH PTS645SL952LFS C&K COMPONENTSTACT Switch89 1 T1 Flyback Transformer M34SM100-TP1V0 Prismatic EE20

90 1 U1MCU 32-bit ARM Cortex M0+ RISC 256KB Flash 2.5V/3.3V 100-Pin LQFP Tray

MKM34Z256VLL7NXP Semiconductors MKM34Z256

91 2 U2,U6 OPTO COUPLER DIP4FOD817A / VO617A-9 / DNP ON Semi / VISHAY FOD817A

92 1 U12 OPTO COUPLER DIP4 FOD817A / VO617A-9 ON Semi / VISHAY FOD817A

93 1 U3 Rotary Position Sensor 3.5V Digital Output 6-Pin TSOPTLV493DA1B6HTSA2 / DNP Infineon TLV493DA

94 1 U4 Hall Effect Sensor Omnipolar 3.3V/5V 3-Pin SC-59 T/R AH180-WL-7 / DNP DIODE INC AH18095 1 U5 Hall Effect Sensor Omnipolar 3.3V/5V 3-Pin SC-59 T/R AH180-WL-7 DIODE INC AH18096 1 U7 EEPROM Serial-I2C 2M-bit 256K x 8 2.5V/3.3V/5V 8-Pin SO N T/R M24M02-DRMN6TP ST Micro M24M02

97 1 U8NOR Flash Serial (SPI, Dual SPI, Quad SPI) 2.5V/3.3V 4M-bit 512K x 8 8ns 8-Pin SOIC N

IS25LQ040B-JNLE / DNP ISSI IS25LQ040B

98 1 U9 LDO Regulator Pos 3.6V 0.3A Automotive 5-Pin SOT-23 T/R ST732M36R ST Micro ST732M36R

99 1 U10 Processor Supervisor 2.64V 1 Active Low/Push-Pull TLV809L30DBVR / DNP TI TLV809

100 1 U11 AC to DC Switching Converter Flyback 60kHz T/R 16-Pin VIPER267KDTR%

ST Micro VIPER267KDTR

101 1 U13 V-Ref Adjustable 2.495V to 36V 100mA 3-Pin SOT-23 T/RTL431AIL3T / TL431AIDBZR ST Micro / TI TL431

102 1 XT2 Tuning fork crystal resonator/kHz band AB26T-32.768KHZ Abracon Corporation 32.678kHz

Figure 29. BOM report of meter PCB

NXP SemiconductorsAppendix C: Bill of materials of the metering board

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 33 / 35

Page 34: KM35Z512 based One-Phase Smart Power Meter Reference

14 Appendix D: Bill of materials of the GPRS board

Item Qty Reference Description Part Number Manufacturer Value1 1 CON1 PCB PAD NA NA NA2 1 CON2 Headers & Wire Housings BERGSTIK 10119333-103A05LF Amphenol FCI BERG STICK3 1 C1 Tantalum Capacitors - Solid SMD 470uF 10volts 10% T495X477K010ATE100 KEMET 470uf/16v4 3 C2,C5,C6 Multilayer Ceramic Capacitors MLCC - SMD/SMT 0.1uF 50V X7R 10%CC0603KRX7R9BB104 YAGEO 0.1uf5 1 C3 Multilayer Ceramic Capacitors MLCC - SMD/SMT 1.0nF 50V X7R 10%CC0603KRX7R9BB102 YAGEO 1nf6 2 C10,C14 Multilayer Ceramic Capacitors MLCC - SMD/SMT 0.1uF 50V X7R 10%CC0402KRX7R9BB104 YAGEO 0.1uf7 3 C11,C12,C13 Multilayer Ceramic Capacitors MLCC - SMD/SMT 33pF 50V NPO 10%CC0402JRNPO8BN330 YAGEO 33pf8 3 C4,C21,C22 Multilayer Ceramic Capacitors MLCC - SMD/SMT 33pF 50V NPO 10%CC0603JRNPO8BN330 YAGEO 33pf9 2 C8,C9 Multilayer Ceramic Capacitors MLCC - SMD/SMT / DNP CC0402JRNPO8BN330/ DNP YAGEO 33pf/DNP

10 3 C15,C18,C16 Multilayer Ceramic Capacitors MLCC - SMD/SMT 10uF 10% 25V YAGEO 10uf11 1 C17 Tantalum Capacitors - Solid SMD 100uF 25volts 20% T495E107M025AHE100 KEMET 100uf12 2 C19,C20 100uf/25v Aluminum case, electrolytic capacitor UVR1E101MED1TD NICHICON 100uf13 1 C23 Supercapacitors / Ultracapacitors 5F 2.7V 505DCN2R7Q illinoiscapacito 5F/2.7V14 1 D1 ESD Suppressors / TVS Diodes DIODE ARRAY TAPE-7 BZA408B,115 / DALC208 Nexperia TVS Diode15 2 D2,D3 ESD Suppressors / TVS Diodes TRANS BIPOLAR PESD5V0S1BAF Nexperia PESD5V0S1BAF16 1 D4 Schottky Diodes & Rectifiers 100V Vrrm 3A IF Schottky BarrierSTPS3H100U STMicroelectronics STPS3H100U17 2 D5,D6 Schottky Diodes & Rectifiers SCHOTTKY RECT 30V 3APMEG3030EP,115 Nexperia PMEG3030EP,11518 2 FRC1,FRC2 Headers & Wire Housings BERGSTIK 10119333-103A05LF Amphenol FCI BERG STICK19 8 J1,J2,J3,J4,J5,J6,J7,J8 PCB PAD RC0402FR-070L YAGEO 0R20 1 LED1 Standard LEDs - SMD WL-SMCW SMDMono TpVw Waterclr 0805 Red150080RS75000 / QTLP630C-2TR Wurth Elektronik / EVERLIGHT LED21 4 L1,L2,L3,L4 Fixed Inductors WE-KI 0402 27nH 400mA DCR=298mOhms5%744765127A / CW100505-27NJ / DNP Wurth Elektronik / BOURNS 27nH22 1 L5 Fixed Inductors 2.2 ohms 20% High Temp AEC-Q200 IHLP1212BZEV2R2M5A VISHAY 2.2uH23 1 MOD1 WM620 Module WM620 Neoway Technology WM62024 3 Q1,Q2,Q3 Bipolar Transistors - BJT BC817K-40H/SOT23/TO-236AB BC817K-40HVL Nexperia BC81725 2 R1,R4 Thick Film Resistor RC0603FR-071KL YAGEO 1K26 1 R2 Thick Film Resistor RC0603FR-071K5L YAGEO 1K527 2 R3,R5 Thick Film Resistor RC0402FR-0710KL YAGEO 10K28 3 R6,R9,R12 Thick Film Resistor RC0603FR-0710KL YAGEO 10K29 2 R10,R11 Thick Film Resistor RC0603FR-074K7L YAGEO 4K730 1 R7 Thick Film Resistor RC0603FR-07560KL YAGEO 560k31 1 R14 Thick Film Resistor RC0603FR-07100KL YAGEO 100K32 1 R13 Thick Film Resistor RC0603FR-07100RL YAGEO 100R33 2 R15,R16 Thick Film Resistor RC0603FR-070RL / DNP YAGEO 0R34 1 R8 Thick Film Resistor RC1206FR-0710RL YAGEO 10R35 1 SIM1 Memory Card Connectors ASSY FOR PUSH PUSH 6 PIN SIM CONN.47553-2001 Molex SIM Holder36 1 SIM2 Memory Card Connectors ASSY FOR PUSH PUSH 6 PIN SIM CONN.104224-0820 / DNP Molex SIM Holder37 1 TP1 Testpoint NA NA NA38 1 UFL1 RF Connectors / Coaxial Connectors 2/2.55MM STD SMT ULTRA MINI RF JACK1909763-1 TE Connectivity RF Connector39 1 U1 LDO Voltage Regulators 300mA, 28V low-dropout voltage regulatorST732M28R STMicroelectronics ST732M28R40 1 U2 Switching Voltage Regulators 1A High EFF DC DC 1.5MHz 2.0V to 5.5VSTBB1-APUR STMicroelectronics STBB1-APUR

Figure 30. BOM report of GPRS module

NXP SemiconductorsAppendix D: Bill of materials of the GPRS board

KM35Z512 based One-Phase Smart Power Meter Reference Design, Rev. 1, 21 October 2021Application Note 34 / 35

Page 35: KM35Z512 based One-Phase Smart Power Meter Reference

How To Reach Us

Home Page:

nxp.com

Web Support:

nxp.com/support

Limited warranty and liability — Information in this document is provided solely to enable system and software implementers to use NXPproducts. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based onthe information in this document. NXP reserves the right to make changes without further notice to any products herein.

NXP makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor doesNXP assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability,including without limitation consequential or incidental damages. “Typical” parameters that may be provided in NXP data sheets and/orspecifications can and do vary in different applications, and actual performance may vary over time. All operating parameters, including“typicals,” must be validated for each customer application by customer's technical experts. NXP does not convey any license underits patent rights nor the rights of others. NXP sells products pursuant to standard terms and conditions of sale, which can be found atthe following address: nxp.com/SalesTermsandConditions.

Right to make changes - NXP Semiconductors reserves the right to make changes to information published in this document, includingwithout limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces allinformation supplied prior to the publication hereof.

Security — Customer understands that all NXP products may be subject to unidentified or documented vulnerabilities. Customeris responsible for the design and operation of its applications and products throughout their lifecycles to reduce the effect of thesevulnerabilities on customer’s applications and products. Customer’s responsibility also extends to other open and/or proprietarytechnologies supported by NXP products for use in customer’s applications. NXP accepts no liability for any vulnerability. Customershould regularly check security updates from NXP and follow up appropriately. Customer shall select products with security featuresthat best meet rules, regulations, and standards of the intended application and make the ultimate design decisions regarding itsproducts and is solely responsible for compliance with all legal, regulatory, and security related requirements concerning its products,regardless of any information or support that may be provided by NXP. NXP has a Product Security Incident Response Team(PSIRT) (reachable at [email protected]) that manages the investigation, reporting, and solution release to security vulnerabilities ofNXP products.

NXP, the NXP logo, NXP SECURE CONNECTIONS FOR A SMARTER WORLD, COOLFLUX,EMBRACE, GREENCHIP, HITAG,ICODE, JCOP, LIFE, VIBES, MIFARE, MIFARE CLASSIC, MIFARE DESFire, MIFARE PLUS, MIFARE FLEX, MANTIS, MIFAREULTRALIGHT, MIFARE4MOBILE, MIGLO, NTAG, ROADLINK, SMARTLX, SMARTMX, STARPLUG, TOPFET, TRENCHMOS,UCODE, Freescale, the Freescale logo, AltiVec, CodeWarrior, ColdFire, ColdFire+, the Energy Efficient Solutions logo, Kinetis,Layerscape, MagniV, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, QorIQ Qonverge, SafeAssure, the SafeAssure logo,StarCore, Symphony, VortiQa, Vybrid, Airfast, BeeKit, BeeStack, CoreNet, Flexis, MXC, Platform in a Package, QUICC Engine, Tower,TurboLink, EdgeScale, EdgeLock, eIQ, and Immersive3D are trademarks of NXP B.V. All other product or service names are theproperty of their respective owners. AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Cordio, CoreLink, CoreSight,Cortex, DesignStart, DynamIQ, Jazelle, Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView, SecurCore, Socrates, Thumb,TrustZone, ULINK, ULINK2, ULINK-ME, ULINK-PLUS, ULINKpro, µVision, Versatile are trademarks or registered trademarks of ArmLimited (or its subsidiaries) in the US and/or elsewhere. The related technology may be protected by any or all of patents, copyrights,designs and trade secrets. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. The PowerArchitecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service markslicensed by Power.org. M, M Mobileye and other Mobileye trademarks or logos appearing herein are trademarks of Mobileye VisionTechnologies Ltd. in the United States, the EU and/or other jurisdictions.

© NXP B.V. 2020-2021. All rights reserved.

For more information, please visit: http://www.nxp.comFor sales office addresses, please send an email to: [email protected]

Date of release: 21 October 2021Document identifier: AN12837