Home>Manufacturing Test Center>Test How-To
The multiple smart camera myth: When and how to use multiple smart cameras in complex vision systems
Christopher Chalifoux- October 11, 2012
When smart cameras first came on the market about a decade ago, the machine vision industry declared them ideal for simple, straightforward applications such as presence/absence verification or reading bar codes. The idea was that a smart camera would be used in an application that required just one operation, and they were and still are seen as a stand-alone vision system. But many machine vision systems are complex and require several operations. So can multiple smart cameras be used for more complex applications? Or is a traditional PC-based frame grabber and multiple camera system the only solution? The typical machine vision answer is, of course, that it depends on your application. But there are situations where multiple smart camera systems can do very well compared to a traditional PC-based, multiple camera system.Start with the cars
The automotive industry was one of the first to really embrace machine vision to improve product quality and the production process, mainly to guide the robots. Before smart cameras made their debut in the market, PC-based systems with multiple cameras were used on the factory floors. In the early days, vision systems would have been used for inspection of the final product or verification of a sub-assembly, but today’s vision technology allows companies to include vision at every step of the manufacturing process. One of Teledyne DALSA’s customers is an auto manufacturer who wanted to add more inspection stations on a line. They started with one smart camera, and systematically added more.

Figure 1: The automotive industry was one of the first to embrace machine vision
The assembly line for an engine block is a good example of how multiple smart cameras can be used together. In this case, multiple manufacturing cells are configured to incrementally assemble the product as it moves along the line. Starting from a tray of parts– valves, bolts, cast assemblies, gaskets, and the like –smart cameras in each cell direct robots to pick and place the parts on to the assembly– with each camera configured to pick one part. When the partial assembly is complete, additional cameras verify that the operation was performed correctly, and the assembly moves to the next cell. So in the first part of the cell, the smart cameras are configured to perform part identification using high-level pattern matching or 2D Matrix reading functions, while the other cameras in the cell are programmed to perform post-assembly verification.
80 smart cameras can’t be wrong
A typical engine assembly line can have eight to ten cells, with between four and eight cameras per cell. A system that can have as many as 80 cameras sounds very complex and expensive, so why are smart cameras a good alternative for an application like this?

Figure 2: Multiple smart cameras is a smart way to add more inspection stations on an assembly line
Smart cameras make it very easy for the integrator to add new functionality to an existing system. Because each smart camera is its own entity, it’s completely separate from the other cameras. After a system runs for a few months and the client wants to add another component, adding a new smart camera is simply a matter of configuring it for the required task and adding to the network. When this happened with a traditional PC-based frame grabber system, the integrator would have to change the source code to add the additional camera at the very least, or even add a new frame grabber. More often than not, it’s much easier to program one smart camera for one piece of an application than it is to take one large program – which takes the input from two or three cameras – and weave new code into it and ensure everything is synchronized and the cameras all run at the same time. The automobile assembly plant needs a flexible system that can be easily reconfigured when the specifications change.
The modular nature of smart cameras also makes them ideal for complex applications. Adding them to an existing network is generally easier to do than writing new code. When you do have to add new functionality to the system, you can program that camera off-line and then connect it into your system and test it, live, without disturbing ongoing inspections. When it’s working you will probably need to tweak the central control software, and you do need to be careful about synchronizing and indexing the data.
One of the things that people rarely like to think about is what to do when the system breaks down. Whether the system uses multiple smart cameras or a PC connected to multiple cameras and a frame grabber, some kind of system failure will occur in the future. In general it’s usually safer to have a discreet module like a smart camera so if that one camera fails, the rest of the system may keep running - if you plan it that way. In the event of a smart camera failure, it’s easy to fix or swap it with another unit and keep the whole system running, as opposed to the computer failing, which means nothing is operational.

Figure 3: BOA smart cameras (from Teledyne DALSA) can perform part identification and ensure part traceability throughout the product lifecycle
Cost is another reason why smart cameras make sense for this automobile assembly application. It is a considerable expense to deploy several smart cameras compared to a single computer with attached cameras. However, historically an assembly line would have a camera and a computer for each cell. If the line contained five cells, then the system would require five computers and five cameras, so the costs would add up quickly. For a production line with as many as 80 cameras, smart cameras make financial sense. There can be savings, for example, by replacing five cameras and five computers with five smart cameras on a network and have them send data to the client computer; smart cameras can be less expensive than purchasing multiple cameras and a single computer, but again, it depends on the equipment you need.
Developing a system with multiple smart cameras can also lower development costs. Because smart cameras are configured rather than programmed, vision applications can be developed very quickly – as little as half a day for a simple application. For example, Sherlock or iNspect, Teledyne DALSA’s smart camera environments, use graphical interfaces where the user ‘builds’ the application instead of writing lines of code. Again for an application that requires multiple cameras, engineers can save a lot of time by configuring half a dozen smart cameras instead of cranking out C++ code for the acquisition and processing of those six cameras. In general, the ease of programming means it’s fairly easy to develop an application; the sooner the application is ready, the sooner it can be deployed.
>>So how to choose?



