a1tQ2000008U7gzIAC

Course: AI LAB- Level 1
1. Robot Axis and Movement - T&P

  • 6-12 grade
  • Beginner

Lesson Description:

Jointed arm robots are useful for many different tasks because of its range of motion and degrees of freedom. In this activity, you will learn how to move a robotic arm in many different ways and write a program to make the robot write the word “CIM” with ACCURACY and REPEATABILITY. CIM stands for Computer Integrated Manufacturing.

The method of measurement and positioning we will use to do this is called RELATIVE COORDINATES. We will have the robot move the pen “relative” to where it was last. We will also use a method of saving points called TEACHING. This is where we type in coordinates without having to move the robot arm.


KEY VOCABULARY

  • Relative Coordinates
  • Joint movement
  • Axis movement
  • Work envelope
  • Ramping
  • Accuracy
  • Teach
  • Linear move
  • Home
  • Loop
  • End Effector
  • End of Arm Tooling (EoAT)


EQUIPMENT & SUPPLIES

    • Dobot Magician Lite
    • Printed 2-Part Dobot-Lite Field Diagram (see Resources)
    • Pen Holder (end-effector bracket)
    • Dobot Lab software
    • Pen / Marker
    • Masking tape

    image description

    Lesson Modules


    Teaching Tips:

    Caution: NEVER wire anything to the Dobot Magician while it has power on. ALWAYS turn it off before making connections or damage to the robot could occur.

    1. Typical Start Up Procedure

    • Disconnect any existing END of ARM TOOLING (EoAT).
    • Carefully disconnect any existing vacuum tubes.
    • Press and hold the release button on the bottom of the arm and pull off the EoAT.
    • Attach the Pen holder as the END EFFECTOR or END of ARM TOOLING (EoAT) on the Dobot.
    • Push the pen holder in until it snaps in.

    Disconnecting EoAT

    Teaching & Playback Lab

    Pen-holder locking tab Do not try to attach the pen holder upside down. The locking tab should be on the bottom.

    • Plug the 120-240 VAC power into an outlet.
    • Attach the 12 V DC 5 A barrel plug of the power supply and USB to the Dobot. Plug the USB into the computer and wait for a connection. WATCH and WAIT for the robot to completely power on (GREEN INDICATOR).
    • Turn on the power to the Dobot (Robot will beep when ready).
    • Open DobotLab software.
    Power switch icon

    2. Once the Robot’s USB is connected to the computer and the robot is powered on, open the DobotLab software

    Power switch icon Power switch icon

    3. Once the software is opened select the Teaching and Playback Lab.

    4. Select Connect to establish control from the software to the robot. “Disconnected” should change to “Connected” and show the COM being used (COM is the USB port being used by the robot)

    Power switch icon

    5. NOTE: If no robot is found, the prompt will show as Searching…

    Power switch icon

    SEARCHING… Complete the steps below if no robot is found.

    Select the Gear Icon next to the Force Stop Icon.

    Make sure the hardware you are connected is checked.

    ARM CONTROL PANEL

    6. Select the ARM CONTROL Icon to open the arm control panel.

    Before HOMING the robot, make sure the robot’s WORK ENVELOPE, the area in which the robot can reach, is clear.
    Power switch icon

    7. Select the HOME icon to start the robot’s homing process. Homing the robot will return the robot to its initial HOME position.

    Power switch icon

    8. Be sure the Pen is chosen as the Dobot’s END EFFECTOR or EoAT (End of Arm Tooling).

    Power switch icon

    9. Insert a ball-point pen or marker into the holder replacing the one that is there and remember to remove the cap.

    ARM CONTROL PANEL

    10. In the CONTROL PANEL, set the end effector as the suction cup (the pen is not an option to select).

    Power switch icon

    11. Use the Axis and Joint buttons to move the robot around. Using the diagram below, identify the AXIS MOVEMENT and JOINT MOVEMENTS for the robot (1-14). Be sure to label them as +/-. (Press and hold ALL 16 options, what they do, left or right, up or down, in or out...)

    Power switch icon Power switch icon

    12. Using the information you documented on the previous diagaram, write down the correct axis/joint button in the first empty column, and a description of what it does in the second.

    AXIS / JOINT + / -DESCRIPTION IN / OUT / UP / DN / LEFT / RIGHT
    1 Axis
    2 Axis
    3 Axis
    4 Axis
    5 Axis
    6 Axis
    7 Wrist
    8 Wrist
    9 Waist
    10 Waist
    11 Shoulder
    12 Shoulder
    13 Elbow
    14 Elbow

    13. Did the axis button work as you expected… did it move the way you thought it would? Explain:

    14. How do the XYZ movements differ from the J movements?


    Teaching Tips:

    15. MAIN OBJECTIVE:

    • A. Tape together the two parts of the Template along the RED TAPE LINE.
    • B. Tape the Template to the table.
    • C. Place the Robot on the Template.
    • D. Handwrite the word “CIM” in pencil on the Dobot Template as shown.
    • E. Using the Dobot Lite with the pen end effector, start at point A on your diagram and move the robot from point to point to re-write the word using straight lines. Be sure to pick up the pen between letters.
    • F. Send the robot to a home position away from the paper when finished.
    Power switch icon

    16. What do you think is this the best way to write the letters CIM (order of movement)? Did you take time into consideration? How?

    Pen-holder locking tab When moving in the z-axis, try to put a light pressure on it when you write, or it may tear the paper or break the tip. The pen is NOT spring-loaded; You have to have a soft touch or the paper may tear or the pen may be caught on the paper and slide the robot’s base. It may be a good idea to put a piece of cardboard under the paper to give it a softer surface to write on.

    17. For this activity, we will use a combination of recorded and taught positions…

    The big GREEN squares on the paper are equal to about 20 mm; this will help us plan our letters.

    Power switch icon

    18. Line Segment lengths are as follows:

    AB = 40 mm  BC = 60 mm  CD = 40 mm  EF = 60 mm  GH = 40 mm  *HI = 68 mm  *IJ = 68 mm  JK = 60 mm

    19. Make sure you are in the Teach and Playback lab.

    - We will use this lab to RECORD and TEACH the robot the points we want it to go to write the word CIM. There are two methods to RECORDING a point.

    Method 1: RECORDED points can be found using the unlock button on the robot’s arm. When the unlock button is pressed, the arm becomes free to manually move to a new location. The location is automatically RECORDED and added as a step in the program when the unlock is released. Movements in between the steps (while the button is held) will not be recorded.

    Power switch icon

    Method 2: RECORDED points can also be found by manually driving the robot to a position from the Arm Control Panel and selecting Save Point when the EoAT is at the desired location

    Power switch icon

    TEACHING points is the process of manually typing in the XYZ coordinates if they are known. We often use this method to TOUCH UP points (round them to whole numbers, change them to a known number, or duplicate positions from previous steps that should not have changed). )

    Pen-holder locking tab Always start a program with a safe/clear HOME position. Home is a position that is up and away or clear of any obstacles.

    20. Using the XYZ buttons on the Arm Control Panel, move the robot to a safe HOME position. We can refer to this as "HOME".

    -Touch up (round) the coordinates as needed. Ignore the last number in the coordinate’s window “R”, as this stands for “rotation or roll”. It is not used with the pen.

    Power switch icon
    Power switch icon

    Example: Move the robot above the template and check the alignment before recording the next point.

    -Record these values on the chart below.

    Using the XYZ buttons on the Arm Control Panel, move the robot to a point above POINT A. We can refer to this as AB-A (Above Point A). Do not touch the paper yet with the pen! Record this value on the chart below.

    21. You can also press the “Lock” button on the arm and it will RECORD the point where the pen is when the button is released…

    Record the values to create the letter CIM on the chart below.

    Power switch icon
    STEP POSITIONS X = Y = Z =
    1HOME
    2AB-A
    3AT-A
    4AT-B
    5AT-C
    6AT-D
    7AB-D
    8AB-E
    9AT-E
    10AT-F
    11AB-F
    12AB-G
    13AT-G
    14AT-H
    15AT-I
    16AT-J
    17AT-K
    18AB-K
    19HOME
    Pen-holder locking tab

    Click in the cell with the “P” for each point to create a descriptive name for each position. See Example Below “AT-A” (EoAT is At Point A).

    Power switch icon

    Pen-holder locking tab Movements can either be MoveJ, MoveL, or Jump. We will get to Jump in later activities. MoveJ movements always have an arc to them. We use them for movements that can have less accuracy. Example: when traveling from home to an above position or when traveling from an above to another above position. MoveL movements are linear. We use them when moving down to a point or object, or when moving away from a point or object to ensure movement accuracy. All of the lines to create the letters for CIM should use MoveL movements

    If TEACHING the positions, select the Save Point tool to create 19 empty steps. Using the chart you created, fill in the names of the steps and the XYZ values.

    Note: The coordinates automatically used for the Save Point is the current location of the EoAT

    Power switch icon

    You may also right click on an existing step and select insert to create an additional step

    Power switch icon Power switch icon

    If RECORDING the positions, the positions are automatically created as well as filled in. These positions should be touched up.

    Touch Up Example 1: AB (Above) positions should only have a different Z value. The X and Y should be the same.

    Touch Up Example 2: All AB (Above) positions should have the same Z value. All AT (At) positions should have the same Z value.

    Touch Up Example 3: The positions for AT-A and AT-B should only change on one axis.

    22. Change the Motion Styles to MOVEJ and MOVL where appropriate.

    Power switch icon

    23. It is beneficial to step through (run one line of code at a time) a program to find any errors…

    If there are errors in a step, update the XYZ coordinate values until they are correct. Repeat this process for each step.

    Power switch icon Power switch icon

    24. Once each individual step is verified, run the entire program. Select the first line of code, ensure there are no obstructions in the robots path, and select the RUN PROGRAM option at the top of the screen.

    Power switch icon

    25. Now that we know all the points are correct, we must change the Z value so that it writes on the paper. To do this, follow these steps:

    • A. Select the first AT line, right-click & “Execute” to move the robot to point A.
      Power switch icon
    • B. Change the Z by increasing its value −2 mm at a time and hitting Run Selected until the pen just touches the paper.
      Power switch icon
    • C. Change all Z values where the pen must write; leave AB positions alone when moving letter-to-letter.
      Power switch icon

    26. Using the Loop button, change it to 5 and watch your program LOOP five times when you hit the start button.

    Save your work. Select File → Save to Local to save your project on the computer.

    Power switch icon Power switch icon

    Let’s check the ACCURACY & REPEATABILITY of our robot. Get another grid portion of the template—either replace the old one or add it on top. Tape it down, run the program again, then answer:

    How accurate and repeatable was your robot and program? Be sure to describe both terms.

    What happens to ACCURACY & REPEATABILITY if you increase speed to 75? Try it and see.

    Power switch icon (Do not exceed the speed specified by your instructor.)

    Settings icon To change the speed, select the Settings tab at the top of the screen.

    Settings icon Settings icon

    Speed Adjustment: What happened when you changed the speed? Be specific.


    Teaching Tips:

    CONCLUSION

    1. What does it mean to touch up a program?
    2. Explain completely the difference between MOVJ and MOVL Motion Styles.
    3. Does speed influence ACCURACY or REPEATABILITY of your robot? Describe how.
    4. What would be the effect on the robot’s accuracy at higher speeds if you greatly increased the mass of the pen?
    5. After completing this activity, how would you define the difference between a robot’s accuracy versus its repeatability?
    6. Why do we use AB (Above) positions before going to AT (At) positions? Explain fully.
    7. What is the purpose of a HOME position?

    GOING BEYOND

    Finished early? Try drawing one of the options below. When finished, show your instructor and have them initial on the line.

    • Teach the robot to make a barcode with the pen.
    • Teach the robot to write your name.
    • Teach the robot to write arcs (can you figure Arc movements out?).

    Teacher Signature

    ________ 1. Teach the robot to make a barcode with the pen.

    ________ 2. Teach the robot to write your name.

    ________ 3. Teach the robot to write arcs (can you figure Arc movements out?).