background image

MIKROTRON GmbH
Landshuter Str. 20-22
D-85716 Unterschleissheim / Germany
Phone: 0049 (0)89 7263420
www.mikrotron.de
[email protected]

Copyright © 2020 Mikrotron GmbH

Summary of Contents for CAMERA LINK EoSense CL

Page 1: ...EoSense 3CL Camera Reference Guide Version 1 3 CAMMC301x RG ...

Page 2: ...djacent pixels 11 Chapter 3 ASCII commands instruction set 3 1 Overview 14 3 2 Camera information 17 3 2 1 Serial number and firmware version 17 3 2 2 Camera identifier 17 3 2 3 Camera temperature 18 3 2 4 Power information 18 3 3 Profile processing 19 3 3 1 Write user or power up profile 19 3 3 2 Load user or power up profile 20 3 3 3 Load factory profile 20 3 4 Output modes 20 3 4 1 CameraLink o...

Page 3: ... run with electronic shutter 32 3 9 3 Pulse width mode 32 3 9 4 External sync with internal timer 32 3 10 Miscellaneous commands 32 3 10 1 In frame counter 32 3 10 2 Test image 33 3 10 3 Get last error 33 3 10 4 Reset the internal FPGA 34 3 10 5 Acknowledge flag 34 3 10 6 Setting the baud rate 34 Chapter 4 MC configuration tool Chapter 5 Firmware update 5 1 Overview 38 5 2 Firmware update procedur...

Page 4: ... Before you start This chapter provides the following information About this manual Tips remarks and notes Registered trademarks Conformity and use Supplements Warranty and non warranty clause Technical support ...

Page 5: ...263 4200 We highly recommend to read this manual carefully NOTE This manual is subject to change without notice 1 1 1 Tips remarks and notes This manual contains tips and notes that help to avoid data loss or camera damage They are emphasized as follows Info Provides information that may help to improve camera handling or avoid data loss NOTE Provides information to avoid damage to the system 1 1 ...

Page 6: ...to cause harmful interference in which case the user will have to correct the interference at its own expense NOTE You are herewith cautioned that any changes or modifications not expressly approved in this description could void your authority to operate this equipment 制造说明 此设备的生产与测试依照 FCC 条例第 15 条条例 符合 A 类电子设备标 准 产品提供在商用使用环境中的合理保护 以防止使用过程中可能 涉及到的损害 此设备会产生 使用并可发射出无线电波 如果未按照本手册中所述 安装和使用 可能会对无线通信设备...

Page 7: ...se products for use in such applications do so at their own risk and agree to fully indemnify MIKROTRON for any damages resulting from such improper use or sale 1 2 Warranty and non warranty clause Warranty is described in 8 of our General Terms and Conditions which can be downloaded on the MIKROTRON web page www mikrotron de en terms html In addition take the following non warranty clauses into a...

Page 8: ... dise authorization number and RMA form either by phone 49 89 7263 4200 or e mail support mikrotron de Send the camera back to your distributor If no distributor is avail able send it back to MIKROTRON You find the address on the last page of this reference guide 1 3 Technical support For technical support carry out the following steps Step 1 Visit the website www mikrotron de en services support ...

Page 9: ...owing table shows the bit assignment of two adjacent pixels eight or ten bits each All unused bits are set to logical LOW level the SPARE outputs are set to logical HIGH level Plug 1 CameraLink X 2 8 bit Plug 1 CameraLink X 2 10 bit Port Tx Signal Port Tx Signal A0 0 D0 A0 0 D0 A1 1 D1 A1 1 D1 A2 2 D2 A2 2 D2 A3 3 D3 A3 3 D3 A4 4 D4 A4 4 D4 A5 6 D5 A5 6 D5 A6 27 D6 A6 27 D6 ...

Page 10: ...11 LOW 12 LOW B4 13 D12 B8 13 D18 B5 14 D13 B9 14 D19 msb B6 10 D14 LOW 10 LOW B7 11 D15 msb LOW 11 LOW LOW 15 LOW B0 15 D10 LOW 18 LOW B1 18 D11 LOW 19 LOW B2 19 D12 LOW 20 LOW B3 20 D13 LOW 21 LOW B4 21 D14 LOW 22 LOW B5 22 D15 LOW 16 LOW B6 16 D16 LOW 17 LOW B7 17 D17 LVAL 24 LVAL LVAL 24 LVAL FVAL 25 FVAL FVAL 25 FVAL DVAL 26 DVAL DVAL 26 DVAL SPARE 23 HIGH SPARE 23 HIGH TxClk TxClk Plug 1 Cam...

Page 11: ... 13 D12 E4 13 D36 H4 13 D60 B5 14 D13 E5 14 D37 H5 14 D61 B6 10 D14 E6 10 D38 H6 10 D62 B7 11 D15 msb E7 11 D39 msb H7 11 D63 msb C0 15 D16 F0 15 D40 LOW 15 LOW C1 18 D17 F1 18 D41 LOW 18 LOW C2 19 D18 F2 19 D42 LOW 19 LOW C3 20 D19 F3 20 D43 LOW 20 LOW C4 21 D20 F4 21 D44 LOW 21 LOW C5 22 D21 F5 22 D45 LOW 22 LOW C6 16 D22 F6 16 D46 LOW 16 LOW C7 17 D23 msb F7 17 D47 msb LOW 17 LOW LVAL 24 LVAL L...

Page 12: ...5 D3_7 msb H3 5 D7_2 A7 6 D0_6 E1 6 D4_0 H4 6 D7_3 A8 7 D0_7 msb E2 7 D4_1 H5 7 D7_4 B1 8 D1_0 E3 8 D4_2 H6 8 D7_5 B2 9 D1_1 E4 9 D4_3 H7 9 D7_6 B3 10 D1_2 E5 10 D4_4 H8 10 D7_7 msb B4 11 D1_3 E6 11 D4_5 I1 11 D8_0 B5 12 D1_4 E7 12 D4_6 I2 12 D8_1 B6 13 D1_5 E8 13 D4_7 msb I3 13 D8_2 B7 14 D1_6 F1 14 D5_0 I4 14 D8_3 B8 15 D1_7 msb F2 15 D5_1 I5 15 D8_4 C1 16 D2_0 F3 16 D5_2 I6 16 D8_5 C2 17 D2_1 F...

Page 13: ... GmbH 1 3CL CAMMC1362 3 RG 2020 2 12 CameraLink bit assignments Assignment of adjacent pixels D2 27 D3_1 LVAL 27 LVAL LVAL 27 LVAL TxClk TxClk TxClk Plug 1 Camera Link X Plug 2 Camera Link Y Plug 2 Camera Link Z ...

Page 14: ...Power information Profile processing Write user or power up profile Load user or power up profile Load factory profile Output modes CameraLink output mode Set pixel clock Image adjustment Black level FPN correction Image size position and shape Define a region of interest Frame rate and shutter time Setting the frame rate Setting the shutter time Dynamic range adjustment Exposure control ...

Page 15: ...se sensitive All commands will immediately be executed Answers are received by read commands e g v w All commands return the actual value by sending as parameter Some commands return the actual possible value range In case the command acknowledge flag is set an ACK acknowledge or NAK not acknowledged will be received after writing Wrong commands are not executed All unknown commands will return NA...

Page 16: ...wer Comment A x A x y n Y N 1 y n2 set acknowledge flag to yes or no b x b x 0 4 1 x 2 select baudrate 0 9600 default 1 19200 2 38400 3 57600 4 115200 B OK or ERROR xxxx2 send last error to PC max 45 chars c 1 reset camera and load power up profile d aaa bbb ccc ddd d aaa x start 0 600hex bbb y start 0 6AChex ccc x width 78 6A0hex ddd y height 1 6AEhex 1 aaa bbb ccc ddd 2 set ROI start and end pos...

Page 17: ...operation N x N x 0 1 1 x 2 enable 1 or disable 0 FPN correction p n n 0 7 c 1 save actual profile in bank n takes about 2 sec bank c power up profile q xxxxxx q xxxxxx 1 2c308hex 1 xxxxxx ss zzzzzz 2 set framerate get actual framerate and possible framerate range for actual ROI R xx R xx 3c 41 46 4b 50hex 1 xx 2 reduce pixel clock from 80 MHz to 60 65 70 or 75 MHz t xxxxxx t xxxxxx 2 F4240hex 1 x...

Page 18: ...4 B2 02 V1 18 F1 10 G0 09 The example response can be read as follows The response is followed by a CR 0x0d trailer 3 2 2 Camera identifier The camera identifier offers information about the camera type and its functions It consists of 8 Bytes which are delivered as 16 ASCII characters Command V v Snr Boot App FPGA2 send serial no and versions to PC V Cameratype ID2 send cameratype and ID to PC Sy...

Page 19: ...d T Response e g 34 The answer corresponds to 34 C It is followed by a CR 0x0d trailer The temperature sensor delivers values from 128 to 128 C 3 2 4 Power information The camera disposes an internal voltage and current sensor that can be read out The values are delivered as decimal ASCII charac ters Command U Response e g 12032 X 0 for current in mA X 1 for voltage in mV X 2 for power consumption...

Page 20: ... be loaded into the volatile camera profile Any change of a specific register via the serial interface is immedi ately processed and written into the camera profile Its content will be lost as soon as power is switched off If you want to keep your changes you have to write them into one of the profiles of the non volatile memory In order to handle profiles the specific write and load commands for ...

Page 21: ...ofile can be loaded into the actual camera profile Command g n Parameters n 0 7 3 3 3 Load factory profile One of eight factory profiles can be loaded into the camera profile Command f n Parameters n 0 7 NOTE The eight factory profiles are read only profiles 3 4 Output modes There are output modes that can be changed the CameraLink mode and the pixel clock value used with it All modes can be chang...

Page 22: ...nk interface Except in mode no 6 75 MHz the pixel clock values are preset to 80 MHz These default frequencies get the highest possible speed out of the camera Info Note that a reduced pixel clock value reduces the maximal frame rate Check the reduction with the frame rate command q In case the frame grabber does not accept these pixel clock values or a long cable especially a low quality cable is ...

Page 23: ...osed pixels This non uniformity is caused by the sensor but can be reduced with FPN correction 3 5 1 Black level Black level defines the brightness in the darkest part in the image Possible black level settings are values between 50 and 200 The value 80hex is the factory calibrated value It will result in a pixel value slightly 0 for black and ensures that no information will be lost in dark image...

Page 24: ...he picture will be more homogeneous but has a reduced dynamic FPN correction offers a column correction only A pixel correction of the full frame has to be executed by the frame grabber or the imag ing processing software NOTE If the FPN correction of the frame grabber or image processing software is used switch off the camera s FPN correction Afterwards store an image of a uniform area as a refer...

Page 25: ...l the MC301x camera and make all necessary settings 3 6 1 Define a region of interest You can define the size and the position of a region of interest ROI Command d xxx Parameter aaa bbb ccc ddd see table above Response ACK NAK if A is set to Y Command d Response actual value aaabbbcccddd Block Description Value aaa Address of first pixel x start 0 600hex modulo 24 bbb Address of first line y star...

Page 26: ...ame period NOTE The programmed settings are volatile and have to be reprogrammed after each power up Example To switch on the tiles 16 and 18 in the second line use the following command Command SM009A000 Address aaa 0x009 covers the tiles 16 31 Data dddd 0xA000 in binary notation 1010000000000000 activates the tiles 16 and 18 3 7 Frame rate and shutter time Depending on the selected ROI the maxim...

Page 27: ...of the ROI and the CameraLink mode and the pixel clock Command q xxxxxx Parameter xxxxxx 000001 24155hex Response ACK NAK if A is set to Y Command q Parameter xxxxxx actual value Response xxxxxx ss zzzzzz ss minimal value zzzzzz maximal value 3 7 2 Setting the shutter time This command sets the shutter time in microseconds in free run and sync with timer mode Depending on the tap mode and the size...

Page 28: ...ues from 0 black to 255 white very bright areas with pixel values higher than the value 255 will be overexposed left picture Dynamic range adjustment will compensate this effect right picture The four blue lines in the diagram below represent analog signals of four different pixels which decrease as a result of exposure The slope is determined by the amount of light the more light the steeper the ...

Page 29: ... dark If you reduce the exposure time underex posed dark areas will appear In order to avoid both we recommend to use dynamic range adjustment with dual or triple slopes Dynamic range can be extended by the dual triple slope procedure Suppose dual slope is selected the dynamic range adjustment value is set to 80 and exposure time amounts to 1000 µs In this case the analog signal of p3 and p4 will ...

Page 30: ...ing triple slopes there will be a third reset level The ideal dynamic range adjustment values depend on the brightness of the motif Info The MC ControlTool allows to adjust all values comfortably You have three setting options Switch the function OFF Set dual slope and define the time in percent after that the level will be reset Set dual and triple slope and set both times Command i s x ...

Page 31: ... xx 1 63hhex dual or triple slope in per cent Response ACK NAK if A is set to Y Command i s Response x number of slopes or xx yy zz xx actual value yy minimal value zz maximal value With activated slopes the bright pixels will be reset after xx per cent of the shutter time NOTE The dual value has to be smaller than the triple value Depending on the mode ROI and on the shutter time the first slope ...

Page 32: ...lso the timing diagrams in the technical data section of this manual Command h Select exposure mode Command H Trigger edge select Command t Set exposure time 3 9 1 Type of exposure The following commands select exposure type Mode description Mode Edge Shutter time Free run with electronic shutter h0 t xxxxxx Pulsewidth positive edge h1 H0 Pulsewidth Pulsewidth negative edge h1 H1 Pulsewidth Extern...

Page 33: ... CC1 signal The exposure of the next image can be started while the last image is transferred or at a later time 3 9 4 External sync with internal timer In this mode an external signal starts the exposure and the exposed image is output immediately after the exposure ends Exposure time is defined by an internal timer The exposure of the next image can be started while the last image is transferred...

Page 34: ... pixel val ues from 0 to 255 With x 0 the camera sends a gray scale that is slowly rolling from right to left This mode can also be used to save power consumption because the image sensor will go in standby mode Command n x Parameters 0 1 0 power down test image 1 normal operation Response ACK NAK if A is set to Y Command n Response actual setting 3 10 3 Get last error With this command the camera...

Page 35: ... Command c Response ACK NAK if A is set to Y 3 10 5 Acknowledge flag This command switches the acknowledge response on or off If set to on every write command returns an ACK 0x06 if the command was processed successfully or NAK 0x15 if the command failed to execute Command A x Parameters y Y for ON n N for OFF Response ACK NAK if A is set to Y Command A actual setting 3 10 6 Setting the baud rate ...

Page 36: ...01x RG 2020 3 35 ASCII commands instruction set Setting the baud rate Command b n Parameters 0 9600 Baud default 1 19200 Baud 2 38400 Baud 3 57600 Baud 4 19200 Baud Response ACK NAK if A is set to Y Command b Response actual baud rate ...

Page 37: ...ol which is part of the delivery Use the setup software to install the configuration tool on a Windows PC In order to download the most recent version check our web page www mikrotron de This software provides an almost self explaining user interface and is used to modify camera parameters ...

Page 38: ...MIKROTRON GmbH EoSens 3CL CAMMC301x RG 2020 4 37 MC configuration tool Info Since the serial interface is integrated in the CameraLink inter face you do not need additional cables ...

Page 39: ...itional features the firm ware can be updated Microcontroller firmware The microcontroller works with two programs the boot loader and the application program The boot loader is the basic program of the microcontroller and ensures basic functions e g communication loading application pro gram It cannot be changed or updated In standard use the cam era will not need the boot loader program It is on...

Page 40: ...tion data 5 2 Firmware update procedure NOTE Once started you cannot undo this command The firmware consists of two files MIKROTRON always provides these files in one package Be sure to always update both firmwares Do not mix firmwares of different packages Info Note that your saved power up and user profiles will be overwrit ten with standard profiles Before you start please make sure that you ha...

Page 41: ...lect the device to be updated in the drop down menu Mode NOTE Upload of ibf files via serial link takes several minutes depending on the used baud rate There should be no loss of power or communication during this time Also no other activity should be made on the PC while doing the upload Step 5 Click Select file and choose the appropriate file ...

Page 42: ... in the next section Step 10 Go back to step 4 and repeat the procedure for the sen sor FPGA Step 11 If both files are updated click the tab Info to verify the versions The new firmware version will be displayed If the version is identical to the expected one the camera will be ready 5 3 Firmware update troubleshooting If the update procedure was not successful the camera should be powered off and...

Page 43: ...ormation window Bootloader will be displayed instead of the camera name Solution Connect the camera with the tool It will automatically start with the Update µController dialog Start the microcontroller update as described above After the successful update close the dialog and the tool will restart with the connect dialog showing the camera ...

Page 44: ...MIKROTRON GmbH Landshuter Str 20 22 D 85716 Unterschleissheim Germany Phone 0049 0 89 7263420 www mikrotron de info mikrotron de Copyright 2020 Mikrotron GmbH ...

Reviews: