ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon...

14
PROJECT-2 MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710) ME-GY 6933 Advanced Mechatronics

Transcript of ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon...

Page 1: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

PROJECT-2

MOHIT LALA (N12051916)SHWETA VAVIYA (N17038710)

ME-GY 6933 Advanced Mechatronics

Page 2: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

OBJECTIVE

The aim of this stage is to model and develop a system of two robots that

localize themselves in a known environment while they cover different

regions in the environment, i.e., no overlap in the regions covered. The

robot will have a specific task assigned in its own region.

NYU Tandon School of Engineering (Fall 2016)

Page 3: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

WHAT WE ACHIEVED (Propeller Stage)■ MOTION:– Changed wall tracking (from Project 1) to Wavefront algorithm forbetter navigation to be used while mapping

■ COMMUNICATIONS:– Point-to-multipoint with Xbee instead of point to point limitations toincorporate use of distributed systems

■ Multiple ROBOTS:– Propeller Robot + Arduino Robot developed to serve the objective

NYU Tandon School of Engineering (Fall 2016)

Page 4: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

WHAT WE LEARNT

■ Hands-on experience with Propeller Board of Education and its on-board functionalities

■ Revision of C, C++ programming concepts with use of Simple IDE

■ Research of available recursive algorithms and data structures for robot navigation

■ Research over simpletools.h, fdserial.h and simpletext.h libraries

■ Configuring Xbee modules to work in a multipoint network, research of its command, API and AT modes and use of Xbee module as a co-ordinator, end device and router

■ Experience with and programming of wheel encoders, selecting motor drivers and motors and research of IMU sensors to get feedback from a mobile robot

NYU Tandon School of Engineering (Fall 2016)

Page 5: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

SYSTEM BLOCK DIAGRAM

NYU Tandon School of Engineering (Fall 2016)

Control stationwith

Master Xbee

Robot 2Robot 1

Xbee

Wheel encoder

Xbee

Wheel encoder

Page 6: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

SYSTEM PROS

■ Algorithm developed is generic enough to be used with different systems with similar development board functionalities

■ The code is modular and robust enough to be easily manipulated for hardware connections and additions

■ System generates simulation of the robot motion on the serial terminal

■ Can broadcast localization information with respect to the map, to any computer or other robot in its network

■ Can be queried to autonomously reach a specific location or user defined location

NYU Tandon School of Engineering (Fall 2016)

Page 7: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

BREADTH-FIRST SEARCH AND WAVEFRONT■ Breadth-first search (BFS) is an algorithm for traversing or searching tree

or graph data structures. It starts at the tree root (or some arbitrary node of a graph, sometimes referred to as a 'search key') and explores the neighbor nodes first, before moving to the next level neighbors.

NYU Tandon School of Engineering (Fall 2016)

G

W W W

W W W

R

G 2 3 4

W W W 3 4 5

7 6 5 4 5 6

8 7 6 W W W

8 7 8

8 R

G 2 3 4

W W W 3 4 5

7 6 5 4 5 6

8 7 6 W W W

8 7 8

8 R

Page 8: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

ALGORITHM

■ Receive input for goal location via Xbee

■ Generate grid of known environment

■ Assign value to each cell of the grid map using wavefront algorithm

■ Find shortest path using breadth-first search (BFS)

■ Manipulate robot motion as per the deduced path obtained by BFS

■ Using appropriate feedback sensors, track the location of the robot

NYU Tandon School of Engineering (Fall 2016)

Page 9: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

POINT-TO-MULTIPOINT TOPOLOGY

NYU Tandon School of Engineering (Fall 2016)

Explorer connected

to PCPropeller Board of

Education

Arduino Shield

F S

Page 10: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

FUTURE IMPROVEMENTS(with respect to system limitations)

■ Add feedback mechanisms to Arduino robot

■ Dynamic mapping

■ Localize robots with respect to each other

NYU Tandon School of Engineering (Fall 2016)

Page 11: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

VIDEO – IARDUINO

NYU Tandon School of Engineering (Fall 2016)

R 9 W 3 2 G

9 8 W 4 3 2

8 7 6 5 4 3

9 8 7 6 5 4

10 9 8 7 6 5

11 10 9 8 7 6

Page 12: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

NYU Tandon School of Engineering (Fall 2016)

0 0 5 6 7 8

R W 4 5 6 7

5 W 3 4 5 6

4 W 2 3 4 5

3 2 G 2 3 4

4 3 2 3 4 0

VIDEO – IIPROPELLER

Page 13: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

REFERENCES

■ http://www.societyofrobots.com/

■ CLRS – Introduction to Algorithms

■ Class notes on Propeller Intro Lec5 To 8

■ http://learn.parallax.com/tutorials/

■ https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf

NYU Tandon School of Engineering (Fall 2016)

Page 14: ME-GY 6933 Advanced Mechatronics - Home | NYU Tandon ...engineering.nyu.edu/mechatronics/projects/ME7836/Fall2016/mohit_shweta/... · MOHIT LALA (N12051916) SHWETA VAVIYA (N17038710)

THANKYOU

NYU Tandon School of Engineering (Fall 2016)