User Manual MV1-D1312(I) CameraLink ® Series CMOS Area Scan Camera MAN041 04/2009 V1.2...
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 The sensor has no cover glass, therefore dust on the sensor surface may resemble to clusters or extended regions of dead pixel. To choose a lens, see the Lens Finder in the ’Support’ area at www.photonfocus.com.
Page 13
Download the camera software PFRemote to your computer. You can find the latest version of PFRemote on the support page at www.photonfocus.com. Install the camera software PFRemote. Please follow the instructions of the PFRemote setup wizard. Figure 2.3: Screen shot PFremote setup wizard 10.
Product Specification 3.1 Introduction The MV1-D1312(I) CMOS camera series is built around the monochrome A1312(I) 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 Product Specification 3.2 Feature Overview Characteristics MV1-D1312(I) Series ® Interfaces CameraLink base configuration Camera Control PFRemote (Windows GUI) or programming library Configuration Interface CLSERIAL (9’600 baud or 57’600 baud, user selectable) Trigger Modes Interface Trigger / External opto isolated trigger input Features Greyscale resolution 12 bit / 10 bit / 8 bit Region of Interest (ROI)
3.3 Technical Specification Technical Parameters MV1-D1312(I) 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...
Page 18
3 Product Specification MV1-D1312(I)-40 MV1-D1312(I)-80 MV1-D1312(I)-160 Exposure Time 10 µs ... 1.68 s 10 µs ... 1.68 s 10 µs ... 0.41 s Exposure time increment 100 ns 50 ns 25 ns Frame rate = 10 µs) 27 fps 54 fps 108 fps Pixel clock frequency 40 MHz...
Page 19
Responsivity 1200 1000 1000 1100 Wavelength [nm] Figure 3.2: Spectral response of the A1312 CMOS image sensor (standard) in the MV1-D1312 camera series (Hint: the red-shiftet curve corresponds to the responsivity curve.) Fig. 3.3 shows the quantum efficiency and the responsivity of the A1312I CMOS sensor, displayed as a function of wavelength.
3 Product Specification Responsivity 1200 1000 1000 1100 Wavelength [nm] Figure 3.3: Spectral response of the A1312I image sensor (NIR) in the MV1-D1312I camera series (Hint: the red-shiftet curve corresponds to the responsivity curve.) 3.4 Frame Grabber relevant Configuration The parameters and settings, which are essential to configure the frame grabber are shown in the following table.
Page 21
Tap 0 Tap 0 Tap 0 8 Bit 10 Bit 12 Bit 0 (LSB) 7 (MSB of 8 Bit) 9 (MSB of 10 Bit) 11 (MSB of 12 Bit) ® Table 3.6: CameraLink 1 Tap port and bit assignments for the MV1-D1312(I)-40 camera Tap 0 Tap 1 Tap 0...
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-D1312(I) series cameras is explained in later chapters. 4.1 Image Acquisition 4.1.1 Free-running and Trigger Mode The MV1-D1312(I) 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 invers of the readout time. Simultaneous readout mode (exposure time > readout time) The frame rate is given by the exposure time.
4 Functionality Black Level Adjustment The black level is the average image value at no light intensity. It can be adjusted by the software by changing the black level offset. Thus, the overall image gets brighter or darker. Use a histogram to control the settings of the black level. ®...
Page 27
L i n L o g e x p V a l u e 1 = V a l u e 2 T i m e 1 = T i m e 2 = m a x . = 1 0 0 0 Figure 4.8: Constant LinLog voltage in the Linlog1 mode Typical LinLog1 Response Curve −...
Page 28
4 Functionality 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.10). The exposure starts with strong compression with a high ®...
Page 29
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.12: Response curve for different LinLog settings in LinLog2 mode LinLog3 To enable more flexibility the LinLog3 mode with 4 parameters was introduced.
Figure 4.15: Ramp test images: 8 bit output (left), 10 bit output (right) Figure 4.16: LFSR (linear feedback shift register) test image 4.3.3 Troubleshooting using the LFSR To control the quality of your complete imaging system enable the LFSR mode and check the histogram at full resolution.
Page 32
4 Functionality ® 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.4 Image Correction 4.4.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 a combination of offset correction, gain correction and pixel interpolation.
Page 34
4 Functionality 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...
h o t n - 1 n + 1 p i x e l n - 1 n + 1 Figure 4.21: Hot pixel interpolation 4.4.3 Gain Correction The gain correction is based on a grey reference image, which is taken at uniform illumination to give an image with a mid grey level.
Page 36
4 Functionality 0 . 8 0 . 9 a v e r a g e o f g r a y 1 . 2 1 . 2 0 . 8 1 . 3 r e f e r e n c e 0 .
4.4.4 Corrected Image Offset, gain and hot pixel correction can be switched on separately. The following configurations are possible: • No correction • Offset correction only • Offset and hot pixel correction • Hot pixel correction only • Offset and gain correction •...
4 Functionality 4.5 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.5.1 Region of Interest (ROI) Some applications do not need full image resolution (e.g.
Page 39
³ 1 4 4 p i x e l ³ 1 4 4 p i x e l + m o d u l o 3 2 p i x e l ³ 1 4 4 p i x e l ³...
For any camera model of the MV1-D1312(I) camera series the allowed ranges for the ROI settings can be deduced by the following formula: = max(0, 656 + ovl = min(656 ovl, 1312 where "ovl" is the overlap over the middle line and "w" is the width of the region of interest. Any ROI settings exceeding the minimum ROI width must be modulo 32.
Page 42
4 Functionality Width ROI-X (MV1-D1312(I)-40) ROI-X (MV1-D1312(I)-80) ROI-X (MV1-D1312(I)-160) not available not available 480 ... 512 not available not available 448 ... 512 not available not available 416 ... 512 not available not available 384 ... 512 not available 352 ... 512 416 ...
4.6 External Trigger An external trigger is an event that starts an exposure. The trigger signal is either generated on the frame grabber (soft-trigger) or comes from an external device such as a light barrier. If a trigger signal is applied to the camera before the earliest time for the next trigger, this trigger will be ignored.
4 Functionality C a m e r a F r a m e - g r a b b e r I m a g e d a t a , F V A L , L V A L , D V A L P 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...
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 48
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.8 for more information.
5.3 Read-out Timing 5.3.1 Free running Mode Sequential readout timing By default, the camera is in free running mode and delivers images without any external control signals. The sensor is operated in sequential readout mode, which means that the sensor is read out after the exposure time. Then the sensor is reset, a new exposure starts and the readout of the image information begins again.
Page 50
5 Hardware Interface 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...
Page 51
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.
5 Hardware Interface 5.4 Trigger 5.4.1 Trigger Modes The following sections show the timing diagram for the trigger modes. The signal ExSync denotes the trigger signal that is provided either by the interface trigger or the I/O trigger (see Section 4.6). The other signals are explained in Table 5.4. For an active high trigger signal, the image acquisition begins with the rising edge of the trigger signal.
Page 53
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 ® C C 1 I n t e r f a c e T r i g g e r D A T A "...
Page 54
5 Hardware Interface For the delay in the frame grabber, please ask your frame grabber manufacturer. The camera delay consists of a constant trigger delay and a variable delay (jitter), due to the sampling of the trigger signal by the clocked camera electronic. The trigger delay and the jitter are specified in Table 5.6 and shown in Fig.
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. mv_d1024e_3d01_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-D1312-160 This section describes the parameters of the following camera: • MV1-D1312-160-CL, CameraLink interface The following sections are grouped according to the tabs in the configuration dialog. Figure 7.1: MV1-D1312-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-D1312-160 exposure panel Exposure Exposure time [ms :] Configure the exposure time in milliseconds.
7.1.2 Window This tab contains the settings for the region of interest. Figure 7.3: MV1-D1312-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.
7 Graphical User Interface (GUI) 7.1.3 Trigger This tab contains trigger and strobe settings. Figure 7.4: MV1-D1312-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.
7.1.4 Data Output This tab contains image data settings. Figure 7.5: MV1-D1312-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.
7 Graphical User Interface (GUI) 7.1.5 Characteristics This tab contains LinLog and Skimming settings. Figure 7.6: MV1-D1312-160 characteristics 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.1.6 Correction This tab contains correction settings. Figure 7.7: MV1-D1312-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 66
7 Graphical User Interface (GUI) Gain Correction: The gain correction is based on a grey reference image, which is taken at uniform illumination to give an image with a mid grey level. Gain correction is not a trivial feature. The quality of the grey reference image is crucial for proper gain correction.
7.1.7 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.8: MV1-D1312-160 info panel Typecode: Type code of the connected camera. Serial: Serial number of the connected camera.
7 Graphical User Interface (GUI) 7.2 MV1-D1312-40, MV1-D1312I-40, MV1-D1312-80, MV1-D1312I-80, MV1-D1312I-160 This section describes the parameters of the following cameras: • MV1-D1312-40-CL, CameraLink interface, • MV1-D1312I-40-CL, CameraLink interface, • MV1-D1312-80-CL, CameraLink interface, • MV1-D1312I-80-CL, CameraLink interface, • MV1-D1312I-160-CL, CameraLink interface. The following sections are grouped according to the tabs in the configuration dialog.
7 Graphical User Interface (GUI) 7.2.2 Window This tab contains the settings for the region of interest. Figure 7.11: MV1-D1312-40 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.
7.2.3 Trigger This tab contains trigger and strobe settings. Figure 7.12: MV1-D1312-40 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.
7 Graphical User Interface (GUI) 7.2.4 Data Output This tab contains image data settings. Figure 7.13: MV1-D1312-40 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.
7.2.5 Characteristics This tab contains LinLog and Skimming settings. Figure 7.14: MV1-D1312-40 characteristics 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.2.6 Convolver This tab contains the Convolver settings. Figure 7.15: MV1-D1312-40 convolver panel Offset Offset: Offset value o. Range: -4096 ... 4095. Scale Scale: Scale value s. Range: 1 ... 4095. Coefficients Coefficents: Coefficients of the convolution kernel h. Range: -4096 ... 4095.
7.2.7 Correction This tab contains correction settings. Figure 7.16: MV1-D1312-40 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 76
7 Graphical User Interface (GUI) If only offset and hot pixel correction is needed it is not necessary to calibrate a grey image. (see Calculate) Gain Correction: The gain correction is based on a grey reference image, which is taken at uniform illumination to give an image with a mid grey level.
7.2.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.17: MV1-D1312-40 info panel Typecode: Type code of the connected camera. Serial: Serial number of the connected camera.
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 81
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 88
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 ..
Revision History Revision Date Changes November 2008 First release March 2009 Added camera models MV1-D1312I-160 and MV1-D1312(I)-40 Added formula to calculate ROI-X Added description of optocoupler delay Added description of 3x3 convolver April 2009 Added camera model MV1-D1312(I)-80...