Start Measurement

After data processing, the surface data of pin tips, i.e., blobs, are relatively stable and small-sized. Next, you can use the data to measure the height and position of pins.

Measure Pin Height

Pin height usually refers to the distance from the tip of a pin to a reference plane (such as the surface of the PCB board). Therefore, you can measure the distance from the center point of blobs to the reference plane to obtain the height of pins.

measure pin height
  1. Obtain center points

    Use the Locate Feature Point of Surface Step to extract the center points (or feature points) from the surface data of pin tips, which will represent the position of pin tips.

    Set the feature point type to Mean in the parameter configuration panel. After the Step is run, it will output the center points of all pin tips.

  2. Fit a reference plane

    Use the Measure Surface Flatness Step to fit a reference plane.

    You can use feature regions to select the flat surface data and set data filtering parameters (as shown below) to filter out noise so that the fitted plane can be stable and accurate.

    measure pin height 2

    Select Global Plane in the Output section of the Step. After the Step is run, it will output a fitted plane.

    measure pin height 1
  3. Measure height

    Use the Measure Dimensions by Features Step to measure the pin height.

    Select Distance in the Output section of the Step. After the Step is run, it will output the distance from each center point to the reference plane, namely, pin height.

    measure pin height 3

Up to now, you have finished high-precision pin height measurement.

Measure Pin Position

The positions of pins are defined by the horizontal distance from pins to the edges of the connector. Therefore, position inspection requires the measurement of the distance from the center point of the surface data of pin tips to the reference lines fitted using the edge data.

measure pin position 3
  1. Obtain center points

    Use the Locate Feature Point of Surface Step to extract the center points (or feature points) from the surface data of pin tips, which will represent the position of pin tips.

    Set the feature point type to Mean in the parameter configuration panel. After the Step is run, it will output the center points of all pin tips.

  2. Fit edge lines

    Similarly, you need to process the surface data so that the fitted lines can be accurate.

    1. Use the Filter Surface Points by Normals Step to select the edge data for line fitting and filter out noise.

      measure pin position 0
    2. Then, use two Fit Line to Surface Edge Steps to fit lines from the processed surface data. In the two Steps, set the search direction to and 90°, respectively, and then set the Outlier Fraction to 15%.

      measure pin position 1

      measure pin position 2

      Search direction of 90°

      Search direction of 0°

  3. Calculate the position

    Use the Measure Dimensions by Features Steps to calculate the distance from points to lines. In the Output section of the Step, select Plane Distance.

    The data should be projected onto the XOY plane for the calculation of Plane Distance. From a mathematical perspective, two lines can intersect at a single point. Therefore, it is necessary to fit two lines (neither parallel nor coincided) and calculate the distance from pins to the two lines to precisely locate the pins.

Up to now, you have finished high-precision pin position measurement.


Next, you can inspect whether the measured height and position of pins are qualified.

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.