Image Acquisition Technology

Similar documents
About... D 3 Technology TM.

Sapera LT 8.0 Acquisition Parameters Reference Manual

New GRABLINK Frame Grabbers

When to use External Trigger vs. External Clock

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

Training Note TR-06RD. Schedules. Schedule types

Understanding Compression Technologies for HD and Megapixel Surveillance

microenable IV AD1-PoCL Product Profile of microenable IV AD1-PoCL Datasheet microenable IV AD1-PoCL

Fast Quadrature Decode TPU Function (FQD)

microenable IV AS1-PoCL Product Profile of microenable IV AS1-PoCL Datasheet microenable IV AS1-PoCL

Applying Machine Vision to Verification and Testing Ben Dawson and Simon Melikian ipd, a division of Coreco Imaging, Inc.

Choosing the Right Machine Vision Applications

Data Converters and DSPs Getting Closer to Sensors

DT3130 Series for Machine Vision

Logic Analysis Basics

Logic Analysis Basics

BUSES IN COMPUTER ARCHITECTURE

microenable 5 marathon ACL Product Profile of microenable 5 marathon ACL Datasheet microenable 5 marathon ACL

In-process inspection: Inspector technology and concept

Scan. This is a sample of the first 15 pages of the Scan chapter.

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module

Processor time 9 Used memory 9. Lost video frames 11 Storage buffer 11 Received rate 11

Application Note. MultiCam Acquisition Principles

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

MELSEC iq-r Inter-Module Synchronization Function Reference Manual

Dual Link DVI Receiver Implementation

PIECEWISE PRODUCTION MACHINES

VEHICLE TELEMETRY DATA IN THE VERTICAL BLANKING INTERVAL

microenable IV AD4-LVDS Product Profile of microenable IV AD4-LVDS Datasheet microenable IV AD4-LVDS

Ending the Multipoint Videoconferencing Compromise. Delivering a Superior Meeting Experience through Universal Connection & Encoding

Camera Interface Guide

ECE532 Digital System Design Title: Stereoscopic Depth Detection Using Two Cameras. Final Design Report

Logic Analyzer Triggering Techniques to Capture Elusive Problems

Parade Application. Overview

CSE 352 Laboratory Assignment 3

Reducing Waste in a Converting Operation Timothy W. Rye P /F

1ms Column Parallel Vision System and It's Application of High Speed Target Tracking

The software concept. Try yourself and experience how your processes are significantly simplified. You need. weqube.

Motion Video Compression

Product Profile of microenable 5 VQ8-CXP6D ironman

IMS B007 A transputer based graphics board

2.6 Reset Design Strategy

Synchronization Issues During Encoder / Decoder Tests

NI-DAQmx Device Considerations

COLORSCAN. Technical and economical proposal for. DECOSYSTEM / OFF.A419.Rev00 1 of 8. DECOSYSTEM /OFF A419/09 Rev November 2009

Major Differences Between the DT9847 Series Modules

Scalable, intelligent image processing board for highest requirements on image acquisition and processing over long distances by optical connection

Dancer control slims down while gaining functionality

Modeling Digital Systems with Verilog

Vision Standards Bring Sharper View to Medical Imaging

Release Notes for LAS AF version 1.8.0

HIGH SPEED ASYNCHRONOUS DATA MULTIPLEXER/ DEMULTIPLEXER FOR HIGH DENSITY DIGITAL RECORDERS

Online Detection and Characterization of MPB Wood furnish to Optimize OSB Mill Processing Efficiency

Evaluating Oscilloscope Mask Testing for Six Sigma Quality Standards

Digital Audio Design Validation and Debugging Using PGY-I2C

Simulation Mismatches Can Foul Up Test-Pattern Verification

THE LXI IVI PROGRAMMING MODEL FOR SYNCHRONIZATION AND TRIGGERING

Analyzing 8b/10b Encoded Signals with a Real-time Oscilloscope Real-time triggering up to 6.25 Gb/s on 8b/10b encoded data streams

On the Rules of Low-Power Design

The software concept. Try yourself and experience how your processes are significantly simplified. You need. weqube.

Memory-Depth Requirements for Serial Data Analysis in a Real-Time Oscilloscope

Asynchronous inputs. 9 - Metastability and Clock Recovery. A simple synchronizer. Only one synchronizer per input

Video Surveillance *

ISELED - A Bright Future for Automotive Interior Lighting

DT9837 Series. High Performance, USB Powered Modules for Sound & Vibration Analysis. Key Features:

Fingerprint Verification System

Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster

BTA SERVICE OFFERINGS

FLIR ResearchIR Frame Grabber Installation Manual

Simple motion control implementation

DXP-xMAP General List-Mode Specification

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE. On Industrial Automation and Control

Sony XCD V60CR cameras to inspect automotive cables

ni.com Digital Signal Processing for Every Application

Switching Solutions for Multi-Channel High Speed Serial Port Testing

Session 1 Introduction to Data Acquisition and Real-Time Control

Burroughs. The NDP Quantum Series. State-of-the-Art Technology. Taking Performance to New Levels. Payment Systems. Maximize Your Return

Digital Logic Design: An Overview & Number Systems

Is Optical Test Just an Illusion? By Lloyd Doyle. Background

Improving EPICS IOC Application (EPICS user experience)


Review Report of The SACLA Detector Meeting

Using SignalTap II in the Quartus II Software

APPLICATION NOTE. Fiber Alignment Now Achievable with Commercial Software

Quick Reference Manual

PulseCounter Neutron & Gamma Spectrometry Software Manual

Revolutionary AOI Technology, Unbelievable Speed World's Fastest and Most Accurate 3D SPI

Testing Digital Systems II

VIRTUAL INSTRUMENTATION

Realizing Waveform Characteristics up to a Digitizer s Full Bandwidth Increasing the effective sampling rate when measuring repetitive signals

Integration of Virtual Instrumentation into a Compressed Electricity and Electronic Curriculum

AIMCAL FALL CONFERENCE. More Than Defect Detection. The Real Value of Web Inspection

Jürgen Wüst 2008 年 10 月

What's the SPO technology?

High Performance Raster Scan Displays

V9A01 Solution Specification V0.1

DELL: POWERFUL FLEXIBILITY FOR THE IOT EDGE

At-speed testing made easy

THE ESSENTIAL GUIDE TO D I G I TA L V I D E O. c a p t u re. R i c h a rd DeHoff, Ph.D Imagenation Corpora t i o n

R Fig. 5 photograph of the image reorganization circuitry. Circuit diagram of output sampling stage.

Transcription:

Image Choosing the Right Image Acquisition Technology A Machine Vision White Paper

1 Today, machine vision is used to ensure the quality of everything from tiny computer chips to massive space vehicles. Machine vision has evolved to become a vital and effective automation tool that enables computers to replace human vision in many highspeed and high-precision manufacturing applications. While improvements in the performance of this technology have encouraged more and more companies to adopt machine vision, significant challenges remain in designing and building highly reliable vision systems for truly demanding applications. Not the least of these is the challenge of integrating a number of discrete components that must work together efficiently in any system. This white paper will focus on one of the key processes within the vision system the image acquisition process and more specifically, on the image acquisition board (frame grabber) and its related software. It will outline the critical functions these components play and discuss some of the recent engineering innovations being deployed to significantly increase the reliability of this process. FUNCTIONS DISCUSSED INCLUDE: Programmable Delays Managing False Triggers Time Stamping Circular Buffers Validating Data Integrity Frame grabbers play an essential role in ensuring that a machine vision system acquires an image of the correct target, and that the stored image data correlates to the correct target and that the data is then transferred reliably to the system's memory for processing. Achieving this level of dependability requires integrating various image acquisition control functions including trigger inputs, strobe outputs, camera control signals and external I/O into on-board hardware, and using software functions for command and control. BACK REJECTOR SENSOR PATH REJECT BIN IMAGE DATA + CAMERA CONTROL PC PROCESSING GOOD ING CONTROL Typical Machine Vision System

2 ACQUIRING THE RIGHT TARGET Integrating camera control functions such as trigger and strobe control into a vision system's on-board hardware sounds simple enough: a trigger input generates a strobe output for lighting control and camera exposure. Some circumstances, however, demand a delay between the two events, such as when the camera and lighting units are not in the same position on the conveyor as the trigger sensor. Coordinating the events through software is certainly not reliable especially given the inherent variations in the Windows operating system. To compensate, some frame grabbers permit programmable delays between the signals, so that developers can establish a precise delay between the trigger input and the firing of the lighting and camera exposure. Unfortunately, any programmed delay reflects only the theoretical speed of a production line. If the actual speed differs or is not constant, the camera will not acquire the target properly. In contrast, a frame grabber that includes an integrated trigger and strobe mechanism always matches the production line's actual speed by establishing each delay according to shaft-encoder ticks. This feature allows proper control of the camera to capture the image of the target being inspected. Although these hardware features remain under software control, once initialized they act independently to produce consistent and predictable results. TRIGGERS, TRIGGERS, AND MORE TRIGGERS After a camera sensor acquires a target image, the inspection system must read the data from the sensor and transfer it to the host computer for processing. It's nearly impossible to anticipate all the conditions that could lead to unreliable image acquisition. The sensor may never detect the object in the first place, so it won't generate a trigger signal to the system. To combat this possibility, some frame grabber manufacturers are working with camera vendors to take advantage of the new camera models' fast-scan and partial-scan modes that allow the frame grabber to act as the triggered device. Too many triggers (as in false triggers) can also occur. Or triggers can follow so close together that the system cannot read the sensor memory completely before the next exposure occurs. In this case, the system can notify the host application software of missed triggers through event callbacks. The analysis software becomes aware of the double trigger and automatically rejects the target into the "not inspected" bin, flags the error for a human operator to review or takes other appropriate action. TIME STAMPS Detecting targets, firing lighting strobes and cameras when the targets are in place and reading the correct data from the sensor are only the beginning of a reliable image acquisition process. The system also has to coordinate the image data and correlate the images with the corresponding physical objects. Consider a parts-handling unit processing up to 3600 parts/minute. The system must inspect all four surfaces of each part. Because of positioning, it cannot acquire all four images at the same location, but must acquire them individually as the target moves through the system. The imaging system must therefore acquire 14,400 images/minute and correlate four different acquisition locations with the image data stream. As each object emerges from material handling, the inspection system must decide whether to accept, reject or re-inspect it. visit us online @ www.imaging.com

3 To correlate all this data, a frame grabber can add an important piece of information to the mix: a time stamp. A time stamp inserts a unique time code into the image data structure, derived either from an on-board hardware clock or from the shaftencoder ticks. This provides a direct correlation between the movement of the target through the system and the acquired data. Shaft encoder or time stamp provides a direct correlation between target and data. ING CONTROL SENSOR PATH IMAGE DATA + CAMERA CONTROL PC CONVEYOR SLOW DOWN BACK CAMERA AND ING CONTROLS ARE CORRELATED TO SHAFT ENCODER TICS TIC A: CROSSES SENSOR TIC B: ACTIVATE TIC C: ACTIVATE TIC D: ACTIVATE TIC E: REJECT ACTIVATOR Because there is a time lag between image capture and analysis, the time stamp ensures that the system always acts on the correct target. The time stamp can also help with long or high-speed image sequences, where analyzing the time interval between images can determine if an image was missed during the capture sequence. TRIGGER REJECT SHAFT ENCODE t REJECTOR REJECT BIN MONITORING THE ACQUISITION PROCESS IN HOST MEMORY When transferring image data into system memory, software can ensure that the frame grabber captures all the necessary images accurately. Tracking the events (Table 1) allows the inspection system to accurately monitor the capture and transfer sequence. Table 1. Capture and transfer sequence EVENT ACTION Trigger Notifies the host application that a trigger event has occurred Double trigger Notifies the host that a trigger event occurred that did not produce image data Start of frame/field Notifies the host that an image is being acquired End of frame/field Notifies the host that an image has been acquired Start of transfer Notifies the host that an image is being transferred to system memory End of transfer Notifies the host that an image has been transferred to system memory

4 Through these events, the host can monitor the target acquisition process from the time the object arrives at the inspection point to the time that the image resides in host memory. To assist the monitoring process, each event can be placed on a specific channel that relates to only one camera. Within each channel, an index counter can increment on each event. An incorrect index value would immediately indicate that an error has occurred. Proper system design demands a certain amount of over-capacity to handle peak loads, such as when a system must acquire, process and analyze the 14,400 images/minute of the earlier example. To reliably process thousands of images, a machine-vision system can take advantage of circular buffers. By depositing image data into the next available location within a circular buffer, the system can maintain multiple images within a single channel. SENSOR PATH IMAGE DATA + CAMERA CONTROL PC BACK REJECTOR REJECT BIN PROCESSING CPU } FAIL GOOD ING CONTROL IMAGE BUFFERS Circular buffers manage data flow If the system acquires images faster than it can process them, filling up the buffer space, the frame grabber can deposit the extra image data in a special frame buffer called the "trash buffer." The system can then initiate a hardware event, indicating that there is image data in the trash buffer that must be monitored. As a partial recovery, the application software can read the image s time stamp, track that object through the system and assign it to the "not inspected" bin. MAXIMIZING DATA QUALITY Even if a frame grabber reliably captures data, there's no guarantee that the data is usable. What happens if a noise or power glitch merges two pixels or lines together, compromising the data from the camera? Is all the subsequent acquired data incorrect? Must you restart the system? To be truly reliable, a frame grabber must ensure that the data is not corrupt. It should compare the number of pixels and lines being captured to the camera file. visit us online @ www.imaging.com

5 If an error has obliterated some camera data, the system can recover on the next incoming image. At the same time, the system can set a status flag indicating the suspect quality of the acquired image. Frame grabbers that can detect problems and act on them greatly simplify system development. With such a frame grabber, an OEM doesn't have to invest time and effort to understand why a system failed. In addition, the frame grabber can reduce maintenance and support once the inspection equipment is installed in the field, lowering total system costs. By gaining more control over the image acquisition process, engineers can expect significant improvements in the overall performance of their machine vision system, increasing yield and ultimately ROI. This demand for improved reliability is why Coreco Imaging has implemented an engineering framework called Trigger-to-Image Reliability. Trigger-to-Image Reliability leverages Coreco Imaging s hardware and software innovations to control, monitor and correct the image acquisition process from the time that an external trigger event occurs to the moment the data is sent to the PCI bus. Trigger-to-Image Reliability enables more efficient and reliable machine vision inspections by securing the image acquisition process, providing traceability when errors do occur and permitting graceful recovery from those errors. HOW TO LEARN MORE Coreco Imaging is dedicated to helping customers understand and simplify the complexities of machine vision systems. To that end, Coreco Imaging offers a comprehensive knowledge base of tutorials, application notes and white papers prepared by our own engineers and by third-party machine vision specialists. This knowledge draws from more than 25 years experience solving machine vision problems in many domains. We invite you to learn more by exploring this knowledge base at www.imaging.com. HEADQUARTERS 7075 Place Robert-Joncas, Suite 142, Saint-Laurent, Quebec, Canada H4M 2Z2 T: 514.333.1301 F: 514.333.1388 visit us online @ www.imaging.com