SCADA/HMI


Creating a high throughput vision-based system for pencil sorting

July 2007 SCADA/HMI

Where would you start if faced with the challenge to develop an automated sorting and ejector system that can sort two million pencils per day of different wood types, textures, and lead colours?

One company solved this problem by building a high-speed sorting system using the NI Vision Development Module, LabVIEW, digital image acquisition hardware, and IMAQ Vision Builder.

Eliminating defects with an automated system

Pencils consist of a pencil lead enclosed by a wooden casing. During the manufacture of pencils, leads are sandwiched between two wooden pieces, referred to as slats, and individual pencils are then separated by a sawing process.

During this process, a number of defects can be induced, such as missing leads, lead offset, and misalignment of slats. As a natural raw material, wood is prone to have defects, such as pieces chipped off, holes, and other faults that affect the pencil both functionally and aesthetically. Defects, such as lead offset, cause pencil leads to break during the sharpening process. Defective components must be removed before they are moved on to the subsequent processes of lacquering and finishing.

Prior to developing this sorting solution, more than 120 people were manually removing these flawed pieces and the quality of sorting was unsatisfactory. For example, lead offset has to be contained to within 300 microns for more demanding markets and it was impossible to reliably inspect such parameters manually. The quality of manual inspection was sub-standard, and the manufacturer was calling for a fully-automated system to perform this critical function.

The project specification

The specification required:

* High-speed inspection and sorting of pencils at more than 23 pencils per second.

* Sorting of pencils into different bins based on defect type. The requirement was to inspect the end faces of the pencils and classify the pencils into four categories: side A good, side B good, both sides good, and both sides bad. A side of the pencil is considered good if its edge face is clean without defects, such as lead centre offset, lead end defects, and cracks.

Pencil end defects for which vision-based sorting system looks
Pencil end defects for which vision-based sorting system looks

The manufacturer wanted a cost-effective test system that could provide:

* Flexibility to accommodate different categories of customers with different quality expectations. The system needed to be able to accommodate different types of pencils introduced in the future.

* An aggressive delivery schedule of 16 weeks for the complete sorting machine.

* A compact footprint to enable efficient use of valuable manufacturing floor space.

The successful machine builder presented a solution using line scan digital cameras and image processing software from National Instruments. LabVIEW Real-Time was considered to provide the hard, realtime response that is needed to precisely fire the ejectors but in the final instance a PCI-based solution was selected due to the higher processing power available on that platform. Benchmarking studies conducted with IMAQ Vision Builder clearly indicated the need for a 2,5 GHz processor.

Two cameras provide a complete view

The system that the machine builder created consists of two high-resolution, high-speed monochrome line scan cameras focused at opposite ends of the pencil. Motorised filter wheels enable an automatic filter change depending on the pencil lead colour. These cameras are connected to two separate PCI-1422 digital frame grabber cards and are positioned so the camera axis is in line with the pencil axis as it travels on the conveyer. Appropriate magnification optics and lighting equipment are provided.

The control unit of the conveyor is interfaced to the PCI-6025E data acquisition and control card to set the speed of the conveyor and to acquiring position information from a 2500 pulse per revolution encoder. The pneumatic ejection system is connected to the digital lines of the DAQ card through an interface card that synchronises the high-speed ejectors and drives the valves. A 2,5 GHz PC with high-speed RAM performs the image acquisition and processing. The PC is installed along with the external circuitry in an airconditioned panel to maintain constant conditions irrespective of the ambient.

The application software running in the PC processes the data acquired from both cameras. Based on the defect definitions, the system classifies images as either good or bad. The system then sends this information to the external interface card where it is stored in a FIFO memory buffer. This information from the PC, along with the encoder information and validity signals from the cameras is used to synchronise the ejectors.

A crucial part of the development cycle was the creation of image processing algorithms. They had to be sophisticated enough to detect the different defect types under varying conditions, and at the same time, perform within the very short time period available. NI Vision Builder for Automated Inspection, with its performance meter, helped to accomplish this task.

For more information contact National Instruments South Africa, 0800 203 199, [email protected], www.ni.com





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Smart HMI with outstanding features
Vepac Electronics SCADA/HMI
The cMT X-Series from Vepac Electronics offers smart HMI, with a focus on software features for data integration, monitoring, and cloud connectivity.

Read more...
Display panel with brilliant screen and fast response
Vepac Electronics SCADA/HMI
The new HTLM5 WebPanel series from Vepac Electronics impresses with its brilliant display and very fast response during operation.

Read more...
Systems for mobile machines
ifm - South Africa SCADA/HMI
With the new compact ecomatDisplay with a screen diagonal of 11 cm, ifm electronic is setting new standards in the human-machine interface.

Read more...
VEICHI Industrial HMI VI20 series
Conical Technologies SCADA/HMI
The VEICHI industrial HMI VI20 series is a new generation of IOT human machine interfaces with an industrial ABS plastic shell and high reliability. The new model comes with a more practical down-cable approach and is better looking, resulting in a more satisfying interface.

Read more...
Visualisation and automation solutions for marine demonstration
Emerson Automation Solutions SCADA/HMI
Emerson now offers a free template configuration for marine applications, based on its Movicon.NExT HMI/scada system, and its PACSystems edge controllers, industrial panel PCs, and other control and networking products.

Read more...
Valio invests in cheese manufacturing
SCADA/HMI
Finnish food company, Valio is making a significant investment of over €60 million in the cheese production process at its Lapinlahti plant.

Read more...
New industrial control and communication range
RS South Africa SCADA/HMI
RS South Africa has announced RS PRO’s new Industrial Control and Communication range, adding 1250 new products across more than 18 technologies to RS PRO’s existing automation and control portfolio of over 41 000 products.

Read more...
HMI with maximum performance in the smallest of spaces
ifm - South Africa SCADA/HMI
Whenever clear communication, precision and performance in the smallest of spaces are required, the most compact member of ifm’s ecomatDisplay family is the perfect choice. The 11 cm HMI makes no compromises when it comes to human-machine interaction.

Read more...
Real-time data acquisition and reporting
Adroit Technologies SCADA/HMI
As the authorised distributor for Mitsubishi Electric’s Factory Automation, Adroit Technologies provides a range of factory automation products that include scada, PLCs, drives, HMIs and robots. Together, ...

Read more...
Upgrading your control system? Avoid these myths and misconceptions
Iritron SCADA/HMI
An upgraded control system has many benefits. However, the industry is plagued with control system upgrade myths and misconceptions. We explore the most common misconceptions and provide recommendations for mitigation.

Read more...