RoboAnalyzerUserManual PDF
RoboAnalyzerUserManual PDF
March 2013 Developed by Prof S. K. Saha & Team Mechatronics Lab, Mechanical Engineering Department, IIT Delhi, New Delhi, India Courtesy: CD Cell, QIP, IIT Delhi
http://www.roboanalyzer.com
* Uses ReDySim Dynamic Formulation (Appendix A)
PREFACE
Robotics is a field related to the design, development, control and application of robots in industry, education, research, entertainment, medical applications etc. Since the mathematics involved in the study of robotics, e.g., kinematics and dynamics is initially difficult to understand by students and same is the case by a teacher to convey the essence of mathematics of robotics to the students. Also it has been difficult for students to learn because of limited ability to perceive and visualize the concepts appropriately at the time of teaching. Without seeing a real robot it is very difficult to comprehend its motion in three-dimensional Cartesian space. Hence, there is a need for a robotics learning software. The work of combining the robot analyses algorithms in the form of software started in 1996 in the name of RIDIM (Recursive Inverse Dynamics for Industrial Manipulator). But it had only analysis part with plot facilities. The development of RoboAnalyzer started in 2009. RoboAnalyzer, a 3D model based software, can be used to teach robotics subjects to undergraduate and postgraduate courses in engineering colleges in India and elsewhere. It can be used to learn DH parameters, kinematics and dynamics of serial robots and allows 3D animation and graph plots as output. In essence, learn/teach the physics of robotics with the joy of RoboAnalyzer animations before attempting to learn the mathematics of robots. RoboAnalyzer is developed in the Mechatronics Lab, Department of Mechanical Engineering at IIT Delhi, India under the guidance of Prof. S. K. Saha. The following students are given due credits in its development. S. Goel and S. Ramakrishnan (1996-97) : Algorithm development for Recursive Inverse Dynamics for Industrial Manipulators (RIDIM) A. Patle (2000-01) : Windows-interface for RIDIM Rajat Jain (2009-10) : Added Graph-plots to RIDIM Suril V Shah (2007-11) : Recursive Dynamics Simulator (ReDySim) Algorithm [Appendix A] Rajeevlochana C.G. (2009 - present) : User Interface, 3D Modeling of robot, Forward Kinematics, Animation, Graphplot, DH Visualize, Virtual Robot Module, Integration with MATLAB Amit Jain (2010-11) : C# implementation of DeNOC-based Inverse and Forward Dynamics (ReDySim) Jyoti Bahuguna (2011-12) : Inverse Kinematics Module and Motion Planning Ratan Sadanand O.M. (Summer Intern, 2012): Conversion of CAD models for Virtual Robot Modules
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9. GETTING STARTED .................................................................................................................................................... 1 INTRODUCTION TO ROBOANALYZER......................................................................................................................... 1 DENAVIT-HARTENBERG PARAMETERS VISUALIZATION ............................................................................................. 5 FORWARD KINEMATICS ............................................................................................................................................ 6 INVERSE KINEMATICS ............................................................................................................................................... 9 INVERSE DYNAMICS ............................................................................................................................................... 10 FORWARD DYNAMICS ............................................................................................................................................ 12 MOTION PLANNING ............................................................................................................................................... 13 GRAPH PLOT OPTIONS............................................................................................................................................ 14
10. VIRTUAL ROBOT MODULE ...................................................................................................................................... 15 11. MATLAB INTEGRATION .......................................................................................................................................... 16 12. REFERENCES ........................................................................................................................................................... 16 APPENDIX A: RECURSIVE DYNAMICS SIMULATOR (REDYSIM) ........................................................................... 17
http://www.roboanalyzer.com
1. GETTING STARTED
This section helps you get started with the installation of RoboAnalyzer, a 3D Model Based Robotics Learning System. It has been developed using OpenGL and Visual C#.
1.2. INSTALLATION
RoboAnalyzer can be installed on a computer by downloading it from our website. The latest version of the software (version 6) is available for free at http://www.roboanalyzer.com . The following are the steps to install RoboAnalyzer: Step 1: Visit http://www.roboanalyzer.com Step 2: Click on Downloads tab Step 3: Click on RoboAnalyzer V6 (or latest version) to download a .zip file Step 4: A popup window will appear. Select the folder where the file has to be saved and click on Save Step 5: After downloading is complete, unzip RoboAnalyzer6.zip to any folder on your computer. Open the folder RoboAnalyzer6 Step 6: Double-click on RoboAnalyzer6.exe to start RoboAnalyzer.
2. INTRODUCTION TO ROBOANALYZER
RoboAnalyzer is a 3D Model Based Robotics Learning Software. It has been developed to help the faculty to teach and students to learn the concepts of Robotics. It also acts as a supporting material for the contents on various robotics topics in text book entitled Introduction to Robotics, S. K. Saha, 2008 *1+.
http://www.roboanalyzer.com
http://www.roboanalyzer.com
http://www.roboanalyzer.com
http://www.roboanalyzer.com
3.1. VISUALIZE DH
After selecting a robot and redefining DH parameters as explained in Section 2.1, users can visualize each DH parameter by selecting a joint and then selecting a DH parameter type as shown in Figure 7. Once it is done, the corresponding DH parameter is highlighted in the DH parameter input table and a transformation frame moves in the 3D robot model. It shows the two co-ordinate frames corresponding to the selected DH parameter. Users can click on Together button and a co-ordinate frame moves covering all the four DH parameters corresponding to the selected joint. Users can click on Base Frame to End-Effector button to see a co-ordinate frame moving from base frame to end-effector frame covering all the DH parameters of the robot model.
http://www.roboanalyzer.com
4. FORWARD KINEMATICS
In the forward or direct kinematics, the joint positions, i.e. the angles of the revolute joints and the displacements of the prismatic joints, are prescribed. The task is to find the end-effectors configuration/transformation consisting of its position and orientation. More details can be found in Chapter 6 of [1]. After selecting a robot and redefining DH parameters as explained in Section 2.1, forward kinematics (FKin) is performed which updates the 3D model. 6
http://www.roboanalyzer.com
http://www.roboanalyzer.com
2. Click on + next to the link of which the plots are to be viewed 3. Click on box to plot graph of a particular node to see X, Y and Z plots 4. Click on + next to the joint of which the plots are to be viewed 5. Click on box to plot graph of a particular node to see joint value (joint angle for revolute joint and joint offset for prismatic joints), joint velocity and joint acceleration
Figure 14: Graph Plots of Input Trajectory to Joint3 (Cycloidal Trajectory) More details and information on the Graph Plot options can be found in Section 9. 8
http://www.roboanalyzer.com
5. INVERSE KINEMATICS
Inverse Kinematics (IKin) consists of determination of the joint variables corresponding to a given end-effectors orientation and position. The solution to this problem is of fundamental importance in order to transform the motion specifications assigned to the end-effector in the operational space into the corresponding joint space motions. There may be multiple or no results possible for a given end-effector position and orientation. More details can be found in Chapter 6 of [1].
http://www.roboanalyzer.com
6. INVERSE DYNAMICS
Inverse Dynamics (IDyn) is a dynamics problem, where the robot geometric, inertial parameters, and the joint motions i.e its positions, velocities and acceleration are given and the corresponding joint torques or forces are calculated. In RoboAnalyzer, the dynamics solver is based on ReDySim algorithm, which uses Decoupled Natural Orthogonal Complement (DeNOC) Matrices based recursive formulation. More details on ReDySim can be found at [2]. More details on Inverse Dynamics and DeNOC can be found in Chapters 8 and 9 respectively of [1].
5.
6. 7. 8. 9.
10
http://www.roboanalyzer.com
Figure 19: Set Mass and Inertia Properties and Perform Inverse Dynamics 11
http://www.roboanalyzer.com
Figure 20: Graph Plot of Joint Torque/Force More details and information on the Graph Plot options can be found in Section 9.
7. FORWARD DYNAMICS
Forward Dynamics (FDyn) is a dynamics problem, where the robot geometric, inertial parameters, and the joint torques and forces are given and the joint accelerations are calculated. The dynamics solver uses ReDySim[2] as in IDyn. More details on Forward Dynamics can be found in Chapters 8 and 9 of [1].
http://www.roboanalyzer.com
i.e. kgm^2). These values are to be entered manually and not calculated automatically from the shape of the robot-links. 6. Click on FDyn button to perform Forward Dynamics. The robot is simulated for free-fall due to the action of gravity. In future, joint torques/forces can be set as input. 7. Click on Play button to see the animation 8. Click on Graph tab to view the graph
8. MOTION PLANNING
The goal of motion planning of a robot is to generate a function according to which a robot will move. This function generation depends on the robot tasks. A robot user typically specifies a number of parameters to describe a point-to-point or continuous-path task. Trajectory planning algorithm then generates the reference inputs for the control system of the manipulator, so as to be able to execute the motion. The geometric path, the kinematic and dynamic constraints are the inputs of the trajectory planning algorithm, whereas the trajectory of the joints (or of the end effector), expressed as a time sequence of position, velocity and acceleration values, is the output. Trajectory planning can be done either in the joint space, i.e., in terms of joint positions, velocities and accelerations, or Cartesian space (also called operational space) i.e., in terms of the endeffector positions, orientations, and their time derivatives. More details on Motion Planning can be found in Chapter 11 of [1].
13
http://www.roboanalyzer.com
14
http://www.roboanalyzer.com
15
http://www.roboanalyzer.com
12. REFERENCES
[1] S. K. Saha, Introduction to Robotics, Tata McGraw Hill, New Delhi, 2008 [2] ReDySim, website accessed on December 28, 2011, http://www.roboanalyzer.com/redysim.html 16
http://www.roboanalyzer.com
Table 2: Details of the files in which inputs are required to be entered for analysis Module Sub module input.m initial.m trajectory.m torque.m 1 Fixed-based Inverse Yes Yes Forward Yes Yes Yes+ Yes 2 Floating-base Inverse Yes Yes Yes Forward Yes Yes Yes+ Yes 3 Symbolic Fixed/Floating Yes +
Desired trajectory for controlled simulation; ++ This file is required only in the case of closed-loop systems
http://www.roboanalyzer.com
Figure A.1: Snapshots of simulation results of a biped using floating-base module of ReDySim
REFERENCE
A1. Shah S. V., Saha S. K., and Dutt J. K., Dynamics of Tree-type Robotic Systems, Intelligent Systems, Control and Automation: Science and Engineering Book series, Springer, Netherlands (ISBN 978-94-007-5005-0).
S. V. Shah, IIIT Hyderabad; S.K. Saha, IIT Delhi; J.K. Dutt, IIT Delhi
Features
Indispensible one stop resource Presents a framework for dynamic modeling and analysis of treetype robotic systems Introduces concepts of kinematic module and Euler-Angle-Joints Inclusion of closed-loop systems Illustration of model-based control Comes with Recursive Dynamics Simulator (ReDySim), a free solver for dynamic analysis
18
Survey on RoboAnalyzer
A survey on RoboAnalyzer was conducted over a group of 20 students. They used the software in "Design of Machines and Mechanism" course conducted by IIT Delhi. A brief summary of the survey is shown below.
5 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 (D) (B) (A) (F) (C) (E) RoboAnalyzer-Evaluation Parameters (G)
Ease of Installaion Helps in Learning Robotics GUI 3D Animation DH Visualization Kinematic and Dynamic Simulation Graph-Plot facility
Feedback on RoboAnalyzer
" Easy for beginners, easy to install and run, this software lets students learn new robotic concepts" "Provides quick validation and excellent GUI. Path trace is helpful" "Easy visualization of the DH parameters. Excellent software to understand DH parameters deeply " "Very user friendly, good for beginners" "Good to visualize DH parameters, saves time in Forward and Inverse Kinematic analysis but input-output data can't be saved" " It is especially an infotainer giving boost to robotic analysis as well as not tiresome....Rather it develops interest to work again & again. Try to improve it regarding graphics point of view, Enhanced User Interface for better involvement" "Easy to visualize kinematics and dynamic analysis" "Path trace is helpful, excellent software"
"Comprehensive book that presents a detailed exposition of the concepts using a simple and student friendly approach To get more insight on
Robotics
Excellent coverage of Robotic applications, Homogeneous transformation and Robotic programming etc.
comprehensive coverage on Drive Systems, Robot Control, and Robot Applications http://www.mhhe.com/saha/robotics
RoboAnalyzer
3D Model Based Robotics Learning Software
Developed by Prof S. K. Saha & Team (Mr. Rajeevlochana C. G., Mr. Amit Jain, Mr. Suril V. Shah, Ms. Jyoti Bahuguna and Mr. Ratan Sadanand) Mechatronics Lab, Mechanical Engineering Department, IIT Delhi, New Delhi, India Contact: saha@mech.iitd.ac.in Website: http://www.roboanalyzer.com