MC13xx High Speed CMOS Camera MC13xx Users Manual Rev. 1.08 Camera-Firmware: V1.10-F1.31 Kamera ID Nr.: MC1302, MC1303, MC1310, MC1311 Copyright 2003 Miktrotron GmbH Mikrotron GmbH Freisinger Str. 3 D-85386 Eching Germany Tel.: +49 8165 9523 0 Fax: +49 8165 9523 95 info@mikrotron.de www.mikrotron.
General MC13xx Users Manual Rev. 1.08 Table of contents 1 General..........................................................................................................................4 1.1 1.2 1.3 1.4 1.5 1.6 1.7 2 Introduction...................................................................................................................7 2.1 2.2 2.3 2.4 3 For customers in the U.S.A. ...............................................................................................................
General MC13xx Users Manual Rev. 1.08 6.8.6 Asynchronous exposure, shutter control by pulse width .................................................................................. 20 6.8.7 Asynchronous exposure, shutter control by timer ............................................................................................ 21 6.9 Firmware ...............................................................................................................................................................
General MC13xx Users Manual Rev. 1.08 1 General 1.1 For customers in the U.S.A. This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
General MC13xx Users Manual Rev. 1.08 1.5 Declaration of conformity Manufacturer: Mikrotron GmbH Address: Freisingerstr. 3 85386 Eching Deutschland Product: camera camera camera camera MC1302 MC1303 MC1310 MC1311 The dedicated products conform to the requirements of the Council Directives 89/336/EWG for the approximation of the laws of the Member States relating to electromagnetic consistency.
General MC13xx Users Manual Rev. 1.08 1.6 Warranty Note Do not open the body of the camera. The warranty becomes void if the body is opened. 1.7 Remarks, Warnings This document contains important remarks and warnings.
Introduction MC13xx Users Manual Rev. 1.08 2 Introduction The CMOS high speed camera MC13xx is a high resolution camera with 1280•1024 pixel. Benefits of CMOS technology are high speed, random access to pixels with free programmability and low power. The camera uses industry-standard C-Mount lenses. The sensor diagonal is 1,25“ with square pixels measuring 12µm. Free programmability means that the user is free to define the region of interest by size and position and the speed of data output.
Introduction MC13xx Users Manual Rev. 1.08 2.3 Differences between the camera types The CMOS cameras MC1302/10 are monochrome, the MC1303/11 are a color cameras equipped with a Bayer filter. MC13xx is being delivered in four different versions, color / monochrome, with or without Full Camera Link® interface. As reference the phased-out MC1301 is also shown.
Hardware MC13xx Users Manual Rev. 1.08 3 Hardware 3.1 Camera Link® Interface Camera Link® is designed for digital cameras in machine vision applications. A “Full Camera Link®” interface can transfer up to 64 bits of data at a rate of >528 Mbytes/sec. 3.1.1 Serial interface The communication via the serial interface is incorporated in the “Base Camera Link® interface. A description of the connector pinning is in chapter 9.2. 3.
Getting started MC13xx Users Manual Rev. 1.08 4 Getting started Before starting to operate the camera, make sure that the following equipment is available: • • • • Camera MC13xx C-Mount Lens Mikrotron Support CD Image processing system, e.g.: PC, frame grabber and Software L The frame grabber must have a Base- or Full Camera Link® Interface. Additional items: • 1 or 2 standard Camera Link® cables • 1 Power supply 12VDC, 0.5A min • 1 power cable L To specify cables see chapter Connector pinning. 4.
Initial setup MC13xx Users Manual Rev. 1.08 5 Initial setup The MC13xx is delivered with initial parameters and therefore does not need to be configured via the serial link. 5.1 Serial number and firmware revision Serial number and firmware revision is provided in MC13xx non volatile memory. Use :v command (Read serial number and firmware revision) to read serial number and firmware revision. The serial number is also marked on the type plate of the camera. 5.
Configuration MC13xx Users Manual Rev. 1.08 6 Configuration The MC13xx has 15 FPGA registers, r1..rfh , each 10 bit wide, eight D/A registers, a1..a8, 8-bit wide, and one clock select register, 4 bit wide. The contents of all the above registers is called a profile. There is space in non volatile memory for 17 profiles: one PowerUpProfile, 8 user profiles and 8 factory profiles.
Configuration 6.1.1 MC13xx Users Manual Rev. 1.08 Table of commands Syntax Range :a = 1...8 = 0...ffh :A = „y“,“Y“,“n“,“N“ :b = 0...4 :c -- Answer -- --- :e... :f - = 0...7 --- :g = 0...7 -- :p = 0...7 -- :r :s = 1...fh = 0…fh --- :S :t 6 Byte Code = 00..7fh = 00..ffh = 0…7fh =1…80 (hex) =0..3ffh =1..
Configuration MC13xx Users Manual Rev. 1.08 6.3 Profile processing All camera settings are loaded or stored as complete data blocks (= Profiles). There are 17 profiles, the Camera profile, the PowerUpProfile, eight factory profiles and eight user profiles. PowerUpProfile factory profiles 0...7 user profile 0 :pc user profile 1 user profile n user profile 7 :p0 :p1 :pn :p7 :g0 :g1 :gn :g7 f0..7 :gc or power on camera profile (programs to camera logic) configuration commands :a..
Configuration 6.3.3 MC13xx Users Manual Rev. 1.08 Load user profile Load one of eight user profiles to the PowerUpProfile. Command: 6.3.4 :g = 0 ... 7, c Load factory profile The eight factory profiles can be read but not changed by the user. Command: :f = 0 ... 7 6.4 Video data width, Base/ Full Camera Link® MC13xx can output video data with 2 x 8-Bit or 2 x 10-Bit via the „Base Camera Link®“ interface, or 8 x 8-Bit or 10 x 8-Bit data via the „Full Camera Link®“ interface.
Configuration MC13xx Users Manual Rev. 1.08 Response: 6.5.2 none Gain This is the threshold for the A/D converters. Its standard value is 66h for app. 1V. One step is app. 10mV. To increase the gain the value of a2 must be lowered. Command: 6.5.3 :a2 : Range, typ. 30h ... 80h Black Level Change Black Level if sensor clock changes. Increase this parameter until grey values in no light condition (closed lens) are close to zero. Command: :a5 Response: none : Range, typ.
Configuration Response: Example: L 6.6.3 MC13xx Users Manual Rev. 1.08 none :r3200 200h = display 513 lines The sum of r1 and r3 must be ≤ 0x3ff/1023 or 0x1ff/511 if dual column binning is activated! Address of the first pixel of a line Register r4 defines the leftmost pixel. The value is the pixel address divided by ten. Command: Response: :r4 ... Range 000h ...7fh none Calculation of the value of r4: Value of r4 = Pixel-Nr./10 6.6.
Configuration MC13xx Users Manual Rev. 1.08 6.7 Clock selection The MC13xx is equipped with a 2-channel programmable clock synthesizer. One channel controls clock frequency of the sensor (sensorclock, Fsens), the other controls the frequency of the pixel clock (pixelclock, Fpix). These independent clocks allow an always optimal ratio depending on the product of (image size • image frequency) and the data rate on the output.
Configuration MC13xx Users Manual Rev. 1.08 This is valid for a line length between 250 and 640 pixel. command * :s ... range 0 ... f (hex) Before selecting the data rate of the camera check the maximum data rate of the frame grabber, which must be higher (or at least the same). 6.8 Exposure control Exposure control is selected with register r6[7..4] and register r2[9..0]. Bit(s) r6[7..4] r2[9..0] Description Type of exposure Exposure time table 6-1 6.8.
Configuration MC13xx Users Manual Rev. 1.08 image size Senso rclock (MHz) Time/line [µs] Frames/s 6.8.3 100x100 240x240 66 33 2,06 4,12 4.852 1.011 Table 6.8-2 640x480 1280x1024 13,2 10,3 202 6,6 20,6 47 Synchronous operation without shutter Without electronic shutter the exposure time is 1 / frame rate. 6.8.4 Synchronous operation with shutter In the sensor is implemented a freeze frame shutter, which allows to reduce the exposure time in steps of one line.
Configuration 6.8.7 MC13xx Users Manual Rev. 1.08 Asynchronous exposure, shutter control by timer This operating mode is selected with register 6: :r6[7..4] = 0xf The asynchronous exposure time is dependent on :r2[9..0]. The exposure timer counts as many lines as are defined in register :r2[9..0]. Exposure time: TB = 1/Fsens * 136 • (1+r2[9..0]) TB ... exposure time Fsens.. sensor clock example: [Sec] sensor clock = 66MHz value of r2[9..
Configuration MC13xx Users Manual Rev. 1.08 6.9 Firmware 6.9.1 Update Firmware MC13xx’s logic is integrated into a FPGA (Field Programmable Gate Array), which’s configuration is stored in an EEPROM. Upon power up or a command the FPGA is loaded with this configuration. Configuration data can be downloaded via the serial interface of Camera Link®. Mikrotron may provide configuration files (*.ibf) on request.
Configuration MC13xx Users Manual Rev. 1.08 6.12 Digital shading correction For the best possible image quality even at the sensors clock limit, and non uniform lighting, the MC13xx can store gray levels along one line and subtract these from all lines of an image. To setup shading correction set: :r6[1] = 0. Then a uniform object should be used together with the desired lighting, exposure mode and time and lens.
Configuration MC13xx Users Manual Rev. 1.08 Positiv = :r7[8] = 0 Command example: :r7100 Response: none 6.16 Test image For testing of camera logic and video data transmission, sensor data can be replaced by an internal gray scale pattern with pixel values of 0..127. Use digital gain command to see pixel values of 0..255. Command example: :r7040 Response: none r7[6] 6.
Configuration MC13xx Users Manual Rev. 1.08 6.18.1 ImageBLITZ® processing When ImageBLITZ® is activated with :r7h[0] = 1: 1. Wait for an active edge on the EXP input. 2. The MC13xx exposes a line, that was chosen with :rC[9..0] and is called trigger line, for an exposure time defined by :r2[9..0]. It compares the intensity of a group of 10 pixel along the selected trigger line against an adjustable threshold (:rAh[7..0], Range: 255..0). 3.
Configuration Command: Response: MC13xx Users Manual Rev. 1.08 :r9 ... range 000h ...7fh none Calculation of r9: Value of r9 = pixel number / 10 6.18.2.4 Threshold level, mark trigger line The threshold level is set by register rAh . The pixel values along the trigger line are compared with this value. Command: Response: :rAh ... range 0 ..
Configuration MC13xx Users Manual Rev. 1.08 This feature allows to trigger an object only once on the dark- to bright edge of the scene. This avoids retriggering, once the trigger condition was met and the object is still visible within the triggerline after the image has been output. Command: Response: :rDh = 0 ..ffh, number of fulfilled, sequentially trigger conditions none 6.18.3 ImageBLITZ® registers Register r7 r8 r9 rAh Bit 0 6..0 6..0 7..0 8 rBh 9 6..0 rCh rDh 8..7 9 9..0 7..
Configuration MC13xx Users Manual Rev. 1.08 6.18.4 ImageBLITZ® setup The MC13xx is configured for asynchronous operation with timer , registers r8, r9 and rCh are loaded for the desired position of the trigger line. Register rBh is loaded with 0, register rAh with 201h, so that the trigger line is visible. L If the image is zoomed down for display by an application program, every other line may be omitted and the trigger line may then disappear. ImageBLITZ® is enabled with Register r7 Bit1=1.
MC13xx configuration tool MC13xx Users Manual Rev. 1.08 7 MC13xx configuration tool The MC13xx configuration tool must be installed on a Windows PC. (Win9x, WinNT, Win2K, WinXP) by means of the setup software. See also www.mikrotron.de to download the latest version. This software provides an almost self explaining user interface to modify any camera parameter. The description of the parameters follows the marked chapters in this user manual.
MC13xx configuration tool MC13xx Users Manual Rev. 1.08 7.2 ImageBLITZ® Configuration 1st Col, Num Of Col.
Mechanical dimensions MC13xx Users Manual Rev. 1.08 8 Mechanical dimensions 8.1 Camera body The camera body is with its dimensions of 63 x 63 x 41 mm (without lens) very compact. To fasten the camera there are two mounting holes M4x7mm and one tripod connection on each side available. 8.1.1 Dimensioned drawing, side view of MC13xx Cameralink full conf.
Mechanical dimensions 8.1.2 Dimensioned drawing, front view of MC13xx 8.1.3 Dimensioned drawing, rear view of MC13xx Cameralink base conf., MDR26-connector, all MC13xx MC13xx Users Manual Rev. 1.08 Cameralink full conf.
Mechanical dimensions MC13xx Users Manual Rev. 1.08 8.2 Lens adjustment 8.2.1 Adjustable lens adapter For fine adjustment of the focal length a lens adapter with an adjustment range of ± 1 mm is provided. Use the three screws nearby the sensor window to fasten the lens adapter after a proper adjustment together with the chosen lens. 8.2.
Technical Data MC13xx Users Manual Rev. 1.08 9 Technical Data MC1302, MC1310 MC1303, MC1311 Number of pixel Pixel size Active area Fill factor Sensitivity at 550 nm @ Vref = 1V (a2 = 66h) Spectral response Shutter Trigger Internal Dynamic Power supply Power consumption Serial data link Digital video MC1310, MC1311 MC1302, MC1303 Lens mount Dimensions (WxHxD in mm) Temperature range Weight Monochrome Bayer Filter 1280 x 1024 12 x 12 µm 15,36 (H) x 12,29 (V) mm 40% 1600LSB/lux-sec 400..
Technical Data MC13xx Users Manual Rev. 1.08 9.
Technical Data 9.2 MC13xx Users Manual Rev. 1.08 Sensitive area of a pixel Pixel size: Fill factor: Sensitive area: 12 x 12 µm 40 % 10,5 x 6,5 µm 10.5 µm Sensitive Area 6.
Technical Data MC13xx Users Manual Rev. 1.08 9.3 Connector pinning 9.3.1 Camera Link® Connector, MDR-26 „Base Camera Link® “ Pinning: pin 1 2 3 4 5 6 7 8 9 10 11 12 13 signal pin GND 14 X015 X116 X217 XCLK18 X319 SERTC+ 20 SERTFG21 CC122 CC2+ 23 CC324 CC4+ 25 GND 26 Table 9.3-1 signal GND X0+ X1+ X2+ XCLK+ X3+ SERTCSERTFG+ CC1+ CC2CC3+ CC4GND „Full Camera Link® “ Pinning (second connector for MC1310/11): pin 1 2 3 4 5 6 7 8 9 10 11 12 13 signal pin GND 14 Y015 Y116 Y217 YCLK18 Y319 100 Ω Term.
Technical Data 9.3.2 MC13xx Users Manual Rev. 1.08 Circular power connector, 6-pin pin 1 2 3 signal VCC VCC STRB pin 4 5 6 signal DGND* GND GND Table 9.3-3 *DGND ... digital GND for signal STRB Manufacturer: Order no.
Technical Data MC13xx Users Manual Rev. 1.08 9.4 Camera Link® Bit Assignments 9.4.1 Base Camera Link® 2*8/10 - Bit Assignment The following table shows the bit assignment of two adjacent pixel, eigth or ten bits each. All unused bits are set to logical LOW level, the SPARE outputs are set to logical HIGH level.
Technical Data 9.4.2 MC13xx Users Manual Rev. 1.08 Full Camera Link® 8*8-Bit Assignment The following table shows the bit assignment of eight adjacent pixel. All unused bits are set to logical LOW level, the SPARE outputs are set to logical HIGH level.
Technical Data 9.4.3 MC13xx Users Manual Rev. 1.08 10*8-Bit Assignment The below table shows the the assignment of 10 adjacent pixel, 8-Bit each. This assignment is compatible to Baslers A504 camera.
Technical Data MC13xx Users Manual Rev. 1.08 9.5 Frequency selection Depending on the selected line length and the datarate on the “Camera Link®” interface the frequency selection table can provide an optimal ratio of sensor /pixel clock. The pixel clock is only dependent on the selected step and not on the linelength. The sensor clock is dependent on both the selected step, the line length and the data width.
Technical Data MC13xx Users Manual Rev. 1.08 9.5.1.2 Linelength <= 240 Pixel Frequencies Pixelclock (MHz) Step 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Sensorclock (MHz) for linelength <= 240 Pixel 7,5 7,1 10,0 9,5 12,5 11,9 15,0 14,3 17,5 16,7 20,0 19,1 22,5 21,4 25,0 23,8 26,9 25,6 27,5 26,2 30,0 28,6 33,0 31,2 35,0 33,4 40,0 38,1 50,0 47,6 60,0 57,1 Table 9.
Technical Data MC13xx Users Manual Rev. 1.08 9.5.1.4 Linelength <= 1280 Pixel Frequencies Step 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Tolerance: Pixelclock (MHz) Sensorclock (MHz) for linelength <= 1280 Pixel 7,5 1,5 10,0 2,0 12,5 2,5 15,0 3,0 17,5 3,5 20,0 4,0 22,5 4,5 25,0 5,1 26,9 5,4 27,5 5,6 30,0 6,1 33,0 6,6 35,0 7,1 40,0 8,1 50,0 10,1 60,0 12,1 Table 9.
Technical Data MC13xx Users Manual Rev. 1.08 9.5.1.5 Respective codes for the clock synthesizer Each frequency pair corresponds to two hexadecimal codes that are used to program the synthesizer. These are also obtained on a read Camera Profile ( :w ) command.
Technical Data 9.5.2 Frequencies for video data width 8*8 - Bit, Full Camera Link® clock pixel clock step in MHz 0 19,5 1 24,33 2 29,24 3 34,40 4 39,01 5 43,82 6 48,74 7 53,57 8 58,49 9 63,28 10 68,19 11 70,77 12 73,05 13 75,73 14 78,02 15 81,1 9.5.3 MC13xx Users Manual Rev. 1.
Technical Data MC13xx Users Manual Rev. 1.08 Table 9.
Technical Data MC13xx Users Manual Rev. 1.08 9.6 Programming sequence, factory profile f3 Example: resolution: frame rate: pixel clock: shutter: Strings: :a16d :a277 :a34a :a4c8 :a5xx :a600 :a76a :a81c :r6000 :r1000 :r23ff :r33ff :r4000 :r507f :r7000 :r6030 :r8000 :r9000 :ra000 :rb000 :rc000 :rd000 :re000 :rf000 :sb 1.280 x 1.024 pixel 47 fps 33 MHz sensor clock: 6,65 MHz full frame , exposure time: 21 ms xx... may be any value 00h ...
Technical Data MC13xx Users Manual Rev. 1.08 9.7 Timing 9.7.1 Pixel clock Tclk, 12..~200ns Pixel clock FVAL LVAL Data tdh = 4.5 ±1 ns The above illustration shows hold time of video data, LVAL and FVAL signal to rising edge of pixel clock. 9.7.2 Line Valid (LVAL, DVAL) LVAL, DVAL Tldvl Tldvh LVAL and DVAL are connected internally in the camera.
Technical Data 9.7.3 MC13xx Users Manual Rev. 1.08 Frame Valid (FVAL) FVAL tfdvl tfdvh tfdv The rising edge of FVAL marks that line, that is programmed in Register r1. Tfdvh is equal to the value programmed in Register r3 multiplied with time/line. Tfdvl in synchronous mode is equal to one time/line. 9.7.4 Exposure Signal (EXP) The EXP signal is positive active if register 7, Bit 8 = 0, negativ active if register 7, Bit 8 = 1.