SlideShare a Scribd company logo
1 of 20
Download to read offline
Mao, Junjie
EtherCAT 101
Contents
• Purpose
• EtherCAT
• FSoE (Fail-Safe over EtherCAT)
• Summary
Purpose
• Assure real-time properties of EtherCAT workloads in VMs
• Explore options to enable EtherCAT in multiple VMs
• Possibly with different safety integrity level (SIL)
Ultimate Goals
Purpose
• Provide an overview of EtherCAT and FSoE technologies
• The concepts are the focus. Thus detailed frame structures are
not covered.
• Collect community real-world experience and insights
• Current uses
• Interesting uses with virtualization
Targets of This Presentation
EtherCAT at a first glance
• EtherCAT = Ethernet for Control Automation Technology
• A fieldbus technology widely adopted for industrial control,
suitable for hard and soft real-time requirements
• Belong to the functional safety communication profiles in IEC
61784 together with FSoE (Fail-Safe over EtherCAT)
• Specified by ETG (EtherCAT Technology Group)
• E.g. ETG.1000 for the definitions of fundamental protocols
• Standardized as IEC 61158 (for EtherCAT) and IEC 61784 (for
FSoE)
EtherCAT Functional Principle
Source of figure:
• EtherCAT Functional Principle (2D), https://www.youtube.com/watch?v=z2OagcHG-UU
• EtherCAT Device Protocol Poster, available at https://www.ethercat.org/en/downloads/downloads_A5E30997B5294BCCBC03D5C3B8B6790F.htm
• Only EtherCAT masters
can send new frames.
• The master receives a
response when all slaves
have processed the
frame.
Standard
Ethernet
ports
• EtherCAT slaves forward received
frames while processing them.
• Handling of frames only happen at
data link layer. Upper layers are
not involved.
EtherCAT frames
are divided into
datagrams that act
as containers of data
to or from the slaves.
Topology of EtherCAT Network
EtherCAT
master
EtherCAT
master
Other
Ethernet
device
Switch
EtherCAT
slave
EtherCAT
slave
EtherCAT
slave
EtherCAT
slave
EtherCAT
slave
EtherCAT
slave
EtherCAT
slave
EtherCAT
slave
EtherCAT
slave
EtherCAT segment
EtherCAT segment
Ethernet frames are forwarded
by MAC destination addresses
Ethernet frames are forwarded by links.
MAC addresses no longer matter.
Router
EtherCAT
master
EtherCAT frames are
embedded in UDP/IP packets
and routed at IP layer.
Processing of EtherCAT frames in slaves
1 32 4
ESC notifies μC upon
reading or writing its RAM
per EtherCAT datagrams.
μC sends requests to ESC
for reading or writing the
ESC RAM.
Source of figure:
• EtherCAT Device Protocol Poster, available at https://www.ethercat.org/en/downloads/downloads_A5E30997B5294BCCBC03D5C3B8B6790F.htm
Data Link Layer Services
• Read, write or exchange data from/to RAM of certain slaves
• Data exchange between masters and slaves only
• At most 2KB data per request
• See the followin pages for slave memory layouts and addressing
• Mailbox read or write
• Allow slave-to-slave communication
• Others
Summary
Width of physical address = 16
Source of figure:
• EtherCAT Device Protocol Poster, available at https://www.ethercat.org/en/downloads/downloads_A5E30997B5294BCCBC03D5C3B8B6790F.htm
FMMU
Data Link Layer Services
Addressing of Slaves
Device Address
31 0
Position
Addressing
Node
Addressing
Logical
Addressing
RAM address
16 15
Device Address
31 0
RAM address
16 15
• Each slave increments device address by 1
• The slave seeing a device address of 0 is the one
being addressed.
• The master configures the station addresses of
slaves on startup.
• The slave seeing a device address equal to its
station address is the one being addressed.
Logical Address
31 0
• Each slave has a few FMMU entries.
• An FMMU entry maps a logical address range
to a physical address range of the slave.
• The mapping is configured at bit granularity.
• Read/write permissions are configured at the
same time.
• The slaves with any part of a given logical address
range are being addresses.
LA
PA
Application Layer Services
• Based on mailbox services or process data provided by the data link layer
• PDI is vendor-specific. Examples include SPI, serial, parallel, I2C and USB.
• μC process data fed by ESC asynchronously
• Examples
• EoE: Ethernet over EtherCAT
• FoE: File access over EtherCAT
Source of figure:
• EtherCAT Device Protocol Poster, available at https://www.ethercat.org/en/downloads/downloads_A5E30997B5294BCCBC03D5C3B8B6790F.htm
EtherCAT Master Implementations
• IgH EtherCAT Master Stack(Intel optimized)
• Open source base
• Linux 4.x with RT feature supported
• Open Source in https://github.com/intel/xenomai-ethercat
• 250 us EtherCAT cycle time tested
• EtherCAT Stack performance verification with ARCN
• Workload isolation
• Passthrough network interface
FSoE at a first glance
• FSoE = Fail-Safe over EtherCAT
• A protocol enabling safety communication atop standard fieldbus (i.e.
EtherCAT)
• Based on the black channel approach
• Belong to the functional safety communication profiles in IEC 61784
• Specified by ETG (EtherCAT Technology Group)
• E.g. ETG.5100 for the definitions of the protocol
• Standardized as IEC 61784.
• Could be implemented on communication protocols other than EtherCAT[1].
Reference:
1. A. Morato et. al. The Fail Safe over EtherCAT (FSoE) protocol implemented on the IEEE 802.11 WLAN, ETFA’19, https://ieeexplore.ieee.org/document/8869503
System Example
Source of figure:
• Safety Over EtherCAT Overview, available at
https://www.ethercat.org/en/downloads/downloads_373FD149039045589368666C806FABCC.htm
White Channel vs. Black Channel
The entire channel comply with functional
safety standards.
Endpoint that
comply with
functional safety
standards.
Endpoint that
comply with
functional safety
standards.
Parts of the communication channel are not
designed to functional safety standards.
Endpoint that
comply with
functional safety
standards.
Endpoint that
comply with
functional safety
standards.
Protocols that detect communication failures.
White Channel Approach
Black Channel Approach
Runtime Interactions
FSoE Master FSoE Slave
FSoE Cycle
Start watchdog
Stop watchdog
Start watchdog
Start watchdog
Stop watchdog
Communication Errors and Mitigations
Source of table:
• Safety over EtherCAT Overview, available at
https://www.ethercat.org/en/downloads/downloads_373FD149039045589368666C806FABCC.htm
Summary
• EtherCAT master and slaves talk by standard Ethernet,
allowing advanced Ethernet technologies to be integrated
naturally (e.g. TSN)
• On slaves, EtherCAT frames are processed on the fly without
being handled synchronously by the micro-controller
• Multiple safety nodes exist in a system. Achieving safe states is
a collaboration of all such nodes, rather than the work of a
single node (esp. the master).
Advanced Topics about EtherCAT
• Archiecture of EtherCAT masters
• Time synchronization via distributed clock
• Integration of TSN (Time Sensitive Networking)
• Application layer protocols.
• … and more
Project ACRN EtherCAT 101

More Related Content

What's hot

Kubernetes Security Best Practices - With tips for the CKS exam
Kubernetes Security Best Practices - With tips for the CKS examKubernetes Security Best Practices - With tips for the CKS exam
Kubernetes Security Best Practices - With tips for the CKS examAhmed AbouZaid
 
Project ACRN hypervisor introduction
Project ACRN hypervisor introduction Project ACRN hypervisor introduction
Project ACRN hypervisor introduction Project ACRN
 
The Unintended Risks of Trusting Active Directory
The Unintended Risks of Trusting Active DirectoryThe Unintended Risks of Trusting Active Directory
The Unintended Risks of Trusting Active DirectoryWill Schroeder
 
Container security
Container securityContainer security
Container securityAnthony Chow
 
Disk Performance Comparison Xen v.s. KVM
Disk Performance Comparison Xen v.s. KVMDisk Performance Comparison Xen v.s. KVM
Disk Performance Comparison Xen v.s. KVMnknytk
 
New Ways to Find Latency in Linux Using Tracing
New Ways to Find Latency in Linux Using TracingNew Ways to Find Latency in Linux Using Tracing
New Ways to Find Latency in Linux Using TracingScyllaDB
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsThe Linux Foundation
 
Staring into the eBPF Abyss
Staring into the eBPF AbyssStaring into the eBPF Abyss
Staring into the eBPF AbyssSasha Goldshtein
 
Introduction to Linux Privilege Escalation Methods
Introduction to Linux Privilege Escalation MethodsIntroduction to Linux Privilege Escalation Methods
Introduction to Linux Privilege Escalation MethodsBishop Fox
 
Userfaultfd: Current Features, Limitations and Future Development
Userfaultfd: Current Features, Limitations and Future DevelopmentUserfaultfd: Current Features, Limitations and Future Development
Userfaultfd: Current Features, Limitations and Future DevelopmentKernel TLV
 
Docker Security Overview
Docker Security OverviewDocker Security Overview
Docker Security OverviewSreenivas Makam
 
LISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceLISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceBrendan Gregg
 
FreeIPA - Attacking the Active Directory of Linux
FreeIPA - Attacking the Active Directory of LinuxFreeIPA - Attacking the Active Directory of Linux
FreeIPA - Attacking the Active Directory of LinuxJulian Catrambone
 
HashiCorp Vault Workshop:幫 Credentials 找個窩
HashiCorp Vault Workshop:幫 Credentials 找個窩HashiCorp Vault Workshop:幫 Credentials 找個窩
HashiCorp Vault Workshop:幫 Credentials 找個窩smalltown
 
Meet cute-between-ebpf-and-tracing
Meet cute-between-ebpf-and-tracingMeet cute-between-ebpf-and-tracing
Meet cute-between-ebpf-and-tracingViller Hsiao
 
Linux kernel tracing
Linux kernel tracingLinux kernel tracing
Linux kernel tracingViller Hsiao
 
OSNoise Tracer: Who Is Stealing My CPU Time?
OSNoise Tracer: Who Is Stealing My CPU Time?OSNoise Tracer: Who Is Stealing My CPU Time?
OSNoise Tracer: Who Is Stealing My CPU Time?ScyllaDB
 

What's hot (20)

Kubernetes Security Best Practices - With tips for the CKS exam
Kubernetes Security Best Practices - With tips for the CKS examKubernetes Security Best Practices - With tips for the CKS exam
Kubernetes Security Best Practices - With tips for the CKS exam
 
Project ACRN hypervisor introduction
Project ACRN hypervisor introduction Project ACRN hypervisor introduction
Project ACRN hypervisor introduction
 
The Unintended Risks of Trusting Active Directory
The Unintended Risks of Trusting Active DirectoryThe Unintended Risks of Trusting Active Directory
The Unintended Risks of Trusting Active Directory
 
Container security
Container securityContainer security
Container security
 
Disk Performance Comparison Xen v.s. KVM
Disk Performance Comparison Xen v.s. KVMDisk Performance Comparison Xen v.s. KVM
Disk Performance Comparison Xen v.s. KVM
 
New Ways to Find Latency in Linux Using Tracing
New Ways to Find Latency in Linux Using TracingNew Ways to Find Latency in Linux Using Tracing
New Ways to Find Latency in Linux Using Tracing
 
Podman rootless containers
Podman rootless containersPodman rootless containers
Podman rootless containers
 
淺談探索 Linux 系統設計之道
淺談探索 Linux 系統設計之道 淺談探索 Linux 系統設計之道
淺談探索 Linux 系統設計之道
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
 
Staring into the eBPF Abyss
Staring into the eBPF AbyssStaring into the eBPF Abyss
Staring into the eBPF Abyss
 
Introduction to Linux Privilege Escalation Methods
Introduction to Linux Privilege Escalation MethodsIntroduction to Linux Privilege Escalation Methods
Introduction to Linux Privilege Escalation Methods
 
Userfaultfd: Current Features, Limitations and Future Development
Userfaultfd: Current Features, Limitations and Future DevelopmentUserfaultfd: Current Features, Limitations and Future Development
Userfaultfd: Current Features, Limitations and Future Development
 
Docker Security Overview
Docker Security OverviewDocker Security Overview
Docker Security Overview
 
LISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceLISA2019 Linux Systems Performance
LISA2019 Linux Systems Performance
 
FreeIPA - Attacking the Active Directory of Linux
FreeIPA - Attacking the Active Directory of LinuxFreeIPA - Attacking the Active Directory of Linux
FreeIPA - Attacking the Active Directory of Linux
 
HashiCorp Vault Workshop:幫 Credentials 找個窩
HashiCorp Vault Workshop:幫 Credentials 找個窩HashiCorp Vault Workshop:幫 Credentials 找個窩
HashiCorp Vault Workshop:幫 Credentials 找個窩
 
Meet cute-between-ebpf-and-tracing
Meet cute-between-ebpf-and-tracingMeet cute-between-ebpf-and-tracing
Meet cute-between-ebpf-and-tracing
 
Intro docker
Intro dockerIntro docker
Intro docker
 
Linux kernel tracing
Linux kernel tracingLinux kernel tracing
Linux kernel tracing
 
OSNoise Tracer: Who Is Stealing My CPU Time?
OSNoise Tracer: Who Is Stealing My CPU Time?OSNoise Tracer: Who Is Stealing My CPU Time?
OSNoise Tracer: Who Is Stealing My CPU Time?
 

Similar to Project ACRN EtherCAT 101

Industrial wired network
Industrial wired networkIndustrial wired network
Industrial wired networkssuser37e1ef
 
EtherCAT as a Master Machine Control Tool
EtherCAT as a Master Machine Control ToolEtherCAT as a Master Machine Control Tool
EtherCAT as a Master Machine Control ToolDesign World
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final projectssuser37e1ef
 
EtherCAT as a Master Machine Control Tool Galil Webinar
EtherCAT as a Master Machine Control Tool Galil WebinarEtherCAT as a Master Machine Control Tool Galil Webinar
EtherCAT as a Master Machine Control Tool Galil WebinarElectromate
 
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016Electromate
 
Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksAccurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksDesign World
 
'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil Webinar'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil WebinarElectromate
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final projectssuser37e1ef
 
ASIX AX58400 EtherCAT to IO-Link Gateway Solution Introduction
ASIX AX58400 EtherCAT to IO-Link Gateway Solution IntroductionASIX AX58400 EtherCAT to IO-Link Gateway Solution Introduction
ASIX AX58400 EtherCAT to IO-Link Gateway Solution IntroductionASIX Electronics Corporation
 
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...MEN Mikro Elektronik GmbH
 
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...MEN Micro
 
Multi-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMCMulti-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMCElmo Motion Control
 
An3906 serial to eth freescale
An3906   serial to eth freescaleAn3906   serial to eth freescale
An3906 serial to eth freescaleFernando
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final projectssuser37e1ef
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final projectssuser37e1ef
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final projectssuser37e1ef
 
JVL Industrial Ethernet Expansion Modules for MAC Motors
JVL Industrial Ethernet Expansion Modules for MAC MotorsJVL Industrial Ethernet Expansion Modules for MAC Motors
JVL Industrial Ethernet Expansion Modules for MAC MotorsElectromate
 

Similar to Project ACRN EtherCAT 101 (20)

Industrial wired network
Industrial wired networkIndustrial wired network
Industrial wired network
 
EtherCAT as a Master Machine Control Tool
EtherCAT as a Master Machine Control ToolEtherCAT as a Master Machine Control Tool
EtherCAT as a Master Machine Control Tool
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final project
 
EtherCAT as a Master Machine Control Tool Galil Webinar
EtherCAT as a Master Machine Control Tool Galil WebinarEtherCAT as a Master Machine Control Tool Galil Webinar
EtherCAT as a Master Machine Control Tool Galil Webinar
 
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
 
Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksAccurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
 
'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil Webinar'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil Webinar
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final project
 
ASIX AX58400 EtherCAT to IO-Link Gateway Solution Introduction
ASIX AX58400 EtherCAT to IO-Link Gateway Solution IntroductionASIX AX58400 EtherCAT to IO-Link Gateway Solution Introduction
ASIX AX58400 EtherCAT to IO-Link Gateway Solution Introduction
 
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
 
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
4 Things to Know about Real-Time Ethernet Communication of Safe Train Control...
 
Multi-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMCMulti-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMC
 
An3906 serial to eth freescale
An3906   serial to eth freescaleAn3906   serial to eth freescale
An3906 serial to eth freescale
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final project
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final project
 
Pub00138 r2 cip_adv_tech_series_ethernetip
Pub00138 r2 cip_adv_tech_series_ethernetipPub00138 r2 cip_adv_tech_series_ethernetip
Pub00138 r2 cip_adv_tech_series_ethernetip
 
Pub00138 r2 cip_adv_tech_series_ethernetip
Pub00138 r2 cip_adv_tech_series_ethernetipPub00138 r2 cip_adv_tech_series_ethernetip
Pub00138 r2 cip_adv_tech_series_ethernetip
 
Proposal for final project
Proposal for final projectProposal for final project
Proposal for final project
 
Cisco CCNA module 6
Cisco CCNA module 6Cisco CCNA module 6
Cisco CCNA module 6
 
JVL Industrial Ethernet Expansion Modules for MAC Motors
JVL Industrial Ethernet Expansion Modules for MAC MotorsJVL Industrial Ethernet Expansion Modules for MAC Motors
JVL Industrial Ethernet Expansion Modules for MAC Motors
 

More from Project ACRN

ACRN vMeet-Up EU 2021 - installation and configuration introduction
ACRN vMeet-Up EU 2021 - installation and configuration introductionACRN vMeet-Up EU 2021 - installation and configuration introduction
ACRN vMeet-Up EU 2021 - installation and configuration introductionProject ACRN
 
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...Project ACRN
 
ACRN vMeet-Up EU 2021 - Boot Process and Secure Boot
ACRN vMeet-Up EU 2021 - Boot Process and Secure BootACRN vMeet-Up EU 2021 - Boot Process and Secure Boot
ACRN vMeet-Up EU 2021 - Boot Process and Secure BootProject ACRN
 
ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorProject ACRN
 
ACRN vMeet-Up EU 2021 - functional safety design and certification plan
ACRN vMeet-Up EU 2021 -  functional safety design and certification planACRN vMeet-Up EU 2021 -  functional safety design and certification plan
ACRN vMeet-Up EU 2021 - functional safety design and certification planProject ACRN
 
ACRN vMeet-Up EU 2021 - community and development model
ACRN vMeet-Up EU 2021 - community and development modelACRN vMeet-Up EU 2021 - community and development model
ACRN vMeet-Up EU 2021 - community and development modelProject ACRN
 
ACRN vMeet-Up EU 2021 - hypervisor new platform enabling
ACRN vMeet-Up EU 2021 - hypervisor new platform enablingACRN vMeet-Up EU 2021 - hypervisor new platform enabling
ACRN vMeet-Up EU 2021 - hypervisor new platform enablingProject ACRN
 
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introductionACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introductionProject ACRN
 
ACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
ACRN vMeet-Up EU 2021 - Real Time Management and Performance OptimizationACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
ACRN vMeet-Up EU 2021 - Real Time Management and Performance OptimizationProject ACRN
 
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look Forward
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look ForwardACRN vMeet-Up EU 2021 - Introduction and Architecture Look Forward
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look ForwardProject ACRN
 
Project ACRN Yocto Project meta-acrn layer introduction
Project ACRN Yocto Project meta-acrn layer introductionProject ACRN Yocto Project meta-acrn layer introduction
Project ACRN Yocto Project meta-acrn layer introductionProject ACRN
 
Project ACRN USB mediator introduction
Project ACRN USB mediator introductionProject ACRN USB mediator introduction
Project ACRN USB mediator introductionProject ACRN
 
Project ACRN I2C mediator introduction
Project ACRN I2C mediator introductionProject ACRN I2C mediator introduction
Project ACRN I2C mediator introductionProject ACRN
 
Project ACRN system debug
Project ACRN system debugProject ACRN system debug
Project ACRN system debugProject ACRN
 
Project ACRN SR-IOV on ACRN
Project ACRN SR-IOV on ACRNProject ACRN SR-IOV on ACRN
Project ACRN SR-IOV on ACRNProject ACRN
 
Project ACRN configuration scenarios and config tool
Project ACRN configuration scenarios and config toolProject ACRN configuration scenarios and config tool
Project ACRN configuration scenarios and config toolProject ACRN
 
Project ACRN CPU sharing BVT scheduler in ACRN hypervisor
Project ACRN CPU sharing BVT scheduler in ACRN hypervisorProject ACRN CPU sharing BVT scheduler in ACRN hypervisor
Project ACRN CPU sharing BVT scheduler in ACRN hypervisorProject ACRN
 
Project ACRN how to build a Yocto Project-based SOS
Project ACRN how to build a Yocto Project-based SOSProject ACRN how to build a Yocto Project-based SOS
Project ACRN how to build a Yocto Project-based SOSProject ACRN
 
Project ACRN expose and pass through platform hidden PCIe devices to SOS
Project ACRN expose and pass through platform hidden PCIe devices to SOSProject ACRN expose and pass through platform hidden PCIe devices to SOS
Project ACRN expose and pass through platform hidden PCIe devices to SOSProject ACRN
 
Project ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN
 

More from Project ACRN (20)

ACRN vMeet-Up EU 2021 - installation and configuration introduction
ACRN vMeet-Up EU 2021 - installation and configuration introductionACRN vMeet-Up EU 2021 - installation and configuration introduction
ACRN vMeet-Up EU 2021 - installation and configuration introduction
 
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
 
ACRN vMeet-Up EU 2021 - Boot Process and Secure Boot
ACRN vMeet-Up EU 2021 - Boot Process and Secure BootACRN vMeet-Up EU 2021 - Boot Process and Secure Boot
ACRN vMeet-Up EU 2021 - Boot Process and Secure Boot
 
ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
 
ACRN vMeet-Up EU 2021 - functional safety design and certification plan
ACRN vMeet-Up EU 2021 -  functional safety design and certification planACRN vMeet-Up EU 2021 -  functional safety design and certification plan
ACRN vMeet-Up EU 2021 - functional safety design and certification plan
 
ACRN vMeet-Up EU 2021 - community and development model
ACRN vMeet-Up EU 2021 - community and development modelACRN vMeet-Up EU 2021 - community and development model
ACRN vMeet-Up EU 2021 - community and development model
 
ACRN vMeet-Up EU 2021 - hypervisor new platform enabling
ACRN vMeet-Up EU 2021 - hypervisor new platform enablingACRN vMeet-Up EU 2021 - hypervisor new platform enabling
ACRN vMeet-Up EU 2021 - hypervisor new platform enabling
 
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introductionACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
 
ACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
ACRN vMeet-Up EU 2021 - Real Time Management and Performance OptimizationACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
ACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
 
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look Forward
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look ForwardACRN vMeet-Up EU 2021 - Introduction and Architecture Look Forward
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look Forward
 
Project ACRN Yocto Project meta-acrn layer introduction
Project ACRN Yocto Project meta-acrn layer introductionProject ACRN Yocto Project meta-acrn layer introduction
Project ACRN Yocto Project meta-acrn layer introduction
 
Project ACRN USB mediator introduction
Project ACRN USB mediator introductionProject ACRN USB mediator introduction
Project ACRN USB mediator introduction
 
Project ACRN I2C mediator introduction
Project ACRN I2C mediator introductionProject ACRN I2C mediator introduction
Project ACRN I2C mediator introduction
 
Project ACRN system debug
Project ACRN system debugProject ACRN system debug
Project ACRN system debug
 
Project ACRN SR-IOV on ACRN
Project ACRN SR-IOV on ACRNProject ACRN SR-IOV on ACRN
Project ACRN SR-IOV on ACRN
 
Project ACRN configuration scenarios and config tool
Project ACRN configuration scenarios and config toolProject ACRN configuration scenarios and config tool
Project ACRN configuration scenarios and config tool
 
Project ACRN CPU sharing BVT scheduler in ACRN hypervisor
Project ACRN CPU sharing BVT scheduler in ACRN hypervisorProject ACRN CPU sharing BVT scheduler in ACRN hypervisor
Project ACRN CPU sharing BVT scheduler in ACRN hypervisor
 
Project ACRN how to build a Yocto Project-based SOS
Project ACRN how to build a Yocto Project-based SOSProject ACRN how to build a Yocto Project-based SOS
Project ACRN how to build a Yocto Project-based SOS
 
Project ACRN expose and pass through platform hidden PCIe devices to SOS
Project ACRN expose and pass through platform hidden PCIe devices to SOSProject ACRN expose and pass through platform hidden PCIe devices to SOS
Project ACRN expose and pass through platform hidden PCIe devices to SOS
 
Project ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorial
 

Recently uploaded

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 

Recently uploaded (20)

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 

Project ACRN EtherCAT 101

  • 2. Contents • Purpose • EtherCAT • FSoE (Fail-Safe over EtherCAT) • Summary
  • 3. Purpose • Assure real-time properties of EtherCAT workloads in VMs • Explore options to enable EtherCAT in multiple VMs • Possibly with different safety integrity level (SIL) Ultimate Goals
  • 4. Purpose • Provide an overview of EtherCAT and FSoE technologies • The concepts are the focus. Thus detailed frame structures are not covered. • Collect community real-world experience and insights • Current uses • Interesting uses with virtualization Targets of This Presentation
  • 5. EtherCAT at a first glance • EtherCAT = Ethernet for Control Automation Technology • A fieldbus technology widely adopted for industrial control, suitable for hard and soft real-time requirements • Belong to the functional safety communication profiles in IEC 61784 together with FSoE (Fail-Safe over EtherCAT) • Specified by ETG (EtherCAT Technology Group) • E.g. ETG.1000 for the definitions of fundamental protocols • Standardized as IEC 61158 (for EtherCAT) and IEC 61784 (for FSoE)
  • 6. EtherCAT Functional Principle Source of figure: • EtherCAT Functional Principle (2D), https://www.youtube.com/watch?v=z2OagcHG-UU • EtherCAT Device Protocol Poster, available at https://www.ethercat.org/en/downloads/downloads_A5E30997B5294BCCBC03D5C3B8B6790F.htm • Only EtherCAT masters can send new frames. • The master receives a response when all slaves have processed the frame. Standard Ethernet ports • EtherCAT slaves forward received frames while processing them. • Handling of frames only happen at data link layer. Upper layers are not involved. EtherCAT frames are divided into datagrams that act as containers of data to or from the slaves.
  • 7. Topology of EtherCAT Network EtherCAT master EtherCAT master Other Ethernet device Switch EtherCAT slave EtherCAT slave EtherCAT slave EtherCAT slave EtherCAT slave EtherCAT slave EtherCAT slave EtherCAT slave EtherCAT slave EtherCAT segment EtherCAT segment Ethernet frames are forwarded by MAC destination addresses Ethernet frames are forwarded by links. MAC addresses no longer matter. Router EtherCAT master EtherCAT frames are embedded in UDP/IP packets and routed at IP layer.
  • 8. Processing of EtherCAT frames in slaves 1 32 4 ESC notifies μC upon reading or writing its RAM per EtherCAT datagrams. μC sends requests to ESC for reading or writing the ESC RAM. Source of figure: • EtherCAT Device Protocol Poster, available at https://www.ethercat.org/en/downloads/downloads_A5E30997B5294BCCBC03D5C3B8B6790F.htm
  • 9. Data Link Layer Services • Read, write or exchange data from/to RAM of certain slaves • Data exchange between masters and slaves only • At most 2KB data per request • See the followin pages for slave memory layouts and addressing • Mailbox read or write • Allow slave-to-slave communication • Others Summary Width of physical address = 16 Source of figure: • EtherCAT Device Protocol Poster, available at https://www.ethercat.org/en/downloads/downloads_A5E30997B5294BCCBC03D5C3B8B6790F.htm
  • 10. FMMU Data Link Layer Services Addressing of Slaves Device Address 31 0 Position Addressing Node Addressing Logical Addressing RAM address 16 15 Device Address 31 0 RAM address 16 15 • Each slave increments device address by 1 • The slave seeing a device address of 0 is the one being addressed. • The master configures the station addresses of slaves on startup. • The slave seeing a device address equal to its station address is the one being addressed. Logical Address 31 0 • Each slave has a few FMMU entries. • An FMMU entry maps a logical address range to a physical address range of the slave. • The mapping is configured at bit granularity. • Read/write permissions are configured at the same time. • The slaves with any part of a given logical address range are being addresses. LA PA
  • 11. Application Layer Services • Based on mailbox services or process data provided by the data link layer • PDI is vendor-specific. Examples include SPI, serial, parallel, I2C and USB. • μC process data fed by ESC asynchronously • Examples • EoE: Ethernet over EtherCAT • FoE: File access over EtherCAT Source of figure: • EtherCAT Device Protocol Poster, available at https://www.ethercat.org/en/downloads/downloads_A5E30997B5294BCCBC03D5C3B8B6790F.htm
  • 12. EtherCAT Master Implementations • IgH EtherCAT Master Stack(Intel optimized) • Open source base • Linux 4.x with RT feature supported • Open Source in https://github.com/intel/xenomai-ethercat • 250 us EtherCAT cycle time tested • EtherCAT Stack performance verification with ARCN • Workload isolation • Passthrough network interface
  • 13. FSoE at a first glance • FSoE = Fail-Safe over EtherCAT • A protocol enabling safety communication atop standard fieldbus (i.e. EtherCAT) • Based on the black channel approach • Belong to the functional safety communication profiles in IEC 61784 • Specified by ETG (EtherCAT Technology Group) • E.g. ETG.5100 for the definitions of the protocol • Standardized as IEC 61784. • Could be implemented on communication protocols other than EtherCAT[1]. Reference: 1. A. Morato et. al. The Fail Safe over EtherCAT (FSoE) protocol implemented on the IEEE 802.11 WLAN, ETFA’19, https://ieeexplore.ieee.org/document/8869503
  • 14. System Example Source of figure: • Safety Over EtherCAT Overview, available at https://www.ethercat.org/en/downloads/downloads_373FD149039045589368666C806FABCC.htm
  • 15. White Channel vs. Black Channel The entire channel comply with functional safety standards. Endpoint that comply with functional safety standards. Endpoint that comply with functional safety standards. Parts of the communication channel are not designed to functional safety standards. Endpoint that comply with functional safety standards. Endpoint that comply with functional safety standards. Protocols that detect communication failures. White Channel Approach Black Channel Approach
  • 16. Runtime Interactions FSoE Master FSoE Slave FSoE Cycle Start watchdog Stop watchdog Start watchdog Start watchdog Stop watchdog
  • 17. Communication Errors and Mitigations Source of table: • Safety over EtherCAT Overview, available at https://www.ethercat.org/en/downloads/downloads_373FD149039045589368666C806FABCC.htm
  • 18. Summary • EtherCAT master and slaves talk by standard Ethernet, allowing advanced Ethernet technologies to be integrated naturally (e.g. TSN) • On slaves, EtherCAT frames are processed on the fly without being handled synchronously by the micro-controller • Multiple safety nodes exist in a system. Achieving safe states is a collaboration of all such nodes, rather than the work of a single node (esp. the master).
  • 19. Advanced Topics about EtherCAT • Archiecture of EtherCAT masters • Time synchronization via distributed clock • Integration of TSN (Time Sensitive Networking) • Application layer protocols. • … and more