ts5040_labview robotics starter kit (dani) lab exercisesf

25
1

Upload: sivani05

Post on 03-Jan-2016

144 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

1

Page 2: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

LabVIEW Robotics Starter Kit (DaNI)

Lab Exercises

2

Dr. James Conrad

John Wilkes

Page 3: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Outline

• Course Information

• Lab Development and Materials

• Lab Descriptions and Demonstrations

3

• Lab Descriptions and Demonstrations

• Results and DaNI model Comparison

• Conclusion

Page 4: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

UNC Charlotte Intro to Robotics Course

• Senior/Graduate level.

• Prerequisite: Programming course, Senior standing.

• Currently only offered in the summer.

• Program a modern microcontroller using LabVIEW

4

• Program a modern microcontroller using LabVIEW

and operate its peripheral devices.

• Book: Autonomous Mobile Robots by Roland

Siegwart, second edition, 2011.

Page 5: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

UNC Charlotte Robotics Course (Cont).

• Identify general concepts of Systems Engineering.

• Identify sensors and integrate them in a robot.

• Design motion sub-systems (DC motors, servos,

steppers, linear actuators) and identify how they

5

steppers, linear actuators) and identify how they

would be integrated in a robot.

• Design a motion trajectory planning algorithm and

implement it in a robot.

• Hands-on labs a major part of course.

Page 6: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Development of Labs – Senior Design

• Original labs developed as a UNCC sponsored

senior design project

• Team of 3 Computer Engineering students

6

• Team of 3 Computer Engineering students

• Labs developed over 2 semesters

• Deliverables: Labs, tutorials, solutions

• Sr. Design requires extensive project

management and reporting documentation

Page 7: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Development of Labs, Additional Materials

• Sensors

– Accelerometer: ADXL 320

– Infrared: Sharp GP2Y0A21YK

7

– Infrared: Sharp GP2Y0A21YK

• Sensor Bracket / Extender

• Wiring

Page 8: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Materials Available to Instructors

• Lab Assignments

� Gives background information and requirements for

the labs

• Lab tutorials

8

• Lab tutorials

� Step-by-step instructions for completing labs

• Solutions

� LabVIEW VI files

Page 9: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 1 – Intro. to LabVIEW Robotics

• Introduction / Tutorial packet ships with the DaNI

robotic platform

• Basic tutorial for creating a LabVIEW robotics

9

• Basic tutorial for creating a LabVIEW robotics

project

• Hardware setup and configuration

� Tests motors and ultrasonic sensor

Page 10: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 2 – Motor Control

• Teaches basic concepts of locomotion using a

wheeled robotic platform

• Goal – Robot will traverse a 2x2 Meter square

10

• Goal – Robot will traverse a 2x2 Meter square

2 Meters

Page 11: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 2 – Demonstration

• Live demonstration

• Student video

11

Page 12: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 3 – Edge Detection

• Teaches concepts of hierarchy

• Adding sensors to DaNISharp GP2Y0A21YK

Infrared Sensor

12

Infrared Sensor

Ana

log Voltage

(Vo)

Distance (cm)

Page 13: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 3 - Demonstration

13

Page 14: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 4 - Accelerometers

• Teaches the use of an accelerometer with a

robotic platform

• Accelerometer used as a “tilt detector”

14

• Accelerometer used as a “tilt detector”

ADXL 320

Page 15: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab – 4 Demonstration

15

Page 16: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 5 – A* Path Planning

• Teaches integration of a completed algorithm

with the DaNI robotic platform

• Requires a mastery of basic motor control

16

• Requires a mastery of basic motor control

• Utilizes multiple sub VI’s

• 2D Arrays

Page 17: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 5 – A* Path Planning

17

Page 18: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 6 – Obstacle Course

• Students must use DaNI, along with any sensors

of their choosing to navigate an obstacle course

• Student Examples:

18

• Student Examples:

� Modified A*

� Measurement

� Sub VI’s

� Sensors

Page 19: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Lab 6 – Demonstration Using A*

• DaNI 1.1 video

• DaNI 2.0 video

19

Page 20: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Student Reception to LabVIEW

• Previous courses had a strong embedded

development component (design complete

subsystems)

• Students were at first enthusiastic about learning

20

• Students were at first enthusiastic about learning

LabVIEW

• Learning curve was steep for a 10-week course

• DaNI 1.1 FPGA compile times (up to 25 minutes)

too long for rapid prototyping

Page 21: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

DaNI 1.1 vs. DaNI 2.0

• DaNI 1.1

� Gears

� 4 wheels

� sbRIO-9631

• DaNI 2.0

� Direct Drive

� 3 wheels

� sbRIO-9632

21

� sbRIO-9631

� LabVIEW 2009

� sbRIO-9632

� LabVIEW 2011

Page 22: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Labs in Development

• Vision Acquisition

� Axis network camera is used

to track another robot using

22

to track another robot using

color detection

� Will follow another robot in

a convoy like fashion

Axis M1011 Network Camera

Page 23: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Conclusion• LabVIEW Platform provides a good environment for

rapid implementation

• Student reception has been guarded

� LabVIEW learning curve is a bit overwhelming for some

23

� LabVIEW learning curve is a bit overwhelming for some

� DaNI 1.1 vehicle not ideal

� DaNI 1.1 FPGA compile times too long

• DaNI 2.0 vehicle and development environment

provides an excellent platform for course.

Page 24: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

Contact Info

James M. ConradAssociate ProfessorDept. of Electrical and Computer Engineering

UNC-Charlotte9201 University city Boulevard

24

9201 University city BoulevardCharlotte, NC [email protected]*http://www.ece.uncc.edu/~jmconradPhone: 704-687-8597Fax: 704-687-4762

* Preferred method of contact

Page 25: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf

25