Servo Motor Control Demonstration.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
KEB COMBIVERT F5-M Exercises.
Engineer Training XL1200 Motion Control System. Engineer Training XL1200 Motion Control System Confidential 2 Motion System The XLjet motion system is.
Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
Servos The material presented is taken from a variety of sources including:
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
EET 2261 Unit 13 Controlling Stepper Motors and Servos  Read Almy, Chapter 21.  Lab #13 due next week.  Final Exam next week.
L.
EML 2023 – Motor Control Lecture 2 – Motor. EML 2023 Department of Mechanical and Aerospace Engineering Let’s answer 3 questions. 1.How is the motor held.
Digital Tachometer ENGR 4803 Electromechanical Systems & Mechatronics.
Wireless Surveillance Vehicle Lance P. Riegert Rodrigo A. Urra Steve C. Wilson September 18, 2007Wireless Surveillance Vehicle1 of 20 Senior Design Project.
FOLLOWER SENSORS AND ACTUATORS EE 552 INTSTRUCTOR :Dr MOHAN KRISNAN BY MOHAMMED KASHIF IQBAL ANESH BODDAPATTI UNIVERSITY OF DETROIT MERCY.
Secret Door Knock Detector
SENIOR DESIGN 10/16.
CR1000s are only one part of a data acquisition system. To get good data, suitable sensors and a reliable data retrieval method are required. A failure.
ET 332a Dc Motors, Generators and Energy Conversion Devices 1.
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
1 Motors & Motor Controllers ECE AC or DC Motors AC –Few robots use AC except in factories –Most of those that use AC first convert to DC DC –Dominates.
EML 2023 – Motor Control Lecture 3 – Feedback Sensor Optical Encoder.
Servo Motors # A servo is a motor that you can position at any angle very accurately. # Servos have a limited servo range; most servos have a range of.
1 Servo Motor. 2 Overview A servo motor is a motor that is only capable of rotating 180 degrees A servo motor is controlled by giving it an angle to proceed.
Applied Control Systems Robotics & Robotic Control
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
Servo Motor Control. EML 2023 Department of Mechanical and Aerospace Engineering Design Project You are to design a mechanical device that can tilt a.
1 L Fall 2003 – Introductory Digital Systems Laboratory Motors and Position Determination.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Servo Motor Control Demonstration. EML 2023 Department of Mechanical and Aerospace Engineering motor with gear reducer flex coupling incremental optical.
Digital Electronics and Computer Interfacing
Servo Motor Control. EML 2023 Department of Mechanical and Aerospace Engineering Design Problem You are to design an automated goalie for an air hockey.
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
ELECTRONICS PRIMER II.
Servo Motor Control. EML 2023 Department of Mechanical and Aerospace Engineering Design Problem You are to design an automated goalie for an air hockey.
Servos The material presented is taken from a variety of sources including:
EML 2023 – Motor Control Lecture 1 – Closed Loop Motor Control.
QUAD POD TRANSFORMABLE VEHICLE Supervisor: Dr. Samer Mayaleh Ala’ Lahham Basmah AbdAlrahman Leena Talalweh Department of Electrical Engineering Quadpod.
MOTORS. Definition Of Motor That powered by electricity or internal combustion, that supplies motive power for a vehicle or for some other device. A device.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Servo Motor Control.
STEP MOTOR Yisheng Zhang. Overview What is a step motor? How to control it? Why to use it? Where to use it? How to select it? Where to get it?
1 BOE-BOT Lecture #2 DE - Digital Electronics Servos and the BOE-BOT.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Limited rotation servo basics David Hall output shaft servo horn red wire = 5V + black wire = Gnd - white wire = control signal standard servo.
DC motor principles Speed control Direction Stepper motor principles
Introduction to VEX® components
Arduino Application: Speed control of small DC Motors
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Motors & Motor Controllers
Logic Gates Unit 16.
Introduction to Motors, servos and steppers
Introduction to Mechatronics
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Intro to USB-6009 DAQ.
Introduction to Servos
Ping-Pong Ball Levitation
Servos The material presented is taken from a variety of sources including:
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Lesson 2: Introduction to Control programming using Labview
Rotary Encoders Cedric Pinder Major: Computer Engineering.
Output Relay, Optoisolator, and Stepper motor interfacing with AVR
QUANSER Flight Control Systems Design 2DOF Helicopter 3DOF Helicopter 3DOF Hover 3DOF Gyroscope Quanser Education Solutions Powered by.
Secret Door Knock Detector
EET 2261 Unit 12 Controlling Stepper Motors and Servos
Motors and Position Determination
UNIT 11: RC-SERVOMOTOR CONTROL
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Presentation transcript:

Servo Motor Control Demonstration

incremental optical encoder motor with gear reducer flex coupling limit switch homing switch incremental optical encoder

Closed-Loop Control How does the computer do this? computer controls the current going to the motor motor gear reducer desired steering angle compared to current steering angle gear reducer and flex couplings (if needed) connect motor to steering shaft incremental optical encoder (with homing switch to initialize position) feeds back current motor position How does the computer ‘read’ the encoder information?

Computer Interface To command the motor: To ‘read’ the encoder: The computer must be able to generate an analog voltage signal that is somehow interpreted by the motor. To ‘read’ the encoder: The computer must be able to read the +5V and 0V pulses coming from the two light detectors on the optical encoder.

Interface to Computer We will use a National Instruments USB-6009 data acquisition (DAQ) device specs USB interface to PC 8 channels of analog input, 0-5V 2 channels of analog output 0-5V 5 mA each 12 channels of digital input/outputs 0 or 5V, (8.5 mA for outputs) 1 counter

NI USB-6009

Interface to Computer

Honeywell / Clarostat 600128CN1 Allied Electronics part # 753-0059 cost: $41.67

Computer Interface Let’s start with digital inputs to interface to the optical encoder. notice that there are four wires

channels A & B will be either 0V or 5V depending on whether that light detector detects light through a slit or not ground channel A channel B +5V power

ground channel A channel B +5V power

Encoder Demo Program

Closed-Loop Control How does the computer do this? motor gear reducer computer controls the current going to the motor motor gear reducer desired steering angle compared to current steering angle gear reducer and flex couplings (if needed) connect motor to steering shaft incremental optical encoder (with homing switch to initialize position) feeds back current motor position

Computer Interface to Motor To control the motor: the computer must be able to generate an analog voltage signal however, the typical analog voltage signal that a computer generates does not have sufficient current to power the motor an amplifier is used a power supply provides 24V (7.5 amp max for our case) to the amp the computer generates an analog voltage in the range of -5V to +5V; 0V means the motor is to stop ; -5V means the motor is to turn at a maximum speed CCW ; +5V means the motor is to turn at a maximum speed CW

Interface to Computer

command analog signal emergency stop to motor from 24V power supply

Issue with USB-6009 & Amp The analog command signal to the amp must be from -5V to +5V. A negative voltage causes the motor to turn in the opposite direction. The USB DAQ can only output from 0 to +5V. How can we reverse the direction of the motor?

When we want the motor to go in the other direction, switch these two wires. command analog signal emergency stop to motor from 24V power supply

Change motor direction To go CW, set this digital output pin to TRUE (+5V). To go CCW, set this digital output pin to FALSE (0V).

Interface to Computer

Interface to Computer

Homing Switch 0V +5V to input pin on USB DAQ

Interface to Computer 0V from USB-6009 +5V from USB-6009

desired steering angle compared to current steering angle digital signal E stop switch input power analog signal computer controls the current going to the motor USB connection desired steering angle compared to current steering angle gear reducer and flex couplings (if needed) connect motor to steering shaft USB connection incremental optical encoder (with homing switch to initialize position) feeds back current motor position digital signal homing switch 2 digital signals

Design Project If you decide to use a servo motor in your design: include an optical encoder for motor position feedback include a homing switch to initialize your position include E-stop switches as needed