360 likes | 535 Vues
RAPID FIRE. Robotically Actuated Prevention/Intervention Device Full of Innovative and Responsible Engineering Preliminary Design Review January 26, 2010 Riley Pack Eric Pahlke Kelly Shuster Greg Stahl. Mission Statement.
E N D
RAPID FIRE Robotically Actuated Prevention/Intervention Device Full of Innovative and Responsible Engineering Preliminary Design Review January 26, 2010 Riley Pack Eric Pahlke Kelly Shuster Greg Stahl
Mission Statement • The RAPID FIRE system will be able to recognize moving targets in a room, choose the optimal target, and track it. Optimal Targets
Project Objectives • Recognize one or more moving targets using digital cameras. • Choose the optimal target, track its movement, and fire a projectile (foam dart or disk) at it. • Be capable of fully autonomous operation. • Have a user interface that allows for control of modes, manual turret control, and image viewing. • Operate off of AC wall power.
Block Diagram Camera Board(s) with FIFO Touchscreen DSP I/O Processor Power Control Processor Motors/ Mechanical Digital Connection Power Connection Analog Connection
Camera(s) Camera Board(s) with FIFO Touchscreen DSP I/O Processor Power Control Processor Motors/ Mechanical Digital Connection Power Connection Analog Connection
Camera(s) • Used to detect the state of the system’s surroundings • Resolution: QVGA (320 x 240) Monochrome • Goal: VGA (640 x 480) Color • Minimum 15 Frames Per Second (FPS) • Goal: 30 FPS • Parallel Interface to DSP • 60 Degree Azimuth Field of View (FOV) and 45 Degree Elevation FOV • Goal: 360 Degree Azimuth and 90 Degree Elevation
Camera(s) • Camera to DSP Interface • Primary Solution • Write camera data to hardware FIFO using glue logic • Alternative Solution • Use small microcontroller to act as an intermediary between camera and DSP • Connect camera to microcontroller with 8-bit parallel data interface, clock, and sync signals • Write camera data from microcontroller to a dual-port hardware FIFO • Read camera data from FIFO onto DSP • Process and find/track target
Camera(s) Camera SDA DCLK SCL Glue Logic VD HD uC/DSP Enable And Write Strobes 8-bit Parallel Data FIFO to USB Converter Debug to PC FIFO 8-bit Parallel Data to DSP
Camera(s) • Tentative Camera Selection • Toshiba TCM8230MD from Sparkfun • Specifications • 15 or 30 FPS • VGA or QVGA supported • Digital Output (Y422 or RGB 565) • Auto Gain Control, Auto White Balance http://www.sparkfun.com/commerce/product_info.php?products_id=8667
Power Camera Board(s) with FIFO Touchscreen DSP I/O Processor Power Control Processor Motors/ Mechanical Digital Connection Power Connection Analog Connection
Power • Powered from 120VAC wall outlet. • Use a COTS AC Adapter • DC-DC converters used to power motors and less sensitive components • Linear regulators used to power the DSP and other sensitive components • All connections to the DSP isolated (power and data) to protect the DSP • Motor power zone isolated to protect the digital components
Power • Power Rails • 12V (Motors) • 5V (Optical Encoder) • 3.3V (Primary I/O Voltage) • 2.8V (Camera I/O) • 1.8V (AVR32 Core) • 1.5V (Camera Sensor) • 1.2V (DSP Core)
Digital Signal Processor Camera Board(s) with FIFO Touchscreen DSP I/O Processor Power Control Processor Motors/ Mechanical Digital Connection Power Connection Analog Connection
Digital Signal Processor • Processes images from CMOS cameras to detect and track moving targets • Subtraction for motion detection • Blob detection algorithms to find targets • OpenCVcvBlobsLib • Open Source Computer Vision Library • Communicates with the I/O and motor control processors
Digital Signal Processor • Tentative DSP Selection • TI TMS320C6410 • Specifications • 400 MHz, up to 3200 MIPS • 8 Parallel Execution Engines • 6 ALUs and 2 Multipliers • Hardware Memory Interface • 2 Hardware I2C Controllers • Driver Library Available from TI http://focus.ti.com/lit/ds/symlink/tms320c6410.pdf
Host Processors Camera Board(s) with FIFO Touchscreen DSP I/O Processor Power Control Processor Motors/ Mechanical Digital Connection Power Connection Analog Connection
Host Processors • Two microcontrollers to interface the DSP to the motors and the touchscreen • Motor Controller • Receive desired pointing position from DSP and control motors • Read output of optical encoder for feedback • Touchscreen Controller • Receive images from DSP and send to touchscreen • Receive and handle user input from touchscreen
Host Processors • Design Considerations • Use the same microcontroller part to maximize code reuse • Two microcontrollers allows for physical separation and easier task sharing
Host Processors • Tentative Processor Selection • Atmel AT32UC3A1256 • Specifications • 91 DMIPS at 66 MHz • 7 Channel PWM Controller • SPI, I2C, USART, other Hardware I/O Support • Driver Library Supplied by Atmel
Motors/Mechanical Camera Board(s) with FIFO Touchscreen DSP I/O Processor Power Control Processor Motors/ Mechanical Digital Connection Power Connection Analog Connection
Motors/Mechanical • Two rotating platforms will be created • One platform for azimuth, one for elevation • Rotation achieved using turntables (Lazy Susan) • DC motors used to rotate platforms • Controlled with H-Bridge with PWM control • Protection for deactivation feedback voltage from motor inductance • Digital optical encoder used for position detection
Motors/Mechanical • Tentative Turntable Selection • McMaster 6031K16 • Specifications • 200 lb Load Capacity • 3 in. x 3 in. Size • Galvanized Steel http://www.mcmaster.com/#6031k16/=5g021i
Motors/Mechanical • Tentative Motor Selection • Robot MarketPlace ML-50 • Specifications • 120 RPM • 730 mA Nominal Current • 3.3 A Stall Current • 320 oz-in Stall Torque http://www.robotmarketplace.com/products/ML-50.html
Motors/Mechanical • Tentative Encoder Selection • AvagoAEDB-9140-F12 • Specifications • Optical Encoder • 256 Cycles/Revolution • 1024 Signal Changes/Revolution • Fits Motor Shaft http://www.avagotech.com/docs/AV02-1584EN
Control Processor/Mechanical Interface uC SDA x2 SCL Encoder Relative Angular Position Changes DSP Mechanical Interface PWM Output Current H-Bridge Motor
Risks • Camera • Risks • Unable to interface with chosen camera • Solutions • Use manual control of the platform • Mechanical • Risks • Inexperience in mechanical design • Manufacturing rotating platform • Solutions • Consulting with experts or scale back movement
Risks • DSP • Risks • DSP calculation ability • DSP layout mistakes • DSP board failure • Solutions • Scale back the amount of processing (less pictures) • Cry, make the best of the situation, look for more funding • Interface to computer and use processing on desktop
Risks • Control System • Risks • Unstable control system • Solutions • Create an extremely over damped system • System Integration • Risks • Subsystems do not work together • Solutions • Integrate as often as possible
Other considerations • Cost of the system would decrease if manufactured in large numbers • May change the environment that it is placed in • Mice may be chased away • Sustainable design • Parts are not specialized, easily replaced if specific part becomes obsolete • Platform is safe • All voltages are low (<20V) • Motors are not extremely powerful • Makes everyone’s life more fun