Position and Velocity Sensors

Similar documents
Position Sensors. The Potentiometer.

Shaft encoders are digital transducers that are used for measuring angular displacements and angular velocities.

Massachusetts Institute of Technology. Lab 2: Characterization of Lab System Components

Computer Numeric Control

Feedback Devices. By John Mazurkiewicz. Baldor Electric

As before, the speed resolution is given by the change in speed corresponding to a unity change in the count. Hence, for the pulse-counting method

Lab Exercise 9: Stepper and Servo Motors

SRV02-Series. Rotary Servo Plant. User Manual

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

Sensors and Sensing Motors, Encoders and Motor Control

CS545 Contents XIV. Components of a Robotic System. Signal Processing. Reading Assignment for Next Class

Electronic Speed Controls and RC Motors

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop can only assume a limited range of angular

Actuators. EECS461, Lecture 5, updated September 16,

Administrative Notes. DC Motors; Torque and Gearing; Encoders; Motor Control. Today. Early DC Motors. Friday 1pm: Communications lecture

ME 3200 Mechatronics I Laboratory Lab 8: Angular Position and Velocity Sensors

CIS009-2, Mechatronics Signals & Motors

SYNCHRONOUS MACHINES

Robot Sensors Introduction to Robotics Lecture Handout September 20, H. Harry Asada Massachusetts Institute of Technology

Automobile Prototype Servo Control

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

UNIVERSITY OF JORDAN Mechatronics Engineering Department Measurements & Control Lab Experiment no.1 DC Servo Motor

Basic NC and CNC. Dr. J. Ramkumar Professor, Department of Mechanical Engineering Micro machining Lab, I.I.T. Kanpur

PVA Sensor Specifications

Automatic Control Systems 2017 Spring Semester

Water Meter Basics Incremental encoders

DC motor control using arduino

ACTUATORS AND SENSORS. Joint actuating system. Servomotors. Sensors

2. Experiment s Title: The Linear and Rotary Potentiometer - AMEM 211

Page ENSC387 - Introduction to Electro-Mechanical Sensors and Actuators: Simon Fraser University Engineering Science

Laboratory Tutorial#1

Modeling Position Tracking System with Stepper Motor

Hobby Servo Tutorial. Introduction. Sparkfun:

Robot Actuators. Motors and Control. Stepper Motor Basics. Increased Resolution. Stepper motors. DC motors AC motors. Physics review: Nature is lazy.

Chapter 6: Sensors and Control

Penn State Erie, The Behrend College School of Engineering

Data Sheet. AEDB-9340 Series 1250/2500 CPR Commutation Encoder Modules with Codewheel. Features. Description. Applications

Elements of Haptic Interfaces

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

Actuator Components 2

Application Note Using MagAlpha Devices to Replace Optical Encoders

Technological Studies. - Applied Electronics (H) TECHNOLOGICAL STUDIES HIGHER APPLIED ELECTRONICS OP-AMPS. Craigmount High School 1

Data Sheet. AEDT-9340 Series High Temperature 115 C 1250/2500 CPR 6-Channel Commutation Encoder. Description. Features.

Introduction to MS150

Lab 5: Inverted Pendulum PID Control

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Glossary. Glossary Engineering Reference. 35

Sensors and Sensing Motors, Encoders and Motor Control

ECET 211 Electric Machines & Controls Lecture 4-2 Motor Control Devices: Lecture 4 Motor Control Devices

Motomatic Servo Control

9/28/2010. Chapter , The McGraw-Hill Companies, Inc.

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor

Feed-back loop. open-loop. closed-loop

Continuous Sensors Accuracy Resolution Repeatability Linearity Precision Range

7 Lab: Motor control for orientation and angular speed

Figure 1.1 Mechatronic system components (p. 3)

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits

Teaching Mechanical Students to Build and Analyze Motor Controllers

Figure 2.1 a. Block diagram representation of a system; b. block diagram representation of an interconnection of subsystems

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

A COMPARISON STUDY OF THE COMMUTATION METHODS FOR THE THREE-PHASE PERMANENT MAGNET BRUSHLESS DC MOTOR

Data Sheet. AEDS-9240 Series 360/720 CPR Commutation Encoder Module. Features. Description. Applications

Lab 12 Microwave Optics.

Categories of Robots and their Hardware Components. Click to add Text Martin Jagersand

Industrial Sensors. Proximity Mechanical Optical Inductive/Capacitive. Position/Velocity Potentiometer LVDT Encoders Tachogenerator

Lecture 5. In The Name of Allah. Instrumentation. Dr. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

High Performances. Stainless steel 5% - 95% (non condensing) Vibrations (random, 2 khz) Shocks (18 ms, ½ sine) 4.1 ±0.1 Ø ±0.03 Ø 7.4 ±0.

PART 2 - ACTUATORS. 6.0 Stepper Motors. 6.1 Principle of Operation

DynaDrive INFORMATION MANUAL SDFP(S)

Servo Controlled Automatic Voltage Stabilizer with Automatic High & Low Cut-Off Provision

Sensors and Actuators

09-2 EE 4770 Lecture Transparency. Formatted 12:49, 19 February 1998 from lsli

Lab 9. Speed Control of a D.C. motor. Sensing Motor Speed (Tachometer Frequency Method)

CNC Machine Feedback Devices

DC SERVO MOTOR CONTROL SYSTEM

User Interface Engineering FS 2013

BME/ISE 3511 Bioelectronics I - Laboratory Exercise #4. Variable Resistors (Potentiometers and Rheostats)

Electronic Instrumentation and Measurements

Single-phase or three phase AC220V (-15% ~ +10%) 50 ~ 60Hz

EL6483: Sensors and Actuators

New Long Stroke Vibration Shaker Design using Linear Motor Technology

Technical Cognitive Systems

AE2610 Introduction to Experimental Methods in Aerospace

Data Sheet. HEDL-65xx, HEDM-65xx, HEDS-65xx Series Large Diameter (56 mm), Housed Two and Three Channel Optical Encoders. Description.

Speed Feedback and Current Control in PWM DC Motor Drives

JUNE 2014 Solved Question Paper

Data Sheet. AEDx-8xxx-xxx 2- or 3-Channel Incremental Encoder Kit with Codewheel. Description. Features. Assembly View. Housing.

Servo Tuning. Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa. Thanks to Dr.

Comparative analysis of speed decoding algorithms for rotary incremental encoders

Brushed DC Motor System

Controlling and modeling of an automated guided vehicle

Electronic Systems - B1 23/04/ /04/ SisElnB DDC. Chapter 2

ELECTRONIC SYSTEMS. Introduction. B1 - Sensors and actuators. Introduction

C0104 PRESENTATION. DIMENSIONS (in mm) R 6.05 Ø R 8.45 Ø

UNIT 2: DC MOTOR POSITION CONTROL

SCS Automation and Control Ltd

Sfwr Eng/TRON 3DX4, Lab 4 Introduction to Computer Based Control

Transcription:

Position and Velocity Sensors Introduction: A third type of sensor which is commonly used is a speed or position sensor. Position sensors are required when the location of an object is to be controlled. Examples include The location of a vehicle on the road (preferably in the car lane as opposed to the ditch) The angle of a rocket as it moved from the hanger to the launch pad, The position of the aerlorons on an airplane, The speed of a vehicle for a cruise controller, etc. In each of these cases, a method for conveying information about the position, angle, or speed of an abject is required. This section looks at several types of position and speed sensors: Potentiometers: Angle is related to resistance Optical Encoders: Angle is related to a binary count Ultrasonic Range Sensors: Distance is related to a time delay, and Tachometers: Speed is related to voltage. Potentiometers: A potentiometer is a resistor with a center tap that can slide along the length. Both rotational and sliding potentiometers exist - although the rotational ones are less expensive and more common. For both types of potentiometers, the resistance Rab is proportional to angle (rotational) or position (slider). Some of the common characteristics for potentiometers are summarized below: Parameter Rotational Linear Ohms 10 to 10M Range 1 to 60 turns 2mm to 8m Linearity 0.002% to 0.1% of full scale Resolution 0.2 0 to 2.0 0 to 50um Max Freq Life approx 3Hz up to 4 x 10 8 cycles from R.P. Arney & J.G. Webster, "Sensors and Signal Conditioning," John Wiley & Sons, 1991. page 1 November 1, 2018

Potentiometers are very common and have some good features. They are easy to use They have high sensitivity, and Ceramic potentiometers have infinite resolution (in theory at least). The drawbacks to using potentiometers are They have high inertia and friction, They have a short life Wipers corrode and cause noise, and With wire wound potentiometers, the output changes in discrete steps, adding noise to the signal. Examples of using a potentiometer Problem 1: Use a 10k 3/4 turn potentiometer to output 0.. 10V: 0V at 90 degrees 10V at 180 degrees Solution: 3/4 turn is 270 degrees. Using a 10V power supply, the output will be at 90 degrees: (V out = 0V) 900 270 0 10V = 3.33V At 180 degrees (V out = 10V) 1800 270 0 10V = 6.66V As the input voltage goes up, the output voltage goes up. Connect to the + input. The output should be 0V when the input is 3.33V. Connect the offset to 3.33V. The gain is gain = change in output change in input = 10V 6.66V 3.33V = 3 Add a gain of 3.00. The resulting circuit is then: page 2 November 1, 2018

100k 300k +10V 270 deg 180 deg 90 deg 10k A Vout 0 deg 3.33V 100k 300k Note that the instrumentation amplifier loads the potentiometer so that the voltage at A is no longer linear with angle. Loading Effects on Potentiometers: In the above circuit, 400k is in parallel with the center tap to a virtual ground. When the center tap is at the top or bottom, Va = 10V and 0V respectively. In the middle where it should read -5.00V, however, the 400k will pull the voltage towards ground. If you let 'a' be the ratio of Rab to Rac, the voltage at A without loading will be linear V a = ar ar+(1 a)r V = av With loading, the voltage will be V a = which simplifies to V a = ar R L ar R L +(1 a)r V arr L arr L +(1 a)r(ar+r L ) V which is no longer linear in 'a'. To illustrate this, the voltage at Va for various values or the load resistance is shown below. page 3 November 1, 2018

Linearity of a Loaded Potentiometer. Lines show the ratio of the load to the potentiometer's full scale reading. Note that even though a potentiometer may be linear to within 0.2%, the loading of the 100k resistor can distort this read quite severely. In the worst case, the potentiometer barely responds until nearly at the full sweep. To prevent loading, typically a load of at least 10x the resistance of the potentiometer is required. This causes the potentiometer to be off by 2.5% at mid-scale from linear. Optical Encoders A second type of angular measuring device is an optical encoder. These are commonly found in robotic arms instead of potentiometers due to shortcomings of the latter. For example, A 0.2 degree error translates to 3.5mm at 1m. Most robotics require a precision of 0.1mm or better. 10 8 cycles is 11 days at one cycle per second. The potentiometers would need to be constantly replaced if used for repetitive tasks. Optical encoders offer a way to get better resolution without any physical contact. Description An optical encoder generates a square wave whose frequency is proportional to the speed the device is turning. Typically, a disk with white and black stripes is used with an optical detector: page 4 November 1, 2018

When the disk rotates, light and dark regions are brought between the light detector. This is then turned into a 0-5V signal. By counting the number of transitions, you can measure the motion of the disk and the sensor. Incremental Optical Encoder If the object you're measuring only goes in one direction, an incremental optical encoder will work. Incremental optical encoders have a single 0-5V output with the 0V or 5V being generate d when a white or black area is under the detector. By counting the number of transitions, you can measure the position of the device. By measuring the frequency of the square wave generated, you can measure the speed. You cannot measure direction of motion, however. Several types of incremental optical encoders are common. White and Black Paint of a Disk: This is used for optical encoders. These are more expensive ($40 to $100) but have higher resolution (128 to 512 pulses per rotation) Iron Teeth and a Magnetic Pickup: These are used to measure the speed of a gear (counting the rate the teeth pass by the magnetic sensor) in engines as well as with stair-masters. Insulators on a conductor: Alternating regions of insulation and bare copper, a brush can be used to generate 0-5V with a physical contact. This typically has low resolution (2-4 pulses per rotation) and lower life due to a physical contact but is less expensive ($10). Diffraction Gratings with an optical encoder Phase Quadrature Incremental Encoders The most common type of optical encoder uses two strips placed 90 degrees out of phase form each other. With this skew, the direction of motion can be determined as well as incremental position. For example, assume that the square waves, A and B, are generated from an incremental optical encoder. If it is turning clockwise, time goes from left to right. If it is turned counterclockwise, time goes right to left. The direction can be determined by observing the level of channel B at the rising or falling edge of A. If you move left to right (clockwise motion), B is always high on a rising edge on A and low on a falling edge on A. If you go from right to left (counterclockwise motion), B is low on a rising edge of A and page 5 November 1, 2018

high on a falling edge. This can then be used to drive an up-down counter. A simple circuit which almost works is as follows: A D-type flip-flop looks for the rising edge of Channel A. If channel B is high, the counter counts up on the rising edge of B. If low, the counter counts down. The problem with this circuit is that if you jiggle the sensor back and forth, you can get channel B to chatter - which the counter will interpret as motion. To fix this problem, you need to count on both the rising and falling edges of B. A circuit using a PIC microcontroller to do this is as follows: PIC18F4620 Channel A RB0 PORTC Channel B RB1 Binary Count PORTD RB0 detects edges on channel A (rising and falling) while RB1 detects edges on channel B (rising en falling). If the optical encoder outputs 500 pulses per rotation (per channel), the PIC will count 2000 edges per rotation (500 rising edges and 500 falling edges on channel A, ditto on channel B). Note that in both of these circuits, no zero position exists. To define where the count should start from. a limit switch is often used. The device is required to move in one direction until the switch is closed. This clears the counter and all positions are taken relative to this zero position. If the counter ever has an error in it, it can only be cleared by returning to this "home" position, closing the limit switch, and setting the count back to zero. Typically, phase quadrature incremental encoders will have 128 to 512 lines per rotation. When placed on the motor of a robotic arm, which is often geared down 127:1 or more, this results in over 16,256 (127x128) pulses per rotation of the robotic arm, or a resolution of 0.022 degrees. At 1 meter, this is a resolution of 0.38mm - a typical precision of a robotic arm. Absolute Position Encoders: page 6 November 1, 2018

An optical encoder with N channels (instead of just one or two) can measure angles to within one part in 2N. For example, if four channels are encoded as follows and the reading from the optical encoder was 1010, you would know the absolute position of the encoder is in region A. Knowing the absolute position can be a real advantage. The price, however, is more connection (N wires are required, along with power and ground) and cost. It is a lot cheaper to make one or two gratings than it is to make N with precise alignments. Tachometers The speed of a motor can be measured using an optical encoder. Here, the frequency of the square wave generated is the measure of the motor's speed. Such sensors are becoming more popular since Optical encoders are readily interfaced to computers, having a binary output, The output is linear with speed, No upper or lower limit exists on the linear region of the optical encoder. A more traditional form of tachometer is a DC servo motor. The dynamics of a DC servo motor are T = K t I a = Js 2 θ + Bsθ V = K t ω where KT is the motor's torque constant, IA is the armature current, J is the motor's inertia, B, the friction, and q the shaft position of the motor. The transfer function from Voltage to shaft position is θ = K t s (Js+B)(Ls+R)+K t 2 V or, going backwards, the transfer function from shaft speed (sq) to voltage is V = Js+B+K t 2 K t sθ At steady-state, the gain is then V = B+K t 2 K t sθ K t sθ Hence, if you spin a motor you produce a voltage. Any motor could be used as a tachometer. Tachometers are specialized motors which have Low inertia to prevent loading the device you're trying to measure, page 7 November 1, 2018

Low friction (for the brushes), and likewise Low current capabilities. By duality, you can interchange motors and tachometers. A motor will typically saturate more easily than a tachometer (i.e. have a nonlinear voltage vs. speed relationship) while a tachometer will have a poor torque constant and a low maximum torque. page 8 November 1, 2018