Utilizing FPGAs in an IEEE 1588 Precision Time Control Implementation | Network Systems Designline

Get the latest news, products and how-to information on network systems. Sign up for the Network Systems DesignLine newsletter, a weekly e-mail guide dedicated to the needs of engineers developing networking equipment and components. Here is our RSS feed.








 Network Systems DesignLine » How-To » Ethernet Design

 
 HOW-TO : Ethernet Design

Utilizing FPGAs in an IEEE 1588 Precision Time Control Implementation

Network provides microsecond control
Print This Story Send As Email Discuss This Story Reprints

Page 1 of 4

Courtesy of Industrial Control Designline

Rate this article
WORSE | BETTER
1 2 3 4 5
The IEEE 1588 Standard Precision Time Protocol (PTP) is being used by industrial automation applications for precise time synchronization (PTS) on Ethernet networks. PTS provides accurate time synchronization for distributed control nodes.

According to the ARC Industrial Ethernet Report of June 2005, the Industrial Ethernet market has a projected CAGR of 51.4 percent and is expected to reach 6.6 million units by 2009 propelled by the heavy adoption of the IEEE 1588 Standard. Prudent industrial system designers must carefully evaluate their options to cost-effectively and confidently implement this industrial standard as it makes greater inroads. And certainly, the selected design route must take into consideration the update to Rev. 2.0 of the IEEE 1588 Standard when it is completed this year.

A triple-speed Ethernet medium access control (MAC) is essential for supporting the IEEE 1588 Standard. Today, designers have a few implementation approaches at hand including FPGAs as a first step in the implementation process.

Getting A Handle On IEEE 1588

The IEEE 1588 PTP synchronizes an industrial control system to within less than a microsecond. This timing includes synchronizing local clocks in sensors, actuators, and other terminal devices using the same network that also transports process data. The 1588 clock is used in a sensor in one of two ways. It can generate a timestamp at the moment the data is acquired.

Or, it is used as a mechanism to generate the acquisition trigger. This is performed by comparing the time of the 1588 clock to a specified trigger time provided to the component as part of the application. Similarly in an actuator, the IEEE 1588 clock generates the actuation trigger by comparing the time of the 1588 clock to a specified trigger time provided to the component as part of the application.

Precise timing, therefore, provides a solid basis for real time Industrial Ethernet, whereas before, real time capability was only available as part of specially optimized systems. A system in relation to an application can be real time if the system meets all the application's timing requirements. For instance, a communications system must guarantee deterministic behavior if hard real time is to meet motion control application requirements. Like other protocols, PTP is also based on the best possible time matching between transmitted and received data. Unlike SNTP (simple network time protocol), the time when data is transmitted does not need to be transmitted in the synchronization packet, itself, but in a following packet.

In this way, transmission and measurement can be decoupled. The protocol was designed for small homogeneous and also heterogeneous local networks. Further, IEEE 1588 developers focused on low resource usage so that the IEEE 1588 protocol can also be used in low-end and low cost terminal devices. No special requirements are placed on memory or CPU performance, and only minimal network bandwidth is needed.

The IEEE 1588 PTP functions by organizing network clocks in a master-slave hierarchy. PTP identifies the master clock and then arranges for a two-way timing exchange, as shown in Figure 1. In this scheme, the master transmits messages to its slaves to initiate synchronization. Each slave then responds to synchronize itself to the master. This sequence is repeated throughout the specified network to achieve and maintain clock synchronization.


Figure 1. Synchronization process involves two steps.

Time difference between master and slave is corrected and delay measurement or clock skew correction determines delay between slave and master. credit: John Eidson, Agilent Technologies

Incoming and outgoing PTP-packets are time stamped at the start of frame (SOF) of the corresponding Ethernet packet, which is performed at each point in an IEEE 1588-enabled network.

The protocol then exchanges this information between master and slaves using five IEEE 1588 message types; SYNC, DELAY_REQUEST, FOLLOW_UP, DELAY_RESPONSE, and MANAGEMENT.

Page 2: Calculating delays Print This Story Send As Email Discuss This Story Reprints

Page 1 | 2 | 3 | 4


 
eSearch  

 Top 5 Most Read
 How-To Stories
1. 2. 3. 4. 5.

 Top 5 Most Read
 News Stories
1. 2.

  • Introduction to Optical Transmission Systems

  • Optimizing Embedded Systems for Broadband 10 Gigabit Ethernet Connectivity

  • Interfacing a DS3231 with an 8051-Type Microcontroller

  • The entire library >>  

     
     Top 5 Most Read
     Product Stories
    1. 2. 3.

     Sponsor

    EE Times TechCareers
    Search Jobs

    Enter Keyword(s):


    Function:


    State:
      

    Post Your Resume
    -----------------
    Employers Area
    Most Recent Posts
    GE Corporation seeking Lead Systems Analyst in Van Buren Township, MI

    Osram Sylvania seeking Sr Applications Engineer in Danvers, MA

    Accolo, Inc. seeking User Experience Engineer in Reston, VA

    Johnson Controls, Inc seeking Project Development Engineer in Pittsburg, PA

    WhiteHat Security seeking User Interface Engineer in Santa Clara, CA

    More career-related news, resources and job postings for technology professionals


     Tech Library
    ¤ Looking for the appropriate Industry Association? This comprehensive, up-to-date list will take you to the right Web site for the help you need.

    ¤ Got a question about a standard? Here are direct links to resources detailing the industry's most important communications standards.

    ¤ Freshen up on technology, new and old, with these links to interesting and informative tutorials.

    More from TechLibrary

    Welcome to our DesignLine network of web communities. On these sites, we provide practical how-to technical information for engineers and engineering managers involved in Automotive,audio, DSP, DTV, EDA, Industrial Control, Mobile Handset, Power Management, Programmable Logic,RF,Video, and Wireless networking design. Check out the sites and let us know your thoughts.
     



    Career Center | CommsDesign.com | Embedded.com | EE Times | TechOnline
    Planet Analog | DeepChip | eeProductCenter | Electronic Supply & Manufacturing | Webinars