Vieworks VP-8MC, VP-16MC, VP-29MC User Manual

User Manual
English
Model : VP - 8MC
VP -16MC
VP -29MC
VP series
Page 2 of 73 RA14-121-005
Revision History
Revision Date Descriptions
1.0 2010/10/22 Initial release
1.1 2012/1/31
Added 8M and 29M  Updated MS word style  Fixed Minor errors.
1.2 2012/07/20
Deleted 11M  Modified Mechanical Dimension
1.3 2013/02/22 Modified Mechanical Dimension
VP series
Page 3 of 73 RA14-121-005
Contents
1 Precautions --------------------------------------------------------------------------------------------------- 6 2 Warranty ------------------------------------------------------------------------------------------------------- 7 3 Compliance & Certifications ---------------------------------------------------------------------------- 7
3.1 FCC Declaration ------------------------------------------------------------------------------------------------- 7
3.2 CE : DoC ---------------------------------------------------------------------------------------------------------- 7
3.2.1 KCC Statement -------------------------------------------------------------------------------------------------------- 7
4 Components and Connections ------------------------------------------------------------------------ 8
4.1 Package Components ----------------------------------------------------------------------------------------- 8
4.2 Connecting the Camera --------------------------------------------------------------------------------------- 9
4.3 Precaution to center the image sensor --------------------------------------------------------------------- 9
4.4 Precaution about blurring compared to center ----------------------------------------------------------- 9
4.5 Controlling the Camera ---------------------------------------------------------------------------------------- 9
5 Product Specifications --------------------------------------------------------------------------------- 10
5.1 Overview -------------------------------------------------------------------------------------------------------- 10
5.2 Specifications -------------------------------------------------------------------------------------------------- 11
5.3 Camera Block Diagram -------------------------------------------------------------------------------------- 12
5.4 Sensor Information -------------------------------------------------------------------------------------------- 13
5.5 Mechanical Specification ------------------------------------------------------------------------------------ 14
6 Camera Interface ------------------------------------------------------------------------------------------ 15
6.1 General Description ------------------------------------------------------------------------------------------ 15
6.2 Power Input Connecter -------------------------------------------------------------------------------------- 17
6.3 Control Connecter --------------------------------------------------------------------------------------------- 18
6.4 Trigger Input Circuit ------------------------------------------------------------------------------------------- 19
6.5 Strobe Output Circuit ----------------------------------------------------------------------------------------- 19
VP series
Page 4 of 73 RA14-121-005
7 Camera Features ------------------------------------------------------------------------------------------ 20
7.1 Area Of Interest (AOI) ---------------------------------------------------------------------------------------- 20
7.2 Binning ----------------------------------------------------------------------------------------------------------- 23
7.3 Trigger ----------------------------------------------------------------------------------------------------------- 24
7.3.1 Trigger Input ----------------------------------------------------------------------------------------------------------- 24
7.4 Channel Mode ------------------------------------------------------------------------------------------------- 30
7.5 Gain and Offset ------------------------------------------------------------------------------------------------ 32
7.6 LUT --------------------------------------------------------------------------------------------------------------- 33
7.7 Defective Pixel Correct io n ----------------------------------------------------------------------------------- 34
7.7.1 Correction Method --------------------------------------------------------------------------------------------------- 34
7.8 Flat Field Correction ------------------------------------------------------------------------------------------ 35
7.9 Temperature Monitor ----------------------------------------------------------------------------------------- 37
7.10 Status LED ------------------------------------------------------------------------------------------------------ 37
7.11 Data Format ---------------------------------------------------------------------------------------------------- 38
7.12 Test Image ------------------------------------------------------------------------------------------------------ 39
7.13 Horizontal Flip -------------------------------------------------------------------------------------------------- 41
7.14 Image Invert (Positive/Negative) -------------------------------------------------------------------------- 42
7.15 Strobe ------------------------------------------------------------------------------------------------------------ 43
7.15.1 Strobe Offset ---------------------------------------------------------------------------------------------------------- 43
7.15.2 Strobe Polarity -------------------------------------------------------------------------------------------------------- 44
7.16 Field Upgrade -------------------------------------------------------------------------------------------------- 44
8 Camera Configuration ---------------------------------------------------------------------------------- 45
8.1 Setup command ----------------------------------------------------------------------------------------------- 45
8.2 Parameter Storage Space ---------------------------------------------------------------------------------- 47
8.3 Command List ------------------------------------------------------------------------------------------------- 48
VP series
Page 5 of 73 RA14-121-005
9 Configurator GUI ------------------------------------------------------------------------------------------ 51
9.1 VP Camera Scan ---------------------------------------------------------------------------------------------- 51
9.2 Menu ------------------------------------------------------------------------------------------------------------- 52
9.2.1 File ----------------------------------------------------------------------------------------------------------------------- 52
9.2.2 Start-Up ----------------------------------------------------------------------------------------------------------------- 53
9.2.3 Tool ---------------------------------------------------------------------------------------------------------------------- 54
9.2.4 About -------------------------------------------------------------------------------------------------------------------- 55
9.3 Tab ---------------------------------------------------------------------------------------------------------------- 56
9.3.1 VIEW Tab --------------------------------------------------------------------------------------------------------------- 56
9.3.2 MODE/EXP Tab ------------------------------------------------------------------------------------------------------- 57
9.3.3 ANALOG Tab ---------------------------------------------------------------------------------------------------------- 58
9.3.4 LUT T ab ----------------------------------------------------------------------------------------------------------------- 59
9.3.5 FFC Tab ---------------------------------------------------------------------------------------------------------------- 60
9.3.6 TEC Tab ---------------------------------------------------------------------------------------------------------------- 61
Appendix A Defective Pixel Map Download ------------------------------------------------------- 62 Appendix B LUT Download ------------------------------------------------------------------------------ 65
B.1 Gamma Graph Download ----------------------------------------------------------------------------------- 65 B.2 CSV File Download ------------------------------------------------------------------------------------------- 67
Appendix C Field Upgrade ------------------------------------------------------------------------------- 69
C.1 MCU -------------------------------------------------------------------------------------------------------------- 69 C.2 FPGA ------------------------------------------------------------------------------------------------------------ 72
VP series
Page 6 of 73 RA14-121-005
1 Precautions
General
Do not drop, damage, disassemble, repair or alter the device.  Do not let children touch the device without supervision.  Do not use the device for any other purpose then specified.  Contact your nearest distributor in case of trouble or problem.
Installation and Maintenance
Do not install the device in a place subject to direct sun light, humidity, dust or soot.  Do not place magnets near the product.  Do not place the device next to heating equipments.  Be careful not to let liquid like water, drinks or chemicals leak inside the device.  Clean the device often to remove dust on it.  In clearing, do not splash water on the device but wipe it out with smooth cloth or towel.
Power Supply
It is recommended t he use of 12V DC with ±10% of voltag e, over 1A of output current
with KC, CE or other local certification. If voltage over 16V is supplied, it will cause damages to the device.
Vieworks Co., Ltd. does NOT provide power supplies with the devices.
VP series
Page 7 of 73 RA14-121-005
2 Warranty
For information about the warranty, please contact your local dealer or factory representative.
3 Compliance & Certificat ions
3.1 FCC Declaration
This equipment has b een t ested a nd fou nd t o com ply with the l im its for a Class A digital de vice, pursua nt to part 15 of the FCC Rules. T hese limits are designed to p rovide reasonable pr otection against harmful interf erence when the equipment is ope rated in a comm er cial envir onm ent. T his equipm ent ge nerates, uses , and c an radi ate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interferenc e to r adio c omm unic ations. O perat ion of this equipm ent in a r esident ial area is lik el y to ca use harmful interference in which case the user will be required to correct the interference at own expenses.
3.2 CE : DoC
EMC Directive 2004/108/EC. Testing Standard EN 55022:2006+A1:2007, EN 55024:1998+A1:2001+A2:2003 Class A
3.2.1 KCC Statement
Type Description
Class A
(Broadcasting Comm unic ation 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.
VP series
Page 8 of 73 RA14-121-005
4 Components and Connections
4.1 Package Components
Package Components
VP Camera (F-Mount)
Mount Plate (Optional)
VP series
Page 9 of 73 RA14-121-005
4.2 Connecting the Camera
The following instruc tions 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 P C.
3. Connect the plug of the power adaptor to the power input connector on the camera.
4. Plug the power adaptor into a working electrical outlet.
5. Verify all the cable connections are secure.
4.3 Precaution to center the imag e s ensor
User does not need to center the image sensor as it is adjusted as factory default settings.  When you need to adjust the ce nter of image s ensor, please contact your local dealer or the manufac turer
for technical assistance.
4.4 Precaution about blurring compared to center
User does 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.
4.5 Installing the Configurator
You can control the camera by executing the Configurator.exe file.  You can download the latest Configurator at
http://machinevision.vieworks.com.
Please refer to your Frame Grabber User Manual.
VP series
Page 10 of 73 RA14-121-005
5 Product Specifications
5.1 Overview
VP Series is a progressive scan, high-resoluti on industrial area scan cameras. All fu nctions of VP cameras can be programmed and updated in the field. The image processing and controls of VP Series are based on embedded FPGA with a 32-bit microprocessor.
Main Features
Area Of Interest (AOI)  Trigger Mode  Binning Mode – 2 × 2 / 4 × 4  Output Pixel Format – 8 / 10 / 12 bit  Output Channel – 1 or 2 Tap  Auto Taps Adjustment  Electronic Shutter  2D Flat Field Correction  Strobe Output  Analog Gain adjustment function  Analog Offset adjustment function  Look Up Table  Defective Pixel Correction  Flat Field Correction  Test Image  Horizontal Flip  Image Invert  RS-644 Serial Communication  Temperature Monitor  Field Upgrade  Base Camera Link  Peltier Cooling
VP series
Page 11 of 73 RA14-121-005
5.2 Specifications
VP Series VP-8M VP-16M VP-29M
Active Image
(H × V)
3296 × 2472 4872 × 3248 6576 × 4384
Sensor Type
Kodak
KAI-08050
Kodak
KAI-16000
Kodak
KAI-29050
Pixel size
5.5 × 5.5 7.4 × 7.4 5.5 × 5.5
Sensor Output
1, 2 or 4
Tap Output
1 or 2 Tap Output
1, 2 or 4
Tap Output
Video Output 8/10/12 bits, 1 or 2 Tap
Camera Interface Camera Link (Base)
Electronic Shutter Global Shutter
Max. Frame Rate
at Full Resolution
16.3 fps 4.2 fps 5 fps
Pixel Clock
40 / 80 30 / 40 40 / 80
Exposure Time
1/100000 ~ 7 sec
(10 ㎲ step)
1/4500 ~ 7 sec
(10 ㎲ step)
1/100000 ~ 7 sec
(10 ㎲ step)
Partial Scan
(Max. Speed)
84 fps
at 300 Lines
17 fps
at 406 Lines
16 fps
at 1000 Lines
Gamma
Correction
User defined LUT (Look Up Table)
Black Offset Adjustable (0 ~ 127 LSB at 12 bits , 256 step)
Video Gain
Analog Gain: 0 ~ 32 , 900 step
Trigger Mode
Mode(Free-Run, Overlap, Fast, Double),
Programmable exposure time and trigger polarity
External Trigger
External, 3.3 V - 5.0 V, 10 , optically isolated
Software Trigger Camera Link CC1, Programmable Exposure
Dynamic Range
>62
Lens Mount F-mount
Cooling Method Thermoelectric Peltier Cooling
Cooling
Performance
20 below ambient temperature
Standard cooling with a fan
15
Power 10 ~ 14 V DC, Max. 25W
10 ~ 14 V DC,
Max. 28W
Environmental
Operating: -5 ~ 40, Storage : -30 ~ 65
Mechanical
90.0 × 90.0 × 142.0 , 1550 g (with F-mount)
Table 5.1 Specifications of VP Series
VP series
Page 12 of 73 RA14-121-005
5.3 Camera Block Diagram
Figure 5.1 VP Camera Block Diagram
All controls and data process ing of VP cameras are carr ied out in one FPGA chip. The FPGA generally consists of 32 bit RICS Micro-Controller and Processing & Control logic . The Micro-Controller receives comm ands from the user through the Camera Link inter face and then processes them . The F PGA controls the Timing Generat ors (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 inputs and strobe outputs which are sensitive to time. Furt hermore, SDRAM and FLASH i s installed outside FPGA. SDRAM is used for the f rame buffer to process images and FLASH contains the firmware that operates the Micro-Controller. And, Peltier Driver is applied to control Thermoelectric Peltier Cooling unit.
VP series
Page 13 of 73 RA14-121-005
5.4 Sensor Information
The following graphs show the spectral response for VP cameras.
Figure 5.2 CCD Quantum Efficiency (Top: Monochrome, Bottom: Color)
VP series
Page 14 of 73 RA14-121-005
5.5 Mechanical Specification
Figure 5.3 VP Camera Mechanical Dimension (F-Mount)
VP series
Page 15 of 73 RA14-121-005
6 Camera Interface
6.1 General Description
As shown in the follow ing figure, 3 t ypes of connectors and status indicator LED are located on the b ack of the camera and have the functions as follows:
2 pin FAN Connector: supplies power to the fan.  26 pin Camera-Link Connector: controls video data transmission and the camera.  Status LED: displays power status and operation mode.  4 pin Control Connector: inputs external trigger signal and outputs strobe.  6 pin Power Input Connector: supplies power to the camera.
Figure 6.1 VP Camera Connectors
CAMERA LINK 1
1
13
26
14
Figure 6.2 Camera Link Connector
② ④
VP series
Page 16 of 73 RA14-121-005
Camera Link c onnect or c o mplies with Camera Link Standard and th e f oll o wing lis t s ho ws the pi n c onf igur ati o n of the connector.
PAIR List Pin Signal Name Type Description
PA IR 0
1 Ground Ground Cable Shield 14 Ground Ground Cable Shield
PA IR 1
2 -X0 LVDS - Out Camera Link Transmitter 15 +X0 LVDS - Out Camera Link Transmitter
PA IR 2
3 -X1 LVDS - Out Camera Link Transmitter 16 +X1 LVDS - Out Camera Link Transmitter
PA IR 3
4 -X2 LVDS - Out Camera Link Transmitter 17 +X2 LVDS - Out Camera Link Transmitter
PA IR 4
5 -X3 LVDS - Out Camera Link Transmitter 18 +X3 LVDS - Out Camera Link Transmitter
PA IR 5
6 -XCLK LVDS - Out Camera Link Transmitter 19 -XCLK LVDS - Out Camera Link Transmitter
PA IR 6
7 - SerTC LVDS - In Serial Data Receiver 20 + SerTC LVDS - In Serial Data Receiver
PA IR 7
8 - SerTFG LVDS - Out Serial Data Transmitter 21 + SerTFG LVDS - Out Serial Data Transmitter
PA IR 8
9 - CC 1 LVDS - In Software External Trigger 22 + CC 1 LVDS - In Software External Trigger
PA IR 9
10 N/C N/C N/C 23 N/C N/C N/C
PA IR 10
11 N/C N/C N/C 24 N/C N/C N/C
PA IR 11
12 N/C N/C N/C 25 N/C N/C N/C
PA IR 12
13 Ground Ground Cable Shield 26 Ground Ground Cable Shield
Table 6.1 Pin A ssignments for Camera Link Base Configuration
VP series
Page 17 of 73 RA14-121-005
1
2
3 4
5
6
6.2 Power Input Connecter
The power input connector is Hirose 6 pin connector (part # HR10A-7R-6PB). Pin arrangement and configuration are as follows:
Figure 6.3 Pin Arrange ment of Power Input Connector
Pin Number Signal Type Description
1, 2, 3 + 12V DC Input DC Power Input 4, 5, 6 DC Ground Input DC Ground
Table 6.2 Pi n Configuration of Power Input Connector
Connecting the po wer cabl e to the camera can be made by using the Hirose 6 p in plug (part # HR10 A-7P-6S) or the equivalent. The po wer adaptor is recomm ended to have at le ast 3A 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 16 V, damage to the camera may result.
VP series
Page 18 of 73 RA14-121-005
6.3 Control Connecter
The control connector is a Hirose 4 pin connect or (part # HR10A-7R-4S) and c onsists of external trigger si gnal input and strobe output ports. Pin arrangement and configuration are as follows:
Figure 6.4 Pin Arrangement of Control Connector
Pin Number Signal Type Description
1 Trigger Input + Input
-
2 Trigger Input - Input
-
3 DC Ground - DC Ground
4 Strobe Out Output
3.3V TTL Output Output resistance : 47 Ω
Table 2.1 Pin Arrangement of Control Connector
The mating connector is a Hirose 4 pin plug (part # HR10A-7P-4P) or the equivalent connectors.
1 2
4
3
VP series
Page 19 of 73 RA14-121-005
6.4 Trigger Input Circuit
Following figure sho ws trigger signal input circ uit of the 4-pin connec tor. Transmitted trigger signa l is applied to the internal circ u it t hrou gh a photo cou ple r. Minimum tr igger width tha t c an b e r ecognized by the camera is 1 . If transmitted trigger signa l is less than 1 , the c amera will ignore the trigger s ignal. External trigger circuit example is shown below.
Figure 6.5 Trigger Input Schematic
6.5 Strobe Output Circuit
The strobe output signa l is 3.3 V output leve l of a TTL Driver IC. The pulse width of signal is synchronize d with the exposure signal (shutter) of the camera.
Figure 6.6 Strobe Out 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 D r i v er
0 V
3.3 V
Strobe_Out +
Strobe_Out -
47 Ω
Strobe Out
TTL D r i v er
1
2
3
4
HR10A-7R-4SB
Camera
USER
VP series
Page 20 of 73 RA14-121-005
7 Camera Features
7.1 Area Of Interest (AOI)
AOI is th e area contai ning the data re quired by the user within the entire im age. The user can obt ain the image faster than obtaining overall areas b y designating the area as AOI while keeping the same high quality. AOI is determined as the overlapping area of 2 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. According to characteristics of the sensor structure, readout of the image will be proceeded at the top and bottom simultaneously. If the Channel mode is set to 4 Tap and Vertical AOI is applied, V End will be igno red because V End is defined by V Start. The actual V End will be applied according to the following formula:
V End = (VSIZE – V Start) - 1
The narrower Vertical AOI is designated, the faster the fram e speed will be. Ho wever Horizontal AOI does not affect frame speed. For more information about AOI parameter settings, see “sha” and “sva” command on
Command List.
Figure 7.1 AOI
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.
Horizontal AOI
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)
VP series
Page 21 of 73 RA14-121-005
The maximum frame speed depending on the c hange of Vertical AOI can be obtain ed as sho wn in the f ollowing expression.
1 or 2 Channel Mode for VP-8M & VP-29M: Frame Rate (fps) = 1000000 / [T
VCCD
+ TFD × {V
SIZE
– (V
AOI
+ 12)} + (V
AOI
+ 12) × TL]
1 or 2 Channel Mode for VP-16M: Frame Rate (fps) = 1000000 / {T
VCCD
+ TFD × (V
SIZE
– V
AOI
) + V
AOI
× TL}
4 Channel Mode for VP-8M & VP-29M: Frame Rate (fps) =
1000000 / [T
VCCD
+ TFD × {V
SIZE
– (V
AOI
+ 12)}/2 + {(V
AOI
+ 12) × TL}/2]
T
VCCD
: time required to move electric charges accumulated on pixel to Vertical Register TFD : time required for Fast Dump V
SIZE
: number of Vertical Line of CCD TL : time required for transmission of one line V
AOI
: size of Vertical AOI
The available m inimum value of T
VCCD
, TFD, V
SIZE
, TL and V
AOI
may var y depending on the cam era model. The
value of T
L
may vary depending on t he ch annel m ode. The valu es of each item depend ing on t he cam er a m odel
are shown below.
VP Series
VP-8M VP-16M VP-29M
TVCCD 17.0 242.0 56.3 TL (1 channel) 90.5 135.0 172.3 TL (2 channel) 46.6 73.0 90.125 TL (4 channel) 46.6 - 90.125 TFD 4.1 16.0 6.8 VR
SIZE
2520 Lines 3248 Lines 4384 Lines
Minimum Vertical AOI Size 300 Lines 406 Lines 500 Lines
Table 7.1 Timing Value for VP Series
VP series
Page 22 of 73 RA14-121-005
The following figure shows frame rate depending on VAOI changes.
Figure 7.2 Frame Rate by VAOI changes
VP-8M
VP-29M
VP-16M
VP series
Page 23 of 73 RA14-121-005
7.2 Binning
Binning has the effects of increasing the level value and decreasing resolution by adding the values of the adjacent pixels and sending them as one pixel. The camera applies same Binning Factor (2 or 4) to both directions in order to keep the percentage of image. 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 m any as Binning Factor if Binni ng is applied, but Binning in horizonta l direction does not affect frame speed. Binning Factor is set using “sbf” command.
Figure 7.3 2×2 Binning
Figure 7.4 4×4 Binning
Even if the binning is performed on the color camera, the resulting image will be monochrome.
VP series
Page 24 of 73 RA14-121-005
7.3 Trigger
7.3.1 T rigger Input
Trigger mode of the camera is divided into Trigger synchronous mode and Trigger asynchronous mode (hereinafter “Free-Run mode”) depending on i ts synchroni zation with tri gger input. Trigger s ynchronous m ode is divided into Standard mode, Double Exposure mode, Fast mode, Overlap mode, depending on concrete operation type. It is required to set the trigger first to operat e the camera in Trigger synchr on ous m ode. In concret e, it is req uir ed to select which one of CC1 port and TRIGGER_IN port should be used as trigger input and to set whether polarity of trigger should be Positive or Negative.
7.3.1.1 Free-Run Mode
Free-Run Mode repeats Readout depending on para meter value set in cam era currently, regardless of trigger input.
VCCD
SHUTTER
EXPOSURE
FVAL
READOUT
STROBE
Image N
Image N-1
Exposure for
Image N
Exposure for
Image N+1
Exposure for
Image N-1
Figure 7.5 Free-Run Mode
As shown in the above f igu re, Readout s ectio n overl aps w ith expos ure sec tion of next image i n Free-Run Mode. At this tim e, the camera operation sli ghtly differs depending on leng th of Exposure Time and Readout time. If Exposure Time is shorter than Readout, Shutter signal occurs during readout, and when Readout finishes, Readout of next image starts (
6TUFigure 7.6U6T). In this case, frame speed is constant regardless of change in
Exposure Time. But if Exposure Time is set longer than Readout time, Shutter signal occurs together with start of Readout and Read out of next image does not s tart until Exposure Time set elapses e ven if Readout finishes (
6TUFigure 7.7). In this case, frame speed gets lower as the setting value of Exposure Time increases.
VP series
Page 25 of 73 RA14-121-005
Standard Frame Time
Exposure Time
VCCD
SHUTTER
READOUT
Readout Time
DATA
Figure 7.6 Exposure Time is Shorter than Readout Time
Standard Frame Time
Frame Time Exposure Time
VCCD
SHUTTER
READOUT
Readout Time
DATA
Figure 7.7 Exposure Time is longer than Readout Time
VP series
Page 26 of 73 RA14-121-005
7.3.1.2 S tandard Mode
In Standard Mode, camera keeps standb y status until trigger signal is enter ed, and when trigger input occurs, Readout start after Exposure process set earlier. After Readout is completed, and returns to trigger standby status again. In Standard Trigger mode, if a new trig ger input occurs during readout, t he new trigger input is ignored.
TRIGGER
SHUTTER
EXPOSURE
VCCD
FVAL
READOUT
STROBE
DATA
Figure 7.8 Standard Trigger Mode
TRIGGER
EXPOSURE
FVAL
READOUT
STROBE
Exposure N
Trigger N Trigger N+1
Ignoring
Trigger
Image N
Figure 7.9 Retriggering
VP series
Page 27 of 73 RA14-121-005
7.3.1.3 Double Exposure Mode
In Double Exposure mode, 2 images are obtained with 1 trigger input. When trigger input is entered in this mode, the camera starts Readout after passing t hrou gh ex p o s ur e proc es s ac c ordin g to ex pos ure s ett in g as i n S tan dard mode. At this time, ex posure of second image starts with Readout. W hen Readout is completed, the cam era performs the second Re adout. Since it does not gen erate shutter signal during Read out of the 1st image, the interval between com pletion of 1st exposure and starting of 2nd exposure is as short as several ~ several decades ㎲.
TRIGGER
SHUTTER
VCCD
FVAL
READOUT
STROBE
EXPOSURE
Exposur for
Image 1
Exposure for
Image 2
Image 1
Image 2
Figure 7.10 Double Exposure Trigger Mode
VP series
Page 28 of 73 RA14-121-005
7.3.1.4 Fast Mode
Fast Mode is used when interval of trigger input is faster and more continuous than in Standard Mode. Its difference from Standard Mode is that whi le Readout starts in exposure time as set earlier when trigger input occurs in Standard Mode, while Readout immediately starts after trigger input in Fast Mode. And Interval between triggers becomes the exposure time of image since it does not generate shutter signal during Readout.
TRIGGER
EXPOSURE
Exposure N Exposure N+1 Exposure N+2
SHUTTER
READOUT
STROBE
VCCD
Image N-1 Image N Image N+1
Figure 7.11 Fast Trigger Mode
VP series
Page 29 of 73 RA14-121-005
7.3.1.5 Overlap Mode
Camera keeps standby status until trigger signal is entered like in Standard Mode, and Readout starts after exposure process s et earlier if trigger input occurs. W hen ne w tr igg er i nput occ ur s dur i ng R ea dout of First image, it keeps Readout and pass expos ure process of new trigger input. Provided , however, that when trigger input occurs during Exposure since Exposure Time is longer than trigger interval, that trigger signal is ignored. To obtain the image as m aximum frame for trigger inp ut, Exposure Time should not be longer than Readout time, trigger time should not be shorter than Readout time. Readout time for each model is as follows:
Channel Mode VP-8M VP-16M
VP-29M
1 channel
226.5 454.5 763.1
2 channel
121.9 238.1 397.7
4 channel
61.3
-
199.6
Table 7.2 Readout Time for each model
In addition, overlap mode operates ideall y when trigger signal interval or exposure time is constantly kept.
Figure 7.12 Overlap Trigger Mode
VP series
Page 30 of 73 RA14-121-005
7.4 Channel Mode
Accumulated charges are read out of the sensor when ex posure ends. The sensor can be read out in one tap (single channel), t wo tap (d ual channel) or f our tap (qu adrant chan nel - VP-8MC and VP-29MC only). In case of one tap output, all pixe l values of Hor izontal Register are shifted towards the left bottom Video Amplif ier (Video A). In case of two t ap output, pixe l values from left to the cent er of Horizontal Register ar e shifted towards the Video A, and pixel values from the right are shifted towards the Video B. In case of four tap output (V P-8MC and VP-29MC), pixel values of the lower left area are shifted towards the Video A, pixels values of the lower right area are shifted to wards the Video B, pixel values of the upper left area are shifted towards the Video C, and pixel values of the up per right area are shif ted towards the Video D. T he advantage of f our tap output is that it makes readout about 4 times faster than one tap output.
H x V
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
Right Dark Columns
Dark Rows
Buffer Rows
Buffer Rows
Left Buffer Columns
Right Buffer Columns
Video A Video B
Dummy
Pixels
Horizontal Register
Dark Rows
(1, 1)
Video C Top Horizontal Register Video D
Dummy
Pixels
Dummy
Pixels
Dummy
Pixels
Figure 7.13 Channel Mode
VP series
Page 31 of 73 RA14-121-005
The camera processes and rearranges the image data in order to be compliant with the base Camera Link Standard. In single channel, image data is read out lin e-by-line from the upper left corner until the last pixel in the lower right corner is read out. In dual channe l, image data is read out of Channel A and B simultaneously in interleaved order. In quadrant channel , image data which is tr ans mitted from Video A, B, C and D simultaneously, is read out with 2 Tap top and bottom or 2 Tap interleaved (
6TUFigure 7.15U6T).
VP-29M supports only 2 Tap top and bottom readout when using the quadrant channel.
AFE A
Processing
&
Reorder
CameraLink
Interface
A
B
Video B
Video A
Video C
Video D
CCD
Sensor
AFE B
AFE C
AFE D
Figure 7.14 Image Data Flow
1 Channel Output ( Camera Link BASE 1 Tap )
A A A A
1 Pixel Clock Cycle
(40 MHz)
(1.1)
(H,V)
(H,V)
A
B
A B
1 Pixel Clock Cycle
(40 MHz)
(1.1)
(H,V)
A
B
A
B
1 Pixel Clock Cycle (80 MHz)
(1.1)
2 Channel Output ( Camera Link BASE 2 Tap )
4 Channel Output ( Camera Link BASE 2 Tap )
A
A
B B
Vertical
Vertical
Vertical
Figure 7.15 Data Output
VP series
Page 32 of 73 RA14-121-005
7.5 Gain and Offset
The camera has one Analog Signa l Proces sor (or Anal og Front E nd, abbr eviate d to AFE) f or each c hannel . This AFE consists of Cor related double Sam pler (CDS), Variable Gain Amplif ier (VGA), Black Level Clam p and 12-bit A/D converter. AFE has register f or Gain and Offset applica tio n i ns ide, and can change Gain and Offs et value by entering proper value in t he register. Gain can be set between 0 ~ 899. The relationship between setting value and actual Gain () is as follows:
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
Re giste r Value
Figure 7.16 Register Setting for Gain Value
Offset can be set between 0 ~ 255 (LSB).
VP series
Page 33 of 73 RA14-121-005
7.6 LUT
LUT (Look up Table) conver ts original image va lue to certain level val ue. Since it i s mapped one to one f or each level value, 12-bit output can be connected to 12-bit input. LUT is in the form of table that has 4096 entries between 0~4095 a nd pr o vi des 2 non-volatile spaces for LUT data storage. User can select whether to app l y LUT or not and where to appl y the LUT using “sls” com mand. See
6TUAppendix BU6T for how to do wnload LUT data in the
camera.
12-bit Data
4096 entry
Lookup Table
12-bit Data
Figure 7.17 LUT Block
Figure 7.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
VP series
Page 34 of 73 RA14-121-005
7.7 Defective Pixel Correction
The CCD may ha ve Def ective Pixe ls which cannot pro perl y react to t he righ t. C orr ection is requ ired sinc e i t may deteriorate the qual ity of output image. Defecti ve Pixel inform ation of CCD use d for each c amera is entered i nto the camera at the factory. If the user wants to add Defective Pixel information, it is required to enter coordinate of new Defective Pixel into th e camera. See
6TUAppendix AU6T for deta ils. “sdc” comm and is used to set whe ther to use
Defective Pixel Correction function.
7.7.1 Correction Method
Correction value of Defective Pixel is calculated based on valid pixel value adjacent in the same line.
L3
L2
L1
R1
R2
R3
<Current Pixel>
Figure 7.19 Location of Defective Pixel to be corrected
If Current Pixel is a Defective Pix el as shown in the above figur e, correction value of this pixel is obta ined as shown in the following table depending on whether surrounding pixel is Defective Pixel or not.
Adjacent Defective 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 7.3 Calculation of Defective Pixel Correction Value
VP series
Page 35 of 73 RA14-121-005
7.8 Flat Field Correction
Flat Field Correctio n is a function which corrects a non-uniform pixel response across a CCD and makes the response as uniform as possible (flat), assuming the offsets are non-varying (fixed) patterns. The Flat Field Correction function 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 : Offset value of image after correction; IF : Level value of Flat Field data.
In order to use the Flat Field Correction function, one must first generate IF, the Flat Field data. This can be done by adjusting the cam era to the env ironm ent and act iva ting the Flat Field Ge nerat or. The Flat Field Gener ator will standardize a seri es of im ages , curta iling the im age to a rat io of 1/64, gen erate th e cur tailed F lat F ield data, and store it in the external f rame buffer. When curtailed images are used for corrections, it is expand ed and applied with a Bilinear Interpolation as shown in
6TUFigure 7.21U6T. When the Flat Field data is generated, use the “sfo”
command to set the M value, and use th e “sfc” command to a pply the Flat Field C orrection. Here, th e Flat Field data is stored on th e RAM, a volatile memory. In order to reuse the store d data, the “sdf” command must be used to store them on the FLASH, a non-volatile memory.
1. The activation of the Flat Field Generator will ignore the current camera configuration and will temporarily change the camera configuration to operate under the following default conditions. When the generation of the Flat Field data is complete, the original setting of the camera will be restored.
Readout Mode : Normal  Trigger Mode : Free-Run  Channel Mode : Single  Defective Pixel Correction : ON
2. The offset value M is based on the Normal Readout mode. According to the AOI mode, Binning mode, or Dual Channel mode, the offset value of an actual image is expressed differently.
VP series
Page 36 of 73 RA14-121-005
1/64 Scale Down
External
SRAM
Bilinear
Interpolated
Magnification
External
SRAM
IR*M/IF
<IR>
<IF>
<IC>
<Flat Fielding Block Diagram>
<Flat Field Calibration Block Diagram>
Figure 7.20 Generation and Application of Flat Field Data
16 픽셀
16
copycopycopycopy
copy
copy
Scale-Down Data
Magnified Image
Boundary
Magnified Image
Boundary
Figure 7.21 Bilinear Interpolated Magnification
8
pixel
8 pixel
VP series
Page 37 of 73 RA14-121-005
7.9 Temperature Monitor
Sensor chip is embedded in the camera to m onitor the internal tem per ature. “ gc t ” c om m and is used to check the temperature of camera.
7.10 Status LED
There is green LED to inform the operation status of camera on the back of camera. LED status and corresponding camera status are as follows:
Continuous ON: operates in Free-Run Mode.  Repeat ON for 0.5 seconds, OFF for 0.5 seconds: operates in Trigger Mode.  Repeat ON for 1 second, OFF for 1 second: outputs Test Image.  Repeat ON for 0.25 second, OFF for 0.25 second: operates in Trigger Mode and outputs Test Image.
VP series
Page 38 of 73 RA14-121-005
7.11 Data Format
Data can be proc essed in the unit of 12 bit internall y, but can be selectively output in the unit of 8, 10 or 12bit at output. When it is output in 8bit and 10bit unit, lower 4 bit and 2 bit are cut out from overall 12bits.
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
D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D13 D12
Figure 7.22 Data Format
VP series
Page 39 of 73 RA14-121-005
7.12 Test Image
To check normal operation of camera, it can be set to out put test image created inside, instead of image data from CCD. T here are 3 types of test image; im age with different value in horizon tal direction (Test Image 1), image with different va lue i n d iag ona l dir ection (Test Image 2), and moving image with different valu e in diagonal direction (Test Image 3). Test image can be applied in all operation modes of camera and is set using “sti” command.
Figure 7.23 T est Image 1
VP series
Page 40 of 73 RA14-121-005
Figure 7.24 T est Image 2
Figure 7.25 T est Image 3
VP series
Page 41 of 73 RA14-121-005
7.13 Horizontal Flip
Function to flip the im age right and left based on th e central axis of image. T his function can be applied to all operation modes and “shf” command is used to set whether to use this function or not.
Figure 7.26 Original Image
Figure 7.27 Horizontally Flipped Image
VP series
Page 42 of 73 RA14-121-005
7.14 Image Invert (Positive/Negative)
Function to invert the lev el value of output im age. Level value inverted differs dependi ng on output data form at even if input value is sam e. This function can be applied in all operatio n modes of camera and “ sii” com mand is used to set whether to use this function or not.
Data Format Original Value Inverted Level Value
8 0 255 10 0 1023 12 0 4095
Table 7.4 Inverted level value by Data Format
Figure 7.28 Original image (Positive)
Figure 7.29 Inverted image (Negative)
VP series
Page 43 of 73 RA14-121-005
7.15 Strobe
Strobe signal is used to synchronize the external light source with camera or to measure the exposure time applied to current camera. Pulse width of Strobe signal is from the generating point of Shutter signal to the starting point of Readout, which coincides with exposure time of camera.
7.15.1 Strobe Offset
Strobe Offset value i ndic ates whe n Strobe s i gna l is to be sent after Shutter signa l. Value can be se t in t he u nit of 1 using “sso” command. Only pulse location moves without change in pulse width of Strobe signal.
FVAL
SHUTTER
EXPOSURE
STROBE
VCCD
Offset
Figure 7.30 Strobe signal in Free-Run
SHUTTER
FVAL
STROBE
TRIGGER
(CC1 or EXT)
EXPOSURE
Offset
Figure 7.31 Strobe signal in Trigger mode
VP series
Page 44 of 73 RA14-121-005
7.15.2 Strobe Polarity
Polarity can be set for Strobe signal output. “ssp” command is used to set the polarity of Strobe signal.
7.16 Field Upgrade
The Camera provides the f unction to upgrade Firmware and F GPA l og i c through Camera Link interface rather than disassemble the camera in the field. See
6TUAppendix CU6T for details on how to upgrade.
VP series
Page 45 of 73 RA14-121-005
8 Camera Configuration
8.1 Setup command
All setup in camera is carried out RS-644 serial interface of camera link. With the following communication setting, it can be controlled using terminal or direct control at user application.
Baud Rate: 19200 bps  Data Bit: 8 bit  Parity Bit: No Parity  Stop bit: 1 stop bit  Flow control: None
All types of camera setting commands except Firmware Download, requiring massive data transmission are delivered in ASCII command type. All camera setup commands start from user application and the camera returns the response (“OK”, “Error” or information) for command. The camera informs the completion of command execution through response with write command, while the camera returns the error response or information with read command.
Command format: <command> <parameter1> <parameter2> <\r> 0~2 parameters follow the command. Response:
- If execution of write command is successfully completed OK <\r> <\n>
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<\r> Response : 73 65 74 20 31 30 30 0D 0A 4F 4B 0D 0A 3E Set 100<\r><\n> OK<\r><\n> > Echo result prompt
VP series
Page 46 of 73 RA14-121-005
If execution of read command is successfully completed <parameter1> <\r> <\n>
ex) Read command
In response to a “get” command the camera will return (in hex value) Command : 67 65 74 0D get <\r> Response : 67 65 74 0D 0A 31 30 30 0D 0A 3E get<\r><\n> 100<\r><\n> > echo response prompt
If execution of command is not completed Error : <Error Code> <\r> <\n>
Prompt: After sending response, Camera sends prompt always. ‘>’is used as prompt. Types of Error Code 0x80000481 : values of parameter not valid 0x80000482 : number of parameter is not matched 0x80000484 : command that does not exist 0x80000486 : no execution right
VP series
Page 47 of 73 RA14-121-005
8.2 Parameter Storage Space
The camera has 3 non-volatile storage space used for parameter storage and 1 volatile work space that is applied to actual c amera operation. 3 s torage space is divi ded i nto Fac tory Space that co nta in bas ic v alu e a t the factory, and 2 user space(User Spac e 1, User Space 2) that can save parameter value tem porarily set by the user. User space can be read and written, but Factory space can be read only. At camera booting, setting value in one of 3 storage spaces is copied to work space according to Config Initialization value and value of the space is used for camera setting. Since values in work space is valid onl y while the power is on, it should be copied to user space 1 or user space 2 using “sct” command.
Volatile
Memory
(RAM)
Non_volatile
Memory
(ROM)
Work Space
User 1 Space
User 2 Space
Factory Space
Figure 8.1 Parameter Area
Factory Setting
List Value Command
Data Bits 12 sdb 12 Trigger Mode freerun stm 0 Readout Mode normal srm 0 Exposure Time 10ms set 10000 Exposure Source program ses 0 Trigger Source CC1 sts 1 Trigger Polarity Active High stp 1 Analog Gain 0 sag 0 0 Analog Offset 0 sao 0 0 Defect Correction ON sd c 1 Pixel Clock Speed (VP-16M)
1 (40㎒)
sps 1
T arget Temperature 5 (Celsius) stt 5
VP series
Page 48 of 73 RA14-121-005
8.3 Command List
Command Syntax
Value
Returned
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 : Nomal Mode 1 : AOI(Area Of Interest) Mode (AOI area is set using “sha” and “sva” commands) 2 : Binning( 2 or 4 ) 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 directi on
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|4 gti
OK 2|4
2 : 2 by 2 binning
4 : 4 by 4 binning
Set T est Image Get T est 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 Asynchronous Reset Get Asynchronous Reset
sar 0|1 gar
OK 0|1
0 : Inactivate Asynchronous Reset
1 : Activate Asynchronous Reset Set Channel Mode Get Channel Mode
scm 1|2 gcm
OK 1|2
1 : 1 Channel Mode
2 : 2 Channel Mode 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
Table 8.1 Comma n d L ist #1
VP series
Page 49 of 73 RA14-121-005
Command Syntax
Value
Returned
Description
Set Image Invert Get Image Invert
sii 0|1 gii
OK 0|1
0 : Off
1 : Active of Image Invert Set Horizontal Flip Get Horizontal Flip
shf 0|1 ghf
OK 0|1
0 : Off
1 : Active of Defect Correction
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 Exposure Time Get Exposure Time
set n get
OK n
n : Exposure Time in us
(Setting range : 10 ~ 7,000,000 us) Set Strobe Offset Get Strobe Offset
sso n gso
OK n
n : Strobe Offset Time in us
(Setting range : 0 ~ 10,000 us) 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 Analog Offset Get Analog Offset
sao n gao
OK N
n :Analog Gain Parameter
(Setting Range : 0 ~ 255) Set Trigger Polarity Get Trigger Polarity
stp 0|1 gtp
OK 0|1
0 : Active High
1 : Active Low 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
Table 8.2 Comma n d L ist #2
VP series
Page 50 of 73 RA14-121-005
Command Syntax
Value
Returned
Description
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(inactive)
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 Displays MCU Version Get Model Number gmn String Displays Camera Model Number Get FPGA Version gfv String Displays FPGA Version Get Serial Number gsn String Display Serial Number Get Current Temperature gct String Display T emperature Value Get Sensor Temperature gst String Display CCD Sensor Temperature Value Set T arget Te mperature Get T arget Temperature
stt n gtt
OK n
n : CCD Sensor target Temperature Value
Set Pclk Selection Get Pclk Selection
sps 0|1 gps
OK 0|1
0 : Pixel Clock 30MHz
1 : Pixel Clock 40MHz (VP-8/29MC supports
40 MHz only.)
Set Fan Control Get Fan Status
Sft 0|1 gft
OK 0|1
Control Fan On/Off
0 : Fan Off
1 : Fan On
Set Peltier Control Get Peltier Status
stc 0|1 gft
OK 0|1
Control Peltier On/Off
0 : Peltier Off
1 : Peltier On
Table 8.3 Comma n d L ist #3
VP series
Page 51 of 73 RA14-121-005
9 Conf igurator GUI
Configurator, a sample application, is provid ed to control VP Series camera. Conf igurator provides easy-to-use Graphic User Interface (GUI) for the user while using the commands mentioned previous chapters.
9.1 VP Camera Scan
When you execute the program while the camera is turned on , Camera Scan window appears as shown in the figure below. At this tim e, the program checks serial port of com puter and DLL provided by camera link to scan whether the camera is c onnected. If there is a cam era connected, it displa ys model name on the screen. If the camera is not prop erly displa yed on the screen, ch eck the connec tion of c able with po wer of cam era and pres s refresh button. When you double-click model name displayed on the screen, Configurator is executed and displays current sett ing va lue of camera connected.
Figure 9.1 Configurator Loading Windo w
VP series
Page 52 of 73 RA14-121-005
9.2 Menu
9.2.1 File
Figure 9.2 File menu
Load Setting: Loads the camera setting values from the camera memory (i.e., specified as
Factory, User1 or User2) or user computer (From File).
Save Setting: Saves the camera setting values to the camera memory (i.e., specified as
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 program or FPGA logic.  Exit: Exits Configurator.
VP series
Page 53 of 73 RA14-121-005
9.2.2 Start-Up
The user can select the camera setting values to load when the camera is turned on.
Figure 9.3 Start-Up Menu
Factory Setting: Loads the camera settin g v alu es from Factory Space.  User1 Setting: Loads the camera settin g v alu es from User1 Space.  User2 Setting: Loads the camera settin g v alu es from User2 Space.
VP series
Page 54 of 73 RA14-121-005
9.2.3 Tool
Figure 9.4 Tool Menu
Refresh: Loads and disp lays the current camera setting values on Configurator.  Terminal: Displays user commands in Terminal window under GUI. To hide T erminal
window, uncheck Terminal by clicking again.
Color Calibration: Performs Bayer sensor color calibration.  Factory Setting: Not supported in the user side.
High Speed: Operates the camera with 40 pixel clock (Not supported on VP-8MC and
VP-29MC).
VP series
Page 55 of 73 RA14-121-005
9.2.4 About
Figure 9.5 About Menu
Camera Info: Displays camera information (product nam e, serial number, version, etc).
VP series
Page 56 of 73 RA14-121-005
9.3 Tab
9.3.1 VIEW Tab
VIEW tab allows the user to set the camera readout mode, test image mode, data bit, channel, LUT, image processing, etc.
Figure 9.6 VIEW Tab
Mode: Selects readout mode. If AOI is selected, AOI setting area is activated
and AOI can be set by entering desired values. If Binning is selected, ×2, ×4 option buttons are activated.
Test Image: Selects whether to apply test image and type of test image.  Data Bit: Selects width of data output.  Channel: Selects channel mode.  LUT: Selects whether to apply LUT and type of LUT.  Imaging Processing: Sets Flat Field Correction, Defect Correction, Image Invert or Horizontal
Flip functions On or Off.
VP series
Page 57 of 73 RA14-121-005
9.3.2 MODE/EXP Tab
MODE/EXP tab allows the user to select trigger m ode, exposure tim e and strobe. All scroll bars are controlla ble with the mouse wheel scroll.
Figure 9.7 MODE/EXP Tab
Trigger Mode: Selects trigger mode. Once a mode has been selected, related selections
will be activated.
Exposure: Selects exposure source.  Source: Selects trigger source.  Polarity: Selects polarity of trigger input.  Exposure Time: Sets exposure time when trigger mode is set with Free-Run mode or when
Exposure is set with Program.
Strobe Offset: Sets strobe offset.  Strobe Polarity: Sets the polarity of strobe output signal.
VP series
Page 58 of 73 RA14-121-005
9.3.3 ANALOG Tab
ANALOG tab allows th e user to s et gain and offset settings of the im age. All scroll bars are controllable with the mouse wheel scroll.
Figure 9.8 ANALOG Tab
Analog Gain: Sets gain value of each channel. Auto Adjustment will be activated after checking
Fine Adjustment and compensates Tap differences automatically. Fine Adjustment of Right-Top, Left-Bottom and Right-Bottom will be affected based on Left-Top.
After clicking the Auto Adjustment button, at least one or more images must be captured by the camera.
Analog Offset: Sets offset values of each channel.
VP series
Page 59 of 73 RA14-121-005
9.3.4 LUT Tab
LUT tab allows the user to download LUT data. See 6TUAppendix BU6T for more details on LUT Download.
Figure 9.9 LUT Tab
Graph: Loads LUT data from the user computer or sets Gamma value
to be applied while using Gamma curve.
Camera LUT Download / Upload: Downloads LUT data to camera from the user computer (Download)
or uploads LUT data saved in the camera to the user computer (Upload to PC).
VP series
Page 60 of 73 RA14-121-005
9.3.5 FFC Tab
FFC tab allows the user to set Flat Field Correction settings. All scroll bars are controllable with the mouse wheel scroll.
Figure 9.10 FFC Tab
FFC data: Generates the FF data to be used for correction and sets how many
images will be used for the generation.
Flash Memory: Saves the generated FF data to Flash in order to reuse in the future or
retrieves the saved FF data.
FFC Data
Download / Upload: Downloads FFC Data from the user computer (Download to camera) or uploads FFC Data to the user computer (Upload to PC).
FFC Offset Level: Sets the offset value of the image after Flat Field Correction is applied.
VP series
Page 61 of 73 RA14-121-005
9.3.6 TEC Tab
TEC Tab allows the user to control target temperature of CCD Sensor.
Figure 9.11 TEC Tab
CCD T arget Temperature: Sets target temperature of CCD Sensor.  CCD T emperature: Displays CCD Sensor temperature value.  Fan Control: Turns Fan On or Off.  Peltier Control: Turns Peltier On or Off.
VP series
Page 62 of 73 RA14-121-005
Appendix A Defe ct ive Pixel Map Download
1. Create the Defective Pixel Map data in Microsoft Excel format as shown in the left picture below and save as a CSV file (*.csv). The p icture in the right sh ows the created Ex cel file opened in Notep ad. The following rules need to be applied when creating the file.
Lines beginning with ‘:’ or ‘—‘ are treated as notes.  Each row is produced in the order of the horizontal and vertical coordinate values.  The input sequence of pixel is irrelevant.
2. Select File > Defect Pixel > Download to Camera on Configurator.
VP series
Page 63 of 73 RA14-121-005
3. Search and select the created file and click Open.
4. Co nfigurator starts downloading d efective pixel m ap data to the cam era and downloadin g status is displayed
at the bottom of the window.
VP series
Page 64 of 73 RA14-121-005
5. Once the download has been com pleted, the s av in g proc es s will beg in. During the saving pr oc ess , make sure
not to disconnect the power cord.
6. Once all the process es have been completed, Download completed message will appear at the bottom of the window.
VP series
Page 65 of 73 RA14-121-005
Appendix B LUT Download
LUT data can be created in two ways; by adjusting the gamm a values on the gamm a graph provided in the program and then downloading the data or by opening a CSV file (*.csv) and then downloading the data.
B.1 Gamma Graph Dow nload
1. Set a desired gamma value on LUT tab and click Apply.
2. Select LUT1 or LUT2 as a location to store the data and click LUT Download.
VP series
Page 66 of 73 RA14-121-005
3. Once the download has been com pleted, Download completed m essage will appear at the bottom of the window.
VP series
Page 67 of 73 RA14-121-005
B.2 CSV File Download
1. Create the LUT table in Microsoft Excel format as shown in the l eft picture below and save as a CSV file (*.csv). The picture in the right shows the created file opened in Notepad. Onc e the file has been 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.  Based on the input values, make sure to record from 0 to 4095.
2. Click Load File on LUT tab.
VP series
Page 68 of 73 RA14-121-005
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.
VP series
Page 69 of 73 RA14-121-005
Appendix C Field Upgrade
C.1 MCU
1. Select File > System Upgrade > MCU Upgrade on Configurator.
2. Search and select the provided MCU upgrade file (*.srec) then click Open.
VP series
Page 70 of 73 RA14-121-005
3. Configurator starts downloading MCU upgrade file to the camera and do wnloading status is dis played at the
bottom of the window. If you want to cance l the upgrade proc ess, click Cancel. T his process requires several minutes to complete.
4. Once the download has been completed, the saving process will begin. During the saving process, the
camera cannot be restored if a power failure occurs. Make sure that the power connection is secured.
VP series
Page 71 of 73 RA14-121-005
5. Once all the proc esses have been completed, turn the power off and turn it back on again. S elect Tool >
Terminal and enter the “gmv” command to conf irm the ver sio n. Or, select About > Camera Info to conf ir m the MCU version.
VP series
Page 72 of 73 RA14-121-005
C.2 FPGA
1. Select File > System Upgrade > FP GA Upgrade on Configurator.
2. Search and select the provided FPGA upgrade file (*.bin) and click Open.
3. The subsequent processes are identical to those of MCU upgrade.
Vieworks Co., Ltd.
#601-610 Suntechcity, 307-2 Sangdaewon-dong,
Jungwon-gu, Seongnam-si, Gyeonggi-do, 462-736 South Korea
Tel: +82-70-7011-6161 Fax: +82-31-737-4936
6TUmachinevision.vieworks.comU6T 6TUvieworks@vieworks.comU6T
Loading...