SOFTWARE FOR CONTROL OF ROBOTIC MANIPULATOR

Similar documents
Technology. Using Bluetooth

1001ICT Introduction To Programming Lecture Notes

Using the Lego NXT with Labview.

Technology. In the My Files [My Files] submenu you can store all the programs that you have made on the NXT or downloaded from your computer.

Technology. In the My Files [My Files] submenu you can store all the programs that you have made on the NXT or downloaded from your computer.

The NXT Generation. A complete learning solution

Robot Activity: Programming the NXT 2.0

Rule 1 of Sumo club is we don t talk about sumo club!

Mapping a Magnetic Field. Evaluation copy. Figure 1: Detecting the magnetic field around a bar magnet

Introduction WELCOME TO LEGO MINDSTORMS EDUCATION

Rescue Rover. Robotics Unit Lesson 1. Overview

Technology. Using Bluetooth

Acidity Tester. Project OBJECTIVES DIFFICULTY LEVEL

FLL Indonesia Category

SWS Option: Well Pressures. SWS Option: Stretch Correction (Corrected depth) SWS Option: MMD (Magnetic Marks Detection) ASEP Products

Robot Soccer Challenge

World Robot Olympiad 2018

NXT Robotics Techniques Workshop 2008

LEGO Engineering Conferences ROBOLAB and MINDSTORMS Education Version 4.5 March 2008

Heating of Land and Water

World Robot Olympiad 2019

Robot motion by simultaneously wheel and leg propulsion

GEN II Robot Soccer EV3 Compass Training Curriculum Brian Thomas

2017/2018 Robot Game Rules (updated to Jan 9, 2018)

Main Events. LEGO Creation Contest. Mindstorms SumoBots. Mindstorms Drag Racing. FLL Hydro Dynamics Robot Challenge. Angry Birds Robotics

all i imck >Э1 1 I Vf I \ Ш i ш ,M; цриазд IF 4 ifipm>v*' %тл sioaoy DNicning HUM

VEX Lifts. (Devices that extend upwards) Lab Rats 2008 Bridge Battle Robot

General Rules 2010: Regular category

Computer Aided Drafting, Design and Manufacturing Volume 26, Number 2, June 2016, Page 53. The design of exoskeleton lower limbs rehabilitation robot

Simple Simon GEN II Robot Soccer EV3 -Tris 10 Training Curriculum

Getting Started with the LabVIEW Toolkit for LEGO MINDSTORMS NXT

Kestrel HVK Gun Loader Sofware

The Mechanical Advantage

The Soccer Guy. By Marcus Hilgers Faisal Ahmad Jacob Borer

FIRST LEGO League - Massachusetts

Standard League WRO Football Simple Simon EV3 Training Curriculum

Gears Ratios and Speed / Problem Solving

Line Following with RobotC Page 1

SCHEINWORKS Measuring and Analysis Systems by

e d u c a t i o n NXT Solar Station

Read this first: To maximize performance and eliminate surprises, the team must take the time to read and understand FOUR documents:

Beginner Category Tug of War 2v2

2012 NRC - RULES AND REGULATIONS

Simulation of the Hybtor Robot

UNIVERSITY OF WATERLOO

IDeA Competition Report. Electronic Swimming Coach (ESC) for. Athletes who are Visually Impaired

APA software instruction manual

Project Title: Pneumatic Exercise Machine

BIT User Manual. 1. About this manual. 2. Know your BIT 1.1. WARNING System Components


User Manual. MEGP 25 Electric Gripper. Document version: 1.1

Electronic Automatic Transmission for Bicycle

(Lab Interface BLM) Acceleration

NXT SUMO Rules USU Physics Day Lagoon Farmington, UT

READ-ME-FIRST RMF-01. DOWNLOAD COMPLETE TECHNICAL OWNER MANUAL

In addition to reading this assignment, also read Appendices A and B.

2014 National Robotics Competition - GEN II Football

Animal Allies Robot Game

Standard League Robot Soccer EV3 Compass Training Curriculum Brian Thomas

Measuring wind speed and direction

01 TM SuperModified Testing with RS485 <> USB

Quick Start Guide. A. Hardware installation B. Software installation C. Start the software for the first time D. Do your first measurement

Missions and Rules for 2009 Smart Move FLL Competition

GREAT THINGS TO KNOW ABOUT YOUR. IRwin Methane Leak Detector

National Robotics Competition 2018 NRC WRO Challenge Manual

e.do Gripper Safety requirements, technical features and assembly and integration instructions

IBU3 Manual Addendum 1

Pedometer with PC download. Model: FB322 OVERVIEW FRONT VIEW INDEX

Utah Elementary Robotics SUMO Rules. Competition During USU Physics Lagoon in Farmington, UT. May 12, 2017 Starting at 10:30 AM

MazeBot. Our Urban City. Challenge Manual

What to Expect at Your First FTC Tournament. Eric Grajales Mike Nicolai September 17, 2011

Figure SM1: Front panel of the multipatcher software graphic user interface (GUI) at the beginning of multipatcher operation.

PRODUCT INFO SHEET. NEO 2 Smart. PRODUCT INFO NEO 2 Smart T Box

S-CURVE DOCUMENTATION AND TUTORIAL FOR THE S-CURVE ON THE COOL MUSCLE

Operating Manual. BACVis. Manual BACVis. for. Sensors and MilliGascounter. Rev

PART 5 - OPTIONS CONTENTS 5.1 SYSTEM EXPANSION 5-3

Science&Motion. SAM BalanceLab. Sports. control the invisible. Most advanced pressure plate for coaching

Tether Tender. User Manual. Revision 1A. KCF Technologies, Inc. 336 South Fraser St., State College, PA

Oxygen Meter User Manual

Design and Implementation of Automatic Air Flow Rate Control System

AHE58/59 AC Servo System

Texas 4-H Robotics Challenge

A4s Operation Manual

Easy to operate even for biginners. Set up the number of test. Possible to select from 1 to times

2013 National Robotics Competition - GEN II Football

Accurate, easy to use and reliable: Easy to use control panel. Clear, backlit LCD display: Quick connect spindles:

Positioning and Control of Boom Crane Luffing with Double-Pendulum Payloads

USTEM/SCRC Mars Space Challenge 2016

Beating Heart Simulator: Oral Report 2. Ashley Whiteside Nicole Rice Jacob Bauer

User Manual. MEGP 25 Electric Gripper (for Meca500 R3)

TOPICS TO BE COVERED

This document contains recommendations that may help teams be more successful in preparing for and participating in the FTC World Championship Event.

628 Differential Pressure Decay Leak Tester

Easy to operate. Wide space

Robotics and Autonomous Systems

Automatic Isokinetic Sampler. ST5 Evo

Roller AC Servo System

Robotics and Autonomous Systems

tend to disable normal balance and movement of the

Sharp Shooting: Improving Basketball Shooting Form

Transcription:

SOFTWARE FOR CONTROL OF ROBOTIC MANIPULATOR INTRODUCTION Robotics is a very common and discussed problem recently. Robotic arms and manipulators are used in industry, transport or medicine. They often substitutes people where the operations are dangerous, repeating. Robotics can be divided into three parts: - theoretical robotics search principles and possibilities - experimental robotics proves principles and builds models - applied robotics builds robots for industry, medicine etc. They are used for operations, such as welding in automotive industry, or for dosage in chemical industry or medicine. Robots can also be equipped with cameras and wheels. These can be used in sites of disasters as devices that save lives. 1 DEVICE DESCRIPTION This device is using Lego Mindstorm and MATLAB. Lego NTX Brick is using 32-bit microcontroller and can be connected up to three motors and four sensors as touch, light, colour or ultrasonic sensor [Hlinovský et al., 2010]. The NXT brick can be connected to PC via USB 2.0 or Bluetooth. Fig. 1 NXT Brick with accesories Lego develops graphical interface, where user can easily program the brick using block schemes. Otherwise MATLAB and free toolbox from RWTH Aachen University can be used to program the brick. C021b - 1

Fig. 2 Lego Mindstorms GUI 2 BUILDING THE MANIPULATOR Two Lego Mindstorms NXT 2.0 sets and one extension pack was used for building the manipulator. The manipulator has five degrees of freedom. Both NXT bricks and one motor form up the main platform, the arm itself is made of two parts. First motor is used for rotation of the whole arm, but it can not rotate in full angle but just in 270 degrees (because of the cables connected to other motors). There are used two motors and a big gear box for lifting the main arm upwards. Another three motors are placed in the half of the arm and they support lifting of the end of the arm, rotation of the wrist and the grip. The motors could be placed there because of the constant velocity joints and another small gearbox even though the arm is so heavy that two motors and some weight is needed for a balance. see Fig 3. Fig. 3 Manipulator C021b - 2

This project uses two NXT Bricks, because of six servo motors. Each microcontroller is able to communicate with just three of them. On the other hand every microcontroller is able to drive the motor very accurately with many specifics like torque, driven distance and speed. It can also synchronize two motors to rotate exactly same speed for exactly same time. The last ability is usable with only two motors. The NXT brick can not drive all three motors at the same time. It also can not drive two motors with different speed or set a different distance. The NXT brick is capable to do only one command at time, so we had to combine motors for being able to operate the robot easily and not only one by one. There are no sensors connected to NXT brick, because they are not needed. The NXT has a decoder in every motor and it can drive the motors precisely without any other sensors and also send their position in driven degrees to the PC. 2.1 Programming in MATLAB MATLAB commands to LEGO bricks are very simple, but there is no way how to do it continuously. There have to be some specifics in commands for motors like the port of the motor, power, tacholimit and action at tacholimit. When MATLAB sends this to NXT, NXT starts moving the motor and if a new command is sent before it finishes the previous one, the command is lost. The only way how to do some moves independently is to use two bricks and send them commands separately even though there is a risk of losing the command. The NXT bricks were connected to PC by USB 2.0 because manipulator is not moving, so Bluetooth is not necessary. C021b - 3

3 GRAPHICAL USER INTERFACE Graphical user interface is programmed in MATLAB for easier connectivity to NXT bricks. Fig. 4 User interface In section (1) there are four sliders which rotates and elevates with the arm. Section (2) is for control the grip, which has only two positions. Both sections (1) and (2) are active while manual control is selected in section (3). Section (3) is for choosing manual or automatic control. In section (4) there are two buttons. Go button is starting the movement of the arm while manual control is selected or returns the arm to starting position while automatic control is selected. Reset button sets new starting position. 3.1 MATLAB Code This is part of the code in m-file in MATLAB, where are used two motors which are synchronized and on one axle. % Clearing the workspace: clear all; close all; COM_CloseNXT('all'); % Connection to NXTs: h = COM_OpenNXTEx('USB', '0016530BD2E8'); l = COM_OpenNXTEx('USB', '0016530F946B'); % choosing the active one COM_SetDefaultNXT(h); %COM_SetDefaultNXT(l); % Data from NXT motor data = mup.readfromnxt(); Position = data.position; % Data from GUI NewPosition=700; % Program: Length=abs(Position-NewPosition); % Length which must be driven. C021b - 4

if(length~=0) % If no change, program ends. if(newposition>position) DrivingSpeed=100; %speed for rising the arm else DrivingSpeed=-50; %speed for lowering the arm end %if2 % Two motors in synchronized mode: Ports =[MOTOR_A; MOTOR_B]; Quarterturntick = 360; mstraight = NXTMotor(Ports); mstraight.speedregulation = false; mstraight.smoothstart = true; mstraight.power = DrivingSpeed; mstraight.tacholimit = Length; mstraight.actionattacholimit ='Brake';%Also can be used HoldBrake or Coast. % Sending command to NXT: mstraight.sendtonxt(); % Waiting for NXT: mstraight.waitfor(); end% If1 % Closing the comports to NXTs COM_CloseNXT(All); REFERENCES HLINOVSKÝ, M., KRUCZEK, A.2010. Předmět ROBOTI na ČVUT FEL v Praze. In Proceedings of Conference ARTEP 10", Stará Lesná, 24.-26. 2 2010.Košice : Technická univerzita Košice, 2010. ISBN 978-80-553-0347-5. C021b - 5