User Manual MV1-D1312C CameraLink ® Series CMOS Area Scan Colour Camera MAN046 04/2010 V1.0...
Page 3
All information provided in this manual is believed to be accurate and reliable. No 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 means, is prohibited without prior permission having been obtained from Photonfocus AG.
Preface 1.1 About Photonfocus The Swiss company Photonfocus is one of the leading specialists in the development of CMOS image sensors and corresponding industrial cameras for machine vision, security & surveillance and automotive markets. Photonfocus is dedicated to making the latest generation of CMOS technology commercially available.
1 Preface Reproduction of this manual in whole or in part, by any means, is prohibited without prior permission having 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 following icons: Important note Alerts and additional information...
® How to get started (CameraLink Install a suitable frame grabber in your PC. To find a compliant frame grabber, please see the frame grabber compatibility list at www.photonfocus.com. Install the frame grabber software. Without installed frame grabber software the camera configuration tool PFRe- mote will not be able to communicate with the camera.
Page 12
® 2 How to get started (CameraLink To choose a lens, see the Lens Finder in the ’Support’ area at www.photonfocus.com. ® Connect the camera to the frame grabber with a suitable CameraLink cable (see Fig. 2.2). ® CameraLink cables can be purchased from Photonfocus directly (www.photonfocus.com). Please note that Photonfocus provides appropriate solutions for your advanced vision applications.
Page 13
Install the camera software PFRemote. Please follow the instructions of the PFRemote setup wizard. Figure 2.3: Screen shot PFremote setup wizard 10. Start the camera software 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 when serial communication is active.
Product Specification 3.1 Introduction The MV1-D1312C CMOS camera series are built around the colour A1312C CMOS image sensor from Photonfocus, that provides a resolution of 1312 x 1082 pixels at a wide range of spectral sensitivity. It is aimed at standard applications in industrial image processing. The principal advantages are: •...
3.3 Technical Specification Technical Parameters MV1-D1312C Series Technology CMOS active pixel (APS) Scanning system Progressive scan Optical format / diagonal 1” (13.6 mm diagonal) @ maximum resolution 2/3” (11.6 mm diagonal) @ 1024 x 1024 resolution Resolution 1312 x 1082 pixels Pixel size 8 µm x 8 µm Active optical area...
3 Product Specification MV1-D1312C-160 Exposure Time 10 µs ... 0.42 s Exposure time increment 25 ns Frame rate = 10 µs) 108 fps Pixel clock frequency 80 MHz Pixel clock cycle 12.5 ns Camera taps Read out mode sequential or simultaneous Table 3.3: Model-specific parameters (Footnote: Maximum frame rate @ full resolution) MV1-D1312C-160...
Page 19
4 5 % Q E ( r e d ) 4 0 % Q E ( g r e e n 1 ) Q E ( g r e e n 2 ) Q E ( b l u e ) 3 5 % 3 0 % 2 5 %...
Page 20
3 Product Specification 9 0 0 R e s p o n s i v i t y ( r e d ) 8 0 0 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 ) 7 0 0...
Page 21
Figure 3.5: Bayer Pattern Arrangement in the MV1-D1312C camera series 3.5 Frame Grabber relevant Configuration...
Page 22
3 Product Specification Tap 0 Tap 1 Tap 0 Tap 1 Tap 0 Tap 1 8 Bit 8 Bit 10 Bit 10 Bit 12 Bit 12 Bit 0 (LSB) 7 (MSB of 8 Bit) 9 (MSB of 10 Bit) 11 (MSB of 12 Bit) ®...
Functionality This chapter serves as an overview of the camera configuration modes and explains camera features. The goal is to describe what can be done with the camera. The setup of the MV1-D1312C series cameras is explained in later chapters. 4.1 Image Acquisition 4.1.1 Readout Modes The MV1-D1312C CMOS cameras provide two different readout modes:...
Page 24
4 Functionality Simultaneous readout mode (exposure time < readout time) The frame rate is given by the readout time. Frames per second equal to the inverse of the readout time. Simultaneous readout mode (exposure time > readout time) The frame rate is given by the exposure time.
e x p o s u r e n - 1 e x p o s u r e n e x p o s u r e n + 1 r e a d o u t n - 1 i d l e i d l e r e a d o u t n...
Page 26
4 Functionality P C L K F r a m e T i m e S H U T T E R E x p o s u r e T i m e F V A L C P R E 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...
Page 27
P C L K F r a m e T i m e S H U T T E R E x p o s u r e E x p o s u r e T i m e T i m e F V A L C P R E...
4 Functionality Frame time Frame time is the inverse of the frame rate. Exposure time Period during which the pixels are integrating the incoming light. ® Pixel clock on CameraLink interface. PCLK SHUTTER Internal signal, shown only for clarity. Is ’high’ during the exposure time.
4.2 Pixel Response 4.2.1 Linear Response The camera offers a linear response between input light signal and output colour level. This ® can be modified by the use of LinLog as described in the following sections. In addition, a linear digital gain may be applied, as follows. Please see Table 3.2 for more model-dependent information.
Page 30
4 Functionality ® LinLog is controlled by up to 4 parameters (Time1, Time2, Value1 and Value2). Value1 and Value2 ® correspond to the LinLog voltage that is applied to the sensor. The higher the parameters Value1 and Value2 respectively, the stronger the compression for the high light intensities. Time1 and Time2 are normalised to the exposure time.
Page 31
LinLog2 ® To get more grey resolution in the LinLog mode, the LinLog2 procedure was developed. In LinLog2 mode a switching between two different logarithmic compressions occurs during the exposure time (see Fig. 4.13). The exposure starts with strong compression with a high ®...
Page 32
4 Functionality Typical LinLog2 Response Curve − Varying Parameter Time1 Time2=1000, Value1=19, Value2=18 T1 = 880 T1 = 900 T1 = 920 T1 = 940 T1 = 960 T1 = 980 T1 = 1000 Illumination Intensity 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.
4 Functionality 4.3 Reduction of Image Size With Photonfocus cameras there are several possibilities to focus on the interesting parts of an image, thus reducing the data rate and increasing the frame rate. The most commonly used feature is Region of Interest (ROI). 4.3.1 Region of Interest (ROI) Both reductions in x- and y-direction result in a higher frame rate.
Page 35
ROI Dimension [Standard] MV1-D1312C-160 1312 x 1082 (full resolution) 108 fps 1280 x 1024 (SXGA) 117 fps 1280 x 768 (WXGA) 156 fps 800 x 600 (SVGA) 310 fps 640 x 480 (VGA) 472 fps 544 x 2 10590 fps 544 x 1082 249 fps 1312 x 544...
4 Functionality 4.3.2 ROI configuration In the MV1-D1312C camera series the following two restrictions have to be respected for the ROI configuration: • The minimum width (w) of the ROI is 544 pixels in the MV1-D1312C-160 camera. • The region of interest must overlap a minimum number of pixels centered to the left and to the right of the vertical middle line of the sensor (ovl).
4.4 Trigger and Strobe 4.4.1 Introduction The start of the exposure of the camera’s image sensor is controlled by the trigger. The trigger can either be generated internally by the camera (free running trigger mode) or by an external device (external trigger mode). This section refers to the external trigger mode if not otherwise specified.
Page 42
4 Functionality M a c h i n e V i s i o n S y s t e m C a m e r a C a m e r a L i n k F r a m e G r a b b e r 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...
Page 43
M a c h i n e V i s i o n S y s t e m F l a s h T T L C a m e r a 1 C a m e r a L i n k F r a m e G r a b b e r P o w e r D a t a C a m e r a L i n k...
Page 44
4 Functionality The trigger pulse from the internal camera control starts also the strobe control state machines. The strobe can be delayed by t with an internal counter which can be controlled by strobe delay the customer via software settings. The strobe offset delay t results then from the strobe delay synchronous design of the FPGA state machines.
then delayed by t by the user defined value which can be configured via camera trigger delay software. After the trigger offset time t the exposure is stopped. trigger offset 4.4.4 Trigger Delay The trigger delay is a programmable delay in milliseconds between the incoming trigger edge and the start of the exposure.
4 Functionality the timing in the section Fig. 4.27. This trigger pulse then starts after a user configurable burst trigger delay time t the internal burst engine, which generates n internal burst trigger delay triggers for the shutter- and the strobe-control. A user configurable value defines the time between two acquisitions.
4.5 Data Path Overview The data path is the path of the image from the output of the image sensor to the output of the camera. The sequence of blocks is shown in figure Fig. 4.29. 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...
4 Functionality 4.6 Image Correction 4.6.1 Overview The camera possesses image pre-processing features, that compensate for non-uniformities caused by the sensor, the lens or the illumination. This method of improving the image quality is generally known as ’Shading Correction’ or ’Flat Field Correction’ and consists of an of offset correction and a pixel interpolation.
Page 49
a v e r a g e o f b l a c k r e f e r e n c e p i c t u r e b l a c k r e f e r e n c e o f f s e t c o r r e c t i o n i m a g e m a t r i x...
4 Functionality h o t n - 1 n + 1 p i x e l n - 1 n + 1 Figure 4.32: Hot pixel interpolation 4.6.3 Corrected Image Offset, gain and hot pixel correction can be switched on separately. The following configurations are possible: •...
4.7 Digital Gain and Offset Gain x1, x2, x4 and x8 are digital amplifications, which means that the digital image data are multiplied in the camera module by a factor 1, 2, 4 or 8, respectively. It is implemented as a binary shift of the image data, which means that there will be missing codes in the output image as the LSB’s of the gray values are set to ’0’.
Page 52
4 Functionality y = f ( x ) m a x m a x Figure 4.33: Commonly used LUT transfer curves Grey level transformation − Gain: y = (255/1023) ⋅ a ⋅ x a = 1.0 a = 2.0 a = 3.0 a = 4.0 1000 1200...
4.9.2 Gamma The ’Gamma’ mode performs an exponential amplification, configurable in the range from 0.4 to 4.0. Gamma > 1.0 results in an attenuation of the image (see Fig. 4.35), gamma < 1.0 results in an amplification (see Fig. 4.36). Gamma correction is often used for tone mapping and better display of results on monitor screens.
4 Functionality 4.9.3 User-defined Look-up Table In the ’User’ mode, the mapping of input to output channel colour levels can be configured arbitrarily by the user. There is an example file in the PFRemote folder. LUT files can easily be generated with a standard spreadsheet tool.
Page 55
( 0 , 0 ) N N N N O O L U T 0 O L U T 1 O ( 1 3 1 1 , 1 0 8 1 ) Figure 4.38: Overlapping Region-LUT example ( 0 , 0 ) ( 0 , 0 )
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...
4.10 Image Information and Status Line There are camera properties available that give information about the acquired images, such as an image counter, average image value and the number of missed trigger signals. These properties can be queried by software. Alternatively, a status line within the image data can be switched on that contains all the available image information.
Page 58
4 Functionality Start pixel index Parameter width [bit] Parameter Description Preamble: 0x55AA00FF Image Counter (see Section 4.10.1) Real Time Counter (see Section 4.10.1) Missed Trigger Counter (see Section 4.10.1) Image Average Value (see Section 4.10.1) Integration Time in units of clock cycles (see Table 3.3) Burst Trigger Number Missed Burst Trigger Counter Horizontal start position of ROI (Window.X)
4.11 Test Images Test images are generated in the camera FPGA, independent of the image sensor. They can be used to check the transmission path from the camera to the frame grabber. Independent from the configured grey level resolution, every possible grey level appears the same number of times in a test image.
Page 60
4 Functionality Figure 4.43: LFSR (linear feedback shift 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 installation or from severe electromagnetic interfer- ence.
Page 61
® Some thinner CameraLink cables have a predefined direction. In these cables not all twisted pairs are separately shielded to meet the RS644 standard. These pairs are used for the transmission of the RX/TX and for the CC1 to CC4 low frequency control signals.
4 Functionality ® 4.12 Configuration Interface (CameraLink ® A CameraLink camera can be controlled by the user via a RS232 compatible asynchronous ® serial interface. This interface is contained within the CameraLink interface as shown in Fig. 4.46 and is physically not directly accessible. Instead, the serial communication is usually routed through the frame grabber.
Hardware Interface 5.1 Connectors ® 5.1.1 CameraLink Connector ® The CameraLink cameras are interfaced to external components via ® ® • a CameraLink connector, which is defined by the CameraLink standard as a 26 pin, 0.5" Mini Delta-Ribbon (MDR) connector to transmit configuration, image data and trigger. •...
5 Hardware Interface 5.1.3 Trigger and Strobe Signals The power connector contains an external trigger input and a strobe output. The trigger input is equipped with a constant current diode which limits the current of the optocoupler over a wide range of voltages. Trigger signals can thus directly get connected with the input pin and there is no need for a current limiting resistor, that depends with its value on the input voltage.
STROBE_VDD Pull-up Resistor 15 V > 3.9 kOhm 10 V > 2.7 kOhm > 2.2 kOhm > 1.8 kOhm > 1.0 kOhm Table 5.1: Pull-up resistor for strobe output and different voltage levels ® 5.1.4 Status Indicator (CameraLink cameras) A dual-color LED on the back of the camera gives information about the current status of the ®...
Page 66
5 Hardware Interface ® Serial communication: A CameraLink camera can be controlled by the user via a RS232 compatible asynchronous serial interface. This interface is contained within the ® CameraLink interface and is physically not directly accessible. Refer to Section 4.12 for more information.
The PFRemote Control Tool 6.1 Overview PFRemote is a graphical configuration tool for Photonfocus cameras. The latest release can be downloaded from the support area of www.photonfocus.com. All Photonfocus cameras can be either configured by PFRemote, or they can be programmed with custom software using the PFLib SDK ([PFLIB]).
6 The PFRemote Control Tool • PFCAM.DLL: The main DLL file that handles camera detection, switching to specific camera DLL and provides the interface for the SDK. • ’CAMERANAME’.DLL: Specific camera DLL, e.g. mv1_d1312_160.dll. ® • COMDLL.DLL: Communication DLL. This COMDLL is not necessarily CameraLink specific, but ®...
6.5.2 Ports, Device Initialization After starting PFRemote, the main window as shown in Fig. 6.2 will appear. In the PortBrowser in the upper left corner you will see a list of supported ports. Depending on the configuration, your port names may differ, and not every port may be functional.
6 The PFRemote Control Tool 6.5.3 Main Buttons The buttons on the right side of the configuration dialog store and reset the camera configuration. Figure 6.3: Main buttons Reset: Reset the camera and load the default configuration. Store as defaults: Store the current configuration in the camera flash memory as the default configuration.
Graphical User Interface (GUI) 7.1 MV1-D1312C-160 This section describes the parameters of the following camera: • MV1-D1312C-160-CL, CameraLink interface and COLOR sensor The following sections are grouped 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.
7 Graphical User Interface (GUI) 7.1.1 Exposure This tab contains exposure settings. Figure 7.2: MV1-D1312C-160 exposure panel Exposure Exposure time [ms :] Configure the exposure time in milliseconds. Constant Frame Rate: When the Constant Frame Rate (CFR) is switched on, the frame rate (number of frames per second) can be varied from almost 0 up to the maximum frame rate.
7.1.2 Window This tab contains the settings for the region of interest. Figure 7.3: MV1-D1312C-160 window panel Region of Interest The region of interest (ROI) is defined as a rectangle (X, Y), (W, H) where X: X - coordinate, starting from 0 in the upper left corner. Y: Y - coordinate, starting from 0 in the upper left corner.
Page 74
7 Graphical User Interface (GUI) Enable MROI: Enable MROI. If MROI is enabled, 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 *.txt file.
7.1.3 Trigger This tab contains trigger and strobe settings. Figure 7.4: MV1-D1312C-160 trigger panel Trigger Trigger Source: Free running: The camera continuously delivers images with a certain configurable frame rate. Interface Trigger: The Trigger signal is applied to the camera by the CameraLink frame grabber or the USB interface respectively.
Page 76
7 Graphical User Interface (GUI) Trigger Delay: Programmable delay in milliseconds between the incoming trigger edge and the start of the exposure. Trigger signal active low: Define the trigger signal to be active high (default) or active low. Burst Trigger An external trigger event start a predefined number of acquisition.
7.1.4 Data Output This tab contains image data settings. Figure 7.5: MV1-D1312C-160 data output panel Output Mode Output Mode: Normal: Normal mode. LFSR: Test image. Linear feedback shift register (pseudo-random image). The pattern depends on the grey level resolution. Ramp: Test image. Values of pixel are incremented by 1, starting at each row. The pattern depends on the grey level resolution.
Page 78
7 Graphical User Interface (GUI) Color The RGB channel fine gain is used to calibrate 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.
7.1.5 LUT (Look-Up-Table) This tab contains LUT settings. Figure 7.6: MV1-D1312C-160 LUT panel Grey level transformation is remapping of the grey level values of an input image to new values which transform the image in some way. The look-up-table (LUT) is used to convert the greyscale value of each pixel in an image into another grey value.
Page 80
7 Graphical User Interface (GUI) Region of LUTX: X: X - coordinate of region LUT, starting from 0 in the upper left corner. Y: Y - coordinate of region LUT, starting from 0 in the upper left corner. W: Region LUT window width (in steps of 32 pixel). H: Region LUT window height.
7.1.6 LinLog This tab contains LinLog and Skimming settings. Figure 7.7: MV1-D1312C-160 linlog panel LinLog The LinLog technology from Photonfocus allows a logarithmic compression of high light intensities. In contrast to the classical non-integrating logarithmic pixel, the LinLog pixel is an integrating pixel with global shutter and the possibility to control the transition between linear and logarithmic mode (Section 4.2.2).
7 Graphical User Interface (GUI) 7.1.7 Correction This tab contains correction settings. Figure 7.8: MV1-D1312C-160 correction panel Correction Mode This camera has image pre-processing features, that compensate for non-uniformities caused by the sensor, the lens or the illumination. Off: No correction. Offset: Activate offset correction Offset + Hotpixel: Activate offset and hot pixel correction.
Page 83
the image is out of range. Change to panel Charateristics and change the Property BlackLevelOffset until the average of the image is between 160 and 400DN. Click again on the Validation button and then on the Set Black Ref Button. If only offset and hot pixel correction is needed it is not necessary to calibrate a grey image.
7 Graphical User Interface (GUI) 7.1.8 Info This panel shows camera specific information such as type code, serial number and firmware revision of the FPGA and microcontroller and the description of the camera interface. Figure 7.9: MV1-D1312C-160 info panel Camera Info Camera name: Name of the connected camera.
Page 85
Missed Trigger: This is a counter for trigger pulses that were blocked because the trigger pulse was received during image exposure or readout. In free-running mode it counts all pulses received from interface trigger or from I/O trigger interface. Missed Burst Trigger: This is a counter for burst trigger pulses that were blocked because the burst trigger pulse was received during the last burst is not yet finished.
Mechanical and Optical Considerations 8.1 Mechanical Interface During storage and transport, the camera should be protected against vibration, shock, moisture and dust. The original packaging protects the camera adequately from vibration and shock during storage and transport. Please either retain this packaging for possible later use or dispose of it according to local regulations.
8 Mechanical and Optical Considerations 8.2 Optical Interface 8.2.1 Cleaning the Sensor The sensor is part of the optical path and should be handled like other optical components: with extreme care. Dust can obscure pixels, producing dark patches in the images captured. Dust is most visible when the illumination is collimated.
Page 89
Product Supplier Remark EAD400D Airduster Electrolube, UK www.electrolube.com Anticon Gold 9"x 9" Wiper Milliken, USA ESD safe and suitable for class 100 environments. www.milliken.com TX4025 Wiper Texwipe www.texwipe.com Transplex Swab Texwipe Small Q-Tips SWABS Q-tips Hans J. Michael GmbH, www.hjm.de BB-003 Germany Large Q-Tips SWABS...
8 Mechanical and Optical Considerations 8.3 Compliance C o m p l i a n c e S t a t e m e n t W e , P h o t o n f o c u s A G , C H - 8 8 5 3 L a c h e n , S w i t z e r l a n d d e c l a r e u n d e r o u r s o l e r e s p o n s i b i l i t y t h a t t h e f o l l o w i n g p r o d u c t s M V - D 1 0 2 4 - 2 8 - C L - 1 0 , M V - D 1 0 2 4 - 8 0 - C L - 8 , M V - D 1 0 2 4 - 1 6 0 - C L - 8...
Warranty The manufacturer alone reserves the right to recognize warranty claims. 9.1 Warranty Terms The manufacturer warrants to distributor and end customer that for a period of two years from the date of the shipment from manufacturer or distributor to end customer (the "Warranty Period") that: •...
References All referenced documents can be downloaded from our website at www.photonfocus.com. ® CL CameraLink Specification, January 2004 SW002 PFLib Documentation, Photonfocus, August 2005 MAN025 User Manual "microDisplayUSB2.0", Photonfocus, November 2005 AN001 Application Note "LinLog", Photonfocus, December 2002 AN006 Application Note "Quantum Efficiency", Photonfocus, February 2004 AN007 Application Note "Camera Acquisition Modes", Photonfocus, March 2004 AN008 Application Note "Photometry versus Radiometry", Photonfocus, December 2004 AN010 Application Note "Camera Clock Concepts", Photonfocus, July 2004...
Pinouts A.1 Power Supply Connector The power supply plugs are available from Binder connectors at www.binder-connector.de. Fig. A.2 shows the power supply plug from the solder side. The 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.
Page 96
A Pinouts " Figure A.2: Power supply plug, 7-pole (rear view of plug, solder side) I/O Type Name Description +12 V DC (± 10%) Ground RESERVED Do not connect STROBE-VDD +5 .. +15 V DC STROBE Strobe control (opto-isolated) TRIGGER External trigger (opto-isolated), +5 ..
Need help?
Do you have a question about the MV1-D1312C CameraLink Series and is the answer not in the manual?
Questions and answers