The text of a manual · part 3 of 7
Vision MINI Xi Smart Camera Guide, pages 21 to 30
Pages 21 to 30 of 65
The original document is the PDF (2.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Microscan Vision Mini Xi
Page 21
Chapter
2
System Components
Status Indicators The back of the Vision MINI Xi Smart Camera has multiple LEDs that indicate different trigger, inspection, camera, communication, and power states.
Trigger Status Inspection Status Camera Status Communication Status Power Status
TRIG
PASS/FAIL MODE
LINK/ACT
PWR
On Steady
Continuous Trigger
Off
Waiting for Trigger Event
On Flashing
Trigger Event
On
Active State
Off
Inactive State
On Steady
Unit Ready
Off
Unit Not Ready
On Steady
Link Established
Off
No Link/Activity
On Flashing
Link Established and Activity on Link
On
Power On
Off
No Power Applied to Unit
Additional User Feedback
2-10
•
Green Flash – A green flash from the front of the unit indicates a Good Read.
•
Blue Targeting Pattern – The blue targeting pattern from the front of the unit allows the user to center an object in the camera’s field of view.
•
Beeper – The beeper is an audible verification that either a Pass or a Fail has occurred.
Vision MINI Xi Smart Camera Guide
Page 22
AutoVISION Button
The AutoVISION Button has three positions, selectable by the length of time the button is held down, and indicated by one, two, or three beeps and LED flashes in succession. It can also be used to send a trigger signal when Send Trigger is checked in AutoVISION software’s Connect view. When the trigger functionality is enabled, pushing the AutoVISION Button triggers the camera to capture an image.
1st Position: Blue Targeting Pattern The first AutoVISION Button position turns the targeting system on. This overrides any other targeting modes that have been configured.
2nd Position: Auto Calibration The second AutoVISION Button position starts the Auto Calibration process, which selects the appropriate photometry and focus settings for the camera. The selected values are then saved for power-on.
3rd Position: Teach The third AutoVISION Button position sets the Match String to the next OCR string or symbol data that is decoded.
Vision MINI Xi Smart Camera Guide
2-11
2 System Components
AutoVISION Button
Page 23
Chapter
2
System Components
Trigger Debounce Trigger Debounce is the ability of the system to accomodate switching noise on a trigger state change – a common issue with relays that have some intermittent contact while engaging. Trigger overruns (when the vision system is triggered faster than the device can process) can be avoided by increasing the “debounce” time in the camera definition file located in the C:\Microscan\Vscape\Drivers\CamDefs directory. The IO Line Debounce High Time and IO Line Debounce Low Time can be added to the file as in the example below. The default debounce time is 1 ms (1,000 μs). Note: Although the value entered for the "IO Line Debounce Time" is in microseconds, it will only be rounded up to a millisecond value. For example, entering the value 1001 will resolve to 2 ms; entering a value of 2800 will resolve to 3 ms. The min value for "IO Line Debounce Time" is 0, which disables software debounce altogether. The maximum value is 100000 (100 ms).
Camera Definition File Example // Camera Definition File // Version: 1.02 Camera Name VisionMINI 1280x1024 // Name Displayed in Camdef Selection Dialog Digitizer Type 5000 // Number associated with VisionMini SXGA Stride 1280 // Image Width Rows 1024 // Image Height X Offset 0 // Image X Offset Y Offset 0 // Image Y Offset Bits Per Pixel 8 // Bits that represent Pixel Value Pixel Type 0 // Type of Pixel: MONOCHROME=0, COLOR_RGB=1, COLOR_BGR=2, COLOR_BAYGR8=3, COLOR_BAYRG8=4, COLOR_BAYGB8=5, COLOR_BAYBG8=6, COLOR_HSI=7 Image Structure 1 // Pixel Organization: Packed=1, TwoPlanes = 2, ThreePlanes = 3 Async Control 1 // Controllable shutter time. Usually using a pulse width specified in usecs Usecs Per Frame 62500 // Fastest time to acquire a frame: 16 FPS // -1 Disables timeout feature X Offset 0 Y Offset 0 // IO Configuration GPIO Edit Mask 0x0000 GPIO Defaults 0x0001 // 1 General Purpose Input 3 General Purpose Outputs GPIO Count 4 GPIO Inputs 1 GPIO Outputs 3 Sensors 1 // One input dedicated to Trigger signal Strobes 0 Virtual IO 2048 IO Line Debounce High Time 2000 //usecs IO Line Debounce Low Time 2000 //usecs // Focus & Photometry Ranges
2-12
Vision MINI Xi Smart Camera Guide
Page 24
Gain Dflt Gain Min Gain Max Exp Dflt Exp Min Exp Max Focus Dflt Focus Min Focus Max
Vision MINI Xi Smart Camera Guide
20 0 100 4000 400 200 600
// 0 to 100% 66 66667
2 System Components
Trigger Debounce
// 1/15 to 1/15,000 // 2 to 6 inches
2-13
Page 25
Chapter
2-14
2
System Components
Vision MINI Xi Smart Camera Guide
Page 26
3
CHAPTER 3
Optics and Lighting
3 Optics and Lighting
This section describes the optical and illumination characteristics of the Vision MINI Xi Smart Camera.
Vision MINI Xi Smart Camera Guide
3-1
Page 27
Chapter
3
Optics and Lighting
Optics The monochrome and color versions of the Vision MINI Xi Smart Camera have a built-in CMOS sensor, available in Standard Density or High Density (2.5 mm).
WVGA (752 x 480) Field of View Standard Density Working Distance Horizontal FOV
High Density Vertical FOV
Working Distance Horizontal FOV
Vertical FOV
2
1.486
0.949
2
0.663
0.560
3
2.188
1.396
3
0.954
0.824
4
2.889
1.844
4
1.246
1.089
5
3.591
2.292
5
1.537
1.354
6
4.292
2.740
6
1.828
1.619
SXGA (1280 x 1024) Field of View Standard Density Working Distance Horizontal FOV
High Density Vertical FOV
Working Distance Horizontal FOV
Vertical FOV
2
2.186
1.749
2
1.264
1.011
3
3.182
2.545
3
1.850
1.480
4
4.177
3.342
4
2.436
1.949
5
5.173
4.138
5
3.022
2.418
6
6.168
4.935
6
3.608
2.886
QXGA (2048 x 1536) Field of View Standard Density Working Distance Horizontal FOV
3-2
High Density Vertical FOV
Working Distance Horizontal FOV
Vertical FOV
2
2.165
1.749
2
1.264
0.948
3
3.180
2.545
3
1.850
1.388
4
4.195
3.342
4
2.436
1.827
5
5.210
4.138
5
3.022
2.267
Vision MINI Xi Smart Camera Guide
Page 28
Illumination The Vision MINI Xi Smart Camera has built-in lighting (red LEDs). The LEDs can be configured to operate in multiple modes – Continuous, Strobe, and Off.
Lighting Examples The following lighting examples were captured using a Standard Density Vision MINI Xi with built-in lighting (red LEDs). FIGURE 3–1. On-Axis – Semi-Specular Surface (Fine Matte Metal Ruler) at 2”,
Optical Axis of Camera Positioned at 90° from Image Plane
FIGURE 3–2. Off-Axis – Semi-Specular Surface (Fine Matte Metal Ruler) at 2”,
Optical Axis of Camera Positioned at 60° from Image Plane
Vision MINI Xi Smart Camera Guide
3-3
3 Optics and Lighting
Illumination
Page 29
Chapter
3
Optics and Lighting
Machine Vision Lighting Principles Proper lighting is critical to the success of a machine vision application. The Vision MINI Xi features integrated lighting (built-in red LEDs @ 617nm). Depending on the requirements of your application, you may also need to add external lighting from Microscan’s NERLITE family of machine vision lighting products. Consider the following when setting up your application: –
Is the surface of the object flat, slightly bumpy, or very bumpy?
–
Is the surface matte or shiny?
–
Is the object curved or flat?
–
What is the color of the object or area being inspected?
–
Is the object moving or stationary?
Machine vision lighting should maximize contrast of the areas or features being inspected while minimizing the contrast of everything else.
Before correct lighting
3-4
After correct lighting with a NERLITE Illuminator
Vision MINI Xi Smart Camera Guide
Page 30
A
APPENDIX A
Connector Pinouts
A Connector Pinouts
This section contains information about the Vision MINI Xi Smart Camera’s connector pin assignments.
Vision MINI Xi Smart Camera Guide
A-1