Original Publish Date : 4/12/2007
Intelligent design with smart cameras
Machine-vision applications increasingly make use of one-package-does-all cameras.

Machine-vision applications increasingly make use of one-package-does-all cameras.

Leland Teschler
Editor

A smart camera/vision sensor: The recently developed DVT 535C from Cognex Corp. is an example of a smart sensor that comes bundled with imaging software. Color tools for the device include those for sorting, color match, and defect detection.

A smart camera/vision sensor: The recently developed DVT 535C from Cognex Corp. is an example of a smart sensor that comes bundled with imaging software. Color tools for the device include those for sorting, color match, and defect detection.


Visitors to a recent trade show were able to get a firsthand look at what smart cameras can do via a foosball game demo. Vision Components GmbH programmed one of its VC4038E cameras to monitor the movements of the foosball and calculate the optimal position for a goalkeeper. A stepmotor moved the goalie around at the command of a camera-controlled positioning system. Many show goers tried to shoot the ball past the automated goalkeeper, but few succeeded.
Visitors to a recent trade show were able to get a firsthand look at what smart cameras can do via a foosball game demo. Vision Components GmbH programmed one of its VC4038E cameras to monitor the movements of the foosball and calculate the optimal position for a goalkeeper. A stepmotor moved the goalie around at the command of a camera-controlled positioning system. Many show goers tried to shoot the ball past the automated goalkeeper, but few succeeded.

Visitors to a recent trade show were able to get a firsthand look at what smart cameras can do via a foosball game demo. Vision Components GmbH programmed one of its VC4038E cameras to monitor the movements of the foosball and calculate the optimal position for a goalkeeper. A stepmotor moved the goalie around at the command of a camera-controlled positioning system. Many show goers tried to shoot the ball past the automated goalkeeper, but few succeeded.


The Iris P-Series from Matrox Electronic Systems Ltd. Is an example of a smart camera that runs under Windows CE.NET. Developers typically write application code for the camera on a PC and download it to the Iris over an Ethernet link. Matrox engineers say the release of Microsoft's Vista operating system won't impact development efforts for the company's industrial cameras.

The Iris P-Series from Matrox Electronic Systems Ltd. Is an example of a smart camera that runs under Windows CE.NET. Developers typically write application code for the camera on a PC and download it to the Iris over an Ethernet link. Matrox engineers say the release of Microsoft's Vista operating system won't impact development efforts for the company's industrial cameras.


Print-quality verification is one area where smart cameras are frequently applied. In this printing demonstration, two Vision Components GmbH smart cameras (left) check print quality. A third controls print registration. A fourth (right) verifies date imprints.

Print-quality verification is one area where smart cameras are frequently applied. In this printing demonstration, two Vision Components GmbH smart cameras (left) check print quality. A third controls print registration. A fourth (right) verifies date imprints.


Start with an industrial camera and a frame grabber. Then add an image processor. Put it all in an enclosure you can hold in your hand. You have just assembled what today is commonly called a smart camera.

The idea behind smart cameras is to make something small enough to be positioned near rapidly moving machinery or on assemblies that themselves move within an automated system. This lets industrial vision be a candidate for applications at several points throughout a manufacturing or packaging process.

Moreover, smart cameras carry enough software to serve as a complete vision system. They can generate I/O signals in response to such problems as a bad label, a mispositioned part, or a missing feature. So they can be deployed throughout a production line to detect problems and defects as they arise. This sort of quick feedback helps keep manufacturing processes healthy.

The working definition of a smart camera has broadened over the years. It used to be that a typical device in this category included a CCD or CMOS imaging sensor capable of recording a scene, an associated lens system, an embedded computer, and a capacity for managing a few industrial I/O connections. Smart cameras were strictly high-end devices targeting fast production lines or complicated industrial vision problems.

Now, the smart-camera moniker also gets applied to less-sophisticated industrial-imaging products with more modest application targets. Smart cameras on the low end, for example, might contain just a color or a proximity sensor tuned to recognize a few key events transpiring in their sensing window.

Whatever the application, the sensing technology has an important bearing on price. Suppliers of high-end smart cameras, for example, say the sensor accounts for 30 to 40% of their costs. These devices can run into the $10,000 range. They typically include a CCD imager providing up to 2 megapixels (1,600 × 1,200) of resolution.

CCDs are a more-expensive imaging technology than CMOS but they make possible such features as short exposure times on the order of microseconds. CCDs also excel in applications characterized by high frame rates of 100 fps or more. Typical applications include reading small registration marks on pharmaceutical packaging whizzing by at perhaps 10 m/sec.

Smart cameras employing CMOS sensors may be able to hit a few of the same individual performance metrics as those with CCDs, but typically not in combination. The reason is that optimizing a CMOS sensor chip for one or two parameters tends to compromise its performance in other categories.

For example, short exposure times and the electronic shuttering that makes them possible come at the expense of fill factor, the amount of CMOS chip area available for use as light-sensitive elements. This is because shutter electronics must occupy what would otherwise be light-sensitive areas on the chip. CMOS cameras also have less dynamic range (Specifically, the ratio of pixel saturation level to signal threshold.) than CCDs. This is partly because CCDs have less on-chip circuitry that contributes to noise levels.

In general, the higher noise levels degrade image quality somewhat. This may eliminate CMOS cameras from consideration where precise imaging is important.

Both CCD and CMOS-based smart cameras digitize sensor data and transfer it via direct-memory access to a main memory, usually a synchronous dynamic random-access memory. The onboard processor found in smart cameras is typically a digital signal processor. The DSP typically processes image data and delivers typical cycle times of as little as 0.1 sec/part in high-end cameras running sophisticated image-analysis software.

Unlike other kinds of camera systems, smart cameras typically do not generate a video image for viewing in normal operation. They normally communicate with outside devices via 24-V outputs or similar industrial I/O for connecting to PLCs, actuators, and so forth. Smart cameras also typically carry Ethernet connections for transmitting images to outside computers, frequently as a means of archival storage or record keeping.

COMPARING APPROACHES
It is interesting to compare the smart-camera approach to industrial stand-alone cameras used in conjunction with PCs or an operator workstation. In the latter case, cameras typically connect to frame grabbers on PCs through FireWire, Camera Link, USB, or some other broadband connection standard. But bandwidth limitations of these connections can pose problems in high-speed applications. The speed of the connection may be such that the camera must first compress an image before sending it back to the frame grabber. For example, Camera Link provides the highest bandwidth of these standards and hits 1.6 Gbps in its base configuration. At the PC, the frame grabber decompresses and manages the image. The compress/decompress cycle necessary for each image limits the reaction time available for controlling processes or machines.

The fact that smart cameras bundle an image processor with a frame grabber eliminates this potential bottleneck. Close proximity of camera and frame grabber also make possible other operations that come in handy for special imaging tasks. For example, smart cameras can set shutter time for individual frames if necessary. Similarly, they can set the gain and offset for each frame because there is no delay in sending information between the frame grabber and the camera.

Similarly, close proximity between the camera and the DSP handling the image lets Fast Fourier Transforms and other calculations common in image analysis progress quickly. For example, the VC44666 smart camera from Vision Components GmbH carries a Texas Instruments DSP operating at 1 GHz. Its 8,000-Mips computing capacity lets it hit cycle times on the order of 0.1 sec/part depending on feature complexity.

Many of the applications for high-end smart cameras of this nature get programmed by users in C and C++ with help from development tools. Camera makers say this sort of do-it-yourself development affords users some anonymity. For example, a company might devise niche applications in-house this way to avoid divulging information about its internal processes to outside vendors or integrators.

Application programs typically run on the camera through a real-time operating system. In the case of the VC4466, for example, programmers get access to camera functions through a Linux-like RTOS called VCRT. Though most cameras in this class use a DSP, some use some type of Pentium and may run Windows CE or a similar embedded OS.

THIRD-PARTY SOFTWARE
Many camera makers provide canned routines that can be brought to bear on vision applications. The typical user interfaces for such programs are based on spreadsheet inputs, flowchart or icon-based programming languages, scripting, or menus. Users then draw common vision routines from libraries for such tasks as blob analysis, matching colors, or correcting distortions.

Camera vendors have different policies about software bundling. Some offer a software and camera combo. For example, vision supplier Cognex Corp. typically bundles its Intellect vision software with its DVT sensors and cameras. Intellect includes tools such as multiple-image analysis to check for product flaws such as scratches, porosity, and chipped edges. Also included are location algorithms for edges and objects.

However, more-sophisticated software tools tend to be a la carte. Allowing users to get special tools separately keeps down the cost of the overall system, particularly for applications that are relatively simple.

For example, Cognex puts out a separate pattern recognition package called PatMax. It targets complicated applications in areas such as integrated circuit manufacturing because it can, among other things, recognize patterns while tolerating changes in object appearance, detect partially hidden objects, and provide more accuracy than ordinary object location techniques.

MAKE CONTACT
Cognex Corp.,
cognex.com
Matrox Electronic Systems Ltd., matrox.com
Omron Corp., omron.com
Vision Components GmbH, visioncomp.com

Rate / Comment on this Article

Post a comment

Be the first to comment on this article

Login to post a comment
Cine-Digitar 1.33x Anamorphic Lens
Home cinema has finally caught up to Hollywood, and Schneider Optics makes it possible. The Cine-Digitar Anamorphic 1.33x Lens System enables 16:9 digital projectors to fill the entire height and width of 2.35:1 format screens with cinema-quality images, eliminating the letterbox black bars that typically frame the image when a 16:9 projector with a conventional lens projects a Cinemascope movie....
Seismic Protection System
While woodframe structures have historically performed well with regard to life safety in regions of moderate to high seismicity, these types of low-rise structures have sustained significant structural and non-structural damage in recent earthquakes. This NEESWood project, funded by the National Science Foundation, seeks to take on the challenge of developing a seismic design philosophy that will...
Friction Pendulum Sliders
At Colorado State University, Prof. John van de Lindt has applied a base isolation system to a light-frame wood building for shake-table testing. The test structure is supported on a base isolation system consisting of four sliding bearings. The bearings are friction pendulum system (FPS) bearings that isolate the building from the earthquake ground motion by allowing the building to “slide” laterally...
Earthquake Shake Table
At Colorado State University, civil engineering professor Dr. John van de Lindt conducted a series of earthquake shake table tests of a half-scale two-story residential building with an integrated one car garage as part of a National Science Foundation funded NEESWood project task related to seismic protection systems. The overall goal of that task is to enable applications of protective systems...
LG90 HGTV 1,000,000:1 Contrast Ratio
The LG90 provides for the ultra-high 1,000,000:1 high contrast and LEDs that provide whiter whites and richer blacks with the added benefit of increased energy efficiency. LED backlighting also results in more natural color representation and faster response time for smoother, more natural picture motion. LG's Intelligent Sensor provides automatic image quality optimization of brightness and...
The blame game
I feel there was a glaring omission in Mr. Berke's May 25, 2006 column titled "For lack of a guard, a severed hand" — personal responsibility.
Shake, rattle, and modal analysis
FEA can be a useful tool for sizing up resonance problems.
Biomimetics could hold a key to next-generation body armor
Who would have thought that your wife's jewelry holds the secret to better body armor?
What's a mechatronics technician?
When Keith Campbell muses about industrial education, his thoughts go back to his uncle Ralph.
The meaning of bearing life
How long will a bearing last? Standardized life equations help to answer.
Engineering an ad
How do you convince a doubting public your truck is tough? You show them.
Tricked-Out Trucks
Stylists and engineers are exploring new ways to personalize pickup trucks, the best-selling type of vehicle in the U.S.
Tom-Thumb turbines power radio-controlled jets
Engineers have managed to shrink the modern jet engine until it is small enough to fit in model planes.
Engineering in India
Here’s a snapshot of the Indian engineers who increasingly compete for global manufacturing work.
Gulliver's Engines
Shrinking full-scale engines to pocket size is no small feat.
PRODUCT SEARCH
Powered by
SEARCH THE PLASTICS WEB™
Powered by
FORUMS
The effects of economic turmoil?
The news is full of market uncertainty, tight credit, and falling interest rates. Has the economic turmoil affected your work? Are you taking even more...

What’s Tough About Training
I have taught many Mechanial and Electrical Apprentices at a local company the basics and Trouble Shooting skills fr Fluid Power equipment. The classes...

Design Royalties
I was hired at my current position to maintain our machines. Outside of my general job duties I have built a new machine (with company funding) to...

Trustworthy engineer needed
Friends of mine have invented a clever, modular emergency shelter. They need a trustworthy engineer to make a 3D model of to make a prototype....

Dog clutch manufacturers
Can anyone recommend a reliable supplier for a part like the one shown here or on page 57 of Machine Design's Sept. 25 issue? Any suggestions greatly...