The A d ept T e chn o logy oloo an d H e xSight are regi s t ere d tr adem arks of A d e p t T e c h nol o gy , I n c.
All ot he r produ c t and c o mpan y name s me nt ion e d ar e t h e
property of thei r respectiv e owners. 30 11 T r i a d Driv e • Liv e rmo r e, CA 9455 1 • U S A • 925. 245. 340 0
Ot to- H ahn- Str a s s e 23 • 44 227 Dort mund • Ge rman y • 49. 2 31 .75 . 89 .40
41 , rue du Saule T r apu • 9 1300 • Mass y • F r ance • 33. 1 .69 . 19 .16 . 16 20 0-10 20 R o ute de l ’ Egli se • Sai n t e - F o y QC G1V 3V9 • Canada • 418. 657 .50 0 0 W e lcome to the Adept iSight T u torial This tutorial will w a l k y o u thro ugh the creation of a basic, f unctional machine
vision application. The tutorial assumes y o u ar e familiar with Adept DeskT o p and with the oper ation of the Cobr a i- Series robot. Tutorial Overvi ew • I nstall th e hardw a re • I nstall th e softw a re • C reate a vision applicati o n • A dd
a MicroV + prog r a m • T est the integr ated application Sys t em Require m ents • P C running Windows
2 000 SP4 or W i n d ows XP • P C with a n
OHCI -compliant 1394 (F ireWire) Bus Controller • W indows .NET Fr amewo r k. If it is not pre s ent on y o ur comp uter , it will be
Welcome to the Adept iSight TutorialThis tutorial will walk you through the creation of a basic, functional machine vision application. The tutorial assumes you are familiar with Adept DeskTop and with the operation of the Cobra i-Series robot.Tutorial OverviewInstall the hardwareInstall the softwareCreate a vision applicationAdd a MicroV+ programTest the integrated applicationSystem RequirementsPC running Windows 2000 SP4 or Windows XP PC with an OHCI-compliant 1394 (FireWire) Bus ControllerWindows .NET Framework. If it is not present on your computer, it will be installed during the software installation.Note:The type of PC processor will influence the execution speed of the vision applications.Before Starting the TutorialYou will need a typical object/part for the tutorial. Use a part that: the robot can easily grip, or point to, with the robot end effector, andthatissuitableforvisionapplications.Adept iSight Tutorial
Module 2: Install iSight HardwareInstall iSight HardwareInstall the RobotRefer to installation instructions in the manuals that came with the robot:Adept Cobra i600/i800 Robot Users Guide (P/N 03589-000)Adept Cobra i600/i800 Robot Quick Start Guide (P/N 03589-000)Install the Lens1.Locate the lens that came with the package.2.Install the lens on the camera. Do not over-tighten.3.Do not set the lock screws, since you will need to adjust the lens aperture and focus later. Install the Camera1.Locate the IEEE 1394 (FireWire) cable that is included in the shipment box.2.Connect one end of the cable to the 1394 port on the Basler camera. See image.3.Mount the camera in the workcell using the camera mount brackets. 4.Connect the other end of the cable to a 1394 FireWire port on the PC. A hub may be required if the PC (laptop) has a 4-pin port.5.Typically, you should mount the camera so that it is perpendicular to the workspace.6.Make sure that the installed camera clears the top of the robot. Note:In Windows 2000 you may get a "Found New Hardware popup. In such a case, click Cancel: the Basler camera driver will be installed with the iSight software.Next:Install the SoftwareAdept iSight TutorialOverview of Adept iSight SetupBasler Camera connection portsBack of Baslercamera IEEE 1394 port 2
Module 3: Install the SoftwareInstall the SoftwareThe software installation process will install the following:Adept DeskTop 3.1Adept iSight 1.0Basler BCAM camera driversSentinel Super Pro driver for the USB hardware key (dongle)Before InstallingIf Adept DeskTop version 2.3 or previous, is installed on your computer, you must uninstall it before installing the new version.If Adept DeskTop 3.0 is currently installed on your system, you do not have to uninstall it before installing the new version.Install the USB hardware key (dongle) that came with iSight. This dongle is required and must be present at all times to ensure the proper functioning of iSight.Installing the Software1.Install Adept DeskTop from the Adept DeskTop CD-ROM. 2.Follow the instructions on screen. 3.Do not change the default destination folder to which Adept DeskTop will be installed.4.Install iSight from the Adept iSight installation CD-ROM.5.Follow the instructions on screen.6.Do not change the default destination folder to which iSight will be installed. The installation automatically install iSight in the same destination as Adept DeskTop.The installation is now complete. The drivers for the Basler camera and the Sentinel hardware key are installed during the iSight software installation. You do not need to reboot your computer before starting Adept DeskTop.Next:Open the Vision Manager Adept iSight Tutorial3
Module 4: Open the Vision ManagerOpen the Vision ManagerVision applications are created and managed in the Vision Manager window in Adept DeskTop. Open Adept DeskTop 1.Open Adept DeskTop. 2.Connect and power up the robot. For additional instructions refer to the Adept Cobra i600/i800 Robot Quick Start Guide. Open the Vision Manager1.From the Adept DeskTop menu, select Tools >Vision.2.The Vision Manager opens, similar to the image below.The Vision Manager WindowSequence Manager:From the Sequence Manager, you manage and edit the sequences that make upyour vision guidance applicationCamera ListFrom the Camera List, you can configure camera parameters and launch the calibrationsYou can dock the Vision Manager anywhere in the Adept DeskTop windowBefore creating a new vision application, you will have to adjust the camera and calibrate the system. Warning symbols such as those in the image above indicate that the system has not been calibrated.Next:Adjust the CameraAdept iSight Tutorial4
Module 5: Adjust the CameraAdjust the CameraTo adjust the camera lens you must open a live display.Open Live Camera display1.In the Available Cameras list, select the Basler Camera (A601F ).2.Click the Live Display icon. See image.3.The Live Display opens.4.Important: Make sure that the entire area covered by the camera field of view is within the robots work range. Otherwise, reposition the camera.Adjust Lens Focus and Aperture1.Open the Live Display window to guide you in adjusting the lens aperture and focus.2.Place one or more objects in the field of view.3.Use the displays zoom options by right-clicking in the window. See image.4.Adjust the focus until objects in the display are sharp.5.Once you have obtained the best possible focus, adjust the lens aperture (f-stop) until you obtain a well-contrasted image. If it is too highly contrasted (saturated) you will lose detail.You can now optionally adjust camera parameters, although the default camera parameters should be satisfactory for this tutorial.Next:Adjust Camera Properties (optional)Adept iSight TutorialOpening a Live Display WindowLive Display Window with Zoom OptionsOpens the Live Display window 5
Module 6: Adjust Camera Properties (optional)Adjust Camera Properties (optional)If you want to adjust camera parameters, follow the steps below. Otherwise go to the next module.Open the Camera Properties Window1.Select the Basler camera in the list of Available Cameras (A601F ).2.Click on the camera properties icon. See image.Configure the Camera PropertiesIn the camera Properties window:1.Select the Stream Format tab and set the following properties:Format: select Format 0.Frame Rate: select 60 fps.Mode: select 640 x 480, Mono 82.Select the Video Format tab and set the following properties by moving the sliders or directly typing in the values:Shutter: set to 600.Gain: set to 10.Brightness: set to 400.3.Leave other parameters at their default settings, and click OK to close the camera properties window.Next:Calibrate the CameraAdept iSight TutorialOpening the Camera Properties WindowCamera Properties Window6
Module 7: Calibrate the CameraCalibrate the CameraCalibrating the camera/vision system increases the accuracy of your results by correcting image errors.The camera calibration requires a grid of dots target. Use the sample paper target that came with the Adept iSight kit to follow this tutorial. The sample target is intended for teaching purposes only; it is not a genuine, accurate vision target. See the iSight online help for information on accurate dot targets and the importance of calibrating the vision system.The camera can be calibrated during the Robot-To-Vision calibration. This is explained in the next module of this tutorial. Calibrating the camera separately will provide higher accuracy than the Robot-to-Vision calibration alone.Important: Before starting this calibration, make sure that the entire area covered by the camera field of view is within the robots work range.Launch the Camera CalibrationCamera Calibration Wizard iconlaunches camera calibation Warning symbols indicate non-completed calibrations 1.Select the Basler camera from the camera list. 2.Click the 'Camera Calibration Wizard' icon, as shown here.3.The Vision Calibration Wizard opens, beginning the vision (camera) calibration process.4.Follow the instructions in the wizard, then return to this Starting Camera Calibration from the Vision Managertutorial once the calibration is finished.5.If you need help during the Calibration process, Click Helpin the Calibration Wizard.Next:Calibrate Robot to VisionAdept iSight Tutorial7
Module 8: Calibrate Robot to VisionCalibrate Robot to VisionRobot-to-Vision calibration ensures that the robot will accurately move to parts that are seen by the camera. The calibration enablesiSight to accurately transform coordinates in the camera frame of reference to coordinates in the robot frame of reference.Launch the Robot-to-Vision CalibrationlRaoubnocth-teos-VRiosiboonttCoalViibsriaotinocnalWibizraatridoincontChheeccakmmearrakcsalyibmrbaotiloinndwicaastecsotmhpalteted1.Select the Basler camera from the camera list.2.Click the 'Robot-to-vision Calibration Wizard' icon, as shown here.3.The Interview Wizard opens, beginning the robot-to-vision calibration process.4.Follow the instructions in the wizard, then return to this tutorial once the calibration is complete.Starting Robot to Vision Calibration from the Vision Manager5.If you need help during the Calibration process, Click Help in the Calibration Wizard.Next:Create a Vision SequenceAdept iSight Tutorial8
Module 9: Create a Vision SequenceCreate a Vision SequenceA sequence is a series of processes that are executed by vision tools. When you execute a sequence, each tool in the sequence executes in order. You add, remove, and edit the vision tools in the Sequence Editor.Saving a SequenceAll sequences in the Sequence Manager are saved when you save the vision project. Sequences are saved as part of the project, not individually.Project files are saved with the extension "hsproj".Click the Save icon to save the current project now: Opening the Sequence EditorBy default, there is already a first sequence in the application.1.Select the first sequence in the list2.In the Sequence Manager, click the 'Edit Sequence' icon. See image. Sequence Manager Task BarNext:Add Tools to the Vision SequenceAdept iSight TutorialEdit Sequence icon Click on New Sequence to select itandactivateiconsinthetaskbar9