Documente Academic
Documente Profesional
Documente Cultură
A U T O M A T I C O P T I C A L I N S P E C T I O N
S Y S T E M S
V E R S I O N V 5 1
Contents
PROGRAMMING THE AOI MACHINE 2
BASICS 2
CAPACITORS 5
INDUCTORS (2PIN) 5
DIODES(2PIN) 6
RESISTORS 7
SEMICONDUCTORS (DISCRETE 3+ PINS) 8
SOLDER 9
IC LEADS 17
SPECIAL 20
Text 21
This manual is a supplement to the standard library MainStampLib v51 as distributed by Marantz Europe.
P R O G R A M M I N G T H E A O I M A C H I N E
To Program an AOI machine always incorporates two aspects:
B A S I C S
From SW version 3.4.4 onwards (switch on in Supervisor-Other-Extra) when using Packs its
biggest frame receives “Master” status automatically. The Master is usually the body frame;
indicated by green triangle when the pack is closed.
After finding the Master frame, the solder joints are moving with the master frame and
therefore positioned automatically
Master Frame must be absolutely stable in position detection!!
Solder frames must be programmed without additional “find” functions!!
To avoid that solder frames are inspected at the wrong position:
Do not use the MasterFrame function when using LeadGap stamps
Do not use Text or Polarity frames as “Master”
If there are many false alarms in the solder inspection, verify that the master frame is found at
the right position, using the Analysis Button.
MainStampLib V51
The Standard library for the 22X system contains the following categories:
All components have pre-programmed filters and search areas.
IMPORTANT
For every application the settings given, require fine-tuning.
Recommendations in this Filter Guide are subject to changes, new methods and feedback. This
document is to be treated as a guideline only.
C A P A C I T O R S
Basics
Use 3 frames per component:
1. Body presence & rotation check (filter out text influence if text is present)
2. Solder Fillet
3. Solder Fillet
Note: The capacitor packs in the library include these 3 frames.
Body Frames
- Use quite some global blur to compensate
for surface differences
- Grid Preference (& minimum): 10 grid cells
(2x5) per frame
- Grid Maximum: 18 grid cells (3x6) per
frame
I N D U C T O R S ( 2 P I N )
See Capacitors chapter
D I O D E S ( 2 P I N )
Basics
Use 4 frames per component:
1. Body presence & rotation check (hide text influence by filtering)
2. Polarity check
3. Solder Fillet
4. Solder Fillet
Depending on component 1 and 2 can be combined.
Note: The diode packs in the library do not contain the polarity check frame but contain the
other 3 frames.
Body Frames
- Use vertical blur to eliminate gloss while keeping polarity stripes or rings.
- Grid Preference (& minimum): 10 grid cells (2x5) per frame with polarity rings in the size
of the grid
- For Melf (Glass) diodes, for inspection of the polarity, do not put the polarity frame on the
polarity stripe itself but put it on the other side of the melf diode where there is no
stripe, so the system rejects the diode in case of wrong polarity.
R E S I S T O R S
Basics
Use 4 frames per component:
1. Body presence & rotation check
(filter out text influence)
2. Text Identifier
3. Solder Fillet
4. Solder Fillet
For less stringent requirements 1 or 2 can be
omitted.
Body Frames
- Components 0603 and smaller, use Zoom (high resolution)
- Use blur or masking to eliminate text
checking by the body frame.
- Grid Preference (& minimum): 10 grid cells
(2x5) per frame
- Grid Maximum: 18 grid cells (3x6) per
frame
S E M I C O N D U C T O R S
( D I S C R E T E 3 + P I N S )
Basics
Use following frames per component:
Body presence & polarity check (hide text influence by filtering)
Solder Fillets (according to the number of legs)
Note: Due to the text instability on many SOT’s, it is recommended NOT to check text to avoid
too many false alarms.
Body Frames
- Body Frame includes body and a part of all legs
- Visibility of the legs is used for polarity verification
- Alternative frame: small frame between legs, covering part of body and part of PCB to
check presence and polarity
- Mask unnecessary parts of the frame, for example between the legs.
- Use global blur to eliminate gloss while keeping polarity stripes or rings
- Grid Preference (& minimum): 28 grid cells (7x4) per frame to detect polarity and upside
down
- If component body varies from Black to Grey, reduce contrast to reduce false alarms, but
verify absence detection on a non pick&placed PCB.
- On a dark PCB, use Special Camera setting to improve lighting conditions and increase
saturation setting if there is still some detectable colour information in the PCB
S O L D E R
Strategies
There are several factors that determine the inspection strategy. These factors are:
1. Quality of the solder (production process stability)
2. Inspection depth target (Low/high meniscus measuring accuracy)
3. False/real detection ratio target
4. Machine model
5. PCB Finishing
In the following graph you can determine which strategy can be used.
Important notes:
- Wave or selective soldered PCB’s are also considered as “not stable” production
processes. Choose your strategy accordingly.
- The solder joint frames in the library are pre-programmed according to strategy “6” for
DL systems and strategy “4” for CL and lower systems.
- After choosing your strategy, check whether it is safe to use that strategy with the PCB
finishing used! Use the Quick Solder Guide for this purpose.
There are 8 different strategies that can be chosen depending on your criteria.
3. Search for your strategy number in that column. The row where you find the
number is representing the lighting that should be selected.
Note:
- In the places where you see your strategy number or where N/A is written, this
means that it is not safe to use that strategy with its lighting with that finishing.
- If you do not see your strategy number at all, this means that your strategy is not
suitable with your criteria. Try to use a different strategy.
4. After selecting the lighting, use the filter settings as displayed. Leave all other not
displayed settings in their default values.
From Software version 3.4.8 onwards there is a new lighting combination available:
Main+Side+DOAL. This is only available for the DL series. This new light combination gives
more flexibility in solder inspection than all other lighting combinations. Main advantage is that
the finishing of PCB is not an issue anymore which means that you can use this light on any
solder joint (leaded or lead-free) and on any finishing (Gold, Silver, Tin, OSP or HASL).
The MainStampLibrary v50 onwards is specially made with this new light with resized fillet
frames to achieve best balance between real- and false errors.
The main difference when using this light are the filter settings and the frame sizes. The
general filter setting is:
The only setting that is subject to change for different situations is the frame resolution (Nr of
grids).
Chip Components
Under chip components we understand chip resistors, capacitors and inductors.
Choose you frame size as follows (in the MainStampLibrary v51 they are already resized like
this):
The guideline is to have the width of the fillet frame about 80% of the width of the body frame
and the length about 1/3 of this 80%.
The resolution (Nr of grids) should me minimal 2 grids.
NO search area!
SOT’s
This includes all different SOT sizes like SOT23, SOT362 and SOT26A etc.
Choose your frame size as follows; try always to resize the default MainStampLibrary pin frame
size to match something like:
The guideline is to have the width of the pin frame same width as the width of the pad and a
length of until the end of the “knee” of the pin, starting from the body of the SOT.
The resolution (Nr of grids) should be minimal 2 grids (3 is recommended).
NO search area!
This includes all different SO and QFP sizes no matter the pitch size.
Choose your frame size as follows; try always to resize the default MainStampLibrary pin frame
size to match something like:
The guideline is to have the width of the pin frame same width as the width of the pad and a
length of until the “end of solder” on the pad, starting from the “knee” of the pin.
The resolution (Nr of grids) should be minimal 3 grids (more is strongly recommended)
Search area as you can see in the picture.
Others
For any other components, it is always different but always stick to these rules (these rules
apply to every component):
- The fillet frame should only contain solder (red reflection) and not parts of the
component like body or pins.
- Never use less than 2 grids
- Never blur more than 1
- Never use search antenna’s (except of SO and QFP pins)
- Do not make your frames too big
- Add only red, dark red or black reference pictures to the library. NO light red or white
pictures!
Some examples:
I C L E A D S
Basics
The following special filters are available for checking solder bridges between IC Leads
LeadGap Stamp 10x
LeadGap Stamp 20x (Zoom)
The LeadGap stamp is an algorithmic filter. It does not use images or compare images. The
detection of solder bridges is based on local calculation. It finds the position of leads, solder
and PCB automatically. It is designed to check multiple leads at once.
GapOfLead & Short05PitchStamp
To be put between 2 legs. In principle this is a 1-pixel wide Image, with colour detection
switched off. It can also be used for checking individual solder bridge sensitive areas. Gap of
Lead is less sensitive to false alarms.
Leadgap Frames
To avoid parallax errors, only use screen centre for positioning IC LeadGap frames. (When
using TeleCentric Lens (CL and DL), whole screen can be used (no Parallax))
Maximum size of LeadGap frame: <50% of Height of screen (= <100% in Zoom view).
(For 0.6mm pitch and smaller, frame size of <25% is recommended
Include a narrow LeadGap frame around the complete Solder Pad and Complete lead
Position the LeadGap frame with high precision, using the solder pad as reference (not the
IC lead, because position varies)
When (silk) screen printing is inside the LeadGap Frame, bring it out by resizing the
LeadGap frame. If not, screen printing will be detected as a short circuit.
3 Filters
”Continuous testing” Switch on to see result of filtering permanently by the
green Pass Lines in between the leads.
Adjust PCB detection level by “Short detection” (set lever as high as
possible for best detection), with small amounts of White colour appearing between the
leads
Adjust Lead detection level by “Lead detection” so that Lead/Pad width
corresponds with detection level
”Auto brightness” Switch on to compensate automatically for brightness
variations between boards
“Glue leads” Switch on to avoid split leads due to large light/dark variations
over the complete lead. Reduces sensitivity for shorts at the edge, Avoid using this. Use
“Integrate leads” if possible in stead.
“Blur leads” Switch on, to compensate for strong lead surface reflections
(similar as blur)
”Integrate leads” If solid Leads appear splitted, increase to remove the
splits
”Reduce flux” Use if PCB surface between leads is very glossy because of
flux (reduces the sensitivity)
”Reduce pattern” Use to compensate for tracks between leads (reduces the
sensitivity)
“Detour limit” Reduce for small leads to block the Pass Lines if deviating
too much from the straight way-out line (Default = max. 5 pixels deviation) (increases
sensitivity)
“Max pitch diff.” Increase to set the maximum lead pitch-tolerance from the
average value (default 50% width tolerance allowed) (increases sensitivity).
“Test corner shorts” Use to avoid that shorts on the side of IC’s are being
detected as 1 wide lead.
“Include fillet check” Use to automatically duplicate the pin frame to the
number of the pins.
When PCB colour is very light, detection becomes difficult. Use Special Camera Setting and/or
Red Side light to improve detection possibilities:
Basics
Using the filter, emphasize the visibility of the polarity mark as much as possible.
Often the text filter is very suitable for this purpose
Body Frames
Frame based on 50% polarity mark, 50% body (into the frame), to maximize the difference.
Grid cells as big as possible, but cells contain Polarity Mark OR Body, preferably not a
combination of both into one grid cell.
For rectangular polarity marks, use directional blur (type 2 or 3) to emphasize the difference
between mark and body
Start using Filter alternative 1 then 2 etc.
S P E C I A L
CellAidStamp
This stamp works like a local fiducial mark. It starts to inspect items within the same cell
(camera position) after it has calibrated position with the CellAidStamp. In short, this stamp
eliminates mechanical positioning errors of the camera and PCB transport system.
NG Marker Stamps
For use in combination with NG Marking unit
Bar Code
Allows bar Code Reading by the camera machine.
Supported codes:
(decoding of the Bar Code is only done when RC22X is connected via LAN!)
1-Dimensional:
Code 128
Code 39 (decoding done by machine without RC22X)
2-dimensional (Matrix)
QR Code
Data Matrix
The Bar Code must fit in the Field Of View to be able to read the Bar Code!
T E X T
Basics
Frame As close as possible surrounding text
No more than 4 characters per frame
(make multiple short frames if longer text must be checked)
WhiteText1 WhiteText2
LaserText1
Using Fillets processing
(very fast because of flashing side light)
LaserText 2
Using Special Camera Setting and side light
(Remark: Inspection time increases a lot, because the camera will make a new tour over the
PCB after normal inspection to inspect all frames with special camera settings)
MetalText1
Put contrast to B/W.
Starting with 0, adjust brightness till picture is optimally clear.
Increase Autoadjust and hold down to check adjustment range is proper (good visibility of
character over the whole autoadjust range)
MetalText2 TantalumText