![Page 1: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/1.jpg)
1
![Page 2: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/2.jpg)
LabVIEW Robotics Starter Kit (DaNI)
Lab Exercises
2
Dr. James Conrad
John Wilkes
![Page 3: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/4.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/10.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/11.jpg)
Lab 2 – Demonstration
• Live demonstration
• Student video
11
![Page 12: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/12.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/13.jpg)
Lab 3 - Demonstration
13
![Page 14: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/14.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/15.jpg)
Lab – 4 Demonstration
15
![Page 16: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/16.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/17.jpg)
Lab 5 – A* Path Planning
17
![Page 18: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/18.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/19.jpg)
Lab 6 – Demonstration Using A*
• DaNI 1.1 video
• DaNI 2.0 video
19
![Page 20: TS5040_LabVIEW Robotics Starter Kit (DaNI) Lab Exercisesf](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/20.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/21.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/22.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/23.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/24.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050908/55cf9cee550346d033ab94f6/html5/thumbnails/25.jpg)
25