Precision Robotics - PowerPoint PPT Presentation

About This Presentation
Title:

Precision Robotics

Description:

Our objective is to create a low cost robotic platform capable of precise ... Casters allow for pivot turning. Bearings Nylon for casters and drive wheels. Platform ... – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 26
Provided by: randallmsa
Category:

less

Transcript and Presenter's Notes

Title: Precision Robotics


1
Precision Robotics
  • R. M. Satterthwaite
  • R. Shockency

Advised By Dr. B. D. Huggins Mr. C. Mattus
2
Introduction
  • 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.

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

4
System
Note Paint is the best Graphics program on The
market.
5
Microcontroller
  • Data Processing
  • CPLD interface to reduce work load
  • Performs real time speed, distance, and turning
    calculations
  • Acts as a memory device
  • Crude Closed Loop Controller
  • Speed control for 2 motors
  • Distance control for 2 motors
  • Turning control for 1 vehicle
  • 500 Hz, 1791 Step Variable PWM

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

7
User Interface
8
8 Bit Representation of Motor Speed Used as a
Control Variable
9
Closed Loop Control
5 Volts
0 Volts
0
1791
FFFF HEX
F900 HEX
Complement Point
10
The PWM Signal
  • 500 Hz
  • 1791 divisions
  • .0558 increments of the duty cycle
  • CRCH, CRCL
  • Sets the PWM Period
  • FFFF-F900 6FF (Produces 2 ms interrupt)
  • CCH1, CCL1
  • 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.
  • FFFF overflow point
  • FFFF 0 Duty Cycle
  • F900 100 Duty Cycle

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

12
The H-Bridge
Yes, electrons are blue.
13
Intermission
14
CPLD
  • Why CPLD?
  • Speed
  • Non-volatile memory
  • Easy diagnostics and testing
  • Mass Production
  • Two CPLDs Needed
  • CPLD 1 Freq Counter/Angle (75 Utilized)
  • CPLD 2 Distance (65 Utilized)

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

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

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

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

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

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

21
Platform
22
Electronics
23
Complete System
24
Its ALIVE!!
25
Questions
Write a Comment
User Comments (0)
About PowerShow.com