background image

 

Spyder 3 Camera Link 

User’s Manual 

S3-10-01k40-R 
S3-20-01k40-R 
S3-10-02k40-R 
S3-20-02k40-R 

 

 

 

 

 

 

 

Camera Link Dual Line Scan Camera 

9-Aug-07 

 03-032-20008-00  

 www.dalsa.com 

Summary of Contents for S3-10-01k40-R

Page 1: ...Spyder 3 Camera Link User s Manual S3 10 01k40 R S3 20 01k40 R S3 10 02k40 R S3 20 02k40 R Camera Link Dual Line Scan Camera 9 Aug 07 03 032 20008 00 www dalsa com ...

Page 2: ...ng 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 employees w...

Page 3: ...r Up Camera Settings 27 3 2 Command Categories 28 3 3 Camera Output Format 29 4 Optical Mechanical and Electrical Considerations _____________________________ 33 4 1 Mechanical Interface 33 4 2 Optical Interface 34 4 3 Electrical Interface 36 5 CCD Handling Instructions______________________________________________ 37 5 1 Electrostatic Discharge and the CCD Sensor 37 5 2 Protecting Against Dust Oi...

Page 4: ...eturning Camera Settings 79 7 16 ASCII Commands Reference 85 7 17 Error Handling 92 7 18 Clearing Dark Current 94 8 Appendix B ________________________________________________________ 103 8 1 Camera Link Reference Timing and Configuration Table 103 8 2 Camera Link Bit Definitions 105 8 3 Camera Link Configuration Tables 105 9 Appendix C ________________________________________________________ 109 ...

Page 5: ...d 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 vignetting non uniform lighting and s...

Page 6: ...1K40 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 resolution 1 sensor tap Base Camera Link configuration 1 2 Camera Performance Specifications Table 2 Spyder 3 CL Camera Performance Specifications Feature Speci...

Page 7: ...ower Dissipation W 5 Operating Temperature C 0 to 50 Bit Width Bits 8 or 12 bit user selectable Output Data Configuration Base Camera Link Speed 1k 2k Notes Maximum Line Rate 2 tap model 68 36 80 MHz 1 tap model 36 18 5 40 MHz Operating Specifications 12 bit values Flat Field Correction enabled 10dB 0dB 10dB Specification Unit Min Typ Max Min Typ Max Min Typ Max Notes Broadband Responsivity dual l...

Page 8: ...p p DN p p 8 5 10 80 80 12 12 208 208 37 37 752 752 SEE calculated Dual line Single line nJ cm2 6 75 13 5 2 14 4 29 0 68 1 35 NEE calculated Dual line Single line pJ cm2 13 6 27 2 10 3 20 8 10 2 20 4 Sat Output Amplitude DN 3968 80 DC Offset DN 96 160 336 Test conditions unless otherwise noted CCD Pixel Rate 40 Megapixels second per sensor tap Line Rate 5000 Hz Nominal Gain setting unless otherwis...

Page 9: ...r Block Diagram Tap 1 CCD Readout Shift Register CCD Readout Shift Register NPixels 14μm x 14μm NPixels 14μm x 14μm N 1024 2048 Pixel1 1 Sensitivity Mode and Pixel Readout The camera has the option to operate in either high sensitivity or low sensitivity mode or in tall pixel mode When in high sensitivity mode the camera uses both line scan sensors and its responsivity increases accordingly When i...

Page 10: ... Sensitivity Mode In low sensitivity mode the camera uses a 14μmx14μm pixel and captures the image using one sensor Sensor 1 CCD Readout Shift Register CCD Readout Shift Register Sensor 2 14μm x 14μm Sensor 1 14μm x 14μm 14μm 14μm Pixel Detail Pixel Detail Figure 5 Tall Pixel Mode In tall pixel mode the camera uses a 28μmx14μm pixel and captures an image two times taller than in high or low sensit...

Page 11: ...tion 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 ...

Page 12: ...12 Spyder 3 CL User s Manual 03 032 20008 00 DALSA 1 4 Responsivity Figure 7 Spyder 3 CL Responsivity 1 5 Derating Curves ...

Page 13: ...Spyder 3 CL User s Manual 13 DALSA 03 032 20008 00 ...

Page 14: ...14 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...

Page 15: ...Spyder 3 CL User s Manual 15 DALSA 03 032 20008 00 ...

Page 16: ...16 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...

Page 17: ...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 monitoring...

Page 18: ...ropriate 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 performance specifications are not guaranteed if your power supply does not meet these requirements DALSA offers a power supply wit...

Page 19: ...ion 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 10 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 implemented as a Medium or Full Configuration in the Spyder 3 cameras Refer to se...

Page 20: ... 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 Inner shi...

Page 21: ...w 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 17Hgcp or 18Hget clm The bit patterns are defined by the DALS...

Page 22: ... 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 11 Spyder 3 Overview Timing Showing Input and Output Relationships Figure 12 Spyder 3 Fixed Programmed I...

Page 23: ...e to the first 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 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 25 600 2k 1 tap 51 200 2k 2 tap tOVERHEAD...

Page 24: ...24 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...

Page 25: ...nd the PC does not require any custom software Note This command set has changes from previous DALSA cameras Do not assume that the Piranha HS commands perform similarly to 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 each command A space ...

Page 26: ... 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 both ...

Page 27: ...t commands refer to section the Returning Camera Settings section The camera configuration 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 avai...

Page 28: ...3 CL User s Manual 03 032 20008 00 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 13 Command Categories ...

Page 29: ...ion Controlled by smm command Command Models CCD and Camera Link Taps Bit Depth smm 0 increment 1 smm 1 increment 1 clm 0 S3 10 01K40 1 Camera Link taps 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 Camera Link taps 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...

Page 30: ... 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 current ...

Page 31: ...are command smm 0 1 1024 Right to Left Software command smm 1 1024 1 Table 11 S3 20 01K40 Forward or Reverse Pixel Readout Camera Link Readout Direction Tap 1 Tap 2 Left to Right Software command smm 0 1 512 513 1024 Right to Left Software command smm 1 1024 513 512 1 Table 12 S3 10 02K40 Forward or Reverse Pixel Readout Camera Link Readout Direction Tap 1 Left to Right Software command smm 0 1 20...

Page 32: ...al 03 032 20008 00 DALSA Table 13 S3 20 02K40 Forward or Reverse Pixel Readout Camera Link Readout Direction Tap 1 Tap 2 Left to Right Software command smm 0 1 1024 1025 2048 Right to Left Software command smm 1 2048 1025 1024 1 ...

Page 33: ...Spyder 3 CL User s Manual 33 DALSA 03 032 20008 00 4 Optical Mechanical and Electrical Considerations 4 1 Mechanical Interface Figure 17 Spyder 3 CL Camera Mechanical Dimensions ...

Page 34: ...rtant to consider exposure than illumination The total amount of energy which is related to the total number of photons reaching the sensor is more important than the rate at which it arrives For example 5μJ cm2 can be achieved by exposing 5mW cm2 for 1ms just the same as exposing an intensity of 5W cm2 for 1μs Light Sources Keep these guidelines in mind when setting up your light source LED light...

Page 35: ...ristics 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 which the image of an infinitely distant object is brought to focus The effective focal length f is the distance from the second principal point to the second focal point The back focal length BFL is the distance from the image side of the lens surface to the second focal ...

Page 36: ... 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 EMC compliance follow these specific guidelines Ensure that all cable shields have ...

Page 37: ...s 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 senso...

Page 38: ...ther 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 Transple...

Page 39: ...ment 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 using c...

Page 40: ...e 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 the came...

Page 41: ...ll 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 genera...

Page 42: ...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 solvent fr...

Page 43: ...puter 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 much detail ...

Page 44: ...44 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...

Page 45: ...ommands 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 number Ex...

Page 46: ...ue 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 parameter is a relational value Increase the value for longer cables and decrease it for shorter ones Adjust...

Page 47: ...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 15 Returning Camera Settings The camera configuration command help screen lists all commands available Parameter ranges displayed are the extreme ranges available Depending on the cur...

Page 48: ...erest 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 1000 sf...

Page 49: ...Example ssm 0 CCD Shift Direction Purpose When in high sensitivity mode selects the forward or reverse CCD shift direction or external direction control 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 Forward CCD shift direction 1 Reverse CCD shift direction 2 Externally controll...

Page 50: ...xample 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 mode usin...

Page 51: ...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 pixel...

Page 52: ...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 20 EXSYNC controls Line Period and PRIN controls Exposure Time Line Period Exposure Time Line Period Readout Exposure Time EXSYNC F...

Page 53: ...te Programmable Exposure Time In this mode the exposure time is set internally with a maximum line rate Figure 23 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 command set...

Page 54: ... 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 exposure time allowed for the current line rat...

Page 55: ...er 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 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 th...

Page 56: ...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 end nu...

Page 57: ... 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 analog signal to increase the signal strength before the A D conversion It is used to take advantage of the full dynamic...

Page 58: ... are defined to be of 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 y...

Page 59: ...cified 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 within th...

Page 60: ... 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 corre...

Page 61: ...ine 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 performanc...

Page 62: ... 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 of sa...

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

Page 64: ...yntax 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 previous sectio...

Page 65: ... 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 useful for achieving uniform output across multiple cameras Is is important that the target value set with the...

Page 66: ... 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 Perform all analog adjustments before calculating PRNU Perform FPN correction before PRNU correction...

Page 67: ...00 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 contra...

Page 68: ...se 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 gain ...

Page 69: ...om 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 Example g...

Page 70: ...s 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 Table ...

Page 71: ...reshold 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 Commands els slt Example sut 1024 Setting a Lower Threshold Purpose Sets the lower threshold limit to report in the end of line sequence Syntax slt i Syntax Elements i Upper threshold limit in range from 0 ...

Page 72: ...e your user settings to non volatile memory using the following commands Pixel coefficients are stored separately from other data To save all current user settings to non volatile memory use the command wus The camera will automatically restore the saved user settings when powered up Note While settings are being written to nonvolatile memory do not power down camera or camera memory may be corrup...

Page 73: ...ed 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 command does...

Page 74: ...e baud rate used before reboot Previously saved pixel coefficients are also restored 7 9 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 tap model...

Page 75: ...Spyder 3 CL User s Manual 75 DALSA 03 032 20008 00 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 76: ...ics 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 of Int...

Page 77: ...la 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 Settin...

Page 78: ...it is in this state 7 12 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 13 Camera Frequency Measurement Purpose Re...

Page 79: ... 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 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 Version xx...

Page 80: ...e 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 Generati...

Page 81: ...and See section 7 10 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 Digital Si...

Page 82: ...t 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 16 below for a list of available commands To view a help screen listing the following get commands use the command gh Table 16 Get Comm...

Page 83: ...get gl x1 x2 Returns pixel values for the pixel range specified get gla x1 x2 Returns the average of the pixel range indicated get gpc x Returns the PRNU pixel coefficient for the pixel indicated get gsf i Returns the frequency of the Camera Link control signal indicated either 1 2 or 3 get gsl Returns the led status where get lpc Returns the current coefficient set number get rfs Returns whether ...

Page 84: ...exposure time 7 Internal programmable SYNC maximum exposure time Factory setting 8 Internal SYNC internal PRIN programmable exposure time Maximum line rate for exposure time get set Returns the current exposure time in µs get sfc x Returns the FPN coefficient for the pixel number idicated x pixel number within the range 1 to sensor pixel count get slt Returns the current lower threshold value get ...

Page 85: ...nts have been saved 0 No FPN coefficients saved 1 Pixel coefficients have been saved get wpc Returns whether PRNU coefficients have been saved 0 No PRNU coefficients saved 1 Pixel coefficients have been saved get wus Returns whether user settings have been saved 0 No user settings saved 1 User settings have been saved 7 16 ASCII Commands Reference The following table lists all of the camera s avai...

Page 86: ... equal to the specified target 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 fro...

Page 87: ...t 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 for all...

Page 88: ...d 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 the FPN coefficient x pixel number to read in a range from 1 sensor pixel coun...

Page 89: ...icients 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 value last used restore factory settings rfs Restores the camera s factory settings FPN and PRNU coefficients reset to 0 region of interest roi x y x y Sets the pixel range affected by the cag gl gla ccf and c...

Page 90: ...ward CCD shift direction 1 Reverse CCD shift direction 2 Externally controlled direction control via CC3 set digital offset sdo t i Subtracts the input value from the video signal prior to FPN correction t tap selection either 1 or 2 depending on camera model or 0 for all taps i Offset in a range from 0 to 2048DN set exposure mode sem m Sets the exposure mode 2 Internal SYNC internal PRIN programm...

Page 91: ...lear 2 Immediate readout Does not clear dark current set subtract background ssb t i Subtract the input value from the output signal t Tap value 0 for all taps or 1 to number of camera taps for individual tap selection i Subtracted value in a range from 0 to 4095 set sync frequency ssf i Set the frame rate to a value from 300Hz to 36000Hz 2k model or 300Hz to 68000Hz 1k model Value rounded up down...

Page 92: ...ent set one 2 PRNU coefficient set two 3 PRNU coefficient set three 4 PRNU coefficient set four write user settings wus Write all of the user settings to non volatile memory 7 17 Error Handling The following table lists warning and error messages and provides a description and possible cause Warning messages are returned when the camera cannot meet the full value of the request error messages are ...

Page 93: ...rameters Error 04 Incorrect parameter value This response returned for Alpha received for numeric or vice versa Not an element of the set of possible values E g Baud Rate Outside the range limit Error 05 Command unavailable in this mode Command is valid at this level of access but not effective Eg line rate when in smart Exsync mode Error 06 Timeout Command not completed in time Eg FPN PRNU calcul...

Page 94: ...rge 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 command is only available in low sensitivity and tall pix...

Page 95: ...his 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 20 Max Line Rate Model Imm...

Page 96: ...t 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 exceeds half the maximum line rate then th...

Page 97: ...k Current Dump state T1 Immediate Readout state SRM 0 Auto Mode Time Period Operating Region Refer to Figure 26 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 26 Operating Mode T0 Dark Current Dump state T1 Immediate Readout state Dark Current Dump to Immediate Readout TINT ...

Page 98: ...ion Refer to Figure 26 Operating Mode T0 Dark Current Dump state T1 Immediate Readout state SRM 0 Auto Mode Time Period Operating Region Refer to Figure 26 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 26 Operating Mode T0 Dark Current Dump state T1 Immediate Readout state ...

Page 99: ...Spyder 3 CL User s Manual 99 DALSA 03 032 20008 00 Dark Current Dump to Immediate Readout TINT Dark Current Dump to Immediate Readout TINT ...

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

Page 101: ...rent 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 value will not be changed Warning 09 Internal line rate inconsist...

Page 102: ...102 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...

Page 103: ...izes 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 maxim...

Page 104: ...era control signals Table 22 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 serial co...

Page 105: ...B 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 the machine vision industry to use this table as the basis for auto configuration Visit the www dalsa com mv Web site and view the DALSA Camera Link Implementa...

Page 106: ...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 unsupported feature 0 0 0 0 0 All zeros indicates an unsupported feature Number of Camera Configurat...

Page 107: ...t readout C0 T1 1 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 1024 1 1 1 1 C0 T2 1025 2048 1 1 1 1 Camera Color Hybrid Mono Pattern Solid Mono Mono Mono Mono RGB Pattern Size ...

Page 108: ...5 Pixel Reset Pulse Minimum Width xx ns 0 if not applicable 3000 3000 3000 3000 Internal Pixel Reset Time Resolution xx ns 0 if not applicable 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 CC1 Exsync EXSYNC EXSYNC EXSYNC EXSYNC CC2 Spare PRIN PRIN PRIN PRIN CC3 Forward Spare Forwa...

Page 109: ... S3 20 02K40 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 April 2007 Name and Signature of authorized ...

Page 110: ...110 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...

Page 111: ...Spyder 3 CL User s Manual 111 DALSA 03 032 20008 00 10Appendix D 10 1 Revision History Revision Number Change Description 00 Preliminary release ...

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

Page 113: ... commands 28 list 85 conectors Camera Link 19 connectors 17 Camera Link 20 Hirose 18 power 18 D dark calibration See flat field correction Dark Current Clearing 94 dark patches 42 data bus 21 digital gain 68 offset 64 processing 57 signal processing 63 direction externally controlled 49 DVAL 22 104 E EIA 644 Reference 103 electrical compliance 36 specs 7 EMC compliance 36 EMC Declaration of Confor...

Page 114: ...nification 35 MDR26 connector 17 mechanical drawing 33 mechanical specs 7 mirror mode setting 54 mirroring mode 30 models 6 modes CameraLink 30 default 53 mirroring 30 N noisy output 42 O offset analog 60 calibrating 60 digital 64 online help 27 47 operating modes 50 optical interface 34 optical specs 7 output signals 21 outputs TTL 56 P performance specifications 10 11 pixel readout 31 32 pixel s...

Page 115: ...storing 72 returning 79 82 saving 72 shielded cables compliance 36 statistics 76 STROBE 22 subtracting background 67 sync frequency 78 T tap readout direction 30 reconstruction 105 Technical Sales Support 43 temperature measurement 78 test patterns 74 test patterns 40 threshold lower 71 upper 71 timing mode 7 53 trigger external 21 TTL outputs 56 V video data 77 103 voltage measurement 78 W warnin...

Reviews: