Professional Documents
Culture Documents
Smart Grid Flexible PLC Solution Using C2000
Smart Grid Flexible PLC Solution Using C2000
using C2000
1
PLC Fundamentals
2
PLC definition
• Power line communication
– Wired technology
– Use of the electricity networks for data transmission
– No expensive deployment
Main (50 Hz) PLC Communication depends
1.5
1
on
0.5
-0.5
1.5
Modulated signal
• The modulation
-1
-1.5
1
• The frequency band
0.5
Data signal
0
• The protocol
1
-0.5
0.75
0.5 -1
0.25
-1.5
0
-0.25
-0.5
-0.75
-1
Modulation on the main
Overview
Wind Energy
Solar Energy
Smart Appliance
home automation
OFDM
7
PLC is a Robust Means of
Communicating Over Power Lines
Applications
E-Metering
Lighting FLEXIBLE
Home Automation SOLUTION!
Industrial
Solar
EVSE ( Electric Vehicle charging)
Technologies (modulation schemes)
FSK
S-FSK
OFDM TI is the only solution provider that can
Standards address all of these technologies and
Prime standards with a common HW configuration!
G3
IEC 61334
Regulations
CENELEC
FCC
ARIB
PLC PHY Standards Compliance
Band Target TI
Standard Technology occupied Data rate range processor
G1 SFSK 60–76 KHz 1.2–2.4 kbps F28027
* Without overhead
9
TI Power Line Communication Benefits
Flexible, scalable and easy to customize
Flexibility via Software
Single Hardware
Free TI PLC library plcSUITETM adapts to evolving standards, enables can support
quick differentiation and customization by easily separating multiple
modulation and networking protocol, offers design simplicity and field
modulation and
upgradability
standards
10
PLC Hardware
11
TI PLC Solution – Fully Programmable & Scalable
TMS320F28™
Coupling
AFE
HV cap transformer
PA
PWM /
SPI out Flexible
PLC
PGA
SW
12-bit engine
ADC
Surge protector
High Voltage
Power line Coupling Circuit Analog Front End Microcontroller
12
TMS320F28x™ 32-Bit MCU Family Key Benefits for PLC
Flexibility via SW
• Software compatibility across all F280xx
– Easy migration across device family Piccolo Memory Power & Clocking
– Leverage investments
C28x 32-bit • Dual Osc 10 MHz
• Upgradability via software 80MHz 256 KB Flash
• On-Chip Osc
• Multi-protocol support (S-FSK/PRIME/G3) • Dynamic PLL Ratio
VCU Unit 100 KB RAM
Changes
Performance for computation optimization Boot ROM • POR
• VCU engine (Viterbi, complex math and CRC) • BOR
Debug
- OFDM reduced power consumption CLA
Real-Time
• SW Encryption and memory protection for data security JTAG
DMA-6CH
• Dedicated HW accelerators
Peripherals Timer Modules
Integration Best mix of
3x control peripherals
Comparator 8x ePWM Modules:
• 12-bit ratio-metric ADC with individual channel triggers Robust software libraries
Missing Clock Detection Circuitry 16x PWM
Code compatibility across C2000 platform outputs
ranging from
- More accurate resolution – limit drift errors 128-Bit Security Key/Lock
40MHz to 300MHz (8x 150ps high-res)
• 3 analog comparators with 10-bit reference Increased
Converter on-chip analog integration
- Zero crossing detection/synchronization 3 x 32-bit eCAP
16 ch, 2SH, 12-bit, 3 MSPS ADC 4 x HRCAP
• Dual on-chip oscillators
- Intelligent clocking system monitoring Serial Interfaces 2 x 32-bit eQEP
• On-chip Flash up to 256kB 2x SPI, 1x McBSP Watchdog Timer
• On-chip serial ports for flexible interfacing 2x SCI 3x 32-bit CPU Timers
1x I2C
Cost optimization 1x CAN
• Single 3.3V supply available in the family
– Cost and board space saving
– Save 1.8-V power and SVS
105C/125C and Q100
– Multiple package options down to 32-pin F28069 Piccolo device block diagram example
– Board space saving 13
VCCP Module (Viterbi, CRC and Complex arithmetic co-Processor)
VCCP
Execution
Registers VCCP CRC Unit (CU)
VSTATUS
AU
• Supports generation of CRC8, CRC16 and CRC32 on
VR0
(compleX- data stored in memory
VCCPDISN number
arithmetic Unit, – Byte-wise calculation to support PRIME
VR1 supports
Complex
VR2 number Viterbi Unit (VU)
multiplication,
VR3 MAC and ADD) • Supports efficient SW implementation of Viterbi decoder
VR4 by performing the ADD-Compare-Select and trace back
CPI I/F
VR5
operation in hardware
C28x – 1 cycle branch metrics initialization for CR=1/2 and
VR6 2 cycle branch metrics initialization for CR=1/3
Core
C28x Mem Bus VU
VR7 (Viterbi Unit, – 2-cycle Viterbi butterfly operation (Viterbi Butterfly SW on
supports Viterbi F2812 takes 15 cycles)
VR8 ADD-Compare-
Select – 3-cycle Viterbi traceback operation per Viterbi stage
Operation) (Traceback SW on F2812 takes 15 cycles)
VT0
Arithmetic Unit (AU)
VT1
DRDB_noEXEONLY
CU • Supports complex number arithmetic and FFT calculation
(CRC Unit, – 2 cycle complex-number multiplication with
supports CRC8,
SEC-ACTIVE VCRC
CRC16 16-bit x16-bit = 32-bit real and imaginary parts
VCRCHIDE and CRC32) – 1 cycle complex-number addition
– 2-cycle Complex multiply-and-accumulate (MAC)
VCRCGOLD – A repeat Complex-MAC operation
– Instruction to support 5-cycle 16-bit FFT butterfly
14
Stellaris® Cortex™-M3 + PLC Modem Integrated
F28M35x – First series in Concerto™
PLC modem subsystem Sample Availability 2Q11
• 32-bit C28x™ programmable PLC engine F28M35x
– SFSK,PRIME, G3
– OFDM support up to FCC band Stellaris
– Up to 512kB flash ARM Cortex-M3 Communication
Secure ECC Flash / RAM
– Code security Parity RAM
peripherals
ROM / OTP
– 1 UART
– 1 McBSP
Shared
Shared
API for CPU-to-CPU
Application
message parity RAM Analog, power
• 32-bit ARM® Cortex-M3 Parity RAM & clocking
– Scalable up to 100MHz
– Up to 512kB Flash C28x™ FPU
– Code security + accelerators Real-time
– 4 synchronous serial interfaces SSI Programmable PLC engine control
Secure ECC Flash / RAM
– 5 UART Parity RAM peripherals
ROM / OTP
– 2 I2C
– AES128 & 256 encryption (ROM tables)
128 QFP 0.4 mm, 144 QFP 0.5 mm
105°C/125°C and Q100 15
Highest Level of Integration and
Performance while Maintaining Flexibility
C2000 AFE031
N1 N2
Line Coupling
AFE031 Circuit
(replaces discrete)
INCLUDES PA
• Two integrated zero-crossing detectors • Meets and exceeds Cenelec A, B, C and D band
requirements as well as PRIME and G3 requirements
• Two-wire transmitter and receiver op-amps • Enables broadcast of signals using FSK, S-FSK
• Highly linear, large output swing power amplifier: 9Vpp @ modulation schemes
1A (12V supply)
• Enables end equipment that conforms to EN50065-1
• Integrated protection functions
• Improves system reliability and enables design flexibility
• Output enable/disable control • Provides a complete PLC solution in conjunction with TI’s
• Thermal and over-current interrupt extensive MCU portfolio
• Internal thermal overload protection • Compared to alternative solutions, provides 95% PCB area
• Resistor programmable current limit savings and greater than 10x reduction in power consumption
• Direct digital SPI compliant interface during Rx mode while operating throughout the entire
• Versatile supply, temp. range and package industrial temperature range
• PA Supply: (7V-24V), AVDD supply (3.3V)
• Extended –40°C to +125°C temp range
• Package: 48-pin QFN with Power-Pad
17
AFE031 IN PRODUCTION
Fully Integrated PLC analog front end
• Highly integrated
• Integrated programmable TX and RX filters & PGA • Flexible and complete AFE solution for PLC
• Two integrated zero-crossing detectors • Meets and exceeds Cenelec A, B, C and D band
requirements as well as PRIME and G3 requirements
• Two-wire transmitter and receiver op-amps • Enables broadcast of signals using FSK, S-FSK, and
• Highly linear, large output swing power amplifier: 9Vpp @ OFDM modulation schemes
1.5A (12V supply)
• Enables end equipment that conform to EN50065-1
• Integrated protection functions
• Improves system reliability and enables design flexibility
• Output enable/disable control • Provides a complete PLC solution in conjunction with TI’s
• Thermal and over-current interrupt extensive MCU portfolio
• Internal thermal overload protection • Compared to alternative solutions, provides 95% PCB area
• Resistor programmable current limit savings and greater than 10x reduction in power consumption
• Direct digital interface (glue less to TI PLC processor) during Rx mode while operating throughout the entire
• Versatile supply, temp. range and package industrial temperature range
• PA Supply: (7V-24V), AVDD supply (3.3V)
• Extended –40°C to +125°C temp range
• Package: 48-pin QFN with Power-Pad
18
Industry’s Most Flexible, Lowest System Cost
and Lowest Power PLC by Design
• FLEXIBILITY
– Common AFE footprint allows for CENELEC, FCC, ARIB, PRIME, G3,
FSK, SFSK solution – no other competitor can claim this – allows
customers to serve many WW markets with single solution defined by
SW
• LOWEST SYSTEM COST
– TI’s PLC solution includes the complete PA – compare to competitors
that require build your own PA from large, expensive discrete power
transistors
– Increasing levels of integration removes more and more passive
components
• LOWEST SYSTEM POWER
– On chip signal detection allows MCU to be placed in lowest possible
power mode, waking up only upon interrupt for power sensitive
applications like solar j-box or lighting ~10mW in standby mode
TI PLC Modem Development Kit (TMDSPLCKIT-V3)
TI PLC DK contains:
– 2 PLC modems
– Power supply and cables
– GUI and documentations
– Run any IP applications
through PC host
– Part#: TMDSPLCKIT-V3
– Price: $599 USD
– Distribution and TI eStore
– plcSUITETM Software
available via download
• Robust narrowband PLC modem over low- • Software reference design package:
voltage/medium-voltage power line plcSUITE APIs, Libs. Source available
• PLC standards/modulation supported pending NDA
– PRIME • AFE operating frequency range
– G3
in CENELEC A, and BCD bands
– FlexOFDMTM
• Easy integration into end-point or network
• Optional FCC band discrete AFE available
devices of AMR/AMI systems
• Compatible with optional Piccolo and Concerto
Control Cards • NRE and royalties FREE 20
20
PLC Kit V3 Docking Station Overview
DB9/ RS232
Serial Port
(SCI)
PWM
L/N
SCI
SCI x2
C2000 SPI
SPI Coupling
CAN ECAP
SCI JTAG
Zero Cross
3.3 V 5V Circuit
JTAG
Emulation
/ USB VDD
Power Supply Optional AC/DC Power 85-280 VAC
Serial
(SCI) Supply
USB
21
TI System on Module (SoM)
• TI SoM are design suggestions for a more optimized PLC system that can be
plugged into an existing application: these are not production proof designs
• TI provides schematics, gerber and layout and can also provide samples
• Feature the F2806x + AFE031 combination
• PiccoloA and PiccoloB SOM versions in development
• Support PRIME/G3/FlexOFDM and S-FSK in 4Q
• Available on request: smartgrid@ti.com 22
TI PLC Product Portfolio
Portfolio/Features F28PLC35/AFE030 F28PLC83/AFE031 F28M35/AFE032 F28PLC7x/AFE032/
(PLC-Lite) (CEN-A/BCD) ( FCC) CC1260 (PLC+RF)
Standards/Technologies FlexOFDM PRIME/G3/G1/FlexOFDM P1901.2/G3-FCC P1901.2/802.15.4g
Max Bit Rate (PHY) TI: 21Kbps TI: 64-128Kbps 200Kbps 400-500Kbps
Other: 2.4-28Kbps Other: Same Other: Same
Frequency Bands CELENEC A, CENELEC BCD CENELEC A, B, C, D CENELEC A,B,C,D CEN A,B, C, D
supported half band With Tone Masks FCC*, ARIB* FCC, ARIB
Maximum CPU Clock Rate 60MHz 90MHz (VCU-I) 150MHz (VCU-I) 150MHz (VCU-II)
TI Product Advantages • low cost with OFDM • Multiple standards • Multiple standards • Industry 1st PLC and SDR
robustness • Certified SW and field proven • Higher performance integrated solution
• FlexOFDM with flexible band • Better receiver algorithm • Additional robust • highest performance for
selection • Better network formation features: Coherent, etc NB-OFDM
• Ultra-good NBI performance algorithm • Adaptive Tone Mask • OFDM, DSSS, FSK all
• CLA for applications • Simple user interface • Field proven standard modes
• CSMA/CA MAC • Field tunable
Target Applications • In-Home-Display to eMeter • AMR/AMI • AMR/AMI • AMR/AMI
• eMeter to Collector • IHD/HAN • EV/EVSE • EV/EVSE
• Solar inverter connectivity • Energy Gateway • IHD/HAN • IHD/HAN
• Home Area Network • Energy Gateway • Energy Gateway
Data Concentrator
TI PLC EVM Kit TI PLC SOM 3rd Party PLC Plug-in
EVM
PLC Software
24
Single HW – Multiple Standards
plcSUITE™ Software Framework
Host App
SW reference
plcSUITE:
Open source
Layered API
Component-wise
Certifiable
Scalable
Lego architecture
Custom build
Documentation
26
What Customer Wants #1: Time to Market
Facts Examples
plcSUITETM has been certified by compliance test lab Customers pass meter certification in weeks
plcSUITETM offers comprehensive functions: ADP, MAC, PHY plcSUITE has simple APIs (~12 message for G3, ~20 messages
with simple APIs to assist system integration for PRIME). Customer ~1 week integration record.
plcSUITETM includes both Service Node (SN) and Data Customer is able to provide “end-2-end” network level test with
Concentrator (DC) side for an “end-2-end” solution 50-100s node in < 2 months
plcSUITETM went through WW field tests for PHY layer plcSUITE contains many top-notch algorithms in both PHY and
robustness and Network Layer with extra-ordinary performance MAC layer to achieve top peformances (details can be provided)
27
What Customer Wants #2: Easy to Use
28
Enable Customers - Test
• Zero Config GUI
– Point to point Connection Test
– Plug and play
– PHY packets transfer and statistics
– Message transfer
– File transfer
• Intermediate GUI
– System configurations
– PHY performance evaluations
– PHY/MAC PIB set/get
– Firmware flash
• Host application emulation
– Network join
– Meter readings emulation
– Mini-DC mode for G3
29
What makes TI Solution Differentiate?
• Fully Programmable & Scalable
C2000/ PRIME
Concerto
G3
…
• Enhanced Algorithms inside
PRIME G3/ G3 FlexOFDM PLC-Lite
FCC/P1901.2
- Beacon search algorithm - Enhanced - Adaptive sub- - NBI
- Adaptive ARQ timeout CSMA/CA band Selection cancellation
- Prioritized Queuing (up to FCC) algorithm
PRIME ROBO
G3
G1
Robustness
: low : medium
: lowest : low-medium 31
Message Flow Overview (G3/PRIME)
32
Zero-Configuration GUI
• Automatic Port Configuration
• Easy to Demo (one-click to run)
• Zero-Configuration/Intermediate Mode
• File Transfer/Message Transfer/PHY Test Mode
Intermediate GUI
• Graphical Display for RSSI, SNR, BER, and PER
• More options for PHY Test mode
(modulation/coding rate/power level/gain)
TI PLC Platform and Availability
Standards/Platform F28027 F28035 F28069 F28M35 AM180x/L138
(Piccolo-A) (Piccolo-B) (Octave) (Concerto) +F28069(Octav
e)
IEC 61334-5-1 PHY,MAC (S-FSK) Now N/A N/A N/A N/A
Frequency Bands supported CENELEC A CENELEC A,B,C,D CENELEC A,B,C,D CENELEC A,B,C,D CENELEC A,B,C,D
FCC, ARIB FCC, ARIB
36
Conclusion
• SW Flexible Solution
– One single HW to support S-FSK/PRIME/G3 (OFDM)
– Flexibility at no cost adder
• TI is a strong supporter of Low Frequency Narrowband
OFDM (LF NB OFDM) solution
– PRIME/G3/FlexOFDM/PLC-Lite/G1 available today
• We are providing
– H/W platform and schematics
– S/W library and GUI tool
– API Documents and User Guide
– Project Examples (Host Application, PHY/LLC/ADP example
projects)
37