57
Advanced Remote Monitoring and Operated Recon Device Andrew Lichenstein Kevin Jadunandan Thomas Kehr

Advanced Remote Monitoring and Operated Recon Device

  • Upload
    galya

  • View
    33

  • Download
    1

Embed Size (px)

DESCRIPTION

Advanced Remote Monitoring and Operated Recon Device. Andrew Lichenstein Kevin Jadunandan Thomas Kehr. Special Thanks. Motivation. Dragon Runner surveillance robot Extremely Durable Fast and lightweight platform ≈$32,000 per unit Objectives: Fraction of the Price(< $2500) - PowerPoint PPT Presentation

Citation preview

Page 1: Advanced Remote Monitoring and Operated Recon Device

Advanced Remote Monitoring and Operated Recon Device

Andrew LichensteinKevin Jadunandan

Thomas Kehr

Page 2: Advanced Remote Monitoring and Operated Recon Device

Special Thanks

2

Page 3: Advanced Remote Monitoring and Operated Recon Device

Motivation

3

Dragon Runner surveillance robot Extremely Durable Fast and lightweight platform ≈$32,000 per unit

Objectives: Fraction of the Price(< $2500) Maneuverability on all terrains Wireless Control/Video

iPhone Control

Page 4: Advanced Remote Monitoring and Operated Recon Device

Hardware Block Diagram

4

Page 5: Advanced Remote Monitoring and Operated Recon Device

Specifications

5

Physical

Length 18 in.

Width 14 in.

Height 10 in.

Weight 57 lb.

Power

Motor Battery 24V

Control Battery 12V

Communication

Video Frame Rate 30 fps

Operating Distance 100ft

LocomotionPeak Speed 6 mph

Wheel Size 10 in.

Motor RPM 252 rpm

Turn Radius 0°

Page 6: Advanced Remote Monitoring and Operated Recon Device

Chassis

6

Raw Material Selection

Suspension

Body Design

Component Mounting

Camera

Page 7: Advanced Remote Monitoring and Operated Recon Device

Chassis: Raw Material Selection

7

Aluminum Low-cost Light weight High cost of manipulation

Fiberglass Composite Extremely low cost Easily manipulated High Strength Experienced with fabrication Permeable to Radio frequencies

Fiberglass Carbon Fiber AluminumUltimate Strength (MPa) 3,450 5,650 40-50

Yield Strength (MPa) N/A N/A 15-20

Density (g/cm3) 2.57 1.75 2.7

Average Price ($/ft) 0.91 13.80 7.50

Carbon Fiber High cost High Strength Complex manipulation

Plastic Composite Extremely High Cost High StrengthLight WeightRequires Computer Generated Design

Page 8: Advanced Remote Monitoring and Operated Recon Device

Chassis: Suspension

8

Aluminum Frame – 1/8” Aluminum Sheet Provide mounting for components No metal on metal; rubber washers

Spring Suspension System 32 Springs 8 Motor Clamps

Page 9: Advanced Remote Monitoring and Operated Recon Device

Chassis: Body Design

9

Fiberglass-Composite Construction

Clam-Shell Design

Plug and Mold Fabrication

20”

7”

17”

Page 10: Advanced Remote Monitoring and Operated Recon Device

Chassis: Component Mounting

10

Camera Circuit Board and Motor Controller

Page 11: Advanced Remote Monitoring and Operated Recon Device

Chassis: Polyurea

11

Truck Bed Liner Rhino Liner, etc.

Extreme Durability 41 MPa Tensile Strength

Quick Reaction Time Build up Multiple Layers

Explosive and Ballistic resistance

Page 12: Advanced Remote Monitoring and Operated Recon Device

Drive Train

12

Geared Motor

Wheels and Locomotion

Page 13: Advanced Remote Monitoring and Operated Recon Device

Drive Train: Motor Selection

13

IG42 Geared Motor 24:1 Gear Ratio 24V DC 252 rpm 2300mA 10 kgf-cm Torque

4.8”

1.75”

Page 14: Advanced Remote Monitoring and Operated Recon Device

Drive Train: Wheels and Locomotion

14

Wheels Wheel + Tire 10” Diameter Custom Mounting Hardware

Wheel Speed Speed (fpm) = (Diameter of wheel (in) x π x rpm of

motor) /12 = (10” x π x 252) /12 = 659.7 ft/m = 7.59 mph

Page 15: Advanced Remote Monitoring and Operated Recon Device

Power System

15

Batteries

Charging Circuit

Control Battery

Drive Battery

Page 16: Advanced Remote Monitoring and Operated Recon Device

Power System: Batteries

16

NiMH Rechargeable Packs 24V 4500 mAHr

Drive Battery 12V 4000 mAHr

Control Battery

5" x 2" x 2"

10" x 2" x 2"

Page 17: Advanced Remote Monitoring and Operated Recon Device

Power System: Charging Circuit

17

DPDT Switch Toggles Between ON-OFF-Charge

Military Style Locking Connector

Page 18: Advanced Remote Monitoring and Operated Recon Device

Power System: Control Battery

18

Capacity = 4 AHr

Current Drain of system = 795mA

Estimated battery life ≈ 5 hrs

Component Current Draw

Operating Voltage

Power Consumption

XBee Pro 55ma 3.3V 0.18 Watts

Falcom FSA03 40ma 3.3V 0.132 Watts

PIC18F4520 200ma 5V 1 Watt

Wireless Camera

500ma 9V 4.5 Watts

Total 795ma 5.812 Watts

Page 19: Advanced Remote Monitoring and Operated Recon Device

Power System: Drive Battery

19

Battery Capacity= 4.5 AHr

Current Draw= 2300mA x 4 = 9.2 A

Battery Life = 29.3 minutes

Component Current Draw Operating Voltage

Power Consumption

IG42 Geared Motor 2300mA 24V 55.2Watts

Page 20: Advanced Remote Monitoring and Operated Recon Device

Video System: Camera

20

380-lines resolution

150-foot range (no obstacles)

900 MHz output frequency

Built-in microphone

Page 21: Advanced Remote Monitoring and Operated Recon Device

Internal Hardware

21

MCU

GPS

Communication

Motor Controller

Page 22: Advanced Remote Monitoring and Operated Recon Device

Internal Hardware: MCU

22

Features our group looked for in MCU: CPU Speed >= 4MIPS (10 MIPS)

Program Memory >= 16KB (32KB)

Internal Oscillator >= 4MHz (16MHz)

IO Pins >= 15 (30)

ADC >= 2 (15)

Program in C/C++ using MPLAB IDE

Temperature Range (-40 to 125 C)

PDIP

*PIC18F4520 Max Spec’s in ()

PIC18F4520

Page 23: Advanced Remote Monitoring and Operated Recon Device

Internal Hardware: MCU

23

Communication is the most essential part of our robot, we will need to be sending and receiving data from our Gateway to be able to control our robot. We will be using the hardware USART pins on the MCU, which allows us to send serial data reliably.

Our MCU will need to be data parse incoming GPS updates which come in the form of a string of characters. We will be emulating the hardware by emulating the hardware, using software USART.

Motor Control will be done by having two variables set , one for the left motors and one for the right motors. We will be sending a value of 0 to 255, which will tell which motor to move and how which direction it should spin the motor. This also will be using software USART.

Battery life and Temperature value will be done using AD Converters of the MCU, which takes voltage as inputs.

Page 24: Advanced Remote Monitoring and Operated Recon Device

Communication: Options

24

XBee vs. XBee Pro vs. Bluetooth Class 1

XBee XBee Pro Bluetooth Class 1

Indoor Range Up to 100ft

Up to 300ft

Up to 330 ft

Outdoor/LOS Up to 300ft

Up to 1 Mile

Up to 330 ft

Data Rate 250Kbps 250Kbps Up to 3 Mb/s

Unit Price $22.95 $37.95 $59.95

The Bluetooth was a bit to expensive and the regular XBee distance was a bit to small. This is why we chose the XBee Pro which was a good combination of both data rate and distance. We really only need 300 to 400 ft max for our application.

Page 25: Advanced Remote Monitoring and Operated Recon Device

Internal Hardware: GPS

25

We originally were looking at the Copernicus GPS Module that was sold on Sparkfun, but after talking with other sources they pointed out to me the Falcom FSA03 unit. Here are the details of the unit:

Copernicus FalcomCold Start 39 sec 29 sec

Hot Start 9 sec <1 sec

Antenna Not Included Attached

Update Rate 1Hz 4Hz

Channel 12 32

One of the best features of this chips is that it has a Sarantel helical antenna which lets you orient this GPS any way you would like , so you don’t have to make it point towards the sky.

Page 26: Advanced Remote Monitoring and Operated Recon Device

Internal Hardware: Temperature Sensors

26

The TMP35  outputs a voltage based off the current temperature around the sensor. Using the linear equation below, we can get the temperature on our microcontroller and motors.

Temp in °C = [(Vout in mV) - 500] / 10

Page 27: Advanced Remote Monitoring and Operated Recon Device

Internal Hardware: Battery Life

27

Using two simple voltage divider circuits to lower the voltage to a max of 5 volts, we check the battery voltage every other second. Knowing our fully charged voltage we can make an assumption on our remaining voltage as the voltage gets lower.

Page 28: Advanced Remote Monitoring and Operated Recon Device

Communication: GPS Purpose

28

The GPS’s main purpose was to be sending latitude and longitude to our microcontroller so that we could use this data with our iPhone application. The GPS sends NMEA(National Marine Electronics Association) data to our MCU; here is an example of what it looks like:

$GPGLL,4916.45,N,12311.12,W,225444,A,*1D

As you can see the data that is sent is not an easy to read format so our MCU will parse the data needed and send to a variable that will be sent out via XBee.

Geographic Lat & Lon

49o16.45

123o11.12

Time(UTC)

Data Active

Checksum

Page 29: Advanced Remote Monitoring and Operated Recon Device

Motor Controller: Selection

29

Originally we were thinking of creating our own motor controller using PNP BJTs but due to the fact we wanted stability and more features we decided to buy the Sabertooth 10A Dual Motor Controllers. One of the key features that we really liked as a group was that it is a regenerative motor driver, so when the robot stops or reverses it recharges the batteries with the wasted energy. It also has over current and thermal protection which means we won’t have to worry about damaging the motor controllers.

Page 30: Advanced Remote Monitoring and Operated Recon Device

Motor Controller: Setup

30

In our setup we will be using two motor controllers in parallel. So we will be using one pin on our MCU a Tx line that uses software USART that connects to the S1 ports on the motor controllers.

The Tx line on the MCU will transmit to both of the motor controllers S1 lines at the same time. We will be sending values of 0 to 255 to the motor controllers .

A value of 1 to 127 controls the left motors and a value of 128 to 255 controls the right motors

Page 31: Advanced Remote Monitoring and Operated Recon Device

MCU Software Diagram

31

RECEIVE THREAD SEND THREAD

DATA STRUCTURES

-Left Motor-Right Motor

-GPSLat-GPSLon

-BatteryLife

Page 32: Advanced Remote Monitoring and Operated Recon Device

Board Design Prototype

32

Created in EagleCAD

Screw Terminals make it easy to connect peripherals and stop wires from falling out

Page 33: Advanced Remote Monitoring and Operated Recon Device

Custom PCB

33

Using a flatbed plotter we make our own single sided PCBs for testing purposes. We can create 15 PCBs for less than $25.

Page 34: Advanced Remote Monitoring and Operated Recon Device

Gateway / iPhone Interface

34

Software applications

iPhone Application

Gateway Application

Last Minute Add-on: iPad App

Page 35: Advanced Remote Monitoring and Operated Recon Device

Software Communication

35

Page 36: Advanced Remote Monitoring and Operated Recon Device

Software

36

iPhone Application Primary controlling device

Touch based interface

Displays map with location of user and ARMORD

Page 37: Advanced Remote Monitoring and Operated Recon Device

Software

37

iPhone Application Written in Objective C

Apple’s object oriented version of C Runs all C code natively

Xcode IDE and Interface Builder Provides drag and drop UI design

Page 38: Advanced Remote Monitoring and Operated Recon Device

Software: iPhone GUI

38

Page 39: Advanced Remote Monitoring and Operated Recon Device

Software: iPhone GUI

39

Page 40: Advanced Remote Monitoring and Operated Recon Device

Software: iPhone GUI

40

Page 41: Advanced Remote Monitoring and Operated Recon Device

Software: iPhone GUI

41

Page 42: Advanced Remote Monitoring and Operated Recon Device

Software: iPhone GUI

42

Page 43: Advanced Remote Monitoring and Operated Recon Device

Software: iPhone

43

Page 44: Advanced Remote Monitoring and Operated Recon Device

Software: iPhone

44

Distance Calculation Uses latitude and longitude

Distance in miles = 3963.0 * arccos[sin(lat1) *  sin(lat2) +

cos(lat1) * cos(lat2) * cos(lon2 - lon1)]

Page 45: Advanced Remote Monitoring and Operated Recon Device

Software: Gateway Application

45

Purpose Wireless bridge between the iPhone and the ARMORD

Necessary because iPhone cannot easily connect to the XBee module

Communication Wi-Fi – iPhone XBee – Robot

Page 46: Advanced Remote Monitoring and Operated Recon Device

Software: Gateway Application

46

Requirements Wi-Fi connection COM port access

Options C# Java

Decision – C# Simple TCP Server and COM Port Access

Page 47: Advanced Remote Monitoring and Operated Recon Device

Software: Gateway Application

47

Page 48: Advanced Remote Monitoring and Operated Recon Device

Software: Gateway Application

48

Page 49: Advanced Remote Monitoring and Operated Recon Device

iPad

49

Control Scheme Turning - Accelerometer based

Forward/Reverse – Slider

“Steering Wheel”

Page 50: Advanced Remote Monitoring and Operated Recon Device

iPad – Screenshot

50

Page 51: Advanced Remote Monitoring and Operated Recon Device

Software

51

Packet Structure From iPhone To ARMORD

From ARMORD To iPhone

$ LEFT_MOTOR $ RIGHT_MOTOR

$ LATITUDE , LONGITUDE , MOTOR_BAT , MCU_BAT

TEMP ;

Page 52: Advanced Remote Monitoring and Operated Recon Device

Video Transmission – Original Design

52

Video is received by video capture card Computer broadcasts live stream over Wi-Fi iPhone plays live stream

Page 53: Advanced Remote Monitoring and Operated Recon Device

Video Transmission – Original Design

53

Problems For live video, iPhone only plays H264 video, with AAC

audio, encapsulated in an MPEG2-TS

Capture card software could not output proper video format

10 second video lag from camera to a computer watching the stream

Page 54: Advanced Remote Monitoring and Operated Recon Device

Video Transmission – New Design

54

Solution – External LCD Display Allows direct video feed from camera to display No processing on a computer to reduce video delay iPhone can now display more information on the

screenMapsGPS locationsDistanceBattery Life

Page 55: Advanced Remote Monitoring and Operated Recon Device

Controller

55

•Components 7” Standalone Monitor Ruggedized Grip and Frame AV Receiver 12V NiMH Battery

Video and Control up to 100 feet

Components attached to controller via aluminum bracket

Power supplied to AV Receiver and Monitor through 12V NiMH battery

Swivel mount to account for inversing camera orientation

Page 56: Advanced Remote Monitoring and Operated Recon Device

Budget

56

Part Name Quantity Price Total Cost

12V 2200mAHr NIMH 1 $23.90 $23.90 12V 4000mAHr NIMH 1 $53.60 $53.6024V 4500mAHr NIMH 2 $124.80 $249.60 Falcom FSA03 GPS 1 $59.95 $59.95 24V 252 RPM Geared Motor 5 $44.90 $224.50IPhone Grip 1 $25.50 $25.50 Sabertooth 10A Motor Controller 2 $79.99 $159.98 7 in. LCD 1 $79.99 $79.99 2.4GHz Mini Wireless Camera 2 $42.50 $85.00 900 MHz Mini Wireless Camera 1 $60.00 $60.00Truck Bed Liner 2 $9.95 $19.90 XBee Pro 3 $37.95 $113.85 XBee USB Explorer 2 $24.95 $49.90 XBee Breakout Board 1 $9.95 $9.95 PIC18F4520 3 $4.50 $13.50 Misc(Body, Copper Clad, Etc.) NA $400.00 $400.00

Developmental Tools NA $350.00 $350.00

Shipping/Handling NA $300.00 $300.00

Total $2429.14

Page 57: Advanced Remote Monitoring and Operated Recon Device

Questions

57

???