Meter DDFAE APF-IND-D0625 - NXP...
Transcript of Meter DDFAE APF-IND-D0625 - NXP...
TM
Freescale Semiconductor Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2008.
TMFreescale Semiconductor Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2008.
� Market Evolution & Landscape
� Smart Metering usage Topology
� Freescsle participation in the Topology
� Freescale Polyphase eMeter
� Freescale AMR (zigbee)
� Freescale DCU (NAN with P101x)
� Freescale Energy Gateway (HAN with 8308)
� DLMS & its need
� Integrated DEMO
MPC8308 based Smart Energy Gateway
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Metering Gateway – Encompasses ALL of
the below, and adds Broadband service for consumer using meter’s network connection
AMI - Automated Metering Infrastructure encompasses ALL of the
below. Developed to “enable” enhanced resource optimization and is the back bone of a Smart Grid. (Two Way Meters)
AMM - Automated Meter Management (Data management and billing). Utilized to “enrich” information quality
AMR - Automated Meter Reading (Connects Smart meters.) Implemented to
“enhance” a critical process. Can be an internal or external module through which utility company communicates with meter remotely and take meter readings. Some meters are retro fitted with AMR modules. (One Way Meters)
AMR
AMM
AMI
Standalone Electronic
Standalone Electromechanical
Smart Meter Evolution
MeteringGateway
Smart Grid
3
Smart Grid
Requires in
creased processing throughput
8 Bit MCU
8 Bit MCUWired/WirelessConnectivity
32 Bit MCUWired/WirelessConnectivity
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 4
Smart grid market landscape
►Smart Grid* – “A smart grid enables two-way communication and digital control throughout the electricity delivery infrastructure.”
►According to the United States Department of Energy's Modern Grid Initiative report, a modern smart grid must:
• Be able to heal itself • Motivate consumers to actively participate in operations of the grid • Resist attack • Provide higher-quality power that will save money wasted from outages • Accommodate all generation and storage options • Enable electricity markets to flourish • Run more efficiently
► Market Movers:• US department of energy is spending $3.9B in “smart grid” funding aiming at
making power transmission around the country more flexible• India’s electricity demand will increase more than threefold over the next 30
years, and the country will need to invest Several Billons in the power sector to meet the demand.)
• China’s targets is to create a unified national power grid by 2020 and have a modern power market
*Source: http://www.oe.energy.gov/DocumentsandMedia/RD_Strategic_Plan_Final07.pdf and DOE
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Smart Metering usage Topology
UtilityPLC or RF comms
to local grid
InternetInternet
Electricity MeterMCF51EM2564x 16 bit ADCSegment LCD
Energy GatewayMPC8308
Multiple protocol supportEthernet, 802.11, Zigbee
Energy MonitorMCF51QE128VGA LCD &
touch screen driver
Appliances
HVAC
Water MeterMC9S08LL16
Flow meter i/fSegment LCD
Gas MeterMC9S08LL16
Flow meter i/fSegment LCD
Broadbandmodem
HAN automation
HAN meter comms
Service providers
• Reference designs demonstrate match to each application needs
• Future proofed connectivity products• Roadmap supporting future system needs• Long term expertise in appliances and
metrology• FSL industrial lifetime and auto quality
provide longevity
Metrology, connectivity, user interfaces and appliance controller all integrated into a smart home system
• MCF51EM256 – optimized high accuracy metrology• MC9S08LL16 – low power metering• MPC8308 – communications and security• MC13224V – 2.4Ghz RF , ZigBee PRO SE• MCF51QE128 – low power, low cost 32 bit controller
• Optimized meter measurement; electricity, water, gas
• Energy gateway for access to services and bridge between meters and home area network (HAN)
• Low cost energy monitor with integrated ZigBee PRO
Supplied by Freescale
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Freescale in Smart “Grid” Energy
Energy Gateway
HANNANUtility
DataConcentrator(Aggregator)
• 802.15.4g• OFDM• WiMax
• Zigbee• Wifi• M-Bus• PLM
NAN HAN
Metrology
• GPRS • WiMax
� Low End Metering� LL/LH/AC
� Water, Gas & Heat� GW
� Smart 1-3ph Metering� EM256 � Joule 512� Volta 1MB
� Data Concentrators & Aggregator
� MPC8308/P101x� Interfaces to NAN
� 802.15.4g Radio� Wimax� PLM Partnership
� Interfaces to Utility� Wimax� GPRS� DLMS/COSEM
library
� Smart Energy Gateway� MPC8308� ZigBee� Wifi� M-Bus� HomePlug Green PHY
� Building Control Leadership� Coldfire, i.mx
� Appliance Technology� 8-32bit MCUs & DSCs� Touch Sensor
� RF4CE (wireless control)� Multi-media Processors
� i.MX
Utility / NAN Metrology Home Area Network (HAN)
HAN (Home Area Network) : Wireless or wired network used for load control and dynamic response by utilities
Metrology:Hardware that measures and controls flow of energy to/from building
NAN (Neighborhood Area Network) : Wireless or wired network to collect meter consumption information
Appliances
• Zigbee
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
MCF51EM256/128
GPI/OBDM2chTPM
SPI I2C
V1 ColdFire®& MAC
KB I
2x 8-bitMTIM
LCD(1-8) x (43-36)
VREG
SAR ADC
4 * 16bit SAR ADC
sequencer
FLASHUPDATE
128KFlash
128KFlash
SCI2 *Comparator0 – 1.2v ref 2 * SCI
Core clock
ICS
32KHz/1-16MHz
osc
IRTC
swap
Tamper detect32KHzosc Calendaring
16-bitMTIM
SPI AMR SPI16-bitCRC
16KRAM
AMR SCI
1.2vref SCI
Coldfire V1 Core with
• 32-bit MAC (16x16 signed/unsigned)
• 50MHz performance providing power calculation and communications capability
► IRTC
• Provides a real time calendar to allow utilities to implement different tarifs
• Tamper detection mechanism to detect fraud
► FLASHUPDATE
• Implements a robust method of code update
• No meter readings can be lost
• No code runaway upon power outage
► AMR SPI
• Provides a 5v interface to external AMR modems
► Comparators with internal programmable reference (IR)
• Allows a simpler optical interface
► 16-bit high speed SAR ADC
• Simultaneous conversion
• CT Compensation
► Low Power
• The industry's benchmark low power implementation
► Packages
• 80LQFP, 100LQFP
$3.85100 LQFPMCF51EM128CLL
$3.680 LQFPMCF51EM128CKL
$3.9780 LQFPMCF51EM256CKL
$4.22100 LQFPMCF51EM256CLL
10Ku Suggested Resale PricePackagePart #
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 8
ColdFire Core Metering / MAC
ElectricityMeters
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 9
Coldfire V1 + MAC
•Coldfire® architecture, instruction & operand pipeline
•32-bit ALU
•32-bit address & data registers
•50MHz core speed
•Un/signed 32-bit MAC (16x16)
Data register
D7
D0Address register
A7 - Stack
A0
Supervisor stack
Program Counter
CCR
CPU Configuration RegisterVector Base Register
32-bit
ALU
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 10
ADC and Sequencer
ElectricityMeters
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 11
16b SAR Features Features of the ADC module include:
• Linear successive approximation algorithm with up to 16-bit
resolution • Up to 4 pairs of differential and 24 single-ended external analog inputs • Output Modes: Differential 16-bit, 13-bit, 11-bit and 9-bit modes, or single-ended 16-bit, 12-bit,10-bit and 8-bit modes • Output formatted in 2’s complement 16b sign extended for differential modes • Output in right-justified unsigned format for single-ended • Single or continuous conversion (automatic return to idle after single conversion) • Configurable sample time and conversion speed/power • Operation in wait or stop3 modes for lower noise operation • Asynchronous clock source for lower noise operation with option to output the clock • Selectable asynchronous hardware conversion trigger with hardware channel select • Automatic compare with interrupt for less-than, greater-than or equal-to, within range, or out-of-range, programmable value • Temperature sensor • Hardware average function • Selectable voltage reference, Internal, External, or Alternate
•DUAL result register - Two sequential conversions
4 ADC’s on Nucleus
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 12
4-Channel Programmable Delay Block (PDB)
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 13
Programmable Delay Block use in Poly-Phase Metering
•16-bit resolution timer(s)•3-bit pre-scalar•bus source (up to 25MHz)
•Significantly reduces interrupt loading !
•ADC has two result registers
•One interrupt per measurement period
Measurement period, eg 250uS for 4000 samples/sec
Live 1 voltage
Live 2 voltage
Live 3 voltage
Live 1 CT
Live 2 CT
Live 3 CT
Neutral CT
Auxiliary ADC measurements
End of conversion interrupt from ADC
PD
B
CT phasedelay
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 14
LCD controller
ElectricityMeters
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
How Freescale Beats the LCD Design Challenge
Challenge Freescale Solutions
1. Too many pins required to drive many segments
52 pins required for 192 segments in 4x48 mode
44 pins required for 160 segments in 4x40 mode
29 pins required for 100 segments in 4x25 mode
1. Too many pins required to drive many segments
32 pins required for 192 segments in 8x24 mode
28 pins required for 160 segments in 8x20 mode
17 pins required for 104 segments in 8x13 mode
2. Blinking mode takes power and resources
• Competitor parts offer blinking mode by setting a bit in a register• Power consumption increased by microcontroller
• must exit stop mode, execute the code and then go back to sleep
in every blinking period
2. Low Power Blinking mode
• Does not need to wake up the controller, can be activated and
the CPU can go to sleep, but the segments will remain blinking at the pre-set frequency
• Alternate display features can be activated to display additional data (i.e., blink temperature and time)
3. Layout is very complex because the frontplanes(FPs) and backplanes (BPs) are fixed in pin-outs
3. FrontPlane and BackPlane re-assignments
• FP and BP can be software selectable to be either FP or BP,
making board layout an easier task and very flexible for changes
4. LCD glass requires many voltages, and voltage divider resistor ladders consume too much power
• Battery voltage drops over the time to the point where displays suffers degradation by not having the optimum voltage levels
4. Internal charge pump provides all voltages required to power up LCD glass
• Internal software selectable regulated power supply that keeps constant voltage across LCD glass to avoid degradation
• LL16 offers 4 bits resolution trim to adjust contrast control
(Only for S08 and V1 cores)
• FPs and BPs are commonly distributed on all sides of the microcontroller
• Special device placement and layout must be performed to reduce electromagnetic interference (EMI) and shorten communication lines between the microcontroller and the LCD display
• Result: complex layout, and time consuming
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 16
Independent Real Time Clock
[IRTC]
ElectricityMeters
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Independent Real Time controller
►Run on a separate 32.768 crystal
►Independent battery pin
►Tamper detection inbuilt with time capturing
►RTC battery removal detected as the tamper condition
►Temperature compensation is inbuilt
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 18
AMR SPI / SCI (5V tolerance)
ElectricityMeters
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 19
5v AMR SPI
►THREE SPI pins are open drain
►Interfacing to AMR (eg PLM or RF) operating at 5v
Nucleus
SPI(Slave)
5v
MISO
MOSI
SPSCK
SS
GND
PLC / RF
(MASTER)
MISO
MOSI
SPSCK
SS
GND
Nucleus
SPI(master)
PLC / RF
(SLAVE)
5v
MOSI
MISO
CLK
SS
GND
MOSI
MISO
SPSCK
SS
GND
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 20
5v AMR SCI
►SCI Tx pin can use the open drain pin from the SS pin of the SPI
►Interfacing to AMR (eg PLM or RF) operating at 5v
►SPI is still 5v capable master/slave
• SPI SS isn’t (hardwire or level shift)
Nucleus
SCI
PLC / RF
5v
RxTx
GND
TxRx
GND
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 21
Infra-Red Communication
ElectricityMeters
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 22
SCI Modulator
Nucleus
TPM(pwm)
Vdd
Tx
0
1
1
SCIModulate
enable
• Enables better transmission of IR due to pulsed (eg 38KHz) signal
• Less susceptible to ambient light levels
• 2 Tx pins have high output drive (to drive IR led)
• Optional modulated Tx output (freq determined by timer)
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 23
Internal1.2V
Reference
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 24
•1.2V output that is regulated from VDD = 1.8V to 3.6V•Output at Room Temp is 1.2 ± 2mV
•Vref available on output pin
• Untrimmed behavior:•Output at 0 degrees Celsius is +1mV to -2mV from Room•Output at 50 degrees Celsius is +1 to -2mv from Room•Around 40ppm/°C
• 8 Bits Trim Register with ~0.5mV steps• Load regulation 100uV per mA max• Line Regulation (PSR) ± 0.1mV DC, -60db AC
• 4 operation modes• Reference voltage for ADC – 75uA* • Low Power Buffer – 125uA*• High Power Buffer - 1.1mA*• Both Buffers – 1.15mA*
Internal Voltage Reference FeaturesVoltage vs. Temperature
1.195
1.196
1.197
1.198
1.199
1.2
1.201
1.202
-50 0 50 100 150
Temperature
Vo
lta
ge
*Power Consumption (Unloaded)
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 25
Flash Robust Update
ElectricityMeters
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 26
FLASHUPDATE
Application
0
Power calculation
Comms Routine
Interrupt Vectors
128K
UpdateApplication
space
Power calculation - copy
Comms Routine - copy
Interrupt Vectors - copy
256K
Flash Selector = 0
OldApplication
Power calculation
Comms Routine
Interrupt Vectors
256K
UpdatedApplication
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
Update method - 11. Code in block 0 writes new application
to block 1 [left diagram]2. AFTER new code validated, flash
selector set to 0 (swapping blocks)3. New/updated code in block 1 is
executed in low address space [right diagram]
• New application can replicate itself into block 0 for further fault tolerance
• Swapping of flash blocks is controlled and maintained over power cycles
Non volatile Non volatile
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 27
Hardware CRC
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 28
Hardware CRC
CRC
V.D.E approved method for use as part of fulfilling
ISO 60730 Class B embedded applications.
CRC_hw_CCITT: ….…………….………,……….
……
CRC engine:
•CRC16-CCITT specification
•x16 + x12 + x5 + 1 polynomial
Note:
•One CRC 16-bit signature is reliable for detecting single bit
faults in < 48Kbytes.
•Larger arrays will require multiple CRC signatures.
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 29
MCF51EM256 Performance
ElectricityMeters
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 30
Nucleus Performance with Algorithms used in Metering
► Implemented mostly in “C”:• Voltage and Current RMS values
• Active Energy, Active Power, Apparent Power, Reactive Power and Power Factor
• DFT (Discrete Fourier Transform)
• THD (Total Harmonic Distortion)
� Documentation and Code Available
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 31
Metering with the
MCF51EM256
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 32
Three-Phase Electricity Meter
LCD 288 segments (8 x 36)
44
Vref
AD
C
Energy output pulse
0.1 kWhr/pulse
L3 in
L3 out
CT
x10
x100N in
N out
CT
x10
x100
L1 in
L1 out
CT
x10
x100L2 in
L2 out
CT
x10
x100
EE2
MRAM
RF
Battery
Zigbee
1-16MHz
Opto (diag)
Opto (rdr)
monitor
tamper
PLM
GPIO
ADC
SCI
SCI
SPI/IIC
ADC
SPI/IIC
SCI/SPI
SCI/SPI
ADC
SPI/SCI
GPIO/ADC
ADC
GPIO
GPIO
GPIO On Led
32 KHzRTC
3v
VoltageL1
L2
L3
Major functions of 3-phase meter
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 33
Single-Phase Electricity Meter
LCD 160 segments (4 x 40)
44
Vref
On Led
AD
C
Energy output pulse
0.1 kWhr/pulse
N in
N out
CT
x10
x100
EE2
MRAM
RF
Battery
Zigbee
RTC1-16MHz
Opto (diag)
Opto (rdr)
monitor
tamper
PLM3v
GPIO
ADC
32 KHz
SCI
SCI
SPI/IIC
ADC
SPI/IIC
SCI/SPI
SCI/SPI
ADC
SPI/SCI
GPIO/ADC
ADC
GPIO
Live in
Live out
Shunt
x10
x100
GPIO
GPIO
VoltageLive
Major functions of 1-phase meter
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 34
MCF51EM256 Electricity Meter – Features
►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 of: • US and European voltage specifications: full scale being 120V+/- 20%,
230V +/- 10%• US and European current specification: full scale being 100A US, 60A
Europe • Phase wise RMS Voltage (Accuracy ±1% of full Scale)• Phase wise RMS Currents and neutral current (Accuracy ±1% of full scale)• Phase wise and Net Active Power (Accuracy ±1% of full Scale)• Phase wise and Net Reactive Power (Accuracy ±1% of full Scale)• Phase wise and Net Apparent Power (Accuracy ±1% of full Scale)• Phase wise and Net 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• Display Date and Time of the Meter• Maximum Demand
►Operating frequency range 50Hz ±3Hz or 60Hz ±3Hz►Measurement & storing of the following parameters:
• Imported & Exported kWh • Imported kVArh (Leading and Lagging)• Exported kVArh(Leading and Lagging)• Imported & Exported kVAh
►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
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 35
MCF51EM256 Electricity Meter – Standards
►The Electricity Meter Reference Design shall be compliant with the following standards:
►IEC 62053-22 International Energy Metering Specification, class 0.5 (or better) for active energy
►IEC 62053-23 International Energy Metering Specification, class 2 for reactive energy
►ANSI C12.18 standards for optical interface
►IEC 62056-21 International Energy Metering data exchange Specification
►IEC 62053-22, IEC 62053-23, IEC 62052-11
Electro Static Discharge (ESD), tested per IEC 61000-4
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 36
MCF51EM256 Poly-Phase Meter Ref. Design: Block Diagram
Freescale Confidential
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Nucleus Customer needs
100 LQFP 100 Pin Pkg
Atomic counter Ensure reliable and un-interrupted counter updates
Multiple clock sources Enables MCU to function with loss of crystal(s)
Tamper detection Operates with MCU on or off recording time of tamper
Single chip 1 chip cost reduced solution
Secure Flash Update Reliable in field code/tarrif updates
Flash security & protection MCU Security Restricted BDM – can’t read flash or peripherals Protect against write/erase
Interrupt controller Prioritizes interrupts ensuring priority to calculation
Programmable Delay Block Reduces interrupt overhead
Fast SAR ADC - Can measure 64th harmonic Greater accuracy of the power measurement
32 bit, 50MHz, Coldfire V1 core with MAC can handle the comms and power calculation
Ability to perform calculations MMI and communications code
Flexible Power Calculation Algorithm Flexibility to implement their own IP
Tamper detect on the RTC Tamper Detection
Easy to develop with Simplicity
MCF51EM256 Plus Features
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Zigbee in AMR
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 40
WLAN Solution
40
Key Options:• MPC8308: Power Architecture based with robustness Linux
solutions for complex Ethernet package routing. DLMS protocol stack running on top of Linux OS. Wide range of connectivity options
• P1011: QorIQ based with Linux OS for high end options
LAN Adapter
ISDN adapter
GPRS
GSM modem
Other Options
MPC8308(low end)
P1011(high end)
Utility
Metering/ NAN
Power SupplyUnit
LAN Solution
Wi-Fi, Wi-Max
DDR
Flash
Freescale Solution
LEGENDEthernet, USB or Serial Interfaces
Data Concentrator
Overview:• Gather information data from the
metering local area network (LAN)• Process and analyze the data pockets • Route the proper data to the wide area
network (WAN)• Protect the data and network from
attacks
P1011/MPC8308 DCU – NAN Scenario
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007. 41
MPC8308 EG - HAN Scenario
Local
data storage
HomePlug AVor g.hn
OFDM PLMCenelec band A
Remote energy display
3.5inch QVGA
local security/access control
systemEnergy
Gatewaymodule
Home LAN/
router
WiMAX
RS232/485
RF module interface USB
SPI
FEC
SPI
FEC
WiFi router or WAN
LCD16ch x 1 line dot
matrix
MPC8308
KeypadReset, re-synch,
on/off
LED statusRun/stop/bus
y/err
UART USB
SPI
eTSEC
SPI
eTSEC
eSHDC
UART
NFC reader
2.4GHz/ 868MHz
ZigBee (2.4GHz) or 868MHz M-BUS
HVAC
868MHz
GPIOGPIO
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Smart Energy Metering Gateway Launch
MPC8308
Partner with:
► Running DLMS/COSEM Client protocol stack
►Available for demo: March 2nd, 2010 at Embedded World (Germany)
• Setting up customer meetings around smart energy market
► Demo will be available at:• Metering Americas
• ESC
• DFAE trainings in China & EMEA
• Future AEU training
• FTF globally
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
DLMS/COSEM Protocol Stack offering
• DLMS (Device Language Message Specification)
• Application layer protocol
• Generalized concept for abstract modelling of communication entities; specifies abstract object related services and protocols
• COSEM (Companion Specification for Energy Metering)
• Data model; comprises metering domain specific interface objects to model the functionality of the meter
• OBIS, the Object identification system used for object naming
Energy
/
demand
Billin
g
Load pro
files
Gas c
onversio
n
Insta
ntaneous
/ PQ Access
control
DLMS messaging services
COSEM Application layer
OSI / Internet lower layersProtocol data units
OBIS Object identification system
COSEM Interface classes
AEnergy type
BChannel
CQuantity
DProcessing
EClassification
FHistorical
C la s s n a m e C a r d in a l i t y
A t tr ib u te (s ) D a ta T y p e
1 . lo g ic a l_ n a m e (s ta t ic ) o c te t - s t r in g 2 . … .. ( . . ) … .. 3 . … … ( . . ) … ..
S p e c i f ic M e th o d (s ) ( i f r e q u ir e d ) m /o 1 . … .. … .. 2 . … .. … ..
Mapping
Load
control
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
DLMS User Association
• Established for European market
• Growing install base in Asia:• India (BHEL, NHPC etc.)• Korea (KEPCO, 13 other members)• China (PPCEM, 9 other members)
• Working with Zigbee alliance for compliance standard
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
DLMS/COSEM Source code: by Kalki Technologies
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Integrated Smart Metering Demo – HAN scenario
MCF51EM256* metering Reference designrunning DLMS/COSEM server stack
MPC8308
MPC8308* energy gateway Reference designrunning DLMS/COSEM Client stack
Zigbee RS232
Consumer (PC)
Zigbee
Load dimmer/Lighting control
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Thank You !
TM
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Backup
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
MPC8308 Block Diagram
DUARTI2CSPI
TimersGPIO
Local Bus
InterruptController
10/100/1000w/ IEEE1588
16/32-bit DDR2Controller
USB2.0X1 PCI Express
SDHC 10/100/1000w/ IEEE1588
Low cost embedded controller with high speed peripherals
e300 core
16KBD-Cache
16KBI-Cache
� Features
• e300 up to 400 MHz� FPU + Dual IU
• DDR2 @ 266MHz� 16/32-bit (w/ ECC)
• Local Bus • Boot from NAND Flash support
• x2 10/100/1000• MII / RGMII• IEEE1588 support
• x1 PCI Express v1.0a
• USB 2.0 – Host / Device / OTG
• SDHC (host controller)
• Multi-channel DMA controller
• DUART, 1x I2C, SPI, GTM, RTC
• 3 dedicated GPIOs� Additional 21 available based on peripherals used
� Package• 473pin MAPBGA (0.8mm pitch – 19 x 19)
�Power consumption• ~1.23W typical @ 333MHz-Core, Tj 25C
General Sampling: NOW
Production: Q1 2010
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Nucleus – MCF51EM1000/512/256/128Metrology & RTCBenefits
► Coldfire V1 Core• 32-bit MAC (16x16 signed/unsigned)• 50MHz performance providing power calculation and
communications capability
► IRTC• Own External battery supply pin and own external Osc• Provides a real time calendar to allow utilities to implement
different tarrifs• Tamper detection mechanism to detect fraud
► FLASHUPDATE• Implements a robust method of code update • No meter readings can be lost• No code runaway upon power outage
► AMR SPI • Provides a 5v interface to external AMR modems
► Comparators with internal programmable reference
• Allows a simpler optical interface
► 16-bit high speed SAR ADC• Simultaneous conversion• CT Compensation
► Low Power• The industry's benchmark low power implementation
► Packages
• 80LQFP, 100LQFP
► Samples: Aug’08, MC Qual: Apr’09, Prod: May’09
GPI/OBDM2chTPM
SPI I2C
V1 ColdFire®& MAC
KB ISCI
2x 8-bitMTIM
LCD(1-8) x (36-43)
VREG
SAR ADC
4 * 16bit SAR ADC
sequencer
FLASHUPDATE
128KFlash
128KFlash
SCI2 *Comparator0 – 1.2v ref 2 * SCI
Core clock
ICS
32KHz/1-16MHz
osc
IRTC
swap
Tamper detect32KHzosc Calendaring
16-bitMTIM
SPI AMR SPI16-bitCRC
16KRAM
TMFreescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2007.
Things to carry to Guangzhou
1. Polyphase meter – Sunil Kaul will ship directly
2. Melange Zigbee Modules
3. USB Stick – PPT / DLMS Server / DLMS Client
4. MPC8308 GDA Board
5. MPC8308 GDA Board programming tool
6. Polyphase meter programming tool