1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Yaskawa Motoman Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Yaskawa and Cognex Calibration Problem

  • Kawaki
  • May 12, 2023 at 4:36 PM
  • Thread is Unresolved
  • Kawaki
    Trophies
    1
    Posts
    4
    • May 12, 2023 at 4:36 PM
    • #1

    Hi all,

    I'm currently working with Yaskawa Motomini with a YRC1000micro controller and Cognex In-Sight Explorer. The project I have to create is a palletizing program that places 1 inch cubes on the pallet with 12 grid spaces. The robot picks up the cubes from a conveyor in the same location. The problem starts when the robot decides where to place the cube on the pallet. I know its normal for cameras to have distortion (or fisheye effect), but in my case, the further the grid space is from the center of the camera's FOV, the worse the place position is.

    In In-Sight Explorer I've used Calibration Grid -> TransformImage -> Pattern. I tried to do this both in EasyBuilder and Spreadsheets. The camera detects the grid center point perfectly every single time, and the same in MotoSight 2D. But the ACTUAL place position during the execution of the program is as described above.

    In-SIght and camera's software version is 6.1.3. The camera is IS7802c.

    Is there something that I'm missing? What other tools or functions I can use to fix the distortion and place position problem? I've tried to search on the forum, but did not see the solution.

    Thanks in advance.

  • Lemster68 May 12, 2023 at 4:43 PM

    Approved the thread.
  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,949
    • May 13, 2023 at 3:05 PM
    • #2

    Couple ideas come to mind.

    1) The robot calibration could be off.

    2) Camera calibration. What calibration did you use? Scale is the worst. Using a Grid with the checkerboard or dots is much better. Using with the Fuducial would also be beneficial. The Grid will help eliminate the lens distortion (fish-eye) and a camera not mounted perpendicular, amongst other things.

    Vision is great when it works. When it doesn't it can be a nightmare because you don't always know what went wrong.

    It is start from scratch.

    Good calibration on the robot.

    Good tcp.

    Good positions taught in the robot job.

    Good user frame taught.

    Good camera calibration.

    Good training of the part.


    As I write this I just thought of something else. Are you finding the exact center of the cube or only using a PatMax or Pattern tool to find the cube? Using only the PatMax or Pattern tool will return the center of the tool not necessarily the center of the cube. If you use the edge tools to find the 4 edges you can find the corners. A line can be projected from opposite corners to find the mid-point and report the center of the cube. I'm not sure where you are using vision on this cell, the pick or the place. A problem with the method I described is if the part can move far enough in the field of view to see the bottom edge of the part instead of the 4 top edges. It can give a false center.

    I know a thing or two, because I’ve seen a thing or two. Don't even ask about a third thing. I won't know it.

  • Kawaki
    Trophies
    1
    Posts
    4
    • May 15, 2023 at 3:14 PM
    • #3

    Thanks for the answer,

    I've been using Grid with fuducial in all programs, but still it wasn't working as intended.

    I used PatMax and Pattern, but I'll try to do this with the Edge finding tools. I guess in my case it should work just fine.

    Also, I've tried this on two identical cameras that we have here, but the issue is the same.

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,949
    • May 15, 2023 at 10:53 PM
    • #4

    Here's something I would check then. Using what ever grid size you are using, enter that number into the X of a position variable. In a job write a line IMOV Pxxx V=xxx UF#(xx). The Pxxx is the position variable you type the grid spacing into. V= is something slow. The UF#(xx) is the user frame used for calibration.

    Take the robot to the origin of the User Frame used for calibration. Interlock-Test Start through the job multiple times. See if the robot:

    A) Followed the user frame accurately.

    B) Moved the correct distance each time.

    If B doesn't work correctly the accuracy of the robot may be in question.

    I know a thing or two, because I’ve seen a thing or two. Don't even ask about a third thing. I won't know it.

  • rcashon
    Trophies
    1
    Posts
    6
    • June 29, 2023 at 3:59 PM
    • #5

    Hey Kawaki,

    I have had this issue before when I was testing at 7802 with an ABB robot. We found a couple of ways to get around this problem.

    1. Place your fuducial grid on top of the cubes. As long as you are only performing operations on one level it will work fine.

    2. Would be to change out the lens on the camera to a telecentric lens. Allows the view to be straight down. Takes the angle out of the target object.

    I used #1 for my project. We did not try #2 . Figure that would work if our project went further.

  • Silverstamp
    Trophies
    3
    Posts
    95
    • July 1, 2023 at 2:06 AM
    • #6

    Hey Kawaki,

    Avoid pattern recognition. Rely more on edge recognition, faster and more accurate. Also as many have said before, calibration is very important. Always check that when running the cal operation, a proper green mark appears at all square intersections. Light is absolutely crucial for identifying all the green visible crosses. Then do what 95devils said: perform short, medium and long measuing/positioning routines and check that the robot moves accurately. If this falis, no real operation will then be successful.

    Cheers!

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Tags

  • COGNEX
  • vision
  • yaskawa
  • calibration
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download