Manufacturing / Production Technology, Hardware & Services


Moving AOI beyond the grey world

12 May 2010 Manufacturing / Production Technology, Hardware & Services

Most AOI (automatic optical inspection) systems deployed in the electronics assembly industry use greyscale image processing to inspect circuit boards and substrates. But some new generation equipment is taking advantage of colour imaging engines to extend the depth – quite literally – of the analysis process. The objective is to deliver a more confident result by dramatically reducing the occurrence of false alarms – arguably the Achilles heel of modern AOI efficiency. Industry observer David Hughes looks at the differences and likely advantages of getting colourful.

Automatic optical inspection for populated circuit boards is becoming more of an imperative for manufacturers looking to keep productivity rates high while coping with ever smaller components and denser circuit patterns. Add to this a desire to run multiple shifts, or even operate continuously 24/7, and it is clear that the inspection process is something that rapidly moves beyond the capability of human operators.

AOI has a wide range of applications and works on the principle that an optical defect detected requires corrective measures. General advantages include its contactless measuring capability, flexible and fast programming compared to electrical test equipment, and detection of ‘unmeasurable’ RF components. On the flip side, the limitations of AOI include the fact that only visible defects can be detected; and the occurrence of false alarms precipitated by observed visual differences that may be of no detriment to the circuit’s eventual functionality.

The latter point is the agreed bane of all AOI owners – false alarms. All AOI systems inevitably suffer from this to a greater or lesser extent. It is in the nature of a process that attempts to be objective by analysing conditions that are often more subjective.

Experienced human operators can make a judgement, and can be extremely accurate in judging whether a board is good or bad. Of course, the dominance of fine-pitch semiconductor devices with high I/O density, as well as SMD passives with ultra-small outlines, puts modern boards beyond the visual capabilities of the human eye, not to mention the endurance and repeatability of the human brain.

In contrast, a computer controller can only ever arrive at a number and derive a go/no-go result. Pragmatists in the industry concur that this is the reason that AOI can not, and may never, truly be ‘light-outs’ in operation – although that is the Holy Grail for system developers and vendors. Even in-line systems need operator attention to validate a no-go result, but once this is accepted and procedures put in place, modern AOI can contribute significantly to line throughput and feedback valuable data for assembly process refinement and control.

So if the total elimination of false alarms is the ultimate finish line, then dramatically reducing false alarms is a huge leap in the right direction. The first step to reducing false alarms is to accurately describe the component and circuitry under test to the AOI machine. There are many methods employed to do this, with different vendors endorsing a variety of solutions from learning a captured image (or averaging a succession of images) and correlation principles to modelling and programming-in details of each component and board topology. More often than not a combination of techniques is used to refine the AOI’s understanding of its inspection subjects. This process alone is the subject of many articles, so it will not be revisited here.

An empirical method of defining the acceptable window of tolerance for any given component or camera field of view, employed in most AOI systems in one form or another, is to test a number of ‘good’ boards to define the outer limits of acceptance. But capturing images to determine acceptability presupposes that you have a discerning imaging system in the first place. And this is not always so.

Among the key differentiators between modern AOI systems are the deployment of digital cameras with all the associated arguments about resolutions and field of view (FOV), of lighting techniques, of image processing technologies and of colour depth. It is the latter that is discussed primarily here.

The great majority of AOI systems capture colour digital images from the CCD or CMOS camera sensor but use greyscale processing for data analysis. Almost all display a live image in colour on the equipment monitor to allow the operator to see what is going on – but they only process greyscale, either as 8-bit or 16-bit images.

Greyscale is a range of shades of grey without apparent colour. The darkest possible shade is black, which is the total absence of transmitted or reflected light. The lightest possible shade is white – the total transmission or reflection of light at all visible wavelengths. Intermediate shades of grey are represented by equal brightness levels of the three primary colours – red, green and blue (RGB) in camera systems.

The brightness levels of the red (R), green (G) and blue (B) components are each represented as a number from decimal 0 to 255, or binary 00000000 to 11111111. For every pixel in an RGB greyscale image, R = G = B. The lightness of the grey is directly proportional to the number representing the brightness levels of the primary colours. Black is represented by R = G = B = 0 (or binary R = G = B = 00000000), and white is represented by R = G = B = 255 (or R = G = B = 11111111 in binary).

Because there are 8 bits in the binary representation of the grey level, this imaging method is called 8-bit greyscale. In some systems that use the RGB colour model, there are 216, or 65 636, possible levels for each primary colour. When R = G = B in this system, the image is known as 16-bit greyscale because the decimal number 65 536 is equivalent to the 16-digit binary number 1111111111111111. As with 8-bit greyscale, the lightness of the grey is directly proportional to the number representing the brightness levels of the primary colours. As one might expect, a 16-bit digital greyscale image consumes more memory or storage than the same image, with the same physical dimensions, rendered in 8-bit digital greyscale. More on storage and processing solutions will be covered later.

A 16-bit greyscale image gives the AOI processor more data to work with than an 8-bit image. This has nothing to do with the resolution of the camera, which simply relates to the amount of pixel data to process; instead it is about the depth of data available for processing. With more shades of grey to represent subtle variations in colour on the inspection subject, the process can be more discerning – a good start to reducing false alarms. But it is only half a step in the right direction.

To really get the maximum depth of data from a captured digital image – and therefore to have the most data with which to discern subtle characteristics of the imaged subject – full colour processing is required. Full RGB colour requires that the intensities of three colour components be specified for each and every pixel. It is common for the intensity of each component (R, G and B) to be stored as an 8-bit integer, and so each pixel requires 24 bits to completely and accurately specify its colour. Image formats that store a full 24 bits to describe the colour of each and every pixel are therefore known as 24-bit colour images.

Using 24 bits to encode colour information allows 224 or 16 777 216 (approximately 16,8 million) different colours to be represented and this is sufficient to cover the full range of human colour perception pretty well. So an AOI imaging system that captures and processes 24-bit colour should at least be capable of discerning as much as an experienced human operator. And as with all effective automation solutions, it can do it a lot faster and continuously.

24-bit colour demands more processing power and greater data storage capacity.

Today however, cost-effective memory and hard drive storage options are abundant. And Moore’s Law still holds true in the exponential growth of computer processing power over time.

All AOI systems from Marantz Business Electronics use 24-bit colour technology and deploy every graphic designer’s favourite tool to cope with the 24-bit image processing workload – an Apple Mac at the heart of every machine. Macs are renowned for their exceptional graphics capability.

An obvious advantage of 24-bit colour AOI is the ability to discern colours for certain components and printed legends. Combined with synthetic modelling principles that start with a ‘real’ picture, very accurate yet flexible models can be quickly produced that incorporate an optimum tolerance, which alleviates the possibility of an operator wrongly ‘adding’ an incorrect component to the acceptability range – thereby widening the window so much as to make the inspection meaningless.

Detecting colour on components is useful for melf resistor banding and orientation of melf diodes. It is also very useful for checking LED colours. Greyscale struggles with the difference between red and green – the most common colours for LEDs. But component colour checking is only the tip of the iceberg. And like an iceberg, it is the depth that matters.

Among the common causes of false alarms are simple factors like board colour, board surface finish and the contrast between boards and components. Here, 24-bit colour can make a huge difference. Figure 1 illustrates examples of greyscale versus 24-bit colour for a simple SMT component and then a missing component.

Figure 1. 24-bit colour makes missing components easier to detect
Figure 1. 24-bit colour makes missing components easier to detect

For verifying melf diodes for polarity, Figure 2 illustrates the poor contrast in greyscale that makes for difficult detection against the contrast and detection improvement available with full 24-bit colour.

Figure 2. Melf diode polarity detection
Figure 2. Melf diode polarity detection

Another example of the advantage of colour image processing is shown in Figure 3 with the detection of coloured LEDs. Are those two LEDs red, green, amber, blue, clear or some other colour? Moving out of the grey world makes it clear that they are red.

Figure 3. LED colour detection is difficult in greyscale
Figure 3. LED colour detection is difficult in greyscale

Again, looking at melf resistor values, greyscale imaging presents a difficult subject to discern (Figure 4a). 24-bit colour (Figure 4b) gives a different depth. These were imaged using normal lighting. Introducing additional technologies like coaxial lighting and data processing techniques such as synthetic imaging (Figure 4c) indicate just how much detection improvement can be gained when starting with 24-bit colour data.

Figure 4. Melf resistor value detection
Figure 4. Melf resistor value detection

Some of the practical examples shown above clearly illustrate how the depth of 24-bit processing can contribute significantly to the improvement of detection accuracy by helping to eliminate false defects. But what about getting to that point in the first place? Here again, true colour processing power provides a significant difference.

Traditionally, the bane of AOI has been the level of expertise and/or the amount of programming time that must be invested before the machine can even begin its inspection task. This means that truly useful new-product inspection programs often require too much programming time for today’s high-mix, quick-turn manufacturing environments. ‘Useful’ inspection programs optimise the balance between failing to detect true defects (known as escapes) while at the same time maintaining a low false defect rate.

Combining sophisticated device libraries for component identification with the import of pick-and-place program data for positional location is one example of the manner in which AOI machine programming can be accelerated. Achieving an optimal balance of true defects and false alarms quickly is the ultimate measure of fast programming. A system that is fast to program but which overlooks real defects (i.e. permits escapes) is just as useless as one that finds all defects and bombards operators with false alarms. In the latter case, operators will more and more quickly click through the many false alarms they are seeing and inevitably begin passing through real defects (operator escapes).

Modern AOI systems typically offer ongoing learning that can gradually weed out many false alarms, and indeed, 24-bit processing can dramatically accelerate that artificial intelligence process. But total reliance upon such an approach not only runs fundamentally against lean manufacturing principles, it is volume dependent and thus totally unsuitable for NPI and other high mix manufacturing situations where an effective AOI implementation can potentially deliver the most positive impact.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Filling high-end PCB manufacturing gaps to accelerate AI electronics growth
PCBWay Manufacturing / Production Technology, Hardware & Services
[Sponsored] In the digital era, AI and big data technologies are developing at a rapid pace. PCBWay is continuously advancing its PCB manufacturing technology to support the growth.

Read more...
Microtronix revives defunct cell phone plant
Microtronix Manufacturing Editor's Choice Manufacturing / Production Technology, Hardware & Services
In a significant move for South Africa’s struggling electronics manufacturing sector, local technology firm Microtronix has breathed new life into a formerly defunct cell phone manufacturing facility.

Read more...
Manufacturing with purpose
Production Logix Manufacturing / Production Technology, Hardware & Services
How Production Logix is setting a new benchmark for high-reliability, locally manufactured electronics.

Read more...
Recent purchase of Seica Flying Probe tester
ZETECH ONE Manufacturing / Production Technology, Hardware & Services
Zetech One recently supplied a Seica Flying Probe tester to Etion Create for use in the development and manufacture of its electronic solutions.

Read more...
Why accurate PCB measurement is critical for quality control and inspection
ZETECH ONE Manufacturing / Production Technology, Hardware & Services
Accurate inspection of dimensions, hole placement, and track layout plays a vital role in meeting product standards across consumer, telecom, aerospace, and medical devices.

Read more...
Compact but powerful soldering system
Truth Electronic Manufacturing Manufacturing / Production Technology, Hardware & Services
The Economy SIG is EPM’s compact wave soldering solution, designed to bring professional-grade soldering capabilities to small and medium-scale electronics producers.

Read more...
Jemstech expands capabilities with new equipment and leadership appointment
Jemstech Manufacturing / Production Technology, Hardware & Services
Jemstech has recently enhanced its manufacturing capabilities by installing new selective soldering equipment and appointing an experienced business development manager.

Read more...
In-circuit testing vs functional testing
MyKay Tronics Manufacturing / Production Technology, Hardware & Services
Achieving zero defects in printed circuit board assemblies (PCBAs) demands rigorous validation on both the component level and system level.

Read more...
Select coat ultrasonic cleaning station
Techmet Manufacturing / Production Technology, Hardware & Services
Nordson Electronics Solutions has announced their latest technology innovation for conformal coating systems, the ASYMTEK Select Coat SL-1040 Ultrasonic Cleaning Station.

Read more...
How smart components drive sustainable industrial efficiency
TRX Electronics Editor's Choice Manufacturing / Production Technology, Hardware & Services
Manufacturing industries across South Africa face mounting pressure to reduce operational costs whilst meeting increasingly stringent environmental regulations, and the path to achieving these goals lies in embracing advanced electronic components that enable smarter, more efficient industrial operations.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved