What Is SimMechanics?

Similar documents
There is no need to submit any report and you just need to finish the three tutorials as well as the example.

SimMechanics Getting Started Guide. R2013b

2. Motion Analysis - Sim-Mechanics

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Rigid Dynamic Analysis in Workbench

A simple example. Assume we want to find the change in the rotation angles to get the end effector to G. Effect of changing s

MODELING AND DYNAMIC ANALYSIS OF 6-DOF PARALLEL MANIPULATOR

Working Model Tutorial for Slider Crank

Development of a Novel MultiBody Mechatronic Model for Five-Axis CNC Machine Tool

Rotational3D Efficient modelling of 3D effects in rotational mechanics

Mathematical Modelling Using SimScape (Mechanical Systems)

ROBOTICS 01PEEQW. Basilio Bona DAUIN Politecnico di Torino

Robotics kinematics and Dynamics

Lesson 1: Introduction to Pro/MECHANICA Motion

Mechanical System and SimMechanics Simulation

ME Week 11 Create Joints Project

Model Library Mechanics

Lecture «Robot Dynamics»: Multi-body Kinematics

Lecture «Robot Dynamics»: Kinematics 3

Modeling of Humanoid Systems Using Deductive Approach

Basilio Bona ROBOTICA 03CFIOR 1

Robot mechanics and kinematics

Lecture «Robot Dynamics»: Kinematics 3

11. Kinematic models of contact Mechanics of Manipulation

Dynamic Analysis of Manipulator Arm for 6-legged Robot

Kinematics: Intro. Kinematics is study of motion

Robotics. SAAST Robotics Robot Arms

Dynamic Simulation of a KUKA KR5 Industrial Robot using MATLAB SimMechanics

INSTITUTE OF AERONAUTICAL ENGINEERING

ROBOTICS 01PEEQW. Basilio Bona DAUIN Politecnico di Torino

Robot mechanics and kinematics

Reconfigurable Manipulator Simulation for Robotics and Multimodal Machine Learning Application: Aaria

Chapter 5 Modeling and Simulation of Mechanism

EEE 187: Robotics Summary 2

Chapter 4. Mechanism Design and Analysis

1. Introduction 1 2. Mathematical Representation of Robots

Lab 12: Joint Driver and Force Creation Lab

Chapter 1 Introduction

Theory of Machines Course # 1

Animation. Keyframe animation. CS4620/5620: Lecture 30. Rigid motion: the simplest deformation. Controlling shape for animation

Flexible Modeling and Simulation Architecture for Haptic Control of Maritime Cranes and Robotic Arms

Kinematics. Kinematics analyzes the geometry of a manipulator, robot or machine motion. The essential concept is a position.

COPYRIGHTED MATERIAL INTRODUCTION CHAPTER 1

Modelling of mechanical system CREATING OF KINEMATIC CHAINS

Attach to this tutorial, there are some drawings to create the CAD models with Solid Works.

Teaching the Design of Parallel Manipulators and Their Controllers Implementing MATLAB, Simulink, SimMechanics and CAD*

INTRODUCTION CHAPTER 1

SIMULATION ENVIRONMENT PROPOSAL, ANALYSIS AND CONTROL OF A STEWART PLATFORM MANIPULATOR

10/25/2018. Robotics and automation. Dr. Ibrahim Al-Naimi. Chapter two. Introduction To Robot Manipulators

Quick Start Training Guide

Introduction to Solid Modeling Using SolidWorks 2008 COSMOSMotion Tutorial Page 1

Mobile Robots Locomotion

MTRX4700 Experimental Robotics

Applications. Human and animal motion Robotics control Hair Plants Molecular motion

Parallel Robots. Mechanics and Control H AMID D. TAG HI RAD. CRC Press. Taylor & Francis Group. Taylor & Francis Croup, Boca Raton London NewYoric

Lecture VI: Constraints and Controllers. Parts Based on Erin Catto s Box2D Tutorial

The Mathematical Model and Computer Simulation of a Quadruped Robot

Kinematics - Introduction. Robotics. Kinematics - Introduction. Vladimír Smutný

ME 3222 Design & Manufacturing II. Creating and Animating a Slider-Crank in Creo Elements (Version 2.0)

Inherently Balanced Double Bennett Linkage

Simulation and Modeling of 6-DOF Robot Manipulator Using Matlab Software

Theory and Design Issues of Underwater Manipulator

Dynamics Analysis for a 3-PRS Spatial Parallel Manipulator-Wearable Haptic Thimble

Table of Contents. Chapter 1. Modeling and Identification of Serial Robots... 1 Wisama KHALIL and Etienne DOMBRE

An Improved Dynamic Modeling of a 3-RPS Parallel Manipulator using the concept of DeNOC Matrices

An Introduction to Motion Analysis Applications with SolidWorks Motion, Instructor Guide

A Co-simulation Approach Based on ADAMS-MATLAB for Development of an Industrial Manipulator

MathWorks Technology Session at GE Physical System Modeling with Simulink / Simscape

Using Siemens NX 11 Software. Assembly example - Gears

Using RecurDyn. Contents

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 3: Forward and Inverse Kinematics

Analytical and Applied Kinematics

MACHINES AND MECHANISMS

ÉCOLE POLYTECHNIQUE DE MONTRÉAL

Analysis of a 4 Bar Crank-Rocker Mechanism Using COSMOSMotion

PPGEE Robot Dynamics I

3. Manipulator Kinematics. Division of Electronic Engineering Prof. Jaebyung Park

Animations in Creo 3.0

Kinematic Synthesis. October 6, 2015 Mark Plecnik

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

Development of a Ground Based Cooperating Spacecraft Testbed for Research and Education

John Hsu Nate Koenig ROSCon 2012

Generative Part Structural Analysis Expert

Engine with Propeller Tutorial (Professional)

AC : AN ALTERNATIVE APPROACH FOR TEACHING MULTIBODY DYNAMICS

Automatic Control Industrial robotics

PRACTICAL SESSION 4: FORWARD DYNAMICS. Arturo Gil Aparicio.

Shape Optimization of a Curved Beam Hopping Robot

MDP646: ROBOTICS ENGINEERING. Mechanical Design & Production Department Faculty of Engineering Cairo University Egypt. Prof. Said M.

Written exams of Robotics 1

DYNAMICS OF SPACE ROBOTIC ARM DURING INTERACTIONS WITH NON COOPERATIVE OBJECTS

Simulation-Based Design of Robotic Systems

Human Motion. Session Speaker Dr. M. D. Deshpande. AML2506 Biomechanics and Flow Simulation PEMP-AML2506

Proceedings of the 2013 SpaceVision Conference November 7-10 th, Tempe, AZ, USA ABSTRACT

Structural Configurations of Manipulators

A MECHATRONIC APPROACH OF THE WINDSHIELD WIPER MECHANISMS

This week. CENG 732 Computer Animation. Warping an Object. Warping an Object. 2D Grid Deformation. Warping an Object.

SimWise. 3D Dynamic Motion, and Stress Analysis. integrated with Alibre Design

Inverse Kinematics. Given a desired position (p) & orientation (R) of the end-effector

SAMPLE STUDY MATERIAL. Mechanical Engineering. Postal Correspondence Course. Theory of Machines. GATE, IES & PSUs

Transcription:

SimMechanics 1

simulink What Is Simulink? Simulink is a tool for simulating dynamic systems with a graphical interface specially developed for this purpose. Physical Modeling runs within the Simulink environment and interfaces seamlessly with the rest of Simulink and with MATLAB. Unlike other Simulink blocks, which represent mathematical operations or operate on signals, Physical Modeling blocks represent physical components or relationships directly. 2

3 simulink

SimMechanics What Is SimMechanics? SimMechanics is a part of Physical Modeling. Its purpose is the engineering design and simulation of mechanical systems of rigid bodies connected by joints, with the standard Newtonian dynamics of forces and torques. SimMechanics simulates translational and rotational motion in three dimensions. SimMechanics provides you with a suite of tools to specify bodies and their mass properties, their possible motions, kinematic constraints, coordinate systems, and the means of initiating and measuring motions. SimMechanics represents a mechanical system by a connected block diagram, like other Simulink models, and can encompass hierarchical subsystems. 4

SimMechanics Introducing the SimMechanics Block Libraries: SimMechanics is organized into hierarchical libraries of closely related blocks: Bodies Library Joints Library Constraints & Drivers Library Sensors & Actuators Library Utilities Library Demos Library 5

6 SimMechanics

7 SimMechanics

SimMechanics Bodies Library The Bodies library provides the Body block for representing user-defined bodies by their mass properties (masses and inertia tensors), their positions and orientations, and their attached Body coordinate systems (CSs). This library also contains the Ground block representing immobile ground points, which have their own Grounded CSs. 8

SimMechanics Joints Library The Joints library provides the blocks to represent the relative motions between bodies as degrees of freedom (DoFs). The library is made up of assembled Joints listed individually and two sublibraries of specialized Joint blocks. An assembled joint restricts the Body CSs on the two bodies to which it is connected. The assembled Joints are the primitive Prismatic, Revolute, and Spherical blocks and ready-made composite Joints. Unless it is explicitly labeled as disassembled, you can assume a generic Joint block is assembled. 9

SimMechanics Constraints & Drivers Library The Constraints & Drivers library provides blocks to specify prior restrictions on DoFs between Bodies. These restrictions can be time-independent constraints or time-dependent driving of DoFs with Simulink signals. 10

SimMechanics Sensors & Actuators Library The Sensors & Actuators library provides blocks for sensing and initiating the motions of joints and bodies. These blocks play a special role in connecting SimMechanics blocks to other Simulink blocks. 11

SimMechanics Utilities Library The Utilities library contains miscellaneous blocks useful in building models. Demos Library The Demos library contains prewritten Simulink demonstration models using SimMechanics and other Simulink blocks, as well as Stateflow blocks. Double-clicking the Demos library icon calls the Help browser and displays the SimMechanics demos list. 12

Creating SimMechanics Models Creating SimMechanics Models: Essential Steps to Build a Model Essential Steps to Configure and Run a Model 13

Essential Steps to Build a Model: Select Ground, Body, and Joint blocks. Position and connect blocks. Configure Body blocks. Configure Joint blocks. Select, connect, and configure Constraint and Driver blocks. Select, connect, and configure Actuator and Sensor blocks. 14

Select Ground, Body, and Joint blocks. From the Bodies and Joints libraries, drag and drop the Body and Joint blocks needed to represent your machine, including at least one Ground block, into a Simulink model window. The Machine Environment block represents your machine's mechanical settings. Ground blocks represent immobile ground points at rest in absolute (inertial) space. Body blocks represent rigid bodies. Joint blocks represent relative motions between the Body blocks to which they are connected. 15

1-Body: Rigid body with frames, inertia and geometry The Body block represents a rigid body with properties you customize. The representation that you specify must include: The body's mass and moment of inertia tensor The coordinates for the body's center of gravity (CG) One or more Body coordinate systems (CSs) 16

17

2- Ground: Fixed point attached to world Essential Steps to Build a Model Ground is a type of Body, but you can connect only one side of a Ground to a Joint block. A Ground block automatically carries a grounded coordinate system (CS). This Grounded CS is inertial, at rest in the World reference frame, with coordinate axes parallel to the World axes: +x points right +y points up (gravity in -y direction) +z points out of the screen, in three dimensions Enter the position of the ground point translated from the origin of the World CS. The position is specified as a translation vector (x,y,z), with components projected onto the fixed World CS axes. Set the Ground position units using the pull-down menu to the right. The defaults are [0 0 0] and m (meters). 18

19

3- Machine Environment: block allows you to view and change the mechanical environment settings for one machine in your model This block determines the following settings for the machine: How to simulate the machine How to interpret mechanical constraints How to linearize the simulation Whether and how to display the machine in visualization 20

21

4- Assembled Joints: 22

The Revolute block: Revolute Motion of Follower (blue) Relative to Base (red) 23

The Prismatic block: Prismatic Motion of Follower (blue) Relative to Base (red) 24

5-Constraints and Drivers 25

Angle Driver Essential Steps to Build a Model Driver specifying a time-dependent angle between two body axis vectors Current base When you connect the base (B) connector port on the Angle Driver block to a Body CS Port on a Body, this parameter is automatically reset to the name of this Body CS. Current follower When you connect the follower (F) connector port on the Angle Driver block to a Body CS Port on a Body, this parameter is automatically reset to the name of this Body CS. 26

27

Velocity Driver: Essential Steps to Build a Model Linear and angular velocity components of base and follower body coordinate systems The Velocity Driver block drives a linear combination of the projected translational and angular velocities of two Bodies. 28

6-Actuators and Sensors Initiate, impose, and measure mechanical motion

Body Actuator: Essential Steps to Build a Model Time-dependent force and torque used to actuate a body The Body Actuator block actuates a Body block with a generalized force signal, representing a force/torque applied to the body: Force for translational motion Torque for rotational motion

Joint Actuator: Essential Steps to Build a Model Time-dependent force, torque, or motion input to a joint A joint between two bodies represents relative degrees of freedom (DoFs) between the bodies. The Joint Actuator block actuates a Joint block connected between two Bodies with one of these signals: A generalized force: Force for translational motion along a prismatic joint primitive Torque for rotational motion about a revolute joint primitive A motion: Translational motion for a prismatic joint primitive, in terms of linear position, velocity, and acceleration. Rotational motion for a revolute joint primitive, in terms of angular position, velocity, and acceleration.

Joint Sensor: The Joint Sensor block measures the position, velocity, and/or acceleration of a joint primitive in a Joint block. It also measures the reaction force and torque across the Joint. The Joint Sensor measures the motion along/about the joint axis (or about the pivot point for a spherical primitive) in the reference coordinate system (CS) specified for that joint primitive in the Joint's dialog. The Joint connects a base and a follower Body at one body coordinate system on each body. The base-follower sequence determines the sense of the motion, which is defined as follower relative to base.

Position and connect blocks. Place Joint and Body blocks in proper relative position in the model window and connect them in the proper order. The essential result of this step is creation of a valid tree block diagram made of Ground Joint Body Joint Body... Body with an open or closed topology and where at least one of the bodies is a Ground block. A Body can have more than two Joints attached, marking a branching of the sequence. But Joints must be attached to two and only two Bodies. 35

Configuring the Position Fields The Position fields for each Body CS specify the position of that CS's origin as a translation vector: The numerical components of the vector carry units. The translation vector's components are oriented with respect to another set of CS axes. The origin is displaced from the origin of another, pre-existing CS in your machine by this translation vector. Highlight each Body CS to configure it. 36

Configuring the Position Fields 37

Configure Body blocks Click the Body blocks to open their dialog boxes; specify their mass properties (masses and moments of inertia), then position and orient the Bodies and Grounds relative to the World coordinate system (CS) or to other CSs. You set up Body CSs here. 38

Configure Joint blocks. Click each of the Joint blocks to open its dialog box and set translation and rotation axes and spherical pivot points. 39

Select, connect, and configure Constraint and Driver blocks. From the Constraints & Drivers library, drag, drop, and connect Constraint and Driver blocks in between pairs of Body blocks. Open and configure each Constraint/Driver s dialog box to restrict or drive the relative motion between the two respective bodies of each constrained/driven pair. Configure Joint blocks. Select, connect, and configure Actuator and Sensor blocks. From the Sensors & Actuators library, drag and drop the Actuator and Sensor blocks that you need to impart and sense motion. Reconfigure Body, Joint, and Constraint/Driver blocks to accept Sensor and Actuator connections. Connect Sensor and Actuator blocks. Specify control signals (applied forces/torques or motions) through Actuators and measure motions through Sensors. 40

Select, connect, and configure Constraint and Driver blocks. From the Constraints & Drivers library, drag, drop, and connect Constraint and Driver blocks in between pairs of Body blocks. Open and configure each Constraint/Driver s dialog box to restrict or drive the relative motion between the two respective bodies of each constrained/driven pair. Configure Joint blocks. Select, connect, and configure Actuator and Sensor blocks. From the Sensors & Actuators library, drag and drop the Actuator and Sensor blocks that you need to impart and sense motion. Reconfigure Body, Joint, and Constraint/Driver blocks to accept Sensor and Actuator connections. Connect Sensor and Actuator blocks. Specify control signals (applied forces/torques or motions) through Actuators and measure motions through Sensors. 41

Essential Steps to Configure and Run a Model Essential Steps to Configure and Run a Model: SimMechanics offers four analysis modes for running a machine model. The mode you will probably use most often, at least at first, is Forward Dynamics. But a more complete analysis of a machine makes use of the Kinematics, Inverse Dynamics, and Trimming modes as well. You can create multiple versions of the model, each with the same underlying machine, but connected to Sensors and Actuators and configured differently for different modes. 42

Essential Steps to Configure and Run a Model Essential Steps to Configure and Run a Model: You can also use the powerful visualization and animation features of SimMechanics. You can visualize your machine as you build it or after you are finished but before you start the simulation, as a tool for debugging the machine geometry. You can also animate the machine model as you simulate. Choose the analysis mode and configuring visualization, as well as other important settings, in the Mechanical Environment Settings dialog box. You might also need to reconfigure the Simulink Simulation Parameters dialog for SimMechanics models. 43