Introduction to Scorpion Vision Software

Download Report

Transcript Introduction to Scorpion Vision Software

SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 1
Introduction
to
Scorpion Vision Software
Version 4.0
June 12, 2004
www.scorpionvision.com
Content
• Scorpion Design
• Scorpion Methodology
(How to make a Scorpion Vision system)
• Scorpion Product Overview
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 3
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 4
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 5
USB and FireWire Imaging
Complying with Microsoft WDM
and DirectX/Show specification
able you to acquire images from
any WDM based imaging hardware,
and the transfer of images is
100% standardised
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 6
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)
SL-2005-022-a Introduction to Scorpion 4.0
To 650 – 8.000 €
Baumer
SONY
Basler
Imaging Source
Unibrain
From 100 €
June 12,2005 Page 7
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 8
Scorpion for custom vision systems
• Interface with plugins; dynamic link
libraries (DLLs) and
Active-X
• Unique python
scripting capability to
solve special needs
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 9
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 10
Scorpion Support web
• Download Software
upgrades
• Start-up exercises
• Demonstration videos
• Examples
• Documentation
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 11
Scorpion Support
Customer Site
Send images or back-up
zip files over e-mail or
use the phone
X number of
operational
systems
Network or
file copy
connections
One or more
office computers
running Profile
Maintenance
SL-2005-022-a Introduction to Scorpion 4.0
Scorpion
Support Centre
Use all available
information on the
web
Download
software
and license
upgrades
Documentation,
FAQ, examples
www.scorpionvision.com
Upgrades
June 12,2005 Page 12
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 13
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 14
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 15
One camera – several images
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 16
Several cameras
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 17
Colour with HSI conversion
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 18
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 19
Define events that may occur
• Inspection:
–
–
–
–
Inspection Passed
Inspection Failed
No object present
Cannot measure and
inspect
– Undefined object
– Type XX object
identified
SL-2005-022-a Introduction to Scorpion 4.0
• Robot Vision
– Picking point located
– Cannot measure
rotation
– No object present
– Undefined object
– Type XX object
identified
June 12,2005 Page 20
States
• These production
events are in Scorpion
called: “States”
• The States are created
and defined in the
“Settings” mode
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 21
Example of States
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 22
Communicating the results
• The name of the State
is displayed in the
Inspection Result
Panel
• Text and colour is user
defined
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 23
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)
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 24
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 25
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 26
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 27
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 28
Example of inspection criteria
• Logical States
– Object Present
– Type of object
– Inspection Passed
– Cannot measure
SL-2005-022-a Introduction to Scorpion 4.0
• Parameters
– Area of object within
certain limits
– Size of object
– Radius within
tolerances
– Quality of circle too
low
June 12,2005 Page 29
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 30
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?
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 31
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 32
Vision Strategy example
• How to handle rotation?
• How to handle illumination variations?
• How to measure the label position?
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 33
Vision strategy example
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 34
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 35
Implementing inspection criteria
• Testing measurement results against limits
using Logic Tools
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 36
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 37
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 38
Scorpion Actions
• The Scorpion
Command centre
• Set the operational
sequence
– Image acquisition
– Inspection
(running the tools)
– External
communication
In and Out)
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 39
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 40
Scorpion Actions
External or
internal input
External input
System Events
Command Sequence
Guard
Send: "Camera
Trigger"
Calls
Camera Trigger
Contains
GrabExecute
GrabExecute
Contains
# grab sequence
Grab
Scorpion Calls
When system is NOT running
(manual operation), the
GrabExecute command is
guarded and no image is taken
before pressing "Snapshot".
Since The InspectExecute
command also is guarded, no
inspection is done before
pressing "Inspect".
calls
AfterGrab
All Image(s)
are available
Contains
Waits for images
#ready to do inspection
InspectExecute
Send: "Start" or
"Stop"
Automatic
inspection
Pressing "Start" sets System
Running Value to 1, and Guarded
Commands will be executed
Calls
InspectExecute
Contains
Inspect
#Runs Toolbox
Scorpion Calls
AfterInspection
Contains
#contains IO operation
Contains
#contains IO operation
System Running
Scorpion Calls
State Handler
Manual
Inspection
SL-2005-022-a Introduction to Scorpion 4.0
Waiting for Events
CameraTrigger, Start, Stop,
Backup +++
Pressing "Stop" sets System
Running Value to 0 and Guarded
Commands
will Page
NOT be
June 12,2005
41executed
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 42
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 43
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 44
Configure the user interface
• Result panel
• Indicator panel
• History list
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 45
Visualisation of vision tools
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 46
Curves and statistics
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 47
Operator inputs
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 48
Scorpion Vision Software Overview
•
•
•
•
•
•
•
Scorpion Capture
Scorpion Image Logger
Scorpion Lite
Scorpion Basic
Scorpion Standard
Scorpion Enterprise
Scorpion Maintenance
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 49
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
SL-2005-022-a Introduction to Scorpion 4.0
• Vision Tools
– Basic
• Blob, Line-, edge- and arcfinder 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
June 12,2005 Page 50
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
SL-2005-022-a Introduction to Scorpion 4.0
• 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
June 12,2005 Page 51
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
SL-2005-022-a Introduction to Scorpion 4.0
• Vision Tools (Basic +)
– Advanced
• Multi blob, line and arc
finder
• Multi Gap- and Edgefault finder
• Calibrator and External
Reference
• Template Finder and
Colour Image converter
– Two camera licenses with
unlimited resolution incl.
• Optional extra camera
licenses
June 12,2005 Page 52
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
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 53
Robot Vision
• Pick and Place
• Easy to use four point
robot calibration
• Nth order lens
calibration to improve
accuracy
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 54
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%.
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 55
Scorpion Product Summary
Vision Tools
Basic
Data
Geometry
Reference
Advanced
No of Camera Licenes
Add on camera license
Max image resolution
Lite
Basic
X
X
X
X
X
X
1
Opt.
VGA
1
Opt.
SVGA
SL-2005-022-a Introduction to Scorpion 4.0
Image
Logger
1
Opt.
VGA
Standard
Enterprise Maintenance
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
2
Opt.
Unlimited
Unlimited
n/a
Unlimited
n/a
n/a
Unlimited
June 12,2005 Page 56
SL-2005-022-a Introduction to Scorpion 4.0
June 12,2005 Page 57