Detect and Measure Hole on Surface

Description

This Step is used to detect the hole on a surface and output the location and radius of the detected hole.

Usage Scenario

Quality inspection, equipment calibration, object recognition, and positioning can be performed by locating and measuring holes on the surface of the workpiece.

Workflow

The process of configuring this Step is shown below.

detect n measure hole on surface
  1. Configure the input. Connect the ports manually or select the input(s) under Input in the parameter configuration panel.

  2. Set Nominal Radius and Radius Tolerance under Parameters.

  3. Configure the feature region and reference plane (optional).

  4. Select the desired output(s) under Output. For an expandable output item, click ▶ and configure the Min and Max values of the acceptable range.

  5. Run the Step and view output.

Parameter Description

Nominal Radius

The expected radius of the hole, i.e. the standard radius of the hole.

Radius Tolerance

The allowable maximum variation of measured radius from the nominal radius (+ / - from the nominal radius).

Use Local Detection

The center of the hole to be detected must be within the feature region. For Use Local Detection to be selected, this condition must be met, otherwise no measurement can be performed effectively.

  • Unselected (default): The hole to be detected is completely within the feature region.

  • Selected: Only part of the hole is within the feature region.

Use Depth Limit

Once this option is selected, set Depth Threshold for data points. Points with depth values (relative to the measurement plane or reference plane) above the set threshold will be removed from hole calculation.

Feature Region

Configure the feature region to ensure that the hole to be detected is within the feature region. For more information on how to set the feature region, please refer to Set the Feature Region.

The data in the feature region can be used to fit a measurement plane as a reference. Once set, the reference plane will be used as reference.
Use Reference Plane

In cases where the surface around the hole is not flat, you can set a Reference Region to fit the reference plane so that the detected hole is on the reference plane.

  • Unselected: All data points in the feature region will be used to fit a measurement plane.

  • Selected: Once the option is selected, you can set One or Two reference region(s) to fit a reference plane aligned with the hole to be detected.

Tilt Correction

The plane where the detected hole is located may be tilted compared to the actual plane, which can corrected in one of the following ways:

Options: Autoset, Custom

  • Autoset: The tilt of the hole relative to the measurement plane or reference plane is automatically detected and corrected.

  • Custom: Set X Angle and Y Angle manually to correct the tilt of the hole.

Output Description

Select the output item(s) according to the actual measurement requirements. Then the corresponding data will be output after the Step is run.

If you select an expandable output item, you must expand it by clicking ▶, and then set the Min and Max values to determine the acceptable range. If the output value falls within the qualified range, the measurement is judged as passing (OK), or else it is judged as failing (NG).

Output Item Description

Hole Center X

The X value of the hole center.

Hole Center Y

The Y value of the hole center.

Hole Center Z

The Z value of the hole center.

Radius

The radius of the hole.

Hole Center

The center point of the hole.

Troubleshooting

Invalid ROI

No. Error Possible Causes Solution

1

Insufficient data points defined by the feature region

-

Adjust the feature region so that sufficient data points are included.

2

Insufficient data points defined by reference region(s)

-

Adjust the reference region so that sufficient data points are included.

3

No hole detected

  • The hole is not included in the feature region.

  • Tilt Correction is not set properly.

  • Adjust the feature region so that the hole is included.

  • Reset Tilt Correction.

4

Failure to reproject

  • The feature region is not set properly.

  • Tilt Correction is not set properly.

  • Adjust the feature region.

  • Reset Tilt Correction.

5

Insufficient data points involved in hole detection in the feature region

  • The set depth threshold is too low.

  • The reference plane is not set properly, i.e., the hole to be measured is not coplanar with the reference plane.

  • Increase the value of Depth Threshold appropriately.

  • Reset the parameters related to the reference plane.

Invalid Parameter

No. Error Possible Causes Solution

1

Unreasonable nominal radius

The set nominal radius is too large or too small.

Reset Nominal Radius appropriately.

2

Large difference between the measured radius and the set nominal radius

-

Reset Nominal Radius, Radius Tolerance, or adjust the feature region.

3

Unreasonable radius tolerance

The set radius tolerance is too large or too small.

Reset Radius Tolerance appropriately.

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.