HDPLC LON How to Build Fast PLC LON
HD-PLC LON How to Build Fast PLC LON Devices
SPEAKER BIO • LON specialist since 1995 • CTO of Gesytec • Lon. Mark board member • Working in various industrial committees How to Build Fast PLC LON Devices Matthias Lürkens CTO Gesytec Gmb. H mluerkens@gesytec. de Tel: +49 (2408) 944 -262 Skype: luerkens. matthias
GESYTEC OVERVIEW • Founded 23. 12. 1977 • 15 employees in Aachen/Germany • Worldwide business • Working with LON since 1991 • Linux, Windows and embedded knowhow • LON interfaces, routers and other infrastructure • Proprietary LON protocol stack and LON VHDL solution How to Build Fast PLC LON Devices
AGENDA 1 Technical Facts 2 What Is HD-PLC LON? 3 How Does LON Work with HD-PLC ? 4 Using a Standard Cortex CPU 5 HD-PLC LON Evaluation Kit 6 Virtual Hands-on: How to build an HD-PLC LON device How to Build Fast PLC LON Devices
LEGACY vs. STATE-OF-THE-ART NARROWBAND PLC Echelon PLC BROADBAND PLC IEC 61334, IEEE 1901. 2 CEA-709. 2, ISO-IEC 14908 -3 IEEE 1901, ITU G. 9960 FSK, SS, OFDM FSK, SS OFDM 10 k. Hz to 490 k. Hz 115 k. Hz/132 k. Hz and 86 k. Hz/75 k. Hz 2 MHz to 100 MHz < 100 kbps < 5. 4 kbps 1 Gbps Error Correction N/A Forward error correction Convolutional Coding/Viterbi # of Nodes 64 Limited by environment 1024 Long Short (Long w/Multi-hop) Network Free-Topology IP Stack N/A IPv 4/IPv 6 Encryption N/A AES-128 G 3 -PLC, others Lon. Mark, Echelon HD-PLC Alliance, HPA, HGA Standard Modulation Frequency Range PHY Rate Range Certification How to Build Fast PLC LON Devices
HD-PLC/RS-485/ETHERNET RS-485 Mega. Chips’ HD-PLC Ethernet 10/1000 Speed (bps) 0 -12 M 95 M – 10 M/100 M/1 G Max Range (m) 1, 200 500 - 2, 000+ 100 32 (256) 1024 Requires Switch(es) IP-Based ✗ ✓ ✓ High Security ✗ ✓ ✓ Plug-and-Play ✗ ✓ ✗ Mesh Networking ✗ ✓ ✗ Flexible Topology ✗ ✓ ✗ On-Chip Bridging (✓) ✓ ✗ Repeater Functionality (✓) ✓ ✗ Twisted pair Any wire CAT 5/6 No. of Nodes Wiring How to Build Fast PLC LON Devices
LON AND HD-PLC • New LON physical channel • Not compatible with existing PL channels • Coexist with existing PL channels • Standardization procedure started ANSI/CTA 709. 8 and EN 14908 -8 • End of 2018/mid 2019 • Multi-application at the same time • CCTV, Audio, Industrial, LON, and others How to Build Fast PLC LON Devices • Devices • LON Protocol stack on Mega. Chips KHLN 1501 • Gesytec HD-PLC modules • LON HD-PLC transceiver for Neuron 6000 • Diagnostics • • Topology analysis Signal strength Firmware update Performance test
LON AND HD-PLC • IEEE 1901 • OFDM • ITU G. 9905 • Multi-hop • HD-PLC • How to use • LON • Standard data types and object models How to Build Fast PLC LON Devices PHY Speed 240 Mbps Max. Number of Nodes 1, 024 Max. Number of Hops 10 Throughput (Without Hopping) 90 Mbps Throughput (Multi-hop) 10 Mbps Latency 20 ms Message Throughput > 200 p/s Encryption AES 128 Security Whitelisting of devices Physical Layers Supported Power line, twisted pair, coax, Ethernet cabling and others
HD-PLC LON GESYTEC SOLUTION • LON HD-PLC module WITHOUT neuron chip • Mega. Chips KHLN 1501 CPU • Gesytec Easylon Protocol Stack • Neuron ID • Cheap Cortex M 0 Application CPU STM 32 F 091 • 12 multipurpose digital I/O • 2 analog input, 2 analog output • Debug UART • Reduce BOM cost • Standard ANSI C environment • Select application CPU exactly for your needs How to Build Fast PLC LON Devices
HD-PLC LON EVALUATION KIT • Based on Mega. Chips Dolphin EVK • Extended by Gesytec with • LON Stack, Inputs and Outputs How to Build Fast PLC LON Devices Row-A Row-B Comment 1 DAC_OUT 2 Fixed digital output 2 ADC_IN 6 ADC_IN 7 Fixed analog input 3 GND VCC-A 4 PB 0 (switch) PB 1 (LED) Programmable digital 5 PB 2 PB 3 Programmable digital 6 PB 4 PB 5 Programmable digital 7 PB 6 PB 7 Programmable digital 8 PB 9 Programmable digital 9 PB 10 PB 11 Programmable digital 10 GND VCC 11 SWDIO SWCLK ARM Debug 12 GND Reset ARM Debug 13 UART 4 TX UART 4 RX Diagnostic UART
THE MAGIC XIF • Network variables • Configuration properties • Objects/functional profiles • Standard definitions make devices interoperable How to Build Fast PLC LON Devices
DEVELOPMENT FLOW DEFINE DEVICE INTERFACE GENERATE C FRAME MAKE YOUR APPLICATION DOWNLOAD & DEBUG • Use IDE • Add handling I/O • Connect I/O with network variables • Callback events Make it run • ST link debugger • Download • Fix bugs • Test SET IT FREE #if {} /* #define */ /* // */ #endif EPOS® XIF 2 Code. Generator • Program ID • Network variables • Functional blocks • Self documentation EPOS® XIF 2 Code. Generator • ANSI C framework • Definitions for network variables & functional blocks • Callback events How to Build Fast PLC LON Devices • Final version • Source control • Release to production
WHAT‘S IN THE BOX How to Build Fast PLC LON Devices
WHAT‘S IN THE BOX + + + + 2 HD-PLC LON boxes 2 breakout boards for HW tests 1 HD-PLC master 1 ST Link/V 2 USB debugger module Cables FTP repository access for software and source code SW licenses Easylon IP Driver Easylon Analyzer Easylon OPC Server How to Build Fast PLC LON Devices
WHAT ELSE DO I NEED? How to Build Fast PLC LON Devices + + + PC Atollic True. Studio STM 32 Cube. MX Izo. T CT Terminal Application
SETUP PC with: • • • Easylon Drivers HD-PLC Gateway Easy. Check Echelon Izo. T CT STM 32 Cube. MX Atollic True Studio Easylon XIF Editor Terminal Application Second Ethernet Interface Recommended
VIRTUAL HANDS-ON How to Build Fast PLC LON Devices
HD-PLC DEVICES DIN RAIL GATEWAY LON ROUTER INTELLIGENT POWER PLUG HD-PLC, RS-485, Ethernet e. g. HD-PLC<->TP/FT-10 For energy management How to Build Fast PLC LON Devices OTHER INTELLIGENT I/O DEVICES
SUMMARY • HD-PLC LON is standard LON • Supports standard tools like Lon. Maker and others • Communicates with existing LON networks • Development is easy • ANSI C • Migration to LON without porting to a new CPU platform like the Neuron chip • Comparable with Short. Stack • LON stack and user application are separated on different CPUs • Robust solution How to Build Fast PLC LON Devices
Q&A How to Build Fast PLC LON Devices
- Slides: 20