Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Summit 2004
DSCO
Slide 1
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. 2004
Embedded Connectivity Summit
Overview
¾The Power Line Modem (PLM) is the devices
designed to communicate through the high voltage
power line. It provides the low cost interconnectivity in
homes or businesses at low speed data transmission
rate over power line.
¾This reference design demonstrates a complete
hardware and software solution for power line
communication by using Freescale’s low cost DSP
and Agilent’s optical-based analog front end device
which simplify circuitry with low component count
thus lowering overall cost.
Slide 2
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. 2004
Embedded Connectivity Summit
PLM Implementation
Slide 3
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. 2004
Embedded Connectivity Summit
Slide 4
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. 2004
Embedded Connectivity Summit
Slide 5
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. 2004
Embedded Connectivity Summit
AMR Technologies
Slide 6
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. 2004
Embedded Connectivity Summit
Slide 7
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. 2004
Embedded Connectivity Summit
Home Automation/Networking
Typical applications:
• Home appliances (white goods)
• Simple home control (lighting, HVAC, etc.)
• Security and alarm systems
Slide 8
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. 2004
Embedded Connectivity Summit
Slide 9
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. 2004
Embedded Connectivity Summit
A few comments:
• North America dominates the worldwide Smart Home Network market
with millions of units shipped, mainly low-end powerline based X10
products.
• Echelon’s LonWorks is gaining popularity in high-end Home
Networking segments, e.g. home appliances.
• European and Asian home appliances and control system
manufacturers are also very interested in Home Networking. Regional
standardizations are formed.
• Low-end wireless technologies, e.g. ZigBee, are gaining ground in
Smart Home Networks and competing directly with Powerline
Slide 10
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. 2004
Embedded Connectivity Summit
PLM Implementation
Slide 11
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. 2004
Embedded Connectivity Summit
Slide 12
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. 2004
Embedded Connectivity Summit
Slide 13
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. 2004
Embedded Connectivity Summit
PLM Evolution History
– Freescale Discrete Solution
Power Jack Power
PGND
PVCC
GND
Power
+5V
PVCC
+5V
+5V
PGND
VCC VCC RXD RXD
JP1
PHASE DATA_out DATA_out TXD TXD
2
1
Output Stage&
FSK_input FSK_input
RTSD RTSD RS232
NEUTRAL Input Filter
C
FSK_output
GND
CTS
RTS
RX
O
TX
GND GND
TX_enable T
GND
R
VCC O
L
5
1
2
7
3
8
9
DATA_in DATA_in
FSK_output
L J2
Output Filter E CON/CANNON9/90DEG/FEMALE
GND R
Microcontroller
Slide 14
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. 2004
Embedded Connectivity Summit
Slide 15
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. 2004
Embedded Connectivity Summit
AC
RS232 TD0
Tx-en
Main
GPIOB4
Tx-in HCPL-800J Filter and L
ADC0
Rx-out Powerline Coupling N
Status
RS232 Interface IC AC Power
Connector Connector
Isolation
Slide 16
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. 2004
Embedded Connectivity Summit
Benefits
PLM using Freescale’s DSP and Agilent’s Front-end device will
enjoy the following benefits:
9Simplified circuitry with low component count thus lowering overall cost
9 No need for isolation transformer reducing overall size and cost
9 No need for separate line driver which can be costly due of much higher rating
thab what is required.
9 Safety features integrated: Over-current and under-voltage monitoring, over-
temperature shutdown
9Compliance to European CENELEC Standard EN50065-1 on harmonics
emission. This inplies Konnex’s compliance since Konnex adopts EN50065-1
Slide 17
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. 2004
Embedded Connectivity Summit
Key Features/Parameters:
• 1 App Output Driving Current
• -60 dB Overall TX Distortion
• Operating Frequency Up To 500 KHz
• Over-temperature Shutdown
• Under-voltage/Load Detection
• 5 V Power Supply
• Wide Operating Temp. Range –45 to 85°C
• Small Outline Package: SO16
Slide 18
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. 2004
Embedded Connectivity Summit
Slide 19
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. 2004
Embedded Connectivity Summit
Slide 20
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. 2004
Embedded Connectivity Summit
56F801 Functional Block Diagram
Relaxation 9988Kx16
Kx16Program
ProgramFlash,
Flash,1Kx16
1Kx16Program
Program
Oscillator RAM
RAM
JTAG/OnCE
16-bit 56800 Interrupt 9922Kx16
Kx16Data
DataFlash,
Flash,1Kx16
1Kx16Data
DataRAM
RAM
System
Clock Core Controller 9922Kx16 BootFLASH
Kx16 BootFLASH
Generator 99Voltage
8 Kx16
0/11 Voltageregulator
regulator
GPIO 99On-Chip
2 Kx16
D-FLASH
P-FLASH On-ChipRelaxation
RelaxationOscillator
Oscillator(+/-
(+/-0.5%
0.5%
accuracy in room temperature
accuracy in room temperature ) is ) is
1 Kx16 Quad available
available
1Kx16 P-RAM Timer
D-RAM 99System
SystemClock
ClockGenerator
Generator
2 Kx16 99Power Supervisor
Power Supervisor
BootFLASH SCI
996-Output
6-OutputPWM PWMModule
Module
COP
SPI 99Two
Two4-Input
4-Input12-bit
12-bitADC
ADC
Power 9916-Bit
16-BitQuad
QuadTimer
Timer
6-Output
Supervisor IP BUS PWM
99COP
COPTimer
Timer
Bridge 99Multiple
Voltage MultipleSerial
SerialPorts
Ports
Regulator
99Up
Uptoto11
11General
GeneralPurpose
PurposeI/OPins
I/OPins
4-Input 4-Input
12-bit 12-bit 99Vectored
VectoredInterrupt
InterruptController
Controller
ADC ADC 99JTAG/OnCE™
JTAG/OnCE™Debug DebugPort
Port
Package 44-pin LQFP
Slide 21
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. 2004
Embedded Connectivity Summit
56800/E Hybrid Controller Roadmap
Features
56850 Series 56858
Telecom/voice processors, 56857 56F8400
RAM-based, 120 MMACS, 56855
Up to 80KB PRAM, Proposal
56854
81–144 pins
56853
56852
Planning
56F8300 Series
Automotive & Industrial,
Flash-based, 60 MMACS, 56F8367 Execution
40-528KB PFlash, 56F8366
56F8357 56F8365
48–160 pins Production
56F8356
56F8355
56F8100 Series
56F8347
Industrial, 56F8346
Flash-based, 40 MMACS, 56F8345
40-528KB PFlash,
48–160 pins 56F8334
56F8323 56F8333
0.18µ, 56800E
56F820 Series 56F8322 56F8313 120 MMACS
General Purpose, 56F8312
Flash-based, 40 MMACS, 0.18µ, 56800E
64 -130KB PFlash, 56F827 56F8157 120 MMACS
100–128 pins 56F826 56F8156
56F8155
56F8000 Series 56F807 new 56F8147 0.25µ, 56800E
Automotive & Industrial, 56F805 56F8146 60 MMACS
Flash-based, 32 MMACS, 56F803 56F8145
12-16KB PFlash, 56F801 56F802 56F8123
28-32 pins 56F8122 0.25µ, 56800E
40 MMACS
56F800 Series
56F8014
Industrial controllers, 0.25µ, 56800
Flash-based, 30-40 MMACS,
56F801A new 56F8013
30/40 MMACS
56F802A 56F8012
20-128KB PFlash, 56F8011
32–160 pins
Slide 22
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. 2004
Embedded Connectivity Summit
The Complete Development Environment
Hardware Tools
CodeWarrior™ for 56800/E The 56800/E solutions are supported
CodeWarrior for Freescale 56800/E is with a complete set of evaluation
a windows based visual IDE that modules which supply all required
includes an optimizing C compiler, items for rapid evaluation and software
Processor Expert™ and hardware development. In addition
assembler and linker, project Processor Expert (PE) provides a
management system, editor and code several command converter options
Rapid Application Design (RAD) tool exist for customer target system
navigation system, debugger, that combines easy-to-use component-
simulator, scripting, source control, debugger connection.
based software application creation
and third party plug in interface. with an expert knowledge system. PE
is fully integrated with the CodeWarrior
for 56800/E.
Slide 23
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. 2004
Embedded Connectivity Summit
PESL EB
How Features of PE are Achieved
• Developed by experienced programmers of
embedded systems Application Layer
• Expert knowledge system is working on the
background of PE and checks all the settings Application Layer
• Provides context help and access to CPU/MCU EB Hierarchy User
vendor documentation EB
• All EB delivered by UNIS are tested according HW Abstraction Layer
EB
to ISO testing procedures (UNIS is ISO Name Abstraction Layer
Encapsulated Functionality
PESL
certified company)
HW HW
Slide 24
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. 2004
Embedded Connectivity Summit
Processor Expert Features
Slide 25
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. 2004
Embedded Connectivity Summit
Application Specific Algorithm Libraries
Memory Manager Modem Libraries
• Dynamic allocation • V.8bis, V.21, V.22bis,
V.42bis
Feature Phone Library Security Libraries
• CallerID type 1&2, • RSA, DES, 3DES,
CallerID Parser,
Generic Echo Cancellor Motor Control
• BLDC, ACIM, SR motor
DSP Library specific algorithms
• FIR, IIR, FFT, Auto • General purpose
Correlation, Bit algorithms
Reversal
Math Libraries
Telephony Libraries • Matrix, Fractional, Vector
• AEC, AGC, Caller ID, • Trigonometric
• CAS, CPT, CTG, DTMF
• G165, G168, G711 Tools Library
• G723, G726, G729 • Cycle Count, FIFO, FileIO,
Test
Slide 26
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. 2004
Embedded Connectivity Summit
PLM Implementation
Slide 27
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. 2004
Embedded Connectivity Summit
Power Line Modem Basic
• The PLM is the devices designed to communicate through the Power line
Provide low cost interconnectivity in homes or businesses
Low speed data transmission rate over power line
Applications include: Home appliances; HVAC; lighting control; low-
speed communication control; signal and information displays; fire and
security alarm systems.
• Transmitting and receiving digital signals over 120/230-VAC power line
using carrier frequencies
Europe CENELE: 3 KHz – 148.5 KHz
The U.S. FCC: 45 KHz – 450 KHz
Japan PLC: 10 KHz – 450 KHz
• The applications and frequencies are VERY different from the Broadband
over Power Line (BPL) networking technologies, which are designed to:
Provide networking and internet access at up to 10 Mbps over electrical
power line
Operating frequencies in 1 MHz – 10 MHz range
Slide 28
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. 2004
Embedded Connectivity Summit
1 1
0 Output
Timer Low-Pass
Output TX Driver
Filter
Stage
Data TX_EN
Coupling
Port
Circuit
ADC
Input
Input RX Low-Pass RX
Filter Amp
Power Line
DSP
RX_Status
Controller Analog Front-End
Slide 29
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. 2004
Embedded Connectivity Summit
Slide 30
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. 2004
Embedded Connectivity Summit
General Use
Restrictions Under
size North America Consideration Prohibited
FCC
• Based on the software 100 200 300 400 500 600 700 [kHz] frequency
Electricity Suppliers
• FSK modulation used
Consumer use
with Protocol
Europe
Consumer use
Consumer
No protocol
Electricity Suppliers use
Prohibited
CENELEC and Their Licensies No
in CELENEC EN 50065-1 Protocol
“B” band (95-125 KHz) 20 40 60 80 100 120 140 160 [kHz] frequency
Slide 31
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. 2004
Embedded Connectivity Summit
Slide 32
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. 2004
Embedded Connectivity Summit
PLM Implementation
Slide 33
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. 2004
Embedded Connectivity Summit
Power Line Modem Structure
• DSP Controller- DSP56F801
9 Provide Signal Modulation/ Demodulation using FSK method
9 Cyclic Redundancy Code (CRC) calculation
9 Forward Error Correction (FEC) calculation
9 Encryption/ Decryption
9 Interleaving transmmission
• Analog Front-end
9 Signal Insulation for high voltage
9 Surge voltage immunity
9 Minimize line attenuation
9 Immunity to Electromagnetic Interface
9 Electromagnetic Compatibility
• Transmit Filter – Two stage filter circuit
9 First stage – A resonat band-pass filter
9 Second stage – Four pole band pass filter
• Receive Filter
9 First stage – Remove band noise at frequencies less than the 100Khz
9 Second stage – a low pass filter to further attenuate high frequency noise
• Power-line coupling Capacitor
9 Block mains frequencies for transceiver circuits
• Power Line Side Power Supply
9 Provide power for high voltage side
Slide 34
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. 2004
Embedded Connectivity Summit
Frequency
*Information provided by Agilent Technologies
Slide 35
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. 2004
Embedded Connectivity Summit
Stage II TX Filter Frequency Response
µA
Slide 36
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. 2004
Embedded Connectivity Summit
µΑ
Slide 37
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. 2004
Embedded Connectivity Summit
Stage II RX Filter Frequency Response
µΑ
Slide 38
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. 2004
Embedded Connectivity Summit
PLM Schematic 1
Stage 1
HCPL-800J
TX filter
Stage 2
TX filter
Coupling
Stage 2
RX filter
Stage 1
RX filter
Slide 39
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. 2004
Embedded Connectivity Summit
PLM Schematic 2
JTAG Converter
DSP56F801
Slide 40
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. 2004
Embedded Connectivity Summit
Note: When Power Line reception routine is in progress, almost all the DSP
computation power is fully utilized.
Slide 41
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. 2004
Embedded Connectivity Summit
Software Block Diagram
Slide 42
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. 2004
Embedded Connectivity Summit
PLC Module - band A->B->C modifications
software
Application
Band Designations
A B C D
Consumer use
with Protocol
Electricity Suppliers
Consumer use
Europe Consumer
No protocol
Electricity Suppliers use
Prohibited
Modulation
No
CENELEC and Their Licensees Protocol
&&demodulation
Demodulation 20 40 60 80 100 120 140 160 [kHz] frequency
Band
band C
B
A
Slide 43
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. 2004
Embedded Connectivity Summit
Conclusion
Slide 44
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. 2004