Vision system cuts downtime, improves inspection productivity 60%

Royal Canadian Mint uses a machine vision system to improve inspection productivity from 25,000 to 40,000 rolls per shift, cut downtime, and reduce manual tasks.


Eascan inspection and packaging machine. Courtesy of Cognex.Royal Canadian Mint (RCM), producer of coinage and currency, uses advanced automation equipment to count and wrap pennies in rolls. In the past the rolls were manually inspected for the number of pennies contained and the integrity of each package. Recently, the Mint improved efficiency by implementing a machine vision system that checks the package to make sure it is intact and verifies that the roll is the correct length. Machine vision improved inspection productivity from 25,000 to 40,000 rolls per shift, reduced downtime, and eliminated a difficult and troublesome manual task. A commercial Crown corporation of the Government of Canada, the RCM has more than 800 employees with facilities in Ottawa and Winnipeg, and has a worldwide reputation for product quality, customer service, and minting technology. RCM’s business lines include Canadian and foreign circulation coins, numismatic coins (for collectors), gold, and other bullion investment products and refining. RCM produces all of Canada's circulation coins and is a leading producer of coins for foreign countries with approximately a one-third share of the world market. From 1976 to 2010, the RCM has manufactured coins for 75 countries. These coins are produced at the Royal Canadian Mint's facility in Winnipeg.

Close-up of inspection station with Checker vision station at far left. Courtesy of Cognex.Penny manufacturing

The metal disks, called blanks, that become pennies are first run through a rimmer that forms the circumference of the blank to achieve a raised edge. The blanks are then mechanically fed into a coining press. Two coin dies come together to strike the image on both sides of the coin at once. The coin is then ejected from the press, fed through an optical inspection process, and then goes into a packaging machine. The machine accumulates 50 pennies and then inserts a metal ball between every 50th penny and the start of the new roll. The machine then extrudes a continuous plastic tube around the pennies and steel balls, cuts the tube at each ball, and separates the finished rolls from the balls (which are reused for more rolls).

Problems can occur in the automated boxing process.

  • The steel ball might not be rejected, in which case it might be wrapped into a roll of pennies or might remain loose on the conveyor.
  • If a ball is missing, then a roll might be created with too many pennies.
  • Rolls are sometimes created with fewer than the specified number of pennies.

In the past, an operator was responsible for watching the rolls as they came by and pushing a button to reject any nonconforming rolls. Manual inspection created the potential for error. When a long roll, short roll, or ball bearing slipped through, it would jam the automated boxing machine down-line that put the rolls into boxes. It took about five minutes to clear the wrapping machine.

Machine vision inspection

In recent years, vision systems have become more powerful and less expensive, so the mint decided to take another look at automating inspection of the pennies. RCM discussed potential automation solutions with Eascan Automation Inc., a custom machine builder that provides mechanical design, fabrication, assembly, testing, service, and support of automated machine solutions. 

“We looked at the application and quickly determined that the boxing portion of the application could not be accommodated by conventional solutions, and that the inspection operations would require a particularly creative solution,” said Phil Bernardin, owner of Eascan.

“Machine vision has long been much more intelligent than other types of sensor technologies, but until recently, it was expensive, bulky, and difficult to configure. But these issues have been all but eliminated in recent years with the introduction of a new generation of vision technology. The cost of vision technology has dropped to the point that you can purchase a very capable system for under $1,000. The latest vision sensors are self-contained and quite compact. Most important, point-and-click interfaces combined with high-level vision tools make it possible for even first-time users to configure and maintain vision applications in a matter of minutes.

“We selected the Cognex Checker 3G1 vision sensor for this application because of its low cost, small size, and wide range of capabilities,” Bernardin added. Checker vision sensors integrate lighting, optics, camera, processor, and I/O in an industrial IP67 housing small enough to fit into the tightest of spaces. Checker technology detects and inspects parts by understanding what they look like. This approach overcomes varying part positioning, which eliminates the need for costly fixturing. An intuitive GUI makes it possible for even a first-time user to set up an application in minutes.

Developing the application

Bernardin assisted in the design of the inspection and automated boxing machine that accepts wrapped rolls from the upstream wrapping machine. He then set up the vision sensor to interface with the Allen-Bradley MicroLogix 1500 programmable logic controller (PLC) from Rockwell Automation, which operates the packaging machine. He connected the vision sensor to the PLC with a 12-conductor cable. The inspection operation begins when a proximity sensor detects an object moving down the conveyor and triggers an image acquisition. The camera then sends a “Part Pass” and a “Part Detected” to the PLC. The PLC is programmed so that if a roll is not found within 100 milliseconds of an object being detected, then the object is rejected by an airstream. In nearly every case, the rejected objects are the steel balls used in the packaging process of the rolls. 

Bernardin began programming by connecting the vision sensor to a PC, installing the programming interface on the PC and positioning the vision sensor to capture an image of a roll of pennies. Light reflects off the crest of the pennies through the transparent wrap and creates a bright rectangle. The steel balls, if they are present, generate a point source of light. Bernardin created a search region around the roll and selected a brightness tool. He used the pattern tool to ensure that the sensor detected the roll every time. When a roll is found, the vision sensor activates a static output that is connected to the PLC. When the pattern tool finds a roll, two contrast tools are applied at either end of the bright region to locate the ends of the roll. The difference between the x-coordinates of these two contrast tools is then calculated to determine the length of the roll. This number is in turn divided by the thickness of a penny to determine the number of pennies in a roll.

Bernardin said the contrast tools on the 3G1 are capable of determining the number of pennies in the roll to +/-2. In this application, it’s only important to know the approximate number of pennies, so he opened up the tolerance of the contrast tool to be certain to detect rolls with gaps between pennies which are rejected. If the number of pennies is below or above the allowable limits, then the vision sensor activates another static output connected to the PLC to indicate that the roll has failed inspection. In that case, the PLC rejects the part.

Bernardin tested the program and determined that it provides very high accuracy in detecting nonconforming and good rolls, as well as the steel balls. He then set up the Cognex Checker programming interface, which provides access to the same graphical programming interface that is used to program the application. He trained the machine operators to maintain the program. The operators now can make changes to the program on their own. For example, if the camera moves they can easily change the inspection regions. The machine built by Eascan then stacks 50 rolls into a cassette and puts the rolls in a box.

“This inspection system offers advantages to the automated boxing machine,” Bernardin concluded. “It has nearly eliminated downtime caused in the past when nonconforming rolls or ball bearings jammed up the machine. It inspects rolls at a rate of 40,000 per shift, much faster than a human inspector, making it possible to increase the speed of the automated machinery. The vision system is robust and can be easily maintained by shop personnel. In the end, it is a much better way to inspect rolls of pennies.” 

Mint vision inspection application at a glance

Key points of the Royal Canadian Mint application:

  • Missed manual inspection jammed the automated boxing machine that put coin rolls into boxes, taking 5 minutes to clear the wrapping machine.
  • Eascan Automation Inc., a custom machine builder, noted that a capable vision system, under $1,000, has self-contained, compact vision sensors, with point-and-click interfaces and high-level vision tools. These enable first-time users to configure vision applications in minutes.
  • PLC is programmed so that if a roll is not found within 100 milliseconds of an object being detected, then the object is rejected by an airstream.
  • Machine operators were easily trained to maintain and change the program; if the camera moves they can easily change inspection regions.
  • Downtime is nearly eliminated; rolls are inspected at 40,000 per shift (up from 25,000 rolls), making it possible to increase the speed of the automated machinery.

No comments
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2013 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
The true cost of lubrication: Three keys to consider when evaluating oils; Plant Engineering Lubrication Guide; 11 ways to protect bearing assets; Is lubrication part of your KPIs?
Contract maintenance: 5 ways to keep things humming while keeping an eye on costs; Pneumatic systems; Energy monitoring; The sixth 'S' is safety
Transport your data: Supply chain information critical to operational excellence; High-voltage faults; Portable cooling; Safety automation isn't automatic
Case Study Database

Case Study Database

Get more exposure for your case study by uploading it to the Plant Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.

These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.

Click here to visit the Case Study Database and upload your case study.

Maintaining low data center PUE; Using eco mode in UPS systems; Commissioning electrical and power systems; Exploring dc power distribution alternatives
Synchronizing industrial Ethernet networks; Selecting protocol conversion gateways; Integrating HMIs with PLCs and PACs
Why manufacturers need to see energy in a different light: Current approaches to energy management yield quick savings, but leave plant managers searching for ways of improving on those early gains.

Annual Salary Survey

Participate in the 2013 Salary Survey

In a year when manufacturing continued to lead the economic rebound, it makes sense that plant manager bonuses rebounded. Plant Engineering’s annual Salary Survey shows both wages and bonuses rose in 2012 after a retreat the year before.

Average salary across all job titles for plant floor management rose 3.5% to $95,446, and bonus compensation jumped to $15,162, a 4.2% increase from the 2010 level and double the 2011 total, which showed a sharp drop in bonus.

2012 Salary Survey Analysis

2012 Salary Survey Results

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.