Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS

Similar documents
The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX.

Robotics using Lego Mindstorms EV3 (Intermediate)

understanding sensors

Agent-based/Robotics Programming Lab II

Parts of a Lego RCX Robot

Lab book. Exploring Robotics (CORC3303)

Robot Programming Manual

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects

Exercise 2-2. Four-Wire Transmitter (Optional) EXERCISE OBJECTIVE DISCUSSION OUTLINE. Ultrasonic level transmitter DISCUSSION

Toeing the Line Experiments with Line-following Algorithms

EV3 Advanced Topics for FLL

Deriving Consistency from LEGOs

Chapter 1. Robots and Programs

Here Comes the Sun. The Challenge


A Lego-Based Soccer-Playing Robot Competition For Teaching Design

Lego Nxt in Physical Etoys

Chapter 9 The use of the LEGO MINDSTORMS System in Modeling the Foraging Behavior and Strategies of Simple Animals

Welcome to. NXT Basics. Presenter: Wael Hajj Ali With assistance of: Ammar Shehadeh - Souhaib Alzanki - Samer Abuthaher

ROBOTICS. also enjoy buildi ng things with such manipulatives as Legos. Robotics was the. Real World. technology build engineering intuition.

Quick Start Guide. Contents

Studuino Icon Programming Environment Guide

In order to do this project you should review the following concepts:

Laboratory 1: Motion in One Dimension

SOP-P051. Scanning of Optical Filters With USB2000. Objective: To determine the spectral transmittance properties of an optical filter.

due Thursday 10/14 at 11pm (Part 1 appears in a separate document. Both parts have the same submission deadline.)

Familiarization with the Servo Robot System

: Robots for Education and Entertainment. Sara Schütz

The Challenge. What to Do

LAB 5: Mobile robots -- Modeling, control and tracking

ACTIVE LEARNING USING MECHATRONICS IN A FRESHMAN INFORMATION TECHNOLOGY COURSE

Bioloid Premium Kit Robot Arm Assembly Manual v1.0. Bioloid Premium Kit Robot Arm Assembly Manual

Robotics Workshop. for Parents and Teachers. September 27, 2014 Wichita State University College of Engineering. Karen Reynolds

An Introduction to Programming using the NXT Robot:

Your EdVenture into Robotics 10 Lesson plans

I.1 Smart Machines. Unit Overview:

Studuino Color Sensor Manual

Learning serious knowledge while "playing"with robots

Chapter 14. using data wires

The Discussion of this exercise covers the following points: Differential-pressure transmitter. Differential-pressure transmitter

Science Sensors/Probes

Team #3691 FLL Technical Manual. Ashburn Robotics NXTreme (Team#3691)

Competitive VEX Robot Designer. Terminal Objective 1.4: program and operate the Tumbler

Some prior experience with building programs in Scratch is assumed. You can find some introductory materials here:

Ev3 Robotics Programming 101

EDUCATORS INFORMATION GUIDE

Erik Von Burg Mesa Public Schools Gifted and Talented Program Johnson Elementary School

Pre-Activity Quiz. 2 feet forward in a straight line? 1. What is a design challenge? 2. How do you program a robot to move

9/2/2013 Excellent ID. Operational Manual eskan SADL handheld scanner

Addendum to HQ 24 Fusion User Manual

RUNNYMEDE COLLEGE & TECHTALENTS

Automatic Tool Changer (ATC) for the prolight A Supplement to the prolight 1000 User s Guide

Mini Hexapodinno. 18-DOF Robot

Lab 7: Introduction to Webots and Sensor Modeling

Instructors. Manual GEARED. After-School Robotics Program By Haley Hanson

Vision Ques t. Vision Quest. Use the Vision Sensor to drive your robot in Vision Quest!

ivu Plus Quick Start Guide P/N rev. A -- 10/8/2010

Hi everyone. educational environment based on team work that nurtures creativity and innovation preparing them for a world of increasing

Boiloid Premium Kit Smart Car Assembly Manual v1.0. Bioloid Premium Kit Smart Car Assembly Manual

Where C= circumference, π = 3.14, and D = diameter EV3 Distance. Developed by Joanna M. Skluzacek Wisconsin 4-H 2016 Page 1

CNC Mill Training System (Heavy Duty)

5500 CNC Lathe Systems (Heavy Duty)

Micro Wizard Instructions

Fuzzy Logic Controlled Miniature LEGO Robot for Undergraduate Training System

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. LEGO Bowling Workbook

Introduction to programming with Fable

FLL Coaches Clinic Chassis and Attachments. Patrick R. Michaud

Running the PR2. Chapter Getting set up Out of the box Batteries and power

UNIT1. Keywords page 13-14

BMW E90 Android Touch Screen Radio Installation Instructions

Meet Cue. USER PROGRAMMABLE LEDS & BUTTONS Customizes your experience.

Table of Contents. Sample Pages - get the whole book at

Exercise 2. Point-to-Point Programs EXERCISE OBJECTIVE

Using Cyclic Genetic Algorithms to Evolve Multi-Loop Control Programs

Bipedinno. 12-DOF Waist-high Robot

BMW E6x/E9x Android Touch Screen Radio Installation Instructions

VEX Robotics Platform and ROBOTC Software. Introduction

Teaching Children Proportional Control using ROBOLAB 2.9. By Dr C S Soh

Pre-Day Questionnaire

Mindstorms NXT. mindstorms.lego.com

AN HYBRID LOCOMOTION SERVICE ROBOT FOR INDOOR SCENARIOS 1

Thanks to Autocheck function, it is possible to perform a complete check-up of the robot thanks to a stepby-step

Capstone Python Project Features

Lab 1: Testing and Measurement on the r-one

IMPORTANT: PLEASE DO NOT USE THIS DOCUMENT WITHOUT READING THIS PAGE

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

Introduction to Robotics Rubrics

FAST TRACK READ ME FIRST! FAST TRACK E300 A Quick-Start Guide to Installing and Using Your COOLPIX 300. Contents. Nikon View... 25

Understanding the Arduino to LabVIEW Interface

The ideal K-12 science microscope solution. User Guide. for use with the Nova5000

Robotics 2a. What Have We Got to Work With?

CobraCam USB III Portable Inspection Camera with USB Interface Instruction Manual

ezsystem elab16m Light Sensing Robot

Digital Portable Overhead Document Camera LV-1010

Breedbot: An Edutainment Robotics System to Link Digital and Real World

Momentum and Impulse. Objective. Theory. Investigate the relationship between impulse and momentum.

_ Programming Manual RE729 Including Classic and New VoX Interfaces Version 3.0 May 2011

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014

Topic 1. Road safety rules. Projects: 1. Robo drives safely - page Robo is a traffic light - - page 6-10 Robo is a smart traffic light

Sample Pages. Classroom Activities for the Busy Teacher: NXT. 2 nd Edition. Classroom Activities for the Busy Teacher: NXT -

Transcription:

Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS OBJECTIVES - Familiarize the students in the area of automatization and control. - Familiarize the student with programming of toy robots. EQUIPMENT AND REQUERIED ELEMENTS - Legos Robotics Kit - Constructopedia - Computer ROBOTS A Robot is a machine controlled by a computer programmed to be moved, to manipulate objects and to carry out different tasks at the same time it interacts with its environment. Robots are capable of carrying out repetitive tasks quicker, less costly and more precisely than human beings. Depending to the application, different types of robots exist, as for example, industrial robots, didactic robots, toy robots, etc. In this practice we will make use of toy robots that imitate or even accomplish with some similar functions of didactic or experimental robots used for teaching and learning about robotics. The robots we will control consists of the following parts: Processing Unit - RCX, Motors, Sensors, Pieces (bricks, wheels, connectors, etc.) To assemble the robots we have Constructopedia, a computer guide with various robot models that can be built with the accessories of LEGOS. Description of the RCX unit The RCX is a programmable unit of the LEGO used to control the motors and sensors of the robot (Figure 1). Its interior is composed by a microprocessing unit that executes the instructions stored in the internal memory of the unit and that contains all the steps that the robot should execute. The components of the RCX are: - Microprocessing unit and internal memory. These two elements compose the central processing unit which controls the RCX. - Output ports A, B and C; these are used to connect the motors or any another auxiliary element that offers movement to the robot. - Input ports 1, 2 and 3; these are used to connect the sensors of light and touch or any another element used to guide the robot. - Control buttons; these are used to control the RCX unit. Contains the functions to turn on/off the unit, view of the state of the ports, selection of the program and execution of programs. 56

- Display; graphical interface that permits the user interact with the RCX unit. - Infrared transmitter; used to communicate the unit with the computer. - Speaker. Management of the RCX unit Figure 1 The RCX unit is controlled through the use of four buttons, these are: On-Off : turns on/off the unit. Run : Executes or stops the selected program. Prgm : Selects one of five programs stored in the unit which is chosen to operate. View : Collects information of the ports of the sensors or of the motors. Programming of the RCX unit The RCX unit can store up to five programs simultaneously. The execution of each one of these programs is done independently through the buttons Prgm and Run. To execute a stored program in one of the five slots of the RCX: - First select the slot which contains the program; to do this press various times the function Prgm. - Then execute the selected program by pressing on the function Run. To program the RCX we must use the computer software Robotics Invention System 2.0. This software has a graphical interphase that facilitates the construction of programs in a simple and quick way without the use of codes or instructions. Robotics Invention System 2.0 employs the flow diagram format to implement the programs, and the instructions are established in a form of graphic objects which symbolize the functions or operations required for the robot to do. 57

The RCX unit is programmed from the computer through the infrared interphase, as shown in Figure 2. To save a program in the RCX we must indicate from the computer the slot where we want to save it. This operation is done by entering in the menu Settings > Download to Slot. Roverbot Construction Figure 2 Constructopedia has a description of the diverse robots that can be built according to the application or convenience of the user. For this purpose we will only use one of them, the Roverbot, documented in pages 10 34 of the manual. This robot is easy to construct and has the characteristic of being fast and sturdy to move obstacles. Construct the Roverbot according to the instructions indicated in pages 12-17. Construct also the different types of sensors: The Single Bumper, The Double Bumper and The Light Sensor, which appear in pages 26, 30 and 34 respectively. In Figure 3 we can see the different configurations which can take the Roverbot. The Single Bumper 58

The Double Bumper The Light Sensor Basics Programs Control of the motors Figure 3 We intend to control the movement and velocity of the motors with the RCX unit. - Use the Roverbot without sensors. - To enter the program, localize in your computer desktop the Robotics Invention System 2.0 icon (the next commands Hill be done by left clicking the correct word). A menu will appear onscreen, select run, then choose explot and select enter. In the next window select program, then pick a robot, then Roverbot and finally program this robot. - After completing the previous steps a graphical interphase will appear of for the programming of the Robots. - In the graphical interphase of robot programming verify that the motors are properly connected. To do this, right click over the object Untitled, as shown in Figure 4. - In the new window that is opened, listed are the options to control the movements of the motors connected to ports A, B and C. Make use of these options to verify that the motors rotate in the adequate directions. - From the list of options Big Blocks, choose the instruction Forward and place it immediately under the beginning of the program Untitled, as shown in program 1 of Figure 5. - Download the program in the RCX unit by clicking in DOWNLOAD. 59

- Execute the program stored in the RCX unit by clicking in RUN. - Explain what the robot did. - To configure the time the motor is on, right-click over the instruction Forward. Place, for example 5 sec. - Load and execute again the program with the change in place. - To try other instructions that control the movement of the motors, experiment with programs listed 2, 3 and 4 in Figure 5. To eliminate the blocks (to be able to place a new instruction), select the block with a left-click and then place it in the trashcan that appears in the lower-left corner and left-click again. - Explain what occurs in the programs. Programa 2: Programa 3: Programa 4: Left Click Figure 4 60

Program 1 Program 2 Program 3 Program 4 Figure 5 - The speed of the motors is controlled with the amount of power consumed. We can choose other velocities by adding the block Set Power found in the Small Blocks as shown in Figure 6. - Load and execute again the program with the change in effect. - Explain what occurs in the program. Insert here Figure 6 Sensors Now we will verify the operation of the sensors. 61

Touch Sensor The sensor of touch will be used to cause the Roverbot to back away when it finds an obstacle. - Open a new project and use the Roverbot with the configuration Single Bumper. - Choose, between the options of Sensors, the Touch Sensor instruction. Place it in port 1 and keep the option of detecting events with press, as shown in Figure 7. - Construct the program according to the illustrated in Figure 8. - Load and execute again the program in the RXC unit. - Explain what occurs in the program. Light Sensor The light sensor will be used to cause the Roverbot to back away when it finds a dark line. - Open a new project and use the Roverbot with the light sensor. - Choose, between the options of Sensors, the Light Sensor instruction. Place it in port 2 and keep the option of detecting events which are dark, as shown in Figure 9. - Construct the program according to the illustrated in Figure 10. - Load and execute again the program in the RXC unit. - Explain what occurs in the program. Figure 7 62

Figure 8 Program to elude an obstacle The robot will be programmed to elude objects that appear in its course. In the program we will put in practice other instructions that will give more flexibility to the movement of the robot (see Figure 10). As it can be appreciated, we have included the instructions Repeat (this it is used when we want the movement to be continuous and not depend on time) and Beep (it emits a beep when it finds an obstacle). - Use the configuration of the Roverbot with the sensor Double Bumper. - Program the robot according to the illustrated in Figure 11. - Load and execute again the program in the RXC unit. - Explain what occurs in the program. Figure 9 63

Figure 10 Figure 11 Problem Elaborate a program so that the Rovertbot can follow a trajectory or a black line. Note: Use the instructions Repeat, Turn left, Turn right, and the instruction Yes or No. 64