Open vs. Closed Encoder Communication Protocols: How to Choose the Right Protocol For Your Application



Similar documents
Product Information. Gateway For Connecting EnDat Encoders to PROFIBUS-DP

X8 Option 2 - Technology

ENCODER APPLICATION HANDBOOK

EnDat 2.2 Bidirectional Interface for Position Encoders

Encoder Wiring Made Simple Fielding a successful product depends on choosing the right wiring scheme and output driver.

ServoOne. Specification. Option 2 - Technology. x 11. x 8 X 8. x 10. x 9. x 7. x 6 TTL Encoder / TTL Encoder simulation

Everything you need for protection scheme testing

Number 1 in efficiency

MP85 / MP85DP. Data sheet. Special features MP85 / MP85DP. B en

Linear Motion and Assembly Technologies Pneumatics Service. Industrial Ethernet: The key advantages of SERCOS III

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

DS1104 R&D Controller Board

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Automation Unit TM 1703 ACP Flexible automation and telecontrol

Power network telecommunication

MPC 4. Machinery Protection Card Type MPC 4 FEATURES. Continuous on-line Machinery Protection Card

CANtrol EC Modular Control System Powerful and versatile

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

Sense it! Connect it! Bus it! Solve it! EncoderS

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

ABB Drives. User s Manual HTL Encoder Interface FEN-31

M2M/IoT Solutions.

CPU systron S S S 250c. systron S S S 250c. CPUs to the process modules. Stand-alone PLC

UNIT 1 INTRODUCTION TO NC MACHINE TOOLS

Frequency Converter Fv

Eliminate Risk of Contention and Data Corruption in RS-485 Communications

Series: IDAM Servo Drive E Digital Motor Drive - DMD

EDI Distributor Control Interface Wiring and Setup Instructions

SIMATIC S It s the Interplay that makes the difference. Siemens AG All Rights Reserved.

Technical Manual. FAN COIL CONTROLLER COOLING or HEATING ANALOG or PWM Art A

EFC Frequency converters

HIPERFACE DSL The digital evolution. The new digital interface for servo motors

Technical definitions of A to Z

Nikon s DigiMicro Position Encoders Nanometer Resolution with Sub-Micron Accuracy

Programmable Controller G Series. New. Models

BOGE AIR. THE AIR TO WORK. CONTROLS

RS-485 Protocol Manual

Transmitter Interface Program

Frequently Asked Questions for TFT Remote Controlled Monitors. First Rev 4/6/2005 SGMc Second Rev 5/7/2005 Third Rev 11/15/2005

PROFIBUS AND MODBUS: A COMPARISON

CNC Retrofit Solutions

Disturbance Recoder SPCR 8C27. Product Guide

DRTS 33. The new generation of advanced test equipments for Relays, Energy meters, Transducers and Power quality meters

Accurate Measurement of the Mains Electricity Frequency

Programmable set for Ethernet Modbus/TCP in IP67 TI-BL67-PG-EN-2

Considerations When Specifying a DC Power Supply

Vibration analysis and monitoring Compact. Powerful. Modern technology.

MLC TM Maximum Productivity and Versatility for Control without Compromise!

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

with Electronic Assistant

TECHNICAL DATASHEET Incremental Encoder RI 80-E

Process Control and Automation using Modbus Protocol

Design and Verification of Nine port Network Router

RS - SPM. Serial parallel translator module

FIBER OPTIC APPLICATION IN A PROFIBUS NETWORK

Series LC6D/LC6C. To power supply PLC. LC6C dedicated teaching box P.971. Options P.973

T7560A,B,C Digital Wall Module

Permissible ambient temperature Operation Storage, transport

MicroMag3 3-Axis Magnetic Sensor Module

Digital Single Axis Controller

PCM Encoding and Decoding:

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

Technical Datasheet Scalar Network Analyzer Model MHz to 40 GHz

Siemens AG 2011 SINAMICS V60. The perfect solution for basic servo applications. Brochure May 2011 SINAMICS. Answers for industry.

Design of Strong-motion Monitoring System for Dam-reservoir D s e i s gn of Stro r ng-mo m tion Monito t ri r ng Syst s em

The integrated HMI-PLC

NC-12 Modbus Application

Interfaces of HEIDENHAIN Encoders

Electronic Control Devices The European Product Catalogue 2007

Technical data. General specifications. Indicators/operating means. Electrical specifications Operating voltage U B Power consumption P 0 Interface

Sigma Control PC INSIDE. 97 psi 187 F R on load

A descriptive definition of valve actuators

Alert, inform, react Aastra Alarm Server

ABLOY DOOR AUTOMATICS Easy access for all types of swing doors

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

SDI TO HD-SDI HDTV UP-CONVERTER BC-D2300U. 1080i/720p HDTV Up-Converter with built-in Audio/Video processor

SICK AG WHITEPAPER. Information for cable manufacturers Note-2_03

Power over Ethernet technology for industrial Ethernet networks

LOCAL INTERCONNECT NETWORK (LIN)

Web Datalogger. Unit RS232C. General-purpose modem RS485. IP address search screen

MINIMAT-EC-Servo Screwdriver Spindles

Software Manual RS232 Laser Merge Module. Document # SU Rev A

Three Channel Optical Incremental Encoder Modules Technical Data

THERMAL ANEMOMETRY ELECTRONICS, SOFTWARE AND ACCESSORIES

PHD User Manual. Table of Contents

Technical Datasheet Interface ACURO SSI / BiSS

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

ABB PSPS Erich Steinmann; Generator control-2013

NortechCommander Software Operating Manual MAN R6

Optical Encoders. K. Craig 1. Actuators & Sensors in Mechatronics. Optical Encoders

Flexible Active Shutter Control Interface using the MC1323x

VARIO PROX CARD READER INSTALLATION MANUAL

Application Note. EtherCAT Master Architecture. Applicable Products: Yaskawa Servodrives with CANopen over EtherCAT

Analog Inputs and Outputs

Electronics Ltd. Presenting. Power, Intelligence... with a sense of feeling

ECONseries Low Cost USB DAQ

Benefits and Potential Dangers of Using USB for Test & Measurement Applications. Benefits of Using USB for Test and Measurement

INDUSTRIAL AUTOMATION EQUIPMENT EDITION

APPLICATION NOTE. Basler racer Migration Guide. Mechanics. Flexible Mount Concept. Housing

FACTORY AUTOMATION INTELLIGENT CLAMP MONITORING FOR MACHINE TOOL SPINDLES WITH INDUCTIVE POSITIONING SYSTEMS

Transcription:

Open vs. Closed Encoder Communication Protocols: How to Choose the Right Protocol For Your Application Mr. Cory Mahn Applications Engineer Danaher Industrial Controls Group Gurnee, IL I. Introduction Imagine that you are specifying an encoder to provide motion control feedback. You have already decided whether the encoder needs to be incremental or absolute, and you now have to decide on the communication protocol. The application has too many devices to use parallel communication, and too few to require a bus such as DeviceNet or Profibus. The best choice appears to be a serial communication link. Unfortunately, the numerous choices in serial communication links can make the choice a confusing task. On what basis should you choose one protocol over another? This application example highlights the key questions typical for most applications. This paper is intended to answer and demystify some of these questions and help you choose the right serial communications protocol for your encoder application. 1

II. Open vs. Closed Communications Protocols: What does it mean to me and my application? You might have noticed that some communication protocols are available from a limited number of manufacturers. Chances are that these protocols are closed-type communications protocols. Closed communication protocols are proprietary, meaning that they require a user license and license fee for users to design their own interface with a closed protocol slave. Detailed specifications on a proprietary protocol are restricted; they are available to license holders and not the general public. Closed-protocol devices are essentially black-box devices because not much is known about the specifics of their operation. The most common closed serial communication protocols for encoders include EnDat and HIPERFACE, which were developed by individual encoder manufacturers. Open communication protocols, on the other hand, are non-proprietary and non-restrictive. The developers of communication protocols freely share specifications regarding data format and electrical design. Designers of products that use serial communications, such as sensors and encoders, can create their own interfaces without paying a licensing fee. This means that when you are shopping for a replacement serial communication device you ll find many more encoders available on the market. The most popular open communications protocol is Synchronous Serial Interface (SSI). SSI is a well accepted and time-tested protocol. More recently, the Bi-directional Synchronous Serial Interface (BiSS) open serial protocol has come into the market. Using SSI as a basis, it represents an alternative to bi-directional communication protocols such as EnDat and HIPERFACE. III. Why use a closed communications protocol? There is one good reason to use a closed proprietary protocol; simplicity. For instance, the communication protocols slave configuration software is usually pre-designed, saving time and development costs. Another reason may be that a user prefers a particular vendor s product and agrees to pay the licensing fee in exchange for the ability to completely rely on that manufacturer for all levels of required support for the encoder or sensor. Of course the 2

drawback to this approach is that the user limits his/her options in the future, when a replacement device is needed. IV. Why use an open communications protocol? The key benefits to using an open communication protocol include: Availability Encoder buyers have more selection options and alternative manufacturers to choose from. Cost Manufacturers of products using closed communication protocols can charge any fee that the market will bear for a replacement encoder, since there is virtually no competition from other manufacturers. On the other hand, competition among suppliers of open-communication-based products promotes price and product alternatives. Information - Closed protocol developers limit the amount of information that is published and available to buyers. However, if the need exists, an educated user can check the compliance of an open protocol from a specific manufacturer. Information regarding that protocol is freely posted on the internet. V. How do the various communication protocols operate? In order to select the right protocol, buyers must fully understand the operating capabilities and functional limitations of each of the available feedback control protocols. SSI SSI is the foundation on which all of the aforementioned protocols are based. SSI communication requires two twisted pair wires plus two wires for power. Encoders may also be supplied with additional incremental outputs for speed feedback. For serial communications, one pair of wires is for a differential clock signal and the other pair is for data feedback from the sensor. Clock frequencies can be as high as 1.5MHz. However, as clock frequency increases, the maximum cable run decreases, which is a limitation common to all protocols. 3

Cable Length Data Rate 50 m 400 KHz 100 m 300 KHz 200 m 200 KHz 400 m 100 KHz Table #1, Cable Length vs. Data Rate The data frame length depends on the device and its resolution. In an SSI interface, there is one slave per master, referred to as a point-to-point connection. The clock remains high until the master needs information from the sensor. It then sends a stream of clock pulses equivalent to the number of bits of information from the sensor. Samples of each bit are usually taken on the falling edge of the clock pulse. This insures that the propagation and process delays are accounted for. Sensor manufacturers are free to insert alarm bits if required, but the requirement must be provided before the product is shipped, and a single alarm bit may have several meanings. See Figure 1 for an example of what an SSI trace may look like. Figure #1, SSI Communication Format 4

VI. EnDat EnDat is a proprietary protocol created by Heidenhain of Germany. EnDat is similar to SSI in that it is a point-to-point connection. EnDat is also a synchronous protocol like SSI, meaning that the data, with a speed of 4 MHz, is received as clock pulses are sent simultaneously. However, much more data can be read from an encoder and stored due to the provided internal memory. This can include diagnostics, identification, alarms, and warnings. It can also contain information about the motor in which it was mounted to such as model and serial numbers. Varying clock pulse stream lengths are also required from the varying data that may be received or sent to the device. Also, using a function called a Datum Shift, an encoder can easily be reset to a new zero or reference point. The Datum Shift is a value that is added to the physical position of an encoder. SSI provides a direct reading of the physical position, so it requires the end user to rotate the shaft to the zero position. The hardware level minimally requires six wires for communications. Depending on the version of EnDat, there may be an additional wire that carries an analog incremental output for faster speed sampling. This is useful for speed-controlling drives that can be more demanding than the rate at which serial feedback is normally provided. For more information on the EnDat protocol refer to the Heidenhain website at www.heidenhain.com. VII. HIPERFACE HIPERFACE is a proprietary serial protocol created by Max Stegmann GmbH. HIPERFACE can be point-to-point like SSI and EnDat, but it can also use bus connections in which several encoders can be wired together and addressed by a single master. HIPERFACE is the only one of the four major serial protocols that is asynchronous. It uses bidirectional RS-485 communications to send and receive data. The data comes at a relatively slower rate of 38.4Kbps, but contains much more information than provided in SSI communications. 5

Like EnDat, it has internal memory that can hold motor information such as voltage, current, and other parameters. Using a licensed master, you can also define an absolute zero position. Because HIPERFACE is proprietary, the user doesn t know how the communications work and how parameters are addressed. Setting and storing parameters are essentially plug and chug with the manufacturer provided software. Generally, the data sent and received from the master is at a fixed length and is not controllable by the end user or OEM. At the hardware level, eight wires are required. The proprietary SinCos output requires four wires for each differential pair, with two wires required for data communication and two for power. For more information on HIPERFACE, refer to the Stegmann website at www.sickstegmann.de. VIII. BiSS BiSS is the latest protocol designed and developed by IC-Haus, Germany. It was created to be an open non-proprietary protocol alternative to EnDat and HIPERFACE but designed with the capabilities of the proprietary protocols in mind. Combined features such as alarms, warnings, and the ability to store motor information to the encoder exist in the BiSS protocol. BiSS has two modes; sensor mode and register mode. In sensor mode, the sensor or encoder communicates in a manner similar to SSI. The master begins to send a stream of clock pulses. Eventually the data line level will drop low and data sampling will begin. The data can be received and clocked at a blazing 10MHz. Due to the speed of transmission, many drives may not require additional analog incremental outputs to control motor speed. In ACURO encoders available from Danaher Industrial Controls Group, the propagation and calculation delay is so brief that communication is backwards compatible with the SSI protocol. Figure 2 shows the communication format and a data frame map. 6

Figure #2, BiSS Sensor Mode In register mode, the protocol modulates the clock pulse width to address specific slaves and parameters. This mode is unlike any other protocol. If in the sensor mode a warning or alarm bit is set high by the sensor or encoder, the end-user may access the register mode and find specifics on the alarm or warning. This might be an over-temperature warning or, in the case of an encoder, a disk pollution alarm. Danaher Industrial Controls Group is currently developing the ability to provide single step alarms in case improper position is being provided in sequence. Other information such as acceleration, temperature, and identification can be retrieved from an encoder with BiSS. Also, as mentioned before, register mode allows for sending and storing data to the encoder. Figure 3 and 4 illustrate the communication format and data map of a BiSS device in register mode. Figure #2, BiSS Register Read Mode Figure #3 BiSS Register Write Mode On a hardware level, the same cable used in SSI and EnDat can be used with BiSS applications. For more information on IC-Haus and the BiSS protocol, refer to the BiSS Website at www.biss-interface.com. 7

IX. Summary of the Four Dedicated Serial protocols Table 2 shows some of the key differentiators for each protocol. Table #2, Serial Interface comparison X. Conclusion Choosing the right communication protocol for an encoder application can be difficult. This primer gives OEM project engineers and end-users enough knowledge of the basic operating principles to make an educated buying decision. Encoders that offer open communications protocols offer the most flexibility, and new non-proprietary protocols such as BiSS will accelerate the trend away from using closed communication protocols. 8

IX. Danaher Industrial Controls Applications & Solutions The Danaher Industrial Controls Group offers the world s broadest line of monitoring, sensing and control automation products to satisfy a full range of industrial factory and process applications. Customers in a wide variety of industries from manufacturing to healthcare to government, look to Danaher Industrial Controls to meet their factory and environmental control requirements. Danaher Industrial Control solutions include a comprehensive line of controllers, recorders, encoders, resolvers, counters and timers, as well as printers/cutters, sensors and related accessories. For more information on our complete line of encoder feedback controls, communication protocols and their applications, visit our Web sites at www.dynapar-encoders.com. For details on our comprehensive product and services portfolio, visit our Danaher Industrial Controls Group Web site at: http://www.danaherindustrialcontrols.com. Encoders & Resolvers Danaher Industrial Controls industrial strength and light-duty encoders and resolvers span applications from heavy-industrial/mill-duty to light-duty office and assembly line applications. From the strengths of our Dynapar, Hengstler and NorthStar brands, we offer more than 45 types of encoders to provide speed, linear movement and position measurement in diverse applications. Our Harowe brand resolvers are the first choice for feedback in adverse operating conditions involving extreme temperature, high shock and vibration and dirty environments. Rugged, noise resistance and brushless, these resolvers are trusted for non-stop performance in tough conditions. 9

Controllers West offers the broadest line of versatile and affordable temperature and process controllers for the European and Asian marketplace. Partlow offers an equally expansive line of process controllers and circle chart temperature recorders for the Americas equipped with diverse state-of-the-art capabilities. The Hengstler brand includes program and industrial controllers that are also well known in Europe. Compact Hengstler controllers are trusted for ease of operation, latest technology, value and short lead times. All are reputable and recognized world brands that are part of an expanding family of Danaher process automation controls available around the globe and locally supported Recorders Reliable Partlow, Rustrak and LFE brand circle chart recorders provide rugged, reliable and versatile control of your process applications. From quality validation, trend analysis and product safety applications, Danaher Industrial Controls recorder products offer and excellent value while providing the unique benefit of a paper document record of process results for traceability. 10

Counters No company offers a broader selection of counters, timers, and indicators. Our Veeder-Root brand, the best-known name in counting, offers rugged and economical mechanical and electric totalizing counters. Veeder-Root also offers a complete line of proximity switches, sensors and motion detectors. Under the Dynapar brand, a respected leader in motion control, we offer you a versatile line of rate, speed, and multifunction indicators, and temperature/motion controllers featuring sophisticated measurement techniques. Timers & Indicators Our Eagle Signal brand, the premier name in timing, provides indicating and control products that reflect more than 70 years of electromechanical and electronic design experience. Ranging from popular electromechanical to powerful microprocessor-based control timers, we offer a full range of panel mount, reset and repeat cycle timers as well as time-delay and general-purpose relays. 11

Want to Learn More? Danaher Industrial Controls Group (DICG) Solutions Partners are trained to help you find the right factory or process automation product to improve your current processes, cut costs, and eliminate human errors. From our broad lines of reputable brand temperature controller, recorder, encoder and counter/timer products, our partners can provide you with a control solution that is customtailored to your specific needs. For the name of a recommended DICG Solutions Partner, call us toll-free at +1.800.873.8731 or visit our Web site at http://www.danaherindustrialcontrols.com. With our 230-plus years of automation controls experience and our worldwide network of solutions partners, we hope that you will consider Danaher Industrial Controls as a trusted resource in helping you find the right control solution to fit your needs. Dynapar, Eagle-Signal, Hengstler, Harowe, NorthStar, Partlow, Veeder-Root and West are registered trademarks of Danaher IndustrialControls. All other trademarks or brand names are trademarks and property of their respective owners. All right s reserved. 12