Vision System Hardware Setup

In this tutorial, you will learn how to build the Mech-Mind Vision System.

To build the Mech-Mind Vision System, follow the procedure: Check package contents → Install hardware → Connect the network → Upgrade software (optional) → Confirm that the vision system can capture images normally.

Check the Contents of the Package

  1. Make sure that the package is intact when you receive it.

  2. Check the contents against the “packing list” in the package to ensure that no devices or accessories are missing or damaged.

The following figure shows the devices and accessories included in a vision system shipment. The table below is for reference only. Please take the “packing list” in the package as final.

getting start package contents
No. Category Name Function

1

IPC and accessories

IPC

Provides the running environment for Mech-Mind software

2

IPC accessories

Provides IPC accessories, such as antennas for WIFI connection

3

IPC power cable and adapter

Supplies power to IPC

4

Camera and accessories

Mech-Eye Industrial 3D Camera

Captures images

5

User manual

Mech-Eye Industrial 3D Camera User Manual

6

Camera accessory box

Mounts the camera

7

Project accessories

License dongle

Authorizes the Software Suite license

8

Calibration board

Calibrates the camera

9

Flange adapter

Connects the calibration board to the robot flange

10

Camera DC power cable (standard: 20 meters)

Connects the camera and the DIN rail power supply; longer power cables are an option

11

Camera Ethernet cable (standard: 20 meters)

Connects the camera and the IPC; longer camera Ethernet cables are an option

12

DIN rail power supply (standard)

Supplies power to Mech-Eye Industrial 3D Camera; the camera power adaptor is an option

13

Packing list

Lists all the devices and accessories in the package

Contact Mech-Mind if any items are missing or damaged.

Prepare Other Materials

In this tutorial, besides the items in the package, you still need to prepare the materials shown in the following table by yourself.

Item Function

Monitor

Provides display for the IPC

HDMI cable

Connects the monitor and the IPC

RJ45 Ethernet cable

Connects the IPC and the robot controller

In this tutorial, the IPC and robot controller are directly connected through an RJ45-to-RJ45 Ethernet cable, and the IPC and the camera are directly connected through the camera Ethernet cable. Alternatively, you can use a router to connect the IPC and the robot controller, and the IPC and the camera, which is not covered in this topic.

Install Hardware

Mounts the camera

In this tutorial, the camera is mounted on the camera mounting frame (that is the eye to hand (ETH) mounting mode). In addition, the camera can also be mounted onto the end terminal of the robot (that is the eye in hand (EIH) mounting mode).

  1. Get the camera mounting bolts and wrench from the camera accessory box.

  2. Tighten the two bolts with the wrench as shown below.

    getting start mount camera bracket
  3. Please remove the lens protection film after mounting the camera.

  4. Power the camera with the DIN rail power supply.

    • Connect the DC power cable:

      • Connect the +V wire to the +V connectors of the 24 V output connectors;

      • Connect the -V wire to the -V connectors of the 24 V output connectors;

      • Connect the PE wire to the 220 V input connector PE.

    getting start din rail connection
  5. Install the Ethernet cable of the camera.

    Make sure the bump of the M12 connector and the notch of the ETH port, and tighten the nut after plugging in the cable.

    getting start power cable connection

Mount the IPC

The IPC is normally mounted in the control cabinet. The environment in which the IPC is mounted requires good heat dissipation, ventilation, and dust-proof. It should be mounted at a location where Ethernet cables, HDMI cables, and USB ports can be easily mounted and maintained.

To mount the IPC, follow these steps:

  1. Prepare the wrench, bolts, nuts, and gaskets that are not included in the package beforehand.

  2. If the robot controller is designed with mounting holes for the IPC in it, secure the IPC in the controller: place the bolt, gasket, and nut one by one, and tighten the two bolts with a wrench, as shown below.

    getting start mount ipc

    If the location of the robot controller is already fixed, skip this step and just place the IPC inside the controller.

  3. Connect the IPC and the monitor with the HDMI cable.

    Plug one end of the HDMI cable into the HDMI port of the monitor, and the other end into the HDMI port of the IPC, as shown below.

    getting start connect ipc and display
  4. Connect the IPC to the power supply unit with the power adaptor.

    Plug the power cable of the power adaptor into the power connector of the IPC. Connect the adaptor to the power supply on the other end.

  5. Insert the license dongle.

    Plug the license dongle into a USB port of the IPC.

  6. After the IPC is connected to the power supply, switch on the IPC.

    • If the IPC is started normally, the power indicator should be solid on.

    • If the IPC cannot be started, contact Mech-Mind Technical Support.

Connect the Network

In this section, you will learn how to connect the network between the IPC and the camera, and between the IPC and the robot.

In the following sections, the following IP addresses will be used for network settings. Please adjust the network settings according to your actual network environment.

Device IP Address

IPC

Ethernet port connecting to the camera

192.168.100.10

Ethernet port connecting to the robot controller

192.168.200.10

Camera

192.168.100.20

Robot

192.168.200.20 (already set on the robot)

Connect the IPC and the Camera, and the IPC and the Robot Controller

  1. Plug the other end of the Ethernet cable connected to the camera into an Ethernet port of the IPC.

    getting start connection ethernet
  2. Use an RJ45-to-RJ45 Ethernet cable to plug one end into the Ethernet port of the robot controller and the other end into an Ethernet port of the IPC.

Set the IP Addresses on the IPC

  1. Select Control Panel  Network and Internet  Network and Sharing Center  Change adapter settings on the IPC. The Network Connections page will be displayed.

  2. Right-click the Ethernet port connected to the camera, and select Rename to rename the Ethernet port, such as “To_camera”.

  3. Right-click the Ethernet port connected to the camera, and select Properties to enter the Ethernet Properties page.

  4. Select the Internet Protocol Version 4 (TCP/IPv4) checkbox, and then click the Property button to enter the Internet Protocol Version 4 (TCP/IPv4) Properties page.

  5. Select the Use the following IP address radio button, set the IP address to “192.168.100.10”, Subnet mask to “255.255.255.0”, and Default gateway to “192.168.100.1”, and then click the OK button.

    getting started set ipc ip
  6. Repeat steps 2 to 5 to rename the Ethernet port connected to the robot controller (for example, “To_robot”), and set the IP address for this Ethernet port. For example, the IP address of this Ethernet port is “192.168.200.10”.

    The IP address of the robot and that of the IPC Ethernet port connected to the robot controller must be on the same subnet.

Set the Camera IP Address

  1. Double-click image on the desktop of the IPC to open and run Mech-Eye Viewer.

  2. Select the camera in the camera list, and hover the cursor on the camera. Click image to open the Config Camera Network dialog box.

    getting start viewer setting

    If the camera cannot be found or connected, please refer to Camera Troubleshooting.

  3. In the Camera area, select the Set as Static IP radio button, set IP Address Class to “Class C 192.168.x.x”, IP Address to 192.168.100.20, and Subnet Mask to “255.255.255.0” and then click Apply.

    getting start set camera ip

The IP address of the camera and that of the IPC Ethernet port connected to the camera must be on the same subnet.

Test the Network Connectivity

  1. Press Win + R to open the Run dialog box.

  2. Type cmd in the Run dialog box, and then click OK.

  3. Type ping XXX.XXX.XX.XX in the command prompt window and press Enter to execute the command.

    Replace XXX.XXX.XX.XX with the actual IP address of the camera/robot.

If the network connectivity is normal, you should receive the following response:

Pinging XXX.XXX.XX.XX with 32 bytes of data:
Reply from XXX.XXX.XX.XX: bytes=32 time<1ms TTL=128
Reply from XXX.XXX.XX.XX: bytes=32 time<1ms TTL=128
Reply from XXX.XXX.XX.XX: bytes=32 time<1ms TTL=128
Reply from XXX.XXX.XX.XX: bytes=32 time<1ms TTL=128

Upgrade the Software (Optional)

The IPC purchased from Mech-Mind already has the latest version of Mech-Mind software installed.

Please check if all software on the IPC is running with the latest version. If so, skip this section; if not, follow the sections below to update the software to the latest versions.

Confirm the Quality of Captured Images

Confirm that the vision system can capture images normally and that the image quality meets the requirements after verifying the network connectivity between the IPC and the camera, and the IPC and robot, and confirming that the software runs the latest version.

  1. Place target objects at the center of the camera’s field of view (FOV), and make sure that the target objects on the edge and top are all within the FOV.

  2. Open and start Mech-Eye Viewer by double-clicking viewer on the desktop of the IPC.

  3. Select the camera in the camera list and click Connect.

    getting start viewer connect
  4. After selecting the built-in parameter group “Threaded rod”, click the Capture once button.

    getting start viewer capture once
  5. Make sure that the captured images meet the following standards. The qualified images are as follows:

    • 2D image: The captured 2D image is not significantly overexposed (too white to recognize objects) or underexposed (too dark to recognize object details).

    • Depth map and point cloud: All relevant parts of the object can be recognized.

    2D image Depth map Point cloud

    getting start normal 2d

    getting start normal depth

    getting start normal 3d

If the captured images do not meet the required standards, use Mech-Eye Viewer to adjust camera parameters.

Up to now, you have learned how to build the vision system.

Capture Images and Train Deep Learning Models

When the quality of the on-site target object’s point cloud is poor or the scene point cloud is prone to incorrect recognition, deep learning will be used to assist in recognizing target object poses.

This case provides a deep learning model trained in advance. You can download it by clicking here. If you need to train your own deep learning model, refer to this section to acquire images and train a deep learning model.
  1. Capture images according to the following rules.

    • Capture images under normal conditions,where objects are stacked in a scattered manner and in a concentrated manner.

      The number of target objects is gradually reduced from a large number. Each time, remove one or more target objects, as appropriate, and then reorganize the order and capture again until all target objects have been removed. When actually placing the objects, you need to consider the poses in which the objects will be placed and make sure that the number of objects in each pose is as consistent as possible for training purposes.

      capture images normal
    • Capture images under special conditions, such as when multiple objects are stitched or stacked.

      If multiple target objects are stitched or overlapped indistinguishably, you need to increase the number of captured images (about ten).

      capture images special
  2. Refer to Train High Quality Models to train a high-quality instance segmentation model.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.