+ All Categories
Home > Documents > Freescale PowerPoint Template - NXP Semiconductorsˆ’China $9.7 billion investment to deploy...

Freescale PowerPoint Template - NXP Semiconductorsˆ’China $9.7 billion investment to deploy...

Date post: 23-Jun-2018
Category:
Upload: vukiet
View: 215 times
Download: 0 times
Share this document with a friend
46
TM Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc. 22 June 2011
Transcript

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t

he Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony

are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack,

ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, QorIQ

Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks

of Freescale Semiconductor, Inc. All other product or service names are the property

of their respective owners. © 2011 Freescale Semiconductor, Inc.

22 June 2011

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

2

− Understand electricity meter metrology requirements and

become familiar with Freescale solutions for metrology

− Understand Freescale metering-specific reference designs and

demonstration kits

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

3

Tweeting? Please use hashtag

#FTF2011

Freescale on FacebookTag yourself in photos

and upload your own!

• Introduction to Smart Grid and Freescale Products

• Energy Metering Tutorial

− Sensor Interfaces

− Energy Calculation

• An Effective Metering System on Chip Based Solutions

• Enablement

• Summary

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

4

Smart Grid

Key Initiatives of Smart Grid

Reduce power consumption through intelligent

monitoring and control

Increase power availability through optimized distribution

Improve power reliability and quality

Expand consumer choices for electrical energy

Improves the resiliency of the electric power grid

Enables easier use of renewable energy and distributed

generation

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

5

• Governmental Mandates− EU plans 20% reduction in energy consumption by 2020

− Deregulation leading to separation of energy transport and energy provider

− USA: $4.3 billion for direct investment in the smart grid through the stimulus package

− China $9.7 billion investment to deploy AMR/AMI

• Utility Companies− Optimization of the distribution infrastructure and prevention of potential black-outs (peak management)

− More services to end consumer

• Renewable Energies and E Vehicle− Residential solar and solar farm decentralized productions

− Consumer production sold back to the energy provider

− Plug-in hybrid electric vehicle (PHEV) cars

• In-Building Customer Comfort− e-thermostats, smart and user-friendly displays, home-automation

− End-customer energy savings (controls when, how, how much)

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

6TM

Distribution HANNAN

• 802.15.4g

• OFDM

• GPRS

• WiMax

HAN (Home Area Network):

Wireless or wired network used for load control and dynamic

response by utilities

• Electric meter communicating with T-Stats, appliances,

water heaters, pool pumps, electric hybrids, etc. (load

control)

• Send pricing signals to consumers for smarter energy

consumption (demand response)

Metrology:

Hardware that

measures and

controls flow of

energy to/from

building

Hot

Water

Heater

Thermostat

Renewable

Energy

Electric

Car

Broad-range Smart Energy Solutions Provider:• Metrology and home gateway solutions closer to home

• Data aggregators, grid routers, grid protection on grid end

• Secure, easy-to-use wireless networks

• Energy savings, reduced costs

• Increasing security, reliability and transparency

NAN HAN

Metrology

WAN

WAN NAN

Data Concentrator

(Aggregator)Energy Gateway

HAN

Data Concentrator (Aggregator):

Sends data collected (or commands)

to and from Neighbor Area Network

(NAN) or Home Area Network (HAN)

to utility

Appliances

Grid Power Protection,

Relay/Switch Control and

Monitoring

Grid power supervision,

control and network

protection system

solutions; protective relays

and switches control for

power grid

• GPRS

• LTE

• Ethernet

• ADSL

Gas/Water

• ZigBee

• Wi-Fi

• M-Bus

• PLM

•<1GHz ISM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

7TM

Measurement, Load control, demand response, real time monitoring to lower energy costs

7

Metrology (Electricity, Gas, Water, Heat Meters)

Gateway

Router

Data

Concentrator

Last Mile Connectivity/NAN

Applications Freescale Solutions

Power Line Comms

SFSK, OFDM

Wireless

802.15.4g

Application

processor:

PowerQUICC II Pro

QorIQ

i.MX

Applications

Processor:

MCF51MM, ColdFire,

Digital Signal Controllers

i.MX ARM , QorIQ, power Architecture Processor

RF:

MC123xx <1GHz RF

MC1322x with Smart Energy Profile 1.x

Microcontrollers: MK30 Family

MCF51EM256

MC9S08GW64

MC9S08LH64

MC9S08LL

MC9S08MZ (China)

MC9S08LG32

MC9RS08LA

MC9RS08LE

MCF51EM256 MK30

MPC8308

MPC85xxi.MX 25

P2010 - 2020

ColdFire Next GenDSCs

Available Now 2012-13

MC123xx

SFSK

Switches

Next-Gen

MC13261PLC & <1GHz

Electric Vehicle

T-Stat

Appliance

Meter

Premise Device

Home Area Network (HAN)/ HEG

Microgrids

MC9S08LH64

Power Management Unit MC13892, MC33730,MC34704

Sensors

Accelerometer: Tamper Detect

MC33941, MPR03x (Proximity)

MP3V5004, MPX12 (Pressure)MMA745xL MMA736xL

MC9S08GW64

MC9S12X

MM912J6xx

Next-Gen

i.MX 28x

Zigbee 2.0

Solution 830x/P10xxi.MX 28x

P10xx

MC1322x

SE 1.x

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

8

• Introduction to Smart Grid and Freescale Products

• Energy Metering Tutorial

− Sensor Interfaces

− Energy Calculation

• An Effective Metering System on Chip Based Solutions

• Enablement

• Summary

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

9

Electromechanical meters

• Limited accuracy

• Manual reading

• Contains moving parts (aluminum ring)

Electronic meters

• MCU-, DSP- and ASIC-based

• Accurate measurement

• Enhanced security

• Equipped with AMR

• No moving parts

Electricity Meter Types

Single phase

• Common in EU residential meters

• One voltage and one current measurement

• Shunt resistors prevail due to low system cost

Dual phase

• Common in US residential meters

• Two voltage and two current measurement

• Current transformers and Rogowski coils prevail

Three phase

• Used in industrial and commercial meters

• Three voltage and three current measurement

• Current transformers and Rogowski coils prevail

Measurement Types

• Active, reactive, apparent energy

• Active, reactive, apparent power

• RMS, peak values (voltage/current)

• Line frequency

• Power factor

• Temperature

Measured Quantities

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

10

1. Lower system cost

2. Accurate sensor measurements

3. Energy calculation

4. Advanced sensor interfacing

5. Grounding and noise issues

6. Insufficient number of serial communication modules (I2C, SCI and SPI)

7. Low-power RTC with built-in external crystal compensation

8. Tamper detection capability and fault tolerance

9. In-field secure code update capability

10. Insufficient uncommitted GPIOs after basic metering function

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

11

Voltage and Current

Sensing Circuitry

Calculation Engine –

Metering Algorithms

Output

Circuitry

Processing flow

Voltage and Current Sensing

Circuitry

• Measures phase voltages and

currents and scales physical

quantities into numerical data format

(16-bit, 32-bit fractional/integer data

format)

• Shunt resistors, current transformers

and Rogowski coils used for current

measurement

• Voltage dividers used for voltage

measurement

Calculation Engine – Metering

Algorithms

• Calculates necessary power and

energy quantities from signals

provided by “voltage and current

sensing circuitry”

• Calculation performed in

fractional/integer data format

Output Circuitry

• Displays, outputs and communicates

calculated quantities

• Scales numeric data from

“calculation engine” to output

(physical) format.

Energy measurement

and calculation must be performed

according to IEC/MID/ANSI C12

standards

11

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

12

• Introduction to Smart Grid and Freescale Products

• Energy Metering Tutorial

− Sensor Interfaces

− Energy Calculation

• An Effective Metering System on Chip Based Solutions

• Enablement

• Summary

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

13TM

Mathematical description:

SENSE

SENSE

R Gain

2

Vref-Vadc

I

Pros:

• Commonly used

• Simple to design

• Inexpensive

• No magnetic effects

Cons:

• No electrical isolation provided

• Self-heating due to power dissipation, causing shunt resistor to be unsuitable for high currents

• Parasitic inductance (Lsh<3nH) could introduce phase shift, causing measurement errors at low power factors

• Significant power dissipation limits available power for the metering IC

VrefRR

R R

ADC

PDB

Powersupply

N_INP

L_OUT

N_OUT

L_INP

Rsense

110/220V

Voltage divider

VDD

Isense

Rf

Rf

Cf

Cf

Anti-aliasing Filters

(-6dB per octave)

VadcGain

Voltage drop across shunt resistor is proportional to current amplitude and frequency

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

14TM

Mathematical description:

N * Rb *Gain

)2

Vref-(Vadc

ISENSE

Pros:

• Provides electrical isolation

• Current in secondary proportional to current in primary

Cons:

• CT introduces phase error from 0.1º to 7.0º

• Phase shift depending on current and temperature

• Load must never be disconnected from secondary winding

• Iron core can saturate at current level beyond its rated current or at a large DC

• Sensitive to magnetic tampering

• Expensive

Vref PDB

Powersupply

N_INP

L_OUT

N_OUT

L_INPCT

110/220V

Voltage divider

VDD

Vadc

R

R

Rb1 N

Isense Rf

Rf

Cf

Cf

Anti-aliasing Filters

(-6dB per octave)

ADCGain

Turn Ratio=1:N

by courtesy ofVACUUMSCHMELZE

courtesy ofVACUUMSCHMELZE

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

15TM

Mathematical description:

RSRS I**V FrKRC

RSVGAINVref

*2

Vadc

Vref PDB

Powersupply

N_INP

L_OUT

N_OUT

L_INPRC

110/220V

Voltage divider

VDDR

R

IRS

VRS

Rf

Rf

Cf

Cf

Anti-aliasing Filters

(-6dB per octave)

Vadc

ADCGain ∫

The output voltage of the Rogowski

coil is proportional to the time-

differentiation (di/dt) of the current.

Pros:

• Simple devices for measuring currents

• Provides electrical isolation

• Capable of handling high current

• Low temperature drift

• Linear phase response

• No DC or high current saturation

• Immune to magnetic tampering

• Inexpensive

Cons:

• Integration adds to extra circuitry (software load)

• Interference (far field) pickup - limited by design or shielding

where:

IRS = rated primary current

Fr = frequency of sinusoidal waveform

KRC = constant based on s (the cross sectional area of the

winding) and n (number of turns per unit length of the coil)

by courtesy ofPULSEELECTRONICS

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

16

Sensor TypeShunt

Resistor

Current

Transformer

Hall-effect

Device

Rogowski

Coil

Cost Very Low Medium High Low

Linearity over

measurement range

Very

GoodFair Poor

Very

Good

High current measuring

capability

Very

PoorGood Good

Very

Good

DC/High current saturation No Yes Yes No

Power consumption High Low Medium Low

Output variation with

temperatureMedium Low High

Very

Low

DC offset problem(1) Yes No Yes No

Saturation and hysteresis No Yes Yes No

http://www.pulseelectronics.com/docs/graf/smart_grid_white_paper.pdf

(1) DC offset can be eliminated by high-pass filter

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

17

Mathematical description:

Pros:

• Always used for phase voltage sensing

• Simple and inexpensive

• Values of RB, R1A and R1B chosen depending on V1 (mains) and desired range for A/D

• Gain amplifier stage not required

Powersupply

N_INP

L_OUT

N_OUT

L_INP

110/220V

Voltage divider

VDD

Isense

PDB

RB

R1A

R2A

Vref/2

Vref/2

~V1

VRB

Rf

Rf

Vadc

ADC

Anti-aliasing Filters

(-6dB per octave)

Vref

R

R

)RR(R

)2

-V1(

*R2

V1B1AB

ref

Bref

RB

VV

B

1B1Aref

B

1B1ABRB

R

RR*2

R

RRR*VV1

V

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

1818

• The most energy in first harmonic, by regulation 5th harmonic 300 (250) Hz is req. to be measured

• Due to recent load change (SMPS, fluorescent lamps, motor inverter) some energy placed up to 13th harmonics

• IEC calls for 21st harmonic today

• 21st harmonic gives Nyquist frequency

− 21*60(50)*2 = 2520(2100) smp/sec

• Today’s sampling frequency manufacturer convention is 80 -100 smp/mains period ~5000smp/s

FS/2

Nyquist

Freq.

Mag

Prevent signal aliasing

• Sample at least 2x higher than

any possible signal frequency

• Remove or reduce signals with

frequencies greater than 0.5 x

Fs prior sampling by analog

filters

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

19

• Introduction to Smart Grid and Freescale Products

• Energy Metering Tutorial

− Sensor Interfaces

− Energy Calculation

• An Effective Metering System on Chip Based Solutions

• Enablement

• Summary

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

20

Active EnergyMeans the electrical energy produced, flowing or supplied by an electric circuit during a time interval, being the integral with respect to time of instantaneous Active Power, measured in units of Watt-hours or standard multiples thereof.

Equation:

RMS Voltage & CurrentIn electrical engineering the root mean square (RMS) or effective value of a current is by definition such that the heating effect is the same for equal values of alternating or direct-current.

Equation:

http://en.wikipedia.org

T

dttvalueT

rms0

2 )(1

Reactive EnergyMeans the integral with respect to time of the product of voltage and current and the sine of the phase angle between them. Its is measured in units of volt-amperes reactive (VAR) and standard multiples thereof.

Equation:

Active PowerMeans the product of voltage and the in-phase component of alternating current measured in units of watts and standard multiples thereof, that is: 1000 Watts = 1 kW, 1000 kW = 1 MW

Equation:

0

)()( dttituWhttp://www.elexon.co.uk

http://www.elexon.co.uk

0

)()90( dttituVAR

T

dttituT

P0

)()(1

TPW *

http://www.elexon.co.uk

Reactive PowerMeans the product of voltage and current and the sine of the phase angle between them, measured in units of volt-amperes reactive (VAR) and standard multiples thereof.

Equation:

http://www.elexon.co.uk

T

dttituT

Q0

)()90(1

TQVAR *

Apparent PowerIn alternating-current power transmission and distribution apparent power is the product of the RMS voltage and amperage.

Equation:

http://www.its.bldrdoc.gov

RMSRMS iuS

S

P

tu

Q

22 PQS

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

21

• Introduction to Smart Grid and Freescale Products

• Energy Metering Tutorial

− Sensor Interfaces

− Energy Calculation

• An Effective Metering System on Chip Based Solutions

• Enablement

• Summary

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

22TM

3-P

hase

Ga

tew

ay/

Concentr

ato

r

Flo

w1-P

hase

2222

Con

nectivity

1Q11 1Q111Q11

1-Phase Meter

MCF51EM256

Integrated AFE

Low Cost Meter

9RS08KA8/LA8

Simulation

DEMOEM

MCF51EM256

Low Cost Meter

9S08LL/LG32

Low Cost Meter

9S08LH64

Integrated AFE

Water Meter

9S08LL16/

9S08GW64

Gas Meter

9S08LL16/

9S08GW64

Heat Meter

9S08LL16/

9S08GW64

1-Phase Meter

9S08GW64

802.15.4/Zigbee

MC1322x

1-Phase Meter

MZ60

3-Phase Meter

MCF51EM256

1-Phase Meter

MK30X256

see next

slides…

Smart Grid & Metering

Reference Designs

Data concentrator

MPC8308

Data Concentrator

MC5441xEnergy Gateway

MPC8308

Energy Gateway

i.MX28

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

23

• Parameters

230V @ 5(60)A

Reference frequency 50 Hz

EN 50470-3 B class (1%)

Pulse output 2000 imp/kWh

Active power measurement

URMS, IRMS, reactive energy

Shunt-based static meter

• Demo purpose

To provide working solution for

accuracy evaluation

To specify schematic / total BOM

cost

To verify required accuracy

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

24TM

Quartz crystal used for

RTC & MCU bus clock

Low power consumption in

sleep mode 1,4 µA @3.6V

TOD, KBI, FLASH running

Capacitive divider used for

power supply (~8 mA

power consumption)

Voltage divider

with phase shift

used for mains

voltage

measurement

Single gain OpAmp

used for current

measurement

Internal 1,2V @ 30ppm

reference used for ADC16-bit SAR ADC

converter with ping-

pong mode for 2

channel measurement

TOD module to keep RTC

LCD module with

internal charge

pump supports 8x36

or 4x40 segments

Keyboard interrupt

wakes MCU from

sleep mode

Dual array

FLASH can be

used for data /

calibration

2 x UART

module for IR or

RS485

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

25

Low-cost single phase reference design with

wireless capability and full hardware and software

available

• LCD Driver• Up to 288 segment LCD drive (8x mode)• BP/FP reassignment• Blink operation in low-power modes• Drive 3V and 5V LCD glass

• Features• 2xSCIs, IIC, SPI, KBI, TOD, ACMP• 2x2ch 16-bit TPM• 10ch 16-bit ADC, 2 dedicated differentials• VREF1.2 (1.2v – 40PPM/°C)• EEPROM emulation• 80LQFP/64LQFP package• Up to 39 GPIO

• Memory• Dual bank 32K flash • 4K RAM

• Internal Clock Source (ICS)• FLL• On chip oscillator• External crystal support (32 KHz, 1-16

MHz) • 2% accuracy over full operating range

• Development Tools• On chip BDM

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

26

3-P

hase

Flo

w1-P

hase

2626

Connectivity

1Q11 1Q111Q11

1-Phase Meter

MCF51EM256

Integrated AFE

Low Cost Meter

9RS08KA8/LA8

Simulation

DEMOEM

MCF51EM256

Low Cost Meter

9S08LL/LG32Low Cost Meter

9S08LH64

Integrated AFE

Water Meter

9S08LL16/

9S08GW64

Gas Meter

9S08LL16/

9S08GW64

Heat Meter

9S08LL16/

9S08GW64

1-Phase Meter

9S08GW64

Ga

tew

ay/

Concentr

ato

r

802.15.4/Zigbee

MC1322x

1-Phase Meter

MZ60

3-Phase Meter

MCF51EM256

1-Phase Meter

MK30X256

see next

slides…

Smart Grid & Metering

Reference Designs

Data concentrator

MPC8308

Data Concentrator

MC5441xEnergy Gateway

MPC8308

Energy Gateway

i.MX28

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

27TM

• Configurable to operate in:

− Three phase, 4 wire (3Ф-4W)

− One phase, 1 wire (1Ф-2W)

− One phase, 1 wire (1 Ф-3W)

• Measurement & LCD display:

− US and European voltage: 120V+/- 20%, 230V

+/- 10%

− US and European current: 100A US, 60A Europe

− Phase RMS voltage (Accuracy ±1% of full scale)

− Phase RMS currents (Accuracy ±1% of full scale)

− Active Power (accuracy ±1% of full scale)

− Reactive Power (accuracy ±1% of full scale)

− Apparent Power (accuracy ±1% of full scale)

− Power Factor (accuracy ± 0.1PF or better)

− Line Frequency (accuracy ± 0.5Hz or better)

− Tamper Count

− Active Energy - Class 0.5 or better

− Reactive energy - Class 2 or better

− Apparent Energy - Class 2 or better

• Operating frequency range 50 Hz ±3 Hz or 60 Hz ±3 Hz

• Tamper detection

• Optical Port Interface (IEC62056-21, ANSI C12.18)

• Serial port for calibration and diagnostics

• Navigation using 3 keys (UP, DOWN & ACK/RESET)

• Expansion port for AMR via SCI and SPI Find the poly-phase reference design at

www.freescale.com/metering

RS-232

Diagnostic/Debug

Port

Optical

Port

Te

rmin

al B

lock

(Vo

ltag

e &

Cu

rre

nt In

pu

ts)

CTs

Potential

Divider

Battery

(RTC)

Door Open

Tamper Detect

Input

Power

ON

LED

Tamper

Detect

LED Level

Shifter

kWh

LED

kVARh

LED

3.3V

Key PadEnter/

Save

Up

IV

Down

IV

Power Fail

Interrupt

3.3V

LCD

OSC 1

32.768

kHz

RS-232

Transceiver

Opto Isolator

Iso1_3.3V

OSC 2

1- 16 MHz

REF

REF

Voltage Signal

Conditioning Circuit

(ADC Inputs)

3.3V

Optical Drive

Circuit

3.3V

MCU

(100 Pin)

KBILCD ModuleIRTC

AD

C

ICS

GP

IO

SC

I2S

CI1

SC

I3 &

SP

I3

SPI1 GPIO TPMCH1

GP

IO

3.3V

BD M

BDM

Port

Op

to Iso

lato

r

ZCD

3.3V

Op

to

Isola

tor

Iso1_3.3V

Iso1_3.3V

Reference

Generator

3.3V

LEGENDPGNDDGND

Battery

LEDs

Iso2_3.3VIso1_3.3V

3.3V

Power Supply

AC-DC Converter

Iso1_3.3V Iso2_3.3V

Gain Control

3.3V

Iso2_3.3V

Current Signal

Conditioning Circuit

(ADC Inputs)

3.3V

OFDM Power Line

MODEM & 802.15.4

RF Interface

With AMR Interface

Connector

Iso2_3.3V

MRAM/

EEPROM

(Serial)

3.3V

Level

Shifter

3.3V

3.3V

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

28TM

• ColdFire V1 32-bit Core with Multiply Accumulate unit

• Up to 50.33 MHz system clock

• 32-bit MAC (16x16 signed/unsigned)

• Provides enough throughput for application and connectivity

• Independent Real Time Clock (RTC)

• Operates from an independent power supply, even during power outages when other MCU systems are not powered

• Consumes very little power, down to < 1.5 µA

• Robust Firmware Update

• Meter continues to operate from one flash block, while other is updated and verified with new firmware

• Flash block swap reliably completes firmware update

• Tamper Detection

• Detects and records tamper attempt even during power off

• Detects and records attempts to disconnect backup battery

• Four 16-bit high speed SAR ADCs

• Support simultaneous sampling of four analogue inputs

• 1 differential and 4 to 7 single ended inputs per ADC

• Include phase shift compensation needed with reactive load

• LCD Controller

• Supports a wide range of displays, up to 288 segments

• Up to 8 backplanes reduces number of pins and system cost

MCF51EM256 documentation: www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF51EM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

29TM

ADC1

ADC2

ADC3

ADC4

Ch

1C

h2

Ch

3C

h4

PreTriggerA

PreTriggerB

COCOA

COCOB

DADP1DADP1DADM1DADM1 Reg. A: Live 1 CTResult A

Result B

Result AResult B

Result AResult B

Result AResult B

AD3AD3

AD4AD4

Reg. B: Live 1 Voltage

Reg. C: auxiliary 1.

DADP2DADP2DADM2DADM2 Reg. A: Live 2 CT

AD5AD5 Reg. B: Live 2 Voltage

DADP0DADP0DADM0DADM0 Reg. A: Live 3 CT

AD6AD6 Reg. B: Live 3 Voltage

DADP3DADP3DADM3DADM3 Reg. A: Neutral CT

AD7AD7 Reg. B: auxiliary 2.

VREF0VREFHVREFLBandgapTemp Sensor

Trigger

PDB

TriggerA

TriggerB

PreTriggerA

PreTriggerB

COCOA

COCOB

TriggerA

TriggerB

PreTriggerA

PreTriggerB

COCOA

COCOB

TriggerA

TriggerB

PreTriggerA

PreTriggerB

COCOA

COCOB

TriggerA

TriggerB

PDB - ADC Integration

Duration of the first ADC conversion (Reg. A)Start possible for second ADC (Reg. B)

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

30

Application

0

Power calculation

Comms Routine

Interrupt Vectors

128K

Update

Application

space

Power calculation - copy

Comms Routine - copy

Interrupt Vectors - copy

256K

Flash Selector = 0

Old

Application

Power calculation

Comms Routine

Interrupt Vectors

256K

Updated

Application

Power calculation - copy

Comms Routine - copy

Interrupt Vectors - copy

128K

Flash Selector = 1

0

Notes

• After MCU POR & RTC POR, flash selector = 0

• Flash selector is powered by RTC power supply

• MCU reset does NOT change state

• Power is maintained through MCU power cycles

• Only upper flash block is erased / written

• Software controlled switch between blocks, instantaneous (~40nS)

• Flash can be used as a single code space

Blo

ck 1

Blo

ck 0

Blo

ck 0

Blo

ck 1

Non volatile Non volatile

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

31

3-P

hase

Flo

w1-P

hase

1-Phase Meter

MK30X256

3131

Connectivity

1Q11 1Q111Q11

1-Phase Meter

MCF51EM256

Integrated AFE

Low Cost Meter

9RS08KA8/LA8

Simulation

DEMOEM

MCF51EM256

Low Cost Meter

9S08LL/LG32Low Cost Meter

9S08LH64

Integrated AFE

Water Meter

9S08LL16/

9S08GW64

Gas Meter

9S08LL16/

9S08GW64

Heat Meter

9S08LL16/

9S08GW64

1-Phase Meter

9S08GW64

Ga

tew

ay/

Concentr

ato

r

802.15.4/Zigbee

MC1322x

1-Phase Meter

MZ60

3-Phase Meter

MCF51EM256

see next

slides…

Smart Grid & Metering

Reference Designs

Data concentrator

MPC8308

Data Concentrator

MC5441xEnergy Gateway

MPC8308

Energy Gateway

i.MX28

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

32

• Precision (accuracy): IEC50470-3 Class B*, 1%

• Voltage range 85…264 VRMS

• Current Range 0.04…120 ARMS

• Frequency range 47…63 Hz

• Functionality V, A, kW, kVAR, kVA, kWh, kVARh,

Hz, cosφ, real-time clock

• Voltage sensor voltage divider

• Current sensor (according to ordering code) shunt

120 μΩ

• Energy output pulse interface two red LEDs (active

and reactive)

• Opto-isolated pulse output (optional) opto-coupler

(active energy)

• User interface (HMI) LCD, 3 buttons (tamper, 2

users), 1 user LED (yellow)

• Infrared interface (optional) for metering data

reading (IEC1107)

• RS232 serial interface opto-isolated, 19200 Bd, 8

data bit, 1 stop bit, no parity

• ZigBee interface (optional) 2.4GHz RF 1322x-SRB

internal module. Other protocols supported too

• Internal battery 3V, CR2032 type

Available from www.freescale.com/metering* Target accuracy class to be confirmed by pre-certification testing

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

33TM

Development

Tools

Bundled IDE

w/ Processor

Expert

Bundled OS

USB, TCP/IP,

Security

Modular Tower

H/ware

Development

System

Application

Software

Stacks,

Peripheral

Drivers & App.

Libraries

(Motor Control,

HMI, USB)

Broad 3rd party

ecosystem

Common

Digital IP

CRC

I2C

SAI (I2S)

UART/SPI

Programmable

Delay Block

External Bus

Interface

Motor Control

Timers

eSDHC

RTC

Common

Analog IP

16-bit ADC

Programmable

Gain Amplifiers

12-bit DAC

High-speed

Comparators

Low-power

Touch Sensing

Common

System IP

32-bit ARM

Cortex-M4 Core

w/ DSP Instructions

Next Generation

Flash Memory

High Reliability,

Fast Access

FlexMemory w/

EEPROM capability

SRAM

Memory

Protection Unit

Low Voltage,

Low Power Multiple

Operating Modes,

Clock Gating

(1.71V-3.6V with 5V

tolerant I/O)

DMA

-40 to 105C

K70 Family

512KB-1MB,

196-256pin

K60 Family

256KB-1MB,

100-256pin

K50 Family

128-512KB,

64-144pin

K40 Family

64-512KB,

64-144pin

K30 Family

64-512KB,

64-144pin

K20 Family

32KB-1MB,

32-144pin

K10 Family

32KB-1MB,

32-144pin

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

34

• Flexible, low power LCD Interface

− Segment LCD Blink mode lowers average power

− Segment fail detect prevents erroneous readouts and

reduces LCD test cost

− Front/back plane reassignment provides pin-out

flexibility and allows configuration changes in firmware

• Diverse communications suite

− A multitude of serial interfaces, with UART support for

ISO7816 SIM/Smart Cards and IrDA interfaces

− Dual CAN for industrial network bridging

• System reliability & safety

− Hardware Cyclic Redundancy Check safeguards

memory contents and communication data

− Memory Protection Unit increases software reliability

− Independently-clocked watchdog prevents code

runaway for fail-safe applications e.g. IEC60730

• Hardware and software compatibility

− Common packages & peripherals across families

enable rapid feature growth with minimal hardware and

software disruption

• Built-in voltage regulator (K40)

− 5V regulator input with 3.3V regulated output

− 3.3V regulated output can power MCU and also external

components (source current up to 120 mA)

Family USB OTG + DCD Segment LCD

K30 - X

K40 X X

For Segment LCD Applications

Up to 512KB Flash

Memory

Up to 128KB

SRAM

FlexMemory:

up to 4KB EEPROM

or 256KBFlash

CrossBar Switch (XBS)

16-ch

DMA

(K40 Only)

Full-Speed USB

(H/D/OTG)

with DCD

FlexBus

Peripheral Bus Controllers (x2)

Up to 100MHz ARM Cortex-M4 Core

DSP

1.25DMIPs/MHz

Clock Module:2 Crystal inputs

2 internal oscillators

PLL and FLL

Secure DigitalHost

Controller

Memory Protection Unit

K30/K40 Family Block Diagram

Timers

3x FlexTimers

Carrier Modulator Timer,

Programmable Interrupt Timer,

Low Power Timer,

Programmable Delay Block

Analog

2x 16-bit SAR ADC 2x 12-bit DAC

3x High Speed Comparators

2x Programmable Gain Amplifiers

Internal Voltage Ref (1.2V)

Communications

2x I2C 6x UART3x DSPI2x CAN

IIS

32-bit Cyclic Redundancy

Check

Segment LCD (8x40 /4x44)

Low Power Xtrinsic

Touch Sensing

Interface

Watchdog +

External Watchdog

Monitor

Up to 98 GPIO

Kinetis documentation: www.freescale.com/webapp/sps/site/homepage.jsp?code=KINETIS

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

35

• Backwards compatible with ARM Cortex-M3™

• New features− Single cycle MAC (Up to 32 x 32 + 64 -> 64)

− DSP extensions

− Single Precision Floating Point Unit

• Freescale IP and Innovation− On-chip cache for instructions and data

− Cross-Bar Switch for concurrent multi-master/slave accessing

− On-chip DMA for CPU off-load

− Low-leakage wake-up unit adds flexibility for low power operation

• Architected for Digital Signal Processing − Motor Control - Advanced algorithms, longer

lifespan, power efficiency

− Automation - High calculation and algorithm bandwidth at a low cost

− Power management – Designed for low/battery powered systems

− Audio and Video – 5x performance improvement over software, making batteries last longer

Dotted boxes denote optional blocks

35

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

36

OPERATION INSTRUCTIONS16 x 16 = 32 SMULBB, SMULBT, SMULTB, SMULTT16 x 16 + 32 = 32 SMLABB, SMLABT, SMLATB, SMLATT16 x 16 + 64 = 64 SMLALBB, SMLALBT, SMLALTB, SMLALTT16 x 32 = 32 SMULWB, SMULWT(16 x 32) + 32 = 32 SMLAWB, SMLAWT(16 x 16) (16 x 16) = 32 SMUAD, SMUADX, SMUSD, SMUSDX

(16 x 16) (16 x 16) + 32 = 32 SMLAD, SMLADX, SMLSD, SMLSDX(16 x 16) (16 x 16) + 64 = 64 SMLALD, SMLALDX, SMLSLD, SMLSLDX

32 x 32 = 32 MUL32 (32 x 32) = 32 MLA, MLS 32 x 32 = 64 SMULL, UMULL(32 x 32) + 64 = 64 SMLAL, UMLAL(32 x 32) + 32 + 32 = 64 UMAAL

32 (32 x 32) = 32 (upper) SMMLA, SMMLAR, SMMLS, SMMLSR(32 x 32) = 32 (upper) SMMUL, SMMULR

All the above operations are single cycle on the Cortex-M4 processor

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

37

• Task Separation (Supported by Cortex-M4 core)[1]

− Privilege execution has full access rights

Handler & thread modes

− Unprivileged execution has limited access rights

Thread mode only

− Main and Process stack Switching

• Memory Protection (Supported by MPU) [2]

− Provides memory protection and task protection in

multi-master platform (System RAM, Flash and FlexBus)

− Memory references with sufficient access control rights

are allowed to complete.

− Up to 16 region descriptors (granularity for region sizes from 32

bytes to 4 Gbytes)

− References not mapped to any region descriptor or with

insufficient rights are terminated with a protection error

• Peripheral Protection (Supported by Peripheral Bridge

AIPS-LITE)[3]

− Can only be accessed in privileged mode.

− Interface and protect majority of peripherals including MPU

− Peripherals protection scheme with access control options: Peripheral requires supervisor privilege level for accesses

Peripheral is write protected

Peripheral accesses from un-trusted master are not allowed

References:

[1] Joseph Yiu, The Definitive Guide to the ARM Cortex-

M3, Second Edition, 2009, ISBN: 185617963X

[2] www.freescale.com/files/32bit/doc/ref_manual/

K30P81M100SF2RM.pdf, Chapter 18 - Memory

Protection Unit (MPU).

[3] www.freescale.com/files/32bit/doc/ref_manual/

K30P81M100SF2RM.pdf, Chapter 19 - Peripheral

Bridge (AIPS-Lite)

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

38

• Introduction to Smart Grid and Freescale Products

• Energy Metering Tutorial

− Sensor Interfaces

− Energy Calculation

• An Effective Metering System on Chip Based Solutions

• Enablement

• Summary

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

39

Freescale MQX + MCU + Tower System + CodeWarrior IDE

Comprehensive solution for

embedded control and connectivity

Open source hardware platform for

prototyping application development

Visual and automated framework

to accelerate development time

• Modular, expandable and cost-

effective development platform for

8/16/32-bit MCUs and MPUs

• Rapid eval and prototyping with

maximum HW reuse

• Supported by a diverse range of

MCU and peripheral plug-in

boards and a growing web

community

• Eclipse environment

• Processor Expert code

generation wizard

• Build, debug and flash tools

• Software analysis

• Kernel-aware debug

• Host platform support

Complimentary MQX RTOS

MQX Core

PSP & BSP

+

• Full-featured, scalable, proven

RTOS

• Simplifies HW management,

streamlines SW development

• Reduces development costs while

speeding time to market

Save time, cost, and effort

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

40

• Scalable, fully-featured and proven RTOS bundled with 32-bit MCUs

− Full-featured and powerful

BSPs incorporate tightly integrated RTOS, middleware (USB, TCP/IP stacks), file system, and I/O drivers

Designed for speed and size efficiency

− Market proven

MQX has been available on Freescale processors for more than 15 years

MQX has been used in millions of products including medical and heavy industrial areas

− Simple and scalable

Can be as small as ~10KB for smallest implementation, or scale up to support sophisticated networking and threading

Intuitive API and modular architecture enables straight-forward feature fine-tuning

Production source code provided

− Similar to other “pay-for” software OS

Software Integration headache

Integrated MQX Solution

$95,000of software

bundled with

Freescale

MCU’s!

MQX Software speeds time to

market with support from Freescale

Download from: www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MQX

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

41

Integrated development tool suite for ColdFire, Kinetis and S08 architectures based on the Eclipse open development platform

− Project Wizard creates a new project in as few as 9 clicks

− MCU Change Wizard retargets a project to a new processor in as few as 6 clicks

− CodeWarrior optimizing C/C ++ compilers for ColdFire and Kinetis Microcontrollers included

− Extensions to Eclipse CDT to provide sophisticated features to troubleshoot and repair embedded applications

− Processor Expert combines easy-to-use component-based application creation with an expert knowledge system

− Trace and profile support for on-chip trace buffers to provide emulator-like debug capability without additional hardware

− Kernel-aware debug for MQX, Linux and OSEK

− CodeWarrior Special Edition is a complimentary version up to 128KB code size

Accelerate the development of the most

complex embedded applications

Free

Compiler

up to

128KB!

www.freescale.com/codewarrior

to download

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

42

Download from: www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FREEMASTER

Application control

and monitor

Real-time eTPU

operation monitor

Live graphs,

variable watches,

and graphical

control page

Supports:- HCS08, HC12, HCS12 and HCS12X BDM

- 56F8000, 56F8100 and 56F8300 JTAG

- SCI driver (FMASTERSCIDRV) for all

platforms

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

43

• Introduction to Smart Grid and Freescale Products

• Energy Metering Tutorial

− Sensor Interfaces

− Energy Calculation

• An Effective Metering System on Chip Based

Solutions

• Enablement

• Summary

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

44

• Metering ASSP products can help solve key customer problems for metering systems

− Maximize battery life ultra low power 8bit & 32bit MCUs

− Reliable readings fast & accurate on-chip ADCs

− Integration memory, LCD ctrl, analog

− Communication I/F ZigBee, 802.15.4, and Ethernet

− Standards IEEE 802.15.4, ZigBee Alliance

• Commitment to the market with products and solutions that have characteristics important

to the metering segment:

− Longevity of product available

− Quality

• Breath of products spanning from RF to Sensors to MCUs to MPUs

• Mix & match IP allowing specific metering solutions

• Enablement

− Reduce product development cost

− Improve time-to-market and time-in-market

Learn more about Freescale Solutions in Smart Metering: freescale.com/metering

TM

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore

and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a

Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.

All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

45

Session materials will be posted @

www.freescale.com/FTFLook for announcements in the FTF Group

on LinkedIn or follow Freescale on Twitter

• Questions?

TM


Recommended