sl-2005-022-a introduction to scorpion 4.0 june 12,2005 page 1

57
SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

Upload: dayna-foster

Post on 06-Jan-2018

218 views

Category:

Documents


1 download

DESCRIPTION

SL a Introduction to Scorpion 4.0 June 12,2005 Page 3 Content Scorpion Design Scorpion Methodology (How to make a Scorpion Vision system) Scorpion Product Overview

TRANSCRIPT

Page 1: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

Page 2: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

Introductionto

Scorpion Vision SoftwareVersion 4.0

June 12, 2004www.scorpionvision.com

Page 3: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 3

Content

• Scorpion Design

• Scorpion Methodology(How to make a Scorpion Vision system)

• Scorpion Product Overview

Page 4: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 4

Design criteria• Complete Vision System • Standard Components• Low component cost• Powerful• DIY - Do it Yourself!

The easiest way to implement and maintain an advanced vision system

Page 5: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 5

Low Component Cost

• Use standard/commodity hardware• Standard PC with Windows 2000/XP• Complete support for USB and FireWire Imaging

(standard PC ports) through Microsoft standard DirectX

• Standard communication links• RS232, TCP/IP included in the PC• I/O using Adamtech modules (RS232 or TCP/IP)• dB access with ODBC

Page 6: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 6

USB and FireWire Imaging

Complying with Microsoft WDMand DirectX/Show specificationable you to acquire images from

any WDM based imaging hardware,and the transfer of images is

100% standardised

Page 7: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 7

USB and FireWire Cameras• Benefit from the

multimedia revolution• No proprietary hardware

like Framegrabbers and Vision Sensors

• Connect one or several cameras directly to one PC

• Select a camera suitable for your application(Low Cost or/and High Quality)

From 100 €

To 650 – 8.000 €

Unibrain

Imaging Source

Basler

SONY

Baumer

Page 8: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 8

Powerful & Flexible

• Benefits from the ever increasing power of Intel processors

• Multiple camera connections direct to PC through FireWire/USB imaging

• Fully featured robust and reliable image processing in Scorpion Toolbox

• Flexible - upgrade for more functionality, more cameras, more resolution or processing power

Page 9: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 9

Scorpion for custom vision systems

• Interface with plug-ins; dynamic link libraries (DLLs) and Active-X

• Unique python scripting capability to solve special needs

Page 10: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 10

DIY - Do it Yourself!

• Designed for production engineers that want to develop or maintain their own systems and be independent of expensive system integrators

• Easy to use non programming user interface

Page 11: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 11

Scorpion Support web

• Download Software upgrades

• Start-up exercises• Demonstration videos• Examples• Documentation

Page 12: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 12

Scorpion Support

www.scorpionvision.com

Customer Site

X number of operational

systems One or more office computers running Profile Maintenance

Network or file copy

connections

Upgrades

Documentation,FAQ, examples

ScorpionSupport Centre

Download software

and license upgrades

Use all available information on the

web

Send images or back-up zip files over e-mail or

use the phone

Page 13: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 13

Methodology• Connect the image input(s)• Define the Logical States

(events that may occur in the Production Process)• Define inspection criteria• Vision strategy and configuration of vision tools• Establish basic states needed for the Logical States• Configure the Communication links to external

systems• Configure the user interface

Page 14: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 14

Starting point• Operation mode: (No password)

– For operators– Can start and stop the inspection– Read history list, curves and

statistics– No access to any configuration

• Settings mode: (Password: 1234)– For operators certified to adjust

logical states and alarm limits• Service mode: (Password: 911)

– Full access to all functions– Camera, vision tools,

communication set-up

Page 15: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 15

Connecting Image Sources• Camera connections are

handled by Windows (plug and play)

• Cameras recognised by Windows are automatically available in Scorpion

• Note: Can also connect to IP Video Servers and other Cameras

Page 16: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 16

One camera – several images

Page 17: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 17

Several cameras

Page 18: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 18

Colour with HSI conversion

Page 19: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 19

Methodology• Connect the image input(s)• Define the Logical States

(events that may occur in the production process)• Define inspection criteria• Vision strategy and configuration of vision tools• Establish basic states needed for the Logical States• Configure the Communication links to external

systems• Configure the user interface

Page 20: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 20

Define events that may occur

• Inspection:– Inspection Passed– Inspection Failed– No object present– Cannot measure and

inspect– Undefined object– Type XX object

identified

• Robot Vision– Picking point located– Cannot measure

rotation– No object present– Undefined object– Type XX object

identified

Page 21: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 21

States

• These production events are in Scorpion called: “States”

• The States are created and defined in the “Settings” mode

Page 22: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 22

Example of States

Page 23: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 23

Communicating the results

• The name of the State is displayed in the Inspection Result Panel

• Text and colour is user defined

Page 24: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 24

Defining the constrains• One or more logical

conditions can be used• A logical condition is

either true (value=1) or false (value=0)

• The logical conditions are set in the tool box based on testing results from any vision tool against user defined conditions(distance, area, radius)

Page 25: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 25

Define related commands• Depending on

inspection result (States), one or more commands can be executed:– Sending status info to

PLC or Robot– Sending data to PLC or

Robot or a database– Save images

Page 26: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 26

Methodology• Connect the image input(s)• Define the Logical States

(events that may occur in the Production Process)• Define inspection criteria• Vision strategy and configuration of vision tools• Establish basic states needed for the Logical States• Configure the Communication links to external

systems• Configure the user interface

Page 27: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 27

Inspection criteria

• A logical test of one or more measured parameters generated by the vision system

• Used to define the Logical States equivalent to the events that may occur in the production line

Page 28: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 28

Defining Inspection criteria• Select inspection parameters:

– Measurements of area, dimensions (line, distance, radius)

– Read or verify text or code– Verify a colour or greyscale surface– Find or verify position and rotation– Counting number of areas, lines, circles

• Set inspection tolerances:– Acceptable +/- values for each inspection parameter

Page 29: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 29

Example of inspection criteria

• Logical States– Object Present

– Type of object

– Inspection Passed

– Cannot measure

• Parameters– Area of object within

certain limits– Size of object

– Radius within tolerances

– Quality of circle too low

Page 30: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 30

Methodology• Connect the image input(s)• Define the Logical States

(events that may occur in the Production Process)• Define inspection criteria• Vision strategy and configuration of vision tools• Establish basic states needed for the Logical States• Configure the Communication links to external

systems• Configure the user interface

Page 31: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 31

Vision strategy

• How to locate the object?• How to handle rotation?• How to handle illumination variations?• How to identify a specific object?• How to measure the specific parameters

needed as inspection criteria?

Page 32: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 32

The Scorpion Toolbox• Blob tools• Edge/Line finder tools• Logic/Data tools• Reference tools• Geometry tools• TemplateFinder tools• Barcode &MatrixCode• PolygonMatch tool• Color Matcher tool• Image Processing tools• Python Script Tool

Page 33: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 33

Vision Strategy example

• How to handle rotation?• How to handle illumination variations?• How to measure the label position?

Page 34: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 34

Vision strategy example

Page 35: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 35

Methodology• Connect the image input(s)• Define the Logical States

(events that may occur in the Production Process)• Define inspection criteria• Vision strategy and configuration of vision tools• Establish basic states needed for the Logical States• Configure the Communication links to external

systems• Configure the user interface

Page 36: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 36

Implementing inspection criteria

• Testing measurement results against limits using Logic Tools

Page 37: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 37

Methodology• Connect the image input(s)• Define the Logical States

(events that may occur in the Production Process)• Define inspection criteria• Vision strategy and configuration of vision tools• Establish basic states needed for the Logical States• Configure the Communication links to external

systems• Configure the user interface

Page 38: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 38

Communication with external systems

• RS-232– Raw, tdvcmdprotocol

• TCP/IP– Raw sockets, tdvcmdprotocol

• I/O using ADAM modules from Advantech(RS232 or TCP/IP interface to computer)

• Profibus • OPC• Database ODBC

Page 39: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 39

Scorpion Actions• The Scorpion

Command centre• Set the operational

sequence– Image acquisition– Inspection

(running the tools)– External

communicationIn and Out)

Page 40: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 40

Actions = Power and Flexibility

• Easy communication using names (“camera trigger”)

• Flexible image grab sequence (multi camera or multi position using a robot)

• Robot Vision (signal move robot after image grab but before inspection is finished)

• User defined events– Communicate product type

Page 41: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 41

Automaticinspection

ManualInspection

Scorpion ActionsExternal orinternal input

Send: "CameraTrigger" Camera Trigger GrabExecute

GrabExecute # grab sequenceGrab

All Image(s)are available

AfterGrab #ready to do inspectionInspectExecute

Waits for images

Contains

Contains

Scorpion Calls

Contains

InspectExecute

Calls

Inspect#Runs Toolbox

Contains

System Events Command Sequence

System Running

Guard

Pressing "Start" sets SystemRunning Value to 1, and Guarded

Commands will be executed

Pressing "Stop" sets SystemRunning Value to 0 and GuardedCommands will NOT be executed

When system is NOT running(manual operation), the

GrabExecute command isguarded and no image is taken

before pressing "Snapshot".Since The InspectExecute

command also is guarded, noinspection is done before

pressing "Inspect". Scorpion Callscalls

External input

Send: "Start" or"Stop"

AfterInspection Contains #contains IO operation

State Handler #contains IO operation

Scorpion Calls

Waiting for EventsCameraTrigger, Start, Stop,

Backup +++

Contains

Calls

Page 42: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 42

Sending Status data to a PLS• We want to send status data

(object present or absent) using the RS232 interface

• We will link the timing of sending the data to the event ”Inspection”

• Initially the event inspection activate the command ”Inspect”.

• After that we want the system to send status data

Page 43: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 43

Testing the communication• Add a new RS 232

command• Select the parameters to

be sent (All parameters from all tools are available)

• In ”Communication” tab you can monitor both outbound and inbound messages

Page 44: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 44

Methodology• Connect the image input(s)• Define the Logical States

(events that may occur in the Production Process)• Define inspection criteria• Vision strategy and configuration of vision tools• Establish basic states needed for the Logical States• Configure the Communication links to external

systems• Configure the user interface

Page 45: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 45

Configure the user interface

• Result panel

• Indicator panel

• History list

Page 46: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 46

Visualisation of vision tools

Page 47: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 47

Curves and statistics

Page 48: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 48

Operator inputs

Page 49: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 49

Scorpion Vision Software Overview

• Scorpion Capture• Scorpion Image Logger• Scorpion Lite• Scorpion Basic• Scorpion Standard• Scorpion Enterprise• Scorpion Maintenance

Page 50: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 50

Scorpion Lite• Applications:

– Simple measurements of dimensions and diameters. Counting and presence check

– Replace sensors using low cost USB and FireWire camera(s) due to more flexibility and higher performance

• Can often coexist with other applications on a PC

• Vision Tools– Basic

• Blob, Line-, edge- and arc- finder incl. calliper, math tool, ColorMatcher and Barcode – EAN-13

• Logic tools and Python– External Data

• External input of text, scalar, line and point

• One VGA camera license• Optional extra camera

licenses

Page 51: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 51

Scorpion Basic• Applications:

– Handle rotation of products– Can construct points and lines– Scaling and measurements in

engineering units incl. Multi reference systems

– Handling of many product variants

• Very competitive to a standard vision sensor, especially when two or more cameras are needed

• Vision Tools (Lite +)– Geometry

• Line from points, nearest point, point on line,angle

– Reference• Scale reference, Point Line

reference, move and change reference

– One SVGA camera license• Optional extra camera

licenses

Page 52: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 52

Scorpion Standard• Applications:

– Many multiple polygon ROI tools for inspection of multiple details

– 5th order camera calibration fro eliminating lens distortion

– Powerful multi Line finder• For label and printed

circuit inspection, robot guiding and advanced

• High precision gauging

• Vision Tools (Basic +)– Advanced

• Multi blob, line and arc finder

• Multi Gap- and Edge- fault finder

• Calibrator and External Reference

• Template Finder and Colour Image converter

– Two camera licenses with unlimited resolution incl.

• Optional extra camera licenses

Page 53: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 53

Print and Label inspection• Find broken lines

– PolyLineGapFinder• Find spots, missing ink on

letter– MultiBlob / Blob3

• Verify letter contours– PolyLineEdgeFaults

• Verify letter contrast– MultiBlob

• OCR and OCV– TemplateFinder2

Page 54: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 54

Robot Vision

• Pick and Place

• Easy to use four point robot calibration

• Nth order lens calibration to improve accuracy

Page 55: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 55

Need more cameras or tools

• One-year free software maintenance upgrades included in all products

• Can be downloaded from our web for registered users.

• All Scorpion products can be upgraded with extra camera licenses and extended toolbox

• Price = actual price difference when ordering plus 10%.

Page 56: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 56

Scorpion Product Summary

Lite Basic Image Logger Standard Enterprise Maintenance

Vision ToolsBasic X X X X XData X X X X XGeometry X X X XReference X X X XAdvanced X X X

No of Camera Licenes 1 1 1 2 Unlimited n/aAdd on camera license Opt. Opt. Opt. Opt. n/a n/aMax image resolution VGA SVGA VGA Unlimited Unlimited Unlimited

Page 57: SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 1

SL-2005-022-a Introduction to Scorpion 4.0 June 12,2005 Page 57