INSTRUCTOR WORKBOOK Quanser Robotics Package for Education for MATLAB /Simulink Users



Similar documents
Design-Simulation-Optimization Package for a Generic 6-DOF Manipulator with a Spherical Wrist

Practical Work DELMIA V5 R20 Lecture 1. D. Chablat / S. Caro Damien.Chablat@irccyn.ec-nantes.fr Stephane.Caro@irccyn.ec-nantes.fr

Intelligent Submersible Manipulator-Robot, Design, Modeling, Simulation and Motion Optimization for Maritime Robotic Research

ME 115(b): Solution to Homework #1

Simulation of Trajectories and Comparison of Joint Variables for Robotic Manipulator Using Multibody Dynamics (MBD)

FUNDAMENTALS OF ROBOTICS

Industrial Robotics. Training Objective

ACTUATOR DESIGN FOR ARC WELDING ROBOT

ECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering

A PAIR OF MEASURES OF ROTATIONAL ERROR FOR AXISYMMETRIC ROBOT END-EFFECTORS

CALIBRATION OF A ROBUST 2 DOF PATH MONITORING TOOL FOR INDUSTRIAL ROBOTS AND MACHINE TOOLS BASED ON PARALLEL KINEMATICS

Animations in Creo 3.0

Constraint satisfaction and global optimization in robotics

Introduction to Robotics Analysis, Systems, Applications

Robotics and Automation Blueprint

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy

Force/position control of a robotic system for transcranial magnetic stimulation

Operational Space Control for A Scara Robot

An inertial haptic interface for robotic applications

Robotic motion planning for 8- DOF motion stage

INTRODUCTION. Robotics is a relatively young field of modern technology that crosses traditional

Development of Easy Teaching Interface for a Dual Arm Robot Manipulator

CIS 536/636 Introduction to Computer Graphics. Kansas State University. CIS 536/636 Introduction to Computer Graphics

Introduction to Computer Graphics Marie-Paule Cani & Estelle Duveau

Integration of a Robotic Arm with the Surgical Assistant Workstation Software Framework

On-line trajectory planning of robot manipulator s end effector in Cartesian Space using quaternions

CIM Computer Integrated Manufacturing

Figure 1 - Delta Theta Input Selection

Whole-body dynamic motion planning with centroidal dynamics and full kinematics

LEGO NXT-based Robotic Arm

Computer Animation. Lecture 2. Basics of Character Animation

CMA ROBOTICS ROBOT PROGRAMMING SYSTEMS COMPARISON

Interactive Computer Graphics

INTRODUCTION TO SERIAL ARM

The Department of Engineering, has two Scorbot-ER VII robotic manipulators and one Controller- A. There are 4 components in the system:

Design Aspects of Robot Manipulators

Time Domain and Frequency Domain Techniques For Multi Shaker Time Waveform Replication

Metrics on SO(3) and Inverse Kinematics

Kinematics and Dynamics of Mechatronic Systems. Wojciech Lisowski. 1 An Introduction

DIEF, Department of Engineering Enzo Ferrari University of Modena e Reggio Emilia Italy Online Trajectory Planning for robotic systems

Robot Task-Level Programming Language and Simulation

Sensory-motor control scheme based on Kohonen Maps and AVITE model

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. M.Sc. in Advanced Computer Science. Friday 18 th January 2008.

Intelligent Robotics Lab.

Robot coined by Karel Capek in a 1921 science-fiction Czech play

Robotics. Chapter 25. Chapter 25 1

Kinematical Animation

THE problem of visual servoing guiding a robot using

Scooter, 3 wheeled cobot North Western University. PERCRO Exoskeleton

WEB ENABLED ROBOT DESIGN AND DYNAMIC CONTROL SIMULATION SOFTWARE SOLUTIONS FROM TASK POINTS DESCRIPTION

Maya 2014 Basic Animation & The Graph Editor

Visual Servoing Methodology for Selective Tree Pruning by Human-Robot Collaborative System

DESIGN, IMPLEMENTATION, AND COOPERATIVE COEVOLUTION OF AN AUTONOMOUS/TELEOPERATED CONTROL SYSTEM FOR A SERPENTINE ROBOTIC MANIPULATOR

Chapter. 4 Mechanism Design and Analysis

5-Axis Test-Piece Influence of Machining Position

0 Introduction to Data Analysis Using an Excel Spreadsheet

RIA : 2013 Market Trends Webinar Series

Twelve. Figure 12.1: 3D Curved MPR Viewer Window

High Accuracy Articulated Robots with CNC Control Systems

ROBOTICS 01PEEQW. Basilio Bona DAUIN Politecnico di Torino

3D Tranformations. CS 4620 Lecture 6. Cornell CS4620 Fall 2013 Lecture Steve Marschner (with previous instructors James/Bala)

Building Interactive Animations using VRML and Java

Autonomous Mobile Robot-I

Automotive Applications of 3D Laser Scanning Introduction

Drives OFF. Drives ON. Mode selector switch. Menu keys. Status keys. Softkeys. Numeric keypad Arrow keys. Symbol key

An Application of Robotic Optimization: Design for a Tire Changing Robot

This tutorial assumes that Visual3D has been installed and that a model has been created as described in Tutorial #1.

Lewis, F.L.; et. al. Robotics Mechanical Engineering Handbook Ed. Frank Kreith Boca Raton: CRC Press LLC, 1999

An Instructional Aid System for Driving Schools Based on Visual Simulation

Interactive Animation: A new approach to simulate parametric studies

RoboAnalyzer: 3D Model Based Robotic Learning Software

Research-Grade Research-Grade. Capture

Virtual CRASH 3.0 Staging a Car Crash

Visualizing molecular simulations

INTELLIGENT SYSTEMS, CONTROL, AND AUTOMATION: SCIENCE AND ENGINEERING

Robot Dynamics and Control

C O M P U C O M P T U T E R G R A E R G R P A H I C P S Computer Animation Guoying Zhao 1 / 66 /

Onboard electronics of UAVs

Parametric Technology Corporation. Pro/ENGINEER Wildfire 4.0 Design Animation Concepts Guide

HYDRAULIC ARM MODELING VIA MATLAB SIMHYDRAULICS

Path Tracking for a Miniature Robot

Motion Control of 3 Degree-of-Freedom Direct-Drive Robot. Rutchanee Gullayanon

Vibrations can have an adverse effect on the accuracy of the end effector of a

Effective Use of Android Sensors Based on Visualization of Sensor Information

Visual Servoing using Fuzzy Controllers on an Unmanned Aerial Vehicle

Introduction to Engineering System Dynamics

Matrix Normalization for Optimal Robot Design

Adding Animation With Cinema 4D XL

Essential Mathematics for Computer Graphics fast

ROBOT END EFFECTORS SCRIPT

Introduction.

How To Control Gimbal

Human-like Arm Motion Generation for Humanoid Robots Using Motion Capture Database

Chemotaxis and Migration Tool 2.0

Lecture 7. Matthew T. Mason. Mechanics of Manipulation. Lecture 7. Representing Rotation. Kinematic representation: goals, overview

Transcription:

INSTRUCTOR WORKBOOK for MATLAB /Simulink Users Developed by: Amir Haddadi, Ph.D., Quanser Peter Martin, M.A.SC., Quanser Quanser educational solutions are powered by: CAPTIVATE. MOTIVATE. GRADUATE.

PREFACE Preparing laboratory experiments can be time-consuming. Quanser understands time constraints of teaching and research professors. That s why Quanser s control laboratory solutions come with proven practical exercises. The courseware is designed to save you time, give students a solid understanding of various control concepts and provide maximum value for your investment. courseware materials are supplied in a format of the Instructor and Student Manuals. This courseware sample is prepared for users of The MathWorks s MATLAB /Simulink software in conjunction with Quanser s QUARC real-time control software. The following material provides an abbreviated example of lab experiments for the. Please note that the examples are not complete as they are intended to give you a brief overview of the structure and content of the course materials you will receive with the plant. QUANSER.COM +1-905-940-3575 INFO@QUANSER.COM Page 1 of 8

TABLE OF CONTENTS PREFACE... PAGE 1 INTRODUCTION TO QUANSER ROBOTICS PACKAGE FOR EDUCATION COURSEWARE... PAGE 3 INSTRUCTOR WORKBOOK TABLE OF CONTENTS... PAGE 3 PRE-LAB PREPARATIONS: BACKGROUND... PAGE 5 PRE-LAB PREPARATIONS: PRE-LAB EXERCISE... PAGE 6 IN-LAB EXERCISE... PAGE 7 QUANSER.COM +1-905-940-3575 INFO@QUANSER.COM Page 2 of 8

1. INTRODUCTION TO QUANSER ROBOTICS PACKAGE FOR EDUCATION COURSEWARE Quanser courseware provides step-by-step pedagogy for a wide range of control challenges. Starting with the basic principles, students can progress to more advanced applications and cultivate a deep understanding of studied theory. courseware covers topics, such as: manipulator kinematics manipulator inverse kinematics manipulator Jacobian trajectory planning 2. INSTRUCTOR WORKBOOK TABLE OF CONTENTS The full Table of Contents of the Quanser QBot 2 for QUARC courseware is shown here: Experiment 1 Manipulator Kinematics 1. PRE-LAB PREPARATIONS 1.1. BACKGROUND 1.1.1. COORDINATE FRAME ASSIGNMENT AND DH PARAMETERS 1.1.2. FORWARD KINEMATICS USING DH PARAMETERS 1.2. PRE-LAB EXERCISE 2. IN-LAB EXERCISE 2.1. SIMULATION 2.2. EXPERIMENT Experiment 2 Manipulator Inverse Kinematics 1. PRE-LAB PREPARATIONS 1.1. BACKGROUND 1.1.1. SOLVABILITY 1.1.2. EXISTENCE OF SOLUTIONS 1.1.3. GEOMETRIC SOLUTION 1.2. PRE-LAB EXERCISE 2. IN-LAB EXERCISE 2.1. SIMULATION 2.2. EXPERIMENT QUANSER.COM +1-905-940-3575 INFO@QUANSER.COM Page 3 of 8

Experiment 3 Manipulator Jacobian 1. PRE-LAB PREPARATIONS 1.1. BACKGROUND 1.1.1. LINEAR AND ANGULAR VELOCITY 1.1.2. VELOCITY PROPAGATION FOR SERIAL LINK MANIPULATORS AND MANIPULATOR JACOBIAN 1.1.3. STATIC FORCES 1.1.4. MANIPULATOR SINGULARITIES 1.2. PRE-LAB EXERCISE 2. IN-LAB EXERCISE 2.1. SIMULATION 2.2. EXPERIMENT Experiment 4 Trajectory Planning 1. PRE-LAB PREPARATIONS 1.1. BACKGROUND 1.1.1. PATH DESCRIPTION AND GENERATION 1.1.2. CUBIC VS. QUINTIC POLYNOMIAL TRAJECTORY PLANNING 1.1.3. PRE-LAB EXERCISE 2. IN-LAB EXERCISE 2.1. SIMULATION 2.2. EXPERIMENT QUANSER.COM +1-905-940-3575 INFO@QUANSER.COM Page 4 of 8

3. PRE-LAB PREPARATIONS: BACKGROUND - Experiment 4 -Trajectory Planning In the context of robotics, Trajectory refers to a time history of position, velocity and acceleration for each degree of freedom, whether in the joint space or Cartesian space. In various robotics application, the end-user cannot be involved in determining complicated functions for the robot motion. Therefore, the robot program should be able to provide the motion of the robot with some limited information such as the desired goal pose (position and orientation) of the robot end-effector or the attached tool or multiple way points (or via points) along the desired path. In this laboratory you will learn how robot trajectories can be computed, represented, generated and applied to the robots. Path Description and Generation As mentioned earlier, the end users of robot manipulators mostly concern about the motion of the tool frame of the robot, attached to the end-effector, relative to the base or station frame. Therefore, in this lab we focus on the Cartesian-space trajectory planning although the methods can be directly applied to jointspace schemes. The motion of the robot includes both position and orientation. Since we are dealing with a 4 DOF robotic manipulator, if we want to control the position of the robot end-effector in space, we require three degrees of freedom. We use the rotation of the last joint (wrist) of the robot as the remaining degree of freedom of the robot. In most cases, it is necessary to specify the movements of the robot in more details. Consider a factory in which a robotic arm has to reach a part without touching other objects around it. Therefore, the user wishes to provide a sequence of way points (or via points), i.e., intermediate points between the initial and final points. Depending on the design scheme, each way point includes different information. In Cartesian scheme, each way points describes the position and orientation of the robot. In joint-space scheme, each way point represents all joint angles. Along these spatial constraints each way point usually contains some temporal attributes, i.e., the time elapsed between the way points. Also, having a smooth motion is usually another constraint. Usually, a trajectory function that is continuous and has continuous first derivative is a smooth trajectory. For a minimum jerk trajectory, a continuous second order derivative is desirable. Minimum jerk motions minimize wear on the robot mechanisms and is desirable for many applications such as accurate image analysis for robotic vision inspections. QUANSER.COM +1-905-940-3575 INFO@QUANSER.COM Page 5 of 8

4. PRE-LAB PREPARATIONS: PRE-LAB EXERCISE - Experiment 1 -Manipulator Kinematics Using the procedure outlined in the background section for attaching coordinate frames to robotic manipulators, assign appropriate coordinate frames to the schematic of the MICO robotic manipulator in Figure 1.2 (some axes are shown for simplicity). The base and end-effector of the arm are shown with red dots and all other joints are shown with green dots. Figure 1.2: Schematic of the 4 DOF MICO robotic manipulator Answer The coordinate frames should be assigned according to Figure Ans.1.1. Figure Ans.1.1: Schematic of the 4 DOF MICO robotic manipulator with coordinate frames assigned to all links QUANSER.COM +1-905-940-3575 INFO@QUANSER.COM Page 6 of 8

5. IN-LAB EXERCISE - Experiment 2 - Manipulator Inverse Kinematics Simulation The QUARC model for this exercise is "MICO_Inverse_Kinematics_Simulation.mdl", a snapshot of which is shown in Figure 2.1 Figure 2.1: Snapshot of the controller model "MICO_Inverse_Kinematics_Simulation.mdl" Compile and run the model. The Quanser 3D Viewer window should open, showing a visualization of the robot. Go through the following steps and answer the corresponding questions. 1. Set the x,y and z values of the P0 input command to 0,0 and 0.7 m respectively (use the slider gains highlighted in yellow). Observe the outputs "Solution 1" and "Solution 2" and verify your pre-lab calculations. Compare the pose of the robot with the schematic from Question 3 in the Pre-Lab Exercise. Answer 2.1 (a) Solution 1: θ 1 = 0, θ 2 = 131.6, and θ 3 = 5.53 (b) Solution 2: θ 1 = 0, θ 2 = 48.37, and θ 3 = 174.47 These values are consistent with pre-lab calculations. The 3D Viewer shows the robot in a configuration similar to Figure Ans. 1.1 2. How is the y axis of the end-effector frame oriented with respect to the global (or base) frame? Hold down the middle mouse button, and move the mouse to rotate the camera view of the 3D Viewer. Describe the orientation of the robot in relation to the rotation matrix. Answer 2.2 y axis is along -y of the global frame. This is obvious from the second column of the rotation matrix (R). QUANSER.COM +1-905-940-3575 INFO@QUANSER.COM Page 7 of 8

Experiment The QUARC model for this exercise is "MICO_Inverse_Kinematics_Experiment.mdl'' the snapshot of which shown in Figure 2.2. Make sure that the manual switch is set to zero (MICO is disabled). Turn on the robot and manually move it to a desired pose (arbitrary). Make sure that the robot is not too close to the ground. Figure 2.2: Snapshot of the controller model "MICO_ Inverse_Kinematics_Experiment.mdl'' 1. Set x, y, and z values of the P0 input command to 0, 0, and 0.7 m respectively (use the slider gains highlighted in yellow). Observe the outputs "Solution 1'' and "Solution 2'' and verify the values by comparing them to the ones you observed from the previous section. Compare the pose of the robot with the pose of the virtual robot you observed in the previous section. Enable the robot motion and observe the robot moving to P0. Answer 2.6 (a) Solution 1: θ 1 = 0, θ 2 = 131.6, and θ 3 = 5.53 (b) Solution 2: θ 1 = 0, θ 2 = 48.37, and θ 3 = 174.47 These values are consistent with virtual robot observations. 2. What is the actual position of the robot end-effector (the output P from the forward kinematics block highlighted in blue). What is the error between the commanded position and the output position? What do you think is the source of error? Answer 2.7 P = [ 0.003 0.000008 0.7003], e = P P 0 = [ 0.003 0.000008 0.003] (Ans.2.1) Note: These values could be different depending on the initial pose of the robot. The source of error is related to control error, as well as measurement error. Other sources of error, such as model error, do not affect the measured P. If we used other tools to measure the end-effector position, then the model error (e.g. error in the length os the links) would have an effect. QUANSER.COM +1-905-940-3575 INFO@QUANSER.COM Page 8 of 8

Solutions for teaching and research in robotics and autonomous systems 2 DOF Robot 2 DOF Gantry 2 DOF Inverted Pendulum 2 DOF Planar Robot 2 DOF Serial Flexible Joint 2 DOF Serial Flexible Link 6 DOF Denso Open Architecture Robot QBot 2 QBall 2 Unmanned Vehicle Systems Lab With Quanser robotic systems, you can introduce control concepts related to stationary and mobile robotics, from vibration analysis, resonance and planar position control to sensors, computer, visionguided control to unmanned systems control. All of the experiments/platforms are compatible with MATLAB /Simulink. 2015 Quanser Inc. All rights reserved. INFO@QUANSER.COM +1-905-940-3575 QUANSER.COM Solutions for teaching and research. Made in Canada.