Beckhoff EtherCAT Technology Section I Bedienungsanleitung Seite 69

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 68
Distributed Clocks
Slave Controller Technology I-49
9.1.1 Clock Synchronization Process
The clock synchronization process consists of three steps:
1. Propagation Delay Measurement:
The master initiates propagation delay measurement between all slaves in all directions. Each
EtherCAT slave controller measures the receive time of the measurement frame. The master
collects the time stamps afterwards and calculates the propagation delays between all slaves.
2. Offset compensation to Reference Clock (System Time):
The local time of each slave clock is compared to the System Time. The difference is
compensated individually by writing it to each slave. All devices get the same absolute System
Time.
3. Resetting the Time Control Loop:
The current filter status needs to be reset to eliminate influences of previous measurements and
improve repeatability.
4. Drift compensation to Reference Clock:
The drift between Reference Clock and local clock has to be compensated by regularly measuring
the differences and readjusting the local clocks.
The following figure illustrates the compensation calculations for two cases, in the first case the
System Time is less than the slave’s local time, in the second case, it is the other way around.
Reference
Clock
Slave Clock
t
System Time
t
Local time
Drift compensation frame
carrying current System Time
TX
Propagation delay compensation
Offset compensation
Drift compensation
Reference
Clock
Slave Clock
t
System Time
t
Local Time
Drift compensation frame
carrying current System Time
TX
Propagation delay compensation
Offset compensation
RX
Drift compensation
RX
Goal: Slave clock has
copy of System Time
System Time < Local Time
System Time > Local Time
Propagation delay
Propagation delay
System Time
Local time
System Time
Local time
Goal: Slave clock has
copy of System Time
x
x
Figure 27: Propagation Delay, Offset, and Drift Compensation
Seitenansicht 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 115 116

Kommentare zu diesen Handbüchern

Keine Kommentare