Integrating Machine Vision and Motion Control. Huntron

Similar documents
Circuit Board Diagnostics and Test since 1976

Huntron Access DH. Open Architecture Dual Head Prober for Fixtureless Diagnostic Testing

Huntron Workstation 4.3 Oscilloscope Tutorial

Huntron Workstation Tutorial

Huntron Workstation DMM Tutorial

Huntron Workstation Access RF Tutorial

ND 1300 QUADRA-CHEK the Digital Readouts for Convenient 2-D Measurement

System Block Diagram. Tracking Trajectories of Migrating Birds Around a Skyscraper. Brian Crombie Matt Zivney

LUMS Mine Detector Project

Dual Head Flying Probe System. Application : Circuit Board and BGA Rework

Discuss Proven technologies that addresses

PC-based data acquisition I

ADVANCING ATE SYSTEMS WITH PXI BASED POWER-OFF DIAGNOSTIC INSTRUMENT TECHNOLOGY

control and versatility RTC 3, RTC 4

Embedded Vision Systémy - využití ve výuce a v průmyslu

Magnetic Defectoscope System DEF-1C-IH2 Datasheet and Operation Instruction SYSTEM DESCRIPTION 1. MECHANICAL MODULE

501, , 1052, , 1602, 1604 EXCEL EXCEL 1602UC EXCEL 1052UC EXCEL 501HC. Micro-Vu Corporation. Precision Measurement Systems

Cross hairs for vertical and horizontal profiles. Profile can be linked to cross hair position, centroid, peak or sum profile can be displayed

Assignment 3. Position of the center +/- 0.1 inches Orientation +/- 1 degree. Decal, marker Stereo, matching algorithms Pose estimation

Rotary Motion Servo Plant: SRV02. 2D Ball Balancer. User Manual

Alignment Services LLC

At first glance, some machine-vision

Drive and Control Systems: Technical Update. John A. Looser Faustel, Incorporated

Sample Sizes: up to 1 X1 X 1/4. Scanners: 50 X 50 X 17 microns and 15 X 15 X 7 microns

Huntron Workstation Tracker 3200S Tutorial

Magnetic Field Mapping System MMS-1-RS KEY FEATURES:

micromax R Getting Started Guide

Allegra Series Reference Manual. Programmable Motion Control System

COMPACT PRECISION LINEAR MOTORIZED ACTUATORS LSMA Series LSMA-173

Soloist Linear Series

Ndrive QL andqle Digital Panel-Mount Piezo Drive

1. Learn about LabView software and its different components

Optiv Classic 321 GL tp Technical Data

Product Information. POSITIP PT 8016 Digital Readout for Manually Operated Machine Tools

Improving Prototype Validation with NI Multisim and LabVIEW. Bhavesh Mistry, Product Manager National Instruments

Getting Started Instructions for the Access USB and Access 2 USB Probers

Kwikmark Windows Software Suite

Gregory Walsh, Ph.D. San Ramon, CA January 25, 2011

Galileo Standard Series

Huntron Workstation Tracker 2800/2800S Tutorial

Questions? Page 1 of 22

Advanced NI-DAQmx Programming Techniques with LabVIEW

ATE Introduction. Advantech IA Technical Support Team

Quanser NI-ELVIS Trainer (QNET) Series: QNET ROTPEN. Rotary Pendulum (ROTPEN) User Manual. User Manual

ACCURACY, SPEED, RELIABILITY. Turnkey Production for: MEMS. Multi-Chip Modules. Semiconductor Packaging. Microwave Modules.

Galil Motion Control. EDD 3701x

Test Cell Co-planarity Optimization Presenter: Troy Harnisch

Stand-Alone, Multi-Axis Motion Controller

XSLIDE. XSlide Positioning System. Manual and Motorized. Compact Positioning Stage. Long life, precise movement, greater value

NI Vision Platform. Radim ŠTEFAN. ni.com

HUNTRON WORKSTATION REMOTE CONTROL

Update Installation Instructions for Huntron Products with Huntron Workstation 4.3

Huntron Workstation Tracker Model 30 Tutorial

C x Hexapod Motion Controller

Electro-Mechanical Assembly Press Systems

Microscopic Imaging Research Station (MIRS) Assembly Guide. Version 1.0.0

Beam Stabilizer Add-on Card

DEVELOPMENT OF AN INTELLIGENT ARCHITECTURE FOR WEB-BASED PROGRAMMING & CONTROL OF AN AUTOMATED MANUFACTURING CELL

Linear, and segmented over up to 1000 points Squareness calibration Matrix compensation over up to 30 x 30 points

Advanced Vision Guided Robotics. David Bruce Engineering Manager FANUC America Corporation

SDI-5510 Vertical Flat Through Transmission Inspection System. Technical Specification

VRO. VRO Encoder Readout. Use on Encoders. Readout for Velmex Positioning Systems. Ultra Precise Position Readouts. One and two position readouts

Range Sensors (time of flight) (1)

Single-Axis Camera Stabilizer

DK-M3-FS and DK-M3-F Focus Module Developer s Kits Tiny, all-in-one smart motion modules for positioning optics in OEM cameras

Ch 22 Inspection Technologies

5-Axis Flex Track Drilling Systems on Complex Contours: Solutions for Position Control

Contour LS-K Optical Surface Profiler

Application Note. Fiber Alignment Using The HXP50 Hexapod PROBLEM BACKGROUND

Application Note. Fiber Alignment Using the HXP50 Hexapod PROBLEM BACKGROUND

Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0)

Project Title: Welding Machine Monitoring System Phase II. Name of PI: Prof. Kenneth K.M. LAM (EIE) Progress / Achievement: (with photos, if any)

Project 1 : Dead Reckoning and Tracking

Two-Dimensional Contact Angle and Surface Tension Mapping (As Presented at Pittcon 96)

10/5/09 1. d = 2. Range Sensors (time of flight) (2) Ultrasonic Sensor (time of flight, sound) (1) Ultrasonic Sensor (time of flight, sound) (2) 4.1.

Using Edge Detection in Machine Vision Gauging Applications

Schematic Editing Essentials

Single Linear Flexible Joint (SLFJ)

PHY 351/651 LABORATORY 1 Introduction to LabVIEW

Roof Truss Roller Press, Tables and Jigging

SYSTEMS ELECTRONICS GROUP

Strategy. Using Strategy 1

Galil Motion Control. DMC - 42x0. Datasheet

Release Highlights for BluePrint-PCB Product Version 3.0

3D Measurement and Control, Made Easy

Building a Next Generation Data Logging System

Ndrive Linear Series. Digital Servo Amplifiers Linear. Output power range of 10 or 20 A peak with ±10 to ±80 VDC bus

Model 90. thermwood. Thermwood CNC Machining Centers. Machine Features Shown

Fiducialization Report SRC EPU Advanced Design Consulting

Starting Excel application

Powerful Technology, Simply Integrated

Outline Sensors. EE Sensors. H.I. Bozma. Electric Electronic Engineering Bogazici University. December 13, 2017

Part A: Monitoring the Rotational Sensors of the Motor

Group 13 Monitor and Control of an Excavator Robot

Design and Development of Stepper Motor Based XY Scanning Stage

Electric Press Work Station Product Line

Camera Positioning System

Quanser NI-ELVIS Trainer (QNET) Series: QNET DCMCT. DC Motor Control Trainer (DCMCT) User Manual. User Manual

Ensemble QL andqle Networked Panel-Mount Piezo Drive

Galil Motion Control. DMC - 18x6. Datasheet (US ONLY)

Transcription:

1

Integrating Machine Vision and Motion Control Huntron 2

System Overview System Overview PXI Color Vision: Cameras, Optics, Lighting, Frame Grabbers and Software Serial 3 Axis Motion Control: Application Software, Motor Control, Amplifier/drives, Motors, Mechanical elements, and Encoder feedback PXI Stimulus and Measurement: PXI based instruments from simple meters, to complex data acquisition. Control Software: Integrates vision motion and measurement. 3

PXI Control Software can be written with a number of software packages NI LabVIEW, Microsoft C++, Visual Basic and.net PXI Test execution can be called up by test executives such as NI s Test Stand EX: Huntron Software development Kit (SDK) LabVIEW application with NI IMAQ Vision 4

Position Voltage Current App Software Motion Controller Amp/Drive Motor Mechanical Feedback Device Position Feedback Robotic XY Platform Serial Axis motion control Application software You can use application software to command target positions and motion control profiles. Motion controller The motion controller acts as brain of the of the system by taking the desired target positions and motion profiles and creating the trajectories for the motors to follow, but outputting a ±Voltage signal for servo motors, or a step and direction pulses for stepper motors. Amplifier or drive Amplifiers/drives take the commands from the controller and generate the current required to drive or turn the motor. Motor Motors turn electrical energy into mechanical energy and produce the torque required to move to the desired target position. Mechanical elements Motors are designed to provide torque to some mechanics. These include linear slides, robotic arms, and special actuators. Feedback device or position sensor A position feedback device is not required for some motion control applications (such as controlling stepper motors), but is vital for servo motors. The feedback device, usually a quadrature encoder, senses the motor position and reports the result to the controller, thereby closing the loop to the motion controller. 5

Vision Tools + + + Camera and lighting PXI Frame Grabber Vision Software Tools Control Software EX:IMAQ Vision EX: NI LabVIEW and Microsoft C++, Visual Basic and.net Cameras - High-resolution cameras, (CCD and CMOS), line scan cameras, multiple cameras, the camera type is determined by a specific application. Optics - Use optics with appropriate resolution and distortion properties. Lighting- LED-based lighting is clearly the trend of the future LEDs make it easier to configure cost effective single application-specific arrangements to optimize performance. Frame Grabbers - Digital or Analog image acquisition devices for PCI, PCI Express, and PXI share timing signals among devices to synchronize and correlate images with other measurements. Software Tools- Vision acquisition software, which acquires, saves, and displays images. EX- IMAQ Vision Control Software - Application of the camera, optics, lighting, frame grabbers, and software tools. 6

The Product The Huntron Access Automated Probing Station is designed to accurately access test points on printed circuit assemblies (PCAs). It's 20 micron accuracy achieved by micro-stepping and linear encoding ensures reliable probing of the smallest surface mounted components. The elements that make the system work PXI Color Vision, Serial 3 Axis motion control, PCB CAD data, PXI instrumentation, and Control Software. 7

Application written Visual Basic.Net 1 3 2 4 1 2 3 4 Tree pane: Using a spreadsheet style, the creation of test sequences is quick and easy. Signature pane: Controls Tracker and Prober to capture then display signature data. Prober pane: Vision and Motion control of the mechanical prober Image pane: View linked CAD data and board image. The Huntron Workstation Software is designed to bring a high level of efficiency and flexibility to board test creation and troubleshooting. The multiple pane layout of Huntron Workstation allows for fast test creation, quick viewing of component signatures, control of robotic probers and CAD viewing tools that update on the fly. The Workstation software is an example of an application that is written in Visual Basic.Net. This software application shows the integration of the machine vision, motion control, PCB CAD data, and measurement. 8

Scaling The Camera Image A precision ruler was placed under the camera in both directions. The visible distances on the ruler in the camera image were determined The ruler distances were divided by Height/Width of the image in pixels The mouse position in pixels from center of image us used to determine how far the camera needs to move to be positioned where the mouse was clicked. Scaling needs to be performed for each preset vertical position of the UUT. Scaling the camera image is a process that defines the of the field of view. We start by focusing the camera image at a predetermined distance on the Z axis. Once the camera is adjusted and set a precision ruler is used to measure the field of view (height and width). Having the precise field of view measurements allows for field of view to be converted from pixels to microns. It is now possible to determine the cursor location when clicked on the image in microns. This X-Y location can be sent to the motion control to move the camera to the position clicked. This process is repeated for each separate predetermined Z distance 9

Camera to Probe Offset Position crosshair over target image and set camera position. Probe tip is physically moved to target and set probe position Software calculates the distance between camera image target and probe tip in XY. An offset is created and is used when switching between camera and probe. Camera to Probe Offset The Camera and the Probe are physically offset, this process calculates the distance in X-Y of the offset. The X-Y is used when switching between the camera image and the probe. 10

Align Alignment points that are selected in opposite corners of the UUT. Move the camera over and store two alignment locations and images. If CAD data is used, CAD features are used for alignment locations. Move the camera over the same alignment locations on another UUT. Calculate offset and rotation between the first UUT position and the other UUT position. Alignment points are used to compensate for differences in PCB s (UUT s) positioned in the probing system to allow the probe to move test points, via s, or nets on the UUT. Alignment points are reference points that are physical locations on the UUT. Two separate points are referenced, at each point store an image along with the X-Y data for that point. The alignment data will be used each time that type of UUT is placed in the probing system. When switching UUT on the system there may be some physical differences the alignment data will allow the software to compensate for these differences. 11

Auto Align Stored alignment images and the alignment images from the current board. Vision comparison algorithms search for a smaller center square of the stored image in current image. Pixel offsets from the comparison to determine position to move the camera and then re-compare images. If the image is not found, search adjacent position images for the image. Auto alignment uses color pattern matching vision tools like IMAQ Vision to compare a stored color image to a new color image. The vision tools will search for a small center area of the new image in the stored image. Pixel offsets are returned when the search is completed, Using the camera image scaling, the camera will move to the new location determined by the pixel offset and re-compare. Visual comparison algorithms are based on a stored image, the challenge for this to be successful always comes back to lighting. If the lighting changes the new image will change and the comparison may fail. Lighting affects color, glare, and overall image. The key to success is to make sure lighting is consistent 12

Align Calculations Calculate the angle of test point to the first stored alignment position Calculate the angle the first stored alignment position to the second stored alignment position Calculate the angle the first new alignment position to the second new alignment position Calculate the total angle Calculate the distance from the first stored alignment position to the test point Apply the angle and distance to the first stored alignment point position to create the new test point position Align Calculations Two defined alignment points are for PCB(1) are stored. X-Y test point co-ordinates are stored. PCB (2) is placed in the prober the 2 points may not be positioned in the exact location of PCB(1). The camera is positioned over the 2 alignment on PCB(2), and the X-Y angular difference is calculated. That difference is then applied to all the test points on PCB (2) 13

Create Board Image The board image is a series camera images that create a complete and interactive image. Set camera to determine the position of the back right corner of board and the front left corner of board Move the camera from back right corner, back and forth, to the front left corner, capturing camera images. Insert the captured images into a larger bitmap. Clicking the mouse over a point on the image provides a pixel location. The pixel location, align data, back right corner position and the image scaling are used to position the camera over the position clicked on the image. The application is able to stitch together a series of camera images into one composite image. Each small image is scaled, so the composite image is also scaled. This allows the calculation of the location of the mouse cursor anywhere on the composite image. 14

Example Visual Basic.Net Camera Code Camera Initialization: Dim niimage As NationalInstruments.CWIMAQControls.CWIMAQImage NIFrameGrabber.CreateControl() If NIFrameGrabber.Configure() <> 0 Then Return CameraError.InitFailure End If NIFrameGrabber.AcquireField = NationalInstruments.CWIMAQControls.CWIMAQAcquireFieldModes.cwimaqAllFields NIFrameGrabber.ImageRep = NationalInstruments.CWIMAQControls.CWIMAQImageReps.cwimaqRepRGB32 NIFrameGrabber.StillColorMode = NationalInstruments.CWIMAQControls.CWIMAQStillColorModes.cwimaqStillColorModeRGB NIFrameGrabber.Interface = "huntron" If NIFrameGrabber.LoadInterfaceDefaults() <> 0 Then Return CameraError.InitFailure End If NIFrameGrabber.Images.RemoveAll() niimage = NIFrameGrabber.Images.Add(1) If niimage Is Nothing Then Return CameraError.InitFailure End If NIFrameGrabber.AcquisitionType = NationalInstruments.CWIMAQControls.CWIMAQAcquisitionTypes.cwimaqAcquisitionOneShot NIVision.CreateControl() Camera Capture Image: If ichannel = 1 Then NIFrameGrabber.Channel = 1 Else NIFrameGrabber.Channel = 0 End If If (ibrightness >= -50) And (ibrightness <= 50) Then NIFrameGrabber.Color.Brightness = ibrightness End If If (dcontrast >= 0.5) And (dcontrast <= 1.5) Then NIFrameGrabber.Color.Contrast = dcontrast End If NIFrameGrabber.AcquireImage() Clipboard.SetDataObject("") NIVision.WriteImageToClipboard(NIFrameGrabber.Images.Item(1)) Dim MyData As IDataObject = Clipboard.GetDataObject If MyData.GetDataPresent(GetType(System.Drawing.Bitmap)) Then bmpimage = CType(MyData.GetData(GetType(System.Drawing.Bitmap)), Bitmap) End If 15

Sync CAD Import CAD data from PCB layout packages (PADS, Protel, Mentor Graphics, etc.) CAD Data containing component, nets, pins, via s is used to generate the Test Tree The CAD Data contains the XY coordinates of pins, vias, test points, etc. The XY data is linked to the Alignment Data, enabling the Prober to move accurately to pins, via s or test points Mousing over a point on the CAD image and clicking will move the probe to the desired pin, via or test point. The CAD image will also show the all components or nets connected to the selected point Importing CAD data provides the X-Y data needed for the vision and motion allowing the probe to drive to desired locations. CAD data saves time in establishing probing locations because the X-Y data supplied. Without the CAD data the vision and motion needs to be manually driven to the desired points and stored. 16

Z Height Positioning Select Z travel distance (small travel allows for control of the spring loaded probe compression). Move the probe down in travel distance selected steps Move probe down to the desired compression of the spring loaded probe and save location. A Z-up position may be established minimizing up and down travel Z Height positioning is used to adjust the position and probing pressure applied to the UUT. This process is done by taking control of the Z motors and stepping down to the desired Z plane. The Z steps are determined by the motor specifications (steps, micro-steps, and drivers). 17

Capturing Data Integration of CAD, Vision and Motion allows probe placement with 20 micron accuracy. The probe is placed on each test point and the TrackerPXI applies sine wave, digitizes the change and displays the signature information graphically. Reference signature data is stored from a good UUT and then other UUT s can be tested against this baseline model. Other control software can be used with other PXI instrumentation to capture data using the same motion and vision tools. Capturing Data is the end result of the vision and motion process, we are able to drive the probe to a point, put the probe down, hold it there long enough to capture the data and then move to the next point. 18

Integrating vision, motion control, and measurements in PXI increases throughput by 10X Robotic Probing provides at least a 10:1 improvement in probing time. This saving is due to the fact that the operator does not have to interrupt the program to look up reference points in a diagram or other documentation. Also, Robotic Probing does not require judgment or manual dexterity on the part of the operator. It eliminates the need for ancillary documentation to identify physical location of the probe points, and it further eliminates errors in probe placement due to operator error and variations in probe pressure. * Time *Diagnostic testing of circuit cards with robotic prober, as presented during Autotestcon 1998 0-7803-4420-0/98/ 1998 IEEE Number of test points 19

PXI Migration Huntron ProTrack I is a stand alone USB controlled test instrument Converting the ProTrack I into the TrackerPXI in the PXI format has a number of advantages: Small, Compact, Rugged Package Open Standard, Multiple Vendors Large Selection of PXI Instruments and modules Tight Integration Low Cost The process: The front panel replaced with software Uses PXI chassis power supply Change the USB interface to PXI (Drivers created) Remaining circuits compressed to fit on the smaller board 20

PXISA Vision and Motion Vendors Conduant Corporation Huntron MEN Mikro Elektronik National Instruments Sundance 21