Presentation is loading. Please wait.

Presentation is loading. Please wait.

Robotically Actuated Prevention/Intervention Device Full of Innovative and Responsible Engineering Critical Design Review February 25, 2010 Riley Pack.

Similar presentations


Presentation on theme: "Robotically Actuated Prevention/Intervention Device Full of Innovative and Responsible Engineering Critical Design Review February 25, 2010 Riley Pack."— Presentation transcript:

1 Robotically Actuated Prevention/Intervention Device Full of Innovative and Responsible Engineering Critical Design Review February 25, 2010 Riley Pack Eric Pahlke Kelly Shuster Greg Stahl RAPID FIRE

2 PROJECT OVERVIEW The RAPID FIRE system will be able to recognize moving targets in a room, choose the optimal target, and track it. 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.

3 BLOCK DIAGRAM Power DSP(s) Control Processor Motors Camera Board(s) with FIFO Digital Connection Analog Connection Power Connection Mechanical

4 EXPANDABLE HARDWARE ARCHITECTURE Power Supply DSP PCB Motor Controller PCB Camera PCB Data ConnectionPower Connection Camera PCB DSP PCB Motors Up to 4 Cameras per DSP Up to 4 DSPs Currently using 2 DSPs (8 total cameras)

5 CONTROL PROCESSOR Power DSP(s) Control Processor Motors Camera Board(s) with FIFO Digital Connection Analog Connection Power Connection Mechanical

6 CONTROL PROCESSOR Receives (x,y) location of optimal target from DSP Communicates with DSP(s) via SPI Triggers PWMs attached to 2 H-Bridges Receives feedback from 2 Optical Encoders Uses negative feedback PI Controller to adjust position Horizontal and Azimuth positions each have their own PI Controller

7 CONTROL PROCESSOR Processor Selection TI Stellaris LM3S2965 Specifications 50 MHz Maximum Clock Speed 6 PWM Channels 2 Quadrature Encoder Interfaces (QEI) Single-cycle multiply instruction and hardware divide Variety of common interface modules

8 CONTROL PROCESSOR Plant Controller Target Motor Position from DSP SPI Interface Actual Motor Position from Optical Motor Encoder

9 CONTROL PROCESSOR K P s + K I Target Position Actual Position J = 0.5*M*R 2 T = 0.4689 Nm = 66.4 oz-in = 80% of Max Efficiency b = 0.045M = 2.3kgR = 4.5 in

10 CONTROL PROCESSOR K P = 100 K I = 50 t R = 1.5s t S = 5 s 20% overshoot

11 CONTROL PROCESSOR

12 CAMERA(S) Power DSP(s) Control Processor Motors Camera Board(s) with FIFO Digital Connection Analog Connection Power Connection Mechanical

13 CAMERA(S) Camera Selection Toshiba TCM8230MD from Sparkfun Specifications 15 or 30 FPS VGA or QVGA supported Digital Output (YUV422 or RGB 565) Auto Gain Control, Auto White Balance http://www.sparkfun.com/commerce/ product_info.php?products_id=8667

14 CAMERA(S) Camera FIFO FIFO to USB Converter 8-bit Parallel Data Glue Logic DCLK VD HD Enable And Write Strobes Debug to PC SDA SCL uC/DSP 8-bit Parallel Data to DSP

15 CAMERA(S) – TEST BOARD Camera USB-FIFO FIFO SPLD

16 CAMERA(S) – TEST BOARD Almost Able to Take Sub-QCIF (128 x 96) Resolution Pictures USB Write Speed Too Slow Solution: Upgrade to Faster USB Chip

17 CAMERA(S) – TEST BOARD FIFO WR USB WR

18 CAMERA(S) – REVISION 2 Current Camera Status Ready to Order Camera Board Revision 2 Updated USB-FIFO Chip to Allow for 8 MBytes/sec Changed to Asynchronous FIFO to Simplify DSP Interface

19 CAMERA(S) – CAMERA / FIFO INTERFACE

20 CAMERA(S) – CAMERA / SPLD INTERFACE

21 CAMERA(S) – REVISION 2 LAYOUT Camera Level Shifter FIFO USB- FIFO

22 POWER Power DSP(s) Control Processor Motors Camera Board(s) with FIFO Digital Connection Analog Connection Power Connection Mechanical

23 POWER Power Supply 12V (Motors) 5V (Optical Encoder & FIFO) Isolated Integrated DC-DC Module from TI 3.3V (DSP I/O Voltage) Linear Regulators from TI 3.3V (Primary I/O Voltage) 2.8V (Camera I/O) 1.5V (Camera Sensor) 1.26V (DSP Core)

24 POWER ATX12V V2.2 550W Power Supply 12 V Line Rated to 2 x 16 A 3.3 V Line Rated to 25 A 5 V Line Rated to 25 A

25 DIGITAL SIGNAL PROCESSOR Power DSP(s) Control Processor Motors Camera Board(s) with FIFO Digital Connection Analog Connection Power Connection Mechanical

26 DIGITAL SIGNAL PROCESSOR Processes images from CMOS cameras to detect and track moving targets Subtraction for motion detection Blob detection algorithm Replaced open source library with custom algorithm to make integration to DSP easier Communicates with the motor control processor Sends debug data to PC using FIFO to USB USB is an easier debug port than an LCD

27 DIGITAL SIGNAL PROCESSOR DSP Selection TI TMS320VC5501 Slightly lower performance than original selection, but QFP package greatly reduces cost and risk. Specifications 300 MHz, up to 600 MIPS Hardware Memory Interface Used for SDRAM, FIFOs, FIFO to USB Hardware I2C and SPI Controllers I2C used to control cameras and I/O expanders, and for boot loader SPI used to transfer data to the motor controller Driver Library Available from TI

28 DIGITAL SIGNAL PROCESSOR PCB Four layer board DSP SDRAM Hardware support for 4 cameras IO and I2C expanders allow multiple cameras to send data through the DSP’s External Memory Interface FIFO to USB converter (same as on camera boards) allows the DSP to send images and computation results to a PC Status: Schematic and Layout 100%, almost ready to order

29 DIGITAL SIGNAL PROCESSOR PCB Boot loader DSP has an I2C EEPROM boot mode Use an ATMEGA32 AVR to transfer code from RS- 232 to I2C EEPROMs Isolation All signals from the DSP connecting off the board are isolated to protect the DSP (ISO7240 from TI) The 3.3V DC-DC converter for the DSP is isolated (DCR010503 from TI)

30 DIGITAL SIGNAL PROCESSOR PCB Power 5V from MC PCB Power 5V from MC PCB DSP USB Debug I/O Expanders To Camera PCB Memory Bus I2C Power Connection Isolators/ Level Shifters Isolated 3.3V DC-DC 1.26V VREG I2C Switch LEDs/ Debug SDRAM AVR Programming Port EEPROMs GPIO SPI Data to MC PCB RS232

31 DIGITAL SIGNAL PROCESSOR PCB LAYOUT DSP Boot loader SDRAM ISOLATORS I/O Expanders To Cameras To MC USB RS232

32 DIGITAL SIGNAL PROCESSOR PCB LAYOUT DSP Boot loader SDRAM ISOLATORS I/O Expanders To Cameras To MC USB RS232

33 MOTION DETECTION ALGORITHM Subtract Current Image From Previous Break Difference Image Into an n-by-n Grid Accumulate Location and Count of All Pixels in Region with Difference Above Threshold RegionNorm > NORM_MIN? Mark Region as Having Motion Checked Each Region? No Yes No Yes Find Largest Connected Set of Regions Find Centroid of Regions in Largest Set of Connected Regions Start

34 MOTORS/MECHANICAL Power DSP(s) Control Processor Motors Camera Board(s) with FIFO Digital Connection Analog Connection Power Connection Mechanical

35 MOTORS/MECHANICAL Two rotating platforms have been 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

36 MOTORS/MECHANICAL Turntable Selection Shepherd 9548 Purchased from Home Depot Specifications 500 lb Load Capacity 6 in. x 6 in. Size

37 MOTORS/MECHANICAL 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/pr oducts/ML-50.html

38 MOTORS/MECHANICAL Encoder Selection Avago AEDB-9140-F12 Specifications Optical Encoder 256 Cycles/Revolution 1024 Signal Changes/Revolution Fits Motor Shaft http://www.avagotech.com/d ocs/AV02-1584EN

39 MOTORS/MECHANICAL H-Bridge Selection Texas Instruments DRV8412 2 X 3A Full Bridge Continuous Output (2 X 6A peak) or 1 X 6A Full Bridge Continuous Output (1 X 12A peak) Controlled With PWM up to 500kHz Self-Protection Circuits

40 CONTROL PROCESSOR/MECHANICAL INTERFACE DSP H-Bridge Motor Mechanical Interface Encoder Relative Angular Position Changes Current SDA SCL uC PWM Output x2

41 DIVISION OF LABOR TaskRiley PackEric PahlkeKelly ShusterGreg Stahl Camera BoardPSSS DSP Board Hardware SPS DSP SoftwarePSS Motor Control Board SPS Motor Control Software PS MechanicalSP PowerSP User InterfaceSSSP P = PrimaryS = Secondary

42 EXPENSES

43 SCHEDULE

44 MILESTONE 1 Mechanical System Complete Control System Can Move Platform to Desired Position DSP Board Populated and Verified Functional Camera Board Populated Camera Board Sending Pictures to Computer Power Distribution Works with All Boards

45 MILESTONE 2 Control System Tuned Correctly DSP Interfaced with One Camera DSP Running Correct Algorithms DSP Sending Targeting Positions to Control System

46 DESIGN EXPO Full System Operating Correctly with One or More Cameras Technical Manual User Manual

47 Questions? Kelly Shuster Riley Pack Eric Pahlke Greg Stahl


Download ppt "Robotically Actuated Prevention/Intervention Device Full of Innovative and Responsible Engineering Critical Design Review February 25, 2010 Riley Pack."

Similar presentations


Ads by Google