Home

Operating Instructions - KAMERA WERK DRESDEN GmbH

image

Contents

1. TAB 0 Correction table 0 from FLASH ROM 1 Correction table 1 from FLASH ROM 2 Correction table 2 from FLASH ROM 3 Correction table 3 from FLASH ROM 4 Not corrected frame 5 Test pattern for GAIN and OFFSET 6 Correction table 0 from FLASH ROM 7 Correction table 1 from FLASH ROM Additional inlaying of the 8 Correction table 2 from FLASH ROM main setting datas 9 Correction table 3 from FLASH ROM e X direction GAIN 10 Not corrected frame e Y direction OFFSET 11 Test pattern for GAIN and OFFSET 12 Correction table 0 from FLASH ROM 13 Correction table 1 from FLASH ROM 14 Correction table 2 from FLASH ROM 15 Correction table 3 from FLASH ROM 16 Not corrected frame 17 Test pattern for GAIN and OFFSET Additional inlaying of the 18 Correction table 0 from FLASH ROM frame size 19 Correction table 1 from FLASH ROM Additonal inlaying of the main 20 Correction table 2 from FLASH ROM setting datas 21 Correction table 3 from FLASH ROM X direction GAIN 22 Not corrected frame e Y direction OFFSET 23 Test pattern for GAIN and OFFSET x value is not changed lt value is changed according to parameter 0 value 0 etc page 57 HIGH parameter privileged command see command e Definition of the BRIGHT reference see CAL command 0x12 high low parameter parameter Length of the command 3 byte Return 1 byte Error code LOW paramet
2. 256 384 512 7 5 6 k 4 Sun 2 8 k 2 1 4 k 1 Arc lamp Wolfram filament Summer sun water Summer sun Bright sun Weak sun Sun shadow Dull winter day Lit shop window Stage lighting Street lighting Lit buildings 1024 Presentation of the calibration equation tor apertures 1 to 16 page 10 1 8 Presentation of subjects with different brightnesses When the subject luminance Log in the logarithmic form of the calibration equation is replaced by the reflection factor p and the subject brightness Eos this results in the following p Eos 1 2Ib aE 6 E 41 0 0 1 32 When illuminating two subjects with reflection factors p and p in succession with two brightnessses Eos and Eom the differences of the values Z are Difference of the numerical value AZ between subject with p and p and with brightness Eos and Fo AZ Z p Z p 32 Ib p 1b p Brightness ratios because of different reflection factors p in the subject are given as constant number differences AZ independent of the subject brightness 1 9 Assessment of the range of gray scales in the logarithmically altered frame the photographic normal subject According to statistical surveys the most often subjects have a contrast difference of 1 32 and an average reflection factor of p 0 17 These figures can be consulted when estima
3. 29 Configuration bus eee 12 Configuration interface esses 12 Configuration switch 12 32 Correction file structure 67 Correction table determine eee p nn 57 Correction table EL 29 Beschreibung LOGLUX Kamera Sachwortverzeichnis D DAC command eese nennen 40 Data interface See frame data interface Data sorting See frame data sorting Dark determine 58 delay bit eed ded 23 Description of command3 37 Dual Port RAM eee 26 Dual channel mode eee 19 E ECHO 33 EEPROM Data assignmen 54 EEPROM 54 ESCAPE sequences a etre 33 F Error codes table EE 35 De ir M WAN 14 fen 25 FEEN MSD i Idem 24 FEN command kk kek 50 feninv 25 Fixed Pattern NoOlSe keke 5 Correction of the 5 Tn N N MM I 52U 7 FPN ND Dn See Fixed Pattern Noise Frame data interface ee 13 Mi Lor Ta eerte 15 Feeder cable eere nnn 16 Frame file 10bit structure
4. 68 Frame data SOrting eee 26 FRAME POS command 46 FRAME SIZE command 44 FRAMETRIG eene 14 Function KeyS m m 33 GAIN command e 62 GAIN ak kn a Kul eat 40 Gray SCALE pe perte va ci q k s v 11 Gray bit HD RG LE AE 17 avane e RS 23 Giay Codes m Dr 17 HDRC 42 HDRC4 sensor Description of functions 17 HEX control nee wein 29 34 HIGH command eere 58 Histogramm for 5 68 I PC bust E tuit 71 INTERFACE command 55 page 72 5232 6 Avast hese 55 Irradiance H 6 8 L LED signalih ae erode e o 31 left right mirror asoson See lrm essc RONDA 14 len DIS A ee Dr nee 24 LEN r sister oerte 24 LEN command 49 leniny DIU ee teet 25 Light generator automatic 71 LOAD command U EU LC ELCELELEEE EEE 64 lof erret 14 23 Low Voltage Differential Signaling See LVDS LOW command 58 S oc DEN EEDE A E tet 17 Ix tninance eee rak
5. h VSG reg 6 X offset VSG reg 7 y offset x VSG reg 8 pipedelay x VSG reg 9 chaninv feninv leninv clkinv clkoff pxlclk adcclk x e x x x x x x value is not changed lt value is changed according to parameter 0 value 0 etc page 50 CAMCLK freq polarity e Configuration of the CAMCLK signal Length of the command 3 byte Return 1 byte Error code freq Frequency in MHz Mode 0 only 2 4 8 16 Mode 2 3 only polarity 1 datas valid for HL edge data exchange LH edge 0 datas valid for LH edge data exchange HL edge The CAMCLK command determines frequency and polarity of the camera clock Configuration by the CAMCLK command Bit 8 7 6 5 4 3 2 1 0 VSG reg 0 VSG reg prediv lt gt see table VSG reg VSG reg VSG reg VSG reg un VSG reg y offset x VSG reg Pipedelay VSG reg chaninv feninv leninv clkinv clkoff pxlclk Adcclk x x x e x x x Configuration of the PREDIV register VSG reg 1 16MHz MODEO 3 2 1 o MODE23 Tq 3 1 2 1 14 9 x value is not changed lt value is changed according to parameter 0 value 0 etc page 51 Configuration examples CAMCLK LEN FEN signal at the top CAMCLK at the top CAMCLK at the top CAMCLK at the bottom LEN at the bottom LEN at the bottom LEN Configuration CAMCLK 4 0 Configuration CAMCLK 4 1 Configuration CAMCLK 4
6. complement two 3 Assigning the difference D x y P x y M according to the following scheme Range 1 if D x y lt 256 then D x y 256 if D x y gt 255 then D x y 255 gray scale x y D x y 2 128 range 2 if lt 128 then D x y 128 if gt 127 then D x y 127 gray scale x y D x y 128 4 3 2 Receiving of files in XMODEM format with the WIN3 1x WIN 95 TERMINAL VT100 emulation Windows 3 1x Terminal 1 Menu settings only when configuring the terminal for the first time 1 1 Menu Binary transmission e Activate XMODEM CRC 1 2 Menu Modem commands e Activate NONE 2 Input camera command SAVE 3 Wait for LOGLUX ready for sending a binary file 4 Menu Transmission 4 1 Menu BINARY FILE RECEIVED 4 2 Select file 4 3 OK Windows 95 HyperTerminal 1 Send camera command LOAD 1 2 2 Wait for LOGLUX ready for sending a binary file 3 Menu Transmission 3 1 Menu Send file 3 2 Select file which is to receive 3 3 activate Xmodem 3 4 OK Should any problems arise when transmitting datas transmission does not start select menu FILE PREDICATES SELECTION NUMBER CONFIGURATION PROTOCOLL page 66 4 3 3 Structure of the correction file One correction file is sent by the camera when obeying the command SAVE 0 3 and has the following structure Lengh
7. See mode 3 Reflexion 55 1585 y55 106k 7 Reflexion factor p E eee 7 11 Beschreibung LOGLUX Kamera Sachwortverzeichnis RESET command ee 38 ROT command kek 53 Row address counter 19 row left mirror See rowlm TOW right mirror eene See rowrm TOWlm Dbit ly Ge y n ea tete tt 17 rOWrm bit 17 RS232 eee e 29 PIN load RD DD erre 30 RS422 eI GTI BI BIB RI 13 31 PIN load ee nU I IURE 31 S ee e Here e tee Ue 23 SAVE command ee 65 Sensor brighness 7 Set of commands Release of extended See command Examples Sequence of commands 36 Brightness ede petet 7 CAMCLK LEN FEN signal 52 Pixel ddressing o never nien 18 Reflexion factor eese 8 Transmission rate user defined 56 Single channel mode esses 19 Standard subject photographic 11 STAT command UE EEE 63 S p DIU siniya a itc ipte oed 23 Subject brightness Eos eee 7 11 Subject luminance eee 7 11 T TAB command keke 57 TerminatoE losses U BEKE EE 13 31 Transmissions level EE 9 Transmission rate 32 user defined
8. e Enquiring the internal AD converter for test purposes Length of the command 2 byte Return 4 byte Ox17 high low Error adc_parameter adc_parameter code Error code 0 ok adc_parameter value of voltage in mV Comment e Marking of an command line as comment Length of the command 1 byte Return 1 byte Error code Error code 0 ok The command marks a command line as comment and improves the overall view of configuration files in connection with the TERMINAL menu point Send text file The camera settings are not changed during the obeying process The application is only useful in plain text mode Example Text file INO_VIS TXT for configuring the camera for a connection to an INO VISION framegrabber created with WRITE Windows or EDIT DOS INO Vision configuration 8MHz LINE FRAME Enable LOW active len 16 1 fen 0 1 camclk 8 0 x value is not changed lt value is changed according to parameter 0 value 0 etc page 61 GAIN gain_difference e Setting of a gain difference gain_difference Length of the command 2 byte Return 1 byte Error code Error code 0 ok 253 illegal parameter gain difference parameter for gain difference range 0 45 GAIN command permits to increase the gain of the video amplifier At the same time a constant difference to the value of the DAC register which is determined when calibrating
9. n 1 2 n 3 n 4 mirror bits colrm 255 x y 256 x y 255 x 1 y 256 x 1 y 255 x 2 y 256 x 2 y 255 x 3 y 256 x 3 y 255 x 4 y 256 x 4 y U S W rowrm 0 collm rowlm 0 Dual Port RAM writing port Dual Port RAM reading port Sensor access Dual Port RAM Pixel information coordinate X Y Bank Writing address Pixel information Dual Port RAM coordinate X Y Bank Reading address n 1 n 2 n 3 n 4 pah 126 127 128 129 130 ben panh n 255 510 y 1 511 y 1 255 y 1 0 y n 256 256 y 1 1 y page 28 3 Configuration of the camera LOGLUX 3 1 Introduction The device internal camera control makes it possible to set the following parameters over the configuration interface e frequency and polarity of the camera clock CAMCLK e pulse width and polarity of the row synchronuous signal LEN Line Enable e pulse width and polarity of the row synchronuous signal FEN Frame Enable e size and position of sensor half which is to read out e readout mode e infensification and offset of the video amplifier e selection of the correction t
10. tri Frame gt Data bit 2 negated ee a ewl HERE Havan Data bit 3 negated gt gt Data bit 4 negated Data bit 5 negated Data bit 6 negated i gt Data bit 9 negated Ef 3 an Bl NAM M FRAMETRIG 5 L Frame Trigger TT 585 r VE ve e gt i gt Line Enable negated Frame Enable negated jii m o page 15 2 2 3 Cable plan LOGLUX frame data interface feeder cable Twisted pair cable Z 100Q 20 line pairs screen 2x44 pole D SUB jack with plug shell jack 1 44 pole D SUB jack 2 44 pole D SUB Designation Pair no Pin no NINN N QI le QO N a 9 0 24 10 9N 2 1 2 3 4 5 7 8 E E I HN 5V D D D D D D D L O 4 Ne 5 W R lJ o Q Q QO QO NS 4A N 1 1 2 1 3 1 4 1 5 2 2 7 2 2 1 2 1 2 1 2 1 2 1 2 1 3 3 3 3 3 35 3 6 7 8 9 0 1 2 3 N 1 6 N 8 R 0 1 2 6 1 2 N 1 2 3 4 5 7 9 10 11 12 13 14 15 16 17 18 19 20 5 7 3 9 3 4 3 4 4 4 44 R ae SCHIRM Housing page 16 2 3 Description of functions HDRC4 Sensor The HDRC4 sensor combines on one chip two light sensitive CMOS arrays with column and line stucture Every array ha
11. PP C Mount plate 5 ERES TEVIDON 1 4 25 25 4 1 4 16 1 x 32 TPI 27 0 3m over lens setting ring Continuously up to approx ROTAR T4 5 29 2985 4 5 16 CMountplate 54 0 3m 5mm 1 x 32 TPI Lens extension over mount Continuously up to approx Tessar 3 5 37 5 37 5 Mount 0 2m 12mm fixed 1 x 32 TPI Lens extension over mount C Mount plate Up to 79 124mm over lens setting ring for MAKRO TY 4 49 45 3 1 32 TPI 10 Operation distance macro range 1 1 to 1 2 Continuously up to approx ROTAR T4 5 50S 50 75 45 22 C Mountplate 140 0 4m 10mm 1 x 32 TPI 3 Lens extension over mount Continouosly up to approx Tessar T3 5 50 5143 gt S Monne pIe 0 3m 14mm fixed 1 x 32 TPD Lens extension over mount Continuously up to approx Tessar T3 5 70 70 3 oe Ae Mee 10mm fixed 1 x 32 TPI Lens extension over mount Continuously up to approx ROTAR T65 75 73 5 65 22 S Mount plate aije 0 3m 11mm 1 x 32 TPI Lens extension over mount C Mount plate Yat ez TEVIDON 2 8 100 96 5 2 8 16 1 x 32 TPI 8 1 5m over lens setting ring Over adaptor for macro Heb ee 317 3 e E Moun plate bis 2 DER UO range 1 1 to 1 6 as well as makro fixed 1 x 32 TPI operation distance for co page 76 Beschreibung LOGLUX Kamera Anhang 6 3 Optical suppleme
12. 0 ok 252 access to privileged command see command The HDRC command sets the HDRC register If bit 0 4 differs between old and new register parameter the correction RAM is additionally re configured The selection of the table depends on the TAB register See TAB command Configuration by HDRC command Bit 7 6 5 4 3 2 1 0 HDRC reg lrm Resdir nores gray rowlm collm rowrm colrm e ce ce gt ce e ce e Correction table tab 8bit x Structure of the HDRC register e colrm column right mirror setting this bit the right hand half of the sensor can be mirrored around the north south axis When addressing column n column 255 n is read out rowrm row right mirror By setting this bit the right hand half of the sensor can be mirrored around the east west axis When addressing row n row 255 n is read out e column left mirror as colrm left hand half of the sensor e rowlm row left mirror as rowrm left hand half of the sensor gray Selection of the addressing code 0 binary code 21 gray code This bit is tightly connected with the gray bit VSG reg 0 bit 4 nores Suppresses the reset procedure which is processed row by row The parameter of this bit should not be changed by the user e resdir Determines the reset procedure The parameter of this bit should not be changed by the user Irn left right mirror By setting this bit the addressing of the sensor halfs is interchanged Wh
13. Converged means in this case that corresponding pixel pairs draw nearer to each other during the readout process Example converging readout Pixel coordinates in one cycle full frame n x y 511 n l x 1 y n 2 x 2 y n 3 x 3 y n 4 x 4 y mirror bits corm 1 rowrm 0 colm rowlm 0 511 1 511 2 511 3 511 4 etc Dual Port RAM writing port Dual Port RAM reading port Sensor access Pixel information coordinate X Y Dual Port RAM Bank Writing address Pixel information Coordinate X Y Dual Port RAM Bank Reading address n 1 n 2 n 3 n 4 pah pnh pmd fpd n 126 n 127 n 128 n 129 n 130 9 SS l 2 2 ben ak ken n 255 510 1 511 y 1 0 y n 256 256 y 1 1 y page 27 2 5 2 2 MODE 3 The frame datas are sorted in this way that frame datas are sorted locally correct when the sensor is read out divergently Divergent means here that corresponding pixel pairs approach to the respective edge of the frame when being read out Example divergent readout Pixel coordinates in one cycle full frame
14. LOW active Aperture motor right action LOW active End position switch 1 LOW active ZLOW end position 1 detected End position switch 2 LOW active LOW end position 2 detected BRIGHT LOW active DARK LOW active CALIBRATIO IS RUNNING LOW acktive CALIBRATION IS FINISHED LOW active SA O a Ajo r c According to the ascertained address the signals reverse right action are selected in different ways and the signals end position 1 2 are interpreted in different ways I C address Selecting scheme PCF8574 PCF8574A End position switch 1 2 Aperture motor outputs BRIGHT reverse action ZLOW End position switch 1 ZLOW BRIGHT DARK right action ZLOW End position switch 2 ZLOW DARK BRIGHT DARK reverse action LOW End position switch 1 ZLOW BRIGHT right action without meaning End position switch 1 HIGH DARK When the camera trimming is finished bit 7 CALIBRATION FINISHED is activated for approx 1s acoustic signal A determination of bit 1 2 of the address can be carried out over a DIP switch page 71 5 Glossary command 39 command ag 61 ADC command 61 adcclk bit eet 25 ADCREF register 40 ADC converting area eese 9 esee semet etat ege E ers 7 ASCII control eerte eerte n
15. constant gives the transmittance of the lens The representive figure of 0 8 is used in all further calcu lations When putting in the subject brightness Eos the relation between subject brightness reflection factor aperture and sensor brightness is received Samples for natural brightnesses Eos Illuminance Eos in Ix Sunlight summer 100000 Sunlight winter 10000 Street lighting 3 30 Workroom 40 300 Night with full moon 0 2 Inner rooms 40 150 page 7 Reflection factors for different materials Material object p l Wood bright dark 0 3 0 5 0 1 0 25 Concrete bright dark 0 3 0 5 0 15 0 25 Tar cover 0 08 0 15 Brick bright dark 0 3 0 4 0 15 0 25 Chromium polished 0 6 0 7 statistical photografical standard subject 0 17 1 6 Relation between radiation physical and light technical figures Light technical figures take the physiological brightness sensitivity of the human eye into consideration while radiation physical figures show the power aspect To be able to convert on figure into the other one the relative spectral brightness sensitivity V of the human eye is required The relation between beam power L and luminance L is 780nm L K L A V A da 2 2380 nm Kus photo metrical radiation equivalent 683 lm W L X spectral power density of radiation in interval WX relative spectral brightness sensitivity of th
16. data interface O O O O O O O O O O O O O O O O O O16 O O O 300 O O O O O O O O O 7 Til O O O O O O O O O O O DO DO D1 D1 D2 D2 D3 D3 D4 D4 D5 D5 D6 D6 QO QI ON D7 D7 D8 D8 D9 D9 LEN LEN FEN FEN CAMCLK CAMCLK OTR OTR FRAMETR FRAMETR page 75 6 2 Table Lenses for LOGLUX Designation Focal length f mm Aperture range Camera connection Beschreibung LOGLUX Kamera Anhang Recording range Distance setting On customer s demand over 0 plate co 2m LOGLAR T 2 13 13 2 2 fixed 49 Fixed settings to M16 x 0 5 Fixed focus 0 2m possible C Mount plate 8 Over lens connection DOCTAR 5 13 5 13 51 5 fixed 1 x 32 TPD 48 0 2m read On customer s demand 2 8 over 0 plate 2 3m LOGLAR 2 8 16 16 3 mi 41 We DM Fixed settings up to approx fixed M16 x 0 5 Fixed focus am posible PP over 0 plate CNET On customer s demand LOGLAR T 4 16 16 3 4 fixed 41 sated eT Fixed settings up to approx M16 x 0 5 Fixed focus w pos ibi PP over 0 plate 0 8m customer s demand LOGLAR T 8 16 16 3 8 fixed 41 Fides MM Fixed settings up to approx M16 x 0 5 Fixed focus
17. e Transmitting a file from camera to control computer par Determining the contents of the file which is to transmit File Binary file correction table 0 Binary file correction table 1 Binary file correction table 2 Binary file correction table 3 Windows BMP file Bit 2 9 of the recorded 10bit frame Palett gray scales Restricted value range 1 see below Restricted value range 2 see below Windows BMP file Bit 2 9 of the recorded 10bit frame Palett gray scales Restricted value range 1 see below Marking overshoot of range Restricted value range 2 see below Binary file single frame 10bit Text file TXT Set camera parameter ASCII code Calibration statistics Set camera parameter configuration statistics Calibration statistics for EXCEL table 10bit single frame histogramm for EXCEL Histogramm offset correction table 0 for EXCEL Histogramm gain correction table 0 for EXCEL Histogramm offset correction table 1 for EXCEL Histogramm gain correction table 1 for EXCEL Histogramm offset correction table 2 for EXCEL Histogramm gain correction table 2 for EXCEL Histogramm offset correction table 3 for EXCEL Histogramm gain correction table 3 for EXCEL page 65 Calculation of the restricted value range Processing steps 1 Calculation of the mean frame brightness M 2 Subtraction of the mean frame brightness from all 10bit pixel values
18. esee 55 nopea onI AE A 23 TRIG command kek 60 T ugBer external iieri 60 U UNDO S muet hdc 33 V M aser 8 Variable Scan Generator Siehe VSG VERSION 39 VSG Description of functions 19 VSG 43 1 terminal 29 Ww Working area of the 6 WR command erkeke kk RR 60 X X base register 4454 kile Kirde delk Leke eee kek 20 x Offset register 4 s isan elel ne ne i 20 XMODEM protocol keke 64 Descriptiofi siti r 69 Receiving of 66 Sending Of tiles aniedpenep bre es 64 Y y base he Edel 20 page 74 Beschreibung LOGLUX Kamera Sachwortverzeichnis Y offset Te PISTOL etu tede does 20 Z Zero modem cable 30 6 Appendix 6 1 Table Plug load 6 1 1 Power supply Beschreibung LOGLUX Kamera Anhang 6 1 2 RS232 RS422 Configuration interface 9 pole D Sub plug Frame data Interface Vcc In Plug LVDS 450mA Binder L rar a a EWE SURA T01 0560 P03 Pin no RS232 RS422 optinal 1 With 4 6 connected 2 RxD RxD 3 TxD TxD 4 With 1 6 connected 5 GND 6 With 4 1 connected 7 RTS RxD 8 CTS TxD 9 frei 6 1 3 RS422 LVDS Frame
19. green low luminance yellow calibration is in progress The change of luminance has to be acknowledged by pressing the button on the camera back button next to RESET The use of an automatically controlled light generator is described in chapter Operation with automatic light generator x value is not changed lt value is changed according to parameter 0 value 0 etc page 59 WR adr date privileged command see command Description of the internal EEPROMS Length of the command 3 byte Return 1 byte Error code Error code 0 ok adr EEPROM address 0 127 date 0 255 Attention This command serves test patterns only An overwriting of the internal proof totals by accident results in an initialization of the camera connected with losing all calibration data TRIG par e Switching on of the external frame trigger Length of the command 2 byte Return 1 byte Error code Error code 0 ok par 0 External frame trigger The readout of the sensor is continuously done par 1 External frame trigger ON With a rising edge on the FRAME_TRIG input one frame is read out Afterwards the camera remains in waiting state Configuration Bit VSG reg 0 8 7 6 5 4 3 2 1 0 lof sa step Ext_tri gray delay mode x x ge x x x x value is not changed lt value is changed according to parameter 0 value 0 etc page 60 ADC channel privileged command see command
20. the camera is laid down This results in a constant rise of the gain independent of the calibration results The set gain difference is considered as independent of the correction table set The connection of the parameter gain_differenz AZ and the rise of the gain results from the following equa tion AV AZ 0 136dB Example AZ 15 22 29 37 44 AV in dB 2 3 4 5 6 OFFSET offset e Setting of the brightness offset Length of the command 2 bytes Return 1 byte Error code Error code 0 ok 253 illegal parameter offset parameter of the brightness offset range 0 50 The Offset command permits a change of the frame brightness independent of the DAC offset parameter determined when trimming the camera Consequently the ascertainable brightness range can be determined in connection with a gain rise by the gain command A higher value for offset results in a darker frame The set offset parameter is valid for all correction tables STAT table privileged command see command x value is not changed lt value is changed according to parameter 0 value 0 etc page 62 Enquiring statistical parameter of the correction table table for control purposes Lenght of the command 2 byte Return 32 byte Error code 0 ok 253 unvalid parameter table correction table 0 3 With the STAT command it is possible to make a statement about the statisitical distribution of t
21. 0 LEN 4 0 LEN 4 0 LEN 2 1 Bl at the top LEN at the bottom FEN at the top LEN at the bottom FEN at the top LEN at the bottom FEN Configuration FEN 0 0 Configuration FEN 0 1 Configuration FEN 1 0 Frame size 4x4 pixel Frame size 4x4 pixel Frame size 4x4 pixel The polarity of the synchronuous signals which needs to be set depends on the type of the attached framegrabber Example ELTEC Mainz PCEye CAMA 160 CAMCLK n 0 LEN m 0 FEN na 0 INOCAP CSD CAMCLK n 0 LENn 1 FEN n 1 x value is not changed lt value is changed according to parameter 0 value 0 etc page 52 ROT e Rotation of the frame about 180 Length of the command 1 byte Return 1 byte Error code Configuration of the ROT command Bit 8 7 6 5 4 3 2 1 0 HDRC reg lrm Resdir nores gray rowlm Collm rowrm colrm e x x x e e e e MIR Mirroring of both sensor halfs Length of the command 1 byte Return 1 Byte Error code Configuration of the MIR command Bit 8 7 6 5 4 3 2 1 0 HDRC lrm Resdir nores gray rowlm collm rowrm colrm e x x x x e x e x value is not changed lt value is changed according to parameter 0 value 0 etc page 53 e Readout of the internal configuration eeprom Length of the command 1 byte Return 130 byte OxOF Contents Contents Contents Contents Contents Error code Adr 0x00 Adr 0x01 Adr 0x02 Ad
22. 00 ok In case of an error the process is interrupted and the error code is sent to the control computer via the configuration interface page 34 Table Error codes Error code Description Decimal Hex Command is properly obeyed 1 127 01 0 7 Marking byte m data bytes follow see table below Command sequence too long OxF9 Set frame format or frame position cannot be adjusted in the selected readout mode 2 251 2 253 254 5 8 9 0 OxFA Set pixel clock frequency cannot be adjusted in the selected readout mode 2 24 25 5 5 5 2 If the command includes the sending of datas to the control computer e g enquiring the software version these datas are sent before the respective error code marking by the error code 1 127 The sent marking byte corresponds to the error code of the command which effects the sending of further data bytes The number of data bytes following the marking byte comes from the marking byte in accordance with the following assign ment Assignment marking byte command code number m of the following data bytes Marking byte number m of the following data bytes 0x01 VERSION OxOF EEPROM 12 0x17 ADC 1 STAT 0 A definite analysis of a return data sequence is possible according to the following diagramm Send command sequence cancel no DO Input data byte date IF date lt 128 or date gt 0 Determine from date number Input number of da
23. 175 175 page 18 collm rowlm colrm rowrm collm rowlm colrm rowrm collm rowlm colrm rowrm collm rowlm colrm rowrm collm rowlm colrm rowrm column right mirrored 0 1 column left mirrored 0 0 0 0 1 row right mirrored 1 row left mirrored column right mirrored 1 row right mirrored 2 4 Description of functions VSG Variable Generator VSG is a programmable address generator It provides the address control and synchronous signals required for reading out the sensor 1 addresses of rows and columns 2 LEN FEN CAMCLK signal for frame data transfer 3 Control signals reading and writing addresses for data sorting 2 4 1 Generation of the column and row addresses There are two different ways possible for reading out the sensor Single channel mode Mode 0 The frame information of two pixels is gained in every addressing cycle However the infor mation of one pixel is warped afterwards The order of the pixel coordinates read out of the sensor corresponds to the order of the image datas given out Dual channel mode Mode 2 3 The image information of two pixels is gained in every addressing cycle The order of the pixel coordinates read out of the sensor does not correspond to the order of the image datas given out Therefore an image data sorting is absolutely necessary 2 4 2 The column and row address counter VSG contains a 9bit column
24. ABLE signal as multiple of the signal CAMCLK Configuration by the LEN command Bit 8 7 6 5 4 3 2 1 0 VSG reg 0 lof sa Step ext trig gray delay mode x x x x x x x ss el EE lt gt see table x_base VSG reg N VSG reg VSG reg Ww A VSG reg x y_base x x_offset VSG reg a VSG reg x y offset x pipedelay MEN chaninv feninv leninv Clkinv clkoff pxlclk adcclk x x VSG reg 2 LEN register MODE 0 MODE 1 2 3 Clocks 2 VSG reg oo VSG reg VSG reg x value is not changed lt value is changed according to parameter 0 value 0 etc page 49 FEN rows polarity Configuration of the FRAME ENABLE signal Length of the command 3 byte Return 1 byte Error code clocks Length of the FEN signal number of rows of the FEN signal during its inactive phase rows 0 FEN becomes inactive in addition to LEN for frame synchronization zeilen gt 0 FEN becomes inactive for rows for frame synchronization polarity 1 FEN H active 0 FEN L active The FEN command determines length and polarity of the FRAME ENABLE signal during its inactive phase Configuration of the FEN command 8 7 6 5 4 3 2 1 0 lof sa Step ext gray delay mode x x x x x x x Bit VSG reg 0 VSG reg 1 x VSG reg 2 len _ S3 ___ VSG reg 3 fen wey prediv VSG reg 4 x_base VSG reg 5 y_base
25. ASE parameters 0 running frame mode The sensor is continuously read out step Reg 0 bit 6 1 single step operation The single step operation can only temporary be used by the camera internal func tions sa Reg 0 bit 7 camera internal functions lof Reg 0 bit 8 0 The LEN signal is switched inactive during the row synchronization phase 1 The LEN signal is switched inactive during the row or frame synchronization phase len or fen prediv Reg 1 bit 0 1 predivider setting for frame data clock MODE 0 MODE 2 3 8MHz 16MHz 4MHz 8MHz 2MHz 4MHz 1MHz 2MHz page 23 2 4 5 PIPELINE DELAY register VSG reg 8 Pipeline ADC are used for the frame data conversion in LOGLUX cameras What makes these AD converter stand out are their low power consumption The AD conversion is carried out by the operating principle above mentioned in several steps 2bit information are obtained during every step in this case A temporal shift of 5 clocks with 10bit ADC resolution between the analog input figure and the converted digital word on the data exit results from this The sketch shown below gives the architecture of such a cascade transformer in principles Analog Sample amp Hold Sample amp Hold I eH re Te CHD EX 2bit 2bit 2bit Digital OUT In order to balance the temporal shift between the sensor addressing and the data sorting the PIP
26. DATA QUANTITIES keke nennen nnne nnne 64 4 3 1 The transmitting of files in XMODEM format with the WIN3 1x WIN 95 TERMINAL VT100 Imy Sae 64 4 3 2 Receiving files XMODEM format with the WIN3 1x WIN 95 TERMINAL VT100 emulation Ionio GE SS EEE eoi s tiet ee egies 66 4 3 3 Structure of the correction 67 4 3 4 Structure of a 10bit image file 68 4 3 5 Structure of a text file for infixing it into a MS EXCEL table eese 68 4 3 6 Description of the XMODEM control protocol eese eene 69 page 3 4 3 6 1 General features N N os P odes Pb een Fe e av een Pob aeos Fe ep e Eb eas Feb PR dod 69 4 3 6 2 XKMODEM protocol i505 3 54 npe W K n awe raan b ue ae Keke eee eed en R Ke na b a Re K N 69 4 3 0 3 XMODEM GRE protocol ete eee ete nee RR HERA K NA VR KERI PRSE ATE a H n A eus K NE DE N KNK ANE KEREK 70 4 4 OPERATION WITH AUTOMATIC LIGHT GENERATOR ccccccesssecceceecceceeceueecceseeccessuaeceseeecceeeseeeueeseees 71 5 GLOSSARY eese FEHLER TEXTMARKE NICHT DEFINIERT 6 1 TABLES PEWGALOAD 5 ei Rte ibm bee E E E 75 6 1 1 Power Supply ssc E 75 6 1 2 RS232 RS422 confi guration interface V RA WL u H ka s 75 6 1 3 RS422 LVDS frame data in
27. DE 0 1 MODE 1 2 3 0 Low byte X coordinate 0 255 Y coordinate 0 255 The command FRAME_SIZE determines the position of the upper left hand corner of the image This depends on the readout mode set see command MODE The following commands are valid with reference to the varying coordinates e MODE 2 3 Y coordinate is variable only 0 255 X coordinate is ignored e MODE 0 the selection of the frame position is completely free Configuration by the FRAME_POS command Bit VSG reg VSG reg VSG reg VSG reg VSG reg VSG reg VSG reg VSG reg VSG reg VSG reg 0 8 7 6 5 4 3 2 1 0 Lof sa step ext trig gray delay mode prediv MENU lt 4 x base MODE 0 X MODE 2 3 x 5 y base ex 6 x offset 7 y offset oo pipedelay ER EE chaninv feninv leninv clkinv clkoff pxlclk adcclk x x x x x x x o x value is not changed lt value is changed according to parameter 0 value 0 etc page 46 m e Determination of readout mode Length of the command 2 byte Return 1 byte Error code Error code 0 ok m 249 symmetric frame area A switching from single channel mode to dual channel mode is only possible when an axial symmetric frame area is set 250 The CAMCLK frequency selected before is not random in the readout mode set e g 1MHz selected afterwards command MODE 3 Mode 0 2 3 The readout mod
28. E it is possible to send command groups e g setting for certain types of framegrabbers The file which is to be sent can be created with any editor e g EDIT WRITE Example Setting of the camera clock signal for ELTEC framegrabber PCEye with CAMA 160 configuration ELTEC framegrabber len 16 0 fen 0 0 pixel clock 4MHz camclk 4 0 3 7 Camera control in HEX mode Is the configuration switch in setting 4 12 or 14 the camera can be configured in plain text mode This mode permits the control with a minimum of characters transmitted Every command has a capacity of 4 byte maximum That is why the configuration interface has to be programmed to a transmission of 8 bit data capacity Furthermore it is possible to transmit command sequences as datagrams which are sequentially processed A datagram command sequence has always the following structure Byte 0 Byte 1 Byte 2 Byte 3 Byte n 1 Byte Byte 0 includes the length of the command sequence An empty sequence has the sequence length 0 Structure of an command 1 byte command Command code 2 byte command 3 byte command 4 byte command The length of the instruction results from the command code Is an command or an command sequence pro cessed a return data sequence consisting of 1 byte minimum only error code is produced Is an command sequence processed the following command of this sequence is only then obeyed if this command produces the error code 0x
29. ELINE DELAY register has to be loaded with a circuit specific constant PIPELINE DELAY number of clocks required for the conversion 2 The figure for the PIPELINE DELAY register is for the camera LOGLUX 5 and must not be changed by the user because this figure is a system constant PIPELINE DELAY 3 2 4 0 Configuration of the frame data transmission control protocol by the LEN FEN and MEASURE register Table LEN FEN and MEASURE register Bit 8 7 6 5 4 3 2 1 0 len Reg 2 bit 0 7 Length of the inactive phase of the LEN signal with row synchronization Length of the LEN signal in number L CAMCLK clocks MODE 0 L len MODE 2 3 L 2x len page 24 fen Reg 3 bit 0 7 e Length of the inactive phase of the FEN signal with frame synchronization Lenght of the FEN signal in number Z rows For fen 0 During the frame synchronization the FEN signal is in addition to the LEN signal inactive for the same period of time For fen z0 Z fen adcclk pxlclk Reg 9 bit 0 1 e Switching off the internal clock signals set bits always 20 clkoff Reg 9 bit 2 e Switching off the frame clock CAMCLK This function is only used camera internally set bit always 20 clkinv Reg 9 bit 3 e Determination of polarity of the CAMCLK signal clkinv 0 frame datas with LH signal edge of the CAMCLK signal is valid data change with HL single edge clkinv 1 frame datas with HL single edge of the CAMCLK signal i
30. F register standard parameter 128 252 access to privileged command see command GAIN register The intensification of the video amplifier results from the following equation V dB 20dB value 6 78 107 4 0 381 19dB AV db Avalue 0 136dB Examples Value ADCREF register The difference between HIGH and LOW reference range of converter of the video ADC results from the following equation AU 312mV value 5 56mV Examples Value 100 128 150 200 255 868mV 1146mV 1424mV 1730mV x value is not changed lt value is changed according to parameter 0 value 0 etc page 40 channel switch privileged command see command e Setting of a multiplex channel Length of the command 3 byte Return 1 byte Error code channel number of the channel 0 1 schalter switch position 0 3 error code 0 ok 252 access to privileged commands see command The MUX command activates the camera internal analog multiplex channel This command can be used for test purposes only and has no influence on the camera configuration x value is not changed lt value is changed according to parameter 0 value 0 etc page 41 HDRC parameter privileged command see command Loading the HDRC register Length of the command 2 byte Return 1 byte Error code parameter parameter of the HDRC register 0 255 error code
31. Function keys for Windows OFF All commands are input in plain text The data sender keyboard operates independently of the receiver because the camera transmits a character echo itself Small letters are automatically shifted into capital letters All printable ASCII characters 0x20 0x7F are analyzed as well as the following control characters and ESCAPE series M OxOD carriage return CR RETURN button ESC OP Ox1B Ox4F 0x50 F1 button ESCOQ Ox1B Ox4F 0x51 F2 button ESCOP Ox1B Ox4F 0x52 F3 button ESCOQ Ox1B Ox4F 0x53 F4 button ESC A Ox1B Ox5B Ox41 T button ESC B Ox1B Ox5B 0x42 button ESC C Ox1B Ox5B 0x43 button ESC D Ox1B Ox5B Ox44 Taste The data receiver display must be able to process the control characters given below in addition to all printable ASCII characters 0x20 0x7F M OxOD carriage return CR Cursor to the beginning of the line H 0x08 space BS Cursor one character to the left J OxOA line feed LF Cursor one character downwards AG 0x07 bell BEL Acoustic signal Layout of function keys F1 BACKUP Saving the present configuration F2 UNDO Setting of the configuration saved F3 Display of the configuration F4 Single frame statistics Commands and parameters are seperated by blanks parameters from each other by a comma COMMAND parameter parameter2 Example CAMCLK 16 0 page 33 When using the terminal function SEND TEXT FIL
32. GLUX 12 2 1 SURVEY OF FUNCTIONS 0 s00csccccccescsevesvecccnccesssesscocceccessorseseceteecassesssesedeecessesssescseceoussessescceeecssesssccs 12 2 2 FRAME DATA INTERFACE OF THE CAMERA LOGLUX eerte tette tete terere tton 13 2 2 1 Descripiionthe interface nee eti dete tn eet tease ee tee tt oa qt 13 2 2 2 Pin load of the LOGLUX frame data interface 15 2 2 3 Cable plan LOGLUX frame data interface connecting cable es 16 23 DESCRIPTION OF FUNCTIONS HDRC4 SENSOR KK KK KK KK nennen 17 2 4 DESCRIPTION OF FUNCTIONS VSG VARIABLE SCAN GENERATOR kk kek kk eke 19 2 4 1 Generation of column and row addresses eese eese eene nnne 19 2 4 2 Column and row address 19 2 4 3 Configuration of X Y BASE and X Y OFFSET register eese 20 2 4 3 1 MODE 0 single channel mode ceecccceeeseeceseneeeeseneecesseecesseeeeseeecesseeeessneeceseeeeesseeeessneeeeseeeeess 20 2 4 3 2 MODE 2 dual channel mode 1 20 2 4 3 3 MODE 3 dual channel mode divergent nennen nnne rennen 21 2 4 4 Configuration of the MODE and PREDIV register VSG reg O 1 LLE Ere 22 2 4 5 The PIPELINE DELAY register VSG reg 8 L 24 2 4 6 Configuration of the frame data transmission control protocol by the LEN FEN and MEASURE registet i
33. N TRIG e Commands for determining the frame size and position RESET FRAME_SIZE FRAME POS ROT MIR e Matching and test commands HIGH LOW CAL WR Enquiring the camera status VERSION EEPROM ADC Register commands VSG MUX HDRC DAC 4 2 Structure of the command description COMMAND e Abstract Return Error code Length of the command 1 byte Name of the command for plain text mode Abstract of the commands Coding of the command in HEX mode Return sequence Command length x value is not changed lt value is changed according to parameter 0 value 0 etc page 37 RESET Reset of all camera settings Return Error code Length of command Ibyte The RESET command allocates all variable configuration parameter with a defined value and re initializes the correction RAM When calling the RESET command the following MACRO is started DAC 0 150 DAC 1 140 DAC 2 128 DAC 3 128 MODE 0 TAB 4 Configuration Bit 8 7 6 5 4 3 2 1 0 HDRC VSG reg 0 VSG reg 1 VSG reg 2 VSG reg 3 VSG reg 4 VSG reg 5 VSG reg 6 x_offset 511 VSG reg 7 y_offset 255 3 VSG reg 9 chaninv feninv leninv clkinv clkoff pxlclk adcclk 0 1 1 0 0 0 0 150 140 128 128 Correctur table tab 8bit 4 The contents of the DAC Backup register and the matching references remain unchanged x value is not changed lt value is changed according to parame
34. Operating Instructions HDRC4 camera LOGLUX Kamera Werk Dresden GmbH Operating Instructions LOGLUX Kamera Werk Dresden GmbH Bismarckstr 56 01257 Dresden Last changes November 5 1998 November 9 1998 November 16 1998 November 19 1998 December 18 1998 Table of Contents 1 N 2 A Becr 5 1 1 THE BINARY EOGARIEHM 32 Bos Lae Que PAS bees Dek bus bkan Eva ee WAN Ka 5 1 2 EHEFIXED PATTERN NOISE zk i eet eee e E eee ean weeds enue axak 5 1 3 CORRECTION OF THE FIXED PATTERN NOISE wosccccccccssssssssseecccccceceesecccceeeaaueecssseeeccceeesauaecesessaaaneeeseeeesees 5 14 RADIATION PHYSICAL DETERMINATIONS 6 1 5 LIGHT TECHNICAL CONNECTION BETWEEN SUBJECT AND SENSOR BRIGHTNESS 7 1 6 RELATION BETWEEN RADIATION PHYSICAL AND LIGHT TECHNICAL QUANTITES 8 1 7 CALIBRATION EQUATION eerte et ev ELTE kw Rv ak R ee VA T nek ba INS 9 1 8 THE PRESENTATION OF SUBJECTS WITH DIFFERENT 11 1 9 ASSESSMENT OF THE GRAY SCALE RANGE IN THE LOGARITHMICALLY ALTERED FRAME THE NORMAL PHOTOGRAPHIC SUBJECT ecc k r Sen V n Ee eet eee i puse oa exeo Ua R v euet sun ke 11 FUNCTIONAL ARCHITECTURE OF THE CAMERA LO
35. Y A X da Y_OFFSET direction Y 511 255 2 4 4 Configuration of the MODE and PREDIV registers VSG Reg 0 1 By configuring the MODE registers the readout mode and further essential working parameters of the camera are determined Readout mode Pixel clock frequency Single step operating External image triggering Selection binary gray addressing OR concatenation of the synchronous signals System internal settings page 22 Table MODE PREDIV register VSG reg 0 1 Bit 8 7 6 5 4 3 2 1 0 Description mode Reg 0 Bit 0 1 2 The mode bits determine the readout mode Only three of all eight possible variants are useful for the programmer MODE 0 2 3 MODE 0 mode 000b MODE 2 mode 010b MODE 3 mode 011b delay Reg 0 Bit 3 The delay bit controls the moment of the row and column address change It is set by the camera internal software to 1 and should not be changed gray Reg 0 bit 4 1 row and column addresses are generated in the gray code 0 row and column addresses are generated in the binary code In order to ensure a correct sensor addressing the figure of the gray bits has to corres pond with the gray bit of the HDRC registers The camera internal software mainly operates with gray addressing gray 1 trig Reg 0 bit 5 1 single frame mode A LH single edge on the external triggering entry starts one readout of the sensor with the current X Y_OFFSET and X Y_B
36. able In order to make the camera configuration easier for the user the internal software offers two opportunities 1 ASCII plain text control 2 HEX control The selection of the way of controlling and of the interface specific parameter is effected by the configuration switch on the camera back LOGLUX cameras have a RS232C V 24 configuration interface as standard All parameters declared are not erased when switching the camera off and are automatically set when switching the camera on or when pressing the RESET button It is therefore possible to use the camera independently of a configuration computer or to do the configuration only when installing the camera Requirements for the camera configuration 1 Configuration computer with serial interface e g COMI PC 2 VT100 terminal or special configuration software 3 1 zero modem cable 3 2 RS232C Configuration interface The camera internal RS232C interface is equipped with an IC MAX3232 and attends the signals TxD RxD CTS and RTS The signals DTR DSR and DCD are internally connected For controlling the data transmission the hardware RTS CTS control protocol is applied The transmission rate the number of stop bits and data bits as well as the parity bit can be selected with the configuration switch see below At the same time it is possible to define the interface parameters completely free or from a default selection The 9 pole D SUBm plug located on the camera ba
37. and an 8bit row counter Start and offset constants of the counter are programmable over register The X Y_BASE register contains the start constants of the respective counter The resetting is carried out after reaching the count X Y_BASE X Y_OFFSET Example X_BASE 100 X_OFFSET 100 Capacity of the column counter 100 200 101 columns X_BASE 100 X_OFFSET 100 Capacity of the row counter 0 255 256 rows Whole image area X_BASE 0 X_OFFSET 511 Y BASE 0 Y OFFSET 255 Table VSG register 4 7 Bit 8 Y 6 5 4 3 2 1 0 page 19 2 4 3 Configuration of X Y_BASE and X Y_OFFSET register 2 4 3 1 MODE 0 single channel mode In readout mode 0 the position and size of the frame which is to read out can be selected completely free The coordinates of the top left hand frame corner are determined by the X Y_BASE register pair the size of the frame by the X Y_OFFSET register pair X_BASE X_OFFSET 0 0 Y_BASE gt lt Frame which is to read out Y_OFFSET Y 511 255 Configuration of the mirror bits for an upright non reverse image colrm 0 rowrm 0 collm 0 rowlm 0 2 4 3 2 MODE 2 dual channel mode converging The left hand sensor half is exclusively addressed in dual channel mode Corresponding pixel of the right hand half are read out parallel and afterwards correctly sorted in the image data stream To get an converging readout the columns of the right ha
38. asing LH edge of the signal The signals CAMCLK LEN and FEN can be configured as HIGH or LOW active LEN FEN CAMCLK commands refer to tabel of commands wax 1 AS maa Tar Ta 6 HE D Tew mena Tar Te Tip meaning lof bit refer to VSG Reg 0 Bit 8 The signal FRAMETRIG can be used for the external frame synchronization refer to command TRIG table of commands The symmetric entry selects a LVDS DS90LV032 or RS422 DS26LV32 receiver and is closed with 1000 When the external trigger is switched on command TRIG 1 the frame readout process is started with every increasing LH edge After finishing the readout process the camera returns to the waiting state The status of the FRAMETRIG signal is ignored during the readout process page 14 222 Pin load of the LOGLUX frame data interface The frame data interface is located on the camera back 44 pole D SUB jack Data bit 0 r lt mem 2 Data bit 1 Dau 70007 pem EEE 8 55 mei b k L TT 700007 n gt gt gt gt gt Data bit 7 j Data bit 8 Data bit 9 a LU RN _ i ELM Frame Enable CAMCLK semi SELL Bp us qur _ Data bit 1 negated II t i gt gt Camera Clock Ht
39. ck has the following pin assignments page 29 RS232 connection 9 pole D SUB plug DCD DATA CARRIER DETECTED m p BER t Se RxD d amp dh 1 E JJReeivdaas Pp TA toes das DATA TERMINAL READY ELT RUM ___ and DSR connected GROUND DATA SET READY with DCD and DTR connected pep E RING INDICATOR Not connected A cable zero modem cable with the connections mentioned below is necessary to connect the camera with the configuration computer List of connections for the zero modem cable Jack 1 RxD RTS CTS DTR DCD DSR 9 pole D SUBw 2 BIN 3 PIN 7 PIN 8 PIN 4 1 PIN 6 e Jack 2 TxD RxD CTS RTS DSR DTR DCD 9 pole D SUBw PIN 3 PIN2 PIN 8 PIN 7 PIN 6 PIN 4 1 PIN 5 LWL interface IO Fiber Optic DC IN configuration i Power switch O OJ supply A CO uia RS232C 8008 00000 1 9 NY Reset button PX Configuration interface back side of the camera page 30 3 3 RS422 Configuration interface optionally The configuration interface can optionally be equipped with a RS422 driver MAX3488 The interface operates without a hardware control protocol in this case only RxD RxD TxD TxD The D Sub plug was wired in this way that a zero modem cable of a RS232C interface can further be used for communication To make a data transmission over longer distances possible the sy
40. cksum for the XMODEM CRC control protocol 2byte 1 Data block crc 0 FOR z 0 TO 127 crc crc 256 xor crctabelle crc 256 xor data byte z The Array crctabelle is a constant Its contents can be calculated when following these instructions FOR i 0 TO 255 a 0 k i 256 FOR j 0 TO 7 IF k xor a and 0x8000 lt gt 0 a 2 xor 4129 ELSE a 2 k k 2 crctabelle i a The checksum is transmitted in the order HIGH byte LOW byte page 70 4 4 Operation with automatic light generator The control software of the LOGLUX camera permits the attachment of an automatic light generator to the camera internal bus A 5 pole JST plug CON6 which is on the circuit 6000 1 0400 H8 board from index C on is proveded for this and has the following load SCL clock bus SDA data signal bus free DV3 3 1 2 3 GND 4 5 The initialization routine looks on the bus for connected subscriber with the addresses 0x40 0x42 0x44 0x70 0x72 and 0x74 If a subscriber is found in one of these addresses the following message appears in plain text mode Light generator addr address The calibration routine command CAL takes on an 8bit port on this address Consequently the use of the Philips port PCF8574 or PCF8574A is possible The single bits of the IO port are described selected or enquired as shown below Input output Aperture motor reverse action
41. e UE Wan kevi ka Eu kab 7 13 M Marking byte sy X4y Kesik H NAYE yi n ley n b e 35 MEASURE register eee 24 MIR command LUL LELELEEE EEE 53 Mirror Dib eee eite RED 17 inode bits eiie dec deco 23 MODE register eee 22 Mode 0 55 ce eet Re eee eoe 19 Mode 2 Rente wee 19 Mod amp g37 esed ene ehe 19 MODE command keke 47 MUX command 41 O OctavyO SKID eite testen ene 5 OFFSET register 0 s ccsescsesesseseesensenesenenees 40 OFFSET command UULULELEEEEEEEEEAEUEU 62 Offset voltage nee epe iet 13 P dez c y E dete eie etes 32 Pipeline ADC 24 PIPELINE DELAY register 24 Plain text control See ASCII control Power densitiy 8 PLE CIV bits ise 23 PREDIV register e isses onore 22 Protocol 29 pxlclk Dit ie i nt rhet 25 Q Quantities light technical eere 8 radiation physical 8 R Radiation density g 8 Radiation equivalent photometric 8 Radiation physical determinations 6 Readout converging See mode 2 Readout divergent
42. e can be determined with the command MODE MODE 0 single channel mode MODE 2 dual channel mode both halfs of the sensor are convergingly read out MODE 3 dual channel mode both halfs of the sensor are divergently read out The following parameter remain Frequency fcauctk Number of clocks LEN FEN Polarity CAMCLK LEN FEN Frame size and position Configuration Bit 8 HDRC reg 7 6 5 4 3 2 1 0 lrm Resdir nores gray rowlm Collm rowrm colrm 1 1 1 1 e e e VSG reg VSG reg x_offset e pipedelay 3 VSG reg chaninv feninv leninv clkinv Clkoff pxlclk adcclk x x x x x x x x value is not changed lt value is changed according to parameter 0 value 0 etc page 47 The register consists of the following Kr TT r x value is not changed lt value is changed according to parameter 0 value 0 etc page 48 LEN clocks polarity e Configuration of the LINE ENABLE signal Length of the command 3 byte Return 1 byte Error code clocks Length of the LEN signal number of CAMCLK clocks of the LEN signal during its inactive phase MODE 0 0 1 2 254 255 MODE 1 2 3 0 2 4 252 254 LSB of clocks is ignored polarity 1 0 L active The LEN command determines length and polarity of the inactive phase of the LINE EN
43. e human eye 400nm 0 0004 500nm 0 323 555nm 1 600nm 0 631 700nm 0 0041 All calculations for calibrating the camera refer to monochromatic light with a wavelength of A 555nm The function V A reaches its maximum of V 555nm 1 with this wavelength As exception of the integral mentioned above follows Dea W The same goes for the intensity of brightness and the irradiance E t E 683l g W page 8 1 7 Calibration equation The calibration equation gives the connection between the digitally changed numerical value Z and the lumi nance L when chosing aperture k The summing of the equations lx m TE ER E Los z 1 Conneciton subject luminance sensor brightness 4 lt ko OOF ay SES Connection radiation physical and light technical figures Ge 2 Definition ADC converting area results in the calibration equation CNN T T datum for luminance datum for aperture transmittance of the lens subject luminance in cd m digital ADC numerical value aperture The calibration equation in logarithmic form T T 32 Ib Los 2 b lt Weta page 9 2 L in cd m 1 00E 11 1 00E 10 1 00E 09 1 00E 08 1 00E 07 1 00E 06 1 00E 05 1 00E 04 1 00E 03 1 00E 02 1 00E 01 1 00E 00 1 00E 01 1 00E 02 Calibration equation
44. e of the use of a CRC checksum CRC Cyclical Redundancy Check A transmission with the XMODEM control protocol requires the possibility to transmit 8 data bits This must be done without a control with the XON XOFF control protocol In principel every data block is structured as follows ASCII characters checksum SOH Block number 255 Block no 128 Data bytes XMODEM 1byte 0x01 XMODEM CRC 2byte XMODEM and XMODEM CRC data blocks differ from each other only in their structure of the checksum 4 3 6 2 XMODEM control protocol Data transmission with the XMODEM control protocol Data sender Data receiver 1 Receiver signals standby with sending the ASCII character NAK 0x15 Cancel of the data transmission by sending the ASCII character CAN 0x18 then immediate stop of transmission Sending of a data block 132 byte Cancel of the data transmission by sending the ASCII character CAN 0x18 then immediate stop of transmission Controlling the checksum Sending the ASCII character ACK 0x06 when the data transmission is ok otherwise 0x15 Cancel of the data transmission by sending the ASCII character CAN 0x18 then immediate stop of transmission When receiving NAK the data block is sent once more otherwise sent next data block 9 Repeat steps 4 8 until all data blocks are transmitted Send the ASCII character EOT 0x04 for stoping the data transmission 11 Se
45. en addressing the left hand half of the sensor the right hand half of the sensor is read out and inverted x value is not changed lt value is changed according to parameter 0 value 0 etc page 42 VSG reg parameter privileged command see command Loading of a VSG register 0x06 reg high low parameter parameter Length of the command 4 byte Return 1 byte Error code Error code 0 ok 252 access to privileged commands see command high parameter High byte register parameter 0 1 low parameter Low byte register parameter 0 255 reg register no 0 9 Configuration by VSG command Bit 8 7 6 5 4 3 2 1 0 VSG reg reg VSG configuration register MODE register 0 LEN register 2 FEN register 3 Y BASEregister 5 X OFFSET register 6 PIPEDELAY reg 8 MEASURE reg 9 Refer to chapter 2 4 Descriptions of function VSG for an exact description of the VSG register x value is not changed lt value is changed according to parameter 0 value 0 etc page 43 FRAME SIZE x y e Determination of the frame area EE SE SEN X X Y Length of the command 4 byte Return 1 byte Error code Erroe code 0 ok high X High byte X coordinate 1 0 1 low X Low byte X coordinate 1 0 255 Y Y coordinate 1 0 255 Example FRAME SIZE 199 99 frame area 200x100 pixel The command FRAME SIZE de
46. er privileged command see command e Definition of the DARK refernce see CAL command 0x13 high low parameter parameter Length of the command 3 byte Return 1 byte Error code x value is not changed lt value is changed according to parameter 0 value 0 etc page 58 CAL table parameter privileged command see command e Calibration of the camera Length of the command 3 byte table No of the correction table in FLASH ROM aim for calibration datas 0 3 parameter 0 rough correction only correction table is described as mean value 1 OFFSET fine correction 2 GAIN fine correction 3 GAIN and OFFSET fine correction Return 1 byte Error code The CAL command serves the automatic trimming of the camera on a calibrated light generator At the same time the camera parameter are varied this way that a defined luminance results in a certain absolute value and a luminance jump leads to a defined value difference on the exit The numerical values for the high and low luminance are reconcilled with HIGH or LOW The following connection exists between luminance and numerical value 2 Z 2 le L 0 Z numerical value 10bit L luminance of the light generator in cd m Lo 4cd m k aperture of the lens Transmission degree of the lens approx 0 8 1 The setting of different luminances is required by the blinking of camera yellow red high luminance yellow
47. he Configuration switch The configuration switch is used for selecting the 1 kind of control plain text HEX mode 2 interface parameter Together with the RESET button the configuration switch is located on the camera back under a base plate The position of the configuration switch is enquired when powering up the operating voltage or after RESET i e an adjusting under running does not have immediate influence If the camera is equipped with the standard configuration switch RS232C the following interface and configuration parameter arise for the different switch positions Position Configuration Transmission mode rate 9600 Bd No parity 1200 Bd Even 1 Stop bit 1200 Bd No parity 19200 Bd No parity HEX mode User defined No external configuration conf Interface is not initialized 11 EUN e MEN o Eu E N Example plain text control 9600Bd 8bit no parity switch position page 32 3 6 Camera control in plain text mode If the configuration switch is in setting 0 3 or 13 the camera can be configured in plain text The camera has to be connected to a VT100 compatible terminal for this TERMINAL WIN3 1x HYPER TERMINAL WIN95 TERMINAL VT100 Norton Commander and the terminal software needs to be configured as follows Transmission rate 7 8 bit parity stop bit see table configuration switch Hardware control protocol RTS CTS No local echo
48. he corres ponding correction files Byte 2 31 contain the following information Meaning Sensor data Bit 0 1 selected parameter of the Bit 2 15 Difference CAL command INSTANTANEOUS DESIRED 0 rough cal 1 OFFSET value of the mean brightness 2 GAIN 3 GAIN OFFSET figures after the calibration complement on two Standard drift 68 interval sensor roughly corrected 99 interval sensor roughly corrected Standard drift 68 interval sensor fine corrected 99 interval sensor fine corrected Offset correction Mean value instantaneous value desired value 512 file 68 interval standard drift 0 when correction file is empty 99 interval 90 interval 50 interval Gain correction Mean value instantaneous value desired value 32 file 68 interval standard drift 99 interval 90 interval 50 interval x value is not changed lt value is changed according to parameter 0 value 0 etc page 63 4 3 Commands for transmitting bigger data quantities The internal software of the LOGLUX camera permits a transmission of bigger data quantities with the XMODEM control protocol The protocol provides an error control of the data transmitted The command for the XMODEM data transmission 1 LOAD parl par2 2 SAVE pars are available for certain camera setting only As the XMODEM transmission relies on 8 transm
49. ih Dee e e E e B e Ee E 24 25 FRAME DATA SORTING eene I e Idi pa 26 2 5 1 The frame data collation in single channel mode MODE 0 esee 26 2 5 2 The frame data collation in dual channel mode MODE 2 3 sse 26 2521 MODE tei bisher o e Tht Richt hibits 27 2 5 2 2 MODE EE 28 CONFIGURATION OF THE CAMERA LOGLUX ecce tntnttntntntn HK NEKE NEKENE KK tasse KAR 29 3 1 INTRODUCTIONS oss etre er etes Re e a RC T Ter RS QE HAE WEK YO ea 29 3 2 RS232C CONFIGURATION INTERFACE 2y 3 255325555 xy eese eene deed e K N ZA WE KAY e Eae ZU WE KAK M k 29 3 3 RS422 CONFIGURATION INTERFACE OPTIONALLY kk 31 3 4 SIGNAPFSEED 33 5 eH Ia eee oed ate ne TA 31 3 5 CONFIGURATIONS SWITCH ERES ES EON AR Ea ERA ER ERE ER ked 32 3 6 CAMERA CONTROL IN ASCII KLARTEXT MODE nennen eene nennen nennen eee eene nenne 33 3 7 CAMERA CONTROETIN HEX MODE 5 iienetixr P tre p ERE WE RAA D EAE OT ERE REOR EE RM P 34 DESCRIPTION OF COMMANDS o eese eoe rar eStore reee eee HHH KK KK KH HH HNH KCK KAK 37 4 1 TABEE OF COMMANDS E c REIR eroi Dev Y J ya HON eee D 37 4 2 STRUCTURE OF COMMAND DESCRIPTION ssccccssecccesecceeesccccaeccceeeccesaeecceeaueccesaeesessaeeseesaeesesegeeseees 37 4 3 COMMANDS FOR TRANSMITTING BIGGER
50. ise in the local area and not in the time area The voltage constants U x y and U x y are temporally constant quantities 1 3 Correction of the Fixed Pattern Noise In order to receive an output signal not depending on the coordinates with the same irradiance of all pixels the FPN has to be corrected when reading out the sensor This correction is executed in an arithmetic processing unit The voltage dependig on the irradiance is multiplied with a gain correction voltage U x y and added up with an offset correction voltage U x y sos x y When trimming camera two correction constants which depend on coordinates are determined so that the following is valid For E x y const Uis x y const The breaking down of the correction voltage in two components has proved to be very favourable 1 Correction voltage independent of coordinates with a big setting range for correcting the average value 2 Correction voltage dependent on coordinates with a small setting range for correcting the leakage AU phon x y page 5 Viton x y Unos AU thon x y The camera calibration is obeyed in 4 seperately selectable steps maximum 1 Setting of the mean sensor steepness gain correction voltage coarse 2 Setting of the mean absolute sensor brightness offset correction voltage coarse 3 Determination of
51. itted data bits the following settings need to be adjusted 1 configuration in plain text mode 2 quantity of transmitted data bits of the RS232 interface 8bit LOAD par1 par2 e Transmitting a file from control computer to camera parl Determination of the contents of the file which is to transmit 0 correction table 0 1 correction table 1 2 correction table 2 3 correction table 3 par2 Determination of the control protocol 0 Requirements XMODEM control protocol 1 Requirements XMODEM CRC control protocol 4 3 1 Sending of files in XMODEM format with the WIN3 1x WIN 95 TERMINAL VT100 emulation Windows 3 1x Terminal 1 Menu setting only when configuring the terminal for the first time 1 1 Menu binary transmission e Activate XMODEM CRC 1 2 Menu modem commands e Activate NONE 2 Input camera command LOAD par 1 3 Wait for LOGLUX ready for receiving a binary file 4 Menu transmission 4 Menu SEND BINARY FILE 4 2 Select file 4 3 OK page 64 Windows 95 HyperTerminal 1 Send camera command LOAD par1 par2 2 Wait for LOGLUX ready for receiving a binary file 3 Menu transmission 3 1 Menu SEND FILE 3 2 Select file 3 3 Activate Xmodem 3 4 OK Should any problems arise when transmitting datas transmission does not start select menu FILE PREDICATES SELECTION NUMBER CONFIGURATION PROTOCOL SAVE par
52. lity byte of the 16bit word is located on a lower address Address n Address n 1 HIGH Byte LOW Byte Structure of the 10bit frame file 0 0 E 255 0 256 0 P 511 255 0x00000 0x001FE 0x00200 0x003FE 0 255 255 255 256 255 m 511 255 Ox3FCOO Ox3FDFE Ox3FE00 Ox3FFFE 4 3 5 Structure of a text file for infixing a MS EXCEL table The text files which are to infix in Microsoft EXCEL have the following characteristics Characters of the ASCII code are transmitted only 0x80 Data columns are seperated by commas Data rows are seperated by CR 0x0D LF 0x0A Numbers are given in decimal style Character strings are marked by quotation marks Qe pda Example A text file with the following contents part is interpreted by MS EXCEL as shown below Textfile txt LOGLUX histogramm GAIN 0 0 1 0 2 po 4 Po y 6 EXCEL table xls LOGLUX histogramm GAIN Oi eB WD NO FR CO CO OC OC O page 68 4 3 6 Description of the XMODEM control protocol 4 3 6 General features The XMODEM control protocol permits a transmission of bigger data quantities over a serial interface The transmission is carried out in 128byte blocks Should a transmission error arise the uncorrect block is trans mitted once more A further development of the XMODEM control protocol is the XMODEM CRC control protocol It is more fault tolerant becaus
53. mmetric data input RxD RxD is closed with a terminator of R 100Q RS422 connection 9 pole D SUB jack Designation PIN Quantity Input Output Description po 1 1 1 pgConmecedwihPIN46 De 3 1 O Transmission datas ___________ ____ ju 1 pgConmecedwihPIN16 IND f 1 JGROND 9 _____Jjse 1 JCennected with PIN 4 1 TxD 8 1 O __ Transmission datas inverted es NNNM 3 4 Signal LED The signal LED on the camera back gives information about the present operating condition of the camera The following signals are assigned to different conditions Signal l Operating condition l camera operates commands cannot be received configuration switch position 15 camera operates commands can be received configuration switch position 0 14 camera carries out the command or is in the base initialization after the switching on Green continuous light Green continuous light short yellow blinking 0 5Hz Green flashing light Yellow flashing light slowly Camera trimming Yellow flashing light quickly Flash ROM is programmed camera requests during the trimming routine a high luminance camera requests during the trimming routine a low luminance Green red flashing light Base initialization after the WATCHDOG reset Yellow red flashing light Yellow green flashing light page 31 3 5 T
54. n 29 control idet ad Deco trente n bons 33 Assessment of the range E 11 B BACKUP 2 gehe 33 Baud Edl eR RAE ERRARE IURE 32 BINARY Codeine 17 Binary logarithm eere 3 BRIGHT determine reference 58 Br sht ess E uino RR azxN oM 8 Brightness conditionS e 11 Brightness sensitivity physiological 8 C CAL command eoir lt la kel xir kak elat ae x n 59 Calibration of camera E EE e 6 Startilig 59 Calibration equation E ee 9 Des tiption qose eec 10 logarithmic form 9 CAMCLK 5 2o lite ee a a 14 CAMCLK 51 Cascade transformer ee 24 cha iny Dit ii inen tenentes 25 Characteristic impedance 13 elkinyv bit a K r ar bar n SA GOKA En 25 GIKOf Dil i kena er y r NAV NA k n 25 COMM bit te Ue C REI ra NA 17 DIT S iot eO UAE RE Red 17 Column address counter 19 column left mirror See collm column right mirror See colrm Command StrUctUTe 34 Comment command ee 61 Common Mode Voltage See offset voltage Configuration of the
55. nd sensor half needs to be mirrored Configuration of the mirror bits for an upright and non reserve image corm 1 columns right mirrored rowrm 0 colm 0 rowlm 0 The following sketches show the difference between the addressed and read out sensor area MODE 2 page 20 Addressed sensor area X_BASE X_OFFSET 0 0 Y_BASE gt lt Addressed sensor area Y_OFFSET X Y 511 255 Secondary requirement in MODE 2 X_BASE X_OFFSET 255 Read out sensor area nd X_BASE 2xX_OFFSET 0 0 Y_BASE Y A Addr direction irecti Y_OFFSET left hand i Y 511 255 2 4 3 3 MODE 3 dual channel mode divergent The left sensor half is exclusively addressed in the dual channel mode Corresponding pixel of the right hand half are read out parallel and afterwards correctly sorted in the image data stream To obtain a divergent readout the columns of the left hand sensor half have to be mirrored Configuration of the mirror bits for an upright and non reverse image corm 0 rowrm 0 colm 1 columns left mirrored rowlm 0 The following sketches show the difference between the addressed and read out sensor area in MODE 3 page 21 Addressed sensor area X_OFFSET Y_BASE Addressed sensor area Addr Y_OFFSET direction Y 511 255 Secondary requirement MODE 3 X_BASE 0 Read out sensor area 2xX_OFFSET 0 0 Y_BASE
56. ndards are symmetric data signals which means that every signal is transmitted once inverted identification and once not inverted identification An incorrect data transmission by compensating streams in the signal groundings application in industrial plants can thus be avoided Bundles of twisted pair two wire circuits with a characteristic impedance of Z 100Q are used as data cables For this reason all data receivers require a terminator of R2 000 Comparision RS422 LVDS with 100 typ Sum of the potential difference between negated and unnegated exit AU gt Uol LVDS RS422 3 3V 335mV 2 6V Offset voltage Common Mode Voltage Uon Uo U CM 2 LVDS RS422 3 3V 1 25V 1 5V Power demand per signal at U 3 3V _ R V LVDS RS422 11 0mW 85 8mW Power demand when using all 13 signals 10 data bits LEN FEN CAMCLK 143mW 1 1W page 13 The frame data transmission takes place by using the following signals CAMCLK Camera Clock LEN Line Enable FEN Frame Enable 10 Bit image datas DO D9 mir cO The following definitions are valid for the signals LEN FEN and CAMCLK 1 The signal LEN Line Enable is defined as HIGH active if the readout of a row is given by the level LEN H The same is valid for the signal FEN Frame Enable 2 The signal CAMCLK is defined as HIGH active if the datas being on the exit are valid with an incre
57. nding the ASCII character 0x15 Sending the ASCII character EOT 0x04 13 Sending the ASCII character ACK 0x06 14 Transmission finished Calculation of the checksum for the XMODEM control protocol 1byte checksum Sum over all 128 data bytes amp 255 page 69 4 3 6 3 control protocol Data transmission with the XMODEM CRC control protocol Data sender Data receiver 1 Receiver signals standby with sending the ASCII character 0x43 Cancel of the data transmission by sending the ASCII character CAN 0x18 then immediate stop of transmission Sending a data block 133 bytes Cancel of the data transmission by sending the ASCII character CAN 0x18 then immediate stop of transmission Controlling the checksum Send the ASCII character ACK 0x06 when the data transmission is ok otherwise NAK 0x15 Cancel of the data transmission by sending the ASCII character CAN 0x18 then immediate stop of transmission After receiving NAK send the data block once more otherwise send next data block 9 Repeat steps 4 8 until all data blocks are transmitted Sending the ASCII character EOT 0x04 for stopping the data transmission 11 Sending the ASCII character NAK 0x15 Sending the ASCII character EOT 0x04 13 Sending the ASCII character ACK 0x06 14 Transmission is finished Calculation of the che
58. ntary components 6 3 1 Stereo attachment stereoscopic distance range Designation Stereoscopic basis Close point width Far point width Stereo attachment small 12mm 0 5m 2 3m Stereo attachment big 60mm 3 0m 6 3 2 Other Designation Description C Mount lens plate For using C Mount lenses Microscope adaptor mono Microscope adaptor stereo Suitable for Zeiss Jena microscopes with mf adjustment Microscope tubus For microscope lenses according to DIN 58887 in standard connection thread 6 4 Accessories 6 4 1 Mechanic accessories Designation Description Fastening block Tripod attachment Tripod thread A 1 4 and A 3 8 according to DIN 4503 1 Notch Thread M5 6 4 2 Accessories for the frame data collection power supply and camera control Designation Description PCI Frame Grabber INOCAP INO VISION PCI Frame Grabber HC 32 PCI HaSoTec Digital framegrabber PCI bus Frame data cable Feeder cable framegrabber camera for LVDS or RS422 frame data interface Zero modem cable Feeder cable camera configuration interface COM port PC Power supply cable Power supply plug 3 pole conducter end bushings Power supply 6V 1A power supply plug 3 pole page 77 Beschreibung LOGLUX Kamera Anhang 6 5 Outlines lenses and accessories n Dd sS CE LOGLAR 19 320 Microscope tubus Mic
59. r 0x03 Adr 0x7F The EEPROM command outputs the contents of the configuration EEPROM over the configuration interface It is possible to read out all configuration parameters with this The interpretation of the datas takes place on the controlling PC Data assignment in the internal EEPROM 0x2A 1 Ones complement of the less valuable bytes of the total over RAE EEE Jeanne ipee o o 2C MInterface specificdatas 0x34 2 BRIGHT reference x value is not changed lt value is changed according to parameter 0 value 0 etc page 54 INTERFACE par1 par2 e Setting of the interface specific parameter 0x10 parl high low parl parl Length of the command 4 byte Return 1 byte Error code 0 ok The modified parameters of the configuration interface can be determined with the INTERFACE command The meaning of parameter par and par2 depends the used configuration interface standard RS232C Configuration interface RS232C The camera permits the determination of a user specific interface configuration each for the plain text and the HEX configuration rate of transmission number of stop and start bits parity bits By setting the configuration switch setting 13 for plain text configuration setting 14 for HEX configuration on the camera back and pressing the RESET button afterwards the setting selected is taken over The user specific interface configuration can be undone by shifting the configu
60. ration switch to setting 0 12 at any time Meaning of the Parameter parl 0 Setting of interface parameter for plain text configuration 1 Setting of interface parameter for HEX configuration par2 Interface parameter word Structure Bit Stopbit Predivider Transmission rate n N 0 1 The Baud rate B results from parametern n and N as follows 6 Error E of Baud fate in 96 x value is not changed lt value is changed according to parameter 0 value 0 etc page 55 pu 10096 8 10 Hz Example Interface parameter for plain text configuration 4800Bd 2 stop bits parity EVEN INTERFACE 0 0x2833 INTERFACE 0 10291 Setting of a user specific transmission rate 1 Obeying the INTERFACE command in plain text or HEX mode 2 Setting of the configuration switch setting 13 plain text mode setting 14 HEX mode 3 Pressing the RESET button or restarting the camera by switching off and on the power supply Notes In HEX mode and when transmitting datas with the XMODEM control protocol in plain text mode always 8 data bits need to be transmitted x value is not changed lt value is changed according to parameter 0 value 0 etc page 56 TAB table e Setting of a correction table Length of the command 2 byte Return 1 byte Error code The TAB command selects a correction table The following assignment is valid
61. roscope adaptor mono Microscope adaptor stereo Stereo adaptor small Stereo adaptor big Fastening block page 78
62. s an organisation of 256X256 pixel The corresponding column and row addresses of both halfs of the sensor are connected The selection of two pixels right left half of the sensor is possible in different ways The selection of the access rule is determined by the single bits of the HDRC register refer to command HDRC par as well The selection of the half of the sensor is carried out by an additional address bit This bit selects the seperately digital changed frame information of the left right half of the sensor via a data multiplexer Consequently the address clock frequency can always be half of the pixel clock frequency and two corres ponding pixel are read out with one access cycle To avoid failures of the analog circuit components caused by the digital components an addressing in GRAY code is possible The selection of GRAY or BINARY addressing is determined for both halfs of the senor The access rule of the line and column decoder can be selected by an assigned mirror bit 1 mirror bit 0 created column row address X selects column Spalte X or row X 2 mi rror Bit 1 created column row address X selects column or row 255 X Please note that the mirroring results from a subtraction and not from forming the ones complement because this would lead to a malfunction when having chosen the GRAY addressing Determination of the addressing by the HDRC register Bit 7 6 5 4 3 2 1 0 e colrm column right mirror activating thi
63. s bit the right hand half of the sensor can be mirrored around the north south axis When addressing column N column 255 N is read out rowrm row right mirror By activating this bit the right hand half of the sensor can be mirrored around the east west axis When addressing line N line 255 N 15 read out column left mirror as colrm left hand half of the sensor e rowlm row left mirror as rowrm left hand half of the sensor gray Selection of the addressing code 0 binary code 21 gray code o rm left right mirror By activating this bit the addressing of the sensor halfs is interchanged When addressing the left hand half of the sensor the right hand half of the sensor is read out and inverted The activating of these bits is independently done by the camera internal control software when using the following commands Selection readout mode MODE command Mirroring the image MIR command Rotating the image ROT command initialization of the camera after the switching on a dca page 17 Examples pixel adressing The following examples show the pixel addressing depending on the mirror bits The sensor provides one pixel formation for the right and left hand half of the sensor each All examples are valid for a row address y 80 and a column address x 60 x 60 x 316 y 80 y 80 li x 60 451 80 80 4 E 195 316 mE 60 316 y 80 y 175
64. s valid data change with LH single edge leninv Reg 9 bit 4 e Determination of polarity of the LEN signal leninv 0 LEN signal with running row transmission HIGH LEN signal with row synchronization LOW leninv 1 LEN signal with running row transmission LOW LEN signal with row synchronization HIGH feninv Reg 9 bit 5 e Determination of polaritiy of the FEN signal feninv 0 FEN signal with running frame transimission HIGH LEN signal with frame synchronization LOW feninv 1 FEN signal with running row transmission LOW FEN signal with frame synchronization HIGH chaninv Reg 9 bit 7 e Inversion of channel selection signal set bit always 0 page 25 2 5 Frame data sorting The frame data sorting is carried out by a Dual Port RAM 1kx10bit 2 rowsx512x 10bit One port is exclusively used for reading the other one exclusively for writing Now VSG provides the sorting addresses in this way that the frame datas read out on the writing port are straight line written in chronological order and the frame datas of the previous row are straight line read out in local order on the reading port Consequently a time shift of one row can be found between the frame data output and current readout coordinates of the sensor 2 5 1 Frame data sorting in single channel mode MODE 0 When the single channel mode is set one pixel is read during every addressing cycle A data sorting is not necessary However it is carried ou
65. t because of circuit technical reasons In single channel mode the right half of the sensor is analyzed with a column address 2256 the left half with a column address 256 The information of the corresponding pixel on the respectively other half of the sensor is rejected Consequently a completely free predefinition of the frame which is to read out is possible However the maximum pixel clock frequency must not be higher than 8MHz The data sorter works from the assumption that the frame datas which need to be sorted are read out sequentially with a rising row and column address The frame data sorting is carried out in a simple way Dual Port RAM writing port Dual Port RAM reading port Dual Port RAM y j Dual Port RAM Sensor access Pixel information Pixel information Coordinate X Y coordinate X Y Bank Writing address Bank Reading address n 1 n 2 n 3 n 4 m 1 m 2 m 3 m 4 2 5 2 Frame data sorting in dual channel mode MODE 2 3 Two corresponding pixel are read in one access cycle in the dual channel mode MODE 2 and MODE 3 differ from each other only in their sorting algorithm by the interpretation of the coordinates of the sequentially read frame datas page 26 2 5 2 1 MODE 2 The frame datas are sorted in this way that the frame datas are sorted locally correct when being convergingly read out
66. t of file total 262170 bytes Consisting of file head 26 bytes correction data 262144 bytes 0 25 MB Structure of the data head Byte Description l 0 7 Character string LOGLUX 8 Device code 0 9 Software version year month day Calibration values GAIN 0 DAC register OFFSET reg 1 ADCREF reg 2 VRESET reg 3 16 17 Statistical data Drift of desired Sensor calibration value 18 19 68 interv uncorr 20 21 99 interv uncorr 68 interv corr 99 interv corr Structure of correction data block Byte Structure 16bit word Correction data pixel coordinate HIGH LOW 0 1 Bit 0 9 0 xs m Bit 10 15 GAIN ds 510 511 0 255 512 513 Left sensor half 1 0 131071 131073 131070 131072 131582 131583 131585 Right sensor half 131584 262142 262143 Please note The coordinate origin is located in the upper left hand corner of the sensor NW corner 511 255 255 255 256 255 511 255 page 67 4 3 4 Structure of a 10bit frame file Beginning with the coordinate 0 0 pixel values are ascendingly saved as 16bit words in a 10bit frame file Bit 10 15 is set 0 This results in file size of 0 25Mbyte 256kByte The higher qua
67. ta bytes read return datas ELSE IF date 0 result ok ELSE result error cancel yes WHILE abbruch nein Analyze result This function assigns the length of the return sequence to a command see command description page 35 Example Command sequence sent with proper process Plain text version mode 3 e Command sequence sent byte series Byte 0 Byte 1 Byte 2 Byte 3 Command Command code Command code Parameter length VERSION MODE 59 e Return data sequence received byte series Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 pui cosr amp reo ORO Marking byte Data byte0 Data byte1 Data byte2 Data byte3 Error code for Byte signalizes IDENTIFICA YEAR MONTH DAY whole 4 data bytes TION sequence follow LOGLUX ok Sent command sequence with incorrect parameters Plain text mode 72 2 uncorrect parameter version e Command sequence sent byte series Byte 0 Byte 1 Byte 2 Byte 3 Command Command code Parameter Command code length MODE ad VERSION e Return data sequence received byte series Byte 0 Error code illegal parameter The command VERSION was not obeyed because the command MODE was cancelled by an incorrect para meter page 36 4 Description of conmands 4 1 Table of conmands According to their functions the commands given below can be divided into the following groups e Commands for determining the frame data transmission CAMCLK LEN FE
68. tains all setting features and initializes all assemblies after switching the camera on These features of the camera can be gained in different ways e automatic identification when trimming the camera e transfering instruction over the configuration interface e by setting the configuration switch on the camera back The camera has a data interface for transfering the frame datas This interface is removeable so that the transmission medium and the way of transmission can easily be adjusted The functions of the most important components of the HDRC4 camera LOGLUX as well as their configura tion is described in the following e HDRC4 sensor configuration and addressing requirements e VSG Variable Scan Generator Register description and configuration instructions e Data sorting Description of the data sorting depending on the mode e DA converter for producing an auxiliary voltage Register description page 12 2 2 Frame data interface of the camera LOGLUX 2 2 1 Description of the interface Different interface modules can be attached to the camera LOGLUX e Data transmission via cable parallel e LWL data transmission serial The parallel data interface is available in two different variants 1 LVDS Low Voltage Differential Signaling level 2 RS422 level Both interfaces only differ from each other in their pegel definition but not in the structure of their transmission protocols These interface sta
69. ter 0 value 0 etc page 38 VERSION e Enquiring the software version date of compiling Length of the command 1byte Return 6 byte Error code 0 The contents of all configuration registers remains unchanged e Release of the extended command set Length of the command 1byte Return 1 byte Error code The extended command set is released by the command This makes it possible to have a direct access to the configuration register The use of the extended command set requires the exact knowledge of the camera control because incorrect parameters may cause a malfunction of the camera The contents of all configuration registers remains unchanged If there is any access to a command of the extended command set privileged command without prior release the command sequence is cancelled and acknowledged with error code 252 x value is not changed lt value is changed according to parameter 0 value 0 etc page 39 DAC channel parameter e Setting the DAC channel Length of the command 3 bytes Return 1 byte Error code channel number of the channel 0 3 parameter 0 255 0 ok channel 0 channel 1 channel 2 channel 0 channel 1 channel 2 privileged command see command GAIN register OFFSET register ADCREF register HIGH reference video ADC GAIN register standard parameter 150 OFFSET register standard parameter 140 ADCRE
70. terface T ye 75 6 2 SURVEY LENSES FOR THE CAMERA LOGLUX eerte tette te te tete tete toes 76 6 3 OPTICAL ACCESSORY COMPONENTS k k k baca v re WEH V k TI 6 3 1 Stereo attachments eive ete e e NEED RR WEN eae Ko n SEY ON E JEW ue n Dur NE 77 6 3 2 Others mom Fehler Textmarke nicht definiert 6 4 ACCESSORIES k se keka k FEHLER TEXTMARKE NICHT DEFINIERT 6 4 1 Optical and mechanical 77 6 4 2 Accessories for recording frame datas power supply and camera control 77 6 5 OUTLINES LENSES AND ACCESSORIES exeo tear beoe PEK u KEF Feu e 78 page 4 1 Introduction 1 1 The binary logarithm Definition of the binary logarithm a 2 8 5 log a _ In a log 2 In 2 For the octave skip 2 is Ib 2a Ib 2 Ib a 1 Ib a 1 2 The Fixed Pattern Noise Every pixel of the HDRC4 sensor used with the coordinates x y alters the irradiance E x y of the sensor surface into an electrical voltage Us x y Uy eue EED J u s y e0 m The voltages U x y and are coordinate depending and normally distributed quantities The visual effect resulting from this is called fixed pattern noise short FPN The term noise is only indirectly accurate because it is a no
71. termines the frame area which needs to be read out and which depends on the readout mode set see command MODE The following restrictions are valid for this with reference to the area set e MODE 2 3 north south axial symmetric frame areas are possible only even X coordinates only e MODE 0 the selection of the frame area is completely free Configuration by the FRAME SIZE command 8 7 6 5 4 3 2 1 0 lof sa step ext trig gray delay mode x x x x x x x Bit VSG reg 0 VSG reg 1 prediv x VSG reg 2 VSG reg 3 VSG reg 4 x_base lt x see table VSG reg 5 y_base x VSG reg 6 x_offset see table VSG reg 7 y offset lt gt see table VSG reg 8 pipedelay x VSG reg 9 chaninv feninv Leninv Clkinv clkoff pxlclk adcclk x x x x x x x x value is not changed lt value is changed according to parameter 0 value 0 etc page 44 4 X BASE x not changed 255 X 2 0 The LSB of the X coordinate is lost when dividing by 2 That is why a frame area of 300x200 pixel is set each time when applying the following commands FRAME SIZE 299 199 FRAME SIZE 298 198 x value is not changed lt value is changed according to parameter 0 value 0 etc page 45 FRAME POS x y Determination of the frame position Bie X X Y Length of the command 4 byte Return 1 byte Error code Error code high X low X Y 0 ok High byte X coordinate MO
72. the correction voltage dependent on coordinates for correcting the steepness gain correction voltage fine 4 Determination of the correction voltage dependent on coordinates for correcting the absolute brightness offset correction voltage fine 1 4 Radiation physical determinations To be able to image the irradiance E on a numerical range Z an assignment instruction which follows the natural conditions is required The following is determined 1 The working area of the camera covers an exposure rate of 1 222 32 octaves 2 This working area shall appear as 10bit number 3 The numerical value Z 0 is assigned to the irradiance E 2 W m This means the following for the working area 0 lt 7 lt 1024 fr 2 B 25 m m The following relation is produced between the radiation physical figure and the numerical number Z assigned E 7 32 1 E 16 e0 page 6 1 5 Light technical connection between subject and sensor brightness When an ideal diffuse reflecting subject is illuminated with the brightness Eos the subject shines with the bright ness Los of 1 cd udis P reflection factor 2 1 The proportional factor T Ix m results from the laws of the ideal diffuse reflection The subject is imaged by the lens with an aperture set on the sensor and with a brightness E T Ix m E Log 2 cd Al ky k aperture ko datum for aperture 1 The
73. ting the gray scales Z pictured with a certain brightness Definition photographic standard subject 2320 p 0 17 The average tone results from above mentioned 0 0 Z 32 1 Eos lb 0 17 21b Ra ef Ss 2 0 Eos 2 b E jns 0 0 The difference between biggest and the smallest gray tone is NZ Z Zan 32 1b 32 160 page 11 2 The functional architecture of the camera LOGLUX 2 1 Survey of functions The camera LOGLUX contains all analog and digital switching components necessary for a frame recording They can be splitted up into 3 groups Analog switching components 1 1 switching components for processing the frame signal sensor amplifier 1 2 switching components for producing an auxiliary voltage Digital switching components 2 1 switching components for a frame processing data sorting address generation 2 2 switching components for transmitting frame signals image data interface 2 3 switching components for camera control controller and periphery AD DA converter 3 1 DA converter for a digital control of the necessary auxiliary voltages 3 2 AD converter for converting the image signals analog switching components have such a structure that they can be completely digitally balanced by a configuration bus The analog and digital components necessary for an image recording are controlled by a 16bit microcontroller The microcontroller con

Download Pdf Manuals

image

Related Search

Related Contents

EK3241 FR - Sennheiser  VIZIO VO370M/VO420E User Manual Version 1/23/2009 1  取扱説明書  American Standard MONTERREY 5502 User's Manual  Guia Rápido  User Manual  Delta 41618 Installation Guide  Philips 21PT3626/V7 CRT TV  Franke Corinthian  Garmin Foretrex 201  

Copyright © All rights reserved.
Failed to retrieve file