Fieldbus & Industrial Networking


EtherCAT - an overview

March 2008 Fieldbus & Industrial Networking

Principle of operation


There are many different approaches that try to provide realtime capability for Ethernet: For example, the CSMA/CD access procedure is disabled via higher level protocol layers and replaced by time slicing or polling. Other propositions use special switches that distribute Ethernet telegrams in a precisely controlled timely manner. While these solutions are able to transport data packets more or less quickly and accurately to the connected Ethernet node, bandwidth utilisation is very poor, particularly for typical automation devices, since even for very small data quantities a complete Ethernet frame has to be sent. Moreover, the times required for the redirection to the outputs or drive controllers and for reading the input data strongly depend on the implementation. A sub-bus is usually also required, particularly in modular I/O systems, which, like the Beckhoff K-bus, may be synchronised and fast, but nevertheless always adds small delays to the communication that cannot be avoided.

With EtherCAT technology, Beckhoff overcomes these system limitations of other Ethernet solutions: the process no longer involves consecutive steps for receiving and interpreting telegrams and copying the process data. In each device (down to the I/O terminals) the EtherCAT Slave Controller reads the data relevant for the device while the frame passes through it. Similarly, input data is inserted into the data stream on the fly. While the frames (delayed by only a few bits) are already passed on, the slave recognises relevant commands and executes them accordingly. The process is hardware-implemented in the slave controller and is therefore independent of the protocol stack software run-times or the processor power. The last EtherCAT slave in the segment returns the fully processed telegram, so that it is returned by the first slave to the master as a kind of response telegram.

From an Ethernet point of view, an EtherCAT bus segment is simply a single large Ethernet device that receives and sends Ethernet frames. However, the device does not contain a single Ethernet controller with downstream microprocessor, but a large number of EtherCAT slaves. Like for any other Ethernet device, direct communication may be established without a switch, thereby creating a pure EtherCAT system.

Ethernet up to the terminal

The Ethernet protocol remains intact right down to the individual devices, ie, down to the individual I/O terminals; no sub-bus is required. Only the transfer physics is converted in the coupler from twisted pair (100BASE-TX) to E-bus, in order to meet the requirements of the electronic terminal block. The E-bus signal type (LVDS) within the terminal block is not proprietary, it is also used for 10 Gbit Ethernet. At the end of the terminal block, the physical bus characteristics are converted back to the 100BASE-TX standard.

Standard Ethernet MACs or inexpensive standard network interface cards (NIC) are sufficient as hardware in the controller. DMA (direct memory access) is used for data transfer to the PC. This means that network access has no effect on CPU performance. The same principle is also used in the Beckhoff multiport cards, which bundle up to four Ethernet channels on one PCI slot.

Protocol

The EtherCAT protocol is optimised for process data and is either transported directly in the Ethernet frame or packed into UDP/IP datagrams. The UDP version is used in situations where EtherCAT segments in other subnets are addressed via routers. Ethernet frames may contain several EtherCAT telegrams, with each telegram serving a particular memory area of the logical process image with an addressable size of up to 4 GB. The data sequence is independent of the physical order of the terminals in the network, addressing can be in any order. Broadcast, multicast and communication between slaves are possible.

The protocol can also handle parameter communication, which typically is a-cyclical. The structure and meaning of the parameters is specified via CANopen device profiles, which are available for a wide range of device classes and applications. EtherCAT also supports the servo profile according to IEC 61491. Under the name of SERCOSTM this profile is recognised and popular for motion control applications worldwide.

Protocol processing completely in hardware
Protocol processing completely in hardware

In addition to data exchange according to the master/slave principle, the system is also very suitable for communication between controllers (master/master). Freely addressable network variables for process data and a variety of services for parameterisation, diagnosis, programming and remote control cover a wide range of requirements. The data interfaces for master/slave and master/master communication are identical.

Performance

EtherCAT reaches new dimensions in network performance. The update time for the data from 1000 distributed inputs/outputs is only 30 μs - including terminal cycle time. Up to 1486 bytes of process data can be exchanged with a single Ethernet frame - this is equivalent to almost 12 000 digital inputs and outputs. The transfer of this data quantity only takes 300 μs.

The communication with 100 servo axes only takes 100 ms. With this cycle time, all axes are provided with set values and control data and report their actual position and status. The distributed clock technique enables the axes to be synchronised with a jitter of significantly less than 1 ms.

Fieldbus devices are integrated via decentralised terminals
Fieldbus devices are integrated via decentralised terminals

The extremely high performance of the technology enables control concepts that could not be realised with classic fieldbus systems. Very fast control loops can thus also be closed via the bus. Functions that previously required dedicated local hardware support can now be mapped in software. The wide bandwidth enables status information to be transferred with each data item. With EtherCAT, a communication technology is available that matches the superior computing capacity of modern industrial PCs. The bus system is no longer the bottleneck of the control concept. Distributed I/Os are recorded faster than is possible with most local I/O interfaces.

The benefits of this network performance also become apparent in smaller controllers with comparatively moderate computing capacity. The EtherCAT cycle is so fast that it can be executed between two control cycles. The controller thus always has the latest input data available; the outputs are addressed with minimum delay. The response behaviour of the controller is improved significantly without increasing the computing capacity itself.

The EtherCAT technology principle is scalable and not bound to the baud rate of 100 Mbaud - extension to Gbit Ethernet is possible.

The advantages

With increasing miniaturisation of the PC components, the physical size of Industrial PCs is increasingly determined by the number of required slots. The bandwidth of Fast Ethernet, together with the data width of the EtherCAT communication hardware (EtherCAT Slave Controller) opens up new opportunities: Interfaces that are conventionally located in the IPC are transferred to intelligent interface terminals at the EtherCAT system. Apart from the decentralised I/Os, axes and control units, complex systems such as fieldbus masters, fast serial interfaces, gateways and other communication interfaces can be addressed via a single Ethernet port in the PC. Even further Ethernet devices without restriction on protocol variants can be connected via decentralised switch port terminals. The central IPC becomes smaller and therefore more cost-effective, one Ethernet interface is sufficient for the complete communication with the periphery.

Telegram processing completely in hardware
Telegram processing completely in hardware



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Introduction to Part 2 loop signatures and process transfer functions
Fieldbus & Industrial Networking
The previous series of loop signature articles dealt with the basics of control loop optimisation, and concentrated on troubleshooting and ‘SWAG’ tuning of simple processes. In this new series, consideration will be given to dealing practically with more difficult issues like interactive processes, and with processes with much more complex dynamics.

Read more...
Siemens sets new standards in drive technology
Fieldbus & Industrial Networking
Siemens is setting new standards in industrial drive technology with the launch of its new high-performance drive system, Sinamics S220. This offers a seamless and innovative drive system with comprehensive simulation and analysis capabilities and advanced connectivity features that enable full integration into digital work processes.

Read more...
PC-based control in the plastics industry
Beckhoff Automation Fieldbus & Industrial Networking
Nissei Plastic, an injection moulding machine manufacturer based in Japan is implementing a worldwide tend towards open automation systems from experienced specialists using PC and EtherCAT-based control technology from Beckhoff.

Read more...
Loop Signature 31: Non-linearity in control loops (Part 2)
Michael Brown Control Engineering Fieldbus & Industrial Networking
This article is a continuation of Loop Signature 30 published in the last issue in this series, exploring reasons for non-linearities which may be encountered in feedback control loops

Read more...
PC-based control for flat wire motors for electric vehicles
Beckhoff Automation Editor's Choice Motion Control & Drives
Special machine manufacturer, ruhlamat Huarui Automation Technologies has unveiled the second generation of its mass production line for flexible stators with bar winding (pins). This enables an extremely short production cycle and line changeover times, supported by PC- and EtherCAT-based control technology from Beckhoff.

Read more...
PC-based control optimises robotic parts handling on plastics machinery
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
NEO is a cartesian robot developed by INAUTOM Robótica in Portugal for parts removal on plastics machinery. Its aim is to increase system productivity. NAUTOM Robótica has entered into a strategic partnership with Bresimar Automação to increase the working speed of the cartesian robots using advanced control and motion solutions from Beckhoff. The result is a comprehensive, future-proof automation solution for its entire family of cartesian robots.

Read more...
PC-based control for flat wire motors for electric vehicles
Beckhoff Automation Fieldbus & Industrial Networking
Special machine manufacturer, ruhlamat Huarui Automation Technologies unveiled the second generation of its mass production line for flexible stators with bar winding. This enables extremely short production cycle and line changeover times, supported by PC- and EtherCAT-based control technology from Beckhoff.

Read more...
Hans Beckhoff receives German Mechanical Engineering Award
Beckhoff Automation News
Hans Beckhoff has received the 2025 German Mechanical Engineering Award. This prestigious award honours entrepreneurs who have set standards in machine and system engineering, driven innovation, and taken on social responsibility.

Read more...
Intuitive CNC HMIs with simulation functionality
Beckhoff Automation SCADA/HMI
The TwinCAT 3 automation software from Beckhoff offers two new function libraries for CNC-specific user interfaces. These were used to create an advanced, intuitive HMI application specifically for CNC purposes and to simulate part machining using real-time data.

Read more...
Case History 200: The final case history – desuperheater control problem.
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
For this final article I have chosen to relate a problem that existed in a desuperheater temperature control on a boiler in a petrochemical refinery.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved