Photon Focus SM2-D1312-TI6455 User Manual

Cmos dsp camera
Table of Contents

Advertisement

Quick Links

User Manual

SM2-D1312-TI6455 / VisionCam PS
CMOS DSP Camera
MAN060 05/2013 V1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SM2-D1312-TI6455 and is the answer not in the manual?

Questions and answers

Summary of Contents for Photon Focus SM2-D1312-TI6455

  • Page 1: User Manual

    User Manual SM2-D1312-TI6455 / VisionCam PS CMOS DSP Camera MAN060 05/2013 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.
  • Page 5: Table Of Contents

    Contents 1 Preface 1.1 About Photonfocus ........1.2 Contact .
  • Page 6 CONTENTS 4.3.4 Multiple Regions of Interest ......41 4.3.5 Decimation ........44 4.4 Trigger and Strobe .
  • Page 7 6.1.5 Camera ......... 89 6.1.6 Save Pic .
  • 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 (Sm2)

    How to get started (SM2) 2.1 Introduction The SM2-D1312(IE)-TI6455 Series / VisionCam PS is an intelligent camera especially designed for machine vision applications. The camera consists of the CMOS camera head and the embedded vision computer. These two main components are developed by Photonfocus AG (camera head) and IMAGO Technologies (vision computer).
  • Page 12: Sm2 Starter Kit

    2 How to get started (SM2) 2.2.2 SM2 Starter Kit An order of the SM2 Starter Kit, contains the following items: • SM2 Camera body (no lense). • SM2-JTAG connector Figure 2.2: SM2-JTAG adapter and camera 2.2.3 Accessories SM2-JTAG Connector The SM2-JTAG connector is needed to connect the emulator to the DSP of the SM2 camera.
  • Page 13 Power supply The power supply can be ordered from Photonfocus. Figure 2.4: SM2 power supply SM2 Trigger cables The SM2 trigger cables packages contains two cables: • 12pol cable for the Hirose power connector. • 14pol cable for the MDR-14 connector. Figure 2.5: SM2 trigger cables 2.2 Get the camera and its accessories...
  • Page 14: Hardware Installation

    2 How to get started (SM2) 2.3 Hardware Installation The hardware installation that is required for this guide is described in this section. The following hardware is required: • PC with Microsoft Windows OS (XP, Vista, Windows 7) • A Gigabit Ethernet network interface card (NIC) must be installed in the PC. •...
  • Page 15 Connect a suitable power supply to the power plug. The pin out of the connector is shown in the camera manual. Check the correct supply voltage and polarity! Do not exceed the operating voltage range of the camera. A suitable power supply can be ordered from your Photonfocus dealership. Connect the power supply to the camera (see Fig.
  • Page 16: Software Installation

    2 How to get started (SM2) 2.4 Software Installation This section describes the installation of the required software to accomplish the tasks described in this chapter. Use the JavaApplet (tcpdisplay.jar) to connect to the camera. There are differnet ways to get the JavaApplet.
  • Page 17: Emulator, Debugger Installation

    2.5 Emulator, Debugger Installation This section describes what software and tools are needed to compile own c/c++ code and download it to the DSP. 2.5.1 Code Composer Studio (CCS) The Code Composer Studio (CCS) is an integrated development environment (IDE) for Texas Instruments (TI) embedded processor families.
  • Page 18: Connect Camera To Jtag

    2 How to get started (SM2) 2.5.3 Connect camera to JTAG Remove the "JTAG / SD-Card" plate, before connecting the JTAG. Figure 2.9 shows how to connect the SM2-JTAG connector and the XDS200 emulator. Figure 2.9: How to connect camera to XDS200 emulator 2.5.4 Framework and examples The framework and the examples are working with the CCS.
  • Page 19: Product Specification

    Product Specification 3.1 Introduction The SM2-D1312(IE)-TI6455 CMOS camera series are built around the A1312(IE/C) CMOS image sensor from Photonfocus and IMAGO Technologies, that provides a resolution of 1312 x 1082 pixels at a wide range of spectral sensitivity. There are standard monochrome and NIR enhanced monochrome (IE) models.
  • Page 20: Hardware Overview

    3 Product Specification 3.2 Hardware Overview The three main components in the block diagram are the CMOS camera module, the FPGA and the digital signal processor. These components are especially designed to transfer high data rates and to communicate with each other. The used high speed communication protocol is called Sun-System-Protocol.
  • Page 21 R S 4 2 2 T r a n s c e i v e r ( 3 x I n / 3 x O u t ) C M O S F P G A C a m e r a 3 x O p t o I n 3 x O p t o O u t 1 x R S 2 3 2...
  • Page 22: Feature Overview

    3 Product Specification 3.3 Feature Overview Characteristics SM2-D1312(IE)-TI6455 Interface Gigabit Ethernet, TCP/IP, FTP µSD card Camera Control Web server or programming library Trigger Modes Software Trigger / External isolated trigger input / PLC Trigger Features Greyscale resolution 12 bit / 10 bit / 8 bit Region of Interest (ROI) Test pattern (LFSR and grey level ramp) Shading Correction (Offset and Gain)
  • Page 23: Technical Specification

    3.4 DN @ 8 bit / correction OFF 1)2) Fixed pattern noise (FPN) < 1DN @ 8 bit / correction ON Dark current SM2-D1312-TI6455 0.65 fA / pixel @ 27 °C Dark current SM2-D1312IE-TI6455 0.79 fA / pixel @ 27 °C...
  • Page 24 3 Product Specification SM2-D1312(IE)-TI6455-80 SM2-D1312(IE)-TI6455-160 Exposure Time 10 µs ... 0.83 s 10 µs ... 0.42 s Exposure time increment 50 ns 25 ns Frame rate = 10 µs) 54 fps 108 fps Pixel clock frequency 40 MHz 80 MHz Pixel clock cycle 25 ns 12.5 ns...
  • Page 25 Fig. 3.3 shows the quantum efficiency and the responsivity of the monochrome A1312 CMOS sensor, displayed as a function of wavelength. For more information on photometric and radiometric measurements see the Photonfocus application note AN008 available in the support area of our website www.photonfocus.com. Responsivity 1200 1000...
  • Page 26 3 Product Specification Fig. 3.4 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 27: 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 SM2-D1312(IE)-TI6455 series cameras is explained in later chapters. 4.1 Image Acquisition 4.1.1 Readout Modes The SM2-D1312(IE)-TI6455 cameras provide two different readout modes:...
  • Page 28 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.
  • Page 29: Readout Timing

    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 i d l e r e a d o u t n - 1 i d l e r e a d o u t n f r a m e t i m e...
  • Page 30 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 31 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 32: 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 33: 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 34 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 35 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 36 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.
  • Page 37 Typical LinLog2 Response Curve − Varying Parameter Time2 Time1=850, Value1=19, Value2=18 T2 = 950 T2 = 960 T2 = 970 T2 = 980 T2 = 990 Illumination Intensity Figure 4.17: Response curve for different LinLog settings in LinLog3 mode 4.2 Pixel Response...
  • Page 38: 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 39 ³ 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 40 4 Functionality ROI Dimension [Standard] SM2-D1312(IE)-TI6455-80 SM2-D1312(IE)-TI6455-160 1312 x 1082 (full resolution) 54 fps 108 fps 1248 x 1082 56 fps 113 fps 1280 x 1024 (SXGA) 58 fps 117 fps 1280 x 768 (WXGA) 78 fps 156 fps 800 x 600 (SVGA) 157 fps 310 fps 640 x 480 (VGA)
  • Page 41: Roi Configuration

    4.3.2 ROI configuration In the SM2-D1312(IE)-TI6455 camera series the following two restrictions have to be respected for the ROI configuration: • The minimum width (w) of the ROI is camera model dependent, consisting of 416 pixel in the SM2-D1312(IE)-TI6455-80 camera, of 544 pixel in the SM2-D1312(IE)-TI6455-160 camera.
  • Page 42 4 Functionality Width ROI-X (SM2-D1312(IE)-TI6455-80) ROI-X (SM2-D1312(IE)-TI6455-160) not available not available not available not available not available not available not available not available not available 416 ... 448 not available 384 ... 448 not available 352 ... 448 not available 320 ...
  • Page 43: Multiple Regions Of Interest

    ROI Dimension SM2-D1312(IE)-TI6455-80 SM2-D1312(IE)-TI6455-160 1312 x 1082 = 18.23 ms = 9.12 ms 1248 x 1082 = 17.37 ms = 8.68 ms 1024 x 512 = 6.78 ms = 3.39 ms 1056 x 512 = 6.99 ms = 3.49 ms 1024 x 256 = 3.39 ms = 1.70 ms...
  • Page 44 4 Functionality ( 0 , 0 ) ( 0 , 0 ) M R O I 0 R O I M R O I 1 M R O I 2 ( 1 3 1 1 , 1 0 8 1 ) ( 1 3 1 1 , 1 0 8 1 ) M R O I 0 M R O I 1...
  • Page 45 6 5 6 p i x e l ( 0 , 0 ) 1 p i x e l 2 p i x e l 1 p i x e l 2 0 p i x e l 2 p i x e l 2 6 p i x e l 2 p i x e l C h e m i c a l A g e n t...
  • Page 46: Decimation

    4 Functionality 4.3.5 Decimation 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 47 ( 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.26: Decimation and MROI The image in Fig. 4.27 on the right-hand side shows the result of decimation 3 of the image on the left-hand side.
  • Page 48 4 Functionality Figure 4.28: Example of decimation 2 on image of injection needle...
  • Page 49: Trigger And Strobe

    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 50: Trigger Source

    4 Functionality 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 the camera. Exposure starts immediately after the camera is ready and the maximal possible frame rate is attained, if Constant Frame Rate mode is disabled.
  • Page 51: Exposure Time Control

    4.4.3 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 52 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 53: 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.3). 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 54 4 Functionality 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 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 55 SM2-D1312(IE)-TI6455-80 SM2-D1312(IE)-TI6455-80 Timing Parameter Minimum Maximum 45 ns 60 ns d iso 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 trigger offset (burst mode) 250 ns...
  • Page 56 4 Functionality SM2-D1312(IE)-TI6455-160 SM2-D1312(IE)-TI6455-160 Timing Parameter Minimum Maximum 45 ns 60 ns d iso input 25 ns jitter 0.42 s trigger delay 0.42 s burst trigger delay depends on camera settings 0.42 s burst period time (non burst mode) 100 ns 100 ns trigger offset (burst mode)
  • Page 57: Software Trigger

    4.4.6 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 58: 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.34. 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 I m a g e S e n s o r I m a g e S e n s o r...
  • Page 59: 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 60 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...
  • Page 61: 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.37). h o t n - 1 n + 1...
  • Page 62: Corrected Image

    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 .
  • Page 63 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.39: Proper grey reference image for gain correction 0 .
  • Page 64: 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 65 y = f ( x ) m a x m a x Figure 4.41: 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...
  • Page 66: 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.43), gamma < 1.0 results in an amplification (see Fig. 4.44). Gamma correction is often used for tone mapping and better display of results on monitor screens.
  • Page 67: 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. U s e r L U T y = f ( x ) 8 b i t...
  • Page 68 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.46 and Fig. 4.47. Fig. 4.46 shows an example of overlapping Region-LUTs. LUT 0, LUT 1 and Region LUT are enabled.
  • Page 69 Fig. 4.48 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 70: 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 71 Figure 4.51: 3x3 Convolution filter examples 1 Figure 4.52: 3x3 Convolution filter examples 1 settings 4.9 Convolver (monochrome models only)
  • Page 72 4 Functionality A filter called Unsharp Mask is often used to enhance near infrared images. Fig. 4.53 shows examples with the corresponding settings. Figure 4.53: Unsharp Mask Examples...
  • Page 73: 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 74 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.55 shows two situations of the crosshairs configuration. The same MROI settings is used in both situations. The crosshairs however is set differently.
  • Page 75: Image Information And Status Line

    4.11 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 76 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 77: 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 78 4 Functionality Figure 4.58: LFSR (linear feedback shift register) test image non-flat histogram (Fig. 4.60) indicates problems, that may be caused either by the a defective camera or by problems in the grabbing software.
  • Page 79 Figure 4.59: LFSR test pattern received and typical histogram for error-free data transmission Figure 4.60: 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 80 4 Functionality...
  • Page 81: 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 82: Trigger Connector

    5 Hardware Interface 5.3 Trigger Connector The RS422 Trigger and Strobe connector is a MDR-14. This interface supports: • 3 RS422 differential inputs • 3 RS422 differential outputs For further details including the pinout please refer to Appendix A. 5.4 Status Indicator (SM2 cameras) Two dual-color LEDs on the back of the camera gives information about the current status of the DSP camera.
  • Page 83: Power And Ground Connection For Sm2 Cameras

    5.5 Power and Ground Connection for SM2 Cameras The interface electronics of the power connector is isolated from the camera electronics and the power supply including the line filters and camera case. Fig. 5.3 shows a schematic of the power and ground connections. 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 P o w e r S u p p l y...
  • Page 84: Trigger And Strobe Signals For Sm2 Cameras

    5 Hardware Interface 5.6 Trigger and Strobe Signals for SM2 Cameras 5.6.1 Overview The 12-pol. Hirose power connector contains three external trigger inputs and tree strobe outputs. The 14-pol MDR connector contains and three differential RS-422 inputs and three differential RS-422 outputs. The pinout of the power connector is described in Section A.1.
  • Page 85 O U T [ 0 . . 2 ] O U T _ V C C O P T O _ O U T [ 0 . . 2 ] G N D Figure 5.5: Circuit for the strobe output signals 5.6 Trigger and Strobe Signals for SM2 Cameras...
  • Page 86: Rs422 Interface

    5 Hardware Interface 5.6.3 RS422 Interface In the RS422 interface standard industry RS422 transmitters and receivers are used. Special care has been taken regarding the ESD protection. In the inputs the MAX3096, a pin-compatible, low-power upgrade to the industry-standard "26LS32", is used. The protection levels are: •...
  • Page 87: Framework Functionalities

    Framework Functionalities 6.1 Web Server The SM2 camera has a built-in web server. The web server is used to configure the camera parameters such as region of interest (ROI) or exposure time. It is also possible to save a live image on the microSD card of the SM2 camera.
  • Page 88: Information About The Camera

    6 Framework Functionalities Figure 6.1: Main window of the web server On the left side of the main window are the buttons for the configuration menu. The right side of the main window displays the live image and the information part. 6.1.2 Information about the Camera In the information area of the web server the following attributes are shown.
  • Page 89 Figure 6.3: Display of temperature in the information area of the web browser The temperature graph shows the actual temperature of the DSP CPU. The temperature should not exceed 70° Celsius. Figure 6.4: Display of the frame rate in the information area of the web browser Graph of frame rate.
  • Page 90 6 Framework Functionalities free-running mode it counts all incoming external triggers (counter width 8 bit / no wrap around). View Camera live image. The imaging application can draw into it. Info Figure 6.6: Details of the info button in the web browser The Log viewer shows the last entries of the log.
  • Page 91: Configuration Of The Camera

    6.1.3 Configuration of the Camera The following sections describe the function of the buttons accessible from the main dialog window. (see Fig. 6.9) Figure 6.9: Camera configuration buttons of the main dialog window in the web browser 6.1.4 Sensor Figure 6.10: Camera configuration button SENSOR in the web browser This menu is only available for SDK users.
  • Page 92 6 Framework Functionalities Exposure Figure 6.12: Accessible parameters in the configuration button EXPOSURE of the web browser 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.
  • Page 93 Trigger Figure 6.13: Accessible parameters in the configuration button TRIGGER of the web browser Trigger Source: Free running: The camera continuously delivers images with a certain configurable frame rate. Opto In 0: The trigger signal is applied directly to the camera on the power supply connector. RS422 In 0: The trigger signal is applied directly to the camera on the trigger connector.
  • Page 94 6 Framework Functionalities Strobe Figure 6.14: Accessible parameters in the configuration button STROBE of the web browser The camera generates a strobe output signal that can be used to trigger a flash. The delay, pulse width and polarity can be defined by software. To turn off strobe output, set StrobePulseWidth to 0.
  • Page 95 Data Format Figure 6.15: Accessible parameters in the configuration button DATA FORMAT of the web browser 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 96 6 Framework Functionalities Figure 6.16: Accessible parameters in the configuration button LUT of the web browser LUT: LUT0 Enable: Enable LUT0. LUT0 Mode: Change between the LUT mode, to generate the LUT values automatically. LUT0 Value: With this value the LUT will be calculated, depending on the LUT Mode. LUT1 Enable: Enable LUT1.
  • Page 97 LUT ROI Figure 6.17: Accessible parameters in the configuration button LUT ROI of the web browser LUT ROI: Both LUT can be configured with ROI vlaues. The LUT is only workind inside the the ROI values. Overlapping is possible. LUT0 has higher priority. Enable Region LUT: Enable the region LUT functionality.
  • Page 98 6 Framework Functionalities Region of interest Figure 6.18: Accessible parameters in the configuration button REGION OF INTEREST of the web browser Line Scan Mode: Line Scan Mode: Enables Line scan mode. Line Scan Height: Set heigt of the resulting image. 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.
  • Page 99 Y: Y - coordinate of the selected MROI. If Y is set to 1023, this and all further MROI settings will be ignored. H: Height of the selected MROI. H tot: Shows the sum of all MROIs as the total image height. After changing a property, always press Enter in order to make the change active.
  • Page 100 6 Framework Functionalities LinLog Figure 6.19: Parameter settings in the configuration button LinLog of the web browser 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).
  • Page 101 Convolver Figure 6.20: Accessible parameters in the configuration button CONCVOLVER of the web browser Convolver: Enable: Enable convolver. Presets: Select one of the presets, or set the coefficients manually. Offset: Offset value o. Range: -4096 ... 4095. Scale: Scale value s. Range: 1 ... 4095. Coefficents: Coefficients of the convolution kernel h.
  • Page 102 6 Framework Functionalities Shading Correction Figure 6.21: Accessible parameters in the configuration button CORRECTION of the web browser 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 103 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.
  • Page 104 6 Framework Functionalities Preset File Figure 6.22: Accessible parameters in the configuration button PRESET of the web browser Load and store settings from the SD card. The select box displays the existing settings. With the button "Apply Pr." the selected setting is loaded. With the Button "Save P" the user can store the settings.
  • Page 105 Sensor Info Figure 6.23: Info button in the web browser The Info button displays camera relevant information, such as type code, serial number and firmware revision numbers of the FPGA and of the microController. Status Line: Enable Status Line. The status line replaces the last line of an image with image information, please refer the manual for additional information.
  • Page 106: Save Pic

    6 Framework Functionalities 6.1.6 Save Pic Figure 6.24: Save Pic button in the web browser In this menu, the user can save an original image of the sensor to the microSD card. The user can select various file formats, such as JPG, BMP and PNG. Figure 6.25: Configuration settings of the Save Pic command in the web browser Save button Save the current image to the microSD card.
  • Page 107: Tools

    6.1.7 Tools Figure 6.26: Tool button in the web browser This menu is used to change the camera settings such as exposure time, region of interest, ® LinLog and trigger. Figure 6.27: Configuration settings of the Tool button in the web browser Clock Set the clock of the camera.
  • Page 108: View Par

    6 Framework Functionalities 6.1.8 View Par Figure 6.28: View Par in the web browser The web server may display a smaller part than the real grabbed image. Use the buttons to arrange the displayed image to the desired size. You can also click inside the preview window to move the green rectangle according to your needs.
  • Page 109: App

    6.1.9 App Figure 6.30: App in the web browser Figure 6.31: Icons to arrange the App. in the web browser This dialog can be modified in the CDlgApp.cpp and it’s header file CDlgApp.hpp. In these files insert the user application. The camera can be configured to start directly with the user application.
  • Page 110 6 Framework Functionalities...
  • Page 111: 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 112: 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 113 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 114: Ce Compliance

    7 Mechanical and Optical Considerations 7.3 CE compliance The Photonfocus SM2 camera series are in compliance with the below mentioned standards according to the provisions of European Standards Directives: • EN 61 000 - 6 - 3 : 2001 • EN 61 000 - 6 - 2 : 2001 •...
  • Page 115: 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 116 8 Warranty...
  • Page 117: 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 118 9 References...
  • Page 119: 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 120: Rs422 Trigger And Strobe Interface

    A Pinouts I/O Type Name Description Ground +12 V DC (± 10%) OPTO_OUT0 (Strobe) Strobe control (opto-isolated) OPTO_OUT1 (Strobe) Strobe control (opto-isolated) OPTO_OUT2 (Strobe) Strobe control (opto-isolated) OUT_VCC +5 .. +15 V DC RS232-TX Serial interface RS232-RX Serial interface OPTO_IN0 External trigger (opto-isolated), +12 ..
  • Page 121 Name Description Ground PDIG_IN0 Differential trigger input (+ RS422 signal) PDIG_IN1 Differential trigger input (+ RS422 signal) PDIG_IN2 Differential trigger input (+ RS422 signal) PDIG_OUT0 Differential strobe output (+ RS422 signal) PDIG_OUT1 Differential strobe output (+ RS422 signal) PDIG_OUT2 Differential strobe output (+ RS422 signal) NDIG_IN0 Differential trigger input (- RS422 signal) NDIG_IN1...
  • Page 122 A Pinouts...
  • Page 123: B Revision History

    Revision History Rev. 1.0, May 2013 : • First version...

This manual is also suitable for:

Visioncam ps

Table of Contents