SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
Multi-Axis Position Control by
EtherCAT Real-time Networking
2
EtherCAT Applications Overview
The EtherCAT Control Approach
The EtherCAT Data Processing
Time Synchronization Requirements in Distributed
Systems
EtherCAT Distributed Clock Mechanism
Back to EtherCAT and Motion Control
Servo Drives , DS 402 Device Profiles and CoE
Practical Real Time Control Networks Inputs /
outputs synchronization Requirements
Summary
Lecture Topics
3
EtherCAT Applications Overview
Typical Applications
Renewable Energy
Manufacturing processes.
Over 300 servo- controled
movements, coordinated wit
h vision systems and I /O’s
Wafaer Handling Robots
XYZ Wafer inspection
systems.
Autonomues robots.
Militray applciations for turet
control and others ...
4
EtherCAT Applications Overview
5
EtherCAT Control Approach
Cyclic Control
Fixed Communication Cycle
Process data image is
updated every cycle
Process status is known to
the control task cyclically
process data compilation
does not need to be changed
 fast communication task
with low resource
requirements.
Stable and Fast synchronization handling
No interference between the real-time process data and the
background (mailbox) service.
Hot plug connection
6
EtherCAT Control Approach
What Type of Data is Shared on the Network ?
Usually, a control system needs to have, on a periodic time
intervals the following:
Inputs: Latched Sensors Data such as Positions, Velocities, Currents,
System Status, IO’s etc,
Outputs: Control Law commands, or Trajectory Information, or Higher
Drive Level Commands.
The specific nature of the data being transferred on the network
depends on the operation mode of the slave drive.
The terminology used for Drive Slaves operation is “Device
Profile”.
A common standard for Drive Device Profiles is the “DS-402”,
CANOpen Device Profile, and “CoE” – Can Over EtherCAT. More
on that , Later On …
7
EtherCAT Data Processing
On-The-Fly Processing
Process data is extracted and inserted on the fly
Process data size per slave practically unlimited
(1 Bit…60 Kbyte, if needed using several frames).
Practical systems use for the process data no more than
few dozen bytes per node per cycle.
Support Dispersing cycle data : short cycle times for high
demanding axes, and longer cycles for service axes and I/O
update is possible …
Slave Device
EtherCAT Slave
Controller
Slave Device
EtherCAT Slave
Controller
8
EtherCAT Data Processing
EtherCAT Data Frame Structure
9
EtherCAT Data Processing
EtherCAT Data Frame Structure
10
EtherCAT Data Processing
EtherCAT Frame
Processing
The Real Time EtherCAT
Frame processing is
done by the ESC :
EtherCAT Slave
Controller.
11
EtherCAT Distributed Clocks
Synchronization Requirements in Control
Centralized Motion Control Systems use single processor (one
servo loop interrupt) for controlling all axes.
Jitter between axes is minimal, and usually relates on h/w
latching of peripherals (FPGA etc). This is in the area of few
tens of Nano-seconds.
Distributed Control topology comprise of a remote master
and multiple slaves, each with its own processing unit,
synchronization and timings.
Modern Distributed Motion Control Systems mostly relay on
Ethernet based communication links.
Standard Ethernet rallies “too much” on SW, thus its not
deterministic enough for real time motion control tasks.
12
EtherCAT Distributed Clocks
Synchronization Requirements in Control
As an example, at 1 m/sec linear speed, 1 μSec shift in
position latch lock is equivalent to 1 μm.
The velocity calculations will be more severely affected.
Modern digital control systems, running at 20 kHz servo loop
rate or higher, latch a new position data every 50 μSec, and
calculate the speed based on the position difference at the
given time.
So in this case, 1 μSec jitter, is equivalent to 2% speed jitter
error, which is much more than usually allowed in high
performance systems.
High end motion control system, need synchronization level
between all slaves much better then 1 μSec !
SO, How this is done … ??
13
EtherCAT Distributed Clocks
Synchronization in a Distributed System
The task of synchronizing multiple clocks in a distributed system
is not uniquely specified for Motion Control, and is common for
many computer and network systems.
There are few methods to synchronize slave nodes over a
network. One common way is the IEEE 1588 precision time
protocol (PTP) (defined as early as 2002).
It is a technology for sharing clocks between distributed
systems.
IEEE 1588 provides a distributed time base used to timestamp
data with sub-microsecond precision.
The EtherCAT Distributed Clock (DC) uses the same concept of
distributed time base.
14
EtherCAT Distributed Clocks
Synchronization in a Distributed System
Offset Measurement …
15
EtherCAT Distributed Clocks
Synchronization in a Distributed System
Delay Measurement …
16
EtherCAT Distributed Clocks
Synchronization in a Distributed System
It actually works …
17
EtherCAT Distributed Clocks
Purpose of Distributed Clocks in EtherCAT
With the Distributed Clocks Mechanism (DC), Precise
Synchronization (<< 1 µs!) can be achieved between
slaves within a network, by exact adjustment of internal
node system time.
M
∆tIPC
S
Maste
r
S
S S S S
S
18
EtherCAT Distributed Clocks
Purpose of Distributed Clocks in EtherCAT
Synchronization of EtherCAT devices
Definition of a System Time
Beginning on January, 1st 2000 at 0:00h
Base unit is 1 ns
64 bit value (enough for more than 500 years)
Lower 32 bits spans over 4.2 seconds
Normally enough for communication and time stamping
Definition of a Reference Clock
One EtherCAT Slave will be used as a Reference Clock
Reference Clock distributes its Clock cyclically
Reference Clock adjustable from a “global” Reference Clock –
IEEE 1588
19
The EtherCAT Slave Controller
The ESC, EtherCAT Slave Controller is responsible for
all this …
EtherCAT Slave Controller (ESC)
FMMU n
SyncMan
EtherCAT Address Space
EtherCAT Processing Unit
and Auto-Forwarder with Loop Back
Port 0 Port 1 Port 2 Port 3
PHY
Mag
RJ45
PHY
Mag
RJ45
Distributed Clocks
SPI / µC parallel
Digital I/O Sync0 / Latch0
Sync1 / Latch1IRQ
Process Data Interface
(PDI)
Sync / Latch Unit
DC
Control
System Time
Offset
Delay
20
Back to the Motion Control …
So, we understand how data is
transferred, and synchronized,
but what that’s have to do with
the Motion Control System … ???
Remember the Drive Device
Profiles …
CANOpen / DS402 …
“CoE” – Can Over EtherCAT.
More on that , Now … !
21
Servo Drive Device Profile
The CANOpen DS402 and CoE
The CAN in AUTOMATION (CiA) Group, established the DS402
(“DS” stands for Draft Standard) for “Drives and Motion Control
Device Profile”.
The aim of this standard is to provide a common platform that
defines the general behavior, and operation modes that should
be supported by drive manufacturers, to enable as much as
possible, interoperability between masters and slaves within
motion control systems.
It was “born” for the “old” CAN technology, but is widely
adopted by the ETG and many drive manufacturers as well,
with the CoE … CAN Over EtherCAT.
22
DS402 Drive Device Profile
The CANOpen DS402 and CoE
The DS402 device profile defines several modes of
operation, including:
Profile position mode,
Homing modes
Interpolated position mode,
Profile velocity mode,
Profile torque mode,
velocity mode,
Cyclic synchronous position mode,
Cyclic synchronous velocity mode, and
Cyclic synchronous torque mode
23
DS402 Drive Device Profile
Cyclic Synchronous Position Mode
24
DS402 Drive Device Profile
Cyclic Synchronous Velocity Mode
25
DS402 Drive Device Profile
Cyclic Synchronous Torque Mode
26
Real Time Network Inputs/Outputs
So, the data we need to swap between the Master
Controller and our Drives, Depends on the “Device
Profile” and “Operation Mode” used. It is generally
comprised of:
Outputs (from the Master to the Drive): Device
Operation Mode Request (CW/OM), Target Position,
Target Velcoity, Target Torque, Various Offsets, etc.
Inputs (from the Drive to the Master): Actual Device
Operation Mode and status (SW), Actual Position, Actual
Velcoity, Actual Torque, etc.
These Data Objects, Periodic or Cyclic Data Objects, aka
“PDO’s” : Process Data Objects …
27
Real Time Network Inputs/Outputs
Process Data and EtherCAT Payloads …
Each PDO has an “Address entry” within the Device
“Object Dictionary”, and is part of the Data Payload
carried out over the EtherCAT Datagram Message …
28
Real Time Network Inputs/Outputs
Process Data Synchronization in EtherCAT
29
Real Time Network Inputs/Outputs
Practical Synchronization considerations …
Systems and drives working in the “relatively
simple” “Profile Position” or “Profile Velcoity”
Modes, actually no strict synchronization is
required.
System aiming in synchronizing multiple axes
Motion Trajectories, like pick-and-place
machines, 3D robots etc, will require high level
of synchronization, with cycle times in the area
of ~1 mili-sec.
The most demanding systems are the ones
requiring to close the servo loops over the
network. Highest level of synchronization and
cycle update rates are needed, typical ~100
μSec or less.
30
Summary
EtherCAT is spreading, in a much faster rate then any
other filed bus, and commonly adopted for variety of
applications, by many vendors …
The strength of EtherCAT synchronization techniques
allows it to be compatible with both low and high
demanding applications.
Combined with the correct implementation of both the
network protocol, and a proper device profile, a true
Distributed Motion control can now be achieved.
Multi-Axis Position Control by EtherCAT | ElmoMC

Más contenido relacionado

La actualidad más candente

IBM Health Center Details
IBM Health Center DetailsIBM Health Center Details
IBM Health Center Details
Rohit Kelapure
 
Audio in linux embedded
Audio in linux embeddedAudio in linux embedded
Audio in linux embedded
trx2001
 
Implementation of MAC-level sleep-scheduling
Implementation of MAC-level sleep-schedulingImplementation of MAC-level sleep-scheduling
Implementation of MAC-level sleep-scheduling
Olivier Cervello
 

La actualidad más candente (20)

An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)
An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)
An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)
 
IBM Health Center Details
IBM Health Center DetailsIBM Health Center Details
IBM Health Center Details
 
Microsoft Hyper-V
Microsoft Hyper-VMicrosoft Hyper-V
Microsoft Hyper-V
 
Spi drivers
Spi driversSpi drivers
Spi drivers
 
Whats new in MQ V9.1
Whats new in MQ V9.1Whats new in MQ V9.1
Whats new in MQ V9.1
 
Sensor node hardware and network architecture
Sensor node hardware and network architectureSensor node hardware and network architecture
Sensor node hardware and network architecture
 
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G coreTối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
 
Memory management in linux
Memory management in linuxMemory management in linux
Memory management in linux
 
Difference b/w STP RSTP PVST & MSTP
Difference b/w STP RSTP PVST & MSTPDifference b/w STP RSTP PVST & MSTP
Difference b/w STP RSTP PVST & MSTP
 
Introduction to Kernel and Device Drivers
Introduction to Kernel and Device DriversIntroduction to Kernel and Device Drivers
Introduction to Kernel and Device Drivers
 
Audio in linux embedded
Audio in linux embeddedAudio in linux embedded
Audio in linux embedded
 
Aix install via nim
Aix install via nimAix install via nim
Aix install via nim
 
SDN Presentation
SDN PresentationSDN Presentation
SDN Presentation
 
VRRP (virtual router redundancy protocol)
VRRP (virtual router redundancy protocol)VRRP (virtual router redundancy protocol)
VRRP (virtual router redundancy protocol)
 
Introduction to Hyper-V
Introduction to Hyper-VIntroduction to Hyper-V
Introduction to Hyper-V
 
HTTP Live Streaming
HTTP Live StreamingHTTP Live Streaming
HTTP Live Streaming
 
Implementation of MAC-level sleep-scheduling
Implementation of MAC-level sleep-schedulingImplementation of MAC-level sleep-scheduling
Implementation of MAC-level sleep-scheduling
 
44CON 2014 - I Hunt TR-069 Admins: Pwning ISPs Like a Boss, Shahar Tal
44CON 2014 - I Hunt TR-069 Admins: Pwning ISPs Like a Boss, Shahar Tal44CON 2014 - I Hunt TR-069 Admins: Pwning ISPs Like a Boss, Shahar Tal
44CON 2014 - I Hunt TR-069 Admins: Pwning ISPs Like a Boss, Shahar Tal
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
Snmp
SnmpSnmp
Snmp
 

Destacado

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
Electromate
 
Motion control application for wind turbine
Motion control application for wind turbineMotion control application for wind turbine
Motion control application for wind turbine
Elmo Motion Control
 
Aig 2011 building intelligent control systems using graphical system design...
Aig 2011   building intelligent control systems using graphical system design...Aig 2011   building intelligent control systems using graphical system design...
Aig 2011 building intelligent control systems using graphical system design...
Thorsten MAYER
 
'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
Electromate
 

Destacado (20)

Industrial Networks: the Choices for Real Time Motion Control
Industrial Networks: the Choices for Real Time Motion ControlIndustrial Networks: the Choices for Real Time Motion Control
Industrial Networks: the Choices for Real Time Motion Control
 
What is CANopen? | ElmoMC
What is CANopen? | ElmoMCWhat is CANopen? | ElmoMC
What is CANopen? | ElmoMC
 
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
 
Solution for Industrial Printing & Textile Machines | Elmo Motion Control
Solution for Industrial Printing & Textile Machines | Elmo Motion ControlSolution for Industrial Printing & Textile Machines | Elmo Motion Control
Solution for Industrial Printing & Textile Machines | Elmo Motion Control
 
Motion Controller for Any Application | ElmoMC
Motion Controller for Any Application | ElmoMC Motion Controller for Any Application | ElmoMC
Motion Controller for Any Application | ElmoMC
 
Elmo motion control- industrial products catalog
Elmo motion control- industrial products catalogElmo motion control- industrial products catalog
Elmo motion control- industrial products catalog
 
Motion control application for wind turbine
Motion control application for wind turbineMotion control application for wind turbine
Motion control application for wind turbine
 
Ethernet or EtherCAT for Motion Control: Choosing the Right Network for Your ...
Ethernet or EtherCAT for Motion Control: Choosing the Right Network for Your ...Ethernet or EtherCAT for Motion Control: Choosing the Right Network for Your ...
Ethernet or EtherCAT for Motion Control: Choosing the Right Network for Your ...
 
Web Performance - A Whistlestop Tour
Web Performance - A Whistlestop TourWeb Performance - A Whistlestop Tour
Web Performance - A Whistlestop Tour
 
Servo Drive for Top Performance | ElmoMC
Servo Drive for Top Performance | ElmoMC Servo Drive for Top Performance | ElmoMC
Servo Drive for Top Performance | ElmoMC
 
Aig 2011 building intelligent control systems using graphical system design...
Aig 2011   building intelligent control systems using graphical system design...Aig 2011   building intelligent control systems using graphical system design...
Aig 2011 building intelligent control systems using graphical system design...
 
'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
 
Get started with Lua - Hackference 2016
Get started with Lua - Hackference 2016Get started with Lua - Hackference 2016
Get started with Lua - Hackference 2016
 
Ether cat introduction_pt
Ether cat introduction_ptEther cat introduction_pt
Ether cat introduction_pt
 
Controller area network (can bus)
Controller area network (can bus)Controller area network (can bus)
Controller area network (can bus)
 
Downlight Types | Downlights.co.uk
Downlight Types  | Downlights.co.ukDownlight Types  | Downlights.co.uk
Downlight Types | Downlights.co.uk
 
CAN- controlled area network
CAN- controlled area networkCAN- controlled area network
CAN- controlled area network
 
Introduction to PROFINET - Derek Lane of Wago
Introduction to PROFINET -  Derek Lane of WagoIntroduction to PROFINET -  Derek Lane of Wago
Introduction to PROFINET - Derek Lane of Wago
 
Can bus
Can busCan bus
Can bus
 
Canbus
CanbusCanbus
Canbus
 

Similar a Multi-Axis Position Control by EtherCAT | ElmoMC

Deterministic Ethernet SAE AS6802
Deterministic Ethernet SAE AS6802Deterministic Ethernet SAE AS6802
Deterministic Ethernet SAE AS6802
Mirko Jakovljevic
 
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
abdenour boussioud
 

Similar a Multi-Axis Position Control by EtherCAT | ElmoMC (20)

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
 
Unit 1 intro-embedded
Unit 1 intro-embeddedUnit 1 intro-embedded
Unit 1 intro-embedded
 
Embedded two mark question
Embedded two mark questionEmbedded two mark question
Embedded two mark question
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptx
 
Software-Defined Networking Changes for the Paradigm for Mission-Critical Ope...
Software-Defined Networking Changes for the Paradigm for Mission-Critical Ope...Software-Defined Networking Changes for the Paradigm for Mission-Critical Ope...
Software-Defined Networking Changes for the Paradigm for Mission-Critical Ope...
 
ICT III - MPMC - Answer Key.pdf
ICT III - MPMC - Answer Key.pdfICT III - MPMC - Answer Key.pdf
ICT III - MPMC - Answer Key.pdf
 
Deterministic Ethernet SAE AS6802
Deterministic Ethernet SAE AS6802Deterministic Ethernet SAE AS6802
Deterministic Ethernet SAE AS6802
 
Project ACRN EtherCAT 101
Project ACRN EtherCAT 101Project ACRN EtherCAT 101
Project ACRN EtherCAT 101
 
Ethercat twincat e
Ethercat twincat eEthercat twincat e
Ethercat twincat e
 
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
 
A010240110
A010240110A010240110
A010240110
 
Juniper Networks Router Architecture
Juniper Networks Router ArchitectureJuniper Networks Router Architecture
Juniper Networks Router Architecture
 
Tos tutorial
Tos tutorialTos tutorial
Tos tutorial
 
Scada For G Mgt
Scada For G MgtScada For G Mgt
Scada For G Mgt
 
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
 
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
 
EC8791-U5-PPT.pptx
EC8791-U5-PPT.pptxEC8791-U5-PPT.pptx
EC8791-U5-PPT.pptx
 
Network Telemetry
Network TelemetryNetwork Telemetry
Network Telemetry
 
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdf
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdfSamsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdf
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdf
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded system
 

Más de Elmo Motion Control

Boosting the Performance LED Semiconductor Die-Bonding Machine
Boosting the Performance LED Semiconductor Die-Bonding MachineBoosting the Performance LED Semiconductor Die-Bonding Machine
Boosting the Performance LED Semiconductor Die-Bonding Machine
Elmo Motion Control
 
Servo Drive Solution for Yarn Winding Machine
Servo Drive Solution for Yarn Winding MachineServo Drive Solution for Yarn Winding Machine
Servo Drive Solution for Yarn Winding Machine
Elmo Motion Control
 
Motion control application cardiac imaging scanner
Motion control application cardiac imaging scannerMotion control application cardiac imaging scanner
Motion control application cardiac imaging scanner
Elmo Motion Control
 
Motion control application for clean room robot
Motion control application for clean room robotMotion control application for clean room robot
Motion control application for clean room robot
Elmo Motion Control
 

Más de Elmo Motion Control (15)

Servo drive application for print inspection | ElmoMC
Servo drive application for print inspection | ElmoMCServo drive application for print inspection | ElmoMC
Servo drive application for print inspection | ElmoMC
 
Flying vision target position corrections | ElmoMC
Flying vision target position corrections | ElmoMCFlying vision target position corrections | ElmoMC
Flying vision target position corrections | ElmoMC
 
Servo drive application for high mobility robot
Servo drive application for high mobility robotServo drive application for high mobility robot
Servo drive application for high mobility robot
 
Gold Drum HV servo drive thermal management
Gold Drum HV servo drive thermal management Gold Drum HV servo drive thermal management
Gold Drum HV servo drive thermal management
 
Servo drive application for bomb disposal robot
Servo drive application for bomb disposal robotServo drive application for bomb disposal robot
Servo drive application for bomb disposal robot
 
Servo drive application for box labeling
Servo drive application for box labelingServo drive application for box labeling
Servo drive application for box labeling
 
Tambourine servo power supply | ElmoMC
Tambourine servo power supply | ElmoMCTambourine servo power supply | ElmoMC
Tambourine servo power supply | ElmoMC
 
Gold Duo Servo Drive | ElmoMC
Gold Duo Servo Drive | ElmoMCGold Duo Servo Drive | ElmoMC
Gold Duo Servo Drive | ElmoMC
 
Boosting the Performance LED Semiconductor Die-Bonding Machine
Boosting the Performance LED Semiconductor Die-Bonding MachineBoosting the Performance LED Semiconductor Die-Bonding Machine
Boosting the Performance LED Semiconductor Die-Bonding Machine
 
Servo Drive Solution for Yarn Winding Machine
Servo Drive Solution for Yarn Winding MachineServo Drive Solution for Yarn Winding Machine
Servo Drive Solution for Yarn Winding Machine
 
Motion control application cardiac imaging scanner
Motion control application cardiac imaging scannerMotion control application cardiac imaging scanner
Motion control application cardiac imaging scanner
 
Closed loop-planar-servo-motor
Closed loop-planar-servo-motorClosed loop-planar-servo-motor
Closed loop-planar-servo-motor
 
Motion control application for clean room robot
Motion control application for clean room robotMotion control application for clean room robot
Motion control application for clean room robot
 
Servo Drives For a Wide Range of AC/DC Voltages | ElmoMC
Servo Drives For a Wide Range of AC/DC Voltages | ElmoMCServo Drives For a Wide Range of AC/DC Voltages | ElmoMC
Servo Drives For a Wide Range of AC/DC Voltages | ElmoMC
 
Servo Drives for ANY Qualitative Power | ElmoMC
Servo Drives for ANY Qualitative Power | ElmoMCServo Drives for ANY Qualitative Power | ElmoMC
Servo Drives for ANY Qualitative Power | ElmoMC
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Multi-Axis Position Control by EtherCAT | ElmoMC

  • 1. Multi-Axis Position Control by EtherCAT Real-time Networking
  • 2. 2 EtherCAT Applications Overview The EtherCAT Control Approach The EtherCAT Data Processing Time Synchronization Requirements in Distributed Systems EtherCAT Distributed Clock Mechanism Back to EtherCAT and Motion Control Servo Drives , DS 402 Device Profiles and CoE Practical Real Time Control Networks Inputs / outputs synchronization Requirements Summary Lecture Topics
  • 3. 3 EtherCAT Applications Overview Typical Applications Renewable Energy Manufacturing processes. Over 300 servo- controled movements, coordinated wit h vision systems and I /O’s Wafaer Handling Robots XYZ Wafer inspection systems. Autonomues robots. Militray applciations for turet control and others ...
  • 5. 5 EtherCAT Control Approach Cyclic Control Fixed Communication Cycle Process data image is updated every cycle Process status is known to the control task cyclically process data compilation does not need to be changed  fast communication task with low resource requirements. Stable and Fast synchronization handling No interference between the real-time process data and the background (mailbox) service. Hot plug connection
  • 6. 6 EtherCAT Control Approach What Type of Data is Shared on the Network ? Usually, a control system needs to have, on a periodic time intervals the following: Inputs: Latched Sensors Data such as Positions, Velocities, Currents, System Status, IO’s etc, Outputs: Control Law commands, or Trajectory Information, or Higher Drive Level Commands. The specific nature of the data being transferred on the network depends on the operation mode of the slave drive. The terminology used for Drive Slaves operation is “Device Profile”. A common standard for Drive Device Profiles is the “DS-402”, CANOpen Device Profile, and “CoE” – Can Over EtherCAT. More on that , Later On …
  • 7. 7 EtherCAT Data Processing On-The-Fly Processing Process data is extracted and inserted on the fly Process data size per slave practically unlimited (1 Bit…60 Kbyte, if needed using several frames). Practical systems use for the process data no more than few dozen bytes per node per cycle. Support Dispersing cycle data : short cycle times for high demanding axes, and longer cycles for service axes and I/O update is possible … Slave Device EtherCAT Slave Controller Slave Device EtherCAT Slave Controller
  • 8. 8 EtherCAT Data Processing EtherCAT Data Frame Structure
  • 9. 9 EtherCAT Data Processing EtherCAT Data Frame Structure
  • 10. 10 EtherCAT Data Processing EtherCAT Frame Processing The Real Time EtherCAT Frame processing is done by the ESC : EtherCAT Slave Controller.
  • 11. 11 EtherCAT Distributed Clocks Synchronization Requirements in Control Centralized Motion Control Systems use single processor (one servo loop interrupt) for controlling all axes. Jitter between axes is minimal, and usually relates on h/w latching of peripherals (FPGA etc). This is in the area of few tens of Nano-seconds. Distributed Control topology comprise of a remote master and multiple slaves, each with its own processing unit, synchronization and timings. Modern Distributed Motion Control Systems mostly relay on Ethernet based communication links. Standard Ethernet rallies “too much” on SW, thus its not deterministic enough for real time motion control tasks.
  • 12. 12 EtherCAT Distributed Clocks Synchronization Requirements in Control As an example, at 1 m/sec linear speed, 1 μSec shift in position latch lock is equivalent to 1 μm. The velocity calculations will be more severely affected. Modern digital control systems, running at 20 kHz servo loop rate or higher, latch a new position data every 50 μSec, and calculate the speed based on the position difference at the given time. So in this case, 1 μSec jitter, is equivalent to 2% speed jitter error, which is much more than usually allowed in high performance systems. High end motion control system, need synchronization level between all slaves much better then 1 μSec ! SO, How this is done … ??
  • 13. 13 EtherCAT Distributed Clocks Synchronization in a Distributed System The task of synchronizing multiple clocks in a distributed system is not uniquely specified for Motion Control, and is common for many computer and network systems. There are few methods to synchronize slave nodes over a network. One common way is the IEEE 1588 precision time protocol (PTP) (defined as early as 2002). It is a technology for sharing clocks between distributed systems. IEEE 1588 provides a distributed time base used to timestamp data with sub-microsecond precision. The EtherCAT Distributed Clock (DC) uses the same concept of distributed time base.
  • 14. 14 EtherCAT Distributed Clocks Synchronization in a Distributed System Offset Measurement …
  • 15. 15 EtherCAT Distributed Clocks Synchronization in a Distributed System Delay Measurement …
  • 16. 16 EtherCAT Distributed Clocks Synchronization in a Distributed System It actually works …
  • 17. 17 EtherCAT Distributed Clocks Purpose of Distributed Clocks in EtherCAT With the Distributed Clocks Mechanism (DC), Precise Synchronization (<< 1 µs!) can be achieved between slaves within a network, by exact adjustment of internal node system time. M ∆tIPC S Maste r S S S S S S
  • 18. 18 EtherCAT Distributed Clocks Purpose of Distributed Clocks in EtherCAT Synchronization of EtherCAT devices Definition of a System Time Beginning on January, 1st 2000 at 0:00h Base unit is 1 ns 64 bit value (enough for more than 500 years) Lower 32 bits spans over 4.2 seconds Normally enough for communication and time stamping Definition of a Reference Clock One EtherCAT Slave will be used as a Reference Clock Reference Clock distributes its Clock cyclically Reference Clock adjustable from a “global” Reference Clock – IEEE 1588
  • 19. 19 The EtherCAT Slave Controller The ESC, EtherCAT Slave Controller is responsible for all this … EtherCAT Slave Controller (ESC) FMMU n SyncMan EtherCAT Address Space EtherCAT Processing Unit and Auto-Forwarder with Loop Back Port 0 Port 1 Port 2 Port 3 PHY Mag RJ45 PHY Mag RJ45 Distributed Clocks SPI / µC parallel Digital I/O Sync0 / Latch0 Sync1 / Latch1IRQ Process Data Interface (PDI) Sync / Latch Unit DC Control System Time Offset Delay
  • 20. 20 Back to the Motion Control … So, we understand how data is transferred, and synchronized, but what that’s have to do with the Motion Control System … ??? Remember the Drive Device Profiles … CANOpen / DS402 … “CoE” – Can Over EtherCAT. More on that , Now … !
  • 21. 21 Servo Drive Device Profile The CANOpen DS402 and CoE The CAN in AUTOMATION (CiA) Group, established the DS402 (“DS” stands for Draft Standard) for “Drives and Motion Control Device Profile”. The aim of this standard is to provide a common platform that defines the general behavior, and operation modes that should be supported by drive manufacturers, to enable as much as possible, interoperability between masters and slaves within motion control systems. It was “born” for the “old” CAN technology, but is widely adopted by the ETG and many drive manufacturers as well, with the CoE … CAN Over EtherCAT.
  • 22. 22 DS402 Drive Device Profile The CANOpen DS402 and CoE The DS402 device profile defines several modes of operation, including: Profile position mode, Homing modes Interpolated position mode, Profile velocity mode, Profile torque mode, velocity mode, Cyclic synchronous position mode, Cyclic synchronous velocity mode, and Cyclic synchronous torque mode
  • 23. 23 DS402 Drive Device Profile Cyclic Synchronous Position Mode
  • 24. 24 DS402 Drive Device Profile Cyclic Synchronous Velocity Mode
  • 25. 25 DS402 Drive Device Profile Cyclic Synchronous Torque Mode
  • 26. 26 Real Time Network Inputs/Outputs So, the data we need to swap between the Master Controller and our Drives, Depends on the “Device Profile” and “Operation Mode” used. It is generally comprised of: Outputs (from the Master to the Drive): Device Operation Mode Request (CW/OM), Target Position, Target Velcoity, Target Torque, Various Offsets, etc. Inputs (from the Drive to the Master): Actual Device Operation Mode and status (SW), Actual Position, Actual Velcoity, Actual Torque, etc. These Data Objects, Periodic or Cyclic Data Objects, aka “PDO’s” : Process Data Objects …
  • 27. 27 Real Time Network Inputs/Outputs Process Data and EtherCAT Payloads … Each PDO has an “Address entry” within the Device “Object Dictionary”, and is part of the Data Payload carried out over the EtherCAT Datagram Message …
  • 28. 28 Real Time Network Inputs/Outputs Process Data Synchronization in EtherCAT
  • 29. 29 Real Time Network Inputs/Outputs Practical Synchronization considerations … Systems and drives working in the “relatively simple” “Profile Position” or “Profile Velcoity” Modes, actually no strict synchronization is required. System aiming in synchronizing multiple axes Motion Trajectories, like pick-and-place machines, 3D robots etc, will require high level of synchronization, with cycle times in the area of ~1 mili-sec. The most demanding systems are the ones requiring to close the servo loops over the network. Highest level of synchronization and cycle update rates are needed, typical ~100 μSec or less.
  • 30. 30 Summary EtherCAT is spreading, in a much faster rate then any other filed bus, and commonly adopted for variety of applications, by many vendors … The strength of EtherCAT synchronization techniques allows it to be compatible with both low and high demanding applications. Combined with the correct implementation of both the network protocol, and a proper device profile, a true Distributed Motion control can now be achieved.