Photon Focus MV1-D1312(IE)-G2 User Manual

Photon Focus MV1-D1312(IE)-G2 User Manual

Cmos area scan camera gigabit ethernet series
Table of Contents

Advertisement

Quick Links

User Manual

MV1-D1312(IE)-G2 / DR1-D1312(IE)-G2
Gigabit Ethernet Series
CMOS Area Scan Camera
MAN049 05/2014 V1.4

Advertisement

Table of Contents
loading

Summary of Contents for Photon Focus MV1-D1312(IE)-G2

  • Page 1: User Manual

    User Manual MV1-D1312(IE)-G2 / DR1-D1312(IE)-G2 Gigabit Ethernet Series CMOS Area Scan Camera MAN049 05/2014 V1.4...
  • 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.
  • Page 5: Table Of Contents

    Contents 1 Preface 1.1 About Photonfocus ........1.2 Contact .
  • Page 6 CONTENTS 4.4.6 Burst Trigger ........63 4.4.7 Software Trigger .
  • Page 7 6.4 Frequently used properties ........109 6.5 Calibration of the FPN Correction ......110 6.5.1 Offset Correction (CalibrateBlack) .
  • Page 8 CONTENTS...
  • Page 9: Preface

    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.
  • Page 10: Legend

    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...
  • Page 11: How To Get Started (Gige G2)

    How to get started (GigE G2) 2.1 Introduction This guide shows you: • How to install the required hardware (see Section 2.2) • How to install the required software (see Section 2.3) and configure the Network Adapter Card (see Section 2.4 and Section 2.5) •...
  • Page 12 2 How to get started (GigE G2) Remove the Photonfocus GigE camera from its packaging. Please make sure the following items are included with your camera: • Power supply connector • Camera body cap If any items are missing or damaged, please contact your dealership. Connect the camera to the GigE interface of your PC with a GigE cable of at least Cat 5E or E t h e r n e t J a c k ( R J 4 5 )
  • Page 13: Software Installation

    2.3 Software Installation This section describes the installation of the required software to accomplish the tasks described in this chapter. Install the latest drivers for your GigE network interface card. Download the latest eBUS SDK installation file from the Photonfocus server. You can find the latest version of the eBUS SDK on the support (Software Down- load) page at www.photonfocus.com.
  • Page 14 2 How to get started (GigE G2) Figure 2.3: PFInstaller components choice...
  • Page 15: Network Adapter Configuration

    2.4 Network Adapter Configuration This section describes recommended network adapter card (NIC) settings that enhance the performance for GigEVision. Additional tool-specific settings are described in the tool chapter. Open the Network Connections window (Control Panel -> Network and Internet Connections -> Network Connections), right click on the name of the network adapter where the Photonfocus camera is connected and select Properties from the drop down menu that appears.
  • Page 16 2 How to get started (GigE G2) By default, Photonfocus GigE Vision cameras are configured to obtain an IP address automatically. For this quick start guide it is recommended to configure the network adapter to obtain an IP address automatically. To do this, select Internet Protocol (TCP/IP) (see Fig.
  • Page 17 Open again the Local Area Connection Properties window (see Fig. 2.4) and click on the Configure button. In the window that appears click on the Advanced tab and click on Jumbo Frames in the Settings list (see Fig. 2.6). The highest number gives the best performance. Some tools however don’t support the value 16128.
  • Page 18 2 How to get started (GigE G2) No firewall should be active on the network adapter where the Photonfocus GigE camera is connected. If the Windows Firewall is used then it can be switched off like this: Open the Windows Firewall configuration (Start -> Control Panel -> Network and Internet Connections ->...
  • Page 19: Network Adapter Configuration For Pleora Ebus Sdk

    2.5 Network Adapter Configuration for Pleora eBUS SDK Open the Network Connections window (Control Panel -> Network and Internet Connections -> Network Connections), right click on the name of the network adapter where the Photonfocus camera is connected and select Properties from the drop down menu that appears. A Properties window will open.
  • Page 20: Getting Started

    2 How to get started (GigE G2) 2.6 Getting started This section describes how to acquire images from the camera and how to modify camera settings. Open the PF_GEVPlayer software (Start -> All Programs -> Photonfocus -> GigE_Tools -> PF_GEVPlayer) which is a GUI to set camera parameters and to see the grabbed images (see Fig.
  • Page 21 Click on the Select / Connect button in the PF_GEVPlayer . A window with all detected devices appears (see Fig. 2.10). If your camera is not listed then select the box Show unreachable GigE Vision Devices. Figure 2.10: GEV Device Selection Procedure displaying the selected camera Select camera model to configure and click on Set IP Address..
  • Page 22 2 How to get started (GigE G2) Select a valid IP address for selected camera (see Fig. 2.12). There should be no exclamation mark on the right side of the IP address. Click on Ok in the Set IP Address dialog.
  • Page 23 If no images can be grabbed, close the PF_GEVPlayer and adjust the Jumbo Frame parameter (see Section 2.3) to a lower value and try again. Figure 2.14: PF_GEVPlayer displaying live image stream Check the status LED on the rear of the camera. The status LED light is green when an image is being acquired, and it is red when serial communication is active.
  • Page 24 2 How to get started (GigE G2) To modify the exposure time scroll down to the AcquisitionControl control category (bold title) and modify the value of the ExposureTime property.
  • Page 25: Product Specification

    Product Specification 3.1 Introduction The MV1-D1312(IE/C)-G2 and DR1-D1312(IE)-200-G2 CMOS camera series are built around the A1312(IE/C) CMOS image sensor from Photonfocus, that provides a resolution of 1312 x 1082 pixels at a wide range of spectral sensitivity. There are standard monochrome, NIR enhanced monochrome (IE) and colour (C) models.
  • Page 26 3 Product Specification The general specification and features of the camera are listed in the following sections. The G2 postfix in the camera name indicates that it is the second release of Pho- tonfocus GigE cameras. The first release had the postfix GB and is not recom- mended for new designs.
  • Page 27: Feature Overview

    3.2 Feature Overview Characteristics MV1-D1312(IE/C) and DR1-D1312(IE) Series Interface Gigabit Ethernet Camera Control GigE Vision Suite Trigger Modes Software Trigger / External isolated trigger input / PLC Trigger Features Greyscale resolution 12 bit / 10 bit / 8 bit (DR1-D1312(IE): 8 bit only) Region of Interest (ROI) Test pattern (LFSR and grey level ramp) Shading Correction (Offset and Gain)
  • Page 28: Technical Specification

    3 Product Specification 3.3 Technical Specification Technical Parameters MV1-D1312(IE/C) and DR1-D1312(IE) 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...
  • Page 29 MV1-D1312(IE/C)-40 MV1-D1312(IE/C)-80 Exposure Time 10 s ... 1.67 s 10 s ... 0.83 s Exposure time increment 100 ns 50 ns Frame rate = 10 s) 27 fps @ 8 bit 54 fps @ 8 bit Pixel clock frequency 40 MHz 40 MHz Pixel clock cycle 25 ns...
  • Page 30 3 Product Specification MV1-D1312(IE/C)-100 DR1-D1312(IE)-200 Operating temperature / moisture 0°C ... 50°C / 20 ... 80 % Storage temperature / moisture -25°C ... 60°C / 20 ... 95 % Camera power supply +12 V DC (- 10 %) ... +24 V DC (+ 10 %) Trigger signal input range +5 ..
  • Page 31 Fig. 3.5 shows the quantum efficiency and the responsivity of the monochrome A1312IE CMOS sensor, displayed as a function of wavelength. The enhancement in the NIR quantum efficiency could be used to realize applications in the 900 to 1064 nm region. 1200 QE [%] Responsivity [V/W/m^2]...
  • Page 32 3 Product Specification Fig. 3.6 shows the quantum efficiency and Fig. 3.7 the responsivity of the A1312C CMOS sensor used in the colour cameras, displayed as a function of wavelength. For more information on photometric and radiometric measurements see the Photonfocus application notes AN006 and AN008 available in the support area of our website www.photonfocus.com.
  • Page 33 The A1312C colour sensor is equipped with a cover glass. It incorporates an infra-red cut-off filter to avoid false colours arising when an infra-red component is present in the illumination. Fig. 3.8 shows the transmssion curve of the cut-off filter. Figure 3.8: Transmission curve of the cut-off filter in the MV1-D1312C colour camera series 3.3 Technical Specification...
  • Page 34: Rgb Bayer Pattern Filter (Colour Models Only)

    3 Product Specification 3.4 RGB Bayer Pattern Filter (colour models only) Fig. 3.9 shows the bayer filter arrangement on the pixel matrix in the MV1-D1312C camera series. The numbers in the figure represents pixel position x, pixel position y. The fix bayer pattern arrangement has to be considered when the ROI configu- ration is changed or the MROI feature is used (see 4.3).
  • Page 35: Functionality

    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(IE/C) series cameras is explained in later chapters. If not otherwise specified, the DR1-D1312(IE) camera series has the same func- tionality as the MV1-D1312(IE/C) camera series.
  • Page 36 4 Functionality f p s = 1 / r e a d o u t t i m e F r a m e r a t e ( f p s ) 5 i m u l t a n e o u s r e a d o u t m o d e f p s = 1 / e x p o s u r e t i m e S e q u e n t i a l...
  • Page 37: Readout Timing

    A x p o s u r e n i d l e e x p o s u r e n + 1 i d l e r e a d o u t n - 1 r e a d o u t n r e a d o u t n + 1 f r a m e t i m e Figure 4.4: Timing in free-running simultaneous readout mode (readout time>...
  • Page 38 4 Functionality 2 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 39 2 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 40: Exposure Control

    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 internal camera interface. PCLK SHUTTER Internal signal, shown only for clarity. Is ’high’ during the exposure time.
  • Page 41: Pixel Response

    4.2 Pixel Response 4.2.1 Linear Response The camera offers a linear response between input light signal and output grey 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.
  • Page 42 4 Functionality / r e y V a l u e S a t u r a t i o n 1 0 0 % W e a k c o m p r e s s i o n L i n e a r R e s p o n s e R e s u l t i n g L i n l o g...
  • Page 43 Typical LinLog1 Response Curve − Varying Parameter Value1 Time1=1000, Time2=1000, Value2=Value1 V1 = 15 V1 = 16 V1 = 17 V1 = 18 V1 = 19 Illumination Intensity Figure 4.12: Response curve for different LinLog settings in LinLog1 mode L i n L o g e x p V a l u e 1 V a l u e 2...
  • Page 44 4 Functionality Typical LinLog2 Response Curve − Varying Parameter Time1 Time2=1000, Value1=19, Value2=14 T1 = 840 T1 = 920 T1 = 960 T1 = 980 T1 = 999 Illumination Intensity Figure 4.14: Response curve for different LinLog settings in LinLog2 mode Typical LinLog2 Response Curve −...
  • Page 45 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 V a l u e 3 = C o n s t a n t = 0 6 i m e 2 T i m e 1 T i m e 2...
  • Page 46: Reduction Of Image Size

    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) Some applications do not need full image resolution (e.g.
  • Page 47 ³ 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 ³...
  • Page 48 4 Functionality ³ 2 7 2 p i x e l ³ 2 7 2 p i x e l + m o d u l o 3 2 p i x e l ³  2 7 2 p i x e l ³...
  • Page 49 ROI Dimension [Standard] MV1-D1312(IE/C)-100 DR1-D1312(IE)-200 1312 x 1082 (full resolution) 67 fps 135 fps minimum resolution 10690 fps (544 x 1) 10766 fps (544 x 2) 1280 x 1024 (SXGA) 73 fps 146 fps 1280 x 768 (WXGA) 97 fps 194 fps 800 x 600 (SVGA) 195 fps...
  • Page 50: Roi Configuration

    4 Functionality 4.3.2 ROI configuration In the MV1-D1312(IE/C) camera series the following restrictions have to be respected for the ROI configuration: • The minimum width (w) of the ROI is camera model dependent, consisting of 288 pixel in the MV1-D1312(IE/C)-40 camera, of 416 pixel in the MV1-D1312(IE/C)-80 camera and of 544 pixel in the MV1-D1312(IE/C)-100 camera.
  • Page 51 There are no restrictions for the settings of the region of interest in y-direction in the MV1-D1312(IE/C) camera series. The ROI settings in y-direction for the DR1-D1312(IE)-200 camera is restricted to modulo 2. Width ROI-X (MV1-D1312(IE/C)-40) ROI-X (MV1-D1312(IE/C)-80) ROI-X (-100 , -200 not available not available...
  • Page 52: Calculation Of The Maximum Frame Rate

    4 Functionality 4.3.3 Calculation of the maximum frame rate The frame rate mainly depends on the exposure time and readout time. The frame rate is the inverse of the frame time. The maximal frame rate with current camera settings can be read out from the property FrameRateMax.
  • Page 53 Exposure time MV1-D1312(IE/C)-40 MV1-D1312(IE/C)-80 MV1-D1312(IE/C)-100 10 s 27 / 27 fps 54 / 54 fps 67 / 67 fps 100 s 27 / 27 fps 54 / 54 fps 67 / 67 fps 500 s 27 / 27 fps 53 / 54 fps 65 / 67 fps 1 ms 27 / 27 fps...
  • Page 54: Multiple Regions Of Interest

    4 Functionality 4.3.4 Multiple Regions of Interest The MV1-D1312(IE/C) camera series can handle up to 512 different regions of interest. This feature can be used to reduce the image data and increase the frame rate. An application example for using multiple regions of interest (MROI) is a laser triangulation system with several laser lines.
  • Page 55 Figure 4.23: Multiple Regions of Interest with 5 ROIs Fig. 4.24 shows an example from hyperspectral imaging where the presence of spectral lines at known regions need to be inspected. By using MROI only a 656x54 region needs to be readout and a frame rate of 4300 fps can be achieved.
  • Page 56: Decimation (Monochrome Models Only)

    4 Functionality 4.3.5 Decimation (monochrome models only) Decimation reduces the number of pixels in y-direction. Decimation can also be used together with ROI or MROI. Decimation in y-direction transfers every n row only and directly results in reduced read-out time and higher frame rate respectively. Fig.
  • Page 57  0 , 0 ) R O I M R O I 0 M R O I 1 M R O I 2 ( 1 3 1 1 , 1 0 8 1 ) Figure 4.27: Decimation and MROI The image in Fig. 4.28 on the right-hand side shows the result of decimation 3 of the image on the left-hand side.
  • Page 58: Trigger And Strobe

    4 Functionality Figure 4.29: Example of decimation 2 on image of injection needle 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).
  • Page 59 Software Trigger The trigger signal is applied through a software command (TriggerSoftware in category AcquisitionControl). Settings for Software Trigger mode: TriggerMode = On and TriggerSource = Software. Line1 Trigger The trigger signal is applied directly to the camera by the power supply connector through pin ISO_IN1 (see also Section A.1).
  • Page 60 4 Functionality Figure 4.31: Trigger source Figure 4.32: Trigger Inputs - Multiple GigE solution...
  • Page 61: Trigger And Acquisitionmode

    4.4.3 Trigger and AcquisitionMode The relationship between AcquisitionMode and TriggerMode is shown in Table 4.12. When TriggerMode=Off, then the frame rate depends on the AcquisitionFrameRateEnable property (see also under Free running in Section 4.4.2). The ContinuousRecording and ContinousReadout modes can be used if more than one camera is connected to the same network and need to shoot images simul- taneously.
  • Page 62 4 Functionality AcquisitionMode TriggerMode After the command AcquisitionStart is executed: Continuous Camera is in free-running mode. Acquisition can be stopped by executing AcquisitionStop command. Continuous Camera is ready to accept triggers according to the TriggerSource property. Acquisition and trigger acceptance can be stopped by executing AcquisitionStop command.
  • Page 63: Exposure Time Control

    4.4.4 Exposure Time Control Depending on the trigger mode, the exposure time can be determined either by the camera or by the trigger signal itself: Camera-controlled Exposure time In this trigger mode the exposure time is defined by the camera. For an active high trigger signal, the camera starts the exposure with a positive trigger edge and stops it when the preprogrammed exposure time has elapsed.
  • Page 64 4 Functionality camera environment to allow robust integration of the camera into the vision system. In the signal isolator the trigger signal is delayed by time t . This signal is clocked into the d iso input FPGA which leads to a jitter of t .
  • Page 65: Trigger Delay

    The timing of the rising edge of the trigger pulse until to the start of exposure and strobe is equal to the timing of the camera controlled exposure time (see Section 4.4.4). In this mode however the end of the exposure is controlled by the falling edge of the trigger Pulsewidth: The falling edge of the trigger pulse is delayed by the time t which is results from the d iso input...
  • Page 66 4 Functionality A 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 r a f t e r i s o l a t o r d - i s o - i n p u t t r i g g e r p u l s e i n t e r n a l c a m e r a c o n t r o l j i t t e r...
  • Page 67 MV1-D1312(IE/C)-40 MV1-D1312(IE/C)-40 Timing Parameter Minimum Maximum 1.5 s d iso input 65 ns 185 ns d RS422 input 100 ns jitter 1.68 s trigger delay 1.68 s burst trigger delay depends on camera settings 1.68 s burst period time (non burst mode) 400 ns 400 ns trigger offset...
  • Page 68 4 Functionality MV1-D1312(IE/C)-80 MV1-D1312(IE/C)-80 Timing Parameter Minimum Maximum 1.5 s d iso input 65 ns 185 ns d RS422 input 50 ns jitter 0.84 s trigger delay 0.84 s burst trigger delay depends on camera settings 0.84 s burst period time (non burst mode) 200 ns 200 ns...
  • Page 69 MV1-D1312(IE/C)-100 MV1-D1312(IE/C)-100 Timing Parameter Minimum Maximum 1.5 s d iso input 65 ns 185 ns d RS422 input 40 ns jitter 0.67 s trigger delay 0.67 s burst trigger delay depends on camera settings 0.67 s burst period time (non burst mode) 160 ns 160 ns trigger offset...
  • Page 70 4 Functionality DR1-D1312(IE)-200 DR1-D1312(IE)-200 Timing Parameter Minimum Maximum 1.5 s d iso input 65 ns 185 ns d RS422 input 20 ns jitter 0.33 s trigger delay 0.33 s burst trigger delay depends on camera settings 0.33 s burst period time (non burst mode) 80 ns 80 ns...
  • Page 71: Software Trigger

    4.4.7 Software Trigger The software trigger enables to emulate an external trigger pulse by the camera software through the serial data interface. It works with both burst mode enabled and disabled. As soon as it is performed via the camera software, it will start the image acquisition(s), depending on the usage of the burst mode and the burst configuration.
  • Page 72: Data Path Overview

    4 Functionality 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.36. M o n o c h r o m e c a m e r a s C o l o u r c a m e r a s 1 m a g e S e n s o r I m a g e S e n s o r...
  • Page 73: Image Correction

    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 a combination of offset correction, gain correction and pixel interpolation.
  • Page 74 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 > 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...
  • Page 75: Gain Correction

    Hot pixel correction Every pixel that exceeds a certain threshold in the black reference image is marked as a hot pixel. If the hot pixel correction is switched on, the camera replaces the value of a hot pixel by an average of its neighbour pixels (see Fig. 4.39). D o t n - 1 n + 1...
  • Page 76: Corrected Image

    4 Functionality 0 . 8 0 . 9 a v e r a g e o f g r a y 1 . 2 0 . 8 1 . 3 1 . 2 r e f e r e n c e 0 .
  • Page 77 Histogram of the uncorrected grey reference image grey reference image ok grey reference image too bright 2400 2600 2800 3000 3200 3400 3600 3800 4000 4200 Grey level, 12 Bit [DN] Figure 4.41: Proper grey reference image for gain correction 0 .
  • Page 78: Digital Gain And Offset

    4 Functionality 4.7 Digital Gain and Offset There are two different gain settings on the camera: Gain (Digital Fine Gain) Digital fine gain accepts fractional values from 0.01 up to 15.99. It is implemented as a multiplication operation. Colour camera models only: There is additionally a gain for every RGB colour channel.
  • Page 79: Gain

    y = f ( x ) m a x m a x Figure 4.43: Commonly used LUT transfer curves 4.8.1 Gain The ’Gain’ mode performs a digital, linear amplification with clamping (see Fig. 4.44). It is configurable in the range from 1.0 to 4.0 (e.g. 1.234). Grey level transformation −...
  • Page 80: Gamma

    4 Functionality 4.8.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.45), gamma < 1.0 results in an amplification (see Fig. 4.46). Gamma correction is often used for tone mapping and better display of results on monitor screens.
  • Page 81: User-Defined Look-Up Table

    4.8.3 User-defined Look-up Table In the ’User’ mode, the mapping of input to output grey 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. The file has to be stored as tab delimited text file. 7 s e r L U T y = f ( x ) 8 b i t...
  • Page 82 4 Functionality When the Region-LUT feature is enabled, then the LUTs are only active in a user defined region. Examples are shown in Fig. 4.48 and Fig. 4.49. Fig. 4.48 shows an example of overlapping Region-LUTs. LUT 0, LUT 1 and Region LUT are enabled.
  • Page 83 Fig. 4.50 shows the application of the Region-LUT to a camera image. The original image without image processing is shown on the left-hand side. The result of the application of the Region-LUT is shown on the right-hand side. One Region-LUT was applied on a small region on the lower part of the image where the brightness has been increased.
  • Page 84: Convolver (Monochrome Models Only)

    4 Functionality 4.9 Convolver (monochrome models only) 4.9.1 Functionality The "Convolver" is a discrete 2D-convolution filter with a 3x3 convolution kernel. The kernel coefficients can be user-defined. The M x N discrete 2D-convolution p (x,y) of pixel p (x,y) with convolution kernel h, scale s and offset o is defined in Fig.
  • Page 85 Figure 4.53: 3x3 Convolution filter examples 1 Figure 4.54: 3x3 Convolution filter examples 1 settings 4.9 Convolver (monochrome models only)
  • Page 86 4 Functionality A filter called Unsharp Mask is often used to enhance near infrared images. Fig. 4.55 shows examples with the corresponding settings. Figure 4.55: Unsharp Mask Examples...
  • Page 87: Crosshairs (Monochrome Models Only)

    4.10 Crosshairs (monochrome models only) 4.10.1 Functionality The crosshairs inserts a vertical and horizontal line into the image. The width of these lines is one pixel. The grey level is defined by a 12 bit value (0 means black, 4095 means white). This allows to set any grey level to get the maximum contrast depending on the acquired image.
  • Page 88 4 Functionality The x- and y-positon is absolute to the sensor pixel matrix. It is independent on the ROI, MROI or decimation configurations. Figure Fig. 4.57 shows two situations of the crosshairs configuration. The same MROI settings is used in both situations. The crosshairs however is set differently.
  • Page 89: Image Information And Status Line (Not Available For Dr1-D1312(Ie))

    4.11 Image Information and Status Line (not available for DR1-D1312(IE)) 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 90 4 Functionality Start pixel index Parameter width [bit] Parameter Description Preamble: 0x55AA00FF Image Counter (see Section 4.11.1) Real Time Counter (see Section 4.11.1) Missed Trigger Counter (see Section 4.11.1) Image Average Value (see Section 4.11.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)
  • Page 91: Test Images

    4.12 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 92 4 Functionality Figure 4.60: LFSR (linear feedback shift register) test image histogram of the received LFSR test pattern will be flat (Fig. 4.61). On the other hand, a non-flat histogram (Fig. 4.62) indicates problems, that may be caused either by the a defective camera or by problems in the grabbing software.
  • Page 93 Figure 4.61: LFSR test pattern received and typical histogram for error-free data transmission Figure 4.62: LFSR test pattern received and histogram containing transmission errors In robots applications, the stress that is applied to the camera cable is especially high due to the fast movement of the robot arm.
  • Page 94: Double Rate (Dr1-D1312(Ie) Only)

    4 Functionality 4.13 Double Rate (DR1-D1312(IE) only) The Photonfocus DR1 cameras use a proprietary modulation algorithm to cut the data rate by almost a factor of two. This enables the transmission of high frame rates over just one Gigabit Ethernet connection, avoiding the complexity and stability issues of Ethernet link aggregation. The algorithm is lossy but no image artefacts are introduced, unlike for example the JPEG compression.
  • Page 95 Width unmodulated Width modulated 1024 1056 1088 1120 1152 1184 1216 1248 1280 1312 Table 4.21: Width of modulated image in double rate mode 4.13 Double Rate (DR1-D1312(IE) only)
  • Page 96 4 Functionality...
  • Page 97: Hardware Interface

    Hardware Interface 5.1 GigE Connector The GigE cameras are interfaced to external components via • an Ethernet jack (RJ45) to transmit configuration, image data and trigger. • a 12 pin subminiature connector for the power supply, Hirose HR10A-10P-12S (female) . The connectors are located on the back of the camera.
  • Page 98: Status Indicator (Gige Cameras)

    5 Hardware Interface 5.3 Status Indicator (GigE cameras) A dual-color LED on the back of the camera gives information about the current status of the GigE CMOS cameras. LED Green Green when an image is output. At slow frame rates, the LED blinks with the FVAL signal.
  • Page 99 C a m e r a I n t e r n a l P o w e r S u p p l y 2 o w e r S u p p l y P O W E R D C / D C V C C _ 1 D C / D C...
  • Page 100: Trigger And Strobe Signals For Gige G2 Cameras

    5 Hardware Interface 5.5 Trigger and Strobe Signals for GigE G2 Cameras 5.5.1 Overview The 12-pol. Hirose power connector contains two external trigger inputs, two strobe outputs and two differential RS-422 inputs. All inputs and outputs are connected to the Programmable Logic Controller (PLC) (see also Section 5.6) that offers powerful operations.
  • Page 101: Trigger And Strobe Signals For Gige G2 Cameras

    C a m e r a I S O L A T O R R S 4 2 2 I S O _ I N C 0 _ P I S O _ I N C 0 _ N - 1 0 V t o + 1 3 V e x t e n d e d I S O _ I N C 1 _ P...
  • Page 102: Single-Ended Inputs

    5 Hardware Interface 5.5.2 Single-ended Inputs ISO_IN0 and ISO_IN1 are single-ended isolated inputs. The input circuit of both inputs is identical (see Fig. 5.3). Fig. 5.4 shows a direct connection to the ISO_IN inputs. In the camera default settings the PLC is configured to connect the ISO_IN0 to the PLC_Q4 camera trigger input.
  • Page 103: Single-Ended Outputs

    5.5.3 Single-ended Outputs ISO_OUT0 and ISO_OUT1 are single-ended isolated outputs. ISO_OUT0 and ISO_OUT1 have different output circuits: ISO_OUT1 doesn’t have a pullup resistor and can be used as additional Strobe out (by adding Pull up) or as controllable switch. Maximal ratings that must not be exceeded: voltage: 30 V, current: 0.5 A, power: 0.5 W.
  • Page 104 5 Hardware Interface Fig. 5.8 shows the connection from ISO_OUT1 to a LED. 1 2 p o l . H i r o s e C a m e r a C o n n e c t o r ;...
  • Page 105: Differential Rs-422 Inputs

    5.5.4 Differential RS-422 Inputs ISO_INC0 and ISO_INC1 are isolated differential RS-422 inputs (see also Fig. 5.3). They are connected to a Maxim MAX3098 RS-422 receiver device. Please consult the data sheet of the MAX3098 for connection details. Don’t connect single-ended signals to the differential inputs ISO_INC0 and ISO_INC1 (see also Fig.
  • Page 106: Plc Connections

    5 Hardware Interface 5.6 PLC connections The PLC (Programmable Logic Controller) is a powerful device where some camera inputs and outputs can be manipulated and software interrupts can be generated. Sample settings and an introduction to PLC are shown in Section 6.10. PLC is described in detail in the document [PLC]. Name Direction Description...
  • Page 107: Software

    Software 6.1 Software for Photonfocus GigE Cameras The following software packages for Photonfocus GigE (G2) cameras are available on the Photonfocus website: eBUS SDK Contains the Pleora SDK and the Pleora GigE filter drivers. Many examples of the SDK are included. PFInstaller Contains the PF_GEVPlayer, the DR1 demodulation DLL, a feature list for every GigE camera and additional documentation and examples.
  • Page 108: Pf_Gevplayer Main Window

    6 Software 6.2.1 PF_GEVPlayer main window After connecting the camera (see Chapter 2), the main window displays the following controls (see Fig. 6.1): Disconnect Disconnect the camera Mode Acquisition mode Play Start acquisition Stop Stop acquisition Acquisition Control Mode Continuous, Single Frame or Multi Frame modes. The number of frames that are acquired in Multi Frame mode can be set in the GEV Device Control with AcquisitionFrameCount in the AcquisitionControl category.
  • Page 109 To have a quick overview of the available categories, all categories should be collapsed. The categories of interest can then be expanded again. If the name of the property is known, then the alphabetical view is convenient. If this is the first time that you use a Photonfocus GigE camera, then the visibility should be left to Beginner.
  • Page 110: Display Area

    6 Software 6.2.3 Display Area The images are displayed in the main window in the display area. A zoom menu is available when right clicking in the display area. Another way to zoom is to press the Ctrl button while using the mouse wheel.
  • Page 111: Get Feature List Of Camera

    6.2.6 Get feature list of camera A list of all features of the Photonfocus G2 cameras in HTML format can be found in the GenICam_Feature_Lists sub-directory (in Start -> All Programs -> Photonfocus -> GigE_Tools). Alternatively, the feature list of the connected camera can be retrieved with the PF_GEVPlayer (Tools ->...
  • Page 112: Calibration Of The Fpn Correction

    6 Software 6.5 Calibration of the FPN Correction The following procedures can be most easily done with the PF_GEVPlayer. 6.5.1 Offset Correction (CalibrateBlack) The offset correction is based on a black reference image, which is taken at no illumination (e.g. lens aperture completely closed). The black reference image contains the fixed-pattern noise of the sensor, which can be subtracted from the live images in order to minimise the static noise.
  • Page 113: Storing The Calibration In Permanent Memory

    The procedure to calibrate the offset correction (see Section 6.5.1) must be run just before calibrating the gain correction. Don’t turn off the camera between the calibration of the offset correction (Cali- brateBlack) and the calibration of the gain correction (CalibrateGrey). Illuminate the camera homogeneously to produce a gray image with an Average_Value (in category PhotonfocusMain) between 2200 and 3600 DN.
  • Page 114: Region Lut

    6 Software 6.6.3 Region LUT The Region LUT feature is described in Section 4.8.4. Procedure to set the Region LUT: Set LUT_EnRegionLUT (in category RegionLUT) to False. This is not mandatory but recommended. Set LUTEnable (in category LUTControl) to False. This is not mandatory but recommended. Select LUT 0 by setting LUTSelector (in category LUTControl) to 0.
  • Page 115: Mroi

    6.7 MROI The MROI feature is described in Section 4.3.4. This section describes how to set the MROI values. When MROI is enabled, then the camera internally processes the MROI entries sequentially, starting at MROI_Index 0. The processing is stopped when either the last MROI_Index is reached or when an entry with MROI_Y=1081 is reached.
  • Page 116: Persistent Ip Address

    6 Software The calibration values of the FPN calibration are not stored with UserSetSave (or CameraHeadStoreDefaults). Use the command Correction_SaveToFlash for this (see Correction_SaveToFlash). 6.9 Persistent IP address It is possible to set a persistent IP address: Set GevPersistentIPAddress (in category TransportLayerControl) to the desired IP address. Set GevPersistentSubnetMask (in category TransportLayerControl) to the sub net mask.
  • Page 117 S t r o b e I S O _ O U T 0 O f f F r e e - r u n n i n g t r i g g e r T r i g g e r S o f t w a r e S o f t w a r e I n t e r n a l L i n e 1...
  • Page 118: Plc Settings For Iso_In0 To Plc_Q4 Camera Trigger

    6 Software 6.10.2 PLC Settings for ISO_IN0 to PLC_Q4 Camera Trigger This setting connects the ISO_IN0 to the internal camera trigger, see Table 6.1 (the visibility in the PF_GEVPlayer must be set to Guru for this purpose). Feature Value Category TriggerMode AcquisitionControl TriggerSource...
  • Page 119: Colour Fine Gain (Colour Cameras Only)

    The DR1 colour camera models have the BayerGB8 format. This should be used to display the debayered colour image in the PF_GEVPlayer display. To demodulate the image by the SDK the format Mono8 must be used. M o n o 1 0 P a c k e d * y t e B i t N r P i x e l A...
  • Page 120: Width Setting In Dr1 Cameras

    6 Software 6.12 Width setting in DR1 cameras To set the width in DR1 cameras, please follow this procedure: Set property Window_W to target width. Read value of property WidthInterface. Set property Width to the value of property WidthInterface. When double rate is enabled (property DoubleRate_Enable=True), WidthInterface shows the width of the modulated image.
  • Page 121 Figure 6.6: DR1Evaluator Only raw colour images, i.e. taken before debayering, can be used as input. Optionally an output file can be selected by clicking on the button Select Output File. This is the resulting file after modulation and demodulation of the input image. Additionally a difference file can be generated by enabling the corresponding checkbox.
  • Page 122 6 Software...
  • Page 123: Mechanical And Optical Considerations

    Mechanical and Optical Considerations 7.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.
  • Page 124: Optical Interface

    7 Mechanical and Optical Considerations 7.2 Optical Interface 7.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 125 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-reinraum.de BB-003 Germany Large Q-Tips SWABS...
  • Page 126: Compliance

    7 Mechanical and Optical Considerations 7.3 Compliance C o m p l i a n c e S t a t e m e n t 9 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...
  • Page 127: Warranty

    Warranty The manufacturer alone reserves the right to recognize warranty claims. 8.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: •...
  • Page 128 8 Warranty...
  • Page 129: References

    References All referenced documents can be downloaded from our website at www.photonfocus.com. AN001 Application Note "LinLog", Photonfocus, December 2002 AN007 Application Note "Camera Acquisition Modes", Photonfocus, March 2004 AN008 Application Note "Photometry versus Radiometry", Photonfocus, December 2004 AN026 Application Note "LFSR Test Images", Photonfocus, September 2005 ®...
  • Page 130 9 References...
  • Page 131: A Pinouts

    Pinouts A.1 Power Supply Connector The power supply connectors are available from Hirose connectors at www.hirose-connectors.com. Fig. A.1 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 132 A Pinouts I/O Type Name Description CAMERA_GND Camera GND, 0V CAMERA_PWR Camera Power 12V..24V ISO_OUT0 Default Strobe out, internally Pulled up to ISO_PWR with 4k7 Resistor ISO_INC0_N INC0 differential RS-422 input, negative polarity ISO_INC0_P INC0 differential RS-422 input, positive polarity ISO_PWR Power supply 5V..24V for output signals;...
  • Page 133: Revision History

    Revision History Revision Date Changes October 2011 First version November 2011 Chapter "How to get started (GigE G2)" reordered. Chapter "Product Specification": camera size corrected. Section TriggerSource adapted to GenICam specification. Section Trigger and AcquisitionMode added. Appendix "Power Supply Connector": wrong connector type indicated in table (male instead of female).

This manual is also suitable for:

Dr1-d1312(ie)-g2

Table of Contents