Track
This tool is not supported on A and B revision Gocator 2100 and 2300 sensors that are not accelerated by a PC. (The tool is not supported on GoMax.) For more information on PC-based acceleration, see Gocator Acceleration. The tool is supported in emulator scenarios. |
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 on a PC through the Gocator accelerator. For more information on the accelerator, see Gocator Acceleration. |
2D View |
3D View |
Measurement Panel
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 share the same path file set in File (ending in .user). 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 and measurements, as well as detailed descriptions of settings common to most tools, see Tools Panel.
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 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 choose 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), path (dark blue line), 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):
- Light blue dots: The data points in the ruler profile. When you enable Show Path and Rulers, the tool displays a white line centered on these dots to indicate the location of the ruler.
- Dark blue dotes: The detected sides of the track. These represent the width of the track under that ruler.
- Green dots: Center points on rulers that pass the criteria set in the tool. These count toward the "OK Count" measurement.
- Red dots: Center points on rulers that fail at least one of the criteria set in the tool. These count toward the "NG Count" measurement.
- Orange dots: The peak (highest) point on the ruler. If the center point (green or red) is the same as the peak point, the tool only shows the center point.
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.
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.
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.
1. | Scan a representative target, or load previously scanned data. |
For more information on loading previously scanned data, see Recording, Playback, and Measurement Simulation.
2. | Add a Surface Track tool. |
Gocator adds a Surface Track tool and creates a "C:\GoTools\SurfaceTrack" folder if it doesn't exist.
For more information on adding a tool, see Adding and Configuring a Measurement Tool.
3. | In the Surface Track tool, choose Create from the Operation drop-down. |
The tool creates a file (for example, SurfaceTrack-0000.user) containing scan data in "C:/LMI/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.
Measurements, Data, and Settings
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.") |
|
Width Min Width Max Width Avg These measurements return the minimum, maximum, and average width of the track. |
Width measurements on a ruler
|
Height Min Height Max Height Avg These measurements return the minimum, maximum, and average 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
Height measurements on a ruler
|
Area Min Area Max Area Avg These measurements return the minimum, maximum, and average area under the rulers. |
Area measurements under a |
Type | Description |
---|---|
Output Measurement |
Data containing the results from each ruler, namely:
A sample included in the SDK package shows how you can use this output data in an application. |
Profiles List |
A list of the profiles extracted from the tracks. |
Profiles List Diagnostics Surface |
Surface data created by combining the extracted profiles. Use for diagnostics. |
Parameter | Description |
---|---|
Source |
The sensor |
Point Feature Line Feature |
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. |
File |
The CSV 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 CSV scan / path data file. One of the following:
|
Interpolation |
Enables linear interpolation on the profile extracted from the rulers to achieve sub-pixel accuracy in the width and height measurements. |
Height Filter 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 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 |
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.
|
Filters |
The filters that are applied to measurement values before they are output. For more information, see Filters. |
Decision |
The Max and Min settings define the range that determines whether the measurement tool sends a pass or fail decision to the output. For more information, see Decisions. |
Anchoring
Anchor | Description |
---|---|
X |
Lets you choose the X |
Z angle |
Lets you choose the Z Angle measurement of another tool to use as an angle anchor for this tool. |
A measurement must be enabled in the other tool for it to be available as an anchor. The anchor measurement should also be properly configured before using it as an anchor. |
For more information on anchoring, see Measurement Anchoring. |