background image

112 

PRELIMINARY 

Spyder 3 CL User's Manual 

03-032-20008-03 

DALSA 

Summary of Contents for Spyder 3 S3-10-01k40-00-R

Page 1: ... 20 02k40 00 R S3 20 04k40 00 R Camera Link Dual Line Scan Camera 14 Jul 08 03 032 20008 03 www dalsa com With the exception of the RoHS compliance information the content in this manual also applies to the previous versions of the S3 CL camera S3 10 0xk40 00 L and S3 20 0xk40 00 L models ...

Page 2: ...essing Products and services include image sensor components electronic digital cameras vision processors image processing software and semiconductor wafer foundry services for use in MEMS high voltage semiconductors image sensors and mixed signal CMOS chips DALSA is listed on the Toronto Stock Exchange under the symbol DSA The Company has its corporate offices in Waterloo ON and over 1000 employe...

Page 3: ...t Power Up Camera Settings 25 3 2 Command Categories 26 3 3 Camera Output Format 27 4 Optical Mechanical and Electrical Considerations _____________________________ 31 4 1 Mechanical Interface 31 4 2 Optical Interface 32 4 3 Electrical Interface 34 5 CCD Handling Instructions______________________________________________ 35 5 1 Electrostatic Discharge and the CCD Sensor 35 5 2 Protecting Against D...

Page 4: ... Status 80 7 16 Returning Camera Settings 80 7 17 ASCII Commands Reference 86 7 18 Error Handling 94 7 19 Clearing Dark Current 96 8 Appendix B ________________________________________________________ 105 8 1 Camera Link Reference Timing and Configuration Table 105 8 2 Camera Link Bit Definitions 107 8 3 Camera Link Configuration Tables 107 9 Appendix C ____________________________________________...

Page 5: ...ding on camera model RoHS and CE compliant Programmability Serial interface ASCII 9600 baud adjustable to 19200 57600 115200 through Camera Link Mirroring and forward reverse control Programmable gain offset exposure time and line rate trigger mode test pattern output and camera diagnostics Tall pixel high sensitivity or low sensitivity mode available Flat field correction minimizes lens vignettin...

Page 6: ...ction Web inspection Models The Spyder 3 CL camera is available in these models Table 1 Spyder 3 CL Camera Models Overview Model Number Description S3 20 01K40 00 R 1k resolution 2 sensor taps Base Camera Link configuration S3 20 02K40 00 R 2k resolution 2 sensor taps Base Camera Link configuration S3 10 01K40 00 R 1k resolution 1 sensor tap Base Camera Link configuration S3 10 02K40 00 R 2k resol...

Page 7: ...terface Units Back Focal Distance M42x1 mm 6 56 0 25 Lens mount adapters are available Contact Sales for more information Sensor Alignment x y z 0z µm µm mm 50 50 0 25 0 2 Mechanical Interface Units 1k and 2k 4k Camera Size mm 72 h x 60 l x 50 w 65 h x 53 7 l x 85 w Mass g 300 300 Connectors power connector data connector 6 pin male Hirose MDR26 female Electrical Interface Units Input Voltage Volt...

Page 8: ...cal 8 5 8 5 11 5 Uncorrected global 10 10 10 Corrected local DN p p 80 80 95 Corrected global DN p p 80 80 95 PRNU ECE Uncorrected local 8 5 12 37 Uncorrected global 10 12 37 Corrected local DN p p 80 237 752 Corrected global DN p p 80 208 752 SEE calculated nJ cm Dual line 6 35 1 92 0 61 Single line 12 2 4 0 1 2 NEE calculated pJ cm Dual line 4 6 4 5 4 6 Single line 9 2 9 3 9 2 Saturation output ...

Page 9: ...onfigured to read out in either high or low sensitivity mode tall pixel mode and forward or reverse shift direction Figure 1 2 Tap Sensor Block Diagram Tap 2 Tap 1 CCD Readout Shift Register CCD Readout Shift Register NPixels NPixels N 1024 2048 4096 Pixel 1 1 Figure 2 1 Tap Sensor Block Diagram 1k and 2k only Tap 1 CCD Readout Shift Register CCD Readout Shift Register NPixels 14μm x 14μm NPixels ...

Page 10: ...software controlled through the ASCII command ssm Figure 3 High Sensitivity Mode In high sensitivity mode the camera uses either a 14µm x 14µm pixel 1k and 2k models or a 10µm x 10µm pixel 4k model and captures the same image twice resulting in a brighter image CCD Readout Shift Register CCD Readout Shift Register Sensor 2 14μm x 14μm OR 10μm x 10μm Sensor 1 OR 14μm x 14μm 10μm x 10μm 14 10μm Pixe...

Page 11: ... Detail 28 20μm Sensor Shift Direction When in high sensitivity mode you can select either forward or reverse CCD shift direction This accommodates object direction change on a web and allows you to mount the camera upside down Figure 6 Object Movement and Camera Direction Example using an Inverting Lens Note You can control the CCD shift direction through the serial interface Use the software com...

Page 12: ...0 1250 1500 1750 2000 2250 2500 400 500 600 700 800 900 1000 1100 Wavelength nm Responsivity DN nJ cm High Sensitivity Mode Low Sensitivity Mode Figure 8 Spyder 3 CL 4k Responsivity Spectral Responsivity Nominal Gain 0 10 20 30 40 50 60 70 80 90 100 400 500 600 700 800 900 1000 1100 Wavelength nm Responsivity DN uJ cm High Sensitivity Responsivity Low Sensitivity Responsivity ...

Page 13: ...Spyder 3 CL User s Manual PRELIMINARY 13 DALSA 03 032 20008 03 1 5 Derating Curves Figure 9 1k and 2k Derating Curves ...

Page 14: ...800 8 000 8 200 8 400 8 600 8 800 9 000 9 200 9 400 0C 10C 20C 30C 40C 50C 60C Temperature Celcius DN rms HSM LSM 4K model Change in FPN vs Temperature 12bit 0dB Gain Integration Time 100us 0 000 5 000 10 000 15 000 20 000 25 000 30 000 0C 10C 20C 30C 40C 50C 60C Temperature DN HSM LSM 4K model Change in PRNU vs Temperature 12bit 0dB Integration Time 100us 0 000 10 000 20 000 30 000 40 000 50 000 ...

Page 15: ...ments defined in section 2 3 Power Connector 5 Inspect all cables and connectors prior to installation Do not use damaged cables or connectors or the camera may be damaged 6 Connect Camera Link and power cables 7 After connecting cables apply power to the camera 8 Check the diagnostic LED See below for an LED description 2 2 Input Output Connectors and LED The camera uses A diagnostic LED for moni...

Page 16: ...plies provide optimum performance WARNING When setting up the camera s power supplies follow these guidelines Apply the appropriate voltages Protect the camera with a fast blow fuse between power supply and camera Do not use the shield on a multi conductor cable for ground Keep leads as short as possible to reduce voltage drop Use high quality linear supplies to minimize noise Note Camera performa...

Page 17: ...igh and camera thermal shutdown has occurred 2 Flashing Green Camera initialization or executing a long command e g flat field correction commands ccp or ccf 3 Solid Green Camera is operational and functioning correctly 2 5 Camera Link Data Connector Figure 13 Camera Link MDR26 Connector MDR26 Female 1 14 13 26 Mating Part 3M 334 31 series Cable 3M 14X26 SZLB XXX 0LC The Camera Link interface is i...

Page 18: ... X3 7 20 SerTC 20 7 SerTC 8 19 SerTFG 21 6 SerTFG 9 18 CC1 22 5 CC1 10 17 CC2 23 4 CC2 11 16 CC3 24 3 CC3 12 15 CC4 25 2 CC4 13 13 inner shield 26 26 inner shield Notes Exterior Overshield is connected to the shells of the connectors on both ends 3M part 14X26 SZLB XXX 0LC is a complete cable assembly including connectors Unused pairs should be terminated in 100 ohms at both ends of the cable Inne...

Page 19: ...model and how this command relates to other camera configuration commands Syntax clm m Syntax Elements m Output mode to use 0 Base configuration 1 taps 8 bit output 1 Base configuration 1 taps 12 bit output 2 Base configuration 2 taps 8 bit output 3 Base configuration 2 taps 12 bit output Notes To obtain the current Camera Link mode use the command 18Hgcp or 19Hget clm The bit patterns are defined...

Page 20: ...utting valid line DVAL high Valid data unused tied high STROBE rising edge Valid data FVAL high Outputting valid frame unused tied high The camera internally digitizes 12 bits and outputs the 8 MSB or all 12 bits depending on the camera s Camera Link operating mode 2 6 Camera Link Video Timing Figure 14 Spyder 3 Overview Timing Showing Input and Output Relationships Figure 15 Spyder 3 Fixed Progra...

Page 21: ...rst valid pixel If the fixed integration time mode of operation is available and selected then the integration time is added to the specified value 3 725 25 1k and 2k 4 100 25 4k twFixed Int Fixed Integration Time mode of operation for variable exsync frequency 800 tREADOUT Is the number of pixels per tap times the readout clock period 25 600 1k 1 tap 12 800 1k 2 tap 51 200 2k 1 tap 25 600 2k 2 ta...

Page 22: ...22 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...

Page 23: ... the PC does not require any custom software Note This command set may be different from those used by other DALSA cameras You should not assume that these commands perform the same as those for older cameras Serial Protocol Defaults 8 data bits 1 stop bit No parity No flow control 9 6kbps Camera does not echo characters Command Format When entering commands remember that A carriage return CR ends...

Page 24: ...ilable baud rates are 9600 Default 19200 57600 and 115200 Notes Power on rate is always 9600 baud The rc reset camera command will not reset the camera to the power on baud rate and will reboot using the last used baud rate Example sbr 57600 Select Cable Purpose Sets the cable parameters Syntax scb i Syntax Elements i Output compare value Available values are 0 to 255 Notes In medium configuration...

Page 25: ...on command help screen lists all commands available Parameter ranges displayed are the extreme ranges available Depending on the current camera operating conditions you may not be able to obtain these values If this occurs values are clipped and the camera returns a warning message Some commands may not be available in your current operating mode The help screen displays NA in this case 3 1 First ...

Page 26: ...pyder 3 CL User s Manual 03 032 20008 03 DALSA 3 2 Command Categories The following diagram categorizes and lists all of the camera s commands This chapter is organized by command category Figure 16 Command Categories ...

Page 27: ...crement 1 clm 0 S3 10 01K40 1 8 smm 0 CL tap 1 1 1024 smm 1 CL tap 1 1024 1 S3 10 02K40 smm 0 CL tap 1 1 2048 smm 1 CL tap 1 2048 1 clm 1 S3 10 01K40 1 12 smm 0 CL tap 1 1 1024 smm 1 CL tap 1 1024 1 S3 10 02K40 smm 0 CL tap 1 1 2048 smm 1 CL tap 1 2048 1 clm 2 S3 20 01K40 2 8 smm 0 CL tap 1 1 512 CL tap 2 513 1024 smm 1 CL tap 1 1024 513 CL tap 2 512 1 S3 20 02K40 2 smm 0 CL tap 1 1 1024 CL tap 2 ...

Page 28: ...lsa com Example clm 1 Setting the Pixel Readout Direction Mirroring Mode Purpose Sets the tap readout from left to right or from right to left This command is especially useful if the camera must be mounted upside down Syntax smm i Syntax Elements i Readout direction Allowable values are 0 All pixels are read out from left to right 1 All pixels are read out from right to left Notes To obtain the c...

Page 29: ...Command Tap 1 Tap 2 S3 10 01k40 Left to Right smm 0 1 1024 n a Right to Left smm 1 1024 1 n a S3 20 01K40 Left to Right smm 0 1 512 513 1024 Right to Left smm 1 1024 513 512 1 S3 10 02K40 Left to Right smm 0 1 2048 n a Right to Left smm 1 2048 1 n a S3 20 02K40 Left to Right smm 0 1 1024 1025 2048 Right to Left smm 1 2048 1025 1024 1 S3 20 04K40 Left to Right smm 0 1 2048 2049 4096 Right to Left s...

Page 30: ...30 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...

Page 31: ...1 Mechanical Interface Figure 20 S3 1k and 2k Mechanical Dimensions 49 6 53 9 6 56 0 25 TOCCD IMAGING SENSOR 19 4 33 7 11 6 42 0 60 0 57 0 7 5 72 0 M42x1THREAD DEEP4 0 M3x0 5 THREAD DEEP5 0 4X 9 0 PIXEL1 30 000 0 050 CCDIMAGING CENTER 36 000 0 050 CCDIMAGING CENTER 30 1 M3x0 5 THREAD DEEP5 0 4X 14 0 32 0 6 0 Units mm ...

Page 32: ...n system specifics and more DALSA s Web sitehttp mv dalsa com provides an introduction to this potentially complicated issue See Radiometry and Photo Responsivity and Sensitivities in Photometric Units in the CCD Technology Primer found under the Application Support link It is often more important to consider exposure than illumination The total amount of energy which is related to the total numbe...

Page 33: ...air can be modeled for camera purposes using three primary points the first and second principal points and the second focal point The primary points for a lens should be available from the lens data sheet or from the lens manufacturer Primed quantities denote characteristics of the image side of the lens That is h is the object height and h is the image height The focal point is the point at whic...

Page 34: ...quires that 100μm in the object space correspond to each pixel in the image sensor Using the preceding equation the object distance must be 450mm 0 450m 10 100 45 450 0 450 μ μ m m mm OD OD mm m 4 3 Electrical Interface The Spyder 3 CL cameras have been designed for EMC compliance The test setup has been verified to the following EMC standards CISPR 11 2004 EN 55011 2003 EN 61326 2002 To achieve E...

Page 35: ...4 hours 5 2 Protecting Against Dust Oil and Scratches The CCD window is part of the optical path and should be handled like other optical components with extreme care Dust can obscure pixels producing dark patches on the sensor response Dust is most visible when the illumination is collimated The dark patches shift position as the angle of illumination changes Dust is normally not visible when the...

Page 36: ...If further cleaning is required use a lens wiper moistened with alcohol or acetone 3 We recommend using lint free ESD safe cloth wipers that do not contain particles that can scratch the window The Anticon Gold 9 x 9 wiper made by Milliken is both ESD safe and suitable for class 100 environments Another ESD acceptable wiper is the TX4025 from Texwipe 4 An alternative to ESD safe cloth wipers is Tr...

Page 37: ...nvironment encoder LED When the camera is first powered up the LED will glow on the back of the camera Refer to section 2 3 for information on the LED Connections The first step in troubleshooting is to verify that your camera has all the correct connections Cable Length Type Use the scb command to select the correct cable parameter for the cable length Equipment Requirements Ensure that you are u...

Page 38: ...omplete explanation of the camera parameters screen follows Verify Factory Calibrated Settings To restore the camera s factory settings and disable the FPN and PRNU coefficients send the rfs command After executing this command send the gcp command to verify the factory settings Verify Timing and Digital Video Path Use the test pattern feature to verify the proper timing and connections between th...

Page 39: ...era will shutdown again If you enter any command other than vt or rc the camera responds with Error 09 The camera s temperature exceeds the specified operating range Verify Pixel Coefficients Use the dpc command to display the pixel coefficients in the order FPN PRNU FPN PRNU The camera also returns the pixel number for each fifth pixel End of line Sequence To further aid debugging the camera can ...

Page 40: ...3 x 5 to make a square pad that 5 is approximately one finger width 6 Moisten the pad on one edge with 2 3 drops of clean solvent either alcohol or acetone Do not saturate the entire pad with solvent 7 Wipe across the length of the window in one direction with the moistened end first followed by the rest of the pad The dry part of the pad should follow the moistened end The goal is to prevent solv...

Page 41: ... host computer light sources etc Power supply setting and current draw Pixel rate used Control signals used in your application and their frequency or state if applicable EXSYNC BIN LVDS TTL Other _______ Results when you run an error report please attach text received from the camera after initiating an error report Detailed description of problem encountered please attach description with as muc...

Page 42: ...42 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...

Page 43: ...ring commands remember that A carriage return CR ends each command The camera will answer each command with either CR LF OK or CR LF Error xx Error Message or Warning xx Warning Message The is always the last character sent by the camera The following parameter conventions are used in the manual i integer value f real number m member of a set s string t tap id x pixel column number y pixel row num...

Page 44: ...57600 Select Cable Purpose Sets the cable parameters Syntax scb i Syntax Elements i Output compare value Available values are 0 to 255 Notes In medium configuration both cables must be the same length Only one copy of this setting is saved in the camera rather than with each setting On the lfs load factory settings command the cable length will be set to the factory default of 100 The cable parame...

Page 45: ...g all of the camera configuration commands use the command Syntax h To view a help screen listing all of the get commands use the command Syntax gh Notes For more information on the camera s get commands refer to section 7 16 Returning Camera Settings The camera configuration command help screen lists all commands available Parameter ranges displayed are the extreme ranges available Depending on t...

Page 46: ...of interest xyxy 1 1024 1 1 1 1024 1 1 rpc reset pixel coeffs rus restore user settings sag set analog gain tf 0 2 10 0 10 0 sao set analog offset ti 0 2 0 255 sbh set binning horizontal m 1 2 sbr set baud rate m 9600 19200 57600 115200 scb set cable parameters i 0 255 scd set ccd direction i 0 2 sdo set digital offset ti 0 2 0 2048 sem set exposure mode m 2 3 4 5 6 7 8 set set exposure time f 3 1...

Page 47: ...Direction Purpose When in high sensitivity mode selects the forward or reverse CCD shift direction internally or externally controlled This accommodates object direction change on a web and allows you to mount the camera upside down Syntax scd i Syntax Elements i Shift direction Allowable values are 0 Internally controlled forward CCD shift direction 1 Internally controlled reverse CCD shift direc...

Page 48: ...mands Example clm 0 7 3 Exposure Mode Line Rate and Exposure Time Overview You have a choice of operating in one of seven modes The camera s line rate synchronization can be generated internally through the software command ssf or set externally with an EXSYNC signal depending on your mode of operation To select how you want the camera s line rate to be generated 1 You must first set the camera mo...

Page 49: ...C and or PRIN must be supplied Exposure Modes in Detail Mode 2 Internally Programmable Line Rate and Exposure Time Factory Setting Mode 2 operates at a maximum line rate and exposure time When setting the line rate using the ssf command exposure time will be reduced if necessary to accommodate the new line rate The exposure time will always be set to the maximum time line period line transfer time...

Page 50: ...iates readout Example 3 Trigger Period is Repetitive and Greater than Read Out Time Mode 5 External Line Rate EXSYNC and External Pixel Reset PRIN In this mode the falling edge of EXSYNC sets the line period and the rising edge of PRIN sets the start of exposure time Figure 23 EXSYNC controls Line Period and PRIN controls Exposure Time Line Period Exposure Time Line Period Readout Exposure Time EX...

Page 51: ...ine Rate Programmable Exposure Time In this mode the exposure time is set internally with a maximum line rate Figure 26 Mode 8 Timing Programmable Period Frame Period Readout CR Exposure Time CR Charge Reset Frame Period Programmable Period CR Exposure Time Readout Readou t EXSYNC Line Period CR Charge Reset Readou t Line Period Programmable Period Using Command set Programmable Period Using comma...

Page 52: ... Sets the camera s exposure time is µs Camera must be operating in mode 2 6 or 8 Syntax set f Syntax Elements i Desired exposure time in µs Allowable range is 3 to 3300µs Notes To read the current line frequency use the command gcp or get set If you enter an invalid line rate frequency an error message is returned The exposure time range is based on the current line rate To determine the maximum e...

Page 53: ...dark Reduces the maximum line rate 2 Immediate readout Does not clear dark current Default mode Notes The vertical transfer gates collect dark current during the line period This collected current is added to the pixel charge The middle two red taps have more vertical transfer gates and therefore more charge This additional charge is especially noticeable at slower line rates If the user is in sem...

Page 54: ...on of interest a few pixels inside the actual useable image Syntax roi x1 y1 x2 y2 Syntax Elements x1 Pixel start number Must be less than the pixel end number in a range from 1 to sensor resolution y1 Column start number Since the Spyder 3 CL is a line scan camera this value must be 1 x2 Pixel end number Must be greater than the pixel start number in a range from 1 to sensor resolution y2 Column ...

Page 55: ... cpa ssb ssg eil LUT addition 4k ONLY Analog Processing Optimizing offset performance and gain in the analog domain allows you to achieve a better signal to noise ratio and dynamic range than you would achieve by trying to optimize the offset in the digital domain As a result perform all analog adjustments prior to any digital adjustments 1 Analog gain sag or ccg command is multiplied by the analo...

Page 56: ...f a value greater than or equal to 1 This ensures that all pixels will saturate together 4 Background subtract ssb command and system digital gain ssg command are used to increase image contrast after FPN and PRNU calibration It is useful for systems that process 8 bit data but want to take advantage of the camera s 12 bit digital processing chain For example if you find that your image is consist...

Page 57: ...Spyder 3 CL User s Manual PRELIMINARY 57 DALSA 03 032 20008 03 Example sag 0 5 2 Related Commands ccg ...

Page 58: ...he specified target 4 This algorithm adjusts the analog gain so that the peak tap ROI pixels are adjusted to the specified target t Tap value Use 0 for all taps or 1 to 2 for individual tap selection if you are using the two tap model i Calculation target value in a range from 1024 to 4055DN 12 bit LSB Notes This function requires constant light input while executing If very few tap pixels are wit...

Page 59: ...urpose Sets the current analog gain setting to be the 0dB point This is useful after tap gain matching allowing you to change the gain on all taps by the same amount Syntax ugr Calibrating the Camera to Remove Non Uniformity Flat Field Correction Flat Field Correction Overview This camera has the ability to calculate correction coefficients in order to remove non uniformity in the image This video...

Page 60: ...e or line rate PRNU correction requires a clean white reference The quality of this reference is important for proper calibration White paper is often not sufficient because the grain in the white paper will distort the correction White plastic or white ceramic will lead to better balancing For best results ensure that 50 or 60 Hz ambient light flicker is sufficiently low not to affect camera perf...

Page 61: ...he FPN coefficients using the command You should see close to zero output gl gla sao cao 0 sag ccf wfc wus epc 1 0 i 1 Place a white reference in front of the camera 2 Verify that the output signal level is within range by issuing the command or If the signal level is too low increase your light level adjust the analog gain or use the automated algorithm DALSA recommends a target value of about 80...

Page 62: ...ction Perform FPN correction before PRNU correction Refer to Calibrating the Camera to Remove Non Uniformity Flat Field Correction on page 59 for a procedural overview on performing flat field correction To save FPN coefficients after calibration use the wfc command Refer to section 7 9 Saving and Restoring PRNU and FPN Coefficients for details Related Commands ccp wfc Example ccf Setting a Pixel ...

Page 63: ...gital offset Syntax sdo t i Syntax Elements t Tap selection Allowable range is 1 to 2 depending on camera model or 0 for all taps i Subtracted offset value in a range from 0 to 2048 where FPN Coefficient i 12 bit LSB Justified Notes When subtracting a digital value from the digital video signal the output can no longer reach its maximum unless you apply digital gain using the ssg command See the p...

Page 64: ...n dark conditions and an incorrect FPN value will be used during PRNU calibration resulting in incorrect PRNU coefficients 2 Calculates the PRNU coefficients using the entered target value as shown below PRNU Coefficient Target AVG Pixel Value FPN value sdo i i i The calculation is performed for all sensor pixels but warnings are only applied to pixels in the region of interest This algorithm is u...

Page 65: ...PN calibration then issue the rpc reset pixel coefficients command and set the sdo set digital offset value so that the output is near zero under dark Example cpa 1 600 Performing PRNU Correction to a Camera Calculated Value Purpose Performs PRNU correction and eliminates the difference in responsivity between the most and least sensitive pixel creating a uniform response to light Syntax ccp Notes...

Page 66: ...pa 1 600 Setting a Pixel s PRNU Coefficient Purpose Sets an individual pixel s PRNU coefficient Syntax spc i i Syntax Elements i The pixel number from 1 to sensor pixel count i Coefficient value in a range from 0 to 28671 where Example spc 1024 10000 Subtracting Background Purpose Use the background subtract command after performing flat field correction if you want to improve your image in a low ...

Page 67: ... Purpose Improves signal output swing after a background subtract When subtracting a digital value from the digital video signal using the ssb command the output can no longer reach its maximum Use this command to correct for this where ssg value max output value max output value ssb value Syntax ssg t i Syntax Elements t Tap selection Allowable range is 1 to 2 or 0 for all taps i Gain setting The...

Page 68: ...nge from x1 to sensor pixel count Notes This function returns all the current pixel coefficients in the order FPN PRNU FPN PRNU The camera also returns the pixel number with each coefficient Example dpc 10 20 Returning FPN Coefficients Purpose Returns a pixel s FPN coefficient value in DN 12 bit LSB Syntax gfc i Syntax Elements i The pixel number to read in a range from 1 to sensor pixel count Exa...

Page 69: ...objects of interest To further aid in debugging and cable data path integrity the first three pixels after Line Valid are aa 55 aa Refer to the following table These statistics are calculated for the pixels within the region of interest Syntax els i Syntax Elements i 0 Disable end of line sequence 1 Enable end of line sequence Notes LVAL is not high during the end of line statistics Example els 1 ...

Page 70: ...ne sum 31 24 Use these values to focus the camera Generally the greater the sum the greater the image contrast and better the focus Setting Thresholds Setting an Upper Threshold Purpose Sets the upper threshold limit to report in the end of line sequence Syntax sut i Syntax Elements i Upper threshold limit in range from 0 to 4095 Notes LVAL is not high during the end of line statistics Related Com...

Page 71: ...hain CCD sense node and analog to digital conversion Syntax cil Syntax Elements Notes This command calibrates all taps within the ROI To calibrate Place a white reference in front of the camera This is similar to a PRNU calibration In addition Use the wil command to write the LUT to non volatile memory Use the eil command to enable use of the LUT Use the roi command to limit the taps calibrated an...

Page 72: ... file Syntax wil Syntax Elements Example wil Notes 0 Factory set 1 to 4 User sets Input LUT is loaded by LIL and automatically at power up LUT use is enabled or disabled with the EIL command Set 0 can only be written from factory mode Load Input LUT Purpose Load previously stored LUT from non volatile memory to FPGA SDRAM Syntax lil Syntax Elements Example lil Notes 0 Factory set 1 to 4 User sets ...

Page 73: ...on the camera operates using the factory settings You can restore the original factory settings at any time using the command rfs User Settings You can save or restore your user settings to non volatile memory using the following commands Pixel coefficients and LUTs are stored separately from other data To save all current user settings to non volatile memory use the command wus The camera will au...

Page 74: ... a saved set of pixel coefficients A factory calibrated set of coefficients is available Syntax lpc i Syntax Elements i FPN coefficients set to save 0 Factory calibrated pixel coefficients 1 Coefficient set one 2 Coefficient set two 3 Coefficient set three 4 Coefficient set four Example lpc 0 Resetting the Current Pixel Coefficients Purpose Resets the current pixel coefficients to zero This comman...

Page 75: ...and the baud rate used before reboot Previously saved pixel coefficients are also restored 7 10 Diagnostics Generating a Test Pattern Purpose Generates a test pattern to aid in system debugging The test patterns are useful for verifying camera timing and connections The following tables show each available test pattern Syntax svm i Syntax Elements i svm 0 Video svm smm 1 0 12 bit test pattern 2 ta...

Page 76: ...76 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA svm smm 2 1 svm smm 2 0 8 bit test pattern 2 tap model svm smm 2 1 svm smm 1 0 12 bit test pattern 1 tap model ...

Page 77: ...tatistics for calibrating the camera Returning a Single Line of Video Purpose Returns a complete line of video without pixel coefficients applied displaying one pixel value after another After pixel values have been displayed it also displays the minimum maximum and mean value of the line sampled within the region of interest the region of interest command is explained in section Setting a Region ...

Page 78: ...ands gla ccf ccp cpa Example css 1024 Returning the Average of Multiple Lines of Video Purpose Returns the average for multiple lines of video data without pixel coefficients applied The number of lines to sample is set and adjusted by the css command The camera displays the Min Max and Mean statistics for the pixels in the region of interest the region of interest command is explained in section ...

Page 79: ...while it is in this state 7 13 Voltage Measurement The command vv displays the camera s input voltage Note that the voltage measurement feature of the camera provides only approximate results typically within 10 The measurement should not be used to set the applied voltage to the camera but only used as a test to isolate gross problems with the supply voltage 7 14 Camera Frequency Measurement Purp...

Page 80: ...mera s current settings The table below lists all of the gcp screen settings To read all current camera settings use the command Syntax gcp GCP Screen Description GENERAL CAMERA SETTINGS Camera Model No S3 x0 0xK40 00 R Camera model number Camera Serial No xxxxxxxxx Camera serial number Firmware Version xx xx xxxxx xx Firmware design revision number CCI Version xxxxx xx CCI version number FPGA Ver...

Page 81: ...xposure time setting Value is set with the set command See the Setting the Camera Link Mode section for details CCD Direction internal forward Current direction setting set with scd command Refer to section CCD Shift Direction for details Horizontal Binning 1 Current horizontal binning factor set with the sbh command Video Mode video Current video mode value set with the svm command See section Ge...

Page 82: ...s command See section 7 11 Returning Video Information for details Upper Threshold 3600 Upper threshold value set with the sut command See section 7 6 End of line Sequence for details Lower Threshold 400 Lower threshold value set with the slt command See section 7 6 End of line Sequence for details Analog Gain dB 0 0 0 0 Analog gain settings set with the sag command See section 7 5 Analog and Digi...

Page 83: ...ls Returning Camera Settings with Get Commands You can also return individual camera settings by inserting a get in front of the command that you want to query If the command has a tap or pixel number parameter you must also insert the tap number or pixel number that you want to query Refer to Table 14 below for a list of available commands To view a help screen listing the following get commands ...

Page 84: ...ng where 0 PRNU coefficients disabled 1 PRNU coefficients enabled get gcm Returns the camera s model number get gcs Returns the camera s serial number get gcv Returns the camera s software version get ger Returns the maximum exposure time for the current line rate get gfc x Returns the FPN pixel coefficient for the pixel indicated get gl x1 x2 Returns pixel values for the pixel range specified get...

Page 85: ...trolled reverse direction via CC3 get sdo t Returns the digital offset value in DN for the tap indicated t Tap value 0 for all taps or 1 to 2 for individual tap selection get sem Returns the current exposure mode 2 Internal SYNC internal PRIN programmable line rate and exposure time using commands ssf and set 3 External SYNC internal PRIN maximum exposure time 4 Smart EXSYNC 5 External SYNC and PR...

Page 86: ...er threshold value get svm Returns the current video mode 0 Normal video mode 1 Test pattern 2 Test pattern get ugr t Returns the gain reference value t tap selection either 1 to 2 depending on camera model or 0 for all taps get vt Returns the camera s internal chip temperature in degrees Celsius get vv Returns the camera s supply voltage get wfc Returns whether FPN coefficients have been saved 0 ...

Page 87: ...value 3 This algorithm adjusts digital gain so that the average pixel value in tap s ROI is equal to the specified target 4 This algorithm adjusts the analog gain so that the peak tap ROI pixels are adjusted to the specified target t Tap value Use 0 for all taps or 1 or 2 for individual tap selection depending on camera model i Calibration target value in a range from 1024 to 4055DN 12 bit LSB cor...

Page 88: ...output across multiple cameras 3 This algorithm includes an analog gain adjustment prior to PRNU calibration Analog gain is first adjusted so that the peak pixel value in tap s ROI is within 97 to 99 of the specified target value It then calculates the PRNU coefficients using the target value as shown below PRNU Coefficient Target AVG Pixel Value FPN value sdo i i i The calculation is performed fo...

Page 89: ...efficients where i is 0 PRNU coefficients disabled 1 PRNU coefficients enabled get camera model gcm Reads the camera model number get camera parameters gcp Reads all of the camera parameters get camera serial gcs Read the camera serial number get camera version get exposure mode gcv gem Read the firmware version and FPGA version Retrieves the current camera exposure mode get fpn coeff gfc x Read t...

Page 90: ...oad input LUT s from non volatile memory to current In range of 0 to 4 load pixel coefficients lpc i Loads the previously saved pixel coefficients from non volatile memory where i is 0 Factory calibrated coefficients 1 Coefficient set one 2 Coefficient set two 3 Coefficient set three 4 Coefficient set four reset camera rc Resets the entire camera reboot Baud rate is not reset and reboots with the ...

Page 91: ... increases with higher values set binning horizontal sbh m Sets the horizontal binning value Available values are 1 and 2 set baud rate sbr i Set the speed of camera serial communication port Baud rates 9600 19200 57600 and 115200 Default 9600 set cable parameter scb i Set the cable parameter Output compare value Available values are 0 255 set ccd direction scd i Sets the CCD shift direction where...

Page 92: ...the camera help screen h command for allowable range set fpn coeff sfc x i Set the FPN coefficient x pixel number within the range 1 to sensor pixel count i FPN value within the range 0 to 2047 12 bit LSB set input LUT sil t i Set a single value in a LUT t Tap 1 or 2 i Value within the range 255 to 256 set lower threshold slt i The pixels below the lower threshold are checked for and reported in t...

Page 93: ...ode where i is 0 Low sensitivity mode 1 High sensitivity mode 2 Tall pixel mode set upper threshold sut i The pixels equal to or greater than the upper threshold are checked for and reported in the end of line sequence in a range from 0 4095 set video mode svm i Switch between normal video mode and camera test patterns 0 Normal video mode 1 Camera test pattern 2 Camera test pattern update gain ref...

Page 94: ...ameter accepted was outside of specified operating range e g gain greater than 10 dB of factory setting Warning 02 Clipped to min Parameter was clipped to the current operating range Use gcp to see value used Warning 03 Clipped to max Parameter was clipped to the current operating range Use gcp to see value used Warning 04 Related parameters adjusted Parameter was clipped to the current operating ...

Page 95: ... of access but not effective Eg line rate when in smart Exsync mode Error 06 Timeout Command not completed in time Eg FPN PRNU calculation when no external Exsync is present Error 07 Camera settings not saved Tried saving camera settings rfs rus but they cannot be saved Error 08 Unable to calibrate tap outside ROI Cannot calibrate a tap that is not part of the region of interest Error 09 The camer...

Page 96: ...he photo sensitive area it has no control over the charge accumulated in the gates Even with exposure control on at low line rates this gate charge can cause the camera to saturate Using the Set Readout Mode srm command the camera user can control the camera s behavior in order to minimize the dark current artifact The modes of operation selected by the srm command are Auto On or Off Note This com...

Page 97: ...m 1 In this mode the gate dark current will be cleared continuously After the trigger EXSYNC is received the dark current is cleared from the image sensor before the image is acquired The line rate is limited to the maximum line rate available for that model of camera For information on artifacts that may be experienced while using this mode see the Artifacts section below Table 18 Max Line Rate M...

Page 98: ...e table below outlines the artifacts that may be seen during this transition period All subsequent lines after this occurrence will be as expected In the case of a slow transition that is when the EXSYNC line rate increases by less than 10 of the previous line rate a line readout will not become corrupt There are also limitations on the exposure time when operating in auto mode If the line rate ex...

Page 99: ...e T1 Immediate Readout state SRM 0 Auto Mode Time Period Operating Region Refer to Figure 29 Operating Mode T0 Immediate Readout state T1 Dark Current Dump state T2 Immediate Readout state SRM 2 Immediate Readout Mode Time Period Operating Region Refer to Figure 29 Operating Mode T0 Dark Current Dump state T1 Immediate Readout state Dark Current Dump to Immediate Readout TINT EXSYNC T DUMP T INT L...

Page 100: ... 0 Auto Mode Time Period Operating Region Refer to Figure 29 Operating Mode T0 Dark Current Dump state T1 Immediate Readout state SRM 0 Auto Mode Time Period Operating Region Refer to Figure 29 Operating Mode T0 Immediate Readout state T1 Dark Current Dump state T2 Immediate Readout state SRM 2 Immediate Readout Mode Time Period Operating Region Refer to Figure 29 Operating Mode T0 Dark Current Du...

Page 101: ... 101 DALSA 03 032 20008 03 Dark Current Dump to Immediate Readout TINT Valid T VERT_TRANS LVAL EXSYNC T DUMP T INT F DUMP DUMP MAX F Dark Current Dump to Immediate Readout TINT Valid EXSYNC T DUMP T INT T VERT_TRANS LVAL F DUMP DUMP MAX F ...

Page 102: ... Time Period Operating Region Refer to Figure 29 Operating Mode T0 Immediate Readout state T1 Dark Current Dump state SRM 0 Auto Mode Time Period Operating Region Refer to Figure 29 Operating Mode T0 Dark Current Dump state T1 Immediate Readout state T2 Dark Current Dump state F DUMP F IMMEDIATE Valid EXSYNC T DUMP T INT T VERT_TRANS LVAL ...

Page 103: ... collect dark current during the line period This collected current is added to the pixel charge The middle two red taps have more vertical transfer gates and therefore more charge This additional charge is especially noticeable at slower line rates If the user is in sem 2 or 7 and srm 2 with ssf at 45 of the maximum and then srm 1 is selected the following warning will be displayed but the ssf va...

Page 104: ...104 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...

Page 105: ...andardizes its use of the Camera Link interface LVDS Technical Description Low Voltage Differential Signaling LVDS is a high speed low power general purpose interface standard The standard known as ANSI TIA EIA 644 was approved in March 1996 LVDS uses differential signaling with a nominal signal swing of 350mV differential The low signal swing decreases rise and fall times to achieve a theoretical...

Page 106: ...ing camera control signals Table 20 DALSA Camera Control Configuration CC1 EXSYNC negative edge active CC2 PRIN CC3 Direct in High Sensitivity mode CC4 Not Used Communication Two LVDS pairs have been allocated for asynchronous serial communication to and from the camera and frame grabber Cameras and frame grabbers should support at least 9600 baud These signals are SerTFG Differential pair with se...

Page 107: ...bit Tap 1 LSB Bit 7 xxxxxxx xxxxxxx Mode 1 1 Tap n bit Where n 10 12 Tap 1 LSB Bit 7 Tap 1 Bits 8 9 10 11 xxxxxxx Mode 2 2 Tap 8 bit Tap 1 LSB Bit 7 Tap 2 LSB Bit7 xxxxxxx Mode 3 2 Tap n bit Where n 10 12 Tap 1 LSB Bit 7 Tap 1 Bits 8 9 10 11 Tap 2 Bits 8 9 10 11 Tap 2 LSB Bit 7 8 3 Camera Link Configuration Tables The following table provides tap reconstruction information DALSA is working with th...

Page 108: ...0 All zeros indicates an unsupported feature 0 0 0 0 All zeros indicates an unsupported feature 0 0 0 0 All zeros indicates an unsupported feature Multiple Window Number of Windows Column Start 1 Column End 1 Row Start 1 Row End 1 Column Start 2 Column End 2 0 0 0 0 0 All zeros indicates an unsupported feature 0 0 0 0 0 All zeros indicates an unsupported feature 0 0 0 0 0 All zeros indicates an un...

Page 109: ... Column End value Column End becomes the Column Start value Direction left to right readout C0 T1 1 1024 1 1 1 1 C0 T2 1025 2048 1 1 1 1 Horizontal mirroring is supported Mirror on changes the following unmirrored values to The sign of the column increment is inverted Column Start becomes the Column End value Column End becomes the Column Start value Direction left to right readout C0 T1 1 2048 1 ...

Page 110: ...licable 25 25 25 25 25 Pixel Reset Pulse Minimum Width xx ns 0 if not applicable 3000 3000 3000 3000 3000 Internal Pixel Reset Time Resolution xx ns 0 if not applicable 25 25 25 25 25 Pixel Reset to Exsync Hold time xx ns TBD BAUD Rate 9600 9600 19200 57600 115200 9600 19200 57600 115200 9600 19200 57600 115200 9600 19200 57600 115200 9600 19200 57600 115200 CC1 Exsync EXSYNC EXSYNC EXSYNC EXSYNC ...

Page 111: ...R S3 20 02K40 00 R S3 20 04k40 00 R fulfill s the requirements of the standard s EMC CISPR 22 EN 55022 Class A EN61326 Class A EN 55024 and EN 61326 This product meets the requirements outlined above which will satisfy the regulations for FCC Part 15 Class A Industry Canada ICES 003 Class A and the EMC Directive for CE Marking Place of Issue Waterloo ON CANADA Date of Issue March 2008 Name and Sig...

Page 112: ...112 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...

Page 113: ...tion Note The CCD shift direction is controlled through the serial interface Use the software command scd to determine whether the direction control is set via software control or via the Camera Link control signal on CC3 Refer to the CCD Shift Direction section in this manual page 49 for details Page 20 Revised Table 7 to the following CC1 EXSYNC CC2 PRIN CC3 Direction CC4 Spare 4k model S3 20 04...

Page 114: ...114 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...

Page 115: ...meters 24 43 commands 26 list 86 conectors Camera Link 17 connectors 15 Camera Link 18 Hirose 16 power 16 D dark calibration See flat field correction Dark Current Clearing 96 dark patches 40 data bus 19 digital gain 67 71 offset 63 processing 56 signal processing 62 direction externally controlled 47 sensor shift 11 setting 47 DVAL 20 106 E EIA 644 Reference 105 electrical compliance 34 specs 7 E...

Page 116: ...20 106 LVDS 105 pairs 106 LVDS pairs 106 M magnification 33 MDR26 connector 15 mechanical drawing 31 mechanical specs 7 mirror mode setting 52 mirroring mode 28 models 6 modes CameraLink 28 default 51 mirroring 28 N noisy output 40 O offset analog 59 calibrating 59 digital 63 online help 25 45 operating modes 48 optical interface 32 optical specs 7 output signals 19 outputs TTL 54 P performance sp...

Page 117: ...ngs factory 25 restoring 73 returning 80 83 saving 73 shielded cables compliance 34 statistics 77 STROBE 20 subtracting background 66 sync frequency 79 T tap readout direction 28 reconstruction 107 Technical Sales Support 41 temperature measurement 79 test patterns 75 test patterns 38 threshold lower 70 upper 70 timing mode 7 51 trigger external 19 TTL outputs 54 V video data 78 105 voltage measur...

Reviews: