Autonomous Tracking Robot: Proposal
Autonomous Tracking Robot: Proposal
ECE4007 Senior Design Project Section L04, DK-3 An Duong Chris Gurley Nathan Klein Winton Barnes
Submitted
February 4, 2009
TABLE OF CONTENT
TABLE OF CONTENT....................................................................................................3 Executive Summary....................................................................................................5 Autonomous Tracking Robot.......................................................................................6 1. INTRODUCTION.......................................................................................................6 Objective.................................................................................................................6 1.2 Motivation..........................................................................................................6 1.3 Background....................................................................................................... 7 Technological Components .................................................................................7 2. PROJECT DESCRIPTION AND GOALS........................................................................7 3. TECHNICAL SPECIFICATIONS...................................................................................8 4. DESIGN APPROACH AND DETAILS...........................................................................9 4.1 Design Approach.............................................................................................10 Tank................................................................................................................... 10 Sensors...............................................................................................................11 Computer........................................................................................................... 13 Controller/H Bridges...........................................................................................13 Algorithm............................................................................................................14 4.2 Codes and Standards......................................................................................14 4.3 Constraints, Alternatives, and Tradeoffs.........................................................15 Alternative Vehicle.............................................................................................15 Time Constraints................................................................................................15 Cost Constraints.................................................................................................15 Size Constraints..................................................................................................15 Targeting Constraints.........................................................................................16 5. SCHEDULE, TASKS, AND MILESTONES..................................................................16 6. PROJECT DEMONSTRATION...................................................................................17 6.1 Final Demonstration .......................................................................................17 6.2 Incremental Testing.........................................................................................18 Stage 1............................................................................................................... 18 Stage 2............................................................................................................... 18
Stage 3............................................................................................................... 19 7. MARKETING AND COST ANALYSIS.........................................................................19 7.1 Marketing Analysis..........................................................................................19 7.2 Cost Analysis................................................................................................... 20 8. SUMMARY............................................................................................................. 21 9. REFERENCES.........................................................................................................22 10. Appendix A: Gantt Chart.....................................................................................24
Executive Summary
The autonomous robotic tank will demonstrate target acquisition, following, and targeting capabilities. The tank will use a combination of IR motion sensors, an ultrasonic proximity sensor, and a webcam to autonomously track and fire at a human target. The IR sensors will recognize a target has approached the robot and will be responsible for alignment. The webcam will be linked with a color tracking program running on the eBox 2300, which will enable the tank to track a moving target from side to side. The ultrasonic proximity sensor will be used to read the distance between the target and the robot, controlling when the robot should move forward. Before a full scale prototype is built, it is useful to build a small scale model to show the technology's capability. It would be expensive to acquire an actual military tank to test the capability of the listed technologies in achieving full autonomy. The final unit including all engineering and production costs is estimated to be about $3,000. The expected outcome of the project is that the robot will successfully align itself, follow, aim the turret, and fire at a moving human target.
Objective
The autonomous robotic tank will demonstrate target acquisition, following, and targeting capabilities. These capabilities will display the underlying technologies behind the application of autonomously controlled vehicles to tanks. The tank will use a combination of IR motion sensors, an ultrasonic proximity sensor, and a webcam to autonomously track and fire at a human target.
1.2 Motivation
Autonomous tanks would be primarily marketed towards the military and national defense. Before a full scale prototype is built, it is useful to build a small scale model to show the technology's capability. It would be expensive to acquire an actual military tank to test the capability of the proximity sensors, the IR motion sensors, and the web camera running the color
tracking program, in achieving full autonomy. In building a small scale version of a potential prototype, these technologies can be demonstrated to interact together successfully with the embedded system, as well as provide accurate and effective autonomous tracking. In successfully building this small scale robot, the military would be motivated into building a full scale prototype for an autonomous tank.
1.3 Background
Autonomous vehicles are still in a phase of heavy research and design. Although other industries have interest in them, their primary interest is the military. Congress has mandated "It shall be a goal of the Armed Forces to achieve the fielding of unmanned, remotely controlled technology such that [...] by 2015, one-third of the operational ground combat vehicles are unmanned," in Section 220 of the National Defense Authorization for Fiscal Year 2001. DARPA offers millions of dollars in various autonomous vehicle tests through the DARPA Grand Challenge to advance the development of autonomous vehicles [1]. Thus far, the military has developed autonomous vehicles that gather information, transport goods, or work for extended durations, but they have not produced a fully autonomous battle tank [2].
Technological Components
The key building block needed for autonomous vehicles are sensors. Passive infrared heat sensors are used to detect motion and ultrasonic proximity sensors are used to determine the distance of an object from the vehicle. Without these crucial components, the vehicle is blind to its environment and is essentially useless.
The project engineers will modify a 1/16th scale, radio-controlled (RC) tank to be mounted with and controlled by a mini computer. The computer will attain input data from various components. IR motion sensors will be used to detect the movement and relative location of the target. An ultrasonic proximity sensor will determine the distance of the target from the tank. A web camera will utilize a computer tracking algorithm embedded in the computer. The goal for this project is to have the robot perform the following set of actions: Detect a moving target and rotate to face the target Follow the moving target When target stops, adjust itself to a specified distance from the target Adjust turret to aim at target Fire a projectile
The final unit is estimated to have a total cost of approximately $3,000. This price includes parts and labor cost. It will be primarily targeted for use by the military.
3. TECHNICAL SPECIFICATIONS
Proposed autonomous tracking battle tank specifications are outlined in Table 1. Table 1. Autonomous Tracking Vehicle Specifications
Attribute Target Firing Range Mounting Size Cone of Accuracy Motion Sensing Range
Criterion Need distance between turret and target Need space for mounting eBox 2300 Radial distance from target Need distance between each sensor and target
The tank will adjust its distance from the target to a range less than 3m before it will fire the projectile. If the distance is greater or less than this range, then the tank will move accordingly. The tank will require an open area of 115 x 115 x 35 mm to mount the eBox 2300. If there is not sufficient space, then a mounting platform will need to be fabricated. For firing the projectile, the tank will have a cone of accuracy within 6 from the targets center. The maximum distance that the tank will sense motion will be 5m away.
Sensors
Computer
Camera
Controller
Turret
Tank
Tank
The specifications for vehicle are summarized in Table 2.Table 2. Vehicle Specifications [8]
Attribute Type Scale Size Turret Rotation Firing Range Ammunition Reload
Specification German Tiger 1/16th 18x9x8 320 25m Airsoft BBs Automatic
Sensors
The sensors used will be four Panasonic AMN23111 IR motion sensors, one Panasonic AMN21111 spotlight IR motion sensor, one ultra sonic distance sensor and a Microsoft VX6000 webcam. The sensors will be arranged as shown in Error: Reference source not found. The position and facing of the AMN23111 sensors are shown in grey. The position and facing of the AMN21111, VX-6000, and SRF04 are shown in blue. The VX-6000 and SRF04 will be mounted on the turret while the other sensors will be mounted directly on the tanks body.
Figure 2. The sensor arrangement. The position and facing of the AMN23111 sensors are shown in grey. The position and facing of the AMN21111, VX-6000, and SRF04 are shown in blue. The VX-6000 and SRF04 will be mounted on the turret while the other sensors will be mounted directly on the tanks body. The AMN23111 and AMN21111 will be mounted on the tanks body. They were chosen as IR motion sensors so the tank wouldnt detect movement in all directions when it moved. The VX6000 and SRF04 will be mounted on the turret to allow the tank to track with it when the body is immobile. The VX-6000 runs on USB 2.0 and captures up to 30 frames per second [10]. The
SRF04 can detect a 3cm diameter stick less than 2m away [9]. Table 3 contains sensor specifications. Table 3. Sensor Specifications
Attribute Horizontal Range Vertical Range Number of Detection Zones Detection Range Output Voltage
Computer
The eBox 2300 is an embedded system that will be mounted on the back of the tank. The eBox has a 200MHz Vortex86 SoC CPU with 128MB of onboard SD-RAM [7]. It will take input from the sensors and use that information to control the tank. All of the sensors, except the VX-6000, produce digital outputs and will connect to the digital input of the Phidgets 8/8/8 board, which connects to the computer. The kit has 8 analog inputs and 8 digital outputs [5].
Controller/H Bridges
The S11-3A-EMF-HBRIDGE H-bridge will be used to control each individual motor on the tank, as well as the control for the turret. There are two motors that control the tanks movement. The H-Bridge can control a total of two motors, so it is well suited for the application. The Hbridge can produce up to 3A of current, and a maximum of 27.5V for motor control. The 13 Autonomous Tracking Robot (ECE4007L04)
individual motor specifications will need to be tested in the laboratory before the team determines what settings to use with the H-bridge [6].
Algorithm
Upon detecting the target, the tank will turn to the closest edge of the quadrant in which the target was found. The tank will begin to sweep the quadrant by turning until the AMN21111 on the front of the tank detects the target. Then, the VX-6000 will be used to track instead of the motion sensors as the tank will be approximately facing the target. The webcam will use a color tracking algorithm, which has not been specified. If at any point the VX-6000 loses sight of the target, the tank will return to the start of the algorithm, searching for the target with the four AMN23111s. Once the target is in the SRF04s range, the distance from the tank to the target can be determined. The tank will then approach the target, correcting via webcam input as necessary, until it becomes 1.5m from the target. Upon reaching that distance, the tank will halt movement and attempt to aim the turret at the target. If the target moves out of the SRF04s range, the tank will return to approaching it. Once the turret is aimed at the target, it will potentially fire at it. The conditions for the tank to fire and whether it will actually fire has yet to be determined.
full scale tank, however, would have to be standardized for mass production and would have other specifications determined by the military.
Time Constraints
The deadline for the finished product is mid-April, which implies most parts will have to be integrated with off the shelf parts. It also implies that the development of movement and tracking algorithms using image processing or triangulation will have to be simplistic or non-existent. Unless a previous color tracking algorithm can be obtained, the one used will be simple, tracking a uniquely colored region.
Cost Constraints
The primary constraint upon the design was cost because the budget for parts, excluding those already owned, is a maximum of $403. The quality of the RC tank, sensors, and controller had to be reduced to maintain affordability. The number and type of sensors and the size of the tank were also reduced.
Size Constraints
Because the cost constraints determined the size of the tank, size constraints were placed on the rest of the parts as they are to be mounted on the tank. The German Tiger tank was chosen as it had the largest space behind the turret to mount the Ebox.
Targeting Constraints
If the target can move faster than the tank can turn, then the tank may not be able to reliably track it. When the tank is tracking using motion sensors, it will have a slower ability to track as it will have to stop to take in sensor readings.
6. PROJECT DEMONSTRATION
6.1 Final Demonstration
The autonomous vehicle will show its effectiveness in a live demonstration. The vehicle will be placed in a room at an arbitrary orientation. After the vehicle is powered on, a person (the target) will enter the room and walk to any location they desire. The vehicle will detect the motion and track the target until it is within firing range, as shown in Figure 2. The tank will then shoot a small, plastic projectile at the target.
This will demonstrate the specifications of the project by showing that the vehicle is capable of autonomously:
Finding a target in a room using only sensors Tracking the target using a video camera Maintaining distance from the target using an ultrasonic sensor
Stage 1
The first stage will be to test each of the three actions listed above separately. This will be done by isolating each action and testing whether the software responds to a stimulus from the target correctly. All four of the infrared sensors will be tested separately to determine whether they can be triggered properly by the presence of the target. The video camera based tracking will be tested by aligning the vehicle so that it is already facing the target. The vehicle will then move toward the target, constantly correcting its course using video data. The ultrasonic sensor will be tested by placing the vehicle a known distance away from the target. Multiple readings will be taken at each distance to test the precision for the sensor.
Stage 2
The second stage of testing will be integrating two consecutive actions. First the vehicle will be placed facing directly toward a stationary target. The vehicle will travel at the target using the
camera for course adjustments and stop after the ultrasonic sensor determines that it is within firing range. After these two actions are working together effectively, the first action will be incorporated into the test; the vehicle will have to locate the stationary target within the room before tracking it.
Stage 3
The final stage of testing will require the vehicle to track a moving target. The vehicle will first locate the target using the infrared sensors and then track and follow the target using the camera and ultrasonic sensor. The target will then move such that it is out of view of the camera so that the vehicle will have to locate it using the infrared sensors again. The vehicle will also be tested by having no targets in the room and a target that enters the room after a delay.
The costs for materials were based upon the bulk price for the items, if available. The assembly of the product would likely be done by a technician, at an average salary of $20 per hour, taking approximately 10 hours total. The testing would also be done by either a technician or an entry level engineer at $20 per hour, taking approximately six hours [11]. The development cost for producing 10 units was based upon an approximate per unit development cost of $65. The remaining costs were approximations based on the cost of the materials and labor.
8. SUMMARY
The vehicle, all of the sensors, and a dual H-bridge have been ordered, but they have not yet arrived. An eBox 2300, Phidgets 8/8/8 interface kit, Phidgets LCD with digital and analog input/output, and a 7 inch touch screen LCD screen have been acquired. The physical parameters of the project are still being explored, such as sensor placement and attachment method, as well as placement of the eBox and power supply on the vehicle. The eBox is currently being interfaced with a Microsoft VX-6000 web camera that will be used to perform target tracking. As soon as the infrared sensors arrive they will be tested using an oscilloscope to measure sensor range and strength, they will be interfaced with the Phidgets LCD boards analog inputs.
9. REFERENCES
[1] National Defense Authorization, Fiscal Year 2001. 106th Congress, October 30, 2000. [Online]. Available: http://armedservices.house.gov/comdocs/billsandreports/ 106thcongress/hr5408law.pdf. [Accessed Feb. 1, 2009] [2] [3] Darpa. Homepage [Online] http://www.darpa.mil/grandchallenge/index.asp Panasonic, FutureElectronics.com, No Date Listed. [Online]. Available: http://www.futureelectronics.com/en/technologies/semiconductors/analog/sensors/motion /Pages/2893006-AMN23111.aspx. [Accessed Feb. 3, 2009]. [4] Panasonic, FutureElectronics.com, No Date Listed. [Online]. Available: http://www.futureelectronics.com/en/technologies/semiconductors/analog/sensors/motion /Pages/7321573-AMN21111.aspx. [Accessed Feb. 3, 2009]. [5] Phidgets Blue LCD with 8/8/8 Interface, hvwtech.com, No Date Listed. [Online]. Available: http://www.hvwtech.com/products_view.asp?ProductID=522. [Accessed Jan. 29, 2009]. [6] 3A Back EMF H-Bridge, Acroname Robotics, Dec. 31, 2008. [Online]. Available: http://www.acroname.com/robotics/parts/S11-3A-EMF-HBRIDGE.html. [Accessed Jan. 26, 2009]. [7] eBox Embedded PC, WDL Systems, No Date Listed. [Online]. Available: http://www.wdlsystems.com/ebox/ebox.shtml. [Accessed Jan. 27, 2009]. [8] 1/16 Remote Control German Tiger I Battle Tank RC RTR, eBay.com, Feb. 2, 2009. [Online]. Available: http://cgi.ebay.com/1-16-Remote-Control-German-Tiger-I-Battle-
Tank-RC-RTR_W0QQitemZ260356403706QQihZ016QQcategoryZ44026QQssPage NameZWDVWQQrdZ1QQcmdZViewItem. [Accessed Jan. 29, 2009]. [9] Devantech SRF04 Ranger, Acroname Robotics, Jan. 14, 2009. [Online]. Available: http://www.acroname.com/robotics/parts/R93-SRF04.html. [Accessed Jan 29, 2009]. [10] Microsoft Lifecam VX-6000, Microsoft, No Date Listed. [Online]. Available: http://www.microsoft.com/hardware/digitalcommunication/ProductDetails.aspx? pid=002. [Accessed Jan 30, 2009]. [11] Salary Wizard, Salary.com, Jan. 1, 2009. [Online]. Available: http://swz.salary.com/salarywizard/layouthtmls/swzl_compresult_national_SC16000041. html. [Accessed Jan. 29, 2009].