Vieworks VH Series, VH-4MC, VH-2MC, VH-310C, VH-16MC User Manual

...
Page 1
Page 2
VH Camera Link series
Page 2 of 84 RA14-132-001
Revision History
Version
Descriptions
1.0
Draft
1.1
Modified Mechanical Dimension
1.2
Modified VH-16M T3p value: 600 ㎲ 200 ㎲
1.3
Changed model name
2.0
Deleted VH GigE model Added VH-5MC
2.1
Added description of M5 set screws for tilt adjustment Revised spectral response to be separated by mono and color Added Actual Time Applied for Commands
2.2
Changed timing values for VH-310C, VH-2MC and VH-4MC Applied new CI
2.3
Corrected errors on the mechanical dimension of VH-310C
2.4
Corrected errors on the mechanical dimension of C-mount and F-mount Added typical and maximum power requirements
2.5
Removed VH-5MC
2.6
Updated the EMC Directive
2.7
Added support for the 3× binning factor in VH-11MC Updated Quantum Efficiency graphs
Page 3
VH Camera Link series
Page 3 of 84 RA14-132-001
Contents
1 Precautions ....................................................................................................................... 6
2 Warranty ............................................................................................................................ 7
3 Compliance & Certifications ............................................................................................ 7
3.1 FCC Compliance ............................................................................................................. 7
3.2 CE: DoC .......................................................................................................................... 7
3.3 KC ................................................................................................................................... 7
4 Package Components ...................................................................................................... 8
5 Product Specifications ................................................................................................... 10
5.1 Model ............................................................................................................................ 10
5.2 Specifications ................................................................................................................. 11
5.3 Camera Block Diagram ................................................................................................. 13
5.4 Spectral Response ........................................................................................................ 14
5.4.1 Mono Camera Spectral Response ................................................................................................. 14
5.4.2 Color Camera Spectral Response .................................................................................................. 17
5.5 Mechanical Specification ............................................................................................... 20
6 Connecting the Camera .................................................................................................. 23
6.1 Mount Plate ................................................................................................................... 23
6.2 Precaution to Center the Image Sensor ......................................................................... 24
6.3 Precaution about Blurring Compared to Center ............................................................. 24
6.4 Installing the Configurator .............................................................................................. 24
7 Camera Interface ............................................................................................................. 25
7.1 General Description ....................................................................................................... 25
7.2 Camera Link Connector ................................................................................................. 25
7.3 Power Input Receptacle................................................................................................. 27
7.4 Control I/O Receptacle .................................................................................................. 28
7.5 Trigger Input Circuit ....................................................................................................... 29
7.6 Strobe Output Circuit ..................................................................................................... 29
8 Camera Features ............................................................................................................. 30
8.1 Area of Interest .............................................................................................................. 30
8.2 Binning .......................................................................................................................... 33
Page 4
VH Camera Link series
Page 4 of 84 RA14-132-001
8.3 Trigger Mode ................................................................................................................. 34
8.3.1 Free-Run Mode............................................................................................................................... 35
8.3.2 Standard Mode ............................................................................................................................... 37
8.3.3 Double Mode .................................................................................................................................. 38
8.3.4 Fast Mode ....................................................................................................................................... 39
8.3.5 Overlap Mode ................................................................................................................................. 40
8.4 Channel Mode ............................................................................................................... 41
8.5 Gain and Offset ............................................................................................................. 43
8.6 LUT ............................................................................................................................... 44
8.7 Defective Pixel Correction ............................................................................................. 45
8.7.1 Correction Method .......................................................................................................................... 45
8.8 Flat Field Correction ...................................................................................................... 46
8.8.1 Sequence of Flat Field Correction .................................................................................................. 46
8.9 Temperature Monitor ..................................................................................................... 49
8.10 Status LED .................................................................................................................... 49
8.11 Data Format .................................................................................................................. 49
8.12 Test Image ..................................................................................................................... 50
8.13 Horizontal Flip ............................................................................................................... 52
8.14 Image Invert .................................................................................................................. 53
8.15 Strobe ............................................................................................................................ 54
8.15.1 Strobe Offset ................................................................................................................................... 54
8.15.2 Strobe Polarity ................................................................................................................................ 55
8.16 Field Upgrade ................................................................................................................ 55
9 Camera Configuration .................................................................................................... 56
9.1 Setup Command ........................................................................................................... 56
9.2 Actual Time Applied for Commands ............................................................................... 58
9.3 Parameter Storage Space ............................................................................................. 59
9.4 Command List ............................................................................................................... 60
10 Configurator GUI ............................................................................................................. 63
10.1 Camera Scan ................................................................................................................ 63
10.2 Menu ............................................................................................................................. 64
10.2.1 File .................................................................................................................................................. 64
10.2.2 Start-Up .......................................................................................................................................... 65
10.2.3 Tool ................................................................................................................................................. 66
10.2.4 About .............................................................................................................................................. 67
Page 5
VH Camera Link series
Page 5 of 84 RA14-132-001
10.3 Tab ................................................................................................................................ 68
10.3.1 VIEW Tab ........................................................................................................................................ 68
10.3.2 MODE/EXP Tab .............................................................................................................................. 69
10.3.3 ANALOG Tab .................................................................................................................................. 70
10.3.4 LUT Tab .......................................................................................................................................... 71
10.3.5 FFC Tab .......................................................................................................................................... 72
11 Troubleshooting .............................................................................................................. 73
Appendix A Defective Pixel Map Download .................................................................... 74
Appendix B LUT Download ............................................................................................... 77
B.1 Gamma Graph Download .............................................................................................. 77
B.2 CSV File Download ....................................................................................................... 78
Appendix C Field Upgrade ................................................................................................ 80
C.1 MCU .............................................................................................................................. 80
C.2 FPGA ............................................................................................................................ 83
Page 6
VH Camera Link series
Page 6 of 84 RA14-132-001
1 Precautions
General
Do not drop, disassemble, repair or alter the device. Doing so may damage the camera
electronics and cause an electric shock.
Do not let children touch the device without supervision. Stop using the device and contact the nearest dealer or manufacturer for technical
assistance if liquid such as water, drinks or chemicals gets into the device.
Do not touch the device with wet hands. Doing so may cause an electric shock. Make sure that the temperature of the camera does not exceed the temperature range
specified in 5.2 Specifications. Otherwise the device may be damaged by extreme
temperature.
Installation and Maintenance
Do not install in dusty or dirty areas - or near an air conditioner or heater to reduce the risk
of damage to the device.
Avoid installing and operating in an extreme environment where vibration, heat, humidity,
dust, strong magnetic fields, explosive/corrosive mists or gases are present.
Do not apply excessive vibration and shock to the device. This may damage the device. Avoid direct exposure to a high intensity light source. This may damage the image sensor. Do not install the device under unstable lighting conditions. Severe lighting change will affect
the quality of the image produced by the device.
Do not use solvents or thinners to clean the surface of the device. This can damage the
surface finish.
Power Supply
Applying incorrect power can damage the camera. If the voltage applied to the camera is
greater or less than the camera’s nominal voltage, the camera may be damaged or operate
erratically. Please refer to 5.2 Specifications for the camera’s nominal voltage. ※ Vieworks Co., Ltd. does NOT provide power supplies with the devices.
Make sure the power is turned off before connecting the power cord to the camera.
Otherwise, damage to the camera may result.
Page 7
VH Camera Link series
Page 7 of 84 RA14-132-001
2 Warranty
Do not open the housing of the camera. The warranty becomes void if the housing is opened. For information about the warranty, please contact your local dealer or factory representative.
3 Compliance & Certifications
3.1 FCC Compliance
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part
15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference
when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate
radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause
harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause
harmful interference in which case the user will be required to correct the interference at his own expenses.
3.2 CE: DoC
EMC Directive 2014/30/EU EN 55032:2012 (Class A), EN 55024:2010 Class A
3.3 KC
KCC Statement
Type
Description
Class A
(Broadcasting Communication
Device for Office Use)
This device obtained EMC registration for office use (Class A), and may be
used in places other than home. Sellers and/or users need to take note of
this.
Page 8
VH Camera Link series
Page 8 of 84 RA14-132-001
4 Package Components
Package Components
VH Camera with C mount, VH Camera with F mount or
VH-310C Camera with C mount
Mount Plate (Optional)
Page 9
VH Camera Link series
Page 9 of 84 RA14-132-001
Package Components
M5 Set Screws for Tilt Adjustment (Provided only with F-mount camera)
You can adjust the tilt using the M5 set screws, however it is not recommended since it is
adjusted as factory default settings.
If the tilt settings need to be adjusted inevitably, please contact your local dealer or factory
representative for technical support.
Page 10
VH Camera Link series
Page 10 of 84 RA14-132-001
5 Product Specifications
5.1 Model
VH Camera Link series is a progressive scan, high resolution industrial digital camera. All features of the camera
can be programmed and updated in the field. The image processing and controls of VH Camera Link series are
based on embedded FPGA with a 32 bit microprocessor.
Main Features
Area Of Interest Trigger Mode Binning Mode – 2 × 2 / 4 × 4 (VH-310C, VH-2MC, VH-4MC and VH-16MC Only) Binning Mode – 2 × 2 / 3 × 3 / 4 × 4 (VH-11MC Only) Output Width – 8 / 10 / 12 bit Output Channel – 1 Tap / 2 Tap Electronic Shutter – Global Shutter Strobe Output Analog Gain adjustment function Analog Offset adjustment function Lookup Table Pixel Defect Correction Test Image Horizontal Flip Image Invert RS-644 Serial Communication Temperature Monitor Field Upgradeable Firmware Base Camera Link
Page 11
VH Camera Link series
Page 11 of 84 RA14-132-001
5.2 Specifications
VH Camera Link series technical specifications are as follows.
VH Camera Link Series
VH-310C
VH-2MC
VH-4MC
Active Image (H × V)
640 × 480
1600 × 1200
2048 × 2048
Sensor (On Semiconductor)
KAI-0340
KAI-2020
KAI-4021
Optical Format
1/3”
1”
4/3”
Pixel Size
7.4 ㎛ × 7.4 ㎛
Sensor Output
1 or 2 Tap
Pixel Data Format
8/10/12 bits
Dynamic Range
> 60 ㏈
> 62 ㏈
Camera Interface
Camera Link
Electronic Shutter
Global Shutter
Max. Frame Rate at Full Resolution
140 / 264 fps
23 / 42 fps
11 / 20 fps
Camera Link Pixel Clock
50 ㎒
Exposure Time (10 ㎲ step)
16 ㎲ ~ 7s
38 ㎲ ~ 7s
66 ㎲ ~ 7s
Partial Scan (Max. Speed)
1290 fps at 60 Lines
146 fps at 150 Lines
77 fps at 256 Lines
Binning
2×, 4×
Lookup Table
G=1.0, User Defined Lookup Table (LUT)
Black Level
Adjustable (0 ~ 127 LSB at 12 bit, 256 steps)
Analog Gain
0 ~ 32 ㏈, 900 steps
Trigger Mode
Free Run, Standard, Fast, Double, Overlap
Programmable Exposure Time and Trigger Polarity
External Trigger
3.3 V ~ 5.0 V, 10 ㎃, optically isolated
Software Trigger
Camera Link CC1
Lens Mount
C-mount
C-mount or F-mount
Power Requirements
10 ~ 14 V DC
Typ. 4 W / Max. 5 W
10 ~ 14 V DC
Typ. 5 W / Max. 6 W
10 ~ 14 V DC
Typ. 5.5 W / Max. 7 W
Environmental
Operating: -5℃ ~ 40℃, Storage: -40℃ ~ 70℃
Mechanical
49 ㎜ × 49 ㎜ × 52.8 ㎜, 190 g (VH-310C) 68 ㎜ × 68 ㎜ × 54 ㎜, 420 g (with C-mount) 68 ㎜ × 68 ㎜ × 83 ㎜, 460 g (with F-mount)
Table 5.1 Specifications of VH Camera Link Series (VH-310/2/4MC)
Page 12
VH Camera Link series
Page 12 of 84 RA14-132-001
VH Camera Link Series
VH-11MC
VH-16MC
Active Image (H × V)
4008 × 2672
4872 × 3248
Sensor (On Semiconductor)
KAI-11002
KAI-16000
Optical Format
35 ㎜
35 ㎜
Pixel Size
9.0 ㎛ × 9.0 ㎛
7.4 ㎛ × 7.4 ㎛
Sensor Output
1 or 2 Tap
Pixel Data Format
8/10/12 bits
Dynamic Range
> 64 ㏈
Camera Interface
Camera Link (Base)
Electronic Shutter
Global Shutter
Max. Frame Rate at Full Resolution
3.4 / 6.4 fps
2.2 / 4.2 fps
Camera Link Pixel Clock
Normal Speed: 30 ㎒ / High Speed: 40 ㎒
Exposure Time (10 ㎲ step)
132 ㎲ ~ 7s
216 ㎲ ~ 7s
Partial Scan (Max. Speed)
30 fps at 334 Lines
12 fps at 406 Lines
Binning
2×, 3×, 4×
2×, 4×
Lookup Table
G=1.0, User Defined Lookup Table (LUT)
Black Level
Adjustable (0 ~ 127 LSB at 12 bit, 256 steps)
Analog Gain
0 ~ 32 ㏈, 900 steps
Trigger Mode
Free Run, Standard, Fast, Double, Overlap
Programmable Exposure Time and Trigger Polarity
External Trigger
3.3 V ~ 5.0 V, 10 ㎃, optically isolated
Software Trigger
Camera Link CC1
Lens Mount
C-mount or F-mount
Power Requirements
10 ~ 14 V DC
Typ. 6.5 W/Max. 9.5 W
10 ~ 14 V DC
Typ. 6 W / Max. 8 W
Environmental
Operating: -5℃ ~ 40℃, Storage: -40℃ ~ 70℃
Mechanical
68 ㎜ × 68 ㎜ × 54 ㎜, 420 g (with C-mount)
68 ㎜ × 68 ㎜ × 83 ㎜, 460 g (with F-mount)
Table 5.2 Specifications of VH Camera Link Series (VH-11/16MC)
Page 13
VH Camera Link series
Page 13 of 84 RA14-132-001
5.3 Camera Block Diagram
Figure 5.1 Camera Block Diagram
All controls and data processing of the cameras are carried out in one FPGA chip. The FPGA generally consists
of a 32 bit RISC Micro-Controller and Processing & Control Logic. The Micro-Controller receives commands from
the user through the Camera Link interface and then processes them. The FPGA controls the Timing Generators
(TGs) and the Analog Front End (AFE) chips where the TGs generate CCD control signals and AFE chips
convert analog CCD output to digital values to be accepted by the Processing & Control Logic. The Processing &
Control Logic processes the image data received from AFE and then transmits data through the Camera Link
interface. And also, the Processing & Control Logic controls the trigger input and output signal which are
sensitive to time. Furthermore, SDRAM and FLASH is installed outside FPGA. SDRAM is used for the frame
buffer to process images and FLASH contains the firmware that operates the Micro-Controller.
Image Processing
And
Control Logic
Micro Controller
AFE+TG 1
H Driver
V Driver
AFE+TG 2
CCD
FLASH
SDRAM
Camera Link
Strobe
Ext. Trig
FPGA
RS644
DATA
CC1
AFE: Analog Front End
TG: Timing Generator
Page 14
VH Camera Link series
Page 14 of 84 RA14-132-001
5.4 Spectral Response
5.4.1 Mono Camera Spectral Response
The following graphs show the spectral response for VH Camera Link series monochrome cameras.
Figure 5.2 VH-310C-M264 Spectral Response
Figure 5.3 VH-2MC-M42 Spectral Response
Page 15
VH Camera Link series
Page 15 of 84 RA14-132-001
Figure 5.4 VH-4MC-M20 Spectral Response
Figure 5.5 VH-11MC-M6 Spectral Response
Page 16
VH Camera Link series
Page 16 of 84 RA14-132-001
Figure 5.6 VH-16MC-M4 Spectral Response
Page 17
VH Camera Link series
Page 17 of 84 RA14-132-001
5.4.2 Color Camera Spectral Response
The following graphs show the spectral response for VH Camera Link series color cameras.
Figure 5.7 VH-310C-C264 Spectral Response
Figure 5.8 VH-2MC-C42 Spectral Response
Page 18
VH Camera Link series
Page 18 of 84 RA14-132-001
Figure 5.9 VH-4MC-C20 Spectral Response
Figure 5.10 VH-11MC-C6 Spectral Response
Page 19
VH Camera Link series
Page 19 of 84 RA14-132-001
Figure 5.11 VH-16MC-C4 Spectral Response
Page 20
VH Camera Link series
Page 20 of 84 RA14-132-001
5.5 Mechanical Specification
The camera dimensions in millimeters are as shown in the following figure.
Figure 5.12 VH Camera Link Series C-mount Mechanical Dimension
Page 21
VH Camera Link series
Page 21 of 84 RA14-132-001
Figure 5.13 VH Camera Link Series F-mount Mechanical Dimension
Page 22
VH Camera Link series
Page 22 of 84 RA14-132-001
Figure 5.14 VH-310C C-mount Mechanical Dimension
Page 23
VH Camera Link series
Page 23 of 84 RA14-132-001
6 Connecting the Camera
The following instructions assume that you have installed a Camera Link frame grabber in your PC including
related software. For more information, refer to your Camera Link frame grabber User Manual. To connect the camera to your PC, follow the steps below:
1. Make sure that the power supply is not connected to the camera and your PC is turned off.
2. Plug one end of a Camera Link cable into the Camera Link connector on the camera and the other end of the Camera Link cable into the Camera Link Frame Grabber in your PC.
3. Connect the plug of the power adaptor to the power input receptacle on the camera.
4. Plug the power adaptor into a working electrical outlet.
5. Verify all the cable connections are secure.
6.1 Mount Plate
The Mount Plate is provided as an optional item. The camera can be fixed without using this Mount Plate. The mount plate is integrated for VH-310C model.
Page 24
VH Camera Link series
Page 24 of 84 RA14-132-001
6.2 Precaution to Center the Image Sensor
Users do not need to center the image sensor as it is adjusted as factory default settings. When you need to adjust the center of the image sensor, please contact your local dealer or the
manufacturer for technical assistance.
6.3 Precaution about Blurring Compared to Center
Users do not need to adjust the tilt as it is adjusted as factory default settings. If the tilt settings need to be adjusted inevitably, please contact your local dealer or factory representative for
technical support.
6.4 Installing the Configurator
You can control the camera by executing the Configurator.exe file. You can download the latest Configurator at http://www.vieworks.com. Please refer to your Frame Grabber User Manual.
Page 25
VH Camera Link series
Page 25 of 84 RA14-132-001
7 Camera Interface
7.1 General Description
As shown in the following figure, 3 types of connectors and status indicator LED are located on the back of the
camera and have the functions as follows:
① 26 pin Camera Link Connector: controls video data and the camera. ② Status LED: displays power status and operation mode. ③ 6 pin Power Input Receptacle: supplies power to the camera. ④ 4 pin Control Receptacle: inputs external trigger signal and outputs strobe.
Figure 7.1 VH Camera Link Series Back Panel
7.2 Camera Link Connector
CAMERA LINK 1
1
13
26
14
Figure 7.2 Camera Link Connector
VH-310C
①
②
③
④
Page 26
VH Camera Link series
Page 26 of 84 RA14-132-001
Camera Link connector complies with Camera Link Standard and the following list shows the pin configuration of
the connector.
PAIR List
Pin
Signal Name
Type
Description
PAIR 0
1
Ground
Ground
Cable Shield
14
Ground
Ground
Cable Shield
PAIR 1
2
-X0
LVDS - Out
Camera Link Transmitter
15
+X0
LVDS - Out
Camera Link Transmitter
PAIR 2
3
-X1
LVDS - Out
Camera Link Transmitter
16
+X1
LVDS - Out
Camera Link Transmitter
PAIR 3
4
-X2
LVDS - Out
Camera Link Transmitter
17
+X2
LVDS - Out
Camera Link Transmitter
PAIR 4
5
-XCLK
LVDS - Out
Camera Link Transmitter
18
+XCLK
LVDS - Out
Camera Link Transmitter
PAIR 5
6
-X3
LVDS - Out
Camera Link Transmitter
19
+X3
LVDS - Out
Camera Link Transmitter
PAIR 6
7
+ SerTC
LVDS - In
Serial Data Receiver
20
- SerTC
LVDS - In
Serial Data Receiver
PAIR 7
8
- SerTFG
LVDS - Out
Serial Data Transmitter
21
+ SerTFG
LVDS - Out
Serial Data Transmitter
PAIR 8
9
- CC 1
LVDS - In
Software External Trigger
22
+ CC 1
LVDS - In
Software External Trigger
PAIR 9
10
N/C
N/C
N/C
23
N/C
N/C
N/C
PAIR 10
11
N/C
N/C
N/C
24
N/C
N/C
N/C
PAIR 11
12
N/C
N/C
N/C
25
N/C
N/C
N/C
PAIR 12
13
Ground
Ground
Cable Shield
26
Ground
Ground
Cable Shield
Table 7.1 Pin Assignments for Camera Link Base Configuration
Page 27
VH Camera Link series
Page 27 of 84 RA14-132-001
7.3 Power Input Receptacle
The power input receptacle is a Hirose 6 pin connector (part # HR10A-7R-6PB). The pin assignments and
configurations are as follows:
Figure 7.3 Pin Assignments for Power Input Receptacle
Pin Number
Signal
Type
Description
1, 2, 3
+ 12V DC
Input
DC Power Input
4, 5, 6
DC Ground
Input
DC Ground
Table 7.2 Pin Configurations for Power Input Receptacle
Connecting the power cable to the camera can be made by using the Hirose 6 pin plug (part # HR10A-7P-6S) or
the equivalent. The power adaptor is recommended to have at least 1A current output at 12 V DC ±10% voltage
output (Users need to purchase the power adaptor separately).
Precaution for Power Input
Make sure the power is turned off before connecting the power cord to the camera.
Otherwise, damage to the camera may result.
If the camera input voltage is greater than specified in the specifications, damage to the
camera may result.
1
2
3 4
5
6
Page 28
VH Camera Link series
Page 28 of 84 RA14-132-001
7.4 Control I/O Receptacle
The control I/O receptacle is a Hirose 4 pin connector (part # HR10A-7R-4S) and consists of an external trigger
signal input and strobe output port. The pin assignments and configurations are as follows:
Figure 7.4 Pin Assignments for Control I/O Receptacle
Pin Number
Signal
Type
Description
1
Trigger Input +
Input
-
2
Trigger Input -
Input
-
3
DC Ground
-
DC Ground
4
Programmable Output
(Default: Strobe Out)
Output
3.3 V TTL Output
Output resistance: 47 Ω
Table 7.3 Pin Configurations for Control I/O Receptacle
The mating connector is a Hirose 4 pin plug (part # HR10A-7P-4P) or the equivalent connectors.
1 2
4 3
Page 29
VH Camera Link series
Page 29 of 84 RA14-132-001
7.5 Trigger Input Circuit
The following figure shows trigger signal input circuit of the 4-pin connector. Transmitted trigger signal is applied
to the internal circuit through a photo coupler. Minimum trigger width that can be recognized by the camera is 1
㎲. If transmitted trigger signal is less than 1 ㎲, the camera will ignore the trigger signal. External trigger circuit example is shown below.
Figure 7.5 Trigger Input Schematic
7.6 Strobe Output Circuit
The strobe output signal comes out through a 3.3 V output level of TTL Driver IC. The pulse width of signal is
synchronized with the exposure signal (shutter) of the camera.
Figure 7.6 Strobe Output Schematic
TRIGGER_IN + 1
2
3
4
HR10A-7R-4SB
330 Ω
PHOTO COUPLER
TRIGGER+
+5V
1 kΩ
USER
TRIGGER-
Camera
3.3 ~ 5 V
0 V
TTL Driver
0 V
3.3 V
Strobe_Out +
Strobe_Out -
47 O
Strobe Out
TTL Driver
1
2
3
4
HR10A-7R-4SB
Camera
USER
( Output Current : ? 12 mA )
3.3V TTL Driver IC (NC7S14)
Page 30
VH Camera Link series
Page 30 of 84 RA14-132-001
8 Camera Features
8.1 Area of Interest
The Area of Interest (AOI) feature allows you to specify a portion of the sensor array. You can acquire only the
frame data from the specified portion of the sensor array while preserving the same quality as you acquire a
frame from the entire sensor array. AOI is determined as the overlapping area of two areas when designating
start point and end point in horizontal and vertical direction as shown in figure below. Start point and End point
mean the starting and end of the AOI.
The narrower Vertical AOI is designated, the faster the frame speed will be. However Horizontal AOI does not
affect the frame speed. For more information about AOI parameter settings, see “sha” and “sva” command on
Command List.
Figure 8.1 Area of Interest
The AOI values (H × V) may vary depending on the type of frame grabber. For technical assistance, contact to your local dealer or the manufacturer.
Vertical
AOI
Area Of Interest (0, VSIZE - 1)
H Start
H End
V Start
V End
(HSIZE - 1, VSIZE - 1)
(HSIZE - 1, 0)
(0, 0)
Page 31
VH Camera Link series
Page 31 of 84 RA14-132-001
The approximate maximum frame rate depending on the change of Vertical AOI can be obtained as shown in the
following expression.
1 or 2 Channel Mode:
Frame Rate (fps)
=
1000000
/
{T
VCCD
+ TFD ×
(V
SIZE
– V
AOI
) + V
AOI
× TL]
T
VCCD
: the amount of time required to transmit electric charges accumulated on
the pixels to Vertical Register
TFD : the amount of time required for Fast Dump
V
SIZE
: the number of Vertical Line of CCD
TL : the amount of time required for transmission of one line
V
AOI
: size of the Vertical AOI
The available minimum value of T
VCCD
, TFD, V
SIZE
, TL and V
AOI
may vary depending on the camera model. The
value of T
L
may vary depending on the channel mode. The values of each item are shown below.
VH CL Series
VH-310C
VH-2MC
VH-4MC
VH-11MC
VH-16MC
T
VCCD
35.3 ㎲
97.0 ㎲
139.6 ㎲
190.0 ㎲
242 ㎲
T
L
(1 channel)
14.2 ㎲
36.4 ㎲
45.8 ㎲
106.8 ㎲
135.0 ㎲
T
L
(2 channel)
7.8 ㎲
19.6 ㎲
19.6 ㎲
55.9 ㎲
73.0 ㎲
T
FD
0.6 ㎲
3.6 ㎲
3.6 ㎲
6.0 ㎲
16.0 ㎲
V
SIZE
480 Lines
1200 Lines
2048 Lines
2672 Lines
3248 Lines
Minimum Vertical ROI
60 Lines
150 Lines
256 Lines
334 Lines
406 Lines
Table 8.1 Timing Value for VH Camera Link Series
Page 32
VH Camera Link series
Page 32 of 84 RA14-132-001
The following figure shows frame rate for each camera model depending on Vertical AOI changes with 1 Tap and
2 Tap settings.
Figure 8.2 Frame Rate by Vertical AOI changes
Page 33
VH Camera Link series
Page 33 of 84 RA14-132-001
8.2 Binning
Binning has the effects of increasing the level value and decreasing resolution by summing the values of the
adjacent pixels and sending them as one pixel. The camera applies the same Binning Factor (2×, 3×, 4×, the
3× binning factor is only available in the VH-11MC camera.) to both directions in order to keep the imaging ratio.
The below figure shows application of 2 × 2 Binning and 4 × 4 Binning respectively. Since Binning in vertical
direction is processed at internal register of CCD, the frame speed increases as many as Binning Factor if
Binning is applied, but Binning in horizontal direction does not affect the frame speed. Binning Factor is set using
“sbf” command.
Figure 8.3 2 × 2 Binning
Figure 8.4 4 × 4 Binning
Even if the binning is performed on the color camera, the resulting image will be monochrome.
Page 34
VH Camera Link series
Page 34 of 84 RA14-132-001
8.3 Trigger Mode
When the Trigger Mode is set to Free-Run, the camera will generate all required trigger signals internally, and
you do not need to apply trigger signals to the camera.
When the Trigger Mode is set to Standard, Fast, Double or Overlap, you must apply a trigger signal to the
camera each time you want to begin a frame acquisition. The Source parameter specifies the source signal that
will act as the trigger signal. The available settings for the Source parameter are: CC1: You can apply a trigger signal to the camera via Camera Link CC1 channel.
For more information, refer to your Camera Link frame grabber user manual.
Ext.: You can apply a trigger signal to the camera by injecting an externally generated electrical
signal (commonly referred to as a hardware trigger signal) into the Control I/O receptacle on the camera.
If the Source parameter is set to CC1 or Ext., you must also set the Polarity parameter. The available settings for the Polarity parameter are:
Active Low: Specifies that a falling edge of the electrical signal will act as the trigger signal.  Active High: Specifies that a rising edge of the electrical signal will act as the trigger signal.
Page 35
VH Camera Link series
Page 35 of 84 RA14-132-001
8.3.1 Free-Run Mode
When the Trigger Mode is set to Free-Run, the camera will generate all required trigger signals internally. When
the camera is set this way, the exposure time for each frame acquisition is determined by the value of the
camera’s Exposure Time parameter. The camera will constantly acquire images (repeat exposure and readout)
without any need for triggering by the user.
Figure 8.5 Free-Run Mode
With the Trigger Mode set to Free-Run, the exposure for a new frame will overlap the readout for the previous
frame. The operation of the camera may differ depending on the length of the exposure time and readout time.
Page 36
VH Camera Link series
Page 36 of 84 RA14-132-001
If the exposure time is shorter than the readout time, a shutter signal will be generated while reading out the
sensor data for the previously acquired frame. Then, the camera will begin reading out the sensor data for a new
frame as soon as it finishes reading out the sensor data for the previous frame. In this case, the frame speed will
be constant regardless of changes in the exposure time.
Figure 8.6 Exposure Time is Shorter than Readout Time
If the exposure time is longer than the readout time, the camera will begin the process of reading out a frame
each time a shutter signal is generated. After completing the process of reading out the frame, the camera will
not begin the process of reading out a new frame until the camera completes the process of exposing a new
frame. In this case, the frame speed becomes slower as you increase the exposure time value.
Figure 8.7 Exposure Time is longer than Readout Time
Page 37
VH Camera Link series
Page 37 of 84 RA14-132-001
8.3.2 Standard Mode
When the Trigger Mode is set to Standard, you must trigger exposure start by applying trigger signals to the
camera. Applying a trigger signal to the camera will exit the camera from the waiting for trigger signal acquisition
status and will begin the process of exposing and reading out a frame. After the readout for the frame is
complete, the camera will be operated according to the Frame Number after triggered settings as shown
below. You can set the Frame Number after triggered settings by using the “sfn” command.
0: the camera will be operated in the Free-Run mode. 1: the camera will return to the waiting for trigger signal acquisition status. 2 ~ 255: the camera will return to the waiting for trigger signal acquisition status once the number of
image acquisitions is reached to the setting value minus one.
Figure 8.8 Standard Trigger Mode
Trigger signals applied to the camera when it is not in a waiting for trigger signal acquisition status will be
ignored.
Figure 8.9 Trigger Ignored
Page 38
VH Camera Link series
Page 38 of 84 RA14-132-001
8.3.3 Double Mode
When the Trigger Mode is set to Double, two frames can be acquired with a single trigger signal. When a
trigger signal is applied to the camera, the camera begins the process of exposing the first frame according to
the current exposure time settings. Once the exposure for the first frame is complete, the camera reads out the
sensor data. At this point, the process of exposing the second frame begins. Then, the camera reads out the
sensor data for the second frame after reading out the sensor data for the previous frame.
In the Double mode, the exposure time for the second frame equals to the readout time of the first frame. There
is a just few microseconds (or dozen of microseconds) between the point where the exposure process for the
first frame ends and the point where the exposure process for the second frame begins. This is because the
camera does not generate a shutter signal while reading out the sensor data for the first frame. At this point, the
camera outputs a strobe out signal reflecting the exposure time for the first frame.
Figure 8.10 Double Mode
Page 39
VH Camera Link series
Page 39 of 84 RA14-132-001
8.3.4 Fast Mode
The Fast mode is useful to apply trigger signals with shorter interval than those in the Standard mode. In the
Fast mode, the camera begins the process of reading out the previous frame as soon as a new trigger signal is
applied to the camera. The trigger signal interval determines the exposure time for a frame since the camera
does not generate a shutter signal during the process of reading out a frame.
Figure 8.11 Fast Mode
Page 40
VH Camera Link series
Page 40 of 84 RA14-132-001
8.3.5 Overlap Mode
When the Trigger Mode is set to Overlap, the camera operates in the ‘overlapped’ mode which allows the
exposure for a new frame to overlap the sensor readout for the previous frame. When a new trigger signal is
applied to the camera while reading out the previous frame, the camera begins the process of exposing a new
frame. If you will be operating the camera with the Overlap mode, there are important guidelines to keep in mind:
You must not begin the exposure for a new frame while the exposure for the previous frame is in progress. You must not end the exposure for the current frame until the readout for the previous frame is complete. To acquire images with the maximum frame rate, the exposure time must not be longer than the readout
time and the trigger signal interval must not be shorter than the readout time.
The readout time for each camera model is shown in the following table.
VH-310C
VH-2MC
VH-4MC
VH-11MC
VH-16MC
3.8 ㎳
23.8 ㎳
49.7 ㎳
149.9 ㎳
250 ㎳
Table 8.2 Readout Time for Each Model
Figure 8.12 Overlap Trigger Mode
Page 41
VH Camera Link series
Page 41 of 84 RA14-132-001
8.4 Channel Mode
The Channel mode determines how image data in the horizontal register of the CCD will be read out. The available settings are: 1 Tap (Single Channel) or 2 Tap (Dual Channel).
With the 1 Tap setting, all pixel values in the horizontal register will be read out from the left bottom Video
Amplifier (Video L). With the 2 Tap setting, pixel values from the left of the CCD will be read out from the Video L
and pixel values from the right of the CCD will be read out from the Video R. The advantage of the 2 Tap setting
is that it makes readout about two times faster than the 1 Tap setting. This is true because the two channels are
used simultaneously to read out the image sensor.
Active Pixels
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
Left Dark Columns
Two Taps
Right Dark Columns
Top Dark Rows
Bottom Buffer Rows
Top Buffer Rows
Left Buffer Columns
Right Buffer Columns
One Tap
Video L Video R
Left Dummy Pixels
Rigth Dummy Pixels
Horizontal Register
Bottom Dark Rows
(1, 1)
Figure 8.13 Channel Mode
Page 42
VH Camera Link series
Page 42 of 84 RA14-132-001
The image data read out from the CCD goes through image processing and it is reordered to be compliant with
the Camera Link standard. With the Single Channel (1 Tap), image data read out from the Video L will be
transmitted in a Camera Link 1 Tap fashion. With the Dual Channel (2 Tap), image data read out from the Video
L and R simultaneously will be transmitted in a Camera Link A, B 2 Tap Interleaved fashion.
Figure 8.14 Image Data Flow
Figure 8.15 Data Output
Page 43
VH Camera Link series
Page 43 of 84 RA14-132-001
8.5 Gain and Offset
The camera has one Analog Signal Processor (or Analog Front End, AFE) for each channel. This AFE consists
of Correlated Double Sampler (CDS), Variable Gain Amplifier (VGA), Black Level Clamp and 12-bit A/D
converter. The AFE has a register for Gain and Offset values. You can change the Gain and Offset values by
entering a proper value in the register. The Gain value can be set in a range from 0 to 899. If you know the
current setting value for the Gain, you can use the formula below to calculate the actual Gain (㏈).
Gain(㏈) = (Setting value × 0.035㏈)
0
6
12
18
24
30
36
0
100
200
300
400
500
600
700
800
Gain(dB)
Gain Curve
Register Value
Figure 8.16 Register Setting Values for the Actual Gain Values
The Offset value can be set in a range from 0 to 255 (LSB).
Page 44
VH Camera Link series
Page 44 of 84 RA14-132-001
8.6 LUT
LUT (Lookup Table) converts original image values to certain level values. Since it is mapped one to one for
each level value, 12-bit output can be connected to 12-bit input. LUT is in the form of table that has 4096 entries
from 0 to 4095 and the VH Camera Link cameras provide 2 non-volatile spaces for LUT data storage. You can
determine whether to apply LUT and which LUT to use using the “sls” command. For more information about
how to download LUT to the camera, refer to Appendix B.
12-bit Data
4096 entry
Lookup Table
12-bit Data
Figure 8.17 LUT Block
Figure 8.18 LUT at Gamma 0.5
LUT
0
500
1000
1500
2000
2500
3000
3500
4000
0 500 1000 1500 2000 2500 3000 3500 4000
Input Level
Output Level
Page 45
VH Camera Link series
Page 45 of 84 RA14-132-001
8.7 Defective Pixel Correction
The CCD may have Defect Pixels which cannot properly respond to the light. The VH Camera Link cameras
provide a feature to correct the defect pixel to enhance the quality of output images. Defect Pixel information of
the CCD used for each camera is saved in the camera during the manufacturing process in the factory. If you
want to add Defect Pixel information, it is required to enter coordinate of new Defect Pixel into the camera.
You can determine whether to use the Defective Pixel Correction feature by using the “sdc” command. For more
information, refer to Appendix A.
8.7.1 Correction Method
A correction value for a defect pixel is calculated based on valid pixel values adjacent in the same line.
L3 L2 L1 R1 R2 R3
<Current Pixel>
Figure 8.19 Location of Defect Pixel to be corrected
If the current pixel is a defect pixel as shown in the above figure, a correction value for this pixel is obtained as
shown in the following table depending on whether surrounding pixels are defect pixels or not.
Adjacent Defect Pixel(s)
Correction value of Current Pixel
None
(L1 + R1) / 2
L1
R1
R1
L1
L1, R1
(L2 + R2) / 2
L1, R1, R2
L2
L2, L1, R1
R2
L2, L1, R1, R2
(L3 + R3) / 2
L2, L1, R1, R2, R3
L3
L3, L2, L1, R1, R2
R3
Table 8.3 Calculation of Defect Pixel Correction Value
Page 46
VH Camera Link series
Page 46 of 84 RA14-132-001
8.8 Flat Field Correction
The Flat Field Correction feature improves the image uniformity when you acquire a non-uniformity image due to
external conditions. The Flat Field Correction feature can be summarized by the following equation:
IC = {(IR – IB) × M} / (IF – IB)
Where,
IC: Level value of corrected image
IR: Level value of original image
IB: Black offset value
M: Target value of image after correction
IF: Level value of Flat Field data
8.8.1 Sequence of Flat Field Correction
Under actual use conditions, generate Flat Field data (IF) and enable the Flat Field Correction feature according
to the following procedures.
How to generate Flat Field Correction data using Serial Commands
1. Use the “sfi n” command to set the number of frames (2n) to be used for generating the Flat Field data.
2. Use the “sfo” command to set the target value M to be applied after correction.
3. Use the “gfd” command to execute the Flat Field Generator.
4. Acquire images as many as set in the step 1 by operating the camera in the Free-Run mode or by applying trigger signals to the camera.
5. Use the “sfc” command to enable the Flat Field Correction feature. The Flat Field data will be expanded and then applied as shown in the Figure 8.22.
6. Use the “sfd” command to save the generated Flat Field data in the non-volatile memory.
Page 47
VH Camera Link series
Page 47 of 84 RA14-132-001
How to generate Flat Field Correction data using Configurator
1. Select the FFC tab and then set the number of frames to be used for generating the Flat Field data in the Number of acquisition frame.
2. Under the FFC Offset Level category, set the target value M to be applied after correction.
3. Click the Generate button to execute the Flat Field Generator.
4. Acquire images as many as set in the step 1 by operating the camera in the Free-Run mode or by applying trigger signals to the camera.
5. In the VIEW tab, click the Flat Field Corr. check box in the Image Processing category to enable the FFC.
6. In the FFC tab, click the Save to Flash button in the Flash Memory category to save the generated Flat
Field Correction data in the non-volatile memory. The Flat Field data will be expanded and then applied as
shown in the Figure 8.22 when they are used for correction.
Figure 8.20 Flat Field Correction in Configurator
When you execute the Flat Field Generator, the camera will ignore the current settings and
will use the default settings as shown below. After generating the Flat Field data, the
original camera settings will be restored.
Readout Mode: Normal Trigger Mode: Free-Run Channel Mode: Single Defective Pixel Correction: ON
The target value M is based on the Normal Readout mode. The level values on the image
may vary depending on the AOI, Binning or Channel mode settings.
Page 48
VH Camera Link series
Page 48 of 84 RA14-132-001
Figure 8.21 Generation and Application of Flat Field Data
Figure 8.22 Bilinear Interpolated Magnification
Page 49
VH Camera Link series
Page 49 of 84 RA14-132-001
8.9 Temperature Monitor
The camera is equipped with a temperature sensor to monitor the internal temperature. You can check the
temperature of the camera by using the “gct” command.
8.10 Status LED
A green LED is installed on the back panel of the camera to inform the operation status of the camera. LED status and corresponding camera status are as follows:
Continuous ON: operates in the Free-Run mode. Repeat On for 0.5 seconds, Off for 0.5 seconds: operates in the Trigger mode. Repeat On for 1 second, Off for 1 second: outputs Test Image. Repeat On for 0.25 seconds, Off for 0.25 seconds: operates in the Trigger mode and outputs Test Image.
8.11 Data Format
The internal processing of image data is performed in 12 bits. Then, the camera can output the data in 8, 10 or
12 bits. When the camera outputs the image data in 8 bits or 10 bits, the 4 or 2 least significant bits will be
truncated accordingly.
D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
MSB LSB
12Bit Output
10Bit Output
8Bit Output
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
Original
Data
Figure 8.23 Data Format
Page 50
VH Camera Link series
Page 50 of 84 RA14-132-001
8.12 Test Image
To check whether the camera operates normally or not, it can be set to output test images generated in the
camera, instead of the image data from the CCD. Three types of test images are available; image with different
value in horizontal direction (Test Image 1), image with different value in diagonal direction (Test Image 2), and
moving image with different value in diagonal direction (Test Image 3). The Test Image feature is available in all
operation modes of the camera. You can set the Test Image feature by using the “sti” command.
Figure 8.24 Test Image 1
Page 51
VH Camera Link series
Page 51 of 84 RA14-132-001
Figure 8.25 Test Image 2
Figure 8.26 Test Image 3
The test image may look different because the region of the test image may vary depending on
the camera’s resolution.
Page 52
VH Camera Link series
Page 52 of 84 RA14-132-001
8.13 Horizontal Flip
The Horizontal Flip feature let you flip the image horizontally. This feature is available in all operation modes and
“shf” command is used to set whether to use this feature or not.
Figure 8.27 Original Image
Figure 8.28 Horizontally Flipped Image
Page 53
VH Camera Link series
Page 53 of 84 RA14-132-001
8.14 Image Invert
The Image Invert feature let you invert the level values of the output image. The inverted level values differ
depending on the Data Format setting even if original values are same. This feature is available in all operation
modes of the camera. You can set the Image Invert feature by using the “sii” command.
Data Format
Original Value
Inverted Level Value
8 0 255
10 0 1023
12 0 4095
Table 8.4 Inverted Level Value depending on the Data Format
Figure 8.29 Original Image
Figure 8.30 Inverted Image
Page 54
VH Camera Link series
Page 54 of 84 RA14-132-001
8.15 Strobe
The camera provides a Strobe output signal. The signal goes high when the exposure time for each frame
acquisition begins and goes low when the exposure time ends. This signal can be used as a flash trigger and is
also useful when you are operating a system where either the camera or the object being imaged is movable.
Typically, you do not want the camera to move during exposure. You can monitor the Strobe output signal to
know when exposure is taking place and thus know when to avoid moving the camera.
8.15.1 Strobe Offset
The Strobe Offset value specifies a delay that will be applied between the point where the shutter signal rises
and the point where the Strobe output signal rises. The width of Strobe output signal will be the same as the
width of exposure but only the point where the Strobe output signal rises is adjusted. You can set the Strobe
Offset in microseconds by using the “sso” command.
Figure 8.31 Strobe Signal in the Free-Run mode
Figure 8.32 Strobe Signal in the Trigger mode
Page 55
VH Camera Link series
Page 55 of 84 RA14-132-001
8.15.2 Strobe Polarity
The Strobe Polarity is used to select Active High or Active Low triggering. You can set the polarity of the strobe
output signal by using the “ssp” command.
8.16 Field Upgrade
The camera provides a feature to upgrade the firmware and FPGA logic through the Camera Link interface
rather than disassemble the camera in the field. Refer to Appendix C for more details about how to upgrade.
Page 56
VH Camera Link series
Page 56 of 84 RA14-132-001
9 Camera Configuration
9.1 Setup Command
You can configure all camera settings via RS-644 serial interface of the Camera Link. When you want to control
the camera using a terminal or to directly access the camera at your application, you need to set your network as
follows:
Baud Rate: 19200 bps Data Bit: 8 bit Parity Bit: No Parity Stop Bit: 1 stop bit Flow Control: None
All camera setting commands are transmitted in the ASCII command type except a command for transmitting a
large file such as firmware download. All camera setting commands are transmitted from the user application
and then the camera returns a response (“OK”, “Error” or information) for a command. When you execute a write
command, the camera returns a response to inform whether the command has been successfully executed.
When you execute a read command, the camera returns an error or information.
Command format:
<command> <parameter1> <parameter2> <cr>
0~2 parameters follow the command.
Response:
- If a write command is successfully executed
OK <cr> <lf>
Ex) Write command
In response to a “set 100” command the camera will return (in hex value)
Command : 73 65 74 20 31 30 30 0D
set 100<cr>
Response : 73 65 74 20 31 30 30 0D 0A 4F 4B 0D 0A 3E
set 100<cr><lf> OK<cr><lf> >
Echo result prompt
Page 57
VH Camera Link series
Page 57 of 84 RA14-132-001
If a read command is successfully executed
<parameter1> <cr> <lf>
Ex) Read command
In response to a “get” command the camera will return (in hex value)
Command : 67 65 74 0D
get <cr>
Response : 67 65 74 0D 0A 31 30 30 0D 0A 3E
get<cr><lf> 100<cr><lf> >
Echo response prompt
If a command is not executed successfully
Error: <Error Code> <cr> <lf>
Prompt:
A prompt always follows the response. ‘>’ is used as prompt.
Types of Error Code
0x80000481: value of parameter is not valid
0x80000482: the number of parameter is not matched
0x80000484: command does not exist
0x80000486: no permission to execute
Page 58
VH Camera Link series
Page 58 of 84 RA14-132-001
9.2 Actual Time Applied for Commands
When you execute a command, the actual runtime of the command varies depending on the type of the
command and the operating status of the camera.
All commands except Set Exposure Time (‘set’) command are applied to change the settings as illustrated
below, on the rising edge of a VCCD signal before starting the readout process. When you execute the ‘set’
command, the exposure time setting will be changed and applied at the starting of the exposure.
If you operate the camera with CC1 or external trigger signals, you must execute commands before applying the
trigger signals in order to synchronize image outputs with the commands.
If you execute a command in the Free-Run mode, you may acquire up to two images that are not affected by the
command execution. This is true because it is hard to verify the current operating status of the camera in the
Free-Run mode.
Figure 9.1 Actual Time Applied for Commands
Page 59
VH Camera Link series
Page 59 of 84 RA14-132-001
9.3 Parameter Storage Space
The camera provides three non-volatile spaces for storing parameter settings and one volatile work space. The
work space contains the camera’s current parameter settings. Non-volatile spaces are divided into Factory
Space that contains default values entered during the manufacturing, and two user spaces (User1 Space and
User2 Space) that are available for saving parameter settings by users. Read and write operations are allowed
in the user spaces, but only the read operations are allowed in the factory space.
When the camera is powered on or reset, parameter settings stored in one of the storage spaces are loaded into
the work space according to the Config Initialization value. These parameter settings will then determine the
camera’s performance.
The parameter settings in the work space are lost when the camera is powered off or reset. The camera can
save parameter settings from the work space to a user space in the camera’s non-volatile spaces.
The parameter settings stored in the non-volatile spaces are not lost when the camera is powered off or reset.
You can save the current parameter settings to User1 Space or User2 Space by using the “sct” command for
future use.
Volatile
Memory
(RAM)
Non_volatile
Memory
(ROM)
Work Space
User 1 Space
User 2 Space
Factory Space
Figure 9.2 Parameter Storage Space
Page 60
VH Camera Link series
Page 60 of 84 RA14-132-001
9.4 Command List
Command
Syntax
Return Value
Description
Help
h
String
Displays a list of all commands
Set Read-Out Mode Get Read-Out Mode
srm 0|1|2 grm
OK 0|1|2
0: Normal mode 1: AOI(Area Of Interest) mode (AOI is set
using “sha” and “sva” commands)
2: Binning mode (Binning Factor is set using
“sbf” command)
Set Horizontal Area Get Horizontal Area
sha n1 n2 gha
OK n1 n2
n1: Starting point of horizontal direction n2: End point of horizontal direction
Set Vertical Area Get Vertical Area
sva n1 n2 gva
OK n1 n2
n1: Starting point of vertical direction n2: End point of vertical direction
Set Binning Factor Get Binning Factor
sbf 2|3|4 gbf
OK 2|3|4
2: 2 by 2 binning 3: 3 by 3 binning (VH-11MC Only) 4: 4 by 4 binning
Set Test Image Get Test Image
sti 0|1|2|3 gti
OK 0|1|2|3
0: Off 1/2: Fixed pattern image 3: Moving pattern image
Set Data Bit Get Data Bit
sdb 8|10|12 gdb
OK 8|10|12
8: 8 bit output 10: 10 bit output 12: 12 bit output
Set LUT Select Get LUT Select
sls 0|1|2 gls
OK 0|1|2
0: Off 1: LUT1 2: LUT2
Set Flat-Field Correction Get Flat-Field Correction
sfc 0|1 gfc
OK 0|1
0: Off 1: Active of Flat-Field Correction
Set Defect Correction Get Defect Correction
sdc 0|1 gdc
OK 0|1
0: Off 1: Active of Defect Correction
Set Image Invert Get Image Invert
sii 0|1 gii
OK 0|1
0: Off 1: Active of Image Invert
Table 9.1 Command List #1
Page 61
VH Camera Link series
Page 61 of 84 RA14-132-001
Command
Syntax
Return Value
Description
Set Horizontal Flip Get Horizontal Flip
shf 0|1 ghf
OK 0|1
0: Off 1: Active of Horizontal Flip
Set Trigger Mode Get Trigger Mode
stm 0|1|2|3|4 gtm
OK 0|1|2|3|4
0: Free-Run mode 1: Standard mode 2: Fast mode 3: Double mode 4: Overlap mode
Set Exposure Source Get Exposure Source
ses 0|1 ges
OK 1|2
0: Program Exposure (by camera) 1: Pulse Width (by trigger input signal)
Set Trigger Source Get Trigger Source
sts 1|2 gts
OK 1|2
1: CC1 port input (Camera Link) 2: External input (External control port)
Set Trigger Polarity Get Trigger Polarity
stp 0|1 gtp
OK 0|1
0: Active low 1: Active high
Set Asynchronous Reset Get Asynchronous Reset
sar 0|1 gar
OK 0|1
0: Inactivate Asynchronous Reset 1: Activate Asynchronous Reset
Set Exposure Time Get Exposure Time
set n get
OK n
n: Exposure Time in ㎲ (Setting range: 10 ~ 7,000,000 ㎲)
Set Channel Mode Get Channel Mode
scm 1|2 gcm
OK 1|2
1: 1 channel mode 2: 2 channel mode
Set Strobe Offset Get Strobe Offset
sso n gso
OK n
n: Strobe Offset Time in ㎲ (Setting range: 0 ~ 10,000 ㎲)
Set Strobe Polarity Get Strobe Polarity
ssp 0|1 gsp
OK 0|1
0: Active low 1: Active high
Set Analog Gain Get Analog Gain
sag n gag
OK n n: Analog Gain parameter (Setting range: 0 ~ 899)
Set Gain Offset Get Gain Offset
sgo 2 n ggo 2
OK n
2: AFE Channel for the right Image n: Analog Gain Offset parameter (Setting range: -20 ~ +20)
Set Analog Offset Get Analog Offset
sao n gao
OK n n: Analog Offset parameter (Setting range: 0 ~ 255)
Table 9.2 Command List #2
Page 62
VH Camera Link series
Page 62 of 84 RA14-132-001
Command
Syntax
Return Value
Description
Set Offset Offset Get Offset Offset
soo 2 n goo 2 n
OK n
2: AFE Channel for the right image n: Analog Offset Offset parameter (Setting range: 0 ~ 12)
Generate Flat Field Data
gfd
OK
Operate Flat Field generator
Save Flat Field Data
sfd
OK
Save Flat Field data
Load Flat Field Data
lfd
OK
Load Flat Field data
Set Flat Field Iteration Get Flat Field Iteration
sfi n gfi
OK n n: (2^n) image acquisitions (Setting range: 0 ~ 4)
Set Flat Field Offset Get Flat Field Offset
sfo n gfo
OK n n: Flat Field target level (Setting range: 0 ~ 4095)
Load Config From
lcf 0|1|2
OK
0: Load from Factory Setting 1: Load from User 1 Setting 2: Load from User 2 Setting
Save Config To
sct 1|2
OK
0: Save to User 0 Setting (not available) 1: Save to User 1 Setting 2: Save to User 2 Setting
Set Config Initialization Get Config Initialization
sci 0|1|2 gci
OK 0|1|2
0: Load from Factory Setting when initializing 1: Load from User 1 Setting when initializing 2: Load from User 2 Setting when initializing
Get MCU Version
gmv
String
Display MCU version
Get FPGA Version
gfv
String
Display FPGA version
Get Serial Number
gsn piece
String
Display Serial Number
Get Current Temperature
gct
String
Display Temperature value
Set Pclk Selection Get Pclk Selection
sps 0|1 gps
OK 0|1
0: Normal Speed 1: High Speed (Only available on VH-11MC/16MC)
Table 9.3 Command List #3
Page 63
VH Camera Link series
Page 63 of 84 RA14-132-001
10 Configurator GUI
Configurator, a sample application, is provided to control VH Camera Link series cameras. Configurator provides
easy-to-use Graphic User Interface (GUI) that allows users to view and change the camera’s parameter settings
mentioned in the previous chapters.
10.1 Camera Scan
When you execute the Configurator.exe file while the camera is powered on, the Camera Scan window appears
as shown in the figure below. At this time, the Configurator checks serial port of your computer and DLL provided
by the Camera Link to scan whether a camera is connected. If the Configurator finds a connected camera, it
displays the model name of the camera on the Camera Scan window. If the camera is not displayed on the
window, check the cable connections and power of the camera, and then press the refresh button.
Double-clicking the model name of the camera displayed on the window will launch the Configurator and display
the current parameter settings of the camera connected.
Figure 10.1 Configurator Loading Window
Page 64
VH Camera Link series
Page 64 of 84 RA14-132-001
10.2 Menu
10.2.1 File
Figure 10.2 File Menu
Load Setting: Loads the camera setting values from the camera memory (Factory, User1 or User2)
or user computer (From File).
Save Setting: Saves the current camera setting values to the camera memory (User1 or User2) or
user computer (To File).
Defect Pixel: Downloads defect information to the camera (Download to Camera) or uploads
defect information saved in the camera to user computer (Upload to PC).
System Upgrade: Upgrades MCU or FPGA logic. Exit: Exits Configurator.
Page 65
VH Camera Link series
Page 65 of 84 RA14-132-001
10.2.2 Start-Up
You can select the camera setting values to load when the camera is powered on.
Figure 10.3 Start-Up Menu
Factory Setting: Loads the camera setting values from Factory Space. User1 Setting: Loads the camera setting values from User1 Space. User2 Setting: Loads the camera setting values from User2 Space.
Page 66
VH Camera Link series
Page 66 of 84 RA14-132-001
10.2.3 Tool
Figure 10.4 Tool Menu
Refresh: Loads and displays the current camera setting values on the Configurator. Terminal: Displays user commands in the Terminal window under the GUI. To hide the Terminal
window, uncheck Terminal by clicking again.
Color Calibration: Performs Bayer sensor color calibration. Factory Setting: Not supported for users. High Speed: Select High Speed to operate the camera in the High Speed mode. To operate the
camera in the Normal Speed mode, deselect the High Speed (Supported only on VH-11MC and VH-16MC).
Page 67
VH Camera Link series
Page 67 of 84 RA14-132-001
10.2.4 About
Figure 10.5 About Menu
Camera Info: Displays camera information (model name, serial number, version, etc.).
Page 68
VH Camera Link series
Page 68 of 84 RA14-132-001
10.3 Tab
10.3.1 VIEW Tab
The VIEW tab allows you to set the camera’s readout mode, test image mode, data bit, channel, LUT, image
processing, etc.
Figure 10.6 VIEW Tab
Mode: Selects the readout mode. If AOI is selected, the AOI setting area is activated.
You can set the AOI by entering desired values. If Binning is selected, the binning factor options will be activated.
Test Image: Selects whether to apply test image and a type of test images. Data Bit: Selects bit depth of data output. Channel: Selects a channel mode. LUT: Selects whether to apply LUT and a type of LUT. Imaging Processing: Sets the Flat Field Correction, Defect Correction, Image Invert or Horizontal
Flip features to On or Off.
Page 69
VH Camera Link series
Page 69 of 84 RA14-132-001
10.3.2 MODE/EXP Tab
The MODE/EXP tab allows you to configure the camera’s trigger mode, exposure time and strobe. All scroll bars
in the GUI are controllable with the mouse wheel scroll.
Figure 10.7 MODE/EXP Tab
Trigger Mode: Selects a trigger mode. Once you select a trigger mode, selections related with the
trigger mode will be activated.
Exposure: Selects an exposure source. Source: Selects a source signal for exposure triggering. Polarity: Selects a polarity of trigger signals. Asynchronous Reset: Sets the asynchronous reset to On or Off. Frame Number
after triggered: Available in the Standard mode. Specifies the number of frame to acquire after applying a trigger signal.
Exposure Time: Sets exposure time when the trigger mode is set to Free-Run mode or when
Exposure is set to Program.
Strobe Offset: Sets a delay for the strobe output signal. Strobe Polarity: Selects a polarity of the strobe output signal.
Page 70
VH Camera Link series
Page 70 of 84 RA14-132-001
10.3.3 ANALOG Tab
The ANALOG tab allows you to adjust the camera’s gain and offset settings. All scroll bars in the GUI are
controllable with the mouse wheel scroll.
Figure 10.8 ANALOG Tab
Analog Gain: Sets a gain value for each channel. When you select the Tab Link checkbox, setting
values for two channels will be adjusted synchronously.
Analog Offset: Sets an offset value for each channel. When you select the Tab Link checkbox,
setting values for two channels will be adjusted synchronously.
Page 71
VH Camera Link series
Page 71 of 84 RA14-132-001
10.3.4 LUT Tab
The LUT tab allows you to download LUT data. For more information about LUT download, refer to Appendix B.
Figure 10.9 LUT Tab
Graph: Loads LUT data from the user’s computer or sets a Gamma value to
be applied while using a Gamma curve.
Camera LUT Download / Upload: Downloads LUT data stored in user’s computer to the camera
(Download) or uploads LUT data stored in the camera to user’s computer (Upload to PC).
Page 72
VH Camera Link series
Page 72 of 84 RA14-132-001
10.3.5 FFC Tab
The FFC tab allows you to set the Flat Field Correction feature. All scroll bars in the GUI are controllable with the
mouse wheel scroll.
Figure 10.10 FFC Tab
FFC Data: Sets the number of frames to be used for generating Flat Field
Correction data. Clicking the Generate button will generate Flat Field data.
Flash Memory: Saves the generated FFC data in the Flash for future use (Save to
Flash) or loads the FFC data stored in the Flash (Load from Flash).
FFC Data Download / Upload: Downloads the FFC Data stored in user’s computer to the camera
(Download to camera) or uploads FFC data stored in the camera to user’s computer (Upload to PC).
FFC Offset Level: Sets the target value to be applied after correction.
Page 73
VH Camera Link series
Page 73 of 84 RA14-132-001
11 Troubleshooting
When you have a problem with a Vieworks camera, please check the following items.
If no image is displayed on your computer,
Ensure that all the cable connections are secure. Ensure that the power supply is properly connected. Ensure that trigger signals are applied correctly when you operate the camera with trigger signals.
If images are not clear,
Ensure the camera lens or glass is clean. Check the lens aperture is adjusted properly.
If images are dark,
Ensure the camera lens is not blocked. Check the exposure time is set properly. Check the aperture is opened properly. Check the Gain value is not set to small.
If you identify abnormal operation or overheating sign,
Ensure the power supply is properly connected. Stop using the camera when you notice smoke or abnormal overheating.
If you have a problem using the Trigger Mode,
Ensure that the parameter settings on your Frame Grabber are configured correctly when you operate
the camera with CC1 trigger signals.
Ensure that cable connections are secure when you operate the camera with external trigger signals.
If you notice the difference between left and right image,
Check whether gain settings for left and right are different. Check whether offset settings for left and right are different.
If there is a communication failure between the camera and user’s computer,
Ensure Camera Link cables are connected properly. Ensure that you have configured a Frame Grabber in user’s computer correctly and the camera is
connected properly to the Frame Grabber.
Page 74
VH Camera Link series
Page 74 of 84 RA14-132-001
Appendix A Defective Pixel Map Download
1. Create a Defect Pixel Map in Microsoft Excel format as shown in the left picture below and save as a CSV
file (*.csv). The picture in the right shows the created Excel file opened with Notepad. The following rules
need to be applied when creating the file.
Lines beginning with ‘:’ or ‘—‘ are treated as notes. You must enter the horizontal value first and then the vertical value for coordinate of each defect pixel. Coordinate values for each pixel can be placed in any order.
2. Select File > Defect Pixel > Download to Camera in the Configurator.
Page 75
VH Camera Link series
Page 75 of 84 RA14-132-001
3. Search and select the created file and click Open.
4. The Configurator starts downloading Defect Pixel Map to the camera and downloading status is displayed
at the bottom of the window.
Page 76
VH Camera Link series
Page 76 of 84 RA14-132-001
5. Once the download is complete, the saving process will begin. During the saving process, make sure not to
disconnect the power cord.
6. Once all the processes are complete, the Download completed message will appear at the bottom of the
window.
Page 77
VH Camera Link series
Page 77 of 84 RA14-132-001
Appendix B LUT Download
There are two ways to apply LUT data; by adjusting the gamma values on the gamma graph provided in the
Configurator and then downloading the data or by opening a CSV file (*.csv) and then downloading the data.
B.1 Gamma Graph Download
1. Set a desired gamma value in the LUT tab and click Apply.
2. Select LUT1 or LUT2 as a location to store the data and click Download.
Page 78
VH Camera Link series
Page 78 of 84 RA14-132-001
3. Once the download is complete, the Download completed message will appear at the bottom of the
window.
B.2 CSV File Download
1. Create a LUT table in Microsoft Excel format as shown in the left picture below and save as a CSV file
(*.csv). The picture in the right shows the created file opened in Notepad. Once the file is created
completely, change the .csv file extension to .lut. The following rules need to be applied when creating the
file.
Lines beginning with ‘:’ or ‘—‘ are treated as notes. You must enter all output values corresponding to input values from 0 to 4095.
Page 79
VH Camera Link series
Page 79 of 84 RA14-132-001
2. Click Load File in the LUT tab.
3. Search and select the created LUT file and click Open.
4. Select LUT1 or LUT2 as location to store the data and click Download. The subsequent processes are
identical to those of Gamma Graph Download.
Page 80
VH Camera Link series
Page 80 of 84 RA14-132-001
Appendix C Field Upgrade
C.1 MCU
1. Select File > System Upgrade > MCU Upgrade in the Configurator.
2. Search and select the provided MCU upgrade file then click Open.
Page 81
VH Camera Link series
Page 81 of 84 RA14-132-001
3. The Configurator starts downloading MCU upgrade file to the camera and downloading status is displayed
at the bottom of the window. If you want to cancel the upgrade process, click Cancel. This process may
require several minutes to complete.
4. Once the download is complete, the saving process will begin. If a power failure occurs during the saving
process, the camera cannot be restored. Make sure that the power connection is secure.
Page 82
VH Camera Link series
Page 82 of 84 RA14-132-001
5. Once all the processes are complete, turn the camera power off and turn it back on again. Select Tool >
Terminal and enter the “gmv” command to confirm the version. Or, select About > Camera Info to confirm
the MCU version.
Page 83
VH Camera Link series
Page 83 of 84 RA14-132-001
C.2 FPGA
1. Select File > System Upgrade > FPGA Upgrade in the Configurator.
2. Search and select the provided FPGA upgrade file and click Open.
3. The subsequent processes are identical to those of MCU upgrade.
Page 84
http://www.vieworks.com
Loading...