Surface Track

The Track tool lets you perform quality control and inspection along a path you define on representative scan data. The Track tool is especially useful for inspecting materials such as glue / sealant beads. The tool returns width and height measurements of the material, as well as OK and NG ("no good") counts, which let you monitor material overflow and breaks. A major advantage of the tool is that it removes the need to configure individual tools for each location along the path. You can use point and line geometric features to anchor the tool (for more information on geometric features, see Geometric Features).

Gocator sensors have a limited amount of space for storing path files. For this reason, when working with large datasets, we recommend that you run the Track tool through a PC instance of GoPxL. For more information, see Running GoPxL on a Windows PC.

You define the path along which the tool performs its internal measurements using a separate, PC-based utility (the "track editor"). The following shows the relationship between the Track tool and the track editor.

For more information on the track editor, see Using the Track Editor.

All instances of the Track tool on a sensor or in a PC instance of GoPxL share the same path file set in File (ending in .trk). For this reason, you must be careful when editing or removing path files shared by another instance of the tool.

For information on adding, managing, and removing tools, as well as detailed descriptions of settings common to most tools, see Tool Configuration.

Key Concepts

The following are important concepts for using both the track editor (see Using the Track Editor) and the Track tool itself:

Track: The material being measured, for example glue or sealant. The material can sit on a flat area on the target, or sit in a groove where the material touches one or both sides.

Path: The ideal centerline of the track. You define the path in the track editor. You can define more than one path for use on scanned targets, but the Track tool returns the combined results for all paths. For more information on the track editor, see Using the Track Editor.

Ruler: A ruler is one of the areas perpendicular to the path you define. You define the size (length and width) and spacing of the rulers in the track editor. The Track tool extracts a profile from the surface data beneath a ruler and performs internal measurements based on the values you set in the Track tool's parameters.

Ruler profiles: The profiles extracted from the surface data under a ruler. The tool's internal measurements, which are configured using the tool's settings, are applied to these profiles.

Segment: One portion of the path, between points created by clicking on an image of scan data in the track editor. You can choose to configure rulers in segments independently, or choose to configure them in a batch mode.

The following shows a track with rulers and measurement results:

Track tool in data viewer, showing a track (lighter grey horizontal strip in the middle), rulers running perpendicular to the track (white lines centered on light blue dots).
Dots of other colors provide additional information (see below).

When you enable Show Measurement Results, the Track tool displays dots on the rulers to provide the following information (see also the images below):

Three "OK" rulers, indicated by green center points. In the bottom two, the peak point (orange) 
is slightly to the left of the center point (green).

A "NG" ruler, indicated by the red center point.

Track Location

The tool attempts to locate the track using the profile data it extracts under each ruler, and does this by first locating the "peak" (the highest point on the ruler profile, based on certain criteria) and then locating the side points representing the "sides" of the track.

Peak Detection

The tool determines the peak point on a ruler profile by moving two windows—one to each side of the point being examined—and comparing the average height in those windows with the height of the point being examined. (The size of these windows is specified in Center Window Size.) If the height of the point being examined is greater than both the left and right average height by the value specified in Center Threshold, that point is considered a candidate peak point. The tool uses the candidate point with the highest average height over both windows as the peak point.

Side Detection

After the tool has located the peak point, it locates the sides of the track starting from the peak point. You can choose between two methods for side detection: Maximum Gradient and Height Threshold.

Maximum Gradient:

Use this side detection method when the slope of the two sides show a clear drop-off. The following settings define the area in which the tool searches for a maximum gradient, which will determine the edge of the track.

Maximum Gradient Side Detection Parameters

Side Window Size

The size of the two adjacent windows the tool uses to determine the maximum slope on the left and right side of the track. Set this to roughly 3 to 5 times the smaller of the X and Y resolution of the sensor.

Max Track Width

The maximum width of the track over the ruler profile the tool searches for edge points. The tool uses this value to limit where the edge of the track might be detected. Set this to slightly larger than Side Window Size.

Height Threshold:

Use this side detection method when the slope of two sides is very gradual. The tool finds the left and right edges by averaging the height of small fixed-size windows moving away from the peak point. Edge points are the left-most and right-most window locations where the average height is below a minimum height threshold.

Height Threshold Side Detection Parameters

Side Height Threshold

The minimum height that the average calculated in the fixed-width height threshold windows must be below.

Center Point Detection

The Track tool calculates the center point as the mid point between the left and right side points. This means that the center point may be different from the peak point.

Configuring the Track Tool

To configure the tool, you must first acquire scan data of a representative target; preferably, the material on the target will fall within the expected tolerances. Next, you save the scan data from within the Track tool, and then load the scan data into the track editor. Then, after adding a path or paths, and configuring rulers to the data, you load the track data back into the Track tool. Finally, you configure the tool. For more information on key concepts you need to understand to configure the Track tool, see Key Concepts.

To configure the Track tool:

1. Scan a representative target, or load previously scanned data.
2. Add a Surface Track tool.

Gocator adds a Surface Track tool and creates a "C:\GoTools\SurfaceTrack" folder if it doesn't exist. Note that previous versions of this tool created and placed files in a "C:\LMI" folder. Files are still read from both locations but only written to C:\GoTools. Rename the existing C:\LMI folder to C:\GoTools for seamless transition.

For more information on adding a tool, see Adding a Tool.

3. In the Surface Track tool, choose Create from the Operation drop-down.

The tool creates a file (for example, SurfaceTrack-0000.trk) containing scan data in "C:/GoTools/Surface Track". You will use the track editor to add path data to this file.

4. Launch the track editor and configure the path or paths.

For information on using the track editor, see Using the Track Editor.

5. After you have finished editing the track data in the track editor, in the Surface Track tool, choose Load in the Operation drop-down to load the path data you just created.
6. Configure the Track tool as required.

For information on the tool's measurements and settings, see the below.

Inputs

You configure the tool's inputs in the expandable Inputs section.

Inputs
Name Description

Surface Input

The data the tool applies measurements to or processes.

Point

Line

Point and line geometric features (produced by another tool) that you can select as anchors for translation and rotation transformations, respectively. Currently, you must select both in order for anchoring to work. For more information on geometric features, see Geometric Features.

Parameters

You configure the tool's parameters in the expandable Parameters section.

Main Parameters
Parameter Description

Track

When expanded, displays file-related operations.

File

The track file that contains scan and path data. You add path data to the file using the track editor. For more information on the track editor, see Using the Track Editor.

Operation

Provides operations related to the track file. One of the following:

  • Normal: Selected by the tool after you perform another file operation.
  • Create: Creates a new track file for use with the track editor.
  • Load: Loads the path file selected in File.
  • Save: Saves changes made in the scan data, as well as the geometric features used as anchors in the Point Feature and Line Feature settings, to the file selected in File.
  • Delete: Deletes the path file selected in File.
  • Refresh File List: Refreshes the list of files.

Interpolation Along Rulers

Enables linear interpolation on the profile extracted from the rulers to achieve sub-pixel accuracy in the width and height measurements.

Height Filter

 

Dependent settings

Threshold High

Threshold Low

When Height Filter is enabled, use the Threshold Low and Threshold High settings to set a range to filter out noise or exclude other undesired data along the ruler profiles.

Median Filter

 

Dependent settings

Window Size

When Median Filter is enabled, specify the window the tool will use to smooth the height values of the points in the ruler profiles in the Window Size setting.

Center Window Size

The size of the left and right windows the tool moves along the ruler profile to detect whether the point centered between the two is the highest point along a ruler (the center point).

Set this to roughly 50% of the typical width of the track as a starting point.

Center Threshold

The center point is determined by moving two side-by-side windows (left and right, Center Window Size setting) over each ruler profile. At each point, the height value between the two windows is compared to the average height of the left and right windows.

If the center point height is greater, by the amount set in Center Threshold, than the average height in both the left and right windows, that point is considered a candidate center point. The candidate center point with the highest average height over both windows is used as the center point.

It may be necessary to use a negative number in some cases. It may be necessary to use a negative value under some circumstances. For example, when the top point slightly dips below its surroundings.

Side Detection Method

 

Dependent settings

Side Window Size

Max Track Width

 

Side Height Threshold

The method the tool uses to detect the two sides of the track. One of the following: Maximum Gradient or Height Threshold. For more information on side detection method settings, see Side Detection.

Height Mode

Determines how height values are interpreted in the tool's Nominal Height setting and what the returned height measurements represent. One of the following:

Absolute Height - Height values are interpreted globally (the entire scan data).

Step Height - Height values are relative to the surrounding area of the track.

Show Path and Rulers

Displays the path and rulers (as defined in the track editor) on the scan data.

Show Measurement Result

Shows dots on each ruler representing the results of the internal measurements on the profile extracted from the surface data under the ruler. For more information, see Key Concepts.

Nominal Width

The expected width of the track.

Width Tolerance

The tolerance applied to the nominal width.

In the following, the distance between the blue dots indicating the width of the track under the ruler to the right (white vertical line) is greater than the width tolerance; this is indicated by the red center point dot, and counts as a NG measurement. The widths of the track under the two rulers to the left are within tolerance; this is indicated by green center points, and count as OK measurements. The track is lighter grey than the surrounding surface.

Nominal Height

The expected height of the track. The expected height is the absolute height in the scan data, not relative to the surrounding area. This setting applies to the peak point, not the center point.

Height Tolerance

The tolerance applied to the nominal height. This setting applies to the peak point, not the center point.

In the following, the red center points indicate that the height at that point is outside of the height tolerance. Green points indicate heights within tolerance. The track is lighter grey than the surrounding surface.

Nominal Area

The expected cross-sectional area under the rulers on the track.

Area Tolerance

The tolerance applied to the nominal area.

Offset Tolerance

The maximum allowed distance between the center (highest) point on a ruler and the path. This setting applies to the center point.

In the following, the top and bottom center points (green) are at an acceptable distance from the blue path. The red center points fail because they are too far from the path. The track is lighter grey than the surrounding surface.

Include Null Edges

 

Dependent settings

Null Fill Value

When enabled, displays a Null Fill Value parameter you can set to replace null values with the value.

External ID

The external ID of the tool that appears in GoHMI Designer. For more information, see GoHMI and GoHMI Designer.

Outputs

All tools provide measurements, geometric features, or data as outputs.

Outputs section with a measurement expanded to show user-configurable decision min/max fields and an external ID

You configure the Min and Max parameters by expanding the measurement in the Outputs section. In order for a measurement to return a Pass decision, the measurement must be between maximum and minimum values; the range is inclusive.

Measurements
Measurement Illustration

OK Count

Returns the number of rulers along the path that pass all of the criteria set in the tool's parameters.

 

NG Count

Returns the number of rulers along the track path that fail the criteria set in the tool's parameters. (They are "no good.")

 

Min Width

Max Width

Mean Width

These measurements return the minimum, maximum, and mean width of the track.

Width measurements on a ruler
profile. The Track tool's settings determine
the locations of the "sides" of the track.

 

Min Height

Max Height

Mean Height

These measurements return the minimum, maximum, and mean height of the track at the center point.

When Height Mode is set to Absolute Height, the height returned is the global height. When it is set to Step Height, the height is relative to the surface next to the track.

Height measurements on a ruler
profile with Height Mode set to
Absolute Height.

 

Height measurements on a ruler
profile with Height Mode set to
Step Height.

 

Min Area

Max Area

Mean Area

These measurements return the minimum, maximum, and mean area under the rulers.

Area measurements under a
ruler profile.

Width

Peak Height

Offset

Arrays containing the widths, peak heights, and offsets of each ruler.

 
Features
Type Description
Center Point

An array of Point geometric feature representing the center point of each ruler.

For more information on geometric features, see Geometric Features.

Data
Type Description

Diagnostic Surface

Surface data created by combining the extracted profiles. Use for diagnostics.