QX Series System Software User Guide
QX Series System Software User Guide
Information in this document is subject to change without notice. CyberOptics Corporation may make
improvements or changes in the products described in this publication at any time.
Trademarks
The following are trademarks or registered trademarks in the United States: CyberOptics, Statistical
Appearance Modeling (SAM), QX Series System are owned by CyberOptics Corporation; Microsoft and
Windows are owned by Microsoft Corporation; MicroLYNX is owned by Intelligent Motion Systems, Inc.;
FireWire is owned by Apple Corporation, Inc.
1 Getting Started 1
Overview 2
Prerequisite Knowledge 2
Documentation 2
Common QX Series System Toolbar Buttons 3
QX Series System Directory Structure 5
Logging on to the QX Series System 8
Using The Launch Pad 9
Showing and Hiding the Launch Pad Text Labels 9
Accessing Online Help 10
Managing User Accounts 11
Setting Up New Users 11
Changing User Passwords or Barcode Use 12
Changing User Names 13
Deleting User Accounts 14
Setting Display Properties 15
Configuring the system 17
Setting Default Folders 19
Setting the System Repository Location 20
Setting Default Model Properties 21
Setting up Sampling Inspections 22
Setting Options for Failed Panels 22
Setting Responses to Events 23
Configuring Responses to System Events 23
Configuring Alarm Patterns for Hardware Events 24
Scanning images from right to left 25
Setting Data Output Options 28
Setting up XML or Process Insight/Process Monitor Data Output 29
Setting up Custom Data Output 30
Setting up RS232 Data Output 31
Setting General Barcode Properties 32
Loading Assemblies by Barcode 34
CyberOptics Corporation
Setting up Dual – Stage Rework Stations 37
Defect Review Settings 38
Installing Asian Languages 40
3 Creating Assemblies 65
Assembly Data 66
Opening an Assembly 67
Loading Mounter Information from Assembly Editor 69
Capturing Image Data 71
Define the Panel Size and Image Overlaps 72
Capture Images 75
Creating an Image Sequence File (Optional) 76
Loading Images into the Assembly Editor 77
Stitching the Image 78
Auto stitching 79
Stitch patches manually 80
Stitch Patch Recommendations 91
CyberOptics Corporation v
Saving Unit Templates 152
Deleting Templates 153
Loading Stored Images in the Unit Template Editor 153
Creating Unit Templates 154
Adjusting Search Areas and Tolerances 157
Setting Search Levels 159
Correcting for Height During Inspections
(Measurement Systems Only) 160
Aligning Tasks and Images 161
Centering Templates around Task Icons 162
Resizing Unit Task Icons 163
Viewing Undefined Templates 164
Cloning Templates 165
Uncloning Templates 166
Working with Models 167
Creating a Component Model 168
Creating Models Manually 170
Opening Existing Models 171
Loading Images in the Model Editor 171
Saving Models 172
Deleting Models 173
Editing Model Geometry 174
Positioning Model Task Icons 175
Defining Active Areas for Component Models 176
Sizing Active Areas 180
Defining Inactive Areas 181
Reusing Model Geometries 182
Changing Grid Settings 183
Working With Examples 184
Viewing Examples 184
Setting the Maximum Number of Examples for a Model 185
Automatically Seeding the Model 186
Adding Examples from the Model Editor 187
Adding Individual Examples to a Model 188
Adding Failed Examples to a Model 189
Deleting Examples from a Model 190
Aligning Examples 191
Automatically Aligning Examples 193
Editing the Examples in the Model 197
Working with Training Sets 198
Advanced Editing 202
Adding Tasks Manually 202
Loading Properties From an Existing Template 202
Defining a Symmetrical Model 203
Enabling OR Logic for Unit Template Inspections 205
Enabling AND Logic for Unit Template Inspections 206
Switching Templates 207
CyberOptics Corporation ix
Configuring tower light and upstream SMEMA control 329
Configuring and deleting full results 332
Configuring shop floor 333
Enabling clone functionality 334
Using an NG Stacker 335
Using Existing Assemblies on QX600 337
Generating .R file for pass board 338
Exporting Assembly into XML file format 339
Automatically releasing a panel 340
Configuring pause time in the Rework Station 341
Index 389
CyberOptics Corporation xi
xii QX Series System Software User Guide
1 Getting Started
Overview 2
CyberOptics Corporation
Chapter 1: Getting Started
Overview
The QX Series System Software User Guide is designed to guide you through the process of
inspecting, programming, and debugging an assembly on a new system. Chapter 2 provides an
overall basic programming flow that guides you through the major steps required to create an
assembly. Each aspect of this process is described in more detail following Basic Programming
Steps on page 41 in separate sections of the manual.
The steps required to program and debug an assembly are shown in a flow chart in Basic
Programming Steps on page 41. If you follow these steps using the information provided in this
manual, you should have a working production assembly that you can easily maintain and update.
Prerequisite Knowledge
Users of the QX Series System should have the following skills:
● Moderate Microsoft® Windows® experience
● Knowledge of the component placement process
Documentation
Documentation for the QX Series System consists of the following information:
● QX500/QX500-X System Hardware Manual
Provides an overview of QX500 System components, instructions for how to install and maintain
the QX500 System, parts replacement information, and system specifications.
● QX600/QX600-L System Hardware Manual
Provides an overview of QX600 System components, instructions for how to install and maintain
the QX600 System, parts replacement information, and system specifications.
● QX600-D System Hardware Manual
Provides an overview of QX600-D System components, instructions for how to install and
maintain the QX600-D System, parts replacement information, and system specifications.
● Flex Ultra™High Resolution Hardware Manual
Provides an overview of Flex Ultra System components, instructions for how to install and
maintain the Flex Ultra System, parts replacement information, and system specifications.
● QX100 System Hardware Manual
Provides an overview of QX100 System components, instructions for how to install and maintain
the QX100 System, parts replacement information, and system specifications.
● QX Series System Software User Guide and Online Help
Provides task-based, step-by-step procedures and descriptions of the software controls for the
Programmer application.
● QX Series System Inspection and Rework User Guide and Online Help
Provides task-based, step-by-step procedures and descriptions of the software controls for the
Operator and Reworker applications.
Save Save changes to the current assembly, unit template, composite template,
or model and leave the active editor open.
Save and Exit Save changes to the current assembly, unit template, composite template,
or model and close the active editor.
Note: This button does not appear on the Assembly Editor toolbar.
Display Adjust the brightness, contrast, and other display properties of the image.
Properties
Select Select an object. Click this button and then click an object to select it. The
selected object turns yellow.
Clicking a composite task selects the composite task and its unit tasks. To
select more than one object, click this button and drag a box around the
objects. Or press and hold the SHIFT key while you click each object in
turn. To deselect all selected objects, click in any part of the image area
that is not part of a task icon or a task name.
Zoom Magnify or reduce the size of the displayed image. Click this button and
then click in the image area to magnify (left-click) or reduce (right-click) the
displayed image. You can also drag a box around part of the image to
enlarge just that part of the image.
Move Move an object. Click this button and then click and drag an object to move
the object.
Moving a composite task moves both the composite task and its unit tasks.
To move more than one object as a group, select the objects using the
Select tool, click the Move button, and drag any of the selected objects.
Rotate Rotate an object. Click this button and then click and drag a corner of an
object to rotate the object.
Rotating a composite task rotates the composite task and its unit tasks. To
rotate more than one object as a group, select the objects using the Select
tool, click the Rotate button, and drag any corner of any selected object.
Move/Rotate Move or rotate a task. Click this button and then click and drag the center
cross-hair of the task icon to move the icon, or click and drag a corner of
the task rotate the task. Moving or rotating a composite task moves or
rotates the composite task and its unit tasks.
To move more than one object as a group, select the objects using the
Select tool, click the Move button, and drag the center cross-hair of any of
the selected objects. To rotate more than one object as a group, select the
desired objects using the Select tool, click the Rotate button, and drag
any corner of any selected object.
Note: This button appears only on the Model Editor toolbar.
CyberOptics Corporation 3
Chapter 1: Getting Started
Resize Resize an object. Click this button and then click and drag a corner of an
object to proportionally resize the object. Click and drag a side of the object
to resize only that side of the object. To resize more than one object
proportionally as a group, select the desired objects using the Select tool,
and then click this button and drag any corner of any selected object.
Zoom Out Reduce the size of the image in the Zoom pane with a single click. If the
Zoom pane is hidden, clicking this button reduces the size of the image in
the Panel Layout pane.
Zoom In Magnify the size of the image in the Zoom pane with a single click. If the
Zoom pane is hidden, clicking this button magnifies the size of the image in
the Panel Layout pane.
Reset View Reset the magnification of the Panel Layout pane so that the entire task is
visible in the pane.
CyberOptics Corporation 5
Chapter 1: Getting Started
Failed Task Files Contains files of failed tasks saved during inspection for review
on the Rework station.
OUI Framework Contains program files needed to run the QX Series System
Inspection program.
CyberOptics Corporation 7
Chapter 1: Getting Started
To create assemblies for the QX Series System, you must have access to the software as a
Programmer. See Managing User Accounts on page 11 for more information about setting up
individual User Accounts.
1. On the Windows desktop, double-click the following icon.
4. Click OK.
The Login dialog box closes and the Launch Pad appears.
Click the Information button to access product information, the Programmer Online Help, or to
show/hide the text labels on the Launch Pad.
CyberOptics Corporation 9
Chapter 1: Getting Started
If the navigation pane is already displayed, the toolbar has a button instead.
Click the Hide button to hide the navigation pane. Only one of these buttons is visible at a time.
3. In the navigation pane of the Programmer Online Help, click the appropriate tab as described in
the following table.
Contents View the contents of the Help file. To expand a closed book, double-click the plus
sign (+) next to the book title. To display a page in the Help window, click the page
title.
Index View the index for the Help file. To display a page in the Help window, double-click
the index entry. If the entry has more than one page associated with it, the system
displays a list of pages for you to choose from. Select the desired topic and click
Display.
Search Search the Help file for a specific topic. Type the word or words to search for in the
Search text box and then click List Topics. The system displays the list of topics
containing the search word. To display a page in the Help window, double-click the
topic.
CyberOptics Corporation 11
Chapter 1: Getting Started
2. In the User Group list box, select the type of user to add: Programmers, Operators, Reworkers,
or Hardware Engineers.
3. Click Add.
The Add <UserType> dialog box opens.
8. Click OK.
The system adds the user name to the user accounts. The user can now access the QX Series
application using the specified user name, password, and barcode.
9. In the User Manager dialog box, click Close.
Note: The delete confirmation message appears only if you select the Display Delete Confirmation
i Dialog check box on the Miscellaneous tab in the System Properties dialog box.
CyberOptics Corporation 13
Chapter 1: Getting Started
5. To delete the user and close the message box, click OK.
6. In the User Manager dialog box, click Close.
For more detail about each option, click Help in the Display Properties dialog box.
Bayer Interpolation uses a specific set of red, green, and blue color filters to create the image. The
options provided in this section determine how the filtered image is interpolated to reconstruct a
sharp, true-color image.
● Gaussian: Gaussian interpolation smooths the image with a Gaussian kernel to eliminate the
Bayer pattern. It can leave colored artifacts along sharp edges and blurs the image significantly.
● Malvar: Malvar interpolation is a linear method that uses larger smoothing kernels to preserve
image sharpness. The resulting image is sharp, but can result in a serrated edge.
● Pixel Grouping: Pixel grouping creates new pixels based on the assumption that pixels in the
same group are approximately the same brightness and color. It reduces common Bayer
interpolation artifacts such as serrated edges and isolated dots.
● Gradients: Gradient interpolation evaluates the gradients of surrounding pixels and calculates a
threshold gradient from which the new pixel color is determined.
● LumEval: LumEval interpolation produces the sharpest image. This option is selected by default.
CyberOptics Corporation 15
Chapter 1: Getting Started
Enhancement mode highlights feature edges to give a more clear determination as to whether a
defect appears in the image. You can turn on Enhancement mode and cycle through the options
without opening the Display Properties dialog box. These controls are also available from the View
menu.
1. Press Ctrl+T to toggle the Enable Enhancement option on or off.
2. Press Ctrl+N to cycle through the Enhancement options:
● None: Turns off edge enhancements.
● Black & White Edges: Shows black and white gradient image.
● Color Edges: Shows color gradient images
Inverse Video: Can be used with any of the three options above to show the image in inverse
video, where bright areas become dark and dark areas become bright.
When cycling through the enhancement options using Ctrl+N, the system turns on an option
with inverse video, then turns off inverse video, turns on the next option in inverse video, etc. so
that first you see the enhancement option in inverse video, then you see just the enhancement
option.
● Use the System Properties - Barcode tab to customize how the system reads the barcodes
on the boards as they enter the machine.
● Use the System Properties - File Storage tab to change the default libraries for your
images and CAD data, to change the location of the system repository, and to enable
automatic saving of assemblies.
● Use the System Properties - Inspection & Rework Stations tab to customize the
Inspection Station and Rework Station interfaces and to decide on data storage options.
● Use the System Properties - Result Storage tab to specify how to save inspection results.
CyberOptics Corporation 17
Chapter 1: Getting Started
● Use the System Properties - Miscellaneous tab to assign the minimum number of
examples allowed in a model, assign a value for calibration precision, control the display of
warning and confirmation messages, define tilt estimation parameters, define the default
templates to use for creating new unit and composite templates, enable camera selection,
define good examples ratio, and enable mounter information update.
● Use the System Properties - Hardware tab to view the configuration of your QX Series
machine. The parameters on the Hardware tab should not be changed.
● Use the System Properties - Debug tab to view the debugging information of your QX
Series machine. The settings on the Debug tab should not be changed.
For CAD data, the folder must be set relative to the folder where the QX Series software is installed.
Do not use absolute paths (for example, D:\Path).
CyberOptics Corporation 19
Chapter 1: Getting Started
You can also maintain separate template and model versions specific to certain products or
assemblies by not committing them to the system repository. This helps prevent users from
unintentionally mixing models with product-specific variations.
CyberOptics Corporation 21
Chapter 1: Getting Started
2. At the bottom of the General section, select Enable sub-sampled board inspection.
3. In the Inspect 1 of every x boards field, enter the number corresponding to the required
sample rate.
4. Click OK.
You can trigger responses such as turning on/off a light or sounding a horn whenever a specific
event occurs.
4. Click OK.
CyberOptics Corporation 23
Chapter 1: Getting Started
Note: The following section is applicable only for the QX Series System.
5. Click Apply.
6. Select another event from the Alarm List for which you want to configure an alarm response or
click OK to close the dialog box.
Note:
The QX100 and FlexHR are not supported and there is no plan for supporting these two types of
machines.
Prerequisites
Since, the position of the camera changes, the assembly used for Left to Right cannot be used for
Right to Left scanning without any changes. Ensure that you make the following changes before
using an assembly.
● Calibrate by using the left-to-right scanning method. The calibration file will be shared by right-
to-left inspection and left-to-right inspection.
● Adjust the trigger sensor position to the right side of the SIM and trigger sensor offset
● If the user wants to keep same board orientation, the user needs to rotate the panel 180 degree in
Assembly. Or else user needs to rotate the board physically 180 degree.
● Recapture the image.
● Restitch the newly captured image. If using manual stitching method, you must reteach the
stitcher, because of the change of the image position.
● Realign the panel due to the introduction of offset in the X direction (along camera).
● Ensure that the following PLC Firmware are installed
– QX500 System inspecting by using 8016538.obj file, upgrade the PLC Firmware version to
5.3.0.606.x onwards.
CyberOptics Corporation 25
Chapter 1: Getting Started
– QX500-D System inspecting by using 8017055.obj file, upgrade the PLC Firmware version to
5.3.0.426.0 onwards.
5. Click OK.
CyberOptics Corporation 27
Chapter 1: Getting Started
Tips
● To change an output format: on the Result Storage tab, select the format from the list and click
Edit.
● To remove an output format: on the Result Storage tab, select the format from the list and click
Remove.
CyberOptics Corporation 29
Chapter 1: Getting Started
Tips
● To change an output format: on the Result Storage tab, select the format from the list and click
Edit.
● To remove an output format: on the Result Storage tab, select the format from the list and click
Remove.
i Note: The QX Series System COM port parameters are: even parity, one stop bit, and 7 data bits.
7. Click Finish to complete the setup and close the Output Configuration Wizard.
Tips
● To change an output format: on the Result Storage tab, select the format from the list and click
Edit.
● To remove an output format: on the Result Storage tab, select the format from the list and click
Remove.
CyberOptics Corporation 31
Chapter 1: Getting Started
● No Filter: The remainder of the filter options are unavailable, and all barcode characters are
included.
● Skip Start: The system skips the first n characters before starting to read the barcode. If you
also select a maximum number of characters to include, the system will skip the designated
number of characters at the start of the barcode, count forward the maximum number of
characters to include, and then stop.
● Skip End: The system skips the last n characters before starting to read the barcode. If you
also select a maximum number of characters to include, the system will skip the designated
number of characters at the end of the barcode, count backward the maximum number of
characters to include, and then stop.
4. If you selected either Skip Start or Skip End in the Filter Option list, do the following:
● To skip characters at the beginning or end of the barcode, enter the Number of Characters
to Skip.
● To limit the number of characters in the barcode, select the Limit Number of Characters to
Include check box and enter the maximum number of characters to include in the string.
5. Click OK.
CyberOptics Corporation 33
Chapter 1: Getting Started
Contact CyberOptics for more information about the hardware required for this option.
i Note: This option is not intended for use with a hand held barcode reader.
Note: Barcodes must be mapped to assembly names from within the Barcode tab as described in
i To map barcodes to assembly names on page 36.
● Rework SMEMA: Select the COM port used for SMEMA control. When a port is selected,
the system will monitor the port for a Board Available signal coming from a third-party
repair table.
– Upstream BA (load results): Select this option to load the results file at the Rework
station that correlates to the barcode read when the Board Available signal is received
from the repair table.
– Unload: Select this option to have the Rework station monitor the reset signal from the
repair station. The reset signal indicates that the operator removed the panel from the
conveyor. When the reset signal is detected, the Rework station will unload the results for
that panel.
– Downstream BA: Select this option to have the Rework station send a Board Available
signal downstream, which means that the repair is complete and the panel is ready to exit
to the repair table. The system will wait for a Not Busy SMEMA signal from the repair
table to release the panel.
5. Click OK.
CyberOptics Corporation 35
Chapter 1: Getting Started
Barcode-to-assembly name mappings are saved in a text file in the BarcodeToAssembly folder
located in the QX Series directory. A backup copy is also saved, which can be restored if the original
file is lost.
The Inspection and Rework stations must share the same results folder. When QX Series software is
installed on the Inspection station, the FullResults folder is created in the QX Series installation
directory.
● On the Review and Repair stations, create shortcuts to the FullResults folder present in the QX
Series directory on the Inspection station.
CyberOptics Corporation 37
Chapter 1: Getting Started
To allow child tasks to be toggled on and off within the Defect Review application, clear this
checkbox
If this option is turned off or the QX Series System fails to locate the panel image, only reference
patches will be displayed in the Rework Station.
2. In the Rework section, select the Show reference image check box.
3. Click OK.
Prerequisites
● Ensure Asian Languages is installed on the OS before you change the settings for Japanese
language.
For more information on installing the asian languages, see Installing Asian Languages on page
40.
1. In Control Panel, click Regional and Language Options.
2. From the Current format list, choose Japanese (Japan).
Note: If Japanese is not listed, then CyberOptics recommends that, you install Asian Languages
on the OS.
3. Click Location tab.
4. From the Current location list, select Japan.
5. Click Apply.
6. Click Advanced tab.
7. From the Current system locale list, choose Japanese (Japan).
8. Click Ok.
Note: You require administrator rights to change this settings. Restart the system for changes to
take effect.
CyberOptics Corporation 39
Chapter 1: Getting Started
Panelize Assembly 51
Define Fiducials 52
Final Steps 63
CyberOptics Corporation
Chapter 2: Basic Programming Steps
The following flowchart illustrates the old method of programming the QX Series System.
Set up the
Stitch
hardware
the assembly
Panelize
Capture
Assembly
image data
Define
components
using library
Define No Yes
Is the component Refine layer settings Refine task icon
fiducials
found in library? of components
Add missing
components Refine search
and tasks from Define task icon area & tolerances
library
On the QX Series
System
The following flowchart illustrates the new method of programming the QX Series System.
Import AOI
SRFF
Open Assembly
Editor
Edit image
position
Capture image
data
You need to switch on Auto
Stitch in Assembly
Properties to bypass manual
stitching step
Import CAD
Panelize
Assembly
Teach fiducial
Collect first
example
CyberOptics Corporation 43
Chapter 2: Basic Programming Steps
For most efficient programming, you should have the CAD data for the panel that contains the
information listed below for each component on the panel. Copy the CAD data to the
C:\QX500\CAD folder.
● Reference designator
● Part type
● X coordinate
● Y coordinate
● Angle
Optional
● Side (top/bottom)
● Part number
More detailed information about programming parts without using the library is provided in the
subsequent chapters.
Note: These instructions provide basic steps for creating an assembly. For detailed information about
i working with assemblies, see Creating Assemblies on page 65.
CyberOptics Corporation 45
Chapter 2: Basic Programming Steps
In special cases where stitching the image is recommended, see Stitch patches manually on page 80.
Note: These instructions provide basic steps for importing CAD data. For detailed information
i about using and importing CAD data, see Importing CAD Data on page 100.
Caution: Make sure that you move the entire frame (root task) and not individual fiducials or
components.
CyberOptics Corporation 47
Chapter 2: Basic Programming Steps
Note: These instructions provide basic steps for importing CAD data. For detailed information
i about using and importing CAD data, see Importing CAD and BOM Data on page 106.
Importing CAD
1. In the Assembly Editor, select Assembly>Import CAD+BOM.
2. From Merge CAD data with BOMs dialog, click Load CAD.
3. In the File name field, click and choose a CAD file.
4. From select the correct data sheet here list, choose a CAD tab.
Note: This step is optional. The number of tabs that appear in the list depends on the number of
tabs present in the Excel sheet. However, if the CAD is in the .txt format, then step 4 is not
applicable.
5. Set the CAD data to the following.
– From Ref. Designator list, choose a reference designator.
– From X list, choose a X coordinate.
– From Y list, choose a Y coordinate.
– From Rotation list, choose a rotation.
– From Side list, choose a side. This is an optional field.
– Enter the Starting line. The default value is 1. This is an optional field.
– Enter the End line. The default value is 0. This is an optional field.
6. Select Ignore errors check box to ignore certain error lines. By default, the check box is selected.
Note: If the Ignore error check box is not selected, then you must specify the Starting line and
Ending line.
7. Click Preview.
The customized CAD data appears.
8. Click OK.
The CAD data appears in the CAD data window validating that the CAD is loaded.
Importing BOM
1. From Merge CAD data with BOMs dialog, click Load BOM(s).
2. In the File name field, click and choose a BOM file.
3. Set the BOM data to the following.
– From Ref. Designator list, choose a reference designator.
– From Part number list, choose a part number.
– From Part type list, choose a part type.
4. Select Ignore errors check box to ignore certain error lines. By default, the check box is selected.
Note: If the Ignore error check box is not selected, then you must specify the Starting line and
Ending line.
5. Click OK.
The BOM data is displayed in the BOM (variant) list window.
6. Click Preview.
7. Repeat step 1 to 6 to import the other BOMs.
8. Select a BOM and click View, to view the BOM data. This step is optional.
9. Click Build, to view the build results.
10. Click Start wizard.
Follow the instructions in the CAD Import Wizard; click Help in the wizard for information
about each step.
11. After importing the CAD and BOM data, align the CAD and BOM data frame (root task) to the
image.
a. Right-click the CAD and BOM data frame and select Task properties.
b. Set the Task Angle to rotate the CAD and BOM data frame to the proper orientation.
c. Use the move tool to move the entire frame as necessary to align the CAD and BOM
fiducials with the image fiducials.
Caution: Make sure that you move the entire frame (root task) and not individual fiducials or
components.
CyberOptics Corporation 49
Chapter 2: Basic Programming Steps
Note: These instructions provide basic steps for importing SRFF data. For detailed information
i about using and importing SRFF data, see Importing SRFF Data on page 108.
Caution: Make sure that you move the entire frame (root task) and not individual fiducials or
components.
Panelize Assembly
When the panel contains multiple boards of the same type, group all of the components for one
board and duplicate them across the entire panel. This maintains the links between model and
template definitions for each component.
1. In the Assembly Editor, select all components within the board frame.
2. Select Grouping> Panelize Board.
3. In the Panelize Board dialog box, enter the number of columns and rows.
The effects of your settings are shown in the window on the right.
4. Enter the X and Y pitch values to define the space between boards.
5. Select the direction in which to duplicate the board.
6. Rotate as necessary.
7. Make sure that you select Retain CAD coordinates of sub-tasks.
8. Click OK.
9. In the upper toolbar, check the boxes for Train Assembly and Save Results.
10. Save the Assembly.
CyberOptics Corporation 51
Chapter 2: Basic Programming Steps
Define Fiducials
Note: These instructions provide basic steps for defining fiducials. For detailed information about
i fiducials, see Defining Fiducials on page 125.
1. In the Assembly Editor, select Image> Load Sequence> and either load a Sequence File or
Selected Images.
2. Select Collect > Start. The system populates the Unit Template editor with image patches from all
of the loaded images.
3. Double-click a fiducial in the image to open the Unit Template editor.
4. In the Unit Template Editor, select Training Set > Load Production Set.
5. In the Unit Template Editor, click and draw a square around the fiducial.
6. Double-click the task (blue box) and set the dimensions to form a square.
7. Click the Resize button to resize the search and tolerance area (pink outer box & brown
inner box) if necessary to include the task icon.
8. Click the Build button. All fiducials from all the images appear in the Training Set pane
on the right.
9. Click Auto-Seed.
The Auto-seeding settings dialog box opens.
10. Set the parameters as described in To automatically seed a fiducial model on page 132.
11. Save and Exit Unit Template Editor.
Hints
Right-click the fiducial task and select Edit Template properties to set these parameters:
● Search Angles: 1-way
● Search Angle +/-: Adjust the rotational position from nominal within which the system searches
for the feature. Since fiducials are accurately placed on the board, you would typically set this
angle to 2.00 or 3.00 for square fiducials, or +/- to 0.00 for round fiducials.
● Tolerance probability threshold: 1e-30.
● Tolerance Angle +/-: 5
● Out of Position: Off
To have the system automatically re-inspect the panel (one time) after a panel-level fiducial failure:
1. In the Launch Pad, click System Properties.
2. Select the Inspection & Rework Stations tab.
3. In the middle of the dialog box, select Reinspect fiducial failures.
CyberOptics Corporation 53
Chapter 2: Basic Programming Steps
Note: These instructions provide basic steps for defining components. For detailed information
i about creating and defining components, see Programming Components on page 147.
1. In the Assembly Editor, right-click the component you want to define, and then click Edit
Location Properties.
Review the failure in the Details Pane of the Assembly Editor (lower right corner). If the example
can be used for the model:
● Click the Add to Model button to add the example to the model, if it is acceptable as-is.
● Adjust the red part outline to its actual location if necessary, then add the example to the model.
● Click the Edit Template button to edit the Unit Template and adjust the properties to
accommodate the part (such as search areas, tolerances, etc.) then add the example to the model.
Any changes you make will be applied to the master in the library.
Review the failure in the Details Pane of the Assembly Editor (lower right corner). If the example
can be used for the model:
● Click the Add to Model button to add the example to the model, if it is acceptable as-is.
● Click the Edit Model button to add more examples to the model. Any changes you make
will be applied to the master in the library.
2. Open a training set for the model, or create a new training set.
3. Click Auto-Seed.
The Auto-seeding settings dialog box opens.
4. Set the parameters as described in To automatically seed a fiducial model on page 132.
5. Click OK to begin the auto-seed process. When complete, the message “Model population
successful” is displayed.
6. Click the Save and Exit button.
CyberOptics Corporation 55
Chapter 2: Basic Programming Steps
Hints
● When teaching new components without using a library template, the Search and Tolerance areas
will typically need to be adjusted for each component type in order to compensate for variability
in placement. However, the size of the search area can impact both inspection time and accuracy.
Make the search area slightly bigger than the task icon.
● Search Area angle (Angle +/-): This angle defines the rotational position from nominal within
which the system searches for the feature. For features other than fiducials, the search angle
defaults to 12.00. Increasing the search area angle does increase the inspection time. This
parameter is found in the Unit Template properties.
● If the Add to Model button is greyed out in the Unit Template editor, click Inspect in the
Main View pane (left side of the window).
● When you adjust the task area in the Model editor, you may need to load the training set again
(Unit Template Editor: Training Set> Load Production Training Set).
● Set up separate tasks for body and text inspections by creating a composite task. See Adding
Tasks Manually on page 222 for information about adding text tasks.
● For post-reflow inspections of solder joints, use pin inspections to check solder joints as
described in Add Pin Tasks on page 60.
● For components with more than two leads such as QFPs, SOTs, SOICs, etc. add active areas to
help define the component location. See Defining Active Areas for Component Models on page
176.
Prerequisites
● Use the default library to import a component from the default component library. For creating a
new component and package, see Creating a new component in the component library on page
64.
● Ensure that the images are loaded and all locators must pass.
2. In the search field, type the template you want to search and choose,
– All—locates all the components synchronized with the assembly external library.
– Synchronised—locates only the synchronized components with the assembly external
library.
– Unsynchronised—locates only the unsynchronized components with the assembly
external library.
– Updated—locates the updated synchronized components with the assembly external
library.
– Not updated—locates the not updated synchronized components with the assembly
external library.
3. From the Available collections list, choose a library.
Note: The default value is AI2 library. The AI2 library is displayed in the available collection
only if the System has a valid AI2 license.
4. From the Package template column, choose a template.
5. Draw the component body size for the template by using the Task Icon toolsize.
In the Package Library dialog, the templates are listed based on the size (body width and height)
drawn.
6. To map the collection library package to the assembly package template, choose Mapping table
and select,
– Part type to Part Type for mapping package to package
– Part number to Part Type for mapping component to package.
7. Choose Load From.
8. The Package Library dialog displays all the short listed template based on the components body
width and height.
9. Choose and double-click a component.
The component geometry is displayed in the right-pane of the Update component(s) from
Collections dialog.
CyberOptics Corporation 57
Chapter 2: Basic Programming Steps
10. Resize the component by using the toolsize (Task Icon, Move, Resize, Zoom in and Zoom out) to
adjust the body to match the component
Or
11. Use the angle button to rotate the component. Each rotation step is +900 or -900.
12. Click OK to copy all layers from the selected template to the assembly template.
Note:
– The components are updated based on the layer relation between the package and
component.
– The Template name does not change once the template is updated.
– The Default library (Cyber Library) is applicable for SAM and AI2.
– You cannot link the Assembly to the default library. This feature is currently nonfunctional.
– The example is not displayed inside the model template.
Procedure
1. Click Assembly > Auto Collect First Batch of Example(s).
2. In the Max number of examples model, specify the max number of examples for each model.
The default value is 1.
3. Click Ok. If user use Max number = 1, a confirmation dialog popup and allow user to adjust
task alignment model by model.
Note: When the specified max number of examples for each model is greater than 1, then the QX
Series software adds an example until the specified number of examples is collected. If the
current assembly does not contain enough examples of a model then the QX Series software will
automatically collect the maximum number of possible examples.
CyberOptics Corporation 59
Chapter 2: Basic Programming Steps
Use the Composite Template Editor to define and group multiple tasks for a given part.
7. Click the Build button to build the model and add examples as you would when defining
a component.
In the Unit Template Editor properties, these settings are useful for text tasks:
● Search angle: select 2-way.
● Test for polarity: select No when the text orientation does not matter, such as for resistors.
● Search angle +/-: 5
● Tolerance probability threshold: 1e-30.
● Tolerance angle: 10
● Out of position: turn this setting off since text can be printed anywhere on the part.
CyberOptics Corporation 61
Chapter 2: Basic Programming Steps
In the Assembly Editor, select Assembly > Fit Components to Layers to resize the composite
templates of all the components in the assembly and capture sample images of each component.
These image samples are then used to identify the component in the Component Library dialog
box.
Final Steps
1. Open the assembly on the QX Series System and train the tasks in the assembly. Use a set of
training images or issue the assembly to production to train the models using failure collection.
2. Debug the assembly by running production panels and checking for false calls. Refine the
models as needed.
3. When the assembly is ready for production, Synchronize it with the database (Assembly Editor:
File > Synchronize). Synchronizing the assembly adds all new models and templates to a system
repository for use on other assemblies and can also update existing models and templates.
CyberOptics Corporation 63
Chapter 2: Basic Programming Steps
Hence, the solution is to create a Cyber default component library from the current customer library
by using the export package functions. Enabling this feature also improves the programming flow.
To create new package (Part type) and component (Part number) in the Cyber Library
(\\Collections\Cyber Library), Export Package & Component (Cyber Library) is now added in the
Composite Template Editor menu.
2. In the New Package Type dialog, type a name for the new package type (Part Type).
Note: The Body, Pin, Text, and Polarity check boxes are disabled. You can edit the component
layers in Edit Layer dialog.
3. Enter a component name (Part number).
4. The inherited layers from the package are displayed in the Edit Layer dialog.
5. Import CAD from the Cyber Library when the layer relationship between the package and the
component are displayed in the edit layer dialog.
6. Click File > Export Component.
Note: In the Component Properties the exported component package name is similar to the
component name.
Assembly Data 66
Opening an Assembly 67
Overview 102
CyberOptics Corporation
Chapter 3: Creating Assemblies
Assembly Data
After programming, assemblies contain all the information necessary to inspect a board. The
following figure shows the information contained in an assembly.
ASSEMBLY
Contains information about:
Image, root task, models, and templates
IMAGE
Contains information about:
Image position, board size, and
stitching
ROOT TASK
Contains information about:
X and Y coordinates and part
numbers for all tasks
Opening an Assembly
An assembly is a collection of the image acquisition and stitching information, fiducial definitions,
inspection tasks, templates, and models needed to inspect a single, specific printed circuit board.
When you first create an assembly, the QX Series System software creates the files it needs to track
your project, similar to creating a blank document in a word processing program. After creating the
new assembly, you must program the assembly to add instances of template and related models for
each feature or part to be inspected.
2. Select a Library from the list or click the New button to create a new library in which to
store the assembly.
a. In the New Library dialog box, enter a name for the Library.
b. Click OK to save the library and close the New Library dialog box.
3. In the Assemblies list, type over the NewAssembly text with the name of your assembly, such as
a product number.
4. Click Open in the Assembly Selector dialog box.
The Active Collection dialog box opens.
5. Select an existing collection from the Available Collection list or click New and type a name for
the new collection.
6. Click OK.
The Active Collection dialog box closes and the new assembly opens in the Assembly Editor.
Because the new assembly has not yet been programmed, no images appear in the Assembly
Editor panes.
CyberOptics Corporation 67
Chapter 3: Creating Assemblies
i Note: The assembly is not saved until you click the Save button.
The Assembly Editor is central to the programming of printed circuit boards in the QX Series
System. It is used to program new assemblies and debug existing assemblies. An assembly is a
collection of the image acquisition and stitching information, fiducial definitions, inspection tasks,
templates, and models needed to inspect a single, specific, printed circuit board.
Note: For more information on loading mounter information from Inspection Station, refer to
i “Starting an Inspection by Opening an Assembly” section of the QX Series Inspection and Rework
User Guide.
4. Open an assembly. For more information on opening assemblies, see Opening an Assembly on
page 67.
5. In the Assembly Editor, select File > Load Mounter Data.
6. In the Open dialog box, select the mounter file you want to load.
7. Click Open.
A copy of the mounter data (.txt) file is loaded in your QX Series installation directory under
\QX500\MounterData\<Assembly Name>. The file will be renamed to match the assembly
name that it is associated with.
The MounterData folder is created when you load the mounter information for the first time
and the <Assembly Name> folder is created each time you open a different assembly and load
mounter data.
The mounter data file consists of rows with space delimited data in the following format:
Reference-Designator<SPC> Mounter<SPC>Feeder<SPC>Vendor
where <SPC>: Space Character and <Vendor> is an optional field.
Below is a sample mounter data file.
CyberOptics Corporation 69
Chapter 3: Creating Assemblies
The distance between the cameras, and therefore the amount of overlap between camera fields of
view is fixed and cannot be changed. By default, the amount of overlap is the same between each
row.
To set the assembly properties so the cameras correctly acquire images, follow the procedures in
these topics:
● Define the Panel Size and Image Overlaps on page 72
● Capture Images on page 75
● Create Stitch patches manually on page 80
After the stitching task has been set up for an assembly, the image is automatically stitched each
time you load or capture an image in the Assembly Editor.
Notes:
i ● When you save an image, the image properties and stitching information are saved within the
assembly and also with the stored image.
● After you have set up the assembly to capture and stitch images, you can capture single images
to program or test the assembly. You can also capture sequences of images to inspect in the
Assembly Editor; this is useful for performing repeatability studies
CyberOptics Corporation 71
Chapter 3: Creating Assemblies
2. The drop down list displays the model of the machine on which the board is inspected:QX500/
QX100/QX600/Flex HR/...
The system applies the default image overlap positions for the selected machine to the image
display.
3. Select Properties > Image.
4. In the Image Properties dialog box, enter the board dimensions and select a row overlap from a
set of predefined values by clicking on the previous or forward button.
CyberOptics Corporation 73
Chapter 3: Creating Assemblies
6. Click Apply to apply the image positions to the assembly and leave the Image Positions Editor
open.
During image capture, the system automatically selects only the number of cameras necessary
to capture the board image, based on the image positions you have defined.
After capturing an image you can adjust the panel dimensions in the Image Positions Editor.
Because the size of the area required to capture the board affects image acquisition time, avoid
including unnecessary areas. The green outline should be large enough to encompass all
components on the board, but should not include areas outside the board, such as the conveyor rails.
Typically, measurements should define the extent of the board, not the panel. However, if there are
multiple boards on the panel, you may have to include the panel extent in the measurements,
especially if this area contains fiducials.
1. In the Assembly Editor, select Assembly > Edit Image Positions.
2. In the Image Positions Editor, do one of the following:
● Select File > Load Image and select a saved image to display.
● Select Image > Capture Live Image to capture a live image.
3. In the Image Positions Editor, select Properties > Tile Visibility to hide the tiles so you can clearly
see the boundary of the board.
4. Click the Resize Tool button, and then click and drag the green box to include the board.
5. Select Properties > Tile Visibility to turn the tile display back on.
6. Click Tile.
7. Select File > Save Image, and save the image in the desired location.
Capture Images
Capturing a Series of images provides board images with which to program an assembly. For best
results, capture images from 5-10 panels for initial training. You can either capture a sequence of
images automatically or capture and save images one at a time.
Save the original image used to create the stitching task to help you debug the image acquisition
process. You may update the stitching task against other images, but if the stitching task fails or
motion errors occur, it is sometimes useful to test the stitcher against the original, “golden” image to
make sure the stitching task still runs properly.
● If the stitching task runs properly on the saved image but not on newly captured images, the
hardware setup may need to be adjusted.
● If the stitching task does not run successfully on the saved image, the stitching task definition
may need to be changed.
Every time you capture an image sequence in an assembly, the QX Series System automatically
numbers the images in the image sequence file in sequential order, beginning with 1. If you start
another image sequence collection in the same assembly, the system overwrites the images from the
previous image sequence collection.
1. In the Assembly Editor, select Inspection Cell > Reset.
2. Select Image > Save Sequence.
3. Place the board on the conveyor through the opening on the right side, blocking the exit sensor.
4. Press the Reset/Start button on the QX Series machine.
The conveyor moves the board into the QX Series System, captures its image, and saves the image
to the location specified on the File Storage tab of the System Properties dialog box. The
following figure shows the default location for image files.
The system also creates an AssemblyName.seq file. This file is a text file with the names and
directory paths of the captured images.
5. Remove the board from the conveyor.
6. Repeat steps 3 - 5 until you have captured all your board images.
7. In the Assembly Editor, select Image > Stop Sequence.
CyberOptics Corporation 75
Chapter 3: Creating Assemblies
3. Type the file names of the images to include in the image sequence, one file name on each
successive line in the file.
4. Save the file to the appropriate Images library with the extension .seq (for example,
Assembly_1.seq).
5. Close the text editor.
CyberOptics Corporation 77
Chapter 3: Creating Assemblies
Whether the stitching task is run from the Stitcher Editor or the Assembly Editor, the system must
be able to locate all the defined fiducial stitch patches. If the search for any fiducial stitch patch fails,
the system cannot locate the leading edge of the board and the stitching task cannot run reliably.
Consequently, the stitching task fails. When run from the Assembly Editor, no further inspections
will be made on the board if the stitching task fails.
Auto stitching
A stitch finds the area of the panel that each camera image represented. When the stitcher stitches
correctly, the whole panel is captured by the camera and represented as a single picture. From v6.5
Release onwards, auto stitching is integrated and it automatically does the stitching based on the
FOV overlaps between the adjacent cameras and adjacent image strips.
To automatically stitch the image, Use Auto Stitch option is now added in the Assembly Properties
dialog. Different type of boards may require different stitching method, either manual stitch or auto
stitch. From the Use Auto Stitch list, choose Yes to use auto stitch or No to use manual stitching.
CyberOptics Corporation 79
Chapter 3: Creating Assemblies
Conclusion
● Auto stitch performs better under Motion Error and board warpage cases.
● When using 12mm overlap region, manual stitching performs slightly better than auto stitching.
You can reduce the overlap region for the auto stitch to gain speed performance. The suggested
minimum overlap region is 6mm. Value smaller than 6mm may cause bad auto stitching
performance.
● Auto stitch and manual stitch cannot be performed at the same time.
● For the board with high density tall components, the auto stitching performance may be
affected. In such a case, you may need to switch to manual stitching method.
When you save an image, the image properties and stitching information are saved within the
assembly and also with the stored image.
Manual stitching must only be used for certain problem assemblies, such as, carrier at different
height in panel area and very tall components in overlap regions.
Note: To continue inspecting if the stitching task fails, suppress the stitcher fail warning using the
i option in the System Properties> Inspection and Rework Station tab.
Note: If the buttons for creating and editing stitch patches are disabled, select View > Image >
i Motion Corrected. The motion corrected view, which shows the image after it has been stitched and
corrected for any motion errors, is the only view in which stitch patches can be placed or edited
9. Click the left side of the image group on an appropriate board-level feature to drop the first
fiducial locator.
For fiducial stitch patches, it is important not to mix the type of feature you use for the stitch
patch. Try to make all fiducial stitch patches one type of feature, for example, all copper artifacts
or all silk screen elements. See Stitch Patch Recommendations on page 91 for more information
about choosing stitch patch features.
If you are stitching an image of a blank board (with no components), make sure you select a
feature that will not be obscured when the components are placed on the board.
10. Scroll across the image group and place a second fiducial stitch patch toward the center of the
image group.
11. Place a third fiducial stitch patch on the right side of the image group. CyberOptics recommends
that you only place three fiducial stitch patches on a board.
The stitch patches should look similar to the following figure.
CyberOptics Corporation 81
Chapter 3: Creating Assemblies
Note: Once the simulated board height is adjusted in the Edit Stitcher dialog, the board height gets
automatically updated in the Assembly Properties dialog and vice versa.
After creating the fiducial stitch patches that pass, create overlap stitches for the rest of the board.
1. In the View menu, clear the check mark next to Fiducials and select Overlaps (Stitch) mode.
The Stitcher displays the image overlaps only.
2. Click the Zoom Tool button and zoom into the first row of image overlaps, starting with
the first camera image on the left.
3. Click the Drop Locator Tool button.
CyberOptics Corporation 83
Chapter 3: Creating Assemblies
4. Place a stitch patch on an appropriate board-level stitch patch feature close to the center of the
image overlap.
Stitch points placed in the horizontal overlaps are used for motion correction when stitching the
board. Stitch points in vertical overlaps are used for surface reconstruction. Stitch points placed
in the overlap intersections (where the horizontal and vertical overlaps intersect) are used for
both motion correction and surface reconstruction.
If you are stitching an image of a blank board (with no components), make sure you select a
feature that will not be obscured when the components are placed on the board.
5. Use the scroll bar or keyboard arrow keys to scroll across the image group to the second camera
image in the first row of image overlaps.
8. Continue placing stitch patches in each row of overlaps until the entire image is fully populated
with stitch patches. A fully populated image will have at least one stitch patch in each image
overlap.
9. After you have placed the overlap stitch patches, click to run the stitcher.
As part of populating the stitching task with stitch patches, you should test the stitching task to
make sure it correctly stitches the image. You may want to run the stitching task after
populating each row of overlaps to ensure that the stitch patches work correctly.
After you run the stitching task, the system displays the results (pass or fail) in the Stitcher
Editor title bar. Stitch patches that are located turn green and those that cannot be found turn
red. Select View > Results to determine the reason for any failures.
10. Delete the stitch points that fail by selecting the stitch point and pressing the Delete key on the
keyboard, then add new stitch points as needed. If your stitch points are rejected or not locking
on well, try using a different feature to stitch with.
After all of the stitch points pass, select View > Results and verify that the motion correction line
for each group is less than .25mm.
11. Select File > Save to save the overlaps stitching task.
CyberOptics Corporation 85
Chapter 3: Creating Assemblies
Prior to v6.5 Release, the software does not support placing a locator along the border of the region,
because the search area was used as a search criterion. When the search area is outside the overlap
region, the locator will not be considered for stitching.
Implementation
To improve the editing stitcher properties at the overlap region, the search criterion > by search
area (purple box) function used prior to v6.4 Releases is retained. However, a new criterion, search
criterion > by locator area (cyan box) is added in the v6.5 Release onwards, which uses the
locator box as a search criterion. When the locator box is outside the overlap region, the locator is not
considered for stitching.
You can place and edit the stitcher at the border of the overlap region. The locator box must be in the
overlap region while the search area can be outside the overlap region. The stitcher improvement
allows you to place and search the stitcher even when the search area is out of the overlap region.
When the search area is enlarged, the features in the top and bottom images do not move apart.
Note:
– This feature is useful when there are no features at the centre of the overlap region. But there
are features at the border of the overlap.
– To support the previous v6.4 or prior and the v6.5 and onwards Release versions assemblies,
the Editor Stitcher interface is updated as follows:
– Stitcher Criterion filed is now added in the Stitcher Editor Properties.
1. Navigate to Assembly > Edit Stitcher.
2. In the Stitcher Editor dialog, click Properties > Stitcher Criterion.
● by search area —choose when using v6.4 Release and prior version assemblies to place the
stitcher when the search area is outside the overlap region. Locators are not used in stitching
when the search area is outside the overlap region.
● by locator area —choose when using v6.5 Release assembly to place the stitcher when the extent
box of the stitcher is outside the overlap region. Locators are not used in stitching when the extent
box is not in the overlap region, regardless of the search area.
The following improvements are implemented for the stitcher out of position for QX Series System.
● Correlation between SIM 1 and SIM2 by using features between CAM 8 and 9.
– The number of locators (for each image) in the region between CAM 8 and 9 must be at least
three as shown in the following figure (red and purple box). Otherwise, the correlation is set
to identity.
– The SIM1 to SIM2 correlation for the current group of images works on condition that the
number of locators between the row overlap of current group and previously group must be
at least three.
CyberOptics Corporation 87
Chapter 3: Creating Assemblies
– CyberOptics recommends that the locators span the whole range of each color box. As we can
see from the following figure, each color box is divided into three parts. That is to say, it is
better that each part of the color box could have locator for the correlation estimation.
Note: For L-machine, due to the distance created between the two SIMs along the moving direction,
the images are captured at different time for the same group and hence, the motion error is different.
Prior to v6.5 Release, the two SIMs were considered as one SIM which has 16 cameras. And hence, it
was presumed that the images captured from 16 cameras were at the same time.
The stitching flow (M/L mode) prior to v6.5 is retained and the new function L mode is added to
compensates the motion error difference that occurs between the two SIMs.
● Switching between left and right camera display sequence
The display in the stitch editor attempts to stitch the panel based on the default calibration.
Therefore, in the overlap regions the view from one camera is randomly chosen for display. To switch
between the left and right camera and to view the image in the default or reverse mode, a new
button View images in reverse order is now added in the Stitcher Editor as shown in the following
figure. The priority on the overlapped region is displayed in two different modes:
– LEFT>RIGHT, BOTTOM>TOP (default mode)
– RIGHT>LEFT, TOP>BOTTOM (reversed mode)
CyberOptics Corporation 89
Chapter 3: Creating Assemblies
You can switch between the two modes by clicking on the View images in reverse order button.
Vias and bare copper fiducials are acceptable only if you are not using the system in a post-wave
application. Crosses or Ts in traces (features with right angles) are ideal. Do not use traces with
shallow angles because the system will not lock onto these very well. For fiducials, use plated
through-holes or vias. Silk screening features with high contrast and sharp angles are ideal.
In general, place stitch patches on parts that are unique within their search area.
Crosses
CyberOptics Corporation 91
Chapter 3: Creating Assemblies
Note: Moving a stitch patch breaks the relationship between the feature and the stitch patch. After
i repositioning one or more stitch patches, you must run the stitching task, even if you have previously
done so.
For both overlap and fiducial stitch patches, resizing the search area on one stitch patch
automatically resizes the search area for all the stitch patches of the same type (overlap or fiducial)
on the image. The search area is defined to account for the motion of the conveyor as well as to
encompass the size of the feature. Therefore, the system assumes that if the search area for one stitch
patch needs resizing to correct for conveyor motion, then all search areas need resizing.
CyberOptics Corporation 93
Chapter 3: Creating Assemblies
Each feature being used for either fiducial or overlap stitch patches should be unique within its
search area. Use caution when resizing the search area because this impacts all stitch patches of the
same type on the board.
1. In the Stitcher Editor, select the type of stitch patches to view (Fiducials or Overlaps) using the
View menu.
2. In the Stitcher Editor, select Properties > Stitcher.
3. In the Stitcher Properties dialog box, enter values for Search Size Width and Height.
4. Click OK.
5. Select File > Save to save your changes.
When image groups are stitched together, the stitching process calculates the severity of motion
errors by evaluating how far the next image group has to move to align with the previously stitched
image group. You can define the maximum amount of movement permitted between one image
group and the next. If, during stitching, an image group moves in excess of the thresholds you set
for x, y, or angle, the stitching task fails.
Note: If the stitching task fails due to motion error, it is likely that there is a problem with the
i physical setup of the machine.
CyberOptics Corporation 95
Chapter 3: Creating Assemblies
You can also set the system to re-inspect the panel after a stitcher failure to see if a second attempt
will give a better result.
2. Make sure the Dynamic home offset correction check box is selected.
3. In the Motion correction effort box, adjust the percentage according to the following
guidelines:
● Low values cause the system to wait until near the end of the acquisition process before
correcting for any motion errors and have a negligible impact on the panel cycle time.
● Higher values cause the system to apply corrections for motion errors earlier and more
effectively in the acquisition process, but can cause an increase in cycle time.
● The default value of 50% provides corrections to the last few motions (typically where
stitcher errors occur) with little effect on cycle time.
● Entering zero (0) turns off motion correction.
The simultaneous stitching and inspection process stitches the first two or three image row overlaps
before inspecting the locators. If the locators in the lower area of the board pass their inspections, the
component inspections begin in this located region of the board. This process continues up the
image until the entire board is stitched, located, and inspected.
Note: If the stitching task or locators fail during the inspection, the inspection process stops and no
i further component inspections are performed. To continue inspecting if the stitching task fails,
suppress the stitcher fail warning using the Suppress Warning Dialog on Stitcher Fails option in
the System Properties> Inspection and Rework Station tab.
CyberOptics Corporation 97
Chapter 3: Creating Assemblies
Note: Stitching tasks on all QX Series Systems contain different image views: uncorrected, motion
i corrected, and (on measurement systems), surface corrected. Select View > Image > Surface
Corrected to see the image after it has been stitched, motion corrected, and surface corrected. You
cannot drop stitch patches or edit them while viewing surface corrected images.
CyberOptics Corporation 99
Chapter 3: Creating Assemblies
CAD files contain engineering data about the assembly, such as the position and orientation of each
component, the location of fiducials, the part numbers, and the part types. Importing CAD data
automatically does the following:
● Creates a root task for the assembly.
● Finds existing templates in the system repository to use for each part number in the CAD file, or
creates new templates for each part number.
● Finds existing models in the system repository to use for each unit template, or creates new
models (you will have to program the new models).
● Creates libraries where the templates and models are stored.
● Optionally defines cloning relationships between part number templates that are all of the same
part type. Clones share the same template, which reduces programming time.
● Designates fiducials, and optionally defines fiducial templates and models with properties
typical for fiducials, and saves the templates and models in a separate library.
● Creates tasks for each reference designator within the CAD file. If the CAD file includes height,
width, and angle information, the tasks will also be correctly sized and oriented.
● Provides the approximate X and Y dimensions for the board.
Define the
template How to import
libraries CAD data Create new
assembly
Indicate the
fiducials
Capture
image data
Overview
Before importing CAD data, verify the location and format of your CAD file. This text file must
contain at least the following information for each component:
● Component reference
● Part number
● X coordinate
● Y coordinate
● coordinate
If possible, it is preferred that your CAD file also supply the following information:
● Component type
● Top or bottom side
If the CAD file includes component type information, the amount of time it takes to program a
board will be reduced. If part type information is available, the structure of the part type, part
number, and component reference will be similar to the following example.
Part type
Component
reference
Part number
Component
reference
Component
reference
Part number
Component
reference
The QX Series System interprets the CAD file information into the following structure:
Master
template
Task
Cloned
template
Task
Task
Cloned
template
Task
The following steps describe how to create a new CAD format definition. If you select an
existing definition, then proceed to To define template libraries on page 110.
5. Click Next.
6. On the Create New Tabular CAD Format page, type a unique name for the format in the Call
This Format text box.
7. Click the CAD File tab in the lower portion of the window to display the CAD file data. Refer to
this data to help you determine the format of your CAD file.
8. In the File Header list, select the type of file header for the format:
● Select Tagged if the CAD file contains separate lines that indicate where the data starts and
ends. In the Start and End text boxes, type the text used to establish the start and end of the
data (if different from BEGIN and END)
● Select Strip Lines if the CAD file contains a fixed number of lines of text at the beginning,
before the actual data. In the Lines text box, type the number of lines to strip from the CAD
file.
● If you have no header, select Strip Lines and set the Lines to 0 (zero).
9. If the angles in the CAD file are not represented in degrees, set the values that correspond to the
0, 90, 180, and 270 angles (for example 0, 1, 2, 3) in the Rotation section, CAD Representation
fields. Based on this information, the system interprets any other angle values in the CAD data
as a number of degrees.
10. In the Field Delimiter list, select the type of character used to separate the columns of data in
the CAD file: TAB, variable spaces, single space, or comma.
11. For each Value in the Field Description list, type the column number for the corresponding
CAD data in the Column in CAD field. If a column does not exist in the CAD file, type 0 in the
corresponding Column in CAD field.
12. In the Unit Conversion section, select one of the following options:
● Select the Standard option if measurements in the CAD file are expressed in millimeters,
centimeters, meters, inches, microns, or mils. If you select this option, select the unit of
measure used in the CAD file from the corresponding list.
● Select the MM Per Unit option if the CAD file uses a unit of measurement other than
millimeters, centimeters, meters, inches, microns, or mils. If you select this option, type the
value by which to multiply the CAD file's unit of measurement to convert it to millimeters.
13. Click the Preview tab and then click Refresh to preview the CAD format. If the preview data is
incorrect, change the appropriate values and click Refresh again.
14. When the preview looks correct, click Next and continue with the CAD Import Wizard.
CAD and BOM files contain engineering data about the assembly, such as the position and
orientation of each component, the location of fiducials, the part numbers, and the part types.
Importing CAD and BOM data automatically does the following:
● Creates a root task for the assembly.
● Finds existing templates in the system repository to use for each part number in the CAD and
BOM file, or creates new templates for each part number.
● Finds existing models in the system repository to use for each unit template, or creates new
models (you will have to program the new models).
● Creates libraries where the templates and models are stored.
● Optionally defines cloning relationships between part number templates that are all of the same
part type. Clones share the same template, which reduces programming time.
● Designates fiducials, and optionally defines fiducial templates and models with properties
typical for fiducials, and saves the templates and models in a separate library.
● Creates tasks for each reference designator within the CAD and BOM file. If the CAD and BOM
file includes height, width, and angle information, the tasks will also be correctly sized and
oriented.
● Provides the approximate X and Y dimensions for the board.
● Automatically generates variants according to the number of BOMs.
Load the
CAD+BOM format
and the CAD and
BOM file Set up the
hardware
Define the
template libraries
How to import CAD
and BOM data Create new
assembly
Indicate the
fiducials
Capture
image data
SRFF files contain engineering data about the assembly, such as the position and orientation of each
component, the location of fiducials, the part numbers, and the part types. Importing SRFF data
automatically does the following:
● Automates the tedious Programming Setup.
● Draw the boxes for:
– Task
– Geometry (active areas)
– Search Window
– Tolerance Window
● Generates SRFF for SPI and AOI at the same time.
● Enables similar naming convention between AOI and SPI for SPC correlation.
HOW TO
PROGRAM AN
ASSEMBLY ON A
NEW SYSTEM
Set up the
hardware
Capture image
data
How to import SRFF data
➢ To define fiducials
When importing CAD data, if the CAD file contains reliable fiducial information, this information is
interpreted by the QX Series System application and used to create fiducials within the root task. In
the CAD Import wizard, you must indicate which reference designators represent fiducials. Tasks
created for the parts designated as fiducials during the CAD Import process are automatically
defined as fiducials within the assembly.
1. In the Define Fiducials page, select the objects that represent fiducials from the reference
designators list.
2. Click Fiducial.
The system places the word Yes next to the selected fiducials.
i Note: To remove the fiducial designation from a part, select the part and then click Non-Fiducial.
3. After you have defined the fiducials, click Next and continue with the CAD Import Wizard.
i Note: You may need to use mirroring if your CAD data includes bottom-side information.
2. Click Build.
The system builds the root task in the Assembly Editor.
3. After the build is complete, click Close.
Caution: Do not move individual component tasks within the Assembly Editor. Moving an
individual component task in the Assembly Editor changes the CAD coordinates for that task
and can result in faulty inspection results.
2. In the Panel Layout pane, click the boundary of the root task and drag it so that it is aligned with
the image. Make sure that all task icons within the root task are selected. (When you select a
task icon, the boundary turns yellow.)
3. Click .
Panelizing a Board
Group the existing tasks for a single board and then populate a panel with the tasks for all the
boards on the panel.
1. In the Assembly Editor, select the unit tasks to group.
2. Select Grouping > Panellise Board.
The Panellise Board dialog box opens with the tasks for one board on the panel displayed.
3. To zoom in on the display image, click in the image and click the left mouse button or drag a box
around the area to magnify. To zoom out on the display, right-click the image.
5. In the Template name field, click and navigate to the template for the panelized board.
6. When the panels are lined up correctly on the board, click OK to save the information and close
the Panellise Board dialog box.
7. In the Assembly Editor, click the Resize Tool button to resize the root task boundary to
include the entire panel.
8. Click to save the assembly.
An asterisk (*) appears next to the title in the title bar of the Assembly Editor if changes have been
made to the assembly since the last time it was saved.
➢ To save an assembly
Saving an assembly saves all the information needed to inspect the printed circuit board: image
positions, the stitching task, inspection tasks, templates, and models.
● In the Assembly Editor, select File > Save Assembly.
You cannot directly move an assembly to a new library. Instead, you must save a copy of the
assembly to the new library, and then delete the original assembly.
1. In the Assembly Editor, open the assembly to move.
2. Select File > Save Assembly As.
3. In the Save Assembly As dialog box, type the new assembly name.
4. In the Library list, select the library for the assembly.
5. Click Save.
6. Close the Assembly Editor.
7. On the Launch Pad, click System Manager.
8. In the System Manager window, select the original assembly and then select Edit > Delete
Selected.
9. If a confirmation message asks if you really want to delete the assembly, click Yes.
➢ To delete assemblies
1. In the Launch Pad, click System Manager.
2. In the System Manager window, select the assembly to delete in the Assemblies list.
3. Select Edit > Delete Selected.
4. If a confirmation message asks if you really want to delete the assembly, click Yes.
Notes:
i ● Use caution when deleting assemblies. This action cannot be undone.
● Deleting an assembly deletes the assembly's copy of the templates, models, and the image
capture and stitching information used to program a single board. However, deleting an
assembly does not automatically delete related templates and models in the system repository.
● To control whether the system displays confirmation messages when you delete items go to the
Launch Pad, click System Properties, and then in the Miscellaneous tab, select or clear the
Display Delete Confirmation Dialog check box.
Once a variation is created, then only the variations can be opened at the inspection station. To
maintain the ability to open a non-variant version of the assembly at the inspection station, save the
original assembly under a new name.
Each type of variant is created differently, but all use the concept of either adding or omitting tasks
from the assembly. Omitted tasks are not included in the inspection results nor will they affect the
definition of the parent composite template.
Note: Adding tasks to a create a variant adds the task to the overall “generic” assembly and also to
i any other variants associated with the assembly. If you add a task, make sure that you determine to
which variants it applies and omit the new task where necessary.
Note: If you are using the Load Assembly by Barcode feature with an in-line barcode reader, you
i must also set the Auto-load product variants setting on the System Properties – Barcode tab and
include the Variant in the Barcode to Assembly table mapping.
➢ To duplicate a variant
1. Open the desired assembly.
2. On the Assembly menu, select Variants> Manage.
3. Select an assembly variant which you want to duplicate from the list and click Duplicate.
4. Enter a new name for this variant. If the name you entered already exists, an error is generated.
5. A new variant is created with the same content as the existing variant and appears in the
selection list.
6. Click OK.
i Note: You must save the assembly for the duplicated variant to be saved.
Componentizing an Assembly
Convert templates from older versions of Flex (5.3 and earlier) to make them compatible with
features such as, Component Library, available in later versions. When you componentize a legacy
assembly, it converts all existing composite templates containing layers and unit templates into
components with package type. You can also view all the components and package types and enter
additional information for each component. Then, you can recreate the assembly using the newly
created components.
1. In the Assembly Editor, select File > Open Assembly (or click Open Assembly on the Launch
Pad.)
2. In the Assembly Selector dialog box, navigate and select a legacy assembly.
3. In the Assembly Editor, select Assembly > Componentize Legacy Assembly.
The Componentize Legacy Assembly dialog box opens with the list of components in the
legacy assembly displayed on the left pane and the individual component details displayed on
the right pane.
7. You can edit the details of the selected package type in the Edit Selected Package Type
Details area. Then, click OK to close the dialog box.
The component now includes all the layers of the selected package type. However, the text layer
remains unique to the component.
8. To delete a component from the list, click Remove Selected Component.
9. Click OK to componentize the assembly.
10. Click to save the assembly.
Finding Tasks
Use the Find view in the Assembly Editor to find specific tasks.
● Click the Synchronize button to synchronize the selections with the Panel Layout pane
(Assembly Editor) or Main View (Composite Template Editor). With this button selected, tasks
selected in the image display are displayed in the Find or Tree View panes, and vice versa
➢ To select tasks
● To select all listed tasks, click the Select All button.
● To select a particular task, click the task name.
● To select multiple adjacent tasks, hold down the SHIFT key as you select the first and last tasks in
the group.
● To select multiple non-adjacent tasks, hold down the CTRL key as you click the tasks to select.
Overview 126
CyberOptics Corporation
Chapter 4: Defining Fiducials
Overview
Fiducials are board-level features placed on a printed circuit board during the manufacturing
process. The QX Series System uses fiducials to visually align the root task and the board during
the production and inspection processes. All fiducials must pass the inspection before further
inspections can take place.
● Accurate placement of fiducials on each product is critical. CyberOptics recommends that you
define at least four fiducials, with one at each corner of the board. This enables the QX Series
System to correctly compensate for translation, rotation, and scaling issues when inspecting the
board. Use six or more fiducials to additionally compensate for tilt. If you use more than four
fiducials, place one fiducial at each corner, and space additional fiducials evenly across the board.
● Fiducial placement information must be documented in the CAD file for a QX Series System to
reliably inspect boards. If fiducial information is not included in the CAD file, alternative board-
level features (such as vias and electrical test points) can be used in their place. However, these
features are not usually as reliable as fiducials, so the fiducial CAD data should be acquired if
possible.
● For the QX Series System to accurately find a fiducial during inspection, the fiducials on the
board must be of good quality. If the fiducials are particularly poor, you may alternatively use
other board-level features as locators.
● Models should be initially populated with at least five examples. However, after a training
period, fiducial models should contain 30 to 100 examples.
Highly recommended
Recommended
Recommended
HOW TO
PROGRAM AN
ASSEMBLY ON A
NEW SYSTEM
Set up the
hardware
Create new
assembly
Capture
image data
Define model
Import CAD geometry
Define template data
properties (search How to define the How to define the
areas) fiducial template fiducial model
Seed the
model (min. 5
examples)
Define Define Define
fiducial template fiducials fiducial model
Save the
Save the
template
model
The ideal fiducials are circles, but almost any unique item can work. Make sure that the fiducials are
spread apart on the panel.
3. Click the Create Task Icon button and draw a new task icon around the fiducial. Make
sure that the icon is centered on the fiducial and encompasses the entire feature.
4. To resize the task icon so that it is symmetrical, click and then double-click the border of the
task icon.
5. In the Resize Task Icon dialog box, enter the same value in the Width and Height fields and
then click OK.
6. In the Unit Template Editor, select the border of the search area, and then click the Resize
Tool button to increase the search area around the task icon. Elongate the search area more in
the Y direction to help correct any looseness in the movement of the conveyor belt.
7. Click the Properties button to open the Unit Template properties and set these parameters:
● Search Angles: 1-way
● Search Angle +/-: Set this angle to 2.00 or 3.00 for square fiducials, or 0.00 for round
fiducials.
● Tolerance probability threshold: 1e-30.
● Tolerance Angle +/-: 5
● Out of Position: Off
9. Inspect the training set examples by clicking Inspect on the Training Sets pane toolbar. The
template should fail inspection for Not Enough Examples.
10. Seed the model by adding examples from the initial training set shown in the Training Sets pane
on the right side of the window.
11. Click the to save the template and close the Unit Template Editor.
12. In the Assembly Editor, click to save the assembly.
Seeding a Model
The system learns variation in task or model appearance by adding examples to, or seeding, the
model. Create a production training set, which contain tasks from multiple images, to select
examples to add to the model. When the assembly is ready for production, delete the production
training sets used to program the panel.
4. Click OK to save the settings and close the Training Options dialog box.
5. In the Assembly Editor, load an image sequence or a set of images if not already loaded.
6. Select Collect > Start.
7. When the system is done collecting training set examples, select Assembly > Training Sets.
8. In the Training Sets dialog box, select the fiducial from the list and click Open.
The Unit Template Editor opens with the Training Sets pane populated with examples.
6. If you have selected any alignment options, a warning message appears to notify that the auto-
seeding process might take considerable time. Click Yes to proceed.
7. In the Details window, drag the green cross-hair to the center of the task icon.
8. Click to add the example to the model.
9. Re-inspect the Training Set examples.
10. If the example icons are locking on correctly, you can add them all at once:
● In the Max Examples text box set the maximum number of examples that the model should
have after the system populates the model from the training set.
● Select whether to overwrite existing examples in the model with new ones from the training
set. Examples are replaced only if the total number of examples in the model exceeds the
maximum.
● Click Populate.
11. After all examples in the Training Set pane pass inspection and lock on correctly, save the
template and exit from the Unit Template Editor.
Note: To inspect all components again (versus just locators), select Inspect > Locators Only again to
i clear the check mark.
3. In the Results Options dialog box, select the Show Locators check box and clear the Show
Tasks check box to change the results display to show only the fiducial inspection results.
4. Click OK to change the display and close the Results Options dialog box.
5. In the Inspection Results pane, click each result in the list in turn to view the details of the
inspections in the Details pane.
6. If the template contains more than one model, click in the Details pane to display the
desired search results.
7. In the Details pane, do one of the following:
Add the current task as an example in the model.
Create a new model associated with the task's template.
Edit the current model.
Edit the current template.
2. Starting in the upper left corner of the task icon, about two pixels diagonally outside the corner of
the icon, click and hold the mouse button, and then draw an active area around the task icon.
The active area should be about 0.2mm larger than the task icon, as shown in the following
figure.
Note: 0.2 mm is approximately equal to 1-1/2 to 2 pixels. To see the pixels more clearly, click
i and clear the Smooth Resampling check box. The following figure shows a model with an active
area drawn around it.
Inactive areas are used to exclude data from a model. This can improve performance by eliminating
changeable and unnecessary data from the model, thus speeding up the inspection process.
1. In the Model Editor, click the Geometry tab and then click the Inactive Ellipse Tool
button.
2. Starting in the upper left corner of the task icon, about two pixels diagonally inside the corner of
the icon, click and hold the mouse button, and then draw an inactive area within the task icon.
The inactive area should be about 0.2mm smaller than the task icon, as shown in the following
figure.
Note: You can reverse recent changes to the model geometry, including size and position of the task
i icon, active areas, and inactive areas, by reverting to the previous build. To do this, click
. Any changes to the model geometry or example alignment made since the last
build will be lost.
3. In the Results Options dialog box, change the display to show only the failed fiducials and sort
the failures in descending probability order.
a. Clear the Show Passes check box and select the Show Failures check box.
Note: You can also change the display of passes and failures using Show Passes and
i Show Failures buttons on the Inspection Results pane toolbar.
b. Clear the Show Tasks check box and select the Show Locators check box.
c. In the Sorting lists, select the Probability option and the Descending option.
4. Click OK.
The system sorts the results and places the best result at the top of the Inspection Results list.
5. Analyze the reason for the failure and double-click the best result (the first result in the list).
The Unit Template Editor opens with the selected fiducial loaded.
6. If the blue task icon is correctly aligned, click to add the example to the model.
If the task icon is not correctly aligned, double-click the task icon to launch the Model Editor. In
the Model Editor, align the icon correctly and save the model.
Notes:
● When importing the CAD data, if you followed the recommended procedure of allowing the
system to automatically set up the library structure and you designated a part as being a
fiducial, the fiducial templates are saved in a separate library, named Fiducial. You can search on
all or part of this library name in the Assembly Editor Find pane.
● The icons in the Assembly Editor Tree View pane denote different objects, as follows:
Icon Description
Task
Model
Root Template
Unit Template
OR Composite Template
Cloned Template
CyberOptics Corporation
Chapter 5: Programming Components
Note: If you are inspecting a part with text larger than an 0603, you would typically select the Text
i check box rather than the Body check box. If you are inspecting solder joints, you would typically
select either the Pins and Text or the Pins and Body check boxes for QFPs.
4. Click OK.
5. Define the component for each layer as described later in this section.
6. In the Assembly Editor, select Assembly > Activate Layers.
7. In the Assembly Layers dialog box, clear a check box to turn off, or deactivate, the associated
layer. Then, click OK.
About Templates
After programming an assembly to locate fiducials and establishing cloning relationships between
templates, you must define unit templates and their associated models for each component to be
inspected. This process involves a combination of creating and editing unit templates, models, and
training sets.
Model: The definition of a feature’s appearance. The model definition includes the shape and size of
the component, the alignment and a series of examples that define the legitimate variations of the
feature or component.
Unit Template: Defines which model to use and where to look for it. The unit template also defines
tolerances for the feature position and appearance.
Composite Templates: Containers for other composite or unit tasks. For example, a composite
template on a resistor could contain a unit template for the body inspection and a unit template for
the text inspection; with each inspection done independently. Composite templates themselves are
not physically inspected; their inspection results depend on the inspection results of the unit tasks
within them.
Training Sets: A set of tasks (shown as image patches with task icons) collected during inspections
that you can separately inspect, analyze, edit, and optionally add as examples in a model. Each
training set is associated with a composite or unit template.
This chapter assumes that you have created a root task and populated it using CAD data. If this is
not the case, see Defining Composite Templates on page 217 for information about creating an
assembly manually.
Use one of the following methods to open a unit template from the Composite Template Editor:
● Right-click the template name or on the task itself and then select Launch Template Editor.
● In the Main View pane, select and then double-click a unit task.
● After an inspection, select a task, and then click in the Details pane.
Use one of the following methods to open a shared unit template in the system repository:
● On the Launch Pad, click Open Template. In the Template Selector dialog box, select the
collection from which you want to load the template. Then, select the desired library and
template in that collection and click Open.
● On the Launch Pad, click System Manager. Select the collection from which you want to load
the template, and then double-click a template in the Templates list.
Notes
● If you opened a template from the system repository, when you save the template, the changes are
applied to the system repository, enabling you to share the changes among multiple assemblies.
● If you opened a template from within an assembly, when you save the template, changes are
applied only to the current assembly. To apply local changes to the system repository, you must
separately commit the data. This enables you to test any changes within the current assembly
before committing them to the system repository.
● CyberOptics recommends that you use the standard libraries (Fiducial, Body, Text, PinLayout,
Pins, and Component) rather than creating new libraries. However, if you are using custom
naming schemes, you can still create new libraries.
● After you save a copy of the original template, the Unit Template Editor contains the new
template. Any subsequent changes to the new template do not affect the original.
Deleting Templates
Caution: Templates deleted from the system repository cannot be retrieved. This action cannot be
undone.
Notes
● To quickly view unused items in the System Manager, select View > Show Unused. To again
show all items in the system repository, select File > Reset.
● You cannot directly delete templates from an assembly. However, if no tasks within an assembly
use a template, that template is automatically removed from the assembly when the assembly is
next saved.
Notes
● You are prevented from opening images from the Unit Template Editor for local templates
because loading the image in the Assembly Editor automatically stitches the image and inspects
board locators; this prevents you from working with an unstitched or unaligned image.
● You can specify the default folder for your image files by selecting System Properties from the
Launch Pad and entering the folder in the Images text box on the File Storage tab.
CyberOptics supplies a set of templates for common parts that can be used for cloning, or you can
clone templates to your own existing parts.
1. In the Assembly Editor, select Image> Load Sequence> Selected Images.
2. Select all images captured for the panel.
3. In the lower left Search window, select Templates in the Find box and click .
4. Right-click the top master of a part in the Library list and select Clones of Master from the
menu. (For example, click the top master of capacitor 0805C.)
5. Make sure that Body is selected as the Library type.
6. Navigate to the library equivalent of the part, such as C0805.
The part (in this case, 0805C) is cloned to the CyberOptics master set up in the definition library.
All parts linked to this master will be updated to the library definition.
7. Go through the list of templates and clone as many as possible to a master template from the
library.
8. Click .
9. In the lower left Search window, list the undefined unit templates.
a. Click .
b. Select Templates from the Find box and click .
The system displays the list of undefined templates in the assembly.
10. Double-click the first unit template in the list to open it in the Unit Template Editor.
11. When you are satisfied with the template definition, select File > Flag as defined, load next (F11)
to open the next undefined template.
12. After all the unit templates in the assembly have been defined, click to save and exit the
unit template editor.
When you import CAD data to populate your assembly, component templates are created
automatically, but are initially undefined. Begin by stepping through each template (which typically
corresponds to each component type) and defining it.
1. In the Assembly Editor, select Image > Load Image and select the first image in the image
sequence.
2. In the Find pane, list the undefined unit templates.
a. Click .
b. Select Templates from the Find list and click .
The system displays the list of undefined templates in the assembly.
3. Double-click the first unit template in the list to open it in the Unit Template Editor.
4. If necessary, edit the template:
a. Adjust the task, search area, and tolerances (see Adjusting Search Areas and Tolerances on
page 157).
b. If you make changes, click to build the model for the template.
c. To add examples to the model, select Training Set > Load Production Set.
d. Train the template’s model using the production training set (see page 198).
5. When you are satisfied with the template definition, select File > Flag as defined, load next (F11)
to open the next undefined template.
6. After all the unit templates in the assembly have been defined, click to save and exit the
unit template editor.
In most cases, unit templates are created automatically by importing CAD data. However, in certain
situations, such as those described below, you may need to create new unit templates by creating a
new unit task within an assembly:
● To inspect pins for a QFP, DIP, or grid array.
● To program an assembly without CAD data (CyberOptics discourages this because when
placing tasks without the benefit of CAD data, you must use an image of a golden board).
● To incorporate design changes into an existing assembly.
1. In the Assembly Editor, load the image for the golden board.
2. Locate and right-click the root task (or another composite task, as appropriate) and then select
Launch Template Editor.
3. In the Composite Template Editor select the Insert menu and choose the task to add. Refer to the
following sections for details about creating specific tasks.
● Adding Tasks for Component Bodies on page 223.
● Adding Pin Tasks for Dual In-Line Packages on page 224
● Adding Tasks for Quad Flat-Pack Pins on page 226
● Adding Single Tasks on page 228
● Adding Tasks for Text on page 229
4. In the Composite Template Editor, position the newly inserted task icon as necessary. To rotate or
resize the task icon, double-click the icon to open the Unit Template Editor.
5. Click to save and exit the Composite Template Editor.
Notes
● When you assign a part type template for a QFP, DIP, or grid array to the pins layer, a composite
template is automatically created in the PinLayout library. When adding unit tasks for the QFP,
DIP, or grid array pins, this composite template is the one in which you will create the unit tasks.
● You can also create a new unit template by opening an existing unit template in the Unit
Template Editor and then selecting File > Save As. This saves a copy of the template, which you
can modify. Note, however, that if there are no tasks in the assembly associated with the new
template, the template will be discarded from the local assembly the next time the assembly is
saved.
A tolerance area defines the allowable area in which the feature can be placed. If the feature is found
outside the defined tolerance box, it will fail inspection. Tolerances on components are typically
defined such that if the component is found in excess of 25% off-pad, it fails with an out-of-position
error. Refer to industry standards for the part being inspected to help you determine tolerance
values.
The search area defines the image area within which to search for the feature. Search areas should
be sized to compensate for variability in component placement during production.
You can resize the tolerance box and the search area simultaneously within the Unit Template Editor
using these tools:
Draw the tolerance box and Click the border of the tolerance box (the brown box) and
have the search area sized drag to the desired size. To resize all four sides
at 110% simultaneously, drag a corner of the box. To resize one edge,
drag the center of that edge.
The system draws the tolerance box to the specified size and
proportionately sizes the search area to be 110% of the
tolerance box size.
Draw the tolerance box and Click in the Main View image and drag to draw the tolerance
have the search area sized box (the brown box) around the text.
proportionately (for text) The system draws the tolerance box at the specified size and
offset, and proportionately sizes and positions the search
area.
Draw the search area and Click the border of the search area (the pink box) and drag to
have the tolerance box the desired size. To resize all four sides simultaneously, drag
sized at 90% a corner of the box. To resize one edge, drag the center of
that edge.
This resizes the search area to the specified size, and
proportionately sizes the tolerance box to be 90% of the
search area size.
Probability Threshold
Enter a value that determines how well the feature being inspected must correspond to the
model to be considered a match. The probability value for a perfect match is 1. The probability
threshold must allow for genuine variations in component appearance while still remaining
discriminating. Typical probability thresholds include:
● Fiducials 1.0e-020
● Components 1.0e-012
● Text 1.0e-030
Angle +/-
Enter the number of degrees by which the part can rotate from nominal and still pass
inspection. For example, entering a value of 5 means a feature will pass its inspection if it is
found within 5° of the nominal angle (defined by the Task Angle specified in the Task
Properties dialog box). The Tolerance Angle +/- value should be 3 to 4 degrees less than the
Search Area Angle +/- value.
X and Y
Enter the X and Y coordinates for the center of the tolerance area. To center the tolerance area
around its nominal position, enter 0 in both the X and Y Tolerance fields
4. In the Search Area section, set the following values.
Angle +/-
Enter the number of degrees by which the part can vary from nominal and still pass inspection.
For example, a value of 5.00 would cause the system to search for the feature within 5° of
nominal. This value enables an inspection to successfully find components when they are
rotationally skewed on the pad. If Angle +/- is set to 0, components could experience false
failures because the model cannot rotate enough to find the component accurately. However,
searching for components at ± n° can increase inspection time.
For most features, a typical value is between 5.00 and 15.00. Because fiducials are accurately
placed on the board, a typical value for fiducials is 2.00 or 3.00. For circular fiducials, the angular
search can be set to 0.00.
X and Y
Enter the X and Y coordinates for the center of the search area. To center the tolerance area
around its nominal position, enter 0 in both the X and Y Tolerance fields.
5. Click OK to save the properties and close the Unit Template Properties dialog box.
Search levels influence the speed and reliability of inspections. The higher the minimum and
maximum levels are set, the less detail used when searching for a match with the model examples
during inspections.
● Therefore, higher-numbered search levels result in faster searches, but lower reliability of the
model, with a possibility of higher false call rates.
● The lower the minimum and maximum search levels, the slower the search, but the inspection
results are more reliable.
Notes:
i ● If the value entered in the Maximum Search Level field exceeds the number of levels in the
model, the search begins at the highest possible level.
● The value entered in the Minimum Search Level field must be greater than the Minimum
Search Level set for the model (see Setting Search Levels for Models on page 213).
Notes
● Changes to the alignment are not saved with the template. To fix the actual alignment, adjust the
fiducial definitions in the parent template.
● When you align a task as described above, the coordinates for the task do not change because it
is the image underneath the task that actually moves, not the task. However, moving a task
within its parent template editor (within the root task, for example) does alter its locations as
defined by its CAD coordinates, and should be avoided.
Note: You can reposition the unit template definition only if no models are associated with the unit
i template; otherwise, the position and extent of the template are automatically defined by the model.
If no model has been built for the template, then you can resize the task icon numerically, visually
by dragging the boundaries of the icon, or visually by redrawing the icon. If you visually resize or
redraw the task icon, the tolerance box and search areas are automatically resized proportionately.
Notes
● If the task icon is not clearly visible in the Unit Template Editor, select View > Task Appearance.
In the Task Appearance dialog box, clear any Unit Task Options as needed except Task Icon and
then click Apply.
● If you associate multiple models with a unit template, the task icon adopts the extent of the first
model in the Good Models list that appears on the Models tab of the Unit Template Properties
dialog box.
Notes
● In the Assembly Editor, if is not selected, the search finds both defined and undefined
templates.
● In the System Manager, to again show all items in the system repository, select File > Reset.
Cloning Templates
To decrease the time it takes to program assemblies, you can clone templates (both unit and
composite). Cloning enables you to group a series of templates that share the same properties. For
example, if a series of templates all define various 0805 resistor type components, all the templates
can be cloned so that one master template defines many other templates. The master template and
all of its clones are identical; when you make changes to a clone or its master, all the templates
within the cloning relationship are affected by the changes.
When you populate an assembly by importing CAD data that includes part type and part number
information, cloning relationships can be created automatically. However, when part type
information is not included in the CAD file or when you need to change the cloning relationships,
you can manually clone the templates in the System Manager.
Uncloning Templates
Cloned templates are represented in Assembly Editor and Composite Template Editor in the Tree
View by the symbol. In the System Manager, cloned templates are indented under the master
template. To see the list of all clones for a master template, select the master template and then select
View > Expand Master.
You can break the link between a cloned template and its master by uncloning it.
When you create the model, you define the geometry for the component being modeled and then
show the system a series of good examples of this component. After the model is fully seeded, the
QX Series software successively refines its estimate of what the component should look like and how
it can legitimately vary. During inspections, the QX Series System determines which image
variations are acceptable and fails unacceptable variations.
Note: If the models of the components loaded from the library are already well-defined and match
i the assembly, you can skip “Define the component” step and use the existing models.
HOW TO
PROGRAM AN
ASSEMBLY ON A
NEW SYSTEM
Set up the
hardware
Create a new
assembly
Capture the
image data
Import the
Define the CAD data Define the
template model
properties, geometry
such as
search and
tolerance HOW TO Define the HOW TO
areas DEFINE A fiducials DEFINE A Seed the model
COMPONENT COMPONENT (min. five
TEMPLATE MODEL examples)
Save the
template
Save the
Define a Define the Define a
model
component components component
template model
More complex models, such as text inspections or joint inspections require Composite templates. For
information about creating these types of models, see Adding Tasks Manually on page 222.
4. Select the first template (non-fiducial) from the list and click Open.
5. In the Unit Template editor click .
The Model Editor opens with the current board image displayed and the default task icon placed
over the component at the correct orientation.
6. Select the Geometry tab if it is not already showing.
7. Refer to the following topics to edit the model geometry:
● Center and size the task icon as described in Positioning Model Task Icons on page 175.
The name of a component type can help you to determine the size of the component.
Component sizes are defined by a four-digit code representing the length and width. This
code is usually expressed in inches. For example, a 1206 capacitor is 0.12 inches long and 0.06
inches wide. (Component thickness is not included in the size code.) Table 4 lists some
common component types with their approximate sizes.
● Adjust the active area as described in Defining Active Areas for Component Models on page
176 and Sizing Active Areas on page 180.
When you create or size a task icon, the active area is automatically created proportionally to
the task size as set in the System Properties> Miscellaneous tab. By default, this value is 0.1
mm larger than the task.
8. To apply the changes, click . The changes are applied to all the examples in the
model.
9. When the model is defined, populate the model as described in Working With Examples on page
184.
0402 1005 1.0 0.5 1.2 0.7 1.5 1.0 1.7 1.2
0603 1608 1.6 0.8 1.8 1.0 2.2 1.6 2.4 1.8
0805 20125 2.0 1.25 2.2 1.45 2.6 2.5 2.8 2.7
1206 3216 3.2 1.6 3.4 1.8 3.8 3.2 4.0 3.4
1210 3225 3.2 2.5 3.4 2.7 3.8 5.0 4.0 5.2
1812 4832 4.8 3.2 5.0 3.4 5.5 6.8 5.7 7.0
Notes:
● Table 4 refers to settings for pre-reflow inspections.
● Task Sizes and Active Areas are set at Model level. The Active Area defaults to a pre-set size
based on the task size. The default value can be changed in the System
Properties>Miscellaneous tab.
● Tolerance and Search Areas are set at the Unit Template properties.
Use one of the following methods to open a model, depending on where you are working within the
application:
● In a list in the Assembly Editor or Composite Template Editor, right-click the desired model name
and select Launch Model Editor.
● Select a task in the Panel Layout, Inspection Results, or Details pane and then click .
● In the Model Editor, select File > Open Model. In the Model Selector dialog box, select the
desired library and model and then click Open.
● In the Unit Template Editor, select the template properties and select the Model tab. Double-click
the model in the good model list.
Use one of the following methods to open a shared model in the system repository:
● On the Launch Pad, click Open Model. In the Model Selector dialog box, select the collection
from which you want to load the model. Then, select the desired library and model and click
Open.
● In the System Manager, double-click a model in the Models list.
Saving Models
Saving a model saves the model geometry (task icon, active areas, and inactive areas) and the
model's examples. You can also create a copy of an existing model using the Save As command
➢ To save a model
● Click to save the model and keep the Model Editor open.
● Click to save the model and close the Model Editor.
Notes
● When you first create a model in the Model Editor, you must click Build before you can save the
model or save a copy of the model.
● If you opened a model from the system repository, changes are applied to the system repository.
Any assembly that uses this model is updated when you open the assembly in the Inspection
Station.
● If you opened a model from an assembly, changes are applied only to the current assembly. To
apply local changes to the system repository, you must separately commit the data. This enables
you to test any changes within the current assembly before committing them to the system
repository.
● After you save a copy of the original model, the Model Editor shows the new model. Any
subsequent changes to the new model do not affect the original.
Deleting Models
Models can be deleted directly from a local assembly or from the system repository. However, if no
templates within an assembly use a model, that model is automatically removed from the assembly
when the assembly is next saved.
Caution: Deleting models from the system repository permanently removes the models from the
system. The action cannot be undone.
To quickly view unused items in the System Manager, select View > Show Unused. To again show
all items in the system repository, select File > Reset.
When you edit the model geometry, all the examples in the model are affected by the change, so
make sure that any changes you make are correct for all possible variations of the component and
thus the model.
Note: Click to reverse recent changes to the model geometry. Any changes to the
i model geometry or example alignment made after the last build will be removed.
As part of defining a model's geometry, you can move, rotate, or resize the task icon. Changing the
model geometry changes the alignment of the task icon in all of the model's examples.
Center Mark
To redraw the task icon, in the Main View pane, click and then drag a box around the
component. Using the Task Icon tool deletes any search areas defined for the model.
Notes
● Click to reverse recent changes to the model geometry. Any changes to the
model geometry or example alignment made after the last build will be removed.
● In addition to positioning the task icon for the entire model, you can adjust the alignment of the
task icon for individual examples.
If a task does not have an active area associated with it, the active areas is defined as the extent of
the model task icon.
➢ To define SOTs
1. Double-click the component task to open the Unit Template Editor.
2. Click and draw a new task icon around the body of the component.
3. Click to open the Model Editor.
4. Click and draw a box around the pin/body joint at the top of the 2-pin side.
5. Right-click and select Reflect in Y to create a second pin active area.
6. Select the active area, right-click and select Reflect in X to create a third pin active area.
Reposition the lone pin active area at the pin/body joint.
Active
Area
SOT
Active
Area
7. Click .
8. Click to save and exit the Model Editor.
➢ To define D-Packs
1. Double-click the component task to open the Unit Template Editor.
2. Click and draw a new task icon around the body of the component.
3. Click to open the Model Editor.
4. Click and draw active areas around each side of the component body at the pin/body joint.
Active
Area
D-Pack
Active
Area
5. Click .
6. Click to save and exit the Model Editor.
Inactive
Areas
Active
Areas
5. Click .
6. Click to save and exit the Model Editor.
Alternate Method
Active
Areas
Active area grids are useful when defining models for text. For good text discrimination, you
should typically divide a long text string into several shorter pieces of text using multiple active
areas.
1. With the model open in the Model Editor, click the Geometry tab. (If the Geometry tab is not
enabled, click Build to build the model or click Last Build to revert to the last build of the
model.)
2. Click the Active Area Grid Cell Tool button.
3. In the Main View image, click and drag to draw one cell of the active area grid.
4. Click the Active Area Grid Tool button.
5. In the Main View image, click and drag to outline the size of the entire active area grid. Multiple
active areas, scaled to be equally sized, are created to fill the grid area. Note that the border
between two active areas may divide a single character, so that each active area includes just part
of the character; this is acceptable.
6. Click Build to apply your changes.
For symmetrical features such as circular fiducials, active areas should be centered on the feature
and sized symmetrically by setting the numeric X and Y values as described below.
i Note: Do not create an active area that is fully enclosed inside an inactive area.
Note: You can also save model geometries from the Assembly Editor or Composite Template Editor.
i In the Tree View or Find panes, right-click a model and select Save Geometry.
The system automatically prevents you from inadvertently adding existing examples to a model.
Viewing Examples
You can change the way examples are displayed in the Model Editor by increasing the number of
examples visible at a time (increasing the number of columns) or by sorting the examples.
➢ To sort examples
1. In the Model Editor Examples pane, select the option from the Sort By list: Unsorted, Probability,
Image Brightness, Tester Similarity or creation time.
2. If you selected an option other than Unsorted, do one of the following:
● Click to sort the list from top to bottom (that is, from lowest value to highest).
● Click to sort the list from bottom to top (that is, from highest value to lowest).
Note: Choosing Unsorted in the Sort By list presents examples in the order in which the examples
i were added to the model.
Notes
● If you set the maximum number of examples to fewer than the current number of examples in
the model, existing examples will be discarded to keep the number of examples at or below the
limit.
● After the maximum number of examples has been reached, either new examples will not be
added, or existing examples will be overwritten with new examples to keep the total from
exceeding the maximum. Whether existing examples are overwritten depends on the method
you use to add the models and how you have configured the QX Series System.
Follow the procedure as described in To automatically seed a fiducial model on page 132.
After seeding, you can quickly train all Unit Templates that contain the model.
Note: The General Training process uses the Good Examples Ratio set in the System Properties. If
i you changed the ratio during the auto-seeding process and wish to use the new setting, open the
System Properties> Miscellaneous tab and change the default Good Examples Ratio setting.
1. In the Assembly editor, set the master unit templates that will be trained to undefined. To do
this:
a. In the Assembly Editor Find pane, select Template from the Find list.
b. Click .
The system displays all the relevant templates in the list.
c. In the list of templates, select the template to change.
d. Press F11 to change the template from defined to undefined. The state of the template
(defined or undefined) is shown in the Unit Template properties.
2. In the Assembly editor, select Assembly> General Training. Each Unit Template will be updated
with the new model and then set to Defined.
Notes
● Although only one feature can be found within any one search area, you can draw multiple
search boxes so that you can build multiple examples into the model simultaneously.
● When you add an example from the Tester pane, the task icon turns blue to indicate that it
represents an example in the model rather than the result of a search. You will no longer be able
to reposition or manipulate the task icon in the Tester pane, but the task icon remains as a
reminder that the example exists.
● You can sort examples of a model by time. Thereby making it easier to search for wrong
examples.
Notes
If the Enable model validation check box is selected in System Properties > Miscellaneous tab:
● whenever a new example is added from Composite Template Editor/Unit Template Editor, the
model is rebuilt. The updated model is then used to inspect a validation training set. If any
example(s) in the validation training set passes, it indicates that some bad examples have been
added to the model and a warning message appears to inform that the validation has failed. You
can either choose to keep the updated model or revert back to the original model.
● when you click in the Assembly Editor to add the currently selected task as an example to
the model, a warning message appears to notify that model validation is enabled.
– Clicking Yes adds the task as an example to the model without any validation.
– Clicking No closes the message box and allows you to open the Composite or Unit Template
Editor to add the example to the model after validation.
5. Click OK.
The system displays a list of the names of the failed tasks and the reasons for their failures in the
Inspection Results pane, with the best result placed at the top of the pane.
6. Click the first result in the Inspection Results pane (the best result) and analyze the reason for
its failure in the Details pane.
7. If the result is a false failure, click to add the example to the model.
8. The system adds the example to the model and displays a confirmation message in the status bar.
If the system cannot add the example to the model, a message box appears.
When using the CyberOptics template library to program models on the QX Series System, delete
the examples from the model and add models from your specific assembly.
Note: To quickly delete all examples with a certain probability level, sort the examples in the Model
i Editor Examples pane by choosing Probability from the Sort By list. When you select an example, its
probability value appears in the Examples pane status bar. Use this information to select and delete
all examples with a certain probability level.
Subsampling permanently removes a random subset of the examples from the current model.
Subsample overtrained models to improve discrimination, free up disk space, or reduce inspection
time.
1. In the Model Editor, select Model > Subsample.
2. In the Subsample the Model Examples dialog box, enter the number by which to reduce the
examples in the Sub-Sampling Factor box. For example, to use one of every five examples, enter 5.
3. Click OK.
Aligning Examples
After the model is seeded or fully populated, you can view and update the model examples. If the
task icon is not correctly aligned with a particular model example, you can move or rotate the
individual example so that it correctly aligns with the model geometry. Aligning particular
examples does not change the model geometry or affect other examples; only the alignment of the
selected example is changed.
After you manually align model examples and achieve a relatively good fit, you can further refine
the example alignment by auto-aligning them. See Automatically Aligning Examples on page 193
for more information.
➢ To align an example
1. With the model open in the Model Editor, select the Alignment tab.
2. In the Examples pane, select the example to change.
The selected model is displayed on the Alignment tab.
3. On the Alignment tab, click .
4. Do any of the following:
● To align the model geometry with the example, click an edge or the center mark of the task
icon and drag it into position.
● To rotate the model geometry over the example, click a corner of the task icon and drag it into
position.
5. Click Build to rebuild the model with the updated example.
When a model is auto-aligned, an existing model geometry is refitted to each example within the
model. The auto-align process is iterative; the software lays the model geometry over each example,
moves and rotates it to find the best fit, and recalculates the model position. Once all examples have
been processed, the model is rebuilt. The entire process is then repeated until the mean movement
for an iteration is within the value set. You may review the auto-alignment results for each example
and accept or reject the changes.
➢ To align examples
1. Open a model in the Model Editor.
2. In the Model Editor, click Auto-Align.
3. In the Auto-Align Model dialog box, specify the search options as described beginning with
Alignment Parameters on page 194. These parameters apply only to auto-alignment searches
and not to inspection criteria.
4. Click Auto-Align.
After the system completes one iteration of the refinement, the system averages the X and Y
values for each example and returns a mean movement value (in microns) to show how far the
model was moved to refit each example. It is this value that corresponds with the minimum
movement value. If the refinement process does not reach the minimum movement value, it stops
when it reaches the maximum iterations value instead.
Alignment Parameters
● Round body: Select Yes if the component and geometry (such as for a fiducial) are round. Select
No for model geometry that is not round.
● Reflection along X
Reflection along Y:
Use the reflection options to correct for rotational mismatches between the model geometry
and/or active area and the image patch. When selected (set to Yes) the system searches an
extended model area that includes the reflected area.
X axis is defined as the horizontal direction and the Y axis is considered to be in the vertical
direction.
Reflection options are only available when Round Body is set to No.
● Rotational Symmetry: When a component is reflected in both X and Y axis, the result is a
rotation of 180° . When selected (set to Yes) the system also searches for the part rotated 180° .
You can apply rotational symmetry only to symmetrical features such as squares, circles, and
rectangles.
● Search angle range: Enter a value between 0° and 45° to specify the search angle range to
use for the inspection. This option is only available when Reflection along X or Reflection along
Y is set to Yes.
● Min rotation angle (degree): Enter a value between 0° and 5° to specify the threshold at
which auto-alignment stops. When the average rotation angle and average movement of the
model geometry falls below this value, the auto-alignment stops.
● Minimum Movement (µm): Enter the minimum movement between one iteration of the
refinement process and the next. The smaller the number you enter, the more accurate the
refinement process.
When the mean movement becomes less than or equal to this value, the refinement process
stops.
● Max Iterations: Enter the maximum number of iterations that the refinement process should
complete before stopping (10 is typical).
This value is used in conjunction with the value in the Minimum Movement μm value to limit
the number of times that the refinement process is applied to the examples. If the minimum
movement value is reached before the maximum iterations value is, the refinement process stops.
Discrimination
● Discrimination: Select the level of discrimination with which to build the model: Low, Medium,
High, or Custom. If you select the Custom option, additional discrimination options become
available.
The higher the level of discrimination applied to the model, the more successfully the model will
discriminate between good and bad components. By default, the discrimination is set to Low,
since this results in the fastest inspection and also typically results in better accuracy and
repeatability on pre-reflow boards.
Choose higher levels when setting up models for solder joint inspections, or for models used in
post-reflow inspections.
● Residuals: Select the type of residuals with which to build the model: Scalar or Vector. Vector
residuals can be used to improve discrimination. (Available only with Custom discrimination
option.)
● Weighted: Select whether to use weighted vector residuals (Yes or No). Weighted vector
residuals greatly improve discrimination, but inspection time is slower with this option.
(Available only with Custom discrimination option and Vector residuals.)
● Wavelet transform: Select whether to use wavelet transformations (Yes or No). Wavelet
transformations can be applied to the residuals, the edge data, or both. (Available only with
Custom discrimination option.)
● Optimisation: This text box is available only if you select the Custom discrimination option.
Select whether to optimize the model for Accuracy or Discrimination.
Select Accuracy (the default option) to increase the ability of the system to find the feature
when searching for the model. This option tends to smudge the edge data in the model.
Select Discrimination to sharpen the edge data in the model. This option is sometimes used for
smaller components to prevent the edges from smudging into each other.
● Fine Tuning: Select how to fine tune the model search: Best accuracy, Better accuracy, Good
accuracy and discrimination, Better discrimination, or Best discrimination. The default is Best
discrimination.
These options enable you to set the optimal ratio of accuracy to discrimination when searching
for the model. The Fine-Tuning property is useful, for example, when you choose a
Discrimination value of High to achieve good overall discrimination, but the system becomes
too discriminating by falsely rejecting some good examples. In this case, set the Fine-Tuning
property to be more accurate. Note, however, that fine-tuning the model can increase inspection
time.
Model Type
● Model Type: Select Grey to build the model as a gray type, which displays all the data
contained in the model.
Select Gradient to build the model as a gradient type, which pre-processes the data for the
model in order to highlight the edge data.
● Colour: Select Yes to build the model as a color type. Because color models have a red, a green,
and a blue value for each pixel, color models contain three times as much data as gray models.
Therefore, assemblies containing color models take up more data storage space and take longer to
inspect than those with gray models. Select No to build the model as a gray type. Gray models
have a single gray value for each pixel.
● Compressed: This option is available only if you select Yes for the Colour option.
– Select Yes to compress the color model
– Select No to build the model as an uncompressed color type.
CyberOptics recommends that you compress color models to save data storage space and
improve inspection time. Compressed color models can be inspected in approximately the same
amount of time as gray models and use comparable amounts of storage space. Moreover, the
difference between the discriminative capabilities of compressed color models and
uncompressed color models is minimal. Models built as gray types cannot be compressed.
● Enhancement: Enter a value from 1 to 5 to increase hue saturation in the model, which makes
the image color more vivid. A value of 1 represents no enhancement, and a value of 5 is
maximum enhancement.
Active Areas
● Probability per Active Area: Select Yes to have the system report the result of the inspection
based on the probability of the worst failed active area. You can control the display of failed active
areas individually in the Task Appearance dialog box or globally on the Miscellaneous tab of
the System Properties dialog box.
Contrast Correction
● Enabled: Select whether to normalize the data in the model and correct for contrast.
Normalizing active areas separately results in better contrast in the diagnostics for individual
active areas and typically results in better discrimination.
Select Yes to help standardize the information contained in the model examples. By default, the
active areas are all normalized together. If you use multiple active areas to define the model
geometry, you can select additional normalization options.
● Correct Areas Separately: Select whether to correct each active area separately. If you set this
option to Yes, a probability fit value is returned for each active area rather than for the model as
a whole; for the model, the inspection uses the worst probability (the lowest) from the separate
active areas.
This option is available only if you select No in the Probability per Active Area field and select
Yes in the Enabled field.
Training sets can be used in different ways to populate a model. The initial training set consists of
all instances of a template as they appear in the currently loaded image of the board; you can use
this to initially seed a model. Or you can create a production training set to ‘ learn’ the natural
variation of a component's appearance by seeing the component variation in large volume. Although
primarily used to test templates and models, you can also use good and bad training sets to
populate a model. For example, you could use a bad training set to add examples to a blank pad
model.
Production training sets contain tasks that have failed inspection in the production line (Inspection
Station or Rework Station); they may contain all failed tasks, or only those failed tasks with which
the operator disagreed (false failures).
1. Open an assembly in the Assembly Editor.
2. Select Assembly > Training Options.
3. In the Training Options dialog box, in the Actions field, select Add to Production Training
Set.
4. In the Training Option field, select Collect All Failures. This option creates a training set for all
failed tasks in the Assembly Editor, Inspection Station, or Rework Station. Saving all failed tasks
does not differentiate between false calls and genuine faults as reviewed by operators and
reworkers.
5. Click OK.
6. In the Assembly Editor, select the Train Assembly check box, then load and inspect an image.
7. Open the production training set to view the results.
You can add all or select examples from a training set to build your model.
1. Open the training set in the Unit Template Editor.
2. On the Unit Template Editor toolbar, specify whether to collect passes, failures, or both when
adding examples to the model.
3. On the toolbar, specify the maximum number of examples that the model should have after the
system populates the model from the training set.
4. On the toolbar, select the Replace Originals check box to replace existing examples in the model
with new ones from the training set. Examples are only replaced if the total number of examples
in the model exceeds the maximum.
5. Click Auto-Seed.
The Auto-seeding settings dialog box opens.
6. In the Auto-seeding settings dialog box, set the parameters as described in To automatically
seed a fiducial model on page 132.
7. Click OK to begin the auto-seed process. When complete, the message “Model population
successful” is displayed.
8. Click .
9. If you are working with data in the system repository, commit the changes to the system
repository.
10. If you are adding examples from other than the initial training set, delete the training set after
adding examples to the model.
Advanced Editing
The QX Series software provides many levels of programming and adjusting assemblies. This
section describes advanced editing techniques you can use to further define and maintain
assemblies.
➢ To load properties
1. With a unit template open in the Unit Template Editor, select File > Load From.
2. In the Master Selector dialog box, specify the library and the template from which to load the
properties.
3. Set the Copy Model From Template check box as follows:
● Select the check box to copy model geometry and examples in addition to the template
properties. The Good Models list for the target template will be updated to point to a single
model that has same name as the target template and that has the geometry, examples, and
properties of the first model in the source template. The Bad Models list will be cleared.
● Clear the check box to copy only template properties, leaving the target template's Good
Models and Bad Models lists (and any models pointed to) unchanged.
4. Click Open.
Note: If the models do not contain sufficient discrimination, CyberOptics recommends that you
i instruct the system to pick the best result after checking all the models instead.
➢ To enable OR logic
1. In the Unit Template Editor, click the Properties button.
2. In the Unit Template Properties dialog box, click the Inspection tab.
3. In the Good Models list, select Stop when first model found.
4. Leave the Bad Models list at its default setting of Stop when first model found.
5. To save the settings and close the Unit Template Properties dialog box, click OK.
6. In the Unit Template Editor, save the template.
4. Leave the Bad Models list at its default setting of Stop when first model found.
5. Click OK to save the settings and close the Unit Template Properties dialog box.
6. In the Unit Template Editor, save the template.
Switching Templates
All tasks within an assembly must be associated with a template; each task is actually an instance
of the associated template. When you populate an assembly by importing CAD data, templates are
automatically created and associated with each task. If you populate an assembly manually, for each
task you add you must specify a template that defines the task. After you have populated an
assembly, you can substitute one template for another, associating the new template with all tasks
that were previously associated with the original template. You can also change the template
association for a single, specific task.
2. In the Unit Template Properties dialog box, click the Models tab.
3. In the Good Models or Bad Models list, select the model to remove from the template.
4. Click Remove.
5. Click OK.
➢ To disable a model
1. In the Unit Template Editor, click the Properties button.
2. In the Unit Template Properties dialog box, select the Models tab.
3. To disable a particular model in the Good Models or Bad Models list, clear the check box for that
model.
4. Click OK.
2. In the Unit Template Properties dialog box, select the Models tab.
3. To enable a particular model in the Good Models or Bad Models list, select the check box for that
model.
4. Click OK.
Models can be built to contain several resolution levels; when inspections search for a component
using the model examples, they check the range of resolution levels specified in the unit template
properties, starting with the lowest specified resolution (if the search finds the component at a lower
resolution, it speeds inspection time).
The minimum search level at which to build the model depends on the size and quality of the
diagnostic data for each component.
1. Right-click a model name.
2. Select View Diagnostics.
3. In the Model Diagnostics dialog box, review the data for each resolution level, and then assign a
search level based on the quality of the data.
Caution: To avoid illegal search level errors, the minimum search level for the model must be less
than or equal to the minimum search level in the Unit Template properties.
Exporting Examples
You can export selected examples from a model to add them to an existing model or to create an
entirely new model. When you export examples to create a new model, both the selected examples
and the model geometry are exported. When you export examples into an existing model, only the
selected examples are exported.
Exporting examples is useful if the majority of a model was populated using the Update Model
feature or by adding examples from a training set. In these situations, you may find that the
resulting set of examples includes more than one distinct population. To correct for this, you can do
either of the following:
● Define separate templates, with different models, for the different populations. If the variation in
the examples corresponds to different part numbers that are associated with a part type
template, unclone the part number templates for the examples that look different. Then create a
new model for the new part number template, and export the examples for the separate part
number from the original populated model to the new model.
● Define multiple models for a single template. Do this when the variation in examples does not
correspond to different part numbers. For example, if the different example appearances
represent a component that is black on one side and white on the other, and both are permitted,
you would add multiple models to the template. In this situation, select the white examples,
export them into a new model, and then (while the examples are still selected) delete the
examples from the original model. The Good Models list for the template that launched the
Model Editor is automatically updated to include the new model.
➢ To export examples
1. Open the model from which to export the examples.
2. If changes were made to the model since the last time it was built, click Build.
3. In the Model Editor Examples pane, select the examples to export.
4. Select File > Export Examples.
5. In the Model Selector dialog box, select or create a library, and select or create the model that
will contain the exported examples.
6. Click Open.
● Exporting examples does not remove the examples from the original model. To remove exported
examples from the model, you must delete them separately.
● If the Alignment tab is selected when you select an example in the Examples pane, the
example's probability value appears in the status bar. The probability value indicates the degree
to which the selected example image patch conforms to the model, with 1 indicating a perfect
match. To quickly select all examples above a certain probability level, sort the examples by
choosing Probability from the Sort By list. Then press and hold the SHIFT key as you select the
first and last examples that meet your requirements.
Importing Examples
You can add all the examples from an existing model to the examples in the currently open model
by importing them.
➢ To import examples
1. Open the model into which the examples will be imported.
2. In the Model Editor, select File > Import Examples.
3. In the Model Selector dialog box, select the library and model that contains the examples to
import.
4. Click Open.
The selected model's examples are imported into the current model.
5. In the Model Editor Examples pane, view the examples to ensure that correct data was imported
into the model.
In manual selection, you choose which camera to use to create the image patch.
1. In the Assembly Editor, right-click a task and select Edit Task Properties.
2. In the Task Properties dialog box, set the Camera Selection field to choose the camera image:
● Undefined – Use both images, or allow the system to select the camera.
● Left Camera –Use the image captured by the camera on the left (when facing the front of the
machine).
● Right Camera – Use the image captured by the camera on the right (when facing the front of
the machine).
3. Click OK.
In automatic selection, the software selects the camera to use based on which camera image
contains the task’s bounding box and also where the task bounding box center is closest to the
component’s bounding box center.
● In the Assembly Editor, select Image > Camera Selections and choose one of these two options:
– Calculate All – to select the best camera image to use for all overlapped tasks in the
assembly.
– Calculate Undefined – to select the camera image for those overlapped tasks with Camera
Selection field set to Undefined.
When an assembly includes explicit camera selections, they are saved with the assembly in a
camera selection file. You can also save camera selections from the Assembly Editor.
● In the Assembly Editor, select Image > Camera Selections and choose Save.
When an assembly includes explicit camera selections, they are loaded automatically when the
assembly is opened. You can also load camera selections from the Assembly Editor.
● In the Assembly Editor, select Image > Camera Selections and choose Load.
CyberOptics Corporation
Chapter 6: Defining Composite Templates
Composite templates are containers for other composite or unit tasks, and are used to program large
or complicated features in smaller, more manageable parts. Composite templates are not physically
inspected and therefore do not contain any inspection properties such as tolerance boxes or search
areas. Instead, the composite template contains information such as the number, type, and location of
unit tasks within the composite, and inspection logic that determines in what circumstances the
composite task passes inspection, based on the inspection results of its unit tasks.
Details pane
As with unit templates, changing the definition or properties of a composite template affects all
instances (composite tasks) of that template within the assembly.
Root task
composite template
Instance of
composite template
Instances of
unit templates
Composite templates can also be created for components where separate position and text
inspections are necessary.
Composite template
Unit template
for text inspection
Unit template
for positional information
(body)
When placing tasks without the benefit of CAD data, you must use a golden image of the panel.
Caution: To populate the composite template with unit tasks created from the existing unit template,
define the unit template before you convert it to a composite template.
See the section listed below for details about adding specific tasks:
● Adding Tasks for Component Bodies on page 223
● Adding Pin Tasks for Dual In-Line Packages on page 224
● Adding Tasks for Grid Arrays on page 225
● Adding Tasks for Quad Flat-Pack Pins on page 226
● Adding Gap Tasks on page 227
● Adding Single Tasks on page 228
● Adding Tasks for Text on page 229
● Adding Barcode Tasks on page 231
● Adding Skip Mark Tasks on page 233
● Adding Tasks for Component Library on page 234
When you define text for a part number that is greater than five characters long, you must add
multiple active areas. The QX Series System software has tools that automatically insert active areas
into the model geometry to segment the part number.
1. In the Unit Template Editor, click to open the Model Editor.
2. In the Model Editor, define the task icon to include the entire part number. Use Active Area Grid
Cell and Active Area Grid buttons to define multiple active areas.
a. Click and draw around the first few characters of a part number (to a maximum of five
characters).
b. Click and draw around the entire part number.
7. Click and then drag a box around the barcode. Releasing the mouse button updates the X, Y,
height, and width values in the Dimensions section.
8. In the Build Options section, select Create Barcode and clear all other checkboxes.
9. Click OK.
10. In the Composite Template Editor, move or resize the barcode task as necessary.
11. Click to save and exit the template. The new task appears in cyan in the assembly main
view.
12. Double-click the new task to open the unit template for the barcode.
Tip
If the barcode read fails, you can set system properties to improve the performance:
● Use grayscale for decoding
● Invert color for second try
7. Click OK.
8. In the Composite Template Editor, move or resize the skip mark as necessary.
9. Click to save and exit the template. The new task appears in cyan in the assembly main
view.
10. In the Assembly Editor, right-click the skip mark and select edit task properties.
11. In the General tab verify the following parameters:
● Template: Skip mark template is selected.
● Type: Block skip indicator is selected.
12. Click OK to close the Task Properties dialog box.
2. In the Composite Template Properties dialog box, enter 0 for both the X and Y coordinates to
center the task icon around the nominal position of the task.
3. Click OK.
This procedure overwrites the composite template properties and overwrites the unit tasks of the
current template. However, it does not alter the template name or storage location.
Root task
Parent to all unit and composite tasks
Composite template
Parent of its unit tasks; the
tasks it defines are
children of the root
template or possibly other
composite templates
Unit template
Its tasks are children of a
composite template (if any) or
the root template
If you know the exact coordinates for each task, you can accurately position and rotate unit tasks.
However, if you do not know the precise coordinates of the task positions, you can also move and
rotate the tasks visually.
Disabling Tasks
You can disable individual unit or composite tasks during inspections. Although disabled tasks
remain defined in the assembly, they are not inspected. This is useful, for example, if you are
producing a panel with some components missing or that have been replaced with a different
component; rather than creating a new assembly or permanently deleting the tasks, you can just
disable the tasks temporarily.
2. In the Composite Template Properties dialog box, click the Inspection tab.
3. In the Task Inspection field, select Percentage.
4. In the Percentage field, enter the percentage of child tasks that must pass inspection for the
composite template to pass.
5. Click OK.
Rejecting Outliers
Outliers are tasks that return a probability value outside a specified rejection factor. You can specify
which of a composite template's child templates should be tested for outliers during inspections.
When testing outliers, the system compares the inspection probabilities for each of the template's
tasks; if the probability for a task falls outside the norm defined collectively by the template's tasks,
the outlier will fail inspection.
This is useful, for example, for pin inspections. Lighting differences between QFPs placed in
different board locations can make it difficult to determine a probability threshold that adequately
discriminates against bad pins everywhere on the panel. Using outlier rejection, if the probability
returned by the inspection of one or two pins differs significantly from the other pins, it is likely
that those pins are bad, and should fail inspection.
2. In the Composite Template Properties dialog box, click the General tab.
3. Click in the Reject Outliers field, and then click .
4. In the Reject Outliers dialog box, select the check box next to each template for which you want
outlier rejection enabled.
5. In the Rejection Factor text box, type the factor that defines acceptable variation. Valid values
are 1 to 1e +100.
The determination of outliers is based on the orders of magnitude specified in the Rejection
Factor text box. For example, 1e+100 indicates that any task with a probability that differs by
more than two orders of magnitude is considered an outlier.
6. Click OK.
7. In the Composite Template Properties dialog box, click OK.
CyberOptics Corporation
Chapter 7: Inspecting Images and Analyzing Results
When you start an inspection, the QX Series System stitches the image and inspects the fiducials
before beginning the component inspection. If the Stitcher fails its inspection, the root task turns
red, the inspection process stops, and the status bar displays the reason for the failure.
If the fiducials fail their inspection, the root task and the failed fiducials turn red, the inspection
process stops, and the status bar informs you that the board has failed.
If the Stitcher and fiducials pass their inspections, the inspection process continues and the entire
assembly is inspected.
If all the components pass their inspections, both the root task and the component tasks turn green.
However, if any component fails its inspection, the root task and the failed component(s) are
displayed in red, but the passed components are displayed in green.
➢ Inspecting an image
1. Open an assembly in the Assembly Editor and load a stored image.
2. Select Inspect > Stored Image.
The system first stitches the image and then inspects the fiducials and components using the
data in the current assembly. If any fiducial fails its inspection, the inspection stops, and the task
icons for the failed fiducials and the root task turn red. If all the fiducials pass their inspection,
the component inspections continue.
If any component fails its inspection, the task icons for the failed components and the root task
turn red, and the board inspection is classified as a failure. If everything passes its inspection,
all the task icons, including the root task, turn green, and the board is classified as a pass.
➢ To stop an inspection
● With an inspection in progress, select Inspect > Stop.
If a component fails its inspection, first check the component on the image and the board, if possible,
to see whether it is a false failure or a genuine failure. The failure reasons assigned by the system
are displayed in the Inspection Results pane. If the component produced a false failure, analyze the
reason for the failure to help you decide what corrective action to take. Some examples of corrective
action are described in Failure Causes and Corrective Action on page 252.
1. Perform an inspection In the Assembly Editor or the Composite Template Editor,.
2. In the Inspection Results pane, click to show failed tasks.
The system displays a list of the names of the failed tasks and the reasons for their failures in the
Inspection Results pane.
3. Click a failed task to display the detailed inspection results in the Details pane. The Details
image displays the currently selected task, and the smaller, inset image displays a golden
example of the model.
The system also highlights the task icon in yellow and highlights the task position on the board
with a yellow cross-hair in the Panel Layout pane.
4. Analyze the reason for the failure using the information in Table 5.
5. If the result is a false failure, use the buttons on the Details pane toolbar to make the appropriate
changes.
Add the current task as an example in the model.
Create a new model.
Edit the current model.
Edit the current template.
See Also
● Editing Model Geometry on page 174
● Adding Failed Examples to a Model on page 189
● Editing the Examples in the Model on page 197
Sorting Results
Use the Results filters to specify which inspection results to view, and in what order. This enables
you to quickly locate specific results for analysis.
➢ To sort results
1. In the Assembly Editor or Composite Task Editor select View > Result Filters.
2. In the Results Options dialog box, set the options to sort results:
a. Results list: If you select Show Passes and clear Show Failures, or vice versa, only passes or
failures will be listed in the Inspection Results pane. If you select both Show Passes and
Show Failures, passes, failures, and tasks that have not been inspected will be listed.
b. Errors list: Select the types of errors that you want reported in the Inspection Results pane.
For a description of each error, click Help in the Results Options dialog box.
c. Sorting: Choose a sorting item and order.
d. Filtering: If desired, specify a filter option to display only specific tasks, templates, or
models. Type all or part of the task, template, or model name in the text box to display those
results. For example, select Template and then enter the template name to view inspection
results for the tasks that are instances of that template.
3. Click OK.
Not Found The model is not adequately trained. Add more examples to the
model.
The search area is not large enough. Increase the size of the model
search area.
Wrong Polarity The CAD for this instance is wrong. Check the CAD file.
Non-Existent Model The model has been removed from Redefine the model and save it
disk and the system cannot find the to disk.
appropriate model.
Ambiguous Both bad and good models are Verify that the threshold is
defined and the system cannot appropriately set.
adequately determine the best Populate the model with more
probability fit. (That is, a good examples.
probability fit was found for both the
bad model and the component and
the good model and the component.)
Out of Position The model found the component Increase the size of the tolerance
outside the tolerance box. box. If you have specific
tolerances you must abide to;
you should not just increase the
tolerance box to quickly fix an
isolated problem.
Improve the model so it finds the
component accurately.
Bad Model Found A good probability fit was found Check the bad model setup and
between the bad model and the edit the model if necessary.
component.
Not Enough Examples The system has been configured to Add more examples to the
flag unpopulated models. model.
Search Timed Out The search exceeded the time-out Increase the time-out period in
period specified in the template the template.
properties. Check the model to make sure
the system is not processing too
much data in the model when it is
searching. Consider using
inactive areas.
Angle Out of Range The angle returned after the Increase the angular tolerance in
inspection is greater than the allowed the template.
angular tolerance.
No Model Defined No model is associated with this Add a model to the template.
template.
The model has been switched off. Switch the model back on.
Undefined The template has not been marked Finish defining the template and
as defined. mark the template as Defined.
Height The example was found in the first Add examples to the model.
(Measurement systems image but not the second.
only)
When an image is inspected, the system inserts the barcode or image name in the Bar Code field in
the Assembly Properties dialog box. However, you can change this value if desired.
Using lot codes, you can group a sequence of inspections so that you can easily identify the results
later. Lot codes are useful for repeatability studies because the resulting inspections can be accessed
easily in the Statistician. You typically change the lot code for each image sequence that you inspect.
i Note: Barcodes and lot codes are temporary; they are not saved with the assembly.
At the end of an inspection, the system tests against both the warp and stretch tolerances. If the
board fails either test, the inspection fails and the reason for the failure is recorded and displayed in
the History pane in the Inspection Station and a message is displayed at the Rework Station when
the result is loaded.
Using Statistician
When boards are inspected in the Inspection Station or the Assembly Editor, the results of the
inspection can be stored in a Results folder within the QX Series environment. Statistician can then
be used to analyze the inspection results for measurement studies. Although you can use the
Statistician with any QX Series System, the measurement studies features make the Statistician
primarily a Measurement Machine application.
Getting Started
Stitch and Inspect an image to save results for analysis.
In the Stitcher Editor, define image positions and create stitch locators with the following criteria:
● In the Image Position Editor, make sure overlaps are set to 15mm.
● In the Stitcher Editor, be sure to mark stitch patches in the narrow 5 mm overlap areas to assist
in building a surface map.
Filtering Data
In the Statistician, you can filter the Templates, Instances, and Stitching Tasks lists to display only
specific items.
Note: When Summarise Report is not selected, the system displays all of the child tasks for the
i composite template in the Instances list.
Selecting Items
The Templates list displays all the templates contained in the currently loaded assembly. The
Instances list displays all the tasks contained in the currently open assembly. These lists are visible
only when View > Inspection Task is selected, which is the default setting.
If you select specific templates in the Templates list, the Instances list displays the tasks associated
with the selected template. When you select items in the Instances list, the templates associated
with the selected tasks display in the Templates list.
Note: By default, clicking an item does not automatically deselect previously selected items, so you
i can select multiple items just by clicking them. You can change this default behavior for the
Instances list, enabling you to select only one instance at a time; to override the default, select View
> Single Instance Selection option.
You can analyze the results and statistics for single or multiple inspections. Selections made in the
Key options and Instances list determine which results are shown in the Summary of results for
selected tasks and Statistics sections.
● If you open one inspection result in the Statistician and select multiple instances in the Instances
list, the results are given for all the selected instances.
● If you open more than one inspection result in the Statistician and select one instance in the
Instances list, the results reflect the data for the selected task from every inspection task
currently loaded.
● If you open more than one inspection result in the Statistician and select multiple instances in
the Instances list, the results reflect the data for all the selected tasks for every inspection task
currently loaded.
If results have been stored from previous inspections, you must know the number of subsequent
inspections so that you can select the correct results using the index option. For example, to select
the results of nine inspections, but five inspections were made with this assembly since the data of
interest was collected, you would enter 6 in the First field and 15 in the Last field.
1. Open an assembly in the Statistician.
2. In the Key section, select the Index option.
3. Do one of the following:
● To select the most recent inspection result, in the Range For section, type 1 in both the First
and Last text boxes.
● To select more than one inspection result, in the Range For section, in the First text box,
type 1. In the Last text box, type the number of results to see. For example, typing 1 for First
and 9 for Last selects the nine most recent inspections.
If you use a handheld barcode reader with your QX Series System or if you defined the images
using the Bar Code text box in the Assembly Properties, you can select results according to their
barcode.
1. Open an assembly in the Statistician.
2. In the Key section, select the Bar Code option.
The system displays a list of the barcodes associated with the currently loaded assembly.
3. Select the appropriate barcode from the Barcodes list.
The system displays the results data associated with the selected barcode.
You can assign a lot name to a group of inspections made in the Assembly Editor or the Inspection
Station. Inspection results that are stored with a lot code are very easy to load into the Statistician,
particularly if subsequent inspections have been made with the assembly. The lot code always
defines the same lot of results, so you do not have to remember the index numbers and keep track of
how many inspections have recently been made with the assembly in order to find and load
previous results into the Statistician.
1. Open an assembly in the Statistician.
2. In the Key section, select the Lot option.
The system displays a list of the lot codes associated with the currently loaded assembly.
3. From the Lots list, select the appropriate lot code.
The system displays the results data associated with the selected lot code.
● Top frame: The frame of reference defined relative to the root task. The origin is defined as the
centroid of the root task. The offset value for each component is relative to the component, but the
values are reported using the top, or root task's, coordinate frame. The following diagram shows
the coordinate frame for a board with one component placed on the board. The offset between
the component on the board and where the task was found is shown in the diagram. If you select
the top frame to report the results, the offset of the component is calculated using the root task's
coordinate frame. Therefore, the offset in X and Y would be reported as positive values because
the offset between the component and the model is in a positive direction within the top (board)
frame.
By default, when Statistician displays results in the Statistics section and prints results in extracted
statistics files, it reports the x and y information as an offset from nominal. You can report the
absolute coordinates of where the model found the component only if the data is reported in its top
frame.
1. In the Statistician, select Measurement Frame > CAD Frame or Measurement Frame > Conveyor
Frame.
2. Select Measurement Frame > Measurement Type > Absolute Position.
3. To return the display to the offset from nominal values, select Measurement Frame >
Measurement Type > Offset From Nominal.
Plotting Statistics
You can plot the statistics loaded into the Statistician as trends, a scatter plot, or as a histogram, or
you can use the Statistician to display failure details.
1. With the assembly open in the Statistician, select the templates of interest.
2. In the Instances list, select the instances to plot.
3. Select File > Plot > Results.
4. In the Results Plotter dialog box, select the desired check boxes to plot results. You can create
the following types of plots:
● Trends
● Scatter plots
● Histograms
● Failures
5. Click Apply to display the selected graphs.
6. When you are done viewing the graphs, click OK to close all the plot windows and the Results
Plotter dialog box.
Note: In the Results Plotter dialog box, you must click Apply to create the graphs; if you click OK,
i the windows containing the graphs close automatically.
Saving Statistics
You can save the statistics reported in the Statistician to an extracted file that you can import into a
third-party statistical or spreadsheet application. The data printed to the extracted statistics file
includes the assembly name, barcode, index, component, x, y, height, angle, probability, and status.
➢ To save statistics
1. In the Statistician, select File > Print.
2. In the Print Statistics dialog box, select the desired options.
3. Click OK.
After you make your print selection and click OK, the relevant statistics are printed to the
ExtractedStats folder within the QX Series environment. The path and file name of the file are
displayed in the status bar in the Statistician window.
Notes
● The color scale of the image is stretched to fit the data. This means that although hotspots are
visible, they are not necessarily significant.
● Different hotspot images are not quantitatively comparable.
If the board has fiducials that vary in appearance, you should create a model for each different
appearance so that the model is as discriminative as possible. You can either add these models to the
Good Models list for a single template or create separate templates.
8. Seed the model for the fiducials with a minimum of five good examples before training it on the
training set of boards. After training, populate the model with approximately 40 examples.
9. Auto-align the model examples (using the appropriate symmetry value for the component shape)
until the mean movement is <0.1um.
10. Check the stability of the model.
a. In the Tester pane of the Model Editor, search for the feature with the Drag and Search tool
at 0° .
b. Change the Angle Search field to 180°.
c. Click to repeat the last search. In the Tester pane, the movement should be at the
submicron level.
11. If the model is not stable, view the model diagnostics, watching for good, clean-edged data.
Amend the size of the active area if necessary, then re-refine the model. If this does not stabilize
the model, try adding more good examples to the model.
12. Save the model.
2. Make the search area large enough for the system to accurately find the fiducial (approximately
4-5mm larger than the model).
3. Make the tolerance box larger than the search area.
4. Select Edit > Properties.
5. In the Unit Template Properties dialog box, click the Search tab.
6. Set the following properties under the Miscellaneous heading:
● Board Fiducial Field: Yes
● Height Correction: Stereo
● Fixed Angle: Yes
7. Set the following properties under the Tolerances heading:
● Probability Threshold: 1.00e-010
● Angle +/- 5°
8. Set the following property under the Search Area heading:
● Search Angle +/- 2°
9. Under the Search heading, set the minimum and maximum search levels to 2, 0. The optimum
values depend somewhat on the size of the fiducial. To find out which search levels to use, look at
the data used at each resolution level in the Model Diagnostics window.
5. Resize the search area to be greater than the tolerance box so that Out of Position errors can be
reported. For example, an 0402 component setup should include:
a. Task icon: 1.0 X 0.5mm task icon
b. Tolerance box: 1.25 X 0.75mm
c. Search area: 1.45 X 0.95mm
6. Set the Search Angle +/- to 10°.
7. Set the minimum and maximum search levels. The search levels depend on the size and quality
of the diagnostic data for each component. To decide which search level to use, open the Model
Diagnostics window and review the data for each resolution level. Use the appropriate level
depending on the quality of the data.
For example, 0402 components and smaller should use a 1,0 search and an 0805 component will
likely use a 2, 0 search.
Component SD X SD Y
Size
Analyze each component type in the ANOVA table, which provides a full statistical analysis of the
results. This table must contain data only for passed components and for components with the same
process width (dimensions). Follow these steps to display the ANOVA table:
1. In the Statistician, select the appropriate templates from the Templates list.
2. Select View > Expand Masters.
3. Select View > All-Pass Instances Only.
4. Select View > Advanced R and R Calculations.
The system puts a check mark next to the Advanced R and R Calculations menu item to indicate
that the calculations are switched on.
5. In the Specification Width field, enter the appropriate value.
6. To select all the (passed) components and display the ANOVA table, click in the Instances
list.
7. Verify that the measurement figures are correct according to your repeatability requirements.
For example, the sigma value (in the Measurement R and R section of the table) must be greater
than 3 in both X and Y.
CyberOptics Corporation
Chapter 8: Synchronizing Data
Assemblies can be synchronized with the system repository or can remain independent of the
shared system data. When you edit models and templates in a local assembly, the assembly data no
longer matches the data in the system repository. The QX Series System software tools enable you to
resynchronize the data when necessary by updating the local assembly with more recent models
and templates from the system repository, and by committing more recent models and templates
from the local assembly to the system repository.
Assembly
Product 1
System Repository
UPDATE
UPDATE THE
THE DATA
DATA UPDATE THE DATA
Assembly Assembly
Product 2 Product 3
Synchronizing Assemblies
Caution: When synchronizing data make sure that you do not overwrite newer definitions with
older definitions. Overwriting the system repository data with the data from an assembly can affect
other production-ready assemblies. Test all the changes to an assembly before you commit the data
to the system repository, particularly when many programmers access the system repository data.
CyberOptics recommends that you update local templates and models from the system repository
before you begin editing the assembly. This will help ensure that you are working with the most
recent, most reliable data.
Because the synchronization process is controlled in stages, the Global Synchronise wizard does
not necessarily display all the unsynchronized templates and models at each step.
To quickly view all unsynchronized models and templates in the assembly, click Show All.
While in Show All mode, you are prevented from continuing with the synchronization process.
To continue synchronizing the assembly, click Actions.
4. Follow the instructions in the Global Synchronise wizard to synchronize the data in the
assembly.
Because you have created new templates and models in the assembly, you must add the new
assembly data or commit the assembly changes to the system repository. Committing the
assembly changes to the system repository automatically saves the current assembly. Updating
the assembly data with the system repository data does not automatically save the assembly.
After updating, you must save the current assembly in the Assembly Editor.
5. When the Global Synchronise wizard displays “Step 3,” click Synchronise.
6. After the synchronization process is complete, click Close to return to the Assembly Editor.
You can configure the system to always use the most recent model and template definitions, whether
this is assembly or system data, when you open an assembly in the Inspection Station.
1. On the Launch Pad, click System Properties.
2. Select the Miscellaneous tab.
3. In the Sychronize section, select the Run Synchronised System.
4. Click OK.
Note: While in Show All mode, you are prevented from continuing with the synchronization
i process. To continue synchronizing the assembly, click Actions.
CyberOptics Corporation
Chapter 9: Improving Discrimination
➢ To test discrimination
1. Create a bad training set using a “golden”blank board so that you can collect golden examples of
blank pads. When creating the bad training set, collect both passes and failures so that you
create a bad training set for every template.
2. In the Assembly Editor, open the assembly to test.
3. Open and edit the composite and unit templates as needed.
4. In the Unit or Composite Template Editor, select Training Set > Load Bad Set.
5. Select Inspect > Inspect Training Set.
6. In the Training Set pane, select Failure in the Sort By list, and then click .
7. Examine the inspection results in the Training Set pane. All of the items in the training set
should fail inspection, since the bad training set contains only examples of blank pads and other
tasks that should fail.
8. If you have any passed components (false passes), edit the template or model as needed to
improve its discrimination.
Although you should try to achieve a low false call rate (around 100 ppm), you should also be able
to achieve 0 false acceptances.
● If you inspect boards in the pre-reflow stage, obtain an image of a single, blank, pasted board.
After you capture the image, you can return the board to the production line for component
placement.
● If you inspect boards in the post-reflow stage, obtain images of a sequence of blank boards that
have been pasted and then reflowed. After you capture the images, you must dispose of the
boards.
Note: If you are going to use production training sets in conjunction with a blank board study,
i make sure that you delete all existing production training sets for the assembly before you run the
blank board studies.
8. Check to see if any bad training sets were created for the components (ignore training sets for
fiducials, since these should still pass inspection).
a. In the Assembly Editor, select Assembly > Training Sets.
b. In the Local Training Sets dialog box, select Bad Training Sets from the Training Set
Type list.
c. If there are false passes, double-click the training set name to open the associated Template
Editor.
d. Edit the template or model to improve its discrimination.
e. Save the changes to the template or model.
9. After you are done using the training assemblies, delete them.
First identify the reasons for poor discrimination, and then edit the relevant object to improve
assembly performance. Use the following table to help identify the reason for and possible solution
to the problem. Editing the data and implementing the solutions are discussed later in this section.
The high false call rate is due to The Stitcher Editor is not Check the height map for any
many “Out of Position” errors, but stitching correctly. obvious problems.
the root task does not appear to
align with the images very well. Make sure the fiducial stitch
patches locate correctly; if they do
not, edit them. You will probably
have to restitch the image if the
fiducial stitch patches need moving.
The fiducials are not locating Verify that the fiducials are locking
correctly. on to the correct feature.
One component type is causing a Components with different Create different models for the
high false call rate. appearances are used to build different component styles.
the boards.
The data in the model does not Populate the model so that it
adequately describe the includes all the legitimate variations
variation in the part. of the component. If the
appearance of the component
varies greatly, you may have to
create multiple models for that
component type.
The high false call rate is due to The angular tolerance set in the Edit the angular tolerance value in
many “Angle Out of Range” errors template is too tight. the template.
but the components are not overly
skewed.
Some components have passed The model contains too much Reduce the size of the active area
the blank board study. background information. to include less background
information.
The model contains poor data. Check the examples in the model
for incorrect or poor examples.
Refine the model as necessary.
4. Click Apply.
The Non-linear Surface Height Map opens.
X = The width of the board as defined by the image area in the Image Positions Editor.
Y = The length of the board as defined by the image area in the Image Positions Editor.
Z = The height of the boards surface in relation to the system plane of calibration.
A good stitching task should produce a flat or slightly warped height map. If the height map
shows excessive warpage or occasional peaks and troughs, recheck the camera setup, system
calibration, and stitching task.
5. Edit the stitching task by verifying that the fiducials locate accurately and that the Stitcher Editor
is well populated.
The stitch patches must not stitch on components or any other feature with height, nor should the
stitch patches be placed on large holes that the system could potentially see through.
The task icon should have located on the correct feature. If the task icon has located on something
else, you must do one of the following:
● Increase the search area using the Resize tool so that the model can find the feature reliably.
Make sure other features with the same appearance do not appear in the increased search
area.
● Delete the fiducial stitch patch and use something else. If you choose a different fiducial
stitch patch, you must restitch the image. (Alternatively, you can use the Reset Models
feature.
● Move the fiducial stitch patch onto another, more reliable, feature. If you move the fiducial
stitch patch onto a different feature, you must restitch the image. (Alternatively, you can use
the Reset Models feature.
6. Close the Results for Fiducial window.
7. Close the Stitch Point Results window.
8. If the task icon does not align with the fiducial feature, you must edit the model or template as
described in subsequent pages.
The procedures for editing a model to improve its discrimination are similar for fiducials and
components. The differences are noted in the relevant sections.
Note: The resolution at which the data is searched can be specified on the Search tab of the Unit
i Template Properties dialog box.
4. In the Animation Speed field, specify the speed at which to animate the images. The greater
the number, the faster the animation.
5. In the No. of SD’s field, specify the number of standard deviations to use during animation.
6. Click to view the animation based on your current selections.
In the above image, you can clearly see the outline of the component without viewing too much
background information, such as the pads. The edges are clear - not cut off, and there is no “noise”in
the model.
If the model diagnostics display too much background data or not enough component edge data, the
model diagnostics may appear as shown in the following figures.
If your diagnostics are similar to the above examples, you should consider editing the model
geometry.
8. Click Close to close the Model Diagnostics window.
The following figures show a Good example and two incorrect examples.
1206 Capacitor –
Good Example
0805 Resistor –
Wrong part (delete)
Missing Part
(delete)
Note: When using the CyberOptics template library to program models on the QX Series System,
i delete the examples provided in the model and add examples from your specific assembly.
i Note: You must allow a period of production before you can assess the effects of the changes.
CyberOptics Corporation
Chapter 10: System Administration
If you make changes to inspection cell properties, you must save the cell for the changes to be
applied. You can also create a copy of an inspection cell or save changes to the current cell without
overwriting the original cell properties.
➢ To save changes
● In the Inspection Cell Editor, select File > Save Cell.
In addition, when you capture an image in the Inspection Cell Editor, the system displays the entire
image captured by all the installed cameras. You also can display each camera image individually.
For detailed information about camera setup, refer to the QX500/QX500-X System Hardware
Manual.
See Also
● Calibrating the Conveyor Width Adjuster on page 311
● Loading Firmware Files on page 309
Notes
i ● If you manually adjust the width of the conveyor using the crank handle, the position of the
conveyor will have changed independently of the software. In this case, you must home the
conveyor before you can automatically adjust the conveyor width again.
● To set the conveyor direction, see Loading Firmware Files on page 309.
Note: If you open the upper door at any time while adjusting the conveyor width, you must
i restart the stepper motor controller again after you close the door and before interacting further
with the QX Series software. To restart the stepper motor controller, press the Reset/Start button.
If the stepper motor controller is working, the green light on the signal tower turns on.
9. Click Go Home.
10. If a confirmation message appears asking if you want to return the conveyor to the home
position, click Yes.
The adjustable conveyor rail moves to its home position.
11. Click Close to exit the Conveyor Width Adjuster dialog box.
The conveyor belts move as the system attempts to locate a board, and a message appears asking
you to set the QX Series to Inspect mode before starting an in-line inspection.
12. Click OK.
The conveyor belts move as the system again attempts to locate a board.
Load speed Speed at which the conveyor moves when Speed at which the conveyor moves when
transferring a panel from the upstream transferring a panel from the
conveyor on to the QX Series System upstream conveyor onto the Flex system
conveyor. You can enter values from 10 to 350 conveyor. You can enter values from 10 to
mm/s. By default, the load speed is set to 225 1000
mm/s. mm/s, however, load speeds slower than 65 to
70 mm per second may cause the machine
to time out when loading a panel from the
upstream conveyor.
Unload speed Speed at which the conveyor moves when Speed at which the conveyor moves when
transferring a panel from the QX Series transferring a panel from the
System conveyor on to the downstream Flex system conveyor onto the downstream
conveyor. You can enter values from 10 to 350 conveyor. You can enter values from 10 to
mm/s. By default, the unload speed is set to 1000 mm/s.
225 mm/s.
Indexing The acceleration of the conveyor as it moves to The acceleration of the conveyor as it moves to
acceleration capture the next image during image capture the next
acquisition. You can enter values from 10 to image during image acquisition. You can enter
400 mm/s2. By default, the indexing values from 10 to 2000 mm/s2.
acceleration is set to 200 mm/s2.
Indexing The deceleration of the conveyor as it moves The deceleration of the conveyor as it moves
deceleration upon completing an image acquisition during upon completing an
indexing. You can enter values from 10 to 400 image acquisition during indexing. You can
mm/s2. By default, the indexing deceleration is enter values from 10 to 2000 mm/s2.
set to 200 mm/s2.
Indexing speed Not applicable for QX Series Systems. Speed at which the conveyor moves when
acquiring an image during
indexing. You can enter values from 10 to 500
mm/s.
Configuring SMEMA
Use the Inspection Cell Editor to set the SMEMA signals and polarity used for communication in
the production line.
Good board available Board available Good board available Not Used
*Note: To use pins 7 and 8 you must use a SMEMA converter cable (8013043) that connects between
i the QX Series SMEMA cable and the downstream equipment. Contact CyberOptics Service and
Support for more information.
The calibration process consists of the procedures listed below. Follow these steps in the order given
for the best calibration results.
● Aligning the Cameras on page 318
● Setting the Home Offset on page 319
● Setting Up Cameras on page 320
● Save the Inspection Cell (File > Save Cell)
● Calibrating the QX Series System on page 321
Refer to the QX500/QX500-X System Hardware Manual for locations of the adjustment screws.
10. Align the camera positions as follows:
● For non-measurement machines, line up all cameras on the center roundels of a pattern.
● For measurement machines, line up the odd-numbered cameras, except camera 1, on the
cross-hairs between patterns. Line up camera 1 so that the left-most column of roundels is
aligned with the right-most green intersection line. Line up the even-numbered cameras on
the center roundels of a pattern.
11. After all cameras have been aligned correctly, select File > Save Cell.
Setting Up Cameras
The Camera Setup Wizard guides you through the process of setting up each camera. Most of the
adjustments are made by the system software, however you will need to focus each camera.
Note: As you adjust the cameras, test the results by closing the door to the machine and comparing
i the values with the values displayed when the door is open. Compensate for any differences when
adjusting the cameras with the door open.
d. Turn the focus adjustment collar (the lower collar on the camera lens) for the selected camera
lens slowly and steadily in a counterclockwise direction until the slider in the Manual Focus
page begins to reduce in value.
e. Then turn the focus collar in a clockwise direction until the slider reaches its maximum
value and then begins to reduce again.
f. Turn the focus collar one last time in a counterclockwise direction again to fine-tune the
focus until the Focus slider bar reaches its maximum value.
Caution: If you turn the focus adjustment collar too quickly, the system will not be able to collect
enough data points to accurately calculate the appropriate optimal position.
g. Lock the focus collar with the focus adjustment locking screw.
3. After the camera is focused, click Next.
4. The Color Balance page opens. No intervention is required while the system balances the camera
color. Click Next when the Progress field indicates that a color file has been selected.
5. The Shutter Speed page opens. No intervention is required while the system determines the
correct shutter speed for the camera. Click Finish when the Progress field indicates that the
shutter speed has been set.
6. The Camera Setup Wizard asks whether additional cameras need to be set up. Click Yes to set
up the next camera, or No when all cameras are complete.
7. When you select Yes, the wizard returns to the Available Camera page of the wizard. Select the
next camera and complete the setup. Repeat for each camera in the system.
8. When finished, Select File> Save Cell in the Inspection Cell Editor.
The QX Series System is calibrated in Off Line mode using a glass calibration target and a specific
calibration assembly file. Before beginning calibration, make sure that the glass plates of the
calibration target are fitted snugly against the left and bottom stops of the target’s support frame.
If the glass plates feel loose, finger-tighten the plastic buttons and the capscrews to secure the plates
into position. Overtightening the capscrews can cause distortion or lead to fractures in the glass
plates.
Caution: Do not disassemble the calibration target. System calibration and performance are
dependent on a correctly assembled calibration target.
Note: If you open the upper door of the QX Series System to check for boards you will need to
i restart the stepper motor controller after closing the door and before continuing with calibration.
3. Press the Reset/Start button on the QX Series System and allow the conveyor to reset itself.
The amber light on the signal tower should flash.
4. On the Launch Pad, click Calibrator.
5. If the system has not been calibrated before, a message appears asking if you want to adjust the
conveyor width. Click Yes. If the conveyor width is already correct, go to step 8.
A message prompts you to ensure that there are no boards in the machine and that the machine
is in Off Line mode.
6. Verify that the machine is in Off Line mode and that there are no boards in the machine and
then click OK.
The Conveyor Width Adjuster dialog box opens and displays the width associated with the
calibration assembly.
7. If necessary, adjust the conveyor as described in Adjusting Conveyor Width on page 310, using
the calibration target width (460 mm).
8. Position the calibration target on the conveyor at the home sensor.
The system draws the calibration target into the machine, captures the images, and then
positions the target with the leading edge slightly over the center scribe mark on the QX Series
System.
9. If you are prompted to put the machine in Inspect mode before inspecting in-line, click OK, but
leave the machine in Off Line mode.
The Calibrator opens the calibration assembly used in the previous session and displays the
name of the assembly in the title bar.
10. Verify that the name of the calibration assembly matches the serial number printed on the
calibration target. If the name of the assembly does not match, open the correct assembly.
11. In the Calibrator, select Image > Live.
The system resets the cell, indexes the calibration target and then displays the image of the lower
plate. Make sure that the machine is not bumped or vibrating excessively during the image
acquisition process.
12. Select Calibration > Start.
If a message appears stating that there are cameras with badly set apertures, do one of the
following:
● If you are confident that the camera apertures are at their optimal settings, click Yes to
continue. (The target value for the image intensity is displayed on the Hardware tab of the
System Properties dialog box).
● If the camera apertures are set incorrectly, click No and run the camera setup wizard as
described in Setting Up Cameras on page 320.
The QX Series System takes approximately five minutes to finish the calibration and display a
message stating whether the calibration passed or failed. During the process, each camera is
checked, one at a time on each plate (upper and lower).
● If the calibration passed, the QX Series System displays green squares around all the
roundels. The message board passed should also appear in the Status Bar.
● If the calibration failed, the QX Series System displays red squares around the failed roundels.
13. In the Calibration Statistics panel, verify the results of the calibration. The mean should be 0.2 or
less and the standard deviation should be 10.0 or less.
14. Select View > Image > Raised to view the results for the upper plate of the calibration target.
Verify the results in the Calibration Browser and Calibration Statistics panel. Both plates must
pass calibration for the QX Series System to correctly capture images.
Note: To view the calibration results in more detail, select View > Results to open the Results
i Window.
15. If the calibration is not successful, check the camera setup and correct any problems (see Setting
Up Cameras on page 320).
16. After a successful calibration, select File > Save Calibration.
17. Select File > Exit to close the Calibrator.
18. Carefully remove the calibration target from the conveyor and store it in a safe place.
You can choose to manually or automatically calibrate the distance between the two SIMs.
The distance between the two SIMs must be estimated before applying the normal calibration
procedure.
At the beginning of the inspection, the System resets the DIO signal to Off. Once the inspection is
over, and if the panel is found no good (NG), the System then sets the DIO signal to On. Thereby,
signaling the NG Stacker to stop inspecting the panel and store it in a slot.
In the Calibrator, select Properties > Visibility and select or clear the desired option, as described
below:
Select To display
Task Icon The position of each task as defined in the root task. For calibration
assemblies, this displays the nominal position of each roundel.
Model The position of the model task icon after each inspection of the
roundels. This is the default option.
Show Drift The drift between the just completed calibration and the previous
calibration, on a per camera basis. The drift values appear in the
Calibration Statistics table.
6. Click Cancel to close the Barcode Reader Test Panel dialog box.
Note: ERROR=I is applicable only for Release 6.0.7. CyberOptics recommends that you do not change
ERROR=I.
For more information on configuring the alarm patterns, see Configuring Alarm Patterns for
Hardware Events on page 24.
The following is an example to configure the light tower and upstream SMEMA.
Configuration Red Green Blue Amber Horn Upstream
SMEMA
START=RG On On Off Off Off Off
START=GU Off On Off Off Off On
ERROR=I No Action
.
Configuration Red Green Blue Amber Horn Upstream
SMEMA
IDLE=RGBY On On On On Off Off
ERROR=I No Action
Using an NG Stacker
After inspection is completed, the AOI system communicates the status of the panel to the NG
Stacker. Based on the panel status, the NG Stacker allows the good panels to pass through and stops
the failed panels and collects it in slots. During Offline Defect Review, you can request the
corresponding panel from the NG Stacker.
The AOI System communicates with the NG stacker in the following ways.
● Serial Port communication: Before an inspection starts, the AOI sends a message to the NG
Stacker to record the next available slot number in the output XML file.
● SMEMA communication: Before an inspection starts, the AOI resets the SMEMA signal to Off.
After the inspection is completed, if the panel fails, the SMEMA signal is set to On. This notifies
the NG Stacker to stop the panel and collect it in the slot.
– Get next available slot number - Click this button to request for the next available slot
number.
– Eject board - Click this button to eject a particular board.
– Review Pass - Click this button to view the passed boards reviewed by the Rework Station.
– Review Fail - Click this button to view the failed boards reviewed by the Rework Station.
– Slot number - Type the slot number to eject a particular board.
7. Click Ok.
At the beginning of the inspection, the System resets the DIO signal to Off. Once the inspection is
over, and if the panel is found no good (NG), the System then sets the DIO signal to On. Thereby,
signaling the NG Stacker to stop inspecting the panel and store it in a slot.
i ● Changing the overlap region, reteaching stitching point and adjusting the search levels improves
the inspection speed. You can load an assembly without making any changes. However, the
inspection speed is limited.
4. Select, Save skeleton result for passed panel, pass board check box. The .R XML file is
generated once the review is completed in the Rework Station.
The QX Series Software exports the XML file to a predefined path. The XML file generated contains
the assembly details. The folder path the XML file is generated is, [QX software folder]\XML_OUT.
For example, if the QX Series Software is installed at C:\QX, then the XML file is exported to
C:\QX\XML_OUT.
A Detailed Component
Settings
CyberOptics Corporation
Appendix A: Detailed Component Settings
IPC Class
The information in this section pertains to inspections done in accordance with IPC610C Class 2.
For passive component inspections, this requires that the component must be at least 50% on the
pad, and assumes that pads are the same width as the part.
Pre-Reflow Inspections
System Properties
When programming for pre-reflow inspection, the primary emphasis is on the body and the text
markings. Go to the System Properties, Miscellaneous page and set the Defaults for New Models
and set the Active area expansion to 0.1 for x and 0.1 for y.
Passive Components
Table 6 shows task sizes and active areas for various components. If there are markings on the
component, enclose them in an inactive area to make the system ignore the markings and then set
up a separate inspection for the markings.
0402 1005 1.0 0.5 1.2 0.7 1.5 1.0 1.7 1.2
0603 1608 1.6 0.8 1.8 1.0 2.2 1.6 2.4 1.8
0805 20125 2.0 1.25 2.2 1.45 2.6 2.5 2.8 2.7
1206 3216 3.2 1.6 3.4 1.8 3.8 3.2 4.0 3.4
1210 3225 3.2 2.5 3.4 2.7 3.8 5.0 4.0 5.2
1812 4832 4.8 3.2 5.0 3.4 5.5 6.4 5.7 7.0
Template Properties
● Extend active area by 0.1 mm on all sides
● Search angle +/- 15
● Tolerance probability threshold: 1e-12
● Tolerance angle: 12
Most of the time this package is a polarized part. Make sure to set the test for polarity and to train
the model sufficiently to differentiate between the two directions
Template Properties
● Test for polarity =Yes
● Angle tolerance = 8
● Search angle = +/- 10
● Probability threshold = 1e-12
SOTs
Locations
X 0.75 0.72 0
Y 0.95 0.65 -1.75
Properties
Model
Template
SO-08 1.27 4.9 3.9 4.5 1.0 0.0 1.95 5.4 4.4 5.6 4.6
SO-14 1.27 8.7 3.9 8.3 1.0 0.0 1.95 9.2 4.4 9.4 4.6
SO-16 1.27 9.9 3.9 9.6 1.0 0.0 1.95 10.4 4.4 10.6 4.6
SOP-08 1.27 5.4 5.3 4.5 1.0 0.0 2.65 5.9 5.8 6.1 6.0
SOP-14 1.27 9.1 5.3 8.3 1.0 0.0 2.65 9.6 5.8 9.8 6.0
SOP-16 1.27 10.2 5.3 9.6 1.0 0.0 2.65 10.7 5.8 10.9 6.0
SOM-14 1.27 9.9 5.6 8.3 1.0 0.0 2.8 10.4 6.1 10.6 6.3
SOM-16 1.27 11.2 5.6 9.6 1.0 0.0 2.8 11.7 6.1 11.9 6.3
SOL-16 1.27 10.3 7.5 9.6 1.0 0.0 3.75 10.8 8.0 11.0 8.2
SOL-18 1.27 11.6 7.5 10.9 1.0 0.0 3.75 12.1 8.0 12.3 8.2
SOL-20 1.27 12.8 7.5 12.2 1.0 0.0 3.75 13.3 8.0 13.5 8.2
SOL-24 1.27 15.4 7.5 14.7 1.0 0.0 3.75 15.9 8.0 16.1 8.2
SOL-28 1.27 17.9 7.5 17.2 1.0 0.0 3.75 18.4 8.0 18.6 8.2
SOL-32 1.27 20.8 7.5 19.8 1.0 0.0 3.75 21.3 8.0 21.5 8.2
SOL-40 1.27 26 7.5 24.8 1.0 0.0 3.75 26.5 8.0 26.7 8.2
TSOP-28 0.55 8 13.4 7.9 1.0 0.0 6.7 8.28 13.9 8.48 14.1
TSOP-32 0.5 8 14 8.0 1.0 0.0 7.0 8.25 14.5 8.45 14.7
TSOP-32 0.5 8 20 8.0 1.0 0.0 10.0 8.25 20.5 8.45 20.7
TSOP-40 0.5 10 14 10.0 1.0 0.0 7.0 10.25 14.5 10.45 14.7
TSOP-40 0.5 10 20 10.0 1.0 0.0 10.0 10.25 20.5 10.45 20.7
TSOP-48 0.5 12 20 12.0 1.0 0.0 10.0 12.25 20.5 12.45 20.7
TSOP-56 0.5 14 20 14.0 1.0 0.0 10.0 14.25 20.5 14.45 20.7
SSOP-08 0.65 3.0 5.3 2.8 1.0 0.0 2.65 3.3 5.8 3.5 6.0
SSOP-14 0.65 6.2 5.3 4.75 1.0 0.0 2.65 6.5 5.8 6.7 6.0
SSOP-16 0.65 6.2 5.3 5.4 1.0 0.0 2.65 6.5 5.8 6.7 6.0
SSOP-20 0.65 7.2 5.3 6.7 1.0 0.0 2.65 7.5 5.8 7.7 6.0
SSOP-24 0.65 8.2 5.3 8.0 1.0 0.0 2.65 8.5 5.8 8.7 6.0
SSOP-28 0.65 10.2 5.3 9.3 1.0 0.0 2.65 10.5 5.8 10.7 6.0
SSOP-34 1.0 17.9 7.5 17.2 1.0 0.0 3.75 18.25 8.0 18.45 8.2
SSOP-36 0.8 15.4 7.5 14.4 1.0 0.0 3.75 15.75 8.0 15.95 8.2
SSOP-44 0.8 17.9 7.5 17.8 1.0 0.0 3.75 18.25 8.0 18.45 8.2
SSOP-48 0.635 15.9 7.5 15.45 1.0 0.0 3.75 16.2 8.0 16.4 8.2
SSOP-48 1.0 25.0 7.5 24.2 1.0 0.0 3.75 25.35 8.0 25.55 8.2
SSOP-56 0.635 18.4 7.5 18.0 1.0 0.0 3.75 18.7 8.0 18.9 8.2
SSOP-64 0.8 25.6 7.5 25.8 1.0 0.0 3.75 25.95 8.0 26.15 8.2
SSOP-64 0.8 26.3 12.0 25.8 1.0 0.0 6.0 26.65 12.5 26.85 12.7
Template Properties
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
Active Area
Task Icon
Active Area
3. Set the tolerance along the lead side to the task size plus the lead size (half of the pitch).
4. Along the other side, generally the task size plus 0.5 mm works best.
5. Set search area to 0.2 mm bigger than the tolerance in each direction.
SOJs
SOJs should be set up with two active areas, one along each bank of leads. Table 11 provides the
dimensions for many common SOJs.
SOLJ-18 11.5 7.5 10.9 0.6 0 3.75 12.1 8.0 12.3 8.2
SOLJ-20 12.8 7.5 12.2 0.6 0 3.75 13.3 8.0 13.5 8.2
SOLJ-24 15.4 7.5 14.7 0.6 0 3.75 15.9 8.0 16.1 8.2
SOLJ-28 17.9 7.5 17.2 0.6 0 3.75 18.4 8.0 18.6 8.2
SOLJ-32 20.8 7.5 19.8 0.6 0 3.75 21.3 8.0 21.5 8.2
Template Properties
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
QFP
Set up QFPs with four active areas, one along each bank of leads. The active areas should be 1.0 mm
tall and fall half on the body and half on the leads. To calculate the length of the active area on any
side, take the number of leads times the pitch and add 0.2 mm. Table 12 provides dimensions for
some common parts. Watch the inspection times on these components as they are large and may
need to have min./max level adjusted.
Table 12. QFP Settings
Pkg Pitch Task Task Horiz. Horiz. Horiz. Horiz. Vert. Vert. Vert. Vert.
Size Size Active Active Pos. X Pos. Y Active Active Pos. Posit.
X Y Area X Area Y Area Area X Y
X Y
QFP44 0.8 10.0 10.0 9.0 1.0 0.0 5.0 1.0 9.0 5.0 0.0
QFP44 1.0 14.0 14.0 11.2 1.0 0.0 7.0 1.0 11.2 7.0 0.0
QFP52 0.65 10.0 10.0 8.65 1.0 0.0 5.0 1.0 8.65 5.0 0.0
QFP52 1.0 14.0 14.0 13.2 1.0 0.0 7.0 1.0 13.2 7.0 0.0
QFP64 0.5 10.0 10.0 8.2 1.0 0.0 5.0 1.0 8.2 5.0 0.0
QFP64 0.8 14.0 14.0 12.8 1.0 0.0 7.0 1.0 12.8 7.0 0.0
QFP64 1.0 14.0 20.0 13.2 1.0 0.0 10.0 1.0 19.2 7.0 0.0
QFP80 0.65 14.0 14.0 13.2 1.0 0.0 7.0 1.0 13.2 7.0 0.0
QFP80 0.8 14.0 20.0 13.0 1.0 0.0 10.0 1.0 19.4 7.0 0.0
QFP100 0.5 14.0 14.0 12.7 1.0 0.0 7.0 1.0 12.7 7.0 0.0
QFP100 0.65 14.0 20.0 13.2 1.0 0.0 10.0 1.0 19.7 7.0 0.0
QFP120 0.8 28.0 28.0 24.22 1.0 0.0 14.0 1.0 24.2 14.0 0.0
QFP128 0.5 14.0 20.0 13.2 1.0 0.0 10.0 1.0 19.2 7.0 0.0
QFP128 0.8 28.0 28.0 25.8 1.0 0.0 14.0 1.0 25.8 14.0 0.0
QFP136 0.8 28.0 28.0 27.4 1.0 0.0 14.0 1.0 27.4 14.0 0.0
QFP144 0.5 20.0 20.0 18.2 1.0 0.0 10.0 1.0 18.2 14.0 0.0
QFP144 0.65 28.0 28.0 23.6 1.0 0.0 14.0 1.0 23.6 14.0 0.0
QFP160 0.65 28.0 28.0 26.2 1.0 0.0 14.0 1.0 26.2 14.0 0.0
QFP184 0.5 28.0 28.0 23.2 1.0 0.0 14.0 1.0 23.2 14.0 0.0
QFP208 0.5 28.0 28.0 26.2 1.0 0.0 14.0 1.0 26.2 14.0 0.0
QFP240 0.5 32.0 32.0 30.2 1.0 0.0 16.0 1.0 30.2 16.0 0.0
QFP256 0.4 28.0 28.0 25.8 1.0 0.0 14.0 1.0 25.8 14.0 0.0
QFP304 0.4 40.0 40.0 38.2 1.0 0.0 20.0 1.0 38.2 20.0 0.0
Template Properties
● Tolerance box = task size + half of the lead pitch
● Search area= 0.2 mm larger than the tolerance box
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
350 QX Series System Software User Guide
Pre-Reflow Inspections
PLCC/CLCC
Set up PLCCs (and CLCCs) with four active areas, one along each bank of leads. The active areas
should be 0.6 mm tall and fall half on the body and half on the leads. To calculate the length of the
active area on any side take the number of leads times the pitch (1.27 mm) and add 0.2 mm. Table 13
provides the dimensions for some common parts.
Table 13. PLCC/CLCC Settings
Package Task Task Horiz. Horiz. Horiz. Horiz. Vert. Vert. Vert. Vert.
Size Size Active Active Position Position Active Active Pos. X Pos. Y
X Y Area X Area Y X Y Area X Area Y
PLCC18 7.4 12.5 5.28 0.6 0.0 6.25 0.6 7.82 3.7 0.0
PLCC20 8.9 8.9 7.82 0.6 0.0 4.45 0.6 7.82 4.45 0.0
PLCC28 11.5 11.5 9.1 0.6 0.0 5.75 0.6 9.1 5.75 0.0
PLCC32 11.5 14.0 9.1 0.6 0.0 7.0 0.6 11.65 5.75 0.0
PLCC44 16.6 16.6 14.2 0.6 0.0 8.3 0.6 14.2 8.3 0.0
PLCC52 19.1 19.1 16.7 0.6 0.0 9.55 0.6 16.7 9.55 0.0
PLCC68 24.2 24.2 21.8 0.6 0.0 12.1 0.6 21.8 12.1 0.0
PLCC84 29.3 29.3 26.9 0.6 0.0 14.65 0.6 26.9 14.65 0.0
Template Properties
● Tolerance box = task size + 0.6 mm
● Search area = 0.2 mm larger than the tolerance box
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
Watch the inspection time on these components as they are large and may need the min./max
levels adjusted.
Post-Reflow Inspections
When programming for post-reflow inspection, in addition to checking the body and the markings,
solder joints should be checked also. This section describes how to set up body and solder joint
inspections.
System Properties
Since the emphasis is on the joints and the components, go to the System Properties, Miscellaneous
page and set the Defaults for New Models and set the Active area expansion to 0.3 for x and 0.1 for
y.
Passive Components
For passive components, the solder joint and the body are inspected at the same time. Table 14
provides settings for the task sizes and active areas that should be used for various components. If
there are markings on the component set an inactive area to make the system ignore the markings
and perform a separate inspection for the markings.
0402 1005 1.0 0.5 1.6 0.7 1.5 1.0 1.7 1.2
0603 1608 1.6 0.8 2.2 1.0 2.2 1.6 2.4 1.8
0805 20125 2.0 1.25 2.6 1.45 2.6 2.5 2.8 2.7
1206 3216 3.2 1.6 3.8 1.8 3.8 3.2 4.0 3.4
1210 3225 3.2 2.5 3.8 2.7 3.8 5.0 4.0 5.2
1812 4832 4.8 3.2 5.6 3.4 5.5 6.8 5.7 7.0
Template Properties
● Angle tolerance = 12
● Search angle = +/- 5
● Probability threshold = 1e-12
The general rule is to expand the active area at least 0.1 mm larger than the component on the non-
termination sides and expand the active area to the end of the curved part of the joint on the sides
with the terminations.
Most of the time this package is a polarized part. Make sure to set the test for polarity and to train
the model sufficiently to differentiate between the two directions
Template Properties
● Test for polarity: Yes
● Angle tolerance = 8
● Search angle = +/- 10
● Probability threshold = 1e-12
SOTs
Locations
X 1.15 1.05 0
Y 0.95 0.65 -3.5
Properties
Table 17. SOT Component Properties
SOT-23 SOT-323 SOT-223
(TO-236AB) (SC-70)
Model
Template
SO-08 1.27 4.9 3.9 4.5 1.0 0.0 1.95 5.4 4.4 5.6 4.6
SO-14 1.27 8.7 3.9 8.3 1.0 0.0 1.95 9.2 4.4 9.4 4.6
SO-16 1.27 9.9 3.9 9.6 1.0 0.0 1.95 10.4 4.4 10.6 4.6
SOP-08 1.27 5.4 5.3 4.5 1.0 0.0 2.65 5.9 5.8 6.1 6.0
SOP-14 1.27 9.1 5.3 8.3 1.0 0.0 2.65 9.6 5.8 9.8 6.0
SOP-16 1.27 10.2 5.3 9.6 1.0 0.0 2.65 10.7 5.8 10.9 6.0
SOM-14 1.27 9.9 5.6 8.3 1.0 0.0 2.8 10.4 6.1 10.6 6.3
SOM-16 1.27 11.2 5.6 9.6 1.0 0.0 2.8 11.7 6.1 11.9 6.3
SOL-16 1.27 10.3 7.5 9.6 1.0 0.0 3.75 10.8 8.0 11.0 8.2
SOL-18 1.27 11.6 7.5 10.9 1.0 0.0 3.75 12.1 8.0 12.3 8.2
SOL-20 1.27 12.8 7.5 12.2 1.0 0.0 3.75 13.3 8.0 13.5 8.2
SOL-24 1.27 15.4 7.5 14.7 1.0 0.0 3.75 15.9 8.0 16.1 8.2
SOL-28 1.27 17.9 7.5 17.2 1.0 0.0 3.75 18.4 8.0 18.6 8.2
SOL-32 1.27 20.8 7.5 19.8 1.0 0.0 3.75 21.3 8.0 21.5 8.2
SOL-40 1.27 26 7.5 24.8 1.0 0.0 3.75 26.5 8.0 26.7 8.2
TSOP-28 0.55 8 11.8 7.9 1.0 0.0 6.7 8.28 12.3 8.48 12.5
TSOP-32 0.5 8 12.4 8.0 1.0 0.0 7.0 8.25 12.9 8.45 13.1
TSOP-32 0.5 8 18.4 8.0 1.0 0.0 10.0 8.25 18.9 8.45 19.1
TSOP-40 0.5 10 12.4 10.0 1.0 0.0 7.0 10.25 12.9 10.45 13.1
TSOP-40 0.5 10 18.4 10.0 1.0 0.0 10.0 10.25 18.9 10.45 19.1
TSOP-48 0.5 12 18.4 12.0 1.0 0.0 10.0 12.25 18.9 12.45 19.1
TSOP-56 0.5 14 18.4 14.0 1.0 0.0 10.0 14.25 18.9 14.45 19.1
SSOP-08 0.65 3.0 5.3 2.8 1.0 0.0 2.65 3.3 5.8 3.5 6.0
SSOP-14 0.65 6.2 5.3 4.75 1.0 0.0 2.65 6.5 5.8 6.7 6.0
SSOP-16 0.65 6.2 5.3 5.4 1.0 0.0 2.65 6.5 5.8 6.7 6.0
SSOP-20 0.65 7.2 5.3 6.7 1.0 0.0 2.65 7.5 5.8 7.7 6.0
SSOP-24 0.65 8.2 5.3 8.0 1.0 0.0 2.65 8.5 5.8 8.7 6.0
SSOP-28 0.65 10.2 5.3 9.3 1.0 0.0 2.65 10.5 5.8 10.7 6.0
SSOP-34 1.0 17.9 7.5 17.2 1.0 0.0 3.75 18.25 8.0 18.45 8.2
SSOP-36 0.8 15.4 7.5 14.4 1.0 0.0 3.75 15.75 8.0 15.95 8.2
SSOP-44 0.8 17.9 7.5 17.8 1.0 0.0 3.75 18.25 8.0 18.45 8.2
SSOP-48 0.635 15.9 7.5 15.45 1.0 0.0 3.75 16.2 8.0 16.4 8.2
SSOP-48 1.0 25.0 7.5 24.2 1.0 0.0 3.75 25.35 8.0 25.55 8.2
SSOP-56 0.635 18.4 7.5 18.0 1.0 0.0 3.75 18.7 8.0 18.9 8.2
SSOP-64 0.8 25.6 10.1 25.8 1.0 0.0 3.75 25.95 10.6 26.15 10.8
SSOP-64 0.8 26.3 12.0 25.8 1.0 0.0 6.0 26.65 12.5 26.85 12.7
Template Properties
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
If the component you are working on is not listed, create a task with active areas as shown and
described on page 348.
Solder Joints
When setting up the solder joint inspections for these devices, use Table 19 for pin task size, pins
composite size and component composite size.
● Do not set up the corner pins as locators or box locators.
● Within each type, if the pin size for the task is the same, you may use the same model. This will
significantly speed up programming and the time that it takes to reduce false call rates.
SOP-08 1.27 4 6.4 9.7 5.9 9.2 1.905 3.95 0.6 1.3
SOP-14 1.27 7 10.1 9.7 9.6 9.2 3.81 3.95 0.6 1.3
SOP-16 1.27 8 11.2 9.7 10.7 9.2 4.445 3.95 0.6 1.3
SOM-14 1.27 7 10.9 9.4 10.4 8.9 3.81 3.8 0.6 1.3
SOM-16 1.27 8 12.2 9.4 11.7 8.9 4.445 3.8 0.6 1.3
SOL-16 1.27 8 11.3 12.1 10.8 11.6 4.445 5.15 0.6 1.3
SOL-18 1.27 9 12.6 12.1 12.1 11.6 5.08 5.15 0.6 1.3
SOL-20 1.27 10 13.8 12.1 13.3 11.6 5.715 5.15 0.6 1.3
SOL-24 1.27 12 16.4 12.1 15.9 11.6 6.985 5.15 0.6 1.3
SOL-28 1.27 14 18.9 12.1 18.4 11.6 8.255 5.15 0.6 1.3
SOL-32 1.27 16 21.8 12.1 21.3 11.6 9.525 5.15 0.6 1.3
SSOP- 0.65 7 7.2 9.8 6.7 9.3 1.95 3.9 0.33 1.5
14
SSOP- 0.65 8 7.2 9.8 6.7 9.3 2.275 3.9 0.33 1.5
16
SSOP- 0.65 10 8.2 9.8 7.7 9.3 2.925 3.9 0.33 1.5
20
SSOP- 0.65 12 9.2 9.8 8.7 9.3 3.575 3.9 0.33 1.5
24
SSOP- 0.65 14 11.2 9.8 10.7 9.3 4.225 3.9 0.33 1.5
28
SSOP- 0.8 18 16.4 12.2 15.9 11.7 6.8 5.15 0.35 1.4
36
SSOP- 0.8 22 18.9 12.2 18.4 11.7 8.4 5.15 0.35 1.4
44
SSOP- 0.635 24 16.9 12.2 16.4 11.7 7.3025 5.15 0.33 1.4
48
SSOP- 0.635 28 19.4 12.2 18.9 11.7 8.5725 5.15 0.33 1.4
56
SSOP- 0.8 32 26.6 15.4 26.1 14.9 12.4 6.85 0.35 1.2
64
SSOP- 0.8 32 27.3 15.94 26.8 15.44 12.4 7.12 0.35 1.2
64
Template Properties
● Probability threshold = 1e-8
● Out of position = off
For the models, make the active area 0.1 mm larger than the task size on all sides. Set
discrimination to high.
SOJs
It is not possible to perform solder joint inspection of any kind on SOJs. Body inspection for SOJs
should be set up with two active areas, one along each bank of leads. Table 20 provides the
dimensions for many common SOJs.
Table 20. SOJ Settings
Name Task Task Active Active Active Active Tol. X Tol. Y Search Search
Size Size Area X Area Y Position Position Area X Area Y
X Y X Y
SOLJ-18 11.5 7.5 10.9 0.6 0 3.75 12.1 8.0 12.3 8.2
SOLJ-20 12.8 7.5 12.2 0.6 0 3.75 13.3 8.0 13.5 8.2
SOLJ-24 15.4 7.5 14.7 0.6 0 3.75 15.9 8.0 16.1 8.2
SOLJ-28 17.9 7.5 17.2 0.6 0 3.75 18.4 8.0 18.6 8.2
SOLJ-32 20.8 7.5 19.8 0.6 0 3.75 21.3 8.0 21.5 8.2
Template Properties
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
QFP Bodies
Set up QFP bodies with four active areas, one along each bank of leads. The active areas should be
1.0 mm tall and fall half on the body and half on the leads. To calculate the length of the active are
on any side take the number of leads times the pitch and add 0.2 mm. The chart below will give you
the dimensions for some common parts.
When setting up QFPs, set up separate tasks for the body and the solder joints (pins). Set up the
body with 4 active areas, one along each bank of leads.
● The active areas should be 1.0 mm tall and fall half on the body and half on the leads.
● To calculate the length of the active area on any side, take the number of leads times the pitch
and add 0.2 mm.
● Table 21 provides dimensions body inspections, Table 22 provides dimensions for joint
inspections.
● Watch the inspection times on these components as they are large and may need to have min./
max level adjusted.
Table 21. QFP Settings – Bodies
Pkg. Pitch Task Task Horiz. Horiz. Horiz. Horiz. Vert. Vert. Vert. Vert.
Size Size Active Active Pos. X Pos. Y Active Active Pos. Pos.
X Y Area X Area Y Area X Area Y X Y
QFP44 0.8 10.0 10.0 9.0 1.0 0.0 5.0 1.0 9.0 5.0 0.0
QFP44 1.0 14.0 14.0 11.2 1.0 0.0 7.0 1.0 11.2 7.0 0.0
QFP52 0.65 10.0 10.0 8.65 1.0 0.0 5.0 1.0 8.65 5.0 0.0
QFP52 1.0 14.0 14.0 13.2 1.0 0.0 7.0 1.0 13.2 7.0 0.0
QFP64 0.5 10.0 10.0 8.2 1.0 0.0 5.0 1.0 8.2 5.0 0.0
QFP64 0.8 14.0 14.0 12.8 1.0 0.0 7.0 1.0 12.8 7.0 0.0
QFP64 1.0 14.0 20.0 13.2 1.0 0.0 10.0 1.0 19.2 7.0 0.0
QFP80 0.65 14.0 14.0 13.2 1.0 0.0 7.0 1.0 13.2 7.0 0.0
QFP80 0.8 14.0 20.0 13.0 1.0 0.0 10.0 1.0 19.4 7.0 0.0
QFP100 0.5 14.0 14.0 12.7 1.0 0.0 7.0 1.0 12.7 7.0 0.0
QFP100 0.65 14.0 20.0 13.2 1.0 0.0 10.0 1.0 19.7 7.0 0.0
QFP120 0.8 28.0 28.0 24.22 1.0 0.0 14.0 1.0 24.2 14.0 0.0
QFP128 0.5 14.0 20.0 13.2 1.0 0.0 10.0 1.0 19.2 7.0 0.0
QFP128 0.8 28.0 28.0 25.8 1.0 0.0 14.0 1.0 25.8 14.0 0.0
QFP136 0.8 28.0 28.0 27.4 1.0 0.0 14.0 1.0 27.4 14.0 0.0
QFP144 0.5 20.0 20.0 18.2 1.0 0.0 10.0 1.0 18.2 14.0 0.0
QFP144 0.65 28.0 28.0 23.6 1.0 0.0 14.0 1.0 23.6 14.0 0.0
QFP160 0.65 28.0 28.0 26.2 1.0 0.0 14.0 1.0 26.2 14.0 0.0
QFP184 0.5 28.0 28.0 23.2 1.0 0.0 14.0 1.0 23.2 14.0 0.0
QFP208 0.5 28.0 28.0 26.2 1.0 0.0 14.0 1.0 26.2 14.0 0.0
QFP240 0.5 32.0 32.0 30.2 1.0 0.0 16.0 1.0 30.2 16.0 0.0
QFP256 0.4 28.0 28.0 25.8 1.0 0.0 14.0 1.0 25.8 14.0 0.0
QFP304 0.5 40.0 40.0 38.2 1.0 0.0 20.0 1.0 38.2 20.0 0.0
Template Properties
● Tolerance box = task size + half of the lead pitch
● Search area= 0.2 mm larger than the tolerance box
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
QFP Joints
When setting up the solder joint inspections (pins) for QFPs:
● Set up the corner leads as box locators.
● The composite task for the pins should include all of the pins inside of it.
● The component task should be the largest of all the boxes.
● If the size of the lead, the pitch of the leads and the pad design are the same, models may be
shared between components for the joints (pin).
● Also if there is no difference in the design of the corner pads, they may share the same model as
the middle leads. The more sharing that can take place the quicker the program will stabilize
and false call rate drop.
QFP44 0.8 11 11 17.22 13.70 16.72 13.20 4.00 6.16 0.35 0.88
QFP52 0.65 13 13 13.70 13.70 13.20 13.20 3.90 6.16 0.3 0.88
QFP64 0.5 16 16 13.70 13.70 13.20 13.20 3.75 6.16 0.22 0.88
QFP64 0.8 16 16 17.70 17.70 17.20 17.20 6.00 8.16 0.35 0.88
QFP80 0.65 20 20 17.70 17.70 17.20 17.20 6.18 8.16 0.35 0.88
QFP80 0.8 16 24 19.46 25.46 18.96 24.96 -8.16 9.20 0.35 0.88
QFP100 0.5 25 25 16.50 16.50 16.00 16.00 6.00 7.70 0.22 0.60
QFP100 0.65 20 30 19.46 25.46 18.96 24.96 8.60 8.99 0.3 0.88
QFP120 0.8 30 30 31.70 31.70 31.20 31.20 11.60 15.16 0.35 0.88
QFP128 0.5 26 38 19.46 25.46 18.96 24.96 -8.16 9.25 0.22 0.88
QFP128 0.8 32 32 31.70 31.70 31.20 31.20 12.40 15.16 0.35 0.88
QFP136 0.8 34 34 31.70 31.70 31.20 31.20 13.20 15.16 0.35 0.88
QFP144 0.5 36 36 22.50 22.50 22.00 22.00 8.75 10.70 0.22 0.60
QFP144 0.65 36 36 31.70 31.70 31.20 31.20 11.38 15.16 0.3 0.88
QFP160 0.65 40 40 31.70 31.70 31.20 31.20 12.68 15.16 0.3 0.88
QFP184 0.5 46 46 31.10 31.10 30.60 30.60 11.25 15.00 0.22 0.60
QFP208 0.5 52 52 31.10 31.10 30.60 30.60 12.75 15.00 0.22 0.60
QFP240 0.5 60 60 35.10 35.10 34.60 34.60 14.75 17.00 0.22 0.60
QFP256 0.4 64 64 31.10 31.10 30.60 30.60 12.60 15.00 0.18 0.60
QFP304 0.5 76 76 43.10 43.10 42.60 42.60 18.75 21.00 0.22 0.60
Template Properties
● Probability threshold = 1e-8
● Out of position = off
● Turn on Outlier reject at 5000
For the models, make the active area 0.1 mm larger than the task size on all sides. Set
discrimination to high.
PLCC/CLCC
It is not possible to perform solder joint inspection on any PLCC or CLCC. Set up PLCCs (and
CLCCs) with four active areas, one along each bank of leads. The active areas should be 0.6 mm tall
and fall half on the body and half on the leads. To calculate the length of the active area on any side
take the number of leads times the pitch (1.27 mm) and add 0.2 mm. Table 23 provides the
dimensions for some common parts.
Table 23. PLC/CLCC Settings
Package Task Task Horiz. Horiz. Horiz. Horiz. Vert. Vert. Vert. Vert.
Size Size Active Active Position Position Active Active Pos. X Pos. Y
X Y Area X Area Y X Y Area X Area Y
PLCC18 7.4 12.5 5.28 0.6 0.0 6.25 0.6 7.82 3.7 0.0
PLCC20 8.9 8.9 7.82 0.6 0.0 4.45 0.6 7.82 4.45 0.0
PLCC28 11.5 11.5 9.1 0.6 0.0 5.75 0.6 9.1 5.75 0.0
PLCC32 11.5 14.0 9.1 0.6 0.0 7.0 0.6 11.65 5.75 0.0
PLCC44 16.6 16.6 14.2 0.6 0.0 8.3 0.6 14.2 8.3 0.0
PLCC52 19.1 19.1 16.7 0.6 0.0 9.55 0.6 16.7 9.55 0.0
PLCC68 24.2 24.2 21.8 0.6 0.0 12.1 0.6 21.8 12.1 0.0
PLCC84 29.3 29.3 26.9 0.6 0.0 14.65 0.6 26.9 14.65 0.0
Template Properties
● Tolerance box = task size + 0.6 mm
● Search area= 0.2 mm larger than the tolerance box
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
Watch the inspection time on these components as they are large and may need the min./max
levels adjusted.
System Properties
Since the emphasis is on the joints and the components, go to the System Properties, Miscellaneous
page and set the Defaults for New Models and set the Active area expansion to 0.3 for x and 0.1 for
y.
Passive Components
For passive components, the solder joint and the body are inspected at the same time. Table 24
provides the task sizes and active areas that should be used for various components. If there are
markings on the component set an inactive area to make the system ignore the markings and
perform a separate inspection for the markings.
0402 1005 1.0 0.5 1.6 0.7 1.5 1.0 1.7 1.2
0603 1608 1.6 0.8 2.2 1.0 2.2 1.6 2.4 1.8
0805 20125 2.0 1.25 2.6 1.45 2.6 2.5 2.8 2.7
1206 3216 3.2 1.6 3.8 1.8 3.8 3.2 4.0 3.4
1210 3225 3.2 2.5 3.8 2.7 3.8 5.0 4.0 5.2
1812 4832 4.8 3.2 5.6 3.4 5.5 6.8 5.7 7.0
Template Properties
● Angle tolerance = 12
● Search angle = +/- 15
● Probability threshold = 1e-12
The general rule is to expand the active area at least 0.1 mm larger than the component on the non-
termination sides and expand the active area to the end of the curved part of the joint on the sides
with the terminations.
Most of the time this package is a polarized part. Make sure to set the test for polarity and to train
the model sufficiently to differentiate between the two directions
Template Properties
● Test for polarity = Yes
● Angle tolerance = 8
● Search angle = +/- 10
● Probability threshold = 1e-12
SOTs
Locations
X 1.15 1.05 0
Y 0.95 0.65 -3.5
Properties
Table 27. SOT Component Properties
SOT-23 SOT-323 SOT-223
(TO-236AB) (SC-70)
Model
Template
SO-08 1.27 4.9 3.9 4.5 1.0 0.0 1.95 5.4 4.4 5.6 4.6
SO-14 1.27 8.7 3.9 8.3 1.0 0.0 1.95 9.2 4.4 9.4 4.6
SO-16 1.27 9.9 3.9 9.6 1.0 0.0 1.95 10.4 4.4 10.6 4.6
SOP-08 1.27 5.4 5.3 4.5 1.0 0.0 2.65 5.9 5.8 6.1 6.0
SOP-14 1.27 9.1 5.3 8.3 1.0 0.0 2.65 9.6 5.8 9.8 6.0
SOP-16 1.27 10.2 5.3 9.6 1.0 0.0 2.65 10.7 5.8 10.9 6.0
SOM-14 1.27 9.9 5.6 8.3 1.0 0.0 2.8 10.4 6.1 10.6 6.3
SOM-16 1.27 11.2 5.6 9.6 1.0 0.0 2.8 11.7 6.1 11.9 6.3
SOL-16 1.27 10.3 7.5 9.6 1.0 0.0 3.75 10.8 8.0 11.0 8.2
SOL-18 1.27 11.6 7.5 10.9 1.0 0.0 3.75 12.1 8.0 12.3 8.2
SOL-20 1.27 12.8 7.5 12.2 1.0 0.0 3.75 13.3 8.0 13.5 8.2
SOL-24 1.27 15.4 7.5 14.7 1.0 0.0 3.75 15.9 8.0 16.1 8.2
SOL-28 1.27 17.9 7.5 17.2 1.0 0.0 3.75 18.4 8.0 18.6 8.2
SOL-32 1.27 20.8 7.5 19.8 1.0 0.0 3.75 21.3 8.0 21.5 8.2
SOL-40 1.27 26 7.5 24.8 1.0 0.0 3.75 26.5 8.0 26.7 8.2
TSOP-28 0.55 8 11.8 7.9 1.0 0.0 6.7 8.28 12.3 8.48 12.5
TSOP-32 0.5 8 12.4 8.0 1.0 0.0 7.0 8.25 12.9 8.45 13.1
TSOP-32 0.5 8 18.4 8.0 1.0 0.0 10.0 8.25 18.9 8.45 19.1
TSOP-40 0.5 10 12.4 10.0 1.0 0.0 7.0 10.25 12.9 10.45 13.1
TSOP-40 0.5 10 18.4 10.0 1.0 0.0 10.0 10.25 18.9 10.45 19.1
TSOP-48 0.5 12 18.4 12.0 1.0 0.0 10.0 12.25 18.9 12.45 19.1
TSOP-56 0.5 14 18.4 14.0 1.0 0.0 10.0 14.25 18.9 14.45 19.1
SSOP-08 0.65 3.0 5.3 2.8 1.0 0.0 2.65 3.3 5.8 3.5 6.0
SSOP-14 0.65 6.2 5.3 4.75 1.0 0.0 2.65 6.5 5.8 6.7 6.0
SSOP-16 0.65 6.2 5.3 5.4 1.0 0.0 2.65 6.5 5.8 6.7 6.0
SSOP-20 0.65 7.2 5.3 6.7 1.0 0.0 2.65 7.5 5.8 7.7 6.0
SSOP-24 0.65 8.2 5.3 8.0 1.0 0.0 2.65 8.5 5.8 8.7 6.0
SSOP-28 0.65 10.2 5.3 9.3 1.0 0.0 2.65 10.5 5.8 10.7 6.0
SSOP-34 1.0 17.9 7.5 17.2 1.0 0.0 3.75 18.25 8.0 18.45 8.2
SSOP-36 0.8 15.4 7.5 14.4 1.0 0.0 3.75 15.75 8.0 15.95 8.2
SSOP-44 0.8 17.9 7.5 17.8 1.0 0.0 3.75 18.25 8.0 18.45 8.2
SSOP-48 0.635 15.9 7.5 15.45 1.0 0.0 3.75 16.2 8.0 16.4 8.2
SSOP-48 1.0 25.0 7.5 24.2 1.0 0.0 3.75 25.35 8.0 25.55 8.2
SSOP-56 0.635 18.4 7.5 18.0 1.0 0.0 3.75 18.7 8.0 18.9 8.2
SSOP-64 0.8 25.6 10.1 25.8 1.0 0.0 3.75 25.95 10.6 26.15 10.8
SSOP-64 0.8 26.3 12.0 25.8 1.0 0.0 6.0 26.65 12.5 26.85 12.7
Template Properties
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
If the component you are working on is not listed, create a task with active areas as shown and
described on page 348.
Solder Joints
When setting up the solder joint inspections for these devices, use Table 29 for pin task size, pins
composite size and component composite size. Do not set up the corner pins as locators or box
locators. Within each type, if the pin size for the task is the same, you may use the same model. This
will significantly speed up programming and the time that it takes to reduce false call rates.
SOP-08 1.27 4 6.4 9.7 5.9 9.2 1.905 3.95 0.6 1.3
SOP-14 1.27 7 10.1 9.7 9.6 9.2 3.81 3.95 0.6 1.3
SOP-16 1.27 8 11.2 9.7 10.7 9.2 4.445 3.95 0.6 1.3
SOM-14 1.27 7 10.9 9.4 10.4 8.9 3.81 3.8 0.6 1.3
SOM-16 1.27 8 12.2 9.4 11.7 8.9 4.445 3.8 0.6 1.3
SOL-16 1.27 8 11.3 12.1 10.8 11.6 4.445 5.15 0.6 1.3
SOL-18 1.27 9 12.6 12.1 12.1 11.6 5.08 5.15 0.6 1.3
SOL-20 1.27 10 13.8 12.1 13.3 11.6 5.715 5.15 0.6 1.3
SOL-24 1.27 12 16.4 12.1 15.9 11.6 6.985 5.15 0.6 1.3
SOL-28 1.27 14 18.9 12.1 18.4 11.6 8.255 5.15 0.6 1.3
SOL-32 1.27 16 21.8 12.1 21.3 11.6 9.525 5.15 0.6 1.3
SSOP- 0.65 7 7.2 9.8 6.7 9.3 1.95 3.9 0.33 1.5
14
SSOP- 0.65 8 7.2 9.8 6.7 9.3 2.275 3.9 0.33 1.5
16
SSOP- 0.65 10 8.2 9.8 7.7 9.3 2.925 3.9 0.33 1.5
20
SSOP- 0.65 12 9.2 9.8 8.7 9.3 3.575 3.9 0.33 1.5
24
SSOP- 0.65 14 11.2 9.8 10.7 9.3 4.225 3.9 0.33 1.5
28
SSOP- 0.8 18 16.4 12.2 15.9 11.7 6.8 5.15 0.35 1.4
36
SSOP- 0.8 22 18.9 12.2 18.4 11.7 8.4 5.15 0.35 1.4
44
SSOP- 0.635 24 16.9 12.2 16.4 11.7 7.3025 5.15 0.33 1.4
48
SSOP- 0.635 28 19.4 12.2 18.9 11.7 8.5725 5.15 0.33 1.4
56
SSOP- 0.8 32 26.6 15.4 26.1 14.9 12.4 6.85 0.35 1.2
64
Template Properties
● Probability threshold = 1e-8
● Out of position = off
For the models, make the active area 0.1 mm larger than the task size on all sides. Set
discrimination to high.
SOJs
SOJs are not recommended for wave solder applications and there is no way to perform an adequate
inspection for a customer who tries to wave-solder these components.
QFP Bodies
Only larger pitch QFPs can be wave soldered. These should be mounted at a 45 degree angle on the
board (or the board rotated when soldered).
● Corner pads will look different and must be modeled separately.
● There should be solder thieves designed on the board. Shorts to these thieves are acceptable.
● Bridging will be the most common defect presented.
When setting up QFPs, set up separate tasks for the body and the solder joints (pins). Set up the
body with 4 active areas, one along each bank of leads.
● The active areas should be 1.0 mm tall and fall half on the body and half on the leads.
● To calculate the length of the active area on any side, take the number of leads times the pitch
and add 0.2 mm.
● Table 30 provides dimensions body inspections, Table 31 provides dimensions for joint
inspections.
● Watch the inspection times on these components as they are large and may need to have min./
max level adjusted.
Table 30. QFP Settings – Bodies
Pkg Pitch Task Task Horiz. Horiz. Horiz. Horiz. Vert. Vert. Vert. Vert.
Size Size Active Active Pos. X Pos.Y Active Active Pos. Pos.
X Y Area X Area Y Area Area X Y
X Y
QFP44 0.8 10.0 10.0 9.0 1.0 0.0 5.0 1.0 9.0 5.0 0.0
QFP44 1.0 14.0 14.0 11.2 1.0 0.0 7.0 1.0 11.2 7.0 0.0
QFP52 1.0 14.0 14.0 13.2 1.0 0.0 7.0 1.0 13.2 7.0 0.0
QFP64 0.8 14.0 14.0 12.8 1.0 0.0 7.0 1.0 12.8 7.0 0.0
QFP64 1.0 14.0 20.0 13.2 1.0 0.0 10.0 1.0 19.2 7.0 0.0
QFP80 0.8 14.0 20.0 13.0 1.0 0.0 10.0 1.0 19.4 7.0 0.0
QFP 120 0.8 28.0 28.0 24.22 1.0 0.0 14.0 1.0 24.2 14.0 0.0
QFP 128 0.8 28.0 28.0 25.8 1.0 0.0 14.0 1.0 25.8 14.0 0.0
QFP 136 0.8 28.0 28.0 27.4 1.0 0.0 14.0 1.0 27.4 14.0 0.0
Template Properties
● Tolerance box = task size + half of the lead pitch
● Search area= 0.2 mm larger than the tolerance box
● Angle tolerance = 3
● Search angle = +/- 5
● Probability threshold = 1e-12
QFP Joints
When setting up the solder joint inspections (pins) for QFPs:
● The corner leads should be set up as box locators.
● The composite task for the pins should include all of the pins inside of it.
● The component task should be the largest of all the boxes.
● If the size of the lead, the pitch of the leads and the pad design is the same, models may be
shared between components for the joints (pin).
● Also if there is no difference in the design of the corner pads, they may share the same model as
the middle leads. The more sharing that can take place the quicker the program will stabilize
and false call rate drop.
QFP44 0.8 11 11 17.22 13.70 16.72 13.20 4.00 6.16 0.35 0.88
QFP64 0.8 16 16 17.70 17.70 17.20 17.20 6.00 8.16 0.35 0.88
QFP80 0.8 16 24 19.46 25.46 18.96 24.96 -8.16 9.20 0.35 0.88
QFP120 0.8 30 30 31.70 31.70 31.20 31.20 11.60 15.16 0.35 0.88
QFP128 0.8 32 32 31.70 31.70 31.20 31.20 12.40 15.16 0.35 0.88
QFP136 0.8 34 34 31.70 31.70 31.20 31.20 13.20 15.16 0.35 0.88
Template Properties
● Probability threshold = 1e-8
● Out of position = off
● Turn on Outlier reject at 5000.
For the models, make the active area 0.1 mm larger than the task size on all sides. Set
discrimination to high.
PLCC/CLCC
PLCCs and CLCCs are not recommended for wave solder applications and there is no way to
perform an adequate inspection for a customer who tries to wave-solder these components.
Through-Hole Joints
The best way to get location information for all of the solder joints is to use the drill layer of the
Gerber data. With some small manipulations in Microsoft Excel, this can be imported into the QX
Series software.
● Start by separating each different hole size into different templates.
● Once the data is imported, you will have to further separate the templates so that each template
will only have either clinched or unclinched leads and the same pad size and shape. Trying to
group by part number is likely to result in poor performance.
● Make sure to rotate tasks so that the clinched leads are always facing the same way in the model.
● Try to build the models with only one active area. The active area should not extend past the end
of the pad.
● It is important to test the models against a bare board, a populated board that is un-soldered,
and a soldered bare board. Try to avoid setting up bad models, as you may need at least 3 bad
models to cover all situations.
Template Properties
● Angle tolerance = 10
● Search angle = +/- 5
● Probability threshold = 1e-8
● Out of position = off
The data for through-hole components is not always the center of the part. The datum point varies
based on the CAD and generally falls into one of two cases. The first situation is everything is
called out by pin 1. The case depends on the component type:
● The center for axial components.
● Midway between the first and last pin on DIPs.
● The middle of 5 mm Radial components.
● One end lead of 2.5 mm Radial components.
● The middle of most other parts.
It is often necessary to modify the CAD output to make the QX Series System read it. Make sure to
use some features on the board as fiducials.
Axial Components
Axial leaded components should not look at the leads going into the board. The same part number
may be inserted with different “Z spans”. If the model includes the lead going though the board,
every different “Z span” will require a different model. The best solution is to model the body
where it connects with the leads. The example on the left shows the correct setup of the active areas
for a resistor body.
Template Properties
● (Model) Symmetry = 2-way
● Probability threshold = 1e-12
● Out of position = off
Set up a composite OR task that contains the same composite template dropped at 180 degrees from
each other.
For checking color codes, use a composite template with each band having its own model and
template. The bands can move around significantly on the body and with relation to each other so it
is not recommended to try to group more than one band in a model. Once a library of the color
bands is built, setting up the value inspection is then a matter of selecting the correct templates in
the correct order. Depending on the customer needs, it may not be necessary to check the tolerance
band (silver, gold) on the resistors.
Color codes:
Black = 0 Green = 5
Brown = 1 Blue = 6
Red = 2 Violet = 7
Orange = 3 Grey = 8
Yellow = 4 White = 9
Advance setting
● Load speed = 225
● Unload speed = 225
● Acc = 200
● DeAcc = 200
● Index speed = xxx (refer to table)
15 125
14 133
13 140
12 147
11 154
10 161
9 168
8 175
Glossary
active area
The area of a model that the software uses to locate a feature or component during a search. Define
active areas in a model to ensure that inspections capture all of the edge data of a feature or
component, to place more focus on important data in the model (such as polarity marks), to exclude
irrelevant data in the model, to define unique features on components to help with discrimination,
and to reduce the amount of data required to process the model
AND logic
A type of inspection that determines the conditions under which a composite task passes
inspection. With AND logic, all child tasks must pass inspection for the composite task to pass
inspection.
assembly
A collection of the image acquisition and stitching information, fiducial definitions, inspection tasks,
templates, and models needed to inspect a single, specific, printed circuit board.
bad models
A classification of models; if a feature being inspected matches a bad model within specified
margins, then the feature fails inspection. Bad models represent what the component or feature
should not look like.
Bad training sets contain tasks that should fail inspection: blank pads from a bare board, skewed
components, or anything that has been found in production that is a genuine failure. Use bad
training sets to test changes to a template or model; for example if you add a new model example to
stop false acceptances, you would want to test whether that model impairs performance against
other test data. If you load the bad training set for a template and inspect it, all the tasks should fail.
board
A board is situated in the panel and contains numerous components, marks and features.
CyberOptics Corporation
Appendix B: Glossary
box locators
Specially designated tasks within a composite template that group individual unit locators into lines
that define the left, right, top, and bottom of a component. The QX series System uses the box
locators to rotate, translate, and scale the image of the component to help locate its precise position on
the board. Box locators are especially useful for performing solder joint inspections on QFPs.
CAD frame
The frame of reference defined by the uncorrected CAD data. In this frame of reference, the origin is
defined by whoever created the CAD file, and it could be located anywhere: in the center of the
board, the lower left corner of the board, or outside the board entirely. In the CAD file, the location of
the origin is of less interest than the relative positions of the components within the assembly.
composite task
An instance of a composite template. A composite task is comprised of other composite or unit tasks.
composite template
Containers for other composite or unit tasks, so that large or complicated features can be
programmed in smaller, more manageable parts. Composite templates are not physically inspected
and therefore do not contain any inspection properties such as tolerance boxes or search areas.
Instead, the composite template contains information such as the number, type, and location of child
tasks within the composite, and inspection logic that determines in what circumstances the
composite task passes inspection, based on the inspection results of its child tasks.
conveyor frame
The frame of reference relative to the conveyor. In this frame of reference, the origin is defined
during calibration.
extent
examples
Part of a model definition. Examples consist of image patches that represent legitimate variations of
the feature being modeled; when searching for a component during an inspection, the system
compares the image of the current board with the model examples to determine whether it has
located the feature.
feature
A board contains numerous individual components and marks, each of which can be inspected. An
individual unit such as a component or mark on a PCB is known as a feature.
Stitch patches located in one of the first two image groups that identify board-level features, and that
the QX Series-X System uses for locating the leading edge of the board in the plane of calibration.
good models
A classification of models; if a feature being inspected matches a good model within specified
margins, then the feature passes inspection. Good models represent what the component or feature
should look like.
Good training sets contain tasks that should pass inspection: any example found in production that
represents a legitimate variation of the component. Use good training sets to test changes to a
template or model; for example if you add a new model example to stop false acceptances, you would
want to test whether that model impairs performance against other test data. If you load the good
training set for a template and inspect it, all the tasks should pass.
image group
A single row of image tiles that is acquired each time the board moves along the conveyor under the
row of cameras in the QX Series System.
image patch
A portion of the board image, typically large enough to encompass a single feature or component,
that is used to inspect the component. Model examples are represented by image patches, as are
items within a training set. If the board feature looks sufficiently like the image during an
inspection, the feature will pass.
image sequence
An image sequence is a list of multiple stored images that you can automatically open and inspect
in sequence. Image sequences are typically used during repeatability studies on QX Series
Measurement systems or to test discrimination on a range of boards using any QX Series System.
image tiles
When the image of the PCB is acquired within the QX Series System, the image is made up of a
number of overlapping image tiles; each tile is acquired by one of the cameras in the system. A
complete image of the PCB is created by indexing the PCB under the cameras on the conveyor and
capturing images at each stage. The image acquisition process produces a mosaic image of the PCB
consisting of multiple image tiles captured by the multiple cameras within the system.
inactive area
An optional area within a model that excludes data from a model. During an inspection, the
software does not use the part of the image that falls within an inactive area to locate a feature or
component during a search. Inactive areas can improve performance by eliminating changeable and
unnecessary data from the model, thus speeding up the inspection process. For example, an inactive
area can exclude text from resistors or the black body of a large QFP.
A training set that consists of all instances of a template, as they appear in the currently loaded
image of the board.
library
A storage area (directory or folder) in which associated assemblies, tasks, and models are saved.
load position
At the rear of the half-meter access conveyor is a sensor. The QX Series System uses this sensor to
determine whether a board or calibration target is on the outrigger. For the object to be in the load
position, it must cover this sensor. However, when a system is in-line, this sensor becomes the exit
sensor.
model
A model describes what a component or board feature should look like. The model is comprised of a
geometry definition and a series of examples that define the legitimate variations of the feature.
mosaic image
An image of a PCB captured in the QX Series System. A mosaic image consists of many overlapping
image tiles.
motion correction
The process of adjusting the PCB image to compensate for any movement as the PCB travels along
the QX Series System conveyor belts. Motion correction is defined in the Stitcher Editor.
OR logic
A type of inspection that determines the conditions under which a composite task passes
inspection. With OR logic, the composite task may pass its inspection even though some of the child
tasks fail their inspections.
panel
parallax
When the same object is observed by two cameras set at different angles, the QX Series System finds
the object in two different places. The change in the perceived position of the object creates a
parallax. The QX Series System can account for parallax using the stitching process.
PCB
plane of calibration
A flat surface in 3D space that runs at right angles to the cameras and that is defined when the QX
Series System hardware is calibrated. Ideally, the surface of a board being inspected will be parallel
to the plane of calibration. Measurement systems judge the height of objects on a board relative to the
plane of calibration and, during stitching, compensate for warped boards by flattening the board
image back into the plane of calibration.
Production training sets contain tasks that have failed inspection in the production line; they may
contain all failed tasks, or only those failed tasks that the operator disagreed with (false failures).
Production training sets are useful for calling attention to problems in the production line; templates
and models can be updated based on the production training set data.
projection
See tilt.
R&R study
root task
The highest-level task for the assembly, such as aboard or panel. In a multi-board panel, the root task
may be one board that is programmed and then replicated for all instances on the panel.
resolution levels
Resolution levels are automatically created to explain and organize the data in the model. The
number of levels generated depends on the data contained in the model. The resolution levels and
the amount of data in at each level are displayed in the Model Editor.
The QX Series System uses the data contained in each resolution level to search for and inspect
components on a PCB.
rotation
The process of adjusting the PCB image to compensate for any skew in the alignment of the PCB
with the conveyor rails by rotating the root task over the image.
SAM
scale
The process of adjusting the PCB image to compensate for fiducials that are not located precisely
where the model expects them. The Scale feature allows the system to stretch the root task over the
PCB in an attempt to accurately fit the fiducials in the root task over the fiducials on the board.
search area
An area identified in a model or in a stitch patch as the area in which the system searches for the
specified fiducial or component.
search level
A method of controlling the type of search performed on the tasks. The search levels relate to the
resolution levels contained in the model (see resolution levels).
See model.
stitch patch
Areas defined within the stitching task that specify which features on a PCB the QX Series System
can use to align overlapping tiles to form a single, seamless image. A stitch patch consists of a stitch
point and a search area.
stitch point
The portion of a stitch patch that identifies the size and location of a board feature that will be used
for stitching image tiles together. The stitch point is contained within a search area, which identifies
the allowable area in which the software should look for the feature.
The process of combining individual images tiles captured by the multiple cameras on the QX Series
System into a single, seamless image. The QX Series System takes images of PCBs one row at a time
until the entire board surface has been collected. These image tiles overlap each other to create a
mosaic image. To make one single image from the mosaic, it is necessary to stitch the image tiles
together using unique, board level features that are present within the overlaps. To stitch an image,
you must define the stitching task, which instructs the system how to combine the individual tiles
into a single image.
stitching task
The instructions used by the QX Series System to stitch the individual image tiles captured by the
system's multiple cameras into a single image. The stitching task includes information about board-
level fiducials, which the system uses to find the leading edge of the board, and information about
how the system should stitch together individual overlapped image tiles. Before capturing images for
an assembly, you must program the stitching task for the assembly.
stretch
The process of adjusting the PCB image to compensate for any board stretch during inspections.
The process of adjusting the PCB image to compensate for any surface warp or stretch.
task
An instance of a template. When importing CAD data, a task is placed in the assembly for each
reference designator in the CAD file; when manually programming an assembly, place a task on
each feature you wish to be inspected.
template
A pattern or guide that the QX Series System uses to look for an item on the PCB. It contains
information such as tolerance, search area and associated model.
tiles
tilt
The process of adjusting the PCB image to compensate for any tilt in the alignment of the PCB with
the conveyor rails by rotating the root task over the image.
tolerance
The set of parameters defining the amount of leeway the system will allow for the correct placement
of a particular component.
training set
Training sets are sets of tasks (shown as image patches with SAM icons) collected during
inspections that you can separately inspect, analyze, edit, and optionally add as examples in a
model. Each training set is associated with a composite or unit template.
Translation
An action taken by the QX Series software that slides the image of PCB to the correct alignment
with the root task.
unit task
unit template
A pattern or guide that the QX Series System uses to look for a specific item on the PCB. It contains
information such as tolerance, search area and associated model.
voting composite
A composite template that passes inspection only if a specified percentage of its child tasks pass
inspection.
CyberOptics Corporation
Technical Support
If you have problems operating the QX Series System, first check the product documentation for
more information.
If you still need assistance, or you discover problems with the documentation, please telephone, send
e-mail, or fax CyberOptics Service and Support.
● Include your serial numbers in all e-mail messages and faxes.
● Have the product serial numbers ready when you telephone CyberOptics.
If the toll free access number (+1 800 526 2540) is unavailable in your area, please contact the
regional office closest to you:
North America
CyberOptics Corporation
Minneapolis, Minnesota USA
+1 763 542 5000
Asia-Pacific
CyberOptics Singapore, Ltd.
Singapore
+65 6744 3021
Europe
CyberOptics Ltd.
United Kingdom
+44 1756 700 330
Fax +44 1756 700 440 (Attn: Service)
China
CyberOptics China Company Ltd.
Shanghai
+86-21-6375-6777
Corporate Headquarters
CyberOptics Corporation
5900 Golden Hills Drive
Minneapolis, Minnesota 55416 USA
+1 763 542 5000
Fax +1 763 542 5100
E-mail:
[email protected]
Information in this document is subject to change without notice. CyberOptics Corporation may
make improvements or changes in the products described in this publication at any time.
Trademarks
The following are trademarks or registered trademarks in the United States: CyberOptics, Statistical
Appearance Modeling (SAM), QX500 are owned by CyberOptics Corporation; Microsoft® and
Windows are owned by Microsoft Corporation; MicroLYNX is owned by Intelligent Motion Systems,
Inc.; FireWire is owned by Apple Corporation, Inc.
The warranty, software license and other terms and conditions of sale covering CyberOptics
products are set forth in CyberOptics Standard Terms and Conditions of Sale and License available at
www.cyberoptics.com or by calling CyberOptics at 1-800-746-6315 and requesting a copy.
CyberOptics® Corporation
5900 Golden Hills Drive
Minneapolis, Minnesota 55416 USA
USA +1 763 542 5000
CyberOptics Corporation
Index