Minds and Computers 3.1 LEGO Mindstorms NXT l Atmel 32-bit ARM processor l 4 inputs/sensors (1, 2, 3, 4) l 3 outputs/motors (A, B, C) l 256 KB Flash Memory.

Slides:



Advertisements
Similar presentations
Rotation, Angular Momentum and Gravity
Advertisements

Full Speed Ahead Introductory Presentation. Opening Activity Choose one of the objects to the right and in ten or more steps explain how it goes from.
LabView Basics.
Graphical RobotC NXT (EV3) Robot Workshop 2015 Instructor: Dr. Fred Brauchler Assistant: Chris Parker 2/7/2015Lawrence Technological University1.
Robot Construction Basics Les Turner Director of Technology, Northern Indiana ESC Head Coach, Bremen Botz!
Rotary Motion Physics Montwood High School. Rotary motion is the motion of a body around an internal axis. –Rotary motion – axis of rotation is inside.
Mingo County Shewey Science Academy: NXT Training.
NXTG Workshop for Bottle RoboSumo Lawrence Technological University.
Right Face Introductory Presentation. Opening Activity How can you use this to make a right turn program? This is your program from Full Speed Ahead to.
Diameter, Circumference, and Rotational Sensors Robotics Academy All Rights Reserved.
LEGO Theory and Practice Mark Green School of Creative Media.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
Teaching with Robotics Professor: Jeffrey Forbes
Angular Mechanics - Kinematics Contents:
Have FUN!!! Demo the power of robotics to: –improve problem solving skills –utilize math skills –develop an “engineering mindset” –improve communication/teamwork.
Robotics Abstractions: Levels of language, world view
Introduction to LEGO NXT 6 hour course. Introductions You Your Expectations.
Robotics NXT sensors Back to Light sensor: red vs blue ball.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Why do robots need to move?
Application of Math and Science Principles Creating a robot that moves a specified distance straight ahead and Creating a robot that turns a specified.
Maze Challenge Maze Challenge activity > TeachEngineering.org
Wheeled Robots ~ 1.5 cm to a side temperature sensor & two motors travels 1 inch in 3 seconds untethered !!
Introduction to ROBOTICS
The Art of LEGO Design Jason Geist Original version by Michael Rosenblatt September 10, 2003.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
Minds and Computers 3.1 Preview Spin left motor Spin right motor Wait until the motors have spun two rotations Stop left motor Stop right motor What five.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Mobile Robots Why do robots need to move?. What defines a robot? Sense – a robot has to take in information about its environment Plan – a robot has to.
Minds and Computers4.1 Today's Topics l Braitenberg Vehicles l Art of Lego Design ä Notes from Jason Geist, Carnegie Mellon University l Differential Drive.
1. True or False: All these pieces are connector pegs. A. True B. False.
Minds and Computers 1.1 What is a robot? l Definitions ä Webster: a machine that looks like a human being and performs various acts (as walking and talking)
Find the Mindstorms Icon on the computer.. To start a new program click go.
The Art of LEGO Design Michael Rosenblatt September 19, 2000.
LEGO® MINDSTORMS® NXT Move Block.
Minds and Computers 2.1 The RCX l Hitachi H8/3297 series processor l 3 inputs/sensors (1, 2, 3) l 3 outputs/motors (A, B, C) l 32k RAM/ 16k ROM ä 12 kB.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Using Sensor Data and Port View.
EV3 Software EV3 Robot Workshop
ROBOTC Software EV3 Robot Workshop
CompSci 96s2.1 Line following l Describe your strategy:
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
ROBOTC Software EV3 Robot Workshop Lawrence Technological University.
Kinematics using slides from D. Lu. Goals of this class Introduce Forward Kinematics of mobile robots How Inverse Kinematics for static and mobile robots.
Deriving Consistency from LEGOs What we have learned in 6 years of FLL by Austin and Travis Schuh © 2005 Austin and Travis Schuh, all rights reserved.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
DPS Secondary Science Institute 1 Agenda 8:30-8:45 Introduction and Overview 8:45-9:15 The Bumper Car 9:15-10:15 The Line Follower 10:15-10:30 Questions.
Mobile Robots Why do robots need to move?. What defines a robot? Sense – a robot has to take in information about its environment Plan – a robot has to.
Forward Until Near Stop when near a wall.
Different Types of Robots
+ Math Module 1 Rates of Change & Mathematical Models.
Get In Gear. Opening Activity Describe what “speed” is. Give a verbal definition, any equations you know, and examples of different speeds.
Robotics Abstractions: Levels of language, world view
Today's Topics Art of Lego Design
BEGINNER EV3 PROGRAMMING Lesson
Deriving Consistency from LEGOs
Angular Mechanics - Kinematics Contents:
Introductory Presentation
Introductory Presentation
Robotics Abstractions: Levels of language, world view
Measured Turns.
Introductory Presentation
Introductory Presentation
Introductory Presentation
Beginner Programming Lesson
Computer Science Teachers Association Academy Lego Robotics
Kinematics of Mobile Robots
Wheels and Distance.
Getting started with LEGO EV3 Mindstorms software
Presentation transcript:

Minds and Computers 3.1 LEGO Mindstorms NXT l Atmel 32-bit ARM processor l 4 inputs/sensors (1, 2, 3, 4) l 3 outputs/motors (A, B, C) l 256 KB Flash Memory l 64 KB RAM l USB 2.0 Communication l 4 programmable buttons l 100x64 b/w LCD Display l Sensors ä Active: Old light and rotation ä Passive Touch, sensors for NXT ä Digital Ultrasonic l Motors ä 170 RPM ä 360 RPM for old motors, why?

Minds and Computers 3.2 Preview Spin left motor Spin right motor Wait until the motors have spun two rotations Stop left motor Stop right motor What five steps would the robot have to take in order to go forward for 2 rotations?

Minds and Computers 3.3 Preview Now lets examine what that would look like in the NXT Educational Programming Software. 1.Spin left motor2. Spin right motor 3. Wait for 2 rotations 4. Stop left motor5. Stop right motor

Minds and Computers 3.4 Preview While programming your motor blocks, make sure you select the proper output ports, and set both motors to the same direction and power level.

Minds and Computers 3.5 Preview l Don’t forget, the comments you include in your program don’t actually have any effect on what your robot will do. l Comments simply act as reminders for you when you edit your program. Here, the “wait for 1440 degrees” won’t do anything because the actual Wait Block is set to wait for 720 degrees.

Minds and Computers 3.6 Opening Activity Many things affected how far your robot traveled. The number of degrees your Wait For block is set to wait for The size of your tires

Minds and Computers 3.7 Wheels and Distance In this activity we’re going to program our robot to move an exact distance. To do so we must understand a few things about circles. STARTFINISH

Minds and Computers 3.8 Review Let’s start with the basics. Answer the following: 1. What is a radius of a circle? 2. What is a diameter of a circle? 3. What is the formula for the circumference of a circle? The distance from the center to the outside of a circle. The distance, through a circle’s center, from one edge to another. Circumference= diameter * π rd

Minds and Computers 3.9 Preview With our knowledge of circumference, we can start figuring out how to control the distance our robot goes.

Minds and Computers 3.10 Preview Finally, be sure to save frequently. That way, if anything happens to your computer you don’t have to start over.

Minds and Computers 3.11 Goals: l Build better robots ä Minimize mechanical breakdowns ä Build robots that are easy to control ä Encourage good design strategy ä Strive for elegant, clever solutions l Know your materials ä Plastic bricks since 1949 (wooden blocks prior) ä On average, 2100 different parts each year ä Manufacturing tolerance: 1/1000 of an inch ä Number of ways of combining six 8-stud bricks: 102,981,500 ä Widely used by scientists and engineers as a rapid prototyping tool

Minds and Computers 3.12 Connector pegs l Black pegs are tight-fitting for locking bricks together. l Grey pegs turn smoothly in bricks for making a pivot

Minds and Computers 3.13 Structure l LEGO bricks are finicky: ä They HATE duct tape. ä They HATE hot glue. ä They HATE s uper glue. ä They HATE epoxy. l You should never need adhesives to build reliable LEGO structures

Minds and Computers 3.14 Drivetrain l LEGO Gears 8T 16T 24T 40T 24T Crown 1T Worm Bevel

Minds and Computers 3.15 Design Strategy l Incremental design ä Test components parts as you build them Drivetrain Sensors, sensor mounting Structure ä Don’t be afraid to redesign ä KISS l Testing ä Don’t wait until you have a final robot to test Interaction of systems Work division (work concurrently) ä Develop test methods ä Repeatability

Minds and Computers 3.16 Philosophy l Build for accurate, precise control ä Slow vs. fast? ä Gear backlash ä Stability ä Skidding l Have fun l Be creative, unique l Strive for cool solutions, that work! l Aesthetics: it’s fun to make beautiful robots!

Minds and Computers 3.17 Differential drive Most common kinematic choice All of the miniature robots… Khepera, Braitenberg - difference in wheels’ speeds determines its turning angle VRVR VLVL

Minds and Computers 3.18 Differential drive Most common kinematic choice All of the miniature robots… Khepera, Braitenberg - difference in wheels’ speeds determines its turning angle VRVR VLVL Questions (forward kinematics) Given the wheel’s velocities or positions, what is the robot’s velocity/position ? Are there any inherent system constraints?

Minds and Computers ) Specify system measurements 2) Determine the point (the radius) around which the robot is turning. 3) Determine the speed at which the robot is turning to obtain the robot velocity. 4) Integrate to find position. Differential drive Most common kinematic choice All of the miniature robots… Khepera, Braitenberg - difference in wheels’ speeds determines its turning angle VRVR VLVL Questions (forward kinematics) Given the wheel’s velocities or positions, what is the robot’s velocity/position ? Are there any inherent system constraints?

Minds and Computers ) Specify system measurements Differential drive VRVR VLVL (assume a wheel radius of 1) x y  l - consider possible coordinate systems

Minds and Computers ) Specify system measurements Differential drive VRVR VLVL (assume a wheel radius of 1) x y  l - consider possible coordinate systems 2) Determine the point (the radius) around which the robot is turning.

Minds and Computers ) Specify system measurements Differential drive VRVR VLVL (assume a wheel radius of 1) x y  l - consider possible coordinate systems 2) Determine the point (the radius) around which the robot is turning. ICC “instantaneous center of curvature” - to minimize wheel slippage, this point (the ICC) must lie at the intersection of the wheels’ axles - each wheel must be traveling at the same angular velocity

Minds and Computers ) Specify system measurements Differential drive VRVR VLVL (assume a wheel radius of 1) x y  l - consider possible coordinate systems 2) Determine the point (the radius) around which the robot is turning. ICC “instantaneous center of curvature” - to minimize wheel slippage, this point (the ICC) must lie at the intersection of the wheels’ axles - each wheel must be traveling at the same angular velocity around the ICC 

Minds and Computers ) Specify system measurements Differential drive VRVR VLVL (assume a wheel radius of 1) l - consider possible coordinate systems 2) Determine the point (the radius) around which the robot is turning. ICC - each wheel must be traveling at the same angular velocity around the ICC R robot’s turning radius 3) Determine the robot’s speed around the ICC and its linear velocity   R+l/2) = V L  R- l/2) = V R x y

Minds and Computers ) Specify system measurements Differential drive VRVR VLVL (assume a wheel radius of 1) l - consider possible coordinate systems 2) Determine the point (the radius) around which the robot is turning. ICC - each wheel must be traveling at the same angular velocity around the ICC R robot’s turning radius 3) Determine the robot’s speed around the ICC and then linear velocity   R+d) = V L  R-d) = V R Thus,  = ( V R - V L ) / l R  = l ( V R + V L ) / ( V R - V L ) x y

Minds and Computers ) Specify system measurements Differential drive VRVR VLVL l - consider possible coordinate systems 2) Determine the point (the radius) around which the robot is turning. ICC - each wheel must be traveling at the same angular velocity around the ICC R robot’s turning radius 3) Determine the robot’s speed around the ICC and then linear velocity   R+d) = V L  R-d) = V R Thus,  = ( V R - V L ) / l R  = l ( V R + V L ) / 2( V R - V L ) x y So, the robot’s velocity is V  =  R = ( V R + V L ) / 2

Minds and Computers ) Integrate to obtain position Differential drive VRVR VLVL l ICC R(t) robot’s turning radius  (t)  = ( V R - V L ) / l R  = l( V R + V L ) / ( V R - V L ) V  =  R = ( V R + V L ) / 2 What has to happen to change the ICC ? V x = V(t) cos(  (t)) V y = V(t) sin(  (t)) with x y

Minds and Computers ) Integrate to obtain position Differential drive VRVR VLVL l ICC R(t) robot’s turning radius  (t)  = ( V R - V L ) / l R  = l ( V R + V L ) / 2( V R - V L ) V  =  R = ( V R + V L ) / 2 V x = V(t) cos(  (t)) V y = V(t) sin(  (t)) with x y x(t) = ∫ V(t) cos(  (t)) dt y(t) = ∫ V(t) sin(  (t)) dt  (t) = ∫  (t) dt Thus,

Minds and Computers ) Integrate to obtain position Differential drive VRVR VLVL l ICC R(t) robot’s turning radius  (t) Thus,  = ( V R - V L ) /l R  = l ( V R + V L ) / 2( V R - V L ) V  =  R = ( V R + V L ) / 2 What has to happen to change the ICC ? V x = V(t) cos(  (t)) V y = V(t) sin(  (t)) x(t) = ∫ V(t) cos(  (t)) dt y(t) = ∫ V(t) sin(  (t)) dt  (t) = ∫  (t) dt with x y Kinematics