Precision Robotics R. M. Satterthwaite R. Shockency Advised By: Dr. B. D. Huggins Mr. C. Mattus.

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

More fun with Timer/Counters
Programmable Interval Timer
Proximity Sensor Theremin Khoa Nguyen Walter Hudson Dennis Gilbert G. Hewage Thushara.
L.
Active Suspension System Test Platform Bradley University Department of Electrical & Computer Engineering By: Craig Chan & Olusegun Michael Abidoye Advisor:
Motor Control of an Oscillating Pendulum Nick Myers and Chirag Patel March 9, 2004 Advised by: Dr. James Irwin and Mr. Jose Sanchez Bradley University.
Mars Rover By: Colin Shea Dan Dunn Eric Spiller Advisors: Dr. Huggins, Dr. Malinowski.
Autonomous Sensor and Control Platform Rover Tae Lee Josh Reitsema Scott Zhong Mike Chao Mark Winter.
Team Mejor – The Spyder Critical Design Review -12/7/04.
The Solar Tracker. Solar Tracking Project Team Members: –Cristian Ruvalcaba –Ken Seal –David Clark –Mark McKinley –Richard DeJarnatt.
Team GPS Rover Critical Design Review Alex Waskiewicz Andrew Bousky Baird McKevitt Dan Regelson Zach Hornback.
Programmable logic and FPGA
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
Robotic Navigation Distance Control Platform By: Scott Sendra Advisors: Dr. Donald R. Schertz Dr. Aleksander Malinowski April 29, 2004.
Robotic Navigation Distance Control Platform By: Scott Sendra Advisors: Dr. Donald R. Schertz Dr. Aleksander Malinowski March 9, 2004.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Team Mejor – The Spyder Power Requirements and Distributions Dave Millar Brian Shula - 10/12/04.
Motor Control of an Oscillating Pendulum Nick Myers and Chirag Patel March 9, 2004 Advised by: Dr. James Irwin and Mr. Jose Sanchez Bradley University.
GPS-Guided Autonomous Vehicle.
ASPPRATECH.
Microprocessors Tutorial 2: Arduino Robotics
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
ENGR 6806 – Motor Control Prepared By: Rob Collett September 15, Office: EN2074.
A.G.I.L.E Autonomously Guided Intelligent Lawn Equipment Team Members: Brad Ramsey Derek Rodriguez Dane Wielgopolan Project Advisors: Dr. Joel Schipper.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 8.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
MICROPROCESSOR INPUT/OUTPUT
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
AMMAR HAJ HAMAD IZZAT AL KUKHON SUPERVISOR : DR. LUAI MALHIS Self-Driven Car.
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
RED ROVER Team CPNE Crossen Davis Peter Ramer Nancy Robinson Eric Rodriguez.
Advanced Microprocessor1 I/O Interface Programmable Interval Timer: 8254 Three independent 16-bit programmable counters (timers). Each capable in counting.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
By Tony Hoff ECE 4220 – Real Time Embedded Computing University of Missouri - Columbia Course Instructor: Dr. Guiherme DeSouza.
Timers and Interrupts Anurag Dwivedi. Let Us Revise.
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 4 Standard Single Purpose Processors: Peripherals.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Microprocessors Tutorial 2: Arduino Robotics. Agenda 1. Robot Anatomy 2. Sensor Review 3. PWM 4. MAKE: Fade 5. Motors 6. H Bridge 7. Robot Control library.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
ROBOTIC VEHICLE FOR STORES MANAGEMENT
Robotic Navigation Distance Control Platform By: Scott Sendra Advisors: Dr. Donald R. Schertz Dr. Aleksander Malinowski December 9, 2003.
PULSE WIDITH MODULATION EE 587 Presented by Viswanadha Kakarlapudi.
Robot Project by Ahmad Shtaiyat Supervised by Dr. Salem Al-Agtash.
Seth Schwiethale James Crosetto James Ellison.  square pulse of ms, repeats every 20 ms  It is the same for both steering and acceleration 
The Surveyor By: Randy Direen, David Cox, Ali Abali, Leonardo Carrasco, Lisa Prince Preliminary Design Review January 25, 2005.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Module 8 Tutorial  An 8086 system is used for controlling the speed of a motor. The motor can operate at 5 different speeds (1- 5).  The speed.
GreenJacket IMDL Summer 2002 Final Report Matthew Chernosky August 6, 2002.
Mobile phone keypad sensed password entry for door opening.
Motors & Motor Controllers
Introduction to Motors, servos and steppers
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Application Case Study Security Camera Controller
Timers and Event Counters
Using Arduino to modify RC controls Nick Carter 12/31/2015
Introduction to Servos
Microcontroller Applications
Introduction to microprocessor (Continued) Unit 1 Lecture 2
Introduction of microprocessor
Pulse Width Modulation (PWM) Motor Feedback - Shaft Encoder
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Controlling YOUR ROBOT
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Register sets The register section/array consists completely of circuitry used to temporarily store data or program codes until they are sent to the.
Presentation transcript:

Precision Robotics R. M. Satterthwaite R. Shockency Advised By: Dr. B. D. Huggins Mr. C. Mattus

Introduction Our objective is to create a low cost robotic platform capable of precise movements related to user inputs. Our objective is to create a low cost robotic platform capable of precise movements related to user inputs. Provide a basic platform for future projects to start from. Provide a basic platform for future projects to start from.

Outline The Complete System The Complete System Another fabulous drawing by Rob. “Paint Rules!!” Another fabulous drawing by Rob. “Paint Rules!!” Microprocessor Microprocessor The heart and soul The heart and soul Power Electronics Power Electronics H – Bridges, the devil incarnate H – Bridges, the devil incarnate CPLD CPLD The motor reader The motor reader Platform Platform Bringing it all together into one cute package Bringing it all together into one cute package

System Note: Paint is the best Graphics program on The market.

Microcontroller Data Processing Data Processing CPLD interface to reduce work load CPLD interface to reduce work load Performs real time speed, distance, and turning calculations Performs real time speed, distance, and turning calculations Acts as a memory device Acts as a memory device Crude Closed Loop Controller Crude Closed Loop Controller Speed control for 2 motors Speed control for 2 motors Distance control for 2 motors Distance control for 2 motors Turning control for 1 vehicle Turning control for 1 vehicle 500 Hz, 1791 Step Variable PWM 500 Hz, 1791 Step Variable PWM

User Interface Keypad Entry Keypad Entry 2 = Forward 2 = Forward 8 = Backward 8 = Backward 4 = Left 4 = Left 6 = Right 6 = Right E = Enter E = Enter F = Clear F = Clear LCD Menu System LCD Menu System Handles Single Commands Handles Single Commands

User Interface

8 Bit Representation of Motor Speed Used as a Control Variable

01791 FFFF HEXF900 HEXComplement Point 5 Volts 0 Volts Closed Loop Control

The PWM Signal 500 Hz 500 Hz 1791 divisions 1791 divisions.0558% increments of the duty cycle.0558% increments of the duty cycle CRCH, CRCL CRCH, CRCL Sets the PWM Period Sets the PWM Period FFFF-F900 = 6FF (Produces 2 ms interrupt) FFFF-F900 = 6FF (Produces 2 ms interrupt) CCH1, CCL1 CCH1, CCL1 Controls the “Complement Point” of the PWM Controls the “Complement Point” of the PWM The process is backwards because the hardware uses a count overflow to signify the end of the process. The process is backwards because the hardware uses a count overflow to signify the end of the process. FFFF = overflow point FFFF = overflow point FFFF = 0% Duty Cycle FFFF = 0% Duty Cycle F900 = 100% Duty Cycle F900 = 100% Duty Cycle

H-Bridges What are they? What are they? Power Transistor array with logic for direction control and breaking. Power Transistor array with logic for direction control and breaking. Logic ports not very robust Logic ports not very robust Destructive Noise Destructive Noise Power and grounding Power and grounding Noise from motors Noise from motors Noise to encoder wheels Noise to encoder wheels

The H-Bridge Yes, electrons are blue….

Intermission

CPLD Why CPLD? Why CPLD? Speed Speed Non-volatile memory Non-volatile memory Easy diagnostics and testing Easy diagnostics and testing Mass Production Mass Production Two CPLDs Needed Two CPLDs Needed CPLD 1 – Freq Counter/Angle (75% Utilized) CPLD 1 – Freq Counter/Angle (75% Utilized) CPLD 2 – Distance (65% Utilized) CPLD 2 – Distance (65% Utilized)

CPLD - Counter Frequency counter for motors 1 and 2 Frequency counter for motors 1 and 2 Real time calculations of speed for both motors Real time calculations of speed for both motors Refresh rate of 10 Hz Refresh rate of 10 Hz Cascaded counters (8-bit and 4-bit) Cascaded counters (8-bit and 4-bit) First count = 0 to 15 First count = 0 to 15 42,000Hz / 256 = 160, 160 / 10Hz = 16 42,000Hz / 256 = 160, 160 / 10Hz = 16 Two counts, First count and Sum count Two counts, First count and Sum count Check and Sent Check and Sent

CPLD – Distance Distance calculation code Distance calculation code Allows distance count in CM and M Allows distance count in CM and M Max of 256 Meters Max of 256 Meters Increments register for microprocessor Increments register for microprocessor 663 counts per CM 663 counts per CM 500 * 65.5 / 49.4 = or 0.007% error 500 * 65.5 / 49.4 = or 0.007% error 0.67CM error per 100Meters 0.67CM error per 100Meters On CPLD 2, 4 registers, 2 Per Motor On CPLD 2, 4 registers, 2 Per Motor

CPLD - Angle Angle calculation code Angle calculation code Allows angle calculation to 1º Allows angle calculation to 1º 2 Registers, 1: 0º - 179º, 1: 180º increments 2 Registers, 1: 0º - 179º, 1: 180º increments Increments register for microprocessor Increments register for microprocessor At 38.88CM width, 225 counts per degree At 38.88CM width, 225 counts per degree (38.88 * π * ) / 360 = or 0.03% Error (38.88 * π * ) / 360 = or 0.03% Error 0.1º error per 360º 0.1º error per 360º On CPLD 1, 2 Registers, 1 Motor On CPLD 1, 2 Registers, 1 Motor

CPLD - Addressing Interface to the microprocessor code Interface to the microprocessor code 8 registers addressed on 2 CPLDs 8 registers addressed on 2 CPLDs Enable and 4 registers each using 3 address lines Enable and 4 registers each using 3 address lines Tri state buffer on EMAC bus lines Tri state buffer on EMAC bus lines Problems Problems Can’t tri state parallel port pins or microprocessor port pins Can’t tri state parallel port pins or microprocessor port pins Frequency input can not be same pin as clock Frequency input can not be same pin as clock

Platform Cut and milled, then folded and bolted Cut and milled, then folded and bolted Symmetrical for turning Symmetrical for turning Wheels encased for less stress on the motor shafts Wheels encased for less stress on the motor shafts Casters allow for pivot turning Casters allow for pivot turning Bearings – Nylon for casters and drive wheels Bearings – Nylon for casters and drive wheels

Platform Power switch and charging switch in one! Power switch and charging switch in one! Batteries and motors on bottom plate Batteries and motors on bottom plate All electronics on top two tiers All electronics on top two tiers Hardboard for future changes is controlling hardware Hardboard for future changes is controlling hardware Central Disconnects Central Disconnects

Platform

Electronics

Complete System

It’s ALIVE!!

Questions