Skip to content

Solder Joint Inspection

Operator Function

Input solder joint point cloud, output various parameters of the solder joint based on set parameters, draw cross-sections, obtain cross-section length, width, circularity, highest point of solder joint, volume, and surface area. 3D Solder Joint

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80The IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Use Region Parametertrue/falsefalseIf enabled, use Region as input; if disabled, use Input Image as input
Region2D Window/2D Circular Window/2D Polygon Window/Box/Cylinder Box/Rotated Box/Point SetBoxManually select appropriate ROI region
Can bind to select existing ROI regions
Reference Height0.000Set the reference height of the image (affects height measurement and judgment)
Cross-section ExtractionSee Cross-section Extraction
Longitudinal Section ExtractionSee Longitudinal Section Extraction
Surface AreaCalculate solder joint surface area: See Surface Area
VolumeCalculate solder joint volume: See Volume

Cross-section Extraction

ParameterRangeDefault ValueDescriptionIllustration
Enabletrue/falsefalseEnable cross-section extraction
Extraction ModeFixed Height/Multiple Cross-sectionsFixed HeightSet cross-section extraction height
Number of Cross-sections2/3/4/53Enabled when Extraction Mode is Multiple Cross-sections, set number of cross-sections to extract
Extraction ModeManual/AutomaticAutomaticEnabled when Extraction Mode is Multiple Cross-sections, set input mode for multiple cross-section heights. When automatic, solder joint will be automatically divided equally by height to extract cross-sections
Extraction Position0.000Enabled when Extraction Mode is Fixed Height, set cross-section extraction height
Extraction Position 1-50.000Enabled when Extraction Mode is Multiple Cross-sections and Extraction Mode is Manual, manually input heights for multiple cross-section extraction
Density0.1-10.500Set cross-section extraction density. Higher values result in denser point cloud for each cross-section contour

Longitudinal Section Extraction

ParameterRangeDefault ValueDescriptionIllustration
Enabletrue/falsefalseEnable longitudinal section extraction
Extraction PlaneXZ Plane/YZ PlaneXZ PlaneSelect cutting plane, will cut along this direction
XZ Plane: Set cutting plane as XZ plane
YZ Plane: Set cutting plane as YZ plane
Resolution0.100When extraction plane is XZ plane, this resolution is the x-direction resolution of fitted contour; when extraction plane is YZ plane, this resolution is the y-direction resolution of fitted contour
Extraction Width0.100Set cutting width value. Points within the positive and negative range of this value at the cutting position will be used as extracted contour points

Surface Area

ParameterRangeDefault ValueDescriptionIllustration
Enabletrue/falsefalseEnable surface area calculation
Search Radius0-1005.000Set sphere radius for determining k-nearest neighbors. Depending on point cloud density and distribution, this value may need adjustment. For example, sparser point clouds may require larger search radius.
As shown below, blue circle is centered with search radius as radius, red points are within search radius, green points are outside. Larger search radius considers more points for triangulation.
Maximum Neighbors1-10030Set maximum number of neighbors for solder joint point cloud normal vector estimation. Larger values may improve robustness of normal estimation, especially for sparse or irregular point clouds. However, excessively large values may increase computational load and introduce unnecessary noise. Smaller values may improve computational efficiency but may lead to less accurate normal estimation in some cases.
Nearest Neighbor Distance Product Coefficient0-1003.500Dynamically adjust maximum search distance for each sample point. Larger values result in larger maximum search distances.
When set to larger value: Search radius increases, meaning algorithm considers more neighboring points to construct point cloud surface, which may be beneficial in sparser regions. However, if set too large, may cause over-connection and inaccurate surface.
When set to smaller value: Search radius decreases, algorithm considers fewer neighboring points. This may be beneficial in denser regions or when finer reconstruction is needed. But if set too small, may miss some points that should be connected, resulting in incomplete surface.

Volume

ParameterRangeDefault ValueDescriptionIllustration
Enabletrue/falsefalseEnable volume calculation
X Resolution0.100Set X-direction resolution for volume measurement
Y Resolution0.100Set Y-direction resolution for volume measurement
Number of Slice Contours2-1000001000Number of contours to be cut. More contours result in more precise volume calculation. But increasing number increases computational load, adjust according to actual situation.
Slice DirectionX/Y/ZXNormal direction of cutting plane. Currently can be set to X, Y, and Z. As shown below, slice direction is X direction.

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Heighttrue/falsefalseSolder joint height value, display in image if enabled
Surface Areatrue/falsefalseSolder joint surface area value, display in image if enabled
Volumetrue/falsefalseSolder joint volume value, display in image if enabled
Cross-section Widthtrue/falsefalseSolder joint cross-section width value, display in image if enabled
Cross-section Lengthtrue/falsefalseSolder joint cross-section length value, display in image if enabled
Cross-section Perimetertrue/falsefalseSolder joint cross-section perimeter value, display in image if enabled
Cross-section Areatrue/falsefalseSolder joint cross-section area value, display in image if enabled
Cross-section Circularitytrue/falsefalseSolder joint cross-section circularity value, display in image if enabled
Height Measurement Pointtrue/falsefalseHeight point, display in image if enabled
Cross-section Contourtrue/falsefalseCross-section contour, display in image if enabled
Longitudinal Section Contourtrue/falsefalseLongitudinal section contour, display in image if enabled
Cross-section Minimum Bounding Rectangletrue/falsefalseCross-section minimum bounding rectangle, display in image if enabled
ROI Point Settrue/falsefalseOnly effective when Use Region Parameter is enabled. ROI selected region point set, display in image if enabled

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates a warning
false indicates none
MessagestringOutput success, error, or warning messages. Empty if no error or warning
TimefloatOperator execution time, unit: ms
solider_jointgroupOutput solder joint information
surface_areafloatOutput solder joint surface area
heightfloatOutput solder joint height
volumefloatOutput solder joint volume
cross_section_lengthfloat[]Output solder joint cross-section length
cross_section_widthfloat[]Output solder joint cross-section width
cross_section_areafloat[]Output solder joint cross-section area
cross_section_circumferencefloat[]Output solder joint cross-section perimeter
cross_section_circularityfloat[]Output solder joint cross-section circularity
Note: When input is an array, parameters for each solder joint will form an array, with each array being a set of measurement data for a group of solder joints

Tip

For more detailed explanations of parameter types, please refer to Type Definitions

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input region type is {0}, invalid region typeRegion TypeRegion input type must be one of: 2D Window/2D Circular Window/2D Polygon Window/Box/Cylinder Box/Rotated Box/Point Set
2Region {0} is emptyRegion Number1. Check if selection is empty
2. Check if point set is empty
3Input point cloud is emptyConfirm if IM contains valid points. If no valid points, load point cloud or switch to IM with valid points
4Input cross-section height is invalidAdjust cross-section height
5Current surface area parameters failed to calculate surface areaAdjust surface reconstruction parameters:
1. Search Radius
2. Maximum Neighbors
3. Nearest Neighbor Distance Product Coefficient
6Output area value is too largeRecommend calculating surface area in segments
7Set X or Y resolution is invalidSelect appropriate X or Y resolution
8Input slice direction is {0}, invalid slice directionSlice DirectionSelect slice direction as XY
9Extracted contour is emptyAdjust cutting width
10Ordered point cloud input requiredInput using ordered point cloud image
11Input extraction mode is {0}, invalid extraction modeExtraction ModeSelect extraction mode as Fusion-Average/Nearest
12Input extraction position has no contour or resolution is much smaller than point spacingAdjust extraction position or resolution
13Input extraction plane is {0}, invalid extraction planeExtraction PlaneSelect extraction plane as XZ/YZ plane
14Input cross-section extraction mode is {0}, invalid extraction modeExtraction ModeSelect cross-section extraction mode as Fixed Height/Multiple Cross-sections
15Solder joint point count is too lowSelect point cloud with more points as input
16Input polygon vertex count is less than 3, cannot form polygonAdd 2D polygon window vertices so vertex count is at least three
17Input extraction position mode is {0}, invalid input modeSelect extraction position mode as Automatic/Manual

Example Introduction

Engineering Design

  1. Select Load Point Cloud tool to load required 3D point cloud image into IM0;

  2. Select 3D Region tool to select region requiring plane fitting;

  3. Select 3D Plane tool, using output of 3D Region tool as input, fit plane and transform point cloud;

  4. Select 3D Cut tool to cut out solder joint point cloud;

  5. Select 3D Blob tool to obtain target solder joint 1 and target solder joint 2 point clouds;

  6. Select Solder Joint Inspection tool.

Tool Usage

  1. Select input image for operation. Image number must match IM number where image is located in project.

  2. Either disable Use Region Parameter or enable Region and select region type as Box, then move box to target position to surround point cloud to be measured.

Usage Tips

  1. Use ROI controller on image window to drag or scale box;
  2. Directly modify box start or end coordinates in calculation parameters to adjust box position and size.
  1. Set parameters.

  2. Check desired display content in Result Display section.

  3. Click Test to check if image window and parameters meet expectations.

  4. If everything is correct, click Save, then run operator in run list. View results in corresponding IM.

Local imageLocal image

AI-Vision, Making 3D Measurement Easier