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:

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...
Display for controlling mobile machines
ifm - South Africa SCADA/HMI
The new ecomatDisplay dialogue modules from ifm have been developed for use in cabins and outside vehicles.

Read more...
Scada systems essential for smart, sustainable water sector
ABB South Africa SCADA/HMI
Uptake is hampered by a lack of project funding and slow implementation. Only when plants are automated can responsible water use be implemented effectively.

Read more...
Circular TFT displays with rotary switch
SCADA/HMI
The display sizes available are 1,3-inch, 2,1-inch, and 2,47-inch, making them ideal for applications such as heating systems, industrial controls, IoT devices and boilers, among others.

Read more...
Intuitive visualisation for the digital age
Emerson Automation Solutions SCADA/HMI
Emerson’s new PACSystems RXi HMI delivers intuitive graphics, smartphone-like usability, collaboration from anywhere and industrial ruggedness.

Read more...
Visualisation system sets new standards
Siemens South Africa Editor's Choice SCADA/HMI
The combination of Simatic HMI Unified Comfort Panels with WinCC Unified software, augmented with open APIs and option packages, delivers a fully scalable system for operator control and monitoring.

Read more...
Move over scada – New OIT/HMI systems provide increased choice
Omniflex Remote Monitoring Specialists SCADA/HMI
Omniflex’s EasyView range of HMIs can communicate with a variety of PLC and PAC hardware, and provides engineers with a flexible system to manage plant operations.

Read more...
Why telemetry should form a critical part of your water management systems
Schneider Electric South Africa SCADA/HMI
A complete, integrated sensor-to-enterprise solution can help utilities and operations to manage and run secure and reliable water infrastructure.

Read more...