background image

4 Functionality

C a m e r a

S y s t e m   P C

M a c h i n e   V i s i o n

B

A

D a t a   C a m e r a L i n k

P o w e r

E X S Y N C   ( C C 1 )   /   S o f t t r i g g e r

C a m e r a L i n k

T M

  F r a m e   G r a b b e r

Figure 4.23: Interface trigger source

I / O   B o a r d

C a m e r a   1

S y s t e m   P C

M a c h i n e   V i s i o n

B

A

D a t a   C a m e r a L i n k

P o w e r

T r i g g e r   S o u r c e

E X S Y N C   ( C C 1 )   /   S o f t t r i g g e r

C a m e r a L i n k

T M

  F r a m e   G r a b b e r

F l a s h

C a m e r a   2

D a t a   C a m e r a L i n k

E X S Y N C   ( C C 1 )   /   S o f t t r i g g e r

P o w e r

Figure 4.24: Interface trigger with 2 cameras and frame grabber I/O card

Trigger-controlled Exposure time

In this trigger mode the exposure time is defined by the

pulse width of the trigger pulse. For an active high trigger signal, the camera starts the
exposure with the positive edge of the trigger signal and stops it with the negative edge.

Trigger-controlled exposure time is not available in simultaneous readout mode.

External Trigger with Camera controlled Exposure Time

In the external trigger mode with camera controlled exposure time the rising edge of the
trigger pulse starts the camera states machine, which controls the sensor and optional an

40

Summary of Contents for MV1-D1312C CameraLink Series

Page 1: ...User Manual MV1 D1312C CameraLink Series CMOS Area Scan Colour Camera MAN046 04 2010 V1 0...

Page 2: ......

Page 3: ...responsibility is assumed by Photonfocus AG for its use Photonfocus AG reserves the right to make changes to this information without notice Reproduction of this manual in whole or in part by any mean...

Page 4: ...2...

Page 5: ...g 23 4 1 3 Exposure Control 26 4 1 4 Maximum Frame Rate 26 4 2 Pixel Response 27 4 2 1 Linear Response 27 4 2 2 LinLog 27 4 3 Reduction of Image Size 32 4 3 1 Region of Interest ROI 32 4 3 2 ROI confi...

Page 6: ...gger and Strobe Signals 62 5 1 4 Status Indicator CameraLink cameras 63 5 2 CameraLink Data Interface 63 6 The PFRemote Control Tool 65 6 1 Overview 65 6 2 PFRemote and PFLib 65 6 3 Operating System 6...

Page 7: ...9 Warranty 89 9 1 Warranty Terms 89 9 2 Warranty Claim 89 10 References 91 A Pinouts 93 A 1 Power Supply Connector 93 A 2 CameraLink Connector 94 B Revision History 97 CONTENTS 5...

Page 8: ...CONTENTS 6...

Page 9: ...egree of quality 1 2 Contact Photonfocus AG Bahnhofplatz 10 CH 8853 Lachen SZ Switzerland Sales Phone 41 55 451 07 45 Email sales photonfocus com Support Phone 41 55 451 01 37 Email support photonfocu...

Page 10: ...ving been obtained from Photonfocus AG Photonfocus can not be held responsible for any technical or typographical er rors 1 5 Legend In this documentation the reader s attention is drawn to the follow...

Page 11: ...Remove the camera from its packaging Please make sure the following items are included with your camera Power supply connector 7 pole power plug Camera body cap If any items are missing or damaged pl...

Page 12: ...cable while camera power is on For more information about CameraLink see Section 4 12 6 Connect a suitable power supply to the provided 7 pole power plug For the connector assembly see Fig A 1 The pin...

Page 13: ...PFRemote and choose the communication port Figure 2 4 PFRemote start window 11 Check the status LED on the rear of the camera The status LED lights green when an image is being produced and it is red...

Page 14: ...2 How to get started CameraLink 12...

Page 15: ...120 dB Ideal for high speed applications Global shutter Colour resolution of up to 12 bit On camera shading correction Up to 512 regions of interest MROI 2 look up tables 12 to 8 bit on user defined i...

Page 16: ...e pre processing Shading Correction Offset 2 look up tables 12 to 8 bit on user defined image region Region LUT Features Colour resolution 12 bit 10 bit 8 bit Region of Interest ROI Up to 512 regions...

Page 17: ...rrent MV1 D1312C 0 65 fA pixel 27 C Full well capacity 100 ke Spectral range MV1 D1312C 390 to 670 nm to 10 of peak responsivity see Fig 3 3 Responsivity MV1 D1312C 190 x103 DN J m2 625 nm 8 bit gain...

Page 18: ...e the Photonfocus application notes AN006 and AN008 available in the support area of our website www photonfocus com The A1312C colour sensor is equipped with a cover glass It incorporates an infra re...

Page 19: ...312C camera series MV1 D1312C 160 Pixel Clock per Tap 80 MHz Number of Taps 2 Colour resolution 12 bit 10 bit 8 bit Line pause 18 clock cycles CC1 EXSYNC CC2 not used CC3 not used CC4 not used Table 3...

Page 20: ...s p o n s i v i t y V J m R e s p o n s i v i t y r e d R e s p o n s i v i t y g r e e n 1 R e s p o n s i v i t y g r e e n 2 R e s p o n s i v i t y b l u e Figure 3 3 Responsivity of the A1312C CM...

Page 21: ...Figure 3 5 Bayer Pattern Arrangement in the MV1 D1312C camera series 3 5 Frame Grabber relevant Configuration 19...

Page 22: ...0 A0 C0 1 A1 B1 A1 C1 A1 C1 2 A2 B2 A2 C2 A2 C2 3 A3 B3 A3 C3 A3 C3 4 A4 B4 A4 C4 A4 C4 5 A5 B5 A5 C5 A5 C5 6 A6 B6 A6 C6 A6 C6 7 MSB of 8 Bit A7 B7 A7 C7 A7 C7 8 B0 B4 B0 B4 9 MSB of 10 Bit B1 B5 B1...

Page 23: ...ent image Readout Mode MV1 D1312C Series Sequential readout available Simultaneous readout available Table 4 1 Readout mode of MV1 D1312C Series camera The following figure illustrates the effect on t...

Page 24: ...ing mode in the sequential readout mode Exposure time of the next image can only start if the readout time of the current image is finished e x p o s u r e r e a d o u t e x p o s u r e r e a d o u t...

Page 25: ...out after the exposure time Then the sensor is reset a new exposure starts and the readout of the image information begins again The data is output on the rising edge of the pixel clock The signals F...

Page 26: ...T E R F V A L L V A L D V A L D A T A L i n e p a u s e L i n e p a u s e L i n e p a u s e F i r s t L i n e L a s t L i n e E x p o s u r e T i m e F r a m e T i m e C P R E Figure 4 7 Timing diagra...

Page 27: ...e T i m e C P R E Figure 4 8 Timing diagram of simultaneous readout mode readout time exposure time P C L K S H U T T E R F V A L L V A L D V A L D A T A L i n e p a u s e L i n e p a u s e L i n e p...

Page 28: ...AL Data Valid Is high while data are valid DATA Transferred pixel values Example For a 100x100 pixel image there are 100 values transferred within one LVAL active high period or 100 100 values within...

Page 29: ...el is an integrating pixel with global shutter and the possibility to control the transition between linear and logarithmic mode The images delivered by the camera in LinLog mode will require special...

Page 30: ...mplest way the pixels are operated with a constant LinLog voltage which defines the knee point of the transition This procedure has the drawback that the linear response curve changes directly to a lo...

Page 31: ...n Fig 4 14 and Fig 4 15 show how the response curve is controlled by the three parameters Value1 Value2 and the LinLog time Time1 Settings in LinLog2 mode enable a fine tuning of the slope in the loga...

Page 32: ...Value2 18 Figure 4 15 Response curve for different LinLog settings in LinLog2 mode LinLog3 To enable more flexibility the LinLog3 mode with 4 parameters was introduced Fig 4 16 shows the timing diagr...

Page 33: ...onse Curve Varying Parameter Time2 Illumination Intensity Output grey level 8 bit DN T2 950 T2 960 T2 970 T2 980 T2 990 Time1 850 Value1 19 Value2 18 Figure 4 17 Response curve for different LinLog se...

Page 34: ...dth of the region of interest depends on the model of the MV1 D1312C camera series For more details please consult Table 4 4 and Table 4 5 The minimum width must be positioned symmetrically towards th...

Page 35: ...544 x 544 485 fps 1024 x 1024 145 fps 1056 x 1056 136 fps 1312 x 2 9613 fps Table 4 3 Frame rates of different ROI settings exposure time 10 s correction on and sequential readout mode Any region of...

Page 36: ...width of the region of interest Any ROI settings in x direction exceeding the minimum ROI width must be mod ulo 32 MV1 D1312C 160 ROI width w 544 1312 overlap ovl 272 width condition modulo 32 Table 4...

Page 37: ...ore detailed data input and is skipped here for the purpose of clarity ROI Dimension MV1 D1312C 160 1312 x 1082 tro 9 12 ms 1248 x 1082 tro 8 68 ms 1024 x 512 tro 3 39 ms 1056 x 512 tro 3 49 ms 1024 x...

Page 38: ...for all MROI regions and is defined by the ROI settings The maximum frame rate in MROI mode depends on the number of rows and columns being read out Overlapping ROIs are allowed See Section 4 3 3 for...

Page 39: ...1 M R O I 2 0 0 1 3 1 1 1 0 8 1 0 0 1 3 1 1 1 0 8 1 R O I M R O I 0 M R O I 1 M R O I 2 R O I Figure 4 20 Multiple Regions of Interest Figure 4 21 Multiple Regions of Interest with 5 ROIs 4 3 Reductio...

Page 40: ...6 p i x e l 0 0 1 3 1 1 1 0 8 1 2 0 p i x e l 2 6 p i x e l 2 p i x e l 2 p i x e l 2 p i x e l 1 p i x e l 1 p i x e l C h e m i c a l A g e n t A B C Figure 4 22 Multiple Regions of Interest in hype...

Page 41: ...g source 4 4 2 Trigger Source The trigger signal can be configured to be active high or active low One of the following trigger sources can be used Free running The trigger is generated internally by...

Page 42: ...n k E X S Y N C C C 1 S o f t t r i g g e r P o w e r Figure 4 24 Interface trigger with 2 cameras and frame grabber I O card Trigger controlled Exposure time In this trigger mode the exposure time i...

Page 43: ...t e r t t r i g g e r d e l a y t e x p o s u r e t s t r o b e d e l a y t d i s o o u t p u t t s t r o b e d u r a t i o n t t r i g g e r o f f s e t t s t r o b e o f f s e t Figure 4 26 Timing...

Page 44: ...l t r i g g e r p u l s e i n p u t t r i g g e r a f t e r i s o l a t o r t r i g g e r p u l s e r i s i n g e d g e c a m e r a c o n t r o l d e l a y e d t r i g g e r r i s i n g e d g e f o r...

Page 45: ...uence then some trigger pulses will be missed A missed burst trigger counter counts these events This counter can be read out by the user e x t e r n a l t r i g g e r p u l s e i n p u t t r i g g e...

Page 46: ...ns ttrigger pulsewidth 200 ns n a Number of bursts n 1 30000 Table 4 8 Summary of timing parameters relevant in the external trigger mode using camera MV1 D1312C 160 4 4 6 Software Trigger The softwar...

Page 47: ...9 I m a g e S e n s o r F P N C o r r e c t i o n D i g i t a l O f f s e t D i g i t a l G a i n F i n e G a i n S t a t u s l i n e i n s e r t i o n T e s t i m a g e s i n s e r t i o n A p p l y...

Page 48: ...ges when gain or LUT is enabled Read the follow ing sections very carefully Correction values of the reference image can be saved into the internal flash memory but this overwrites the factory presets...

Page 49: ...the histogram should be well below the hot pixel threshold of 1008 DN 12 bit Camera settings may influence the grey level Therefore for best results the camera settings of the black reference image mu...

Page 50: ...ection only Offset and hot pixel correction Hot pixel correction only Offset and gain correction Offset gain and hot pixel correction In addition the black reference image that are currently stored in...

Page 51: ...ion LUT Channel colour level transformation is remapping of the colour level values of an input image to new values The look up table LUT is used to convert the channel colour value of each pixel in a...

Page 52: ...ed LUT transfer curves 0 200 400 600 800 1000 1200 0 50 100 150 200 250 300 Grey level transformation Gain y 255 1023 a x x grey level input value 10 bit DN y grey level output value 8 bit DN a 1 0 a...

Page 53: ...00 1000 1200 0 50 100 150 200 250 300 Grey level transformation Gamma y 255 1023 x 1 x grey level input value 10 bit DN y grey level output value 8 bit DN 1 0 1 2 1 5 1 8 2 5 4 0 Figure 4 35 Applying...

Page 54: ...n region 0 x00 x01 y00 y01 and it supersedes LUT 1 in the overlapping region LUT 1 is active in region 1 x10 x11 y10 y11 Fig 4 39 shows an example of keyhole inspection in a laser welding application...

Page 55: ...0 x 0 1 x 1 1 y 1 0 y 0 0 y 0 1 y 1 1 Figure 4 38 Overlapping Region LUT example L U T 0 0 0 1 3 1 1 1 0 8 1 L U T 1 0 0 1 3 1 1 1 0 8 1 L U T 1 L U T 0 Figure 4 39 Region LUT in keyhole inspection 4...

Page 56: ...4 Functionality Figure 4 40 Region LUT example with camera image left original image right gain 4 region in the are of the date print of the bottle 54...

Page 57: ...nts all incoming external triggers counter width 8 bit no wrap around Missed burst trigger counter The missed burst trigger counter counts trigger pulses that were ignored by the camera in the burst t...

Page 58: ...st Trigger Counter 32 11 Horizontal start position of ROI Window X 36 11 Horizontal end position of ROI Window X Window W 1 40 11 Vertical start position of ROI Window Y In MROI mode this parameter is...

Page 59: ...with a pseudo random grey level sequence containing every possible grey level that is repeated for every row The LFSR test pattern was chosen because it leads to a very high data toggling rate which...

Page 60: ...register test image A possible origin of failure message can be caused by the CameraLink cable which exceeds the maximum length Also CameraLink cables may suffer either from stress due to wrong instal...

Page 61: ...sion errors CameraLink cables contain wire pairs which are twisted in such a way that the cable impedance matches with the LVDS driver and receiver impedance Excess stress on the cable results in tran...

Page 62: ...accessible Instead the serial communication is usually routed through the frame grabber For some frame grabbers it might be necessary to connect a serial cable from the frame grabber to the serial int...

Page 63: ...on Figure 5 1 Rear view of the CameraLink camera The CameraLink interface and connector are specified in CL For further details including the pinout please refer to Appendix A This connector is used t...

Page 64: ...id damage to the internal ESD protection and the optocoupler In order to use the strobe output the internal optocoupler must be powered with 5 15 V DC The STROBE signal is an open collector output the...

Page 65: ...s contain the image data In addition handshaking signals such as FVAL LVAL and DVAL are transmitted over the same physical channel Camera control information Camera control signals CC signals can be d...

Page 66: ...i x e l C l o c k C C S i g n a l s S e r i a l I n t e r f a c e F r a m e g r a b b e r C a m e r a L i n k Figure 5 3 CameraLink interface system The frame grabber needs to be configured with the p...

Page 67: ...was delivered with your frame grabber Figure 6 1 PFRemote and PFLib in context with the CameraLink frame grabber software 6 3 Operating System The PFRemote GUI is available for Windows OS only For Li...

Page 68: ...can be opened or closed and log messages are displayed at the bottom The configuration dialog appears as a sub window as soon as a camera port was opened successfully In the sub window of PFRemote the...

Page 69: ...e this DLL as clser dll at PFRemote directory After connecting the camera the device can be opened with a double click on the port name or by right clicking on the port name and choosing Open Configur...

Page 70: ...Reset Reset camera and reset the configuration to the factory defaults 6 6 Device Properties Cameras or sensor devices are generally addressed as device in this software These devices have properties...

Page 71: ...ed according to the tabs in the configuration dialog Figure 7 1 MV1 D1312C 160 frame rate and average value Frame Rate fps Shows the actual frame rate of the camera in frames per second Update To upda...

Page 72: ...mages as fast as possible depending on the exposure time and the read out time Frame time ms Configure the frame time in milliseconds Only available if Constant Frame Rate is enabled The minimum frame...

Page 73: ...ax ROI Set Window to maximal ROI X 0 Y 0 W 1312 H 1082 Window width is only available in steps of 32 pixel Multi ROI This camera can handle up to 512 different regions of interest The multiple ROIs ar...

Page 74: ...ed the ROI and MROI settings cannot be changed Load File Load a user defined MROI file into the camera There is an exmaple file in the PFRemote directory Save File Save the current MROI settings to a...

Page 75: ...ace respectively I O Trigger The trigger signal is applied directly to the camera on the power supply connector Exposure time defined by Camera The exposure time is defined by the property ExposureTim...

Page 76: ...signal Number of Burst Triggers Set the number of burst Burst Trigger Period ms Set the time between the burst in milliseconds Burst Trigger Delay ms Set the delay of the burst trigger in millisecond...

Page 77: ...ixel are incremented by 1 starting at each row The pattern depends on the grey level resolution Resolution 8 Bit Grey level resolution of 8 bit 10 Bit Grey level resolution of 10 bit 12 Bit Grey level...

Page 78: ...alibrate the white balance in an image which has to be set according to the current lighting condition Fine gain blue RGB channel gain for blue Fine gain green1 RGB channel gain for green1 Fine gain g...

Page 79: ...vels 0 to 4096 and 0 to 255 This camera support 2 LUT both are identical The default LUTs is a gain function with value 1 LUT0 has higher priority as LUT1 Both LUT can be configured with the built in...

Page 80: ...pixel H Region LUT window height Set to max ROI Set Region LUT window to maximal ROI X 0 Y 0 W 1312 H 1082 LUT Files To load or save a LUT file LUT Index Select the LUT you want to load or save a file...

Page 81: ...rating pixel with global shutter and the possibility to control the transition between linear and logarithmic mode Section 4 2 2 There are 3 predefined LinLog settings available Alternatively custom s...

Page 82: ...tion Black Level Offset It may be necessary to adjust the black level offset of the camera Black Level Offset Black level offset value Use this to adjust the black level Calibration Offset FPN Hotpixe...

Page 83: ...he Set Black Ref Button If only offset and hot pixel correction is needed it is not necessary to calibrate a grey image see Calculate Calculate Calculate the correction values into the camera RAM To m...

Page 84: ...ype code of the connected camera Serial Serial number of the connected camera FPGA Sensor Revision Firmware revision of built in Sensor FPGA of the connected camera uC Revision Firmware revision of bu...

Page 85: ...g the last burst is not yet finished To update the value of the information properties click on the Update Button to reset the properties click on the Reset Button Status Line Enable Status Line The s...

Page 86: ...7 Graphical User Interface GUI 84...

Page 87: ...etain this packaging for possible later use or dispose of it according to local regulations 8 1 1 MV1 cameras with CameraLink Interface Figure 8 1 Mechanical dimensions of the CameraLink model display...

Page 88: ...nt to clean the sensor of the most common contaminants Workshop air supply is not appropriate and may cause permanent damage to the sensor 3 If further cleaning is required use a suitable lens wiper o...

Page 89: ...hael GmbH Germany Methanol Fluid Johnson Matthey GmbH Germany Semiconductor Grade 99 9 min Assay Merck 12 6024 UN1230 slightly flammable and poisonous www alfa chemcat com 2 Propanol Iso Propanol Flui...

Page 90: ...1 D 1 0 2 4 8 0 C L D S 1 D 1 0 2 4 1 6 0 C L D S 1 D 1 3 1 2 1 6 0 C L M V 1 D 1 3 1 2 I 4 0 C L M V 1 D 1 3 1 2 I 8 0 C L M V 1 D 1 3 1 2 I 1 6 0 C L M V 1 D 1 3 1 2 I 2 4 0 C L E L 1 D 1 3 1 2 1 6...

Page 91: ...the manufacturer and accompanying said product and the product shall be free from defects in materials and workmanship under normal use The distributor shall not make or pass on to any party any warra...

Page 92: ...9 Warranty 90...

Page 93: ...mber 2002 AN006 Application Note Quantum Efficiency Photonfocus February 2004 AN007 Application Note Camera Acquisition Modes Photonfocus March 2004 AN008 Application Note Photometry versus Radiometry...

Page 94: ...10 References 92...

Page 95: ...he pin assignment of the power supply plug is given in Table A 2 It is extremely important that you apply the appropriate voltages to your camera Incorrect voltages will damage or destroy the camera F...

Page 96: ...isolated strobe signal Table A 2 Power supply plug pin assignment A 2 CameraLink Connector The pinout for the CameraLink 26 pin 0 5 Mini D Ribbon MDR connector is according to the CameraLink standard...

Page 97: ...Positive LVDS Input Camera Control 4 CC4 13 PW SHIELD Shield 14 PW SHIELD Shield 15 O P_XD0 Positive LVDS Output CameraLink Data D0 16 O P_XD1 Positive LVDS Output CameraLink Data D1 17 O P_XD2 Posit...

Page 98: ...A Pinouts 96...

Page 99: ...B Revision History Revision Date Changes 1 0 March 2010 First release 97...

Reviews: