US Digital s S2 Series Incremental Rotary Shaft Encoder and Interface

Similar documents
Three Channel Optical Incremental Encoder Modules Technical Data

The quadrature signals and the index pulse are accessed through five inch square pins located on 0.1 inch centers.

CHAPTER 11: Flip Flops

Description. Dimensions. Features. precision works better

Agilent AEDB-9140 Series Three Channel Optical Incremental Encoder Modules with Codewheel, 100 CPR to 500 CPR Data Sheet

ENCODER TEST MODULE APPLICATION GUIDE

Small Optical Encoder Modules 480lpi Digital Output. Features. Applications VCC 3 CHANNEL A 2 CHANNEL B 4 GND 1

HEDS-9000/9100 Two Channel Optical Incremental Encoder Modules. Features. Applications

Decimal Number (base 10) Binary Number (base 2)

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

X8 Option 2 - Technology

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Encoders. the incremental encoders format such as relective optical technology, transmissive optical technology

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

MILE Encoder for EC 90 flat

Chapter 8. Digital and Analog Interfacing Methods

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

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

Pulse Width Modulation Applications

Servo Info and Centering

Pulse Width Modulation

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Bourns Rotary Encoders. Short Form Brochure Revision 2

FRC WPI Robotics Library Overview

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Data Sheet. AEDR-8000 Series Reflective Surface Mount Optical Encoder. Description. Features. Applications

MAS.836 HOW TO BIAS AN OP-AMP

Wiki Lab Book. This week is practice for wiki usage during the project.

EnDat 2.2 Bidirectional Interface for Position Encoders

DC Motor with Shaft Encoder

BIODEX ADDENDUM BIODEX EMG/ANALOG SIGNAL ACCESS CONFIGURATION UTILITY SOFTWARE FOR SYSTEM 3 REVISION 2 AND SYSTEM 4 DYNAMOMETERS

AP-1 Application Note on Remote Control of UltraVolt HVPS

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

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

MicroMag3 3-Axis Magnetic Sensor Module

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

A Digital Timer Implementation using 7 Segment Displays

Chapter 8. Digital and Analog Interfacing Methods

Allen-Bradley/Rockwell

APPENDIX. SureSERVO QUICK START GUIDE. In This Appendix... Quick Start for SureServo Drives...A 2. Tuning Quick Start for SureServo Drives...

Data Sheet. Reflective Surface Mount Optical Encoder. AEDR-8300 Series Encoders. Description. Features. Applications

AAT001-10E TMR Angle Sensor

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

Wireless Security Camera

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

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

MXD7202G/H/M/N. Low Cost, Low Noise ±2 g Dual Axis Accelerometer with Digital Outputs

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

How To Power A Power Supply On A Microprocessor (Mii) Or Microprocessor Power Supply (Miio) (Power Supply) (Microprocessor) (Miniio) Or Power Supply Power Control (Power) (Mio) Power Control

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

Chapter 8. Digital and Analog Interfacing Methods

Agilent AEDR-8300 Series Encoders Reflective Surface Mount Optical Encoder Data Sheet

Operating Temperature: 0 o to 70 o C mm (0.89 inches) ... Incremental Front View

HDMM01 V1.0. Dual-axis Magnetic Sensor Module With I 2 C Interface FEATURES. Signal Path X

Ocean Controls RC Servo Motor Controller

Three Axis TB6560 CNC Driver Users Manual

Torque and Rotary Motion

Technical data. General specifications. Signal voltage V DC Signal duration. 1 s Input 2. Signal voltage. 1 s Analog output.

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

SV 210 Signal Splitter and Incremental Converter for Sine-Cosine Encoders

US-Key New generation of High performances Ultrasonic device

DS1104 R&D Controller Board

CD4013BC Dual D-Type Flip-Flop

BUILD A REVOLUTE COORDINATE ARM

DS1621 Digital Thermometer and Thermostat

US-SPI New generation of High performances Ultrasonic device

DS1621 Digital Thermometer and Thermostat

NECOCAR. International CATIA Project

maxon sensor maxon sensor

CD4027BM CD4027BC Dual J-K Master Slave Flip-Flop with Set and Reset

Contactless Encoder RI360P0-QR24M0-INCRX2-H1181

Digital to Analog and Analog to Digital Conversion

QR12 (1.22 ) Diameter Optical Encoder

n Measuring range 0... ± 0,02 Nm to 0... ± 1000 Nm n Low linearity deviation of ± 0.05 % F.S. n Intelligent operating state indicator

Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial

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

APEX Robot Rabbit. Tel:

-Encoder with end or hollow shaft ø10-15 mm. hollow shaft ø12 mm -Resolution max. 32 ppr. -Resolution max ppr -Magnetic sensing

3-Digit Counter and Display

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

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

RADIANT PLASMA 4700 Plasma Spark Generator

To Purchase This Item, Visit BMI Gaming Operation Manual

The components. E3: Digital electronics. Goals:

W07 Sensors and Measurement (1/2) Yrd. Doç. Dr. Aytaç Gören

Chapter 6: From Digital-to-Analog and Back Again

Rotating Machinery Diagnostics & Instrumentation Solutions for Maintenance That Matters

MDrive Plus Stepper motors with integrated electronics. MDrive Plus 17 CANopen

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

Balun Parameter Definitions & Measurement May 2004

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

Revision History. Date Page Summary. Approved By: Document Number: OG24161 r.0 Page 1 of 11

Development of a Simple Sound Activated Burglar Alarm System

Modification of an AOR AR-8600 receiver to tune it with a ACECO FC-3002 frequency finder

In-System Programming Design TM. Guidelines for ispjtag Devices. Introduction. Device-specific Connections. isplsi 1000EA Family.

Tips For Selecting DC Motors For Your Mobile Robot

A Practical Guide to Free Energy Devices

Transcription:

Special Sensor Report: US Digital s S2 Series Incremental Rotary Shaft Encoder and Interface Date: 12/09/2003 Student Name: Kristopher Anderson TA: Uriel Rodriguez, Louis Brandy Instructor: Dr. A. Arroyo

Description The US Digital S2 Series rotary shaft encoder is an optical rotary-to-digital converter. The encoder outputs a quadrature TTL level signal indicating the speed and direction of the shaft. The encoders utilize an unbreakable Mylar disk, metal shaft and bushing, LED light source, and monolithic electronics. The encoder can be used to measure the angular position of the shaft by connecting it to a US Digital LS7183 or LS7184 Encoder to Counter Interface Chip. This chip is then used to drive a counter such as Texas Instrument s SN74HC193 or CD4516B. Explanation Rotary encoders are created in two forms: 1. The absolute encoder where a unique digital word corresponds to each rotational position of the shaft. 2. The incremental encoder, which produces digital pulses as the shaft rotates, allowing measurement of relative position of shaft. Absolute encoders have the advantage of knowing the position of the shaft at all times. Incremental encoders only know the position of the shaft relative to a starting position or an index position. Incremental encoders have the advantage of a simpler construction and thus a much lower cost. This report focuses on incremental encoders; for more information on absolute encoders, check US Digital s website: http://www.usdigital.com/, or check the references at the end of this paper. Inside of an incremental rotary encoder is a disk with a pattern around the edges. The patterns are evenly spaced around the disk. These patterns either block light from an LED light source or allow it to pass through to a photodetector. Figure 1

An incremental encoder uses two LEDs and two photodetectors to produce the quadrature output signal. The LEDs are spaced so as to produce signals that are 90 degrees out of phase with each other when the disk spins. Figure 2 The angular speed of the disk can be measured by the frequency of the signals, the direction of motion can be determined by looking at which signal leads the other. Figure 3 The encoder interface chip uses these signals to produce clock signals for a counter chip. The counter chip must be able to count up and down. Some counters have separate up and down clocks, others use a single clock and a direction input. The chip used in the circuit described below uses the latter. Be sure to get an encoder interface chip that matches your type of counter. Most counter chips are of the 4 bit variety, but they can be connected together using their carry signals to count using more bits. Incremental encoders can also have an index channel. This signal corresponds to a single shaft position. It is active whenever the shaft is in that exact position. It can be used as a reference from which positions are obtained. In the circuit below, the index channel is used to reset the counters. 8 Bit Angular Position Circuit The circuit on the next page was used by my robot to measure the angle of an inverted pendulum. The pendulum was attached to the shaft of the encoder. The pendulum was only allowed to swing on a small arc (about 50 degrees), so only 8 bits were needed for measurement. It uses the US Digital S2-2048-I-B-M6. The 2048 means the encoder has 2048 counts per revolution (the highest available). I indicates that the encoder has an index channel. B means the encoder uses ball bearings for low friction. M6 indicates a 6mm diameter shaft. The LS7184 chip uses a bias resistor to set the width of the clock pulse signal. Some counters require the clock to stay on longer than others. You want to set the clock signal

as small as possible, however, to be able to count as fast as possible. On the datasheet for the CD4516 counter, it states that the minimum clock pulse width is 150 ns when the supply voltage is +5 volts. From the chart on the LS7184 datasheet, this corresponds to a resistor value of 100 kohms. Pin 6 on the LS7184 chip is the mode pin. The chip can send out clock pulses at three speeds: 1X 2X and 4X. So 4X would send out four clock pulses for every one in 1X mode. The chip in this circuit is in 1X mode. See the datasheet for more info. The counter chips can be preset to a certain value, but that is not necessary in this circuit. All preset inputs are grounded and the Preset Enable pin is grounded as well. Advice Figure 4 Use the index channel. The encoder is pretty reliable, but it can be off sometimes. The index channel can be used to keep things in check. In my robot, I set it up so that the index is active when the pendulum is straight up. That way the index is

passed as many times as possible. With this setup, the measured angle is extremely reliable. US digital sells another encoder interface chip, the LS7166. This chip connects to the encoder and contains a 24 bit counter. There are obvious advantages to this chip to the circuit presented above, but it requires control from a microprocessor. The 24 bit counter is accessed a few bits at a time. It would probably be good for an application with less space available that requires a high resolution counter. Don t forget to put bypass capacitors on all of the chips. There are a lot of pulses being sent, so you want to be sure that the chips all get power. Incremental encoders can be very susceptible to electrical noise. Keep the encoder and circuit away from motors and other noise producing devices. Make sure that the ground circuit is clean. Keep the wires between the encoder and the counter short. US Digital has a lot of information in its encoder FAQ: http://www.usdigital.com/knowledge/encoderfaq.shtml Pricing and Availability The S2 incremental encoder is available from US Digital at a base price of $49. Options add to the price. I used the S2 with 2048 counts per revolution, which raises the price to $58. The ball-bearing option raises the price by $8, and the 6mm shaft option is $5. I chose the 6mm shaft because I had other parts that were 6mm. US digital sells wires to connect to the encoder for $8. A compatible connector could probably be found for less money, but you might as well save yourself some time and buy this one. The total cost for the encoder and wires was $79. The LS7184 interface chip was also from US Digital. The price for the chip is $3.05. Remember to buy the correct interface chip for your counter (7184 or 7183). The CD4516 counters are from Texas Instruments. Texas instruments will send free samples to students. Check the website at www.ti.com and look for the samples link. Sources US Digital website: http://www.usdigital.com US digital S2 encoder information page: http://www.usdigital.com/products/s1s2/ US Digital encoder interface chip: http://www.usdigital.com/products/ls7183-ls7184/ Texas Instruments website: http://www.ti.com

CD4516 counter datasheet: http://focus.ti.com/docs/prod/folders/print/cd4516b.html LS7184 counter datasheet: http://focus.ti.com/docs/prod/folders/print/sn74hc193.html