Avoiding pitfalls in PROFINET RT and IRT Node Implementation



Similar documents
Optimising a PROFINET IRT Architecture for Maximisation of Non Real Time Traffic

Generic term for using the Ethernet standard in automation / industrial applications

7a. System-on-chip design and prototyping platforms

Using Industrial Ethernet Networks for PROFInet

10/100/1000Mbps Ethernet MAC with Protocol Acceleration MAC-NET Core with Avalon Interface

PROFINET the Industrial Ethernet standard. Siemens AG Alle Rechte vorbehalten.

All Programmable Logic. Hans-Joachim Gelke Institute of Embedded Systems. Zürcher Fachhochschule

Overview and Applications of PROFINET. Andy Verwer Verwer Training & Consultancy Ltd

NIOS II Based Embedded Web Server Development for Networking Applications

Document ID: FLXN111 PRODUCTS AND LICENSING

Software Stacks for Mixed-critical Applications: Consolidating IEEE AVB and Time-triggered Ethernet in Next-generation Automotive Electronics

A Scalable Large Format Display Based on Zero Client Processor

10/100/1000 Ethernet MAC with Protocol Acceleration MAC-NET Core

Welcome. People Power Partnership PROFIdag 2013 Peter Van Passen Sales & Business Development Manager HARTING Electric 1/44

White Paper Increase Flexibility in Layer 2 Switches by Integrating Ethernet ASSP Functions Into FPGAs

Open Flow Controller and Switch Datasheet

Precision Clock Synchronization

Gigabit Ethernet Design

Computer and Set of Robots

From Fieldbus to toreal Time Ethernet

Implementation of Wireless Gateway for Smart Home

High Performance or Cycle Accuracy?

The new frontier of the DATA acquisition using 1 and 10 Gb/s Ethernet links. Filippo Costa on behalf of the ALICE DAQ group

WiSER: Dynamic Spectrum Access Platform and Infrastructure

HMI EMBEDDED SYSTEM DESIGN AS A FUNCTION OF TECU

Nios II-Based Intellectual Property Camera Design

Hirschmann Networking Interoperability in a

HANIC 100G: Hardware accelerator for 100 Gbps network traffic monitoring

How To Make Gigabit Ethernet A Reality

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

FPGA Accelerator Virtualization in an OpenPOWER cloud. Fei Chen, Yonghua Lin IBM China Research Lab

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

Building Blocks for PRU Development

Qsys and IP Core Integration

Introduction to SFC91xx ASIC Family

Research of PROFIBUS PA s integration in PROFINET IO

ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654

Networking Remote-Controlled Moving Image Monitoring System

FPGA Manager PCIe, USB 3.0 and Ethernet

USB 3.0 Connectivity using the Cypress EZ-USB FX3 Controller

Model-based system-on-chip design on Altera and Xilinx platforms

Industrial Communication Whitepaper. Principles of EtherNet/IP Communication

Seeking Opportunities for Hardware Acceleration in Big Data Analytics

Getting the most TCP/IP from your Embedded Processor

How to design and implement firmware for embedded systems

EVALUATING INDUSTRIAL ETHERNET

Architekturen und Einsatz von FPGAs mit integrierten Prozessor Kernen. Hans-Joachim Gelke Institute of Embedded Systems Professur für Mikroelektronik

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

A Real-time Ethernet Prototype Platform for Automotive Applications

IPv6 Challenges for Embedded Systems István Gyürki

applicomio Profibus-DP

ZigBee Technology Overview

White Paper Streaming Multichannel Uncompressed Video in the Broadcast Environment

Kirchhoff Institute for Physics Heidelberg

Analysis of Industrial PROFINET in the Task of Controlling a Dynamic System**

Network connectivity controllers

System-on-a-Chip with Security Modules for Network Home Electric Appliances

WP WinPAC-8x49 Series (WP-8149/8449/8849) is the new generation WinCE based InduSoft PAC (Programmable Automation Controller).

Data and Control Plane Interconnect solutions for SDN & NFV Networks Raghu Kondapalli August 2014

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Chapter 13 Embedded Operating Systems

Arista Application Switch: Q&A

ADM5120 HOME GATEWAY CONTROLLER. Product Notes

Wireless Technologies for Automation

ELEC 5260/6260/6266 Embedded Computing Systems

CPUs - CPU PN/DP

Using Network Virtualization to Scale Data Centers

A Low Latency Library in FPGA Hardware for High Frequency Trading (HFT)

Performance of Software Switching

Intel Xeon +FPGA Platform for the Data Center

The goal is to program the PLC and HMI to count with the following behaviors:

Andreas Läng. Hilscher Gesellschaft für Systemautomation mbh Intelligent solutions for industrial communication.

Developing reliable Multi-Core Embedded-Systems with NI Linux Real-Time

A Flexible Solution for Industrial Ethernet

Quality of Service in Industrial Ethernet Networks

How Router Technology Shapes Inter-Cloud Computing Service Architecture for The Future Internet

TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX

19 Comparison of Ethernet Systems

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Architectures and Platforms

ETHERNET Powerlink. Perfection in Automation - automation.com

SDN software switch Lagopus and NFV enabled software node

The Lagopus SDN Software Switch. 3.1 SDN and OpenFlow. 3. Cloud Computing Technology

Sockets vs. RDMA Interface over 10-Gigabit Networks: An In-depth Analysis of the Memory Traffic Bottleneck

S7-1500/S7-1500F Technical Data

Networking Driver Performance and Measurement - e1000 A Case Study

2. Scope of the DE0 Board and Supporting Material

Xenomai: integration and qualification of a real time operating system ARMadeus Systems

Eli Levi Eli Levi holds B.Sc.EE from the Technion.Working as field application engineer for Systematics, Specializing in HDL design with MATLAB and

760 Veterans Circle, Warminster, PA Technical Proposal. Submitted by: ACT/Technico 760 Veterans Circle Warminster, PA

SOC architecture and design

FPGA Design From Scratch It all started more than 40 years ago

PROFINET IRT: Getting Started with The Siemens CPU 315 PLC

Transcription:

Avoiding pitfalls in PROFINET RT and IRT Node Implementation Prof. Hans D. Doran ZHAW / Institute of Embedded Systems Technikumstrasse 9, 8400 Winterthur, Switzerland E-Mail: hans.doran@zhaw.ch Lukas Itin

Our claim to fame InES has expertise in industrial communication technology Institute of the School of Engineering, Zurich University of Applied Sciences Applied R&D institute, founded in 2002 Focused on industrial communication, wired and wireless Employs between 30-40 full time researchers Financed through governement sponsered research and direct industry contracts Real Time Ethernet Research Group 6-12 full time researchers Founding member of the EPSG First international PROFINET Competence Centre

Our claim to fame Real Time Ethernet Research Group 6-12 full time researchers Founding member of the EPSG First international PROFINET Competence Centre Increasing Functional Safety and Dependability expertise Sideline in autonomous robotics Ffi. Safe vision for autonomous robots Industry 4.0 -> piece guided robot arms

easyirt InES produced the industrial proof-of-concept for the fast variant of PROFINET IRT This resulted in easyirt, a VHDL communication controller for IRT and RT The IP has been implemented on FPGA s from Altera, Actel and Xilinx. Licensed in partnership with Enclustra Close cooperation with

easyirt easyirt graduated from proof-of-concept for sub 250 us PROFINET to «standard» IRT down to PROFINET RT Much work recently done on PROFINET RT

Important Question Can I implement PROFINET on a standard microcontroller? maybe, maybe not Largely the last 10 years has been spent discovering what can be achieved with how much effort apart from actually implementing the protocols

RT or IRT or IRT+ Two main parts of PROFINET PROFINET RT Cycle times down to ~1 ms unsynchronised PROFINET IRT Cycle times <= 250 us, > 250 us, synchronisation precision 1 us Difficult to achieve with a microcontroller 100MHz. NIOS II running ecos (POWERLINK) 75Mhz. ARM @1 ms cycle time -> Required SoC frame transmission every 1ms Interrupt at ca. 950 us and polled for timer == 1ms +- 500 ns jitter Dedicated layer 2 processor

PROFINET RT on a uc? Issue Nr 1 Size of Stack In Contrast: EtherNet/IP Siemens (source code) Molex Stack (source code) Supports all features > 1 Mbyte binaries Low(er) licensing costs Molex (Source Code) Supports only 1 AR ~500 kbyte binary 75 MHz ColdFire 32 kb SRAM 256 MB FLASH utasker OS 2 ms cycle time 1 ms is the critical cycle time

PROFINET RT on a uc? Issue Nr 2 Processor Load Cyclone IV SoC 666 MHz. ARM @16 ms cycle time 34% idle used by RT @32 ms cycle time @1 ms cycle time 18% idle caused by RT

PROFINET RT on a uc? Issue Nr 3 Timing Capabilities Cyclone II NIOS II @ 100MHz.

PROFINET RT on a uc? Ramifications Issues Nr 2 & 3 Nr 1: Hardware Acceleration Reduce the SW load for routine I/O Tx/Rx Cycle times < 1ms Tightening of Tx profile

PROFINET RT on a uc? Ramifications Issues Nr 2 & 3 Nr 2: Business Case for Communication Module, ASIC and Intellectual Property (IP) solutions. ASIC / Programmable Fabric ERTEC NetX Tiger Sitara easyirt Device Firmware RT/IRT ASIC / Module / Programmable Fabric anybus unigate

PROFINET RT on a uc? Ramifications Issues Nr 2 & 3 Nr 3: Too much focus on RT optimisation Most PROFINET offerings don t offer good NRT traffic capabilities

PROFINET RT on a uc? Ramifications Issues Nr 2 & 3 Nr 3: Too much focus on RT optimisation Problem is that RT handling has priority Zynq Processing System (PS) CPU 0 PN Stack Driver CPU 1 NRT user applicatio n Driver Motivated a shift towards IP solutions PN traffic buffer Shared Memory NRT traffic buffer P1 Intelligent traffic filter with switching unit P2

PROFINET RT on a uc? Ramifications Issues Nr 2 & 3 Nr 4: Too much focus on performance RT -> What about PROFINET PA Reduce the SW load for NRT Cycle times > 16 ms Processors < 50 MHz

PROFINET RT on a uc? Issue Nr 4 Operating System and 3rd Party Software PROFINET needs RPC / UDP / IP Class B/C requires SNMP (UDP / IP and sockets) ecos / Linux Quality of port to platform always an issue Stacks f.i. Molex has ist own scheduler, RPC / UDP / IP but not SNMP Either use an OS with associated IP stack or build your own system

PROFINET RT on a uc? Issue Nr 5 Netload Standard architectures smothered by interrupts Need an appropriate buffer system Faults in 3rd party SW Excarbarated by connection-happy technicians

PROFINET RT on a uc? Issue Nr 6 Line Topologies Industrial Switches are Expensive Long line topologies and store-and-forward switches cause system timeouts Need cut-through switching of ca. 2-3 us Architecture needs to be considered

PROFINET IRT ASIC or IP Necessary due to customised Layer 2 All the previously discussed issues also apply Application and communication are synchronised using PTCP

PROFINET IRT Tight synchronisation comes at a price the PHY Rx delay == constant + (n*8), n = [1..4]

PROFINET IRT Tight synchronisation comes at a price clock domains Clocking Tx with the same clock as the switch doesn t hurt either

PROFINET IRT Sense that the communication industry is changing No longer always feasible to buy a finished solution Raises the question as to how much comms know-how is required to produce a reliable application Re-evaluation of application architecture Small shift towards FPGA solutions because its possible to offload application into FPGA

Conclusion PROFINET RT and IRT Business case for piece rates < 1000 Business case 1 for ASIC s / Programmable Fabric (microcode FPGA) Devices with small applications Business case 2 for ASIC s / Programmable Fabric Devices with enough real-estate and insensitive to additional chip costs Business case 1 for FPGA Devices where hardware offloading can increase application performance Business case 2 for FPGA Devices where design-in NRE costs can be recouped over a period of 2-4 years Business case 3 for FPGA Devices where high NRT bandwidth required

Questions? Your questions are so good! I don t want to spoil them with my answers.