Presentation is loading. Please wait.

Presentation is loading. Please wait.

(Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 1 Logix CIP SYNC Solution CIP SYNC Hardware (how.

Similar presentations


Presentation on theme: "(Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 1 Logix CIP SYNC Solution CIP SYNC Hardware (how."— Presentation transcript:

1 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 1 Logix CIP SYNC Solution CIP SYNC Hardware (how we solved these applications today)

2 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 2 What is CIP Sync? IEEE 1588 –“Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems” –“Precision Time Protocol” (PTP) defined by standard. –Nanosecond resolution +/- 100 nanosecond synchronization (Hardware assist clock) +/- 100 microsecond synchronization (Software clock) –Advantages: Minimal installation and administration Wide spectrum of clock accuracy Low cost, high precision –Version 1 - 2002 –Version 2 released 2008 Multi-industry: test & measurement, industrial, telecomm, residential –http://ieee1588.nist.gov - tutorials CIP Sync –System Time data representation –Clock Model for each node –Timestamp Step Compensation Algorithm –Time Sync Object for CIP System-wide synchronization for CIP-based Networks –CIP Sync™ = CIP Network + IEEE-1588 –Implementation of IEEE-1588 on CIP Networks EtherNet/IP, DeviceNet, ControlNet

3 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 3 CIP - Standard Real-Time Implementation

4 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 4 Flat Network Topology EtherNet/IP Lower system cost Better system performance Simplified integration Future Proof EtherNet/IP

5 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 5 Quality of Service (QoS) Ethernet Switch Distributed I/O Messages CIP Motion™ Drive message Other Devices Messages 1588 PTP Messages CIP Sync implements Quality of Service –802.1Q tagged frames on Ethernet Insures timely delivery of high priority traffic Traffic Type Priority Time Sync 7 (Highest) Motion 6 I/O 5 Other 4 (Lowest)

6 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 6 CIP Sync Architectures High Performance Time Synchronization in the Logix Architecture

7 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 7 EN2T CIP Sync – Time Synchronization Overview CIP Sync as specified by V2.X of EN2T in it simplest form Network of Clocks EN2T Ethernet CIP Sync EN2T Acts Like an Ordinary Clock on Ethernet GrandMaster Clock “The default behavior of the protocol allows simple systems to be installed and operated without requiring the management attention of users.” CIP Sync Enabled M S S S S S

8 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 8 EN2T SOE SS CST M EN2T PTP CIP Sync – Time Synchronization Overview The CLX or EN2T Can Become CST Master on the Logix Backplane Network of Clocks GM EN2T Acts Like an Ordinary Clock on Ethernet GrandMaster Clock L6x M S S S S Master/Slave Hierarchy EN2T IS a Boundary Clock

9 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 9 L6X S S CST M GPS PTP EN2T CIP Sync – Time Synchronization Overview The EN2T as a GrandMaster Clock GM EN2T IS a Boundary Clock GrandMaster Clock Ethernet M EN2T IS a GrandMaster Clock M S S S S Master/Slave Hierarchy S User Program Can Set WallClockTime from GPS

10 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 10 Grand Master System Arbitration Best Master Feature –System of clocks is self healing –One failure does not shut down time transport or synchronization –The system self arbitrates to find Best Master available

11 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 11 S Best Master – Self Healing System of Clocks Boundary Clock S M M SS M Grand Master Clock GM 1756 Gateway MM S M S Grand Master Clock GM M Grand Master Clock GM MSM

12 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 12 Selecting a IEEE 1588 switch

13 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 13 Switch with No IEEE 1588 implementation –No Implementation Each switch simply passes message thru like other traffic Even with QOS and Port prioritization, messages can get delayed because of –Large packet is already transmitting in the queue and the higher priority traffic has to wait –General performance of the switch hardware to prioritize and transmit the packet Repeatable transmission delays are compensated for Jitter can not be HDRS No Implementation HDRS Ingress Event MessageEgress Event Message Jitter from Unpredictable 1588 Packet Delay (from other large traffic)

14 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 14 Switch with no IEEE 1588 Implementation GrandMaster 0000 HIPROM GPS OB16IS L63 CNB/E EN2T HP-GPS Jitter Delay in Switch 1 Jitter Delay in Switch 2 Jitter Delay in Switch 3 Final Synchronizatio n Impacted by SUM of Jitter Sum of Jitter in each switch adds to final synchronization Typically good for systems > 1 ms synchronization requirements assuming less then 7 switches deep (assumes typical automation layer traffic)

15 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 15 Boundary Clock –Boundary Clock Each Boundary contains its own local clock Two ports on the Boundary clock –Slave on the GrandMaster side –Master on the second port Boundary clock slaves to the GrandMaster and synchronizes its clock. This clock is then used to synchronize requests that come in on the slave port Uses the original grandmaster clock to identify itself to any slaves Inaccuracies at synchronizing the boundary clock can ripple thru the architecture HDRS Boundary Clock HDRS Ingress Event Message Boundary Clock Slave Egress Event Message Boundary Clock Master

16 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 16 Boundary Clock Sum of each individual master clocks ability to synchronize adds to final synchronization Good for systems > 100 microsecond synchronization requirements Less then 7 switches deep GrandMaster 0000 HIPROM GPS OB16IS L63 CNB/E EN2T HP-GPS Synchronization Accuracy in Switch 1 Synchronizatio n accuracy in Switch 2 Synchronization accuracy in Switch 3 Final Synchronization Impacted by SUM of each individual clocks ability to sync with its master Local Clock Synced Previous Master

17 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 17 Transparent Clock –Transparent Clock Measures delay through switch –Resident time Adds delay to correction field of PTP event messages Slave node uses correction field (CF) to adjust their slave clocks Each transparent clock adds its transport delay time to the correction field The end node uses the total correction value as an offset to its received time. HDRS Transparent Clock CF+RHDRSCF Ingress Event Message Residence time Egress Event Message

18 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 18 Transparent Clock Sum of each individual master clocks ability to synchronize adds to final synchronization Good for systems < 100 nanosecond synchronization requirements Virtually no limit to architecture depth GrandMaster 0000 HIPROM GPS OB16IS L63 CNB/E EN2T HP-GPS Switch Jitter measured and added to synchronization packet Final Synchronization Impacted only by end nodes ability to synchronize with the grand master Local Clock Synced Previous Master Switch Jitter measured and added to synchronization packet

19 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 19 Selecting a Switch No 1588 ImplementationBoundary ClockTransparent Clock < 1 microsecond SOE √ Motion Control √ Greater then 7 switches Deep (GM to Slave Node) Includes daisy chain √√ High Traffic with Large Packets √√ < 1 millisecond SOE but > 1 Microsecond sync √√√ Normal Automation Layer Traffic (small packet sizes) √√√ This is only a rule of thumb.. Your specific application should be evaluated individually

20 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 20 CIP Sync – System of Clocks Boundary Clock M S M M SS SS Transparent Clock Grand Master Clock GM EN2T as Ordinary Clock on Ethernet 1756 Gateway MM S Stratix 8000 All 2 Port Rockwell hardware ETAP M S

21 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 21 CIP Sync – System of Clocks Grand Master Clock Ordinary Boundary Clock Transparent Ordinary Boundary Clock Ordinary M S MMM SS S MM M SSS SS M GPS M S -Time Master -Time Slave Clock PTP Region “C” PTP Region “B” PTP Region “A” PTP Spanning Tree

22 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 22 Application of Transparent Clock – linear, ring Controller Ethernet Switch S SS S SS M M M –Two-port devices –Daisy-chain topology End-to-end transparent clock –Ring topology Peer-to-Peer transparent clock Allows for ring redundancy S S S Controller M S S

23 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 23 Hardware Support Components of time based Automation

24 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 24 ControlLogix Controllers (V18 Support) 1756-L6x, L6xS, and L7x –Starting in V18 (pre 18 requires some application code to implement) –PTP and CST Master and Slave support –Battery driven clock for GM capabilities

25 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 25 Communication Cards (EN2T today) 1756-EN2T 1756-EN2F and EN2TR –EN2T (shipping currently) CST Master or Slave UTC Master or Slave No Battery backup clock Priorities (pick a master) PTP Clock Time Sync Objec t

26 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 26 Switch Technologies (Feb 09) 3 port TAP (3rd Qtr 09) –Transparent Clock STRATIX 8000 swtich (1st Qtr 09) –Transparent Clock –Boundary Clock

27 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 27 Distributed I/O (April 09) ArmorBlock with CIP Sync –+/- 100usecs of time-stamping accuracy –Built in 3 port switch Port in, out and internal –16 Input SOE type (target 1CQ09) –Scheduled Output Planned –24VDC

28 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 28 Sequence of Events Module Enhancements 1756-IH16ISOE /-IB16ISOE Firmware Version 2.7 Integrated support for CIPSynch –Allows high precision timestamping with “Real Time” values that originate from time source on Standard Ethernet –SOE architectures are simplified with the elimination of SynchLink and GPS modules which are no longer required in multi-chassis systems Availabl e May 09 Provides best of breed technology and cost effectiveness for SOE/first fault detection systems New “x10 FIFO Mode” –Allows the retrieval of 10 Event Timestamps per RPI (versus 1 today) to accommodate high speed applications –Response time improved 10 fold for high speed applications COMING

29 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 29 Visualize and Log using FT View SE, FT services, and SQL (CPR9) FactoryTalk View SE FactoryTalk View Summary FactoryTalk View Banner FactoryTalk View Log Viewer Device Alarm and Event Server Logix Alarm and Event Configuration RSLogix 5000 RSLinx Enterprise Device-based Alarm and Event Detection FactoryTalk View Studio Or FactoryTalk Admin Console Alarm and Event Setup Database Setup Alarm and Event Log FactoryTalk View Status Explorer FactoryTalk Alarm and Event Services

30 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 30 Third Party Grand Masters (Optional) (Shipping soon) 1756HP-GPS hi prom GPS module –In Rack PTP and CST Master for distributed systems like SubStations –Synchronization with GPS Symmetricom XLI Grand Master –Stand Alone PTP master for larger architectures –Syncronization with GPS

31 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 31 Other External Time Sources (Optional) (Shipping Soon) Logix 5000 Clock Update Tool –Software runs on a PC –Uses local PC clock to synchronize control system clock on a defined schedule –Often NTP is the source for the PC 1756-EWEB –Sets the wall clock for one controller which then propagates thru the system –Brings NTP in natively as a format Logix Controllers HandSet –Controller clocks in ControlLogix can be master clocks for system –Accuracy only as good as handset quality

32 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 32 Overview Topology Picture Transparent vs Boundary vs none Racks as Boundary clock What to say about NTP Performance Specs Sync time between chassis With GPS distributed With SOE

33 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 33 Terms and Acronyms CST – Control System Backplane Clock (free running 64 bit number in Milliseconds with no association to real world) UTC – Real world time with no Local Time Zone and or DST included DST – Daylight Savings Time LocalTime – WallClock time or UTC with time zone and DST added Grandmaster clock: Within a collection of 1588 clocks one clock, the grandmaster clock, will serve as the primary source of time to which all others are ultimately synchronized. PTP: PTP is an acronym for Precision Time Protocol, the name used in the standard for the protocol.

34 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 34 General Specifications CIP Sync General SOE Specifications –Using 1756-EN2T and switches with transparent clocks, rack/rack synchronization 50 nanosecond –Combined with 1756-SOE for discrete time stamps, 50 microsecond event tracking –Combined with next generation in rack 1756-HiPromGPS, 500 microsecond system to system synchronization –Combined with Symmetricom IEEE 1588 grand master (or equivalent) 1 microsecond system to system synchronization

35 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 35 Applications for Time Synchronization Data Logging – Time-Stamped Data Logging Typical Time Stamped Input SQL

36 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 36 Applications for Time Synchronization – Coordination with GPS Time Typical Time Stamped Input

37 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 37 Applications for Time Synchronization – Sequence of Events Measurements – Scheduled Outputs – Synchronized Actuation – Time-Stamped Data Logging – Coordination with GPS Time – Motion Typical Time Stamped Input

38 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 38 Applications for Time Synchronization – Sequence of Events Measurements – Scheduled Outputs – Synchronized Actuation – Time-Stamped Data Logging – Coordination with GPS Time – Motion Typical Time Stamped Input I/O Device Distributed Device

39 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 39 Applications for Time Synchronization – Sequence of Events Measurements – Scheduled Outputs – Synchronized Actuation – Time-Stamped Data Logging – Coordination with GPS Time – Motion Typical Scheduled Output I/O Device Distributed Device

40 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 40 Why Three Clocks Starting in V16, there are now three clocks accessible to user applications: CST – This is the Coordinated System Time. It is a backplane clock that starts up when the system first powers up. It is used as a master tick on the backplane to coordinate task switching, motion, time stamping from I/O cards and other system events. This clock has no real reference to any real world time as it free runs from when the controller is powered up (in microseconds) and can not have its value externally adjusted. The CST clock is used to coordinate the local backplane. Module synchronization and software task use this clock to coordinate actions, like motion cards, controller interrupts for periodic tasks, etc… SystemTime – This clock is based on UTC (Coordinated Universal Time). It provides a un-offset time independent of location of the controller. It is the preferred clock to perform time stamps of events. By time stamping in UTC, events can now be compared across time zones without the need to interpret those time stamps based on their geography that they were generated in. The SystemTime, provides a time stamp that is not only time zone independent, but also provides immunity to local daylight savings time (winter/summer time adjustment) events which can corrupt an SOE application. For example, On September 25th at 2PM, the clock moves back one hour. So events timestamped that cross that threshold look like they are transposed. An event that took place at 1:55PM, really happened after an event that happened at 1:56PM for example (UTC time stamps would be 1:56, and 2:55 for these two events). LocalTime – This clock is also based on the UTC (Coordinated Universal Time) however it is offset with time zone and daylight savings time values. It is the preferred clock to perform local operations, like empty a tank at 12:00 PM.

41 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 41 Clock Architecture for One Processor

42 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 42 Grand Master Clock Where do I get my Time Source (in order of accuracy to real world time) Controller Wall Clock Hand Set Accuracy 1756-EWEB via NTP time source Logix 5000 Clock Update Tool via NTP or Handset 1756HP-GPS GPS interface Symmetricom Grand Master

43 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 43 Synchronizing both CST and UTC

44 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 44 QoS ESE CIP priority to QoS priority mapping and recommended traffic CIP PriorityTraffic TypeQoS Priority 0LOWAll other 3 1HIGHI/O 4 2SCHEDULEDI/O 5 3URGENTMotion 6 SFDDSTSRC0x8100Control Priority Bits VLAN ID Tag 0x800 … Octets166222 0 Bits31 12 … Tagged Frame CIP and QoS Mapping

45 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 45 Why EtherNet/IP? EtherNet/IP is a established, proven solution with broad support –Real-Time I/O control since 2001 –1+ Million installed EtherNet/IP devices –33% CAGR –160+ Vendors with over 400 devices available Leverage CIP, EtherNet/IP core technology developments and promotion –Class of device support –CIP Safety solution for motion –Infrastructure –Commercial promotion and standards organization support EtherNet industry acceptance –Ethernet is deterministic: Switched Duplex, 100 Mbps, Prioritized –Ethernet based solutions have been broadly adopted for motion Devices Available

46 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 46 Motion Network Requirements Synchronization Services – CIP SYNC BASED ON IEEE 1588 –Mechanism to synchronize all controller and drive nodes in the system to a common time-base with sub-microsecond accuracy, node-to-node. Timely Data Transfer -> PRIORITIZED, TIME STAMPED CYCLIC DATA –Network bandwidth and packet-processing capacity to guarantee timely exchange of cyclic data between multiple controller and drive nodes at sub-millisecond update rates. Motion Control Device Profiles -> CIP MOTION –Well defined device profiles to provide a common interface to a wide variety of contemporary motion control devices including simple volts / hertz drives, vector controlled drives, and servo drives –Sufficient definition to insure multi-vendor interoperability and interchangeability DATA

47 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 47 Current Implementation of CIP Sync Ordinary Clock (Grand Master) Ordinary Clock Boundary Clock Ordinary Clock Ordinary Clock S S M M M M S Transparent Clock S Time Master Time Slave Ordinary Clock S Ordinary Clock S Ordinary Clock S M S GPS receiver, Hand Set Logix controller, Hand Set 1588 Switch, etc. 1588 Switch, bridge, etc. Lgx Controllers, I/O, HMI, Drives, etc.

48 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 48 Current Implementation of CIP Sync

49 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 49 CIP Advantage Story with Motion!

50 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 50 (Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 50 In Summary Differentiate the Integrated Architecture using Time –50 ns precision rack to rack –Lowest cost.. Highest precision.. Most flexible first fault solution in market Standard logix rack Time over standard Ethernet Fully distributable SOE points –Ideal for Power Industry (say stimulus package) –Use for Alarm and Eventing systems for Forensics –Operators can identify root cause of failure –Post event forensics of events have time relevance –Machine down time reduced by identifying historical fault trends Superior Technology, Lower Cost first fault solution


Download ppt "(Confidential – For Internal Use Only) Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 1 Logix CIP SYNC Solution CIP SYNC Hardware (how."

Similar presentations


Ads by Google