delmia puma lecture1

Upload: eder-garcia

Post on 02-Jun-2018

263 views

Category:

Documents


5 download

TRANSCRIPT

  • 8/11/2019 Delmia Puma Lecture1

    1/69

    Practical Work DELMIA V5 R20

    Lecture 1

    D. Chablat / S. [email protected]

    [email protected]

  • 8/11/2019 Delmia Puma Lecture1

    2/69

    2

    Definition of the languagefor the user interface

    Native languages

    English, French, German, Italian, Japanese, Simplified Chinese,

    Korean

    To change from French to English

    Outils / Personnaliser / Options / Langue de l'interface utilisateur

    To change from English to French

    Tools / Customize / Options / User Interface Language

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    3/69

    3

    Definition of the languagefor the user interface

    Change to Anglais

    Restart CATIA

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    4/69

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes 4

    Mouse usage

    Use this mouse button Whenever you read

    Select (menus, commands, etc.)

    Click (icons, dialog box buttons, tabs, location in the

    document window)

    Double-click

    Shift-click

    Ctrl-click

    Check (check boxes),

    Drag

    Drag and drop (icons onto objects, objects onto icons)Drag

    Move

    Right click (to select contectual menu)

    4

  • 8/11/2019 Delmia Puma Lecture1

    5/69

    5

    Outline of the lecture

    Create a robot from CAD parts

    Create direct kinematics

    Create inverse kinematics Analyze the DH parameters

    Create robot properties (velocity and acceleration)

    Create a tool

    Create a robotic cell

    5D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    6/69

    6

    Product creation

    Start / Resource Detailing / Device Building

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    7/69

    7

    Product creation

    Rename the product

    Right click on product

    Properties

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    8/69

    8

    Product creation

    Type a product name

    PUMA_PW

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    9/69

    Part creation

    Parts are already created, you have to download it onhttp://www.irccyn.ec-nantes.fr/~chablat/COMOR/Delmia.html

    The location of the parts in the assembly defines the Home pose of the

    robot.

    You have to define the joints between each parts from the base to theend-effector.

    Respect all the times the link between the father and the son.

    9D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    10/69

    10

    Insert the parts of the robot

    Click on product PUMA_PW

    Insert / Existing Components

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    11/69

    11

    Insert the parts of the robot

    Go to folder Puma and select all parts

    Open

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    12/69

    12

    Mechanism Creation

    Click on the fixed part button

    Click on new mechanism

    Choose a name for your mechanism:Puma_robot

    Click on Puma_link_1.1

    to select it as Fix Part

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    13/69

    13

    Hide and Swap Commands

    To hide/show a part, right click on it then click Hide/Show

    Use the swap visible space button to swap between the hidden andvisible spaces

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    14/69

    14

    Create Kinematic Joints

    To create a Revolute Joint between Puma_link_1 and

    Puma_link_2

    Hide Puma_link_2

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    15/69

    15

    Create Kinematic Joints

    Click on the Revolute Joint button

    Select the axis of Puma_link_1 as Line 1

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    16/69

    16

    Create Kinematic Joints

    Click on the swap visible space button

    Select the axis of Puma_link_2 as Line 2

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    17/69

    17

    Create Kinematic Joints

    Click on the swap visible space button

    Select Plane 1 on Puma_link_1 as follows:

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    18/69

    18

    Create Kinematic Joints

    Again, click on the swap visible space button

    Select Plane 2 on Puma_link_2 as follows:

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    19/69

    19

    Create Kinematic Joints

    Finally, to create the Revolute joint:

    Activate the angle driven option and click OK

    You may get an information box informing you that the

    mechanism can be simulated

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    20/69

    20

    Create Kinematic Joints

    Similarly, create Revolute joint 2 between Puma_link_2 and

    Puma_link_3

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    21/69

    21

    Create Kinematic Joints

    Revolute joint 2

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    22/69

    22

    Create Kinematic Joints

    Similarly, create six revolute joints as follows:

    Hide Constraints in the specifications tree

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    23/69

    23

    Create Kinematic Joints

    Rename the six commands as theta_1,,theta_6

    23D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    24/69

    24

    Define Home Positions

    Now, we are going to control each joint :

    Click on Home Positions button

    Click New

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    25/69

    25

    Define Home Positions

    Set the initial Position of the robot as Home Position 1

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    26/69

    26

    Define Home Positions

    See the maximal command values to avoid collision and noted it

    Select arbitrary command values for Home Position 2

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    27/69

    27

    Define Joint Limits

    Delmia can fixed command values limits

    With Travel Limits button, define some joint limits for the robot to

    avoid collisions.

    Look at the

    difference

    between thistwo

    representations

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    28/69

    28

    Jog Mechanism

    Now you can jog the mechanism by using Jog button and select

    Puma_robot

    Return to Home Position 1D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    29/69

    29

    Inverse Kinematics

    Click on Inverse Kinematics button

    Select product PUMA_PW

    Set the robots inverse kinematics attributes as follows:

    29D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    30/69

    30

    Inverse Kinematics

    Tool1 is a frame already created in Puma_Link_7

    30

    Note : only architecture with

    spherical wrist can be recognized.

    In the other cases, we have an

    iterative solver.

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    31/69

    31

    Inverse Kinematics

    Click on Advanced button and set the rotational axes in Actuator

    Space Map

    31D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    32/69

    32

    Inverse Kinematics

    Solver Attributes (Generic)

    32

    Assignments for

    the next lecture :

    Isolate the

    Denavit

    Hardenberg

    parameters of thePumas robot.

    D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    33/69

    Checking geometric parameters

    Using the Measure Between button, you can check the

    geometric parameters of the robot.

    33D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    34/69

    34

    Inverse Kinematics

    Now click Jog mechanism and select Home position 1 as

    predefined position

    Now click on Cartesian and try to change the TCP (Tool Center

    Point) coordinates. What can you conclude?

    34D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    35/69

    35

    Inverse Kinematics

    Now start from Home position 2

    Manipulate your mechanism by: Testing joint limits for the

    different postures

    Testing singular positions Changing postures

    Changing orientation

    35D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    36/69

    36

    Create a tool

    Now we will create this product:

    Save Puma_robot.CATProduct Create a new product and save it

    as Gripper.CATProduct

    From the web site, insertGriper_base,

    Griper_Moving_Part_1

    Griper_Moving_Part_2

    from folder Griper.zipinto your folder Puma

    36D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    37/69

    37

    Create a tool

    Check that the current workbench is Device Building

    Rename your product as Griper and insert the new three parts.

    Create a new mechanism with Griper_base as fixed part. Create a prismatic joint between Griper_base and

    Griper_Moving_Part_1 with length driven

    Create a prismatic joint between Griper_base and

    Griper_Moving_Part_2 without length driven

    37D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    38/69

    38

    Create a tool

    Click on Kinematic Relations button

    Add a kinematic relation for the second prismatic joint as follows:

    Define appropriate joint limits such that the moving parts cannotcollide and cannot go out of the base limits.

    38D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

  • 8/11/2019 Delmia Puma Lecture1

    39/69

    39

    Create a tool

    Jog your mechanism

    39D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    C l

  • 8/11/2019 Delmia Puma Lecture1

    40/69

    40

    Create a tool

    The red color means that we are out of joint limits

    40D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    C l

  • 8/11/2019 Delmia Puma Lecture1

    41/69

    41

    Create a tool

    The red color means that we are out of joint limits

    41D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    C t OPEN d CLOSE t

  • 8/11/2019 Delmia Puma Lecture1

    42/69

    Create OPEN and CLOSE postures

    Why?

    Define position of the actuator to be used in the robot

    programming. Use Home position

    42D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    C t P i t f I t t

  • 8/11/2019 Delmia Puma Lecture1

    43/69

    Create Points of Interest

    Create points able to be used as a TCP frame

    Click on Frames Of Interest and select the Griper_base part

    Then use the Frame Type button to:

    Create a Frame of Interest as Base

    Create a Frame of Interest as Tool

    Select the Define Line-Point Plane Mode to define these two

    frames.

    43D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Create a robotic cell

  • 8/11/2019 Delmia Puma Lecture1

    44/69

    Create a robotic cell

    Start the workbench : Device Task Definition

    A new file is created as Process

    Insert Puma and Gripper

    as Ressources

    Note: Make sure to have all the files of Puma and Gripper in

    the same folder.

    Save your Process file in this folder.

    44D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Mount Tool

  • 8/11/2019 Delmia Puma Lecture1

    45/69

    Mount Tool

    Associate the tool with the robot Set Tool

    Change the location of the TCP (Tool Center Point)

    The location of the TCP depends on the Tool definition

    45D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Jog device

  • 8/11/2019 Delmia Puma Lecture1

    46/69

    Jog device

    46D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Example of task definition

  • 8/11/2019 Delmia Puma Lecture1

    47/69

    Example of task definition

    Click on Teach a device then, Create New Task

    You can insert frames in the new task by moving the robot and

    clicking on Insert.

    47D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Example of task definition

  • 8/11/2019 Delmia Puma Lecture1

    48/69

    Example of task definition

    Insert 10 frames in the task you have created an Play the continuous

    path.

    Questions?

    Why does the robot change posture?

    Can we define the posture?

    Can we have different kind of motion

    planning?

    48D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Example of task definition

  • 8/11/2019 Delmia Puma Lecture1

    49/69

    Example of task definition

    Activate the Jog option

    Select the posture

    49D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define the Motion Type

  • 8/11/2019 Delmia Puma Lecture1

    50/69

    Define the Motion Type

    Between two frames, the motion can be:

    50D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Analyse the motion

  • 8/11/2019 Delmia Puma Lecture1

    51/69

    Analyse the motion

    Describe the motion, TCP Trace

    Set On the TCP trace activation, then replay the task to

    visualize the trace of the TCP.

    51D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Example of TCP trace

  • 8/11/2019 Delmia Puma Lecture1

    52/69

    Example of TCP trace

    52D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Display the workspace

  • 8/11/2019 Delmia Puma Lecture1

    53/69

    sp ay t e wo space

    We can display the workspace envelop thank to the

    definition of the joint limits.

    We can change joint limits to see

    the impact.

    53D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define Pick and Place activity

  • 8/11/2019 Delmia Puma Lecture1

    54/69

    y

    Insert the Environment as Product

    The objective now is to create the frames to pick and to place.

    Create a Tag group using the New Tag Group button and

    make a link with the product

    Note: if the table moves, the frame will keep attached to it.

    54D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define Pick and Place activity

  • 8/11/2019 Delmia Puma Lecture1

    55/69

    y

    In the previous Tag Group create two frames by using the New Tag

    button.

    One frame will be located on each of the two cubes of the Table.

    Use the Define Line-Point Plane Mode

    Then, select the point on the top of each cube and a line.

    55D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define Pick and Place activity

  • 8/11/2019 Delmia Puma Lecture1

    56/69

    y

    Using the Modify Tags Orientations button, change the

    orientation of each of the two frames to have the Z-direction to the

    bottom

    Note: activate the current option in order to make the rotation

    around the current point

    56D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define Pick and Place activity

  • 8/11/2019 Delmia Puma Lecture1

    57/69

    y

    Create trajectory by using Teach a device

    Select the Puma robot and create a new task

    Define the new point as Process Activate Track Target and click on the first Frame

    57D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define Pick and Place activity

  • 8/11/2019 Delmia Puma Lecture1

    58/69

    Add via point to have different trajectory close to the table.

    We will be able to change the type of motion and the speed

    of the robot Put the robot in the first and second posture

    Add via point before and after

    each one. We can make a copy of an operation

    point.

    58D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define Pick and Place activity

  • 8/11/2019 Delmia Puma Lecture1

    59/69

    Change the option of Format from Compact to Table

    Copy the first operation and Paste after the second one

    59D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define the Process operation PICK

  • 8/11/2019 Delmia Puma Lecture1

    60/69

    Edit the operation 1

    Add a robot action Pick

    Define the Home name (Close) of theGriper

    Define the part to pick

    60D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define the Process operation DROP

  • 8/11/2019 Delmia Puma Lecture1

    61/69

    Edit the operation 2 to add the DROP

    action

    Select the Part to move to be released

    61D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Define the Griper pose

  • 8/11/2019 Delmia Puma Lecture1

    62/69

    During the motion, keep the Griper CLOSE

    Edit each via point and modify the external axis to be

    CLOSE

    62D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Change motion type

  • 8/11/2019 Delmia Puma Lecture1

    63/69

    Change JNT motion to LIN motion

    63D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Create an New Motion Profile

  • 8/11/2019 Delmia Puma Lecture1

    64/69

    To adjust the speed close to the table

    Apply for the task

    64

    Launch the simulation of the task

  • 8/11/2019 Delmia Puma Lecture1

    65/69

    Select the task

    We have a process simulation toolbar

    A control simulation toolbar

    To have real time rendering, use

    65D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Make optimal Path placement

  • 8/11/2019 Delmia Puma Lecture1

    66/69

    Goal: find a set of base placements for the robot that are

    able to make the same task

    Define a zone where the robot can be located

    66D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Make optimal Path placement

  • 8/11/2019 Delmia Puma Lecture1

    67/69

    Define the grid property

    By default, it is only a plane but we can have a volume

    We can change the number of points to be tested

    67D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Make optimal Path placement

  • 8/11/2019 Delmia Puma Lecture1

    68/69

    Change the location and simulate

    What is changed?

    Note: the orientation of the first axis is fixed!

    68D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes

    Swept volume

  • 8/11/2019 Delmia Puma Lecture1

    69/69

    We can same the volume swept by the robot or some parts

    of the robot

    69D. Chablat / S. Caro -- Institut de Recherche en Communications et Cyberntique de Nantes