designing reliable delivery for mobile ad-hoc networks in robots bj tiemessen advisor: dr. dan...

18
Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen BJ Tiemessen Advisor: Dr. Dan Massey Advisor: Dr. Dan Massey Department of Computer Science Department of Computer Science Colorado State University Colorado State University

Upload: beatrice-gardner

Post on 20-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Designing Reliable Delivery for Mobile Ad-hoc

Networks in Robots

BJ TiemessenBJ TiemessenAdvisor: Dr. Dan MasseyAdvisor: Dr. Dan Massey

Department of Computer ScienceDepartment of Computer Science

Colorado State UniversityColorado State University

Page 2: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

MotivationMotivation

• Autonomous robots used to Autonomous robots used to perform search and rescueperform search and rescue

• Need reliable data Need reliable data communicationscommunications

Page 3: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

The RobotsThe Robots

• Evolution Evolution Robotics ER1Robotics ER1

• Use standard Use standard laptoplaptop

• USB cameraUSB camera• 802.11 wireless 802.11 wireless

cardcard

Page 4: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Ad-hoc NetworkAd-hoc Network

• No central No central infrastructureinfrastructure

• Each node may Each node may act as a sender act as a sender or receiveror receiver

• Each node may Each node may also need to act also need to act as a routeras a router

Page 5: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Mobile Ad-hoc NetworkMobile Ad-hoc Network

• In a Mobile Ad-hoc Network In a Mobile Ad-hoc Network (MANET) each node is free to (MANET) each node is free to move aroundmove around

• MANET presents new challengesMANET presents new challenges• Topology may be constantly changingTopology may be constantly changing• Nodes may move out of range of Nodes may move out of range of

other nodesother nodes

Page 6: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Transmission Control Transmission Control Protocol (TCP)Protocol (TCP)• More than 90% of all traffic in the More than 90% of all traffic in the

Internet is TCPInternet is TCP• Without TCPWithout TCP

• packets may be delivered out of packets may be delivered out of orderorder

• packets may be lostpackets may be lost

Page 7: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

How TCP WorksHow TCP Works

• Sending node sends a data packet

• Receiving node sends an acknowledgment packet once data packet is received

• Sending node sends next data packet once acknowledgment packet is received

Page 8: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

PurposePurpose

• Improve TCP performance in Improve TCP performance in mobile ad-hoc networks mobile ad-hoc networks

Page 9: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

MethodologyMethodology

• Network Simulator (ns2)Network Simulator (ns2)• Single TCP flowSingle TCP flow• Ad-Hoc On-Demand Distance Vector Ad-Hoc On-Demand Distance Vector

(AODV) routing(AODV) routing• Maximum node speed .5 m/sMaximum node speed .5 m/s

Page 10: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

TopologyTopology

•15 stationary nodes in a chain topology

•1 mobile node that moves past all nodes

•Mobile node 15 sends data to node 0, the first node in the chain

Page 11: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Routing ChangesRouting Changes

• As the mobile node moves • The topology changes

• The route from sender to receiver changes

Page 12: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

TCP ThroughputTCP Throughput

Page 13: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

TCP WindowTCP Window

• TCP window is number of data packets that are sent every time an acknowledgement is received

• Each time the sender receives an ack it can send 2 packets

• When 3 duplicate acks are received, cut send window in half

• If no ack is heard after timeout interval set window to 1

Page 14: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Changing TCP WindowChanging TCP Window

Page 15: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Changing Packet SizeChanging Packet Size

Page 16: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

ConclusionConclusion

• Changing the TCP window and Changing the TCP window and packet size reduces the number of packet size reduces the number of dropped packets and increases the dropped packets and increases the throughputthroughput

Page 17: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Future WorkFuture Work

• Look at TCP timeout during route Look at TCP timeout during route changeschanges

• Adaptive packet size and window Adaptive packet size and window size depending on number of hops size depending on number of hops to destinationto destination

Page 18: Designing Reliable Delivery for Mobile Ad-hoc Networks in Robots BJ Tiemessen Advisor: Dr. Dan Massey Department of Computer Science Colorado State University

Questions?Questions?