GigE Dual Line Scan Camera 3-Jan-08 03-032-10158-09 www.dalsa.
Spyder 3 GigE User Manual 2 © 2008 DALSA. All information provided in this manual is believed to be accurate and reliable. No responsibility is assumed by DALSA for its use. DALSA reserves the right to make changes to this information without notice. Reproduction of this manual in whole or in part, by any means, is prohibited without prior permission having been obtained from DALSA.
Spyder 3 GigE User’s Manual 3 Contents Introduction to the Spyder 3 GigE Camera ______________________________________ 5 1.1 Camera Highlights.......................................................................................................................................................6 1.2 Camera Performance Specifications ............................................................................................................................7 1.3 Image Sensor...................................
Spyder 3 GigE User Manual 6.3 Product Support...........................................................................................................................................................53 Spyder 3 GigE ASCII Commands _____________________________________________ 54 A1 Sensor Output Format..................................................................................................................................................57 A1.1 Sensitivity Mode..................................
Spyder 3 GigE User’s Manual 5 1 Introduction to the Spyder 3 GigE Camera Chapter Contents 1.1 Camera Highlights ___________________________________________________ 6 Features.............................................................................................................................................................................6 Programmability .................................................................................................................................................
Spyder 3 GigE User Manual 6 1.1 Camera Highlights Features • Broadband responsivity up to 408±16DN(nJ/cm2) @10dB gain • 1024 or 2048 pixels, 14µm x 14µm pixel pitch, 100% fill factor • High or low speed (40 or 80MHz) • Up to 68KHz line rates • Dynamic range up to 1400 : 1 • Data transmission up to 100m • ±50µm x, y sensor alignment • RoHS and CE compliant Programmability • Easy to use graphical user interface.
Spyder 3 GigE User’s Manual 7 • Wood/tile/steel inspection • 100% print inspection (lottery tickets, stamps, bank notes, paychecks) • Postal sorting • Glass bottle inspection • Industrial metrology • Food inspection • Web inspection Models The Spyder 3 GigE camera is available in the following models: Table 1: Spyder 3 GigE Camera Models Overview Model Number Description SG-10-01k80-00-R 1k resolution, 2 sensor taps, 80MHz data rate, RoHS compliant.
Spyder 3 GigE User Manual 8 Feature / Specification Mechanical Interface Units Units 1k 2k Camera Size mm 72(h) x 60(w) x 50(l) Mass g <300 Notes Notes Connectors power connector GigE connector GPI/O connector Units Notes Input Voltage Volts +12 to +15 Power Dissipation W <8.5 Operating Temperature °C 0 to 50 Bit Width Bits 8 or 12 bit user selectable GigE Units 1k 2k Minimum Line Rate kHz 1 1 Maximum Line Rate kHz 80MHz 68 model 36 40MHz 36 model 18.
Spyder 3 GigE User’s Manual 9 PRNU ECD Uncorrected Local Uncorrected Global Corrected Local Corrected Global % % DN p-p DN p-p 8.5% 10% 80 80 8.5% 10% 80 80 8.5% 10% 95 95 PRNU ECE Uncorrected Local Uncorrected Global Corrected Local Corrected Global % % DN 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 NEE (calculated) Dual line Single line pJ/cm2 Sat. Output Amplitude DN DC Offset DN 6.35 12.2 1.92 4.0 0.61 1.2 4.6 9.2 4.5 9.
Spyder 3 GigE User Manual 10 1.3 Image Sensor The camera uses DALSA’s dual line scan sensor. The camera can be configured to read out in either high or low sensitivity mode, tall pixel mode, and forward or reverse shift direction.
Spyder 3 GigE User’s Manual 11 Figure 3: High Sensitivity Mode Pixel Detail 14μm 14μm 14μm CCD Readout Shift Register Sensor 2(14μm x 14μm) Sensor 1 (14μm x 14μm) CCD Readout Shift Register In high sensitivity mode, the camera uses a 14μmx14μm pixel and captures the same image twice, creating a brighter image.
Spyder 3 GigE User Manual 12 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”.
Spyder 3 GigE User’s Manual 13 1.4 Responsivity Figure 7: Spyder 3 GigE Responsivity Spyder 3 GigE Spectral Responsivity. Nominal Gain 2500 High Sensitivity Mode 2250 Low Sensitivity Mode Responsivity {DN/(nJ/cm2)} 2000 1750 1500 1250 1000 750 500 250 0 400 500 600 700 800 900 1000 1100 Wavelength (nm) Refer to section 1.3 Image Sensor for a description of high and low sensitivity modes.
Spyder 3 GigE User Manual 14 1.5 Derating Curves Change in DC offset with Integration Time (12 Bit, 0dB Gain) 300 250 DN 200 LSM 150 HSM 100 50 0 0 0.0002 0.0004 0.0006 0.0008 0.001 0.
Spyder 3 GigE User’s Manual 15 Change in Noise vs Temperature (12 bit, 0dB Gain, Integration Time 200us) 19.50 19.00 18.50 DN RMS 18.00 LSM HSM 17.50 17.00 16.50 16.
Spyder 3 GigE User Manual 16 Change in PRNU (pk-pk) vs Temperature (12 Bit, 0dB Gain, Integration Time 200us) 80 75 70 DN LSM 65 HSM 60 55 50 0 10 20 30 40 50 Temperature (°C) 03-032-10158-09 DALSA
Spyder 3 GigE User’s Manual DALSA 17 03-032-10158-09
Spyder 3 GigE User Manual 18 2 Setting Up the Camera Chapter Contents 2.1 Hardware Installation Overview __________________________________________ 19 2.2 Equipment Recommendations ____________________________________________ 21 PC Requirements ...............................................................................................................................................................21 Network Adapter Requirements ..........................................................................
Spyder 3 GigE User’s Manual 19 2.1 Installation Overview 1 Install Ethernet card. Following the manufacturer’s instructions, install an Ethernet card. For Gigabit performance, you must install an Intel PRO/1000 Ethernet card. ! Do not install the manufacturer’s driver. You will install the appropriate QuickCam driver in step 3. 2 Install QuickCam GUI. Insert the Spyder3 GigE CD into your CDROM and follow the online instructions to install the QuickCam GUI. 3 Install QuickCam driver. 1.
Spyder 3 GigE User Manual 20 4 GPIO Connector If using an external sync, external direction control or any other external signals, connect the GPIO. 5 Connect Ethernet cable. Connect Cat 5 or Cat 6 cable from camera to computer Ethernet jack. 6 Connect power cable. Connect power cable from camera to +12 V to +15 V power supply. 4 7 Open QuickCam. On the Windows task bar click , Start point to Programs—DALSA QuickCam—DALSA QuickCam . 8 Confirm or enter your IP Address.
Spyder 3 GigE User’s Manual 21 2.2 Equipment Recommendations PC Requirements To achieve best performance, the following minimum requirements are recommended: • Processor: AMD Athlon XP 2000+ or Intel P4 2.0GHz • Memory: 512MB DDR-RAM PC2700 • Motherboard: Mid-end without embedded graphic card. Avoid using onboard video cards as they may compete with other components for shared memory. • VGA card: Nvidia GForce 2 or better (ATI not recommended).
Spyder 3 GigE User Manual 22 standard Ethernet switches. However, switches offer a range of functions and performance grades, so care must be taken to choose the right switch for a particular application. The following switches are expected to work with the camera: • SMC (www.smc.com) TigerSwitch 86xxT family Features: Layer 2 with IGMP v2.0 managed switch that supports jumbo frames and multicast • 3COM (www.3com.com) 3C1740x (3800 Family): 5 Features: Layer 2 with IGMP v2.
Spyder 3 GigE User’s Manual 23 memory using almost no PC CPU resources. This leaves the CPU free to process applications. To achieve this performance level, PCs must be equipped with a GigE network interface (also referred to as a network adapter) based on Intel’s 82540 chip. Many motherboard manufacturers are designing this chip directly into their board in “LAN on the motherboard (LOM)” implementations.
Spyder 3 GigE User Manual 24 Note: For more information and instructions on installing the drive, refer to the Spyder 3 GigE Driver Manual. To view the manual, point to Programs → DALSA QuickCam → Documentation → Spyder 3 GigE Driver Manual Driver Comparison The performance metrics in Table 3 may help you determine which driver mode best suits your application requirements. The measurements were taken using an Intel P4 2.8 GHzbased PC with hyperthreading, 512 MB of memory, and Windows XP.
Spyder 3 GigE User’s Manual 25 Figure 8: Spyder 3 GigE Input and Output Connectors ! WARNING: It is extremely important that you apply the appropriate voltages to your camera. Incorrect voltages may damage the camera. See section 2.4 for more details. 2.4.1 Ethernet Connector Ethernet Connection LED@ 1Gbps (Green) Data Transmission LED (Yellow) Ethernet Connection LED Steady green indicated that an Ethernet connection is successfully established at 1Gbps.
Spyder 3 GigE User Manual 26 2.4.2 Power Connector Figure 9: Hirose 6-pin Circular Male—Power Connector Hirose 6-pin Circular Male 6 1 5 2 4 3 Mat ing Par t: HIRO SE HR10A -7P-6S Table 4: Hirose Pin Description Pin Description Pin Description 1 Min +12 to Max +15V 4 GND 2 Min +12 to Max +15V 5 GND 3 Min +12 to Max +15V 6 GND The camera requires a single voltage input (+12 to +15V).
Spyder 3 GigE User’s Manual 27 Pin Signal Description 2 INPUT_0- LVDS (negative) 3 INPUT_1+ LVDS/TTL format (positive) 4 INPUT_1- LVDS (negative) 5 GND 6 INPUT_2+ LVDS/TTL format (positive) 7 INPUT_2- LVDS (negative) 8 INPUT_3 TTL auxiliary input 9 OUTPUT_3 TTL auxiliary output 10 OUTPUT_2+ LVDS/TTL auxiliary output 11 OUTPUT_0+ LVDS/TTL auxiliary output 12 OUTPUT_0- LVDS (negative) 13 OUTPUT_1+ LVDS/TTL auxiliary output 14 OUTPUT_1- LVDS (negative) 15 OUTPUT_2-
Spyder 3 GigE User Manual 28 Figure 12: TTL Output Schematic 100Ω 5V ESD Protection Termination: 100 Ω series Output current: sink 50 mA; source 50 mA Output voltage: maximum of low 0.55 V @ 32mA; minimum of high 3.8 V @ 32mA. LVDS Inputs and Outputs (LVDS compliant) Figure 13: LVDS Input 100Ω Figure 14: LVDS Output GPIO Isolation All of the GPIOs are isolated from the rest of the camera and the camera case.
Spyder 3 GigE User’s Manual 29 2.5 Camera LED The camera is equipped with a red/green LED used to display the operational status of the camera. The table below summarizes the operating states of the camera and the corresponding LED states. When more than one condition is active, the LED indicates the condition with the highest priority. Error and warning states are accompanied by corresponding messages further describing the current camera status.
Spyder 3 GigE User Manual 30 tPR ns 0 twPR_LOW ns 3000 twPR_HIGH ns 3000 tPR_INT ns 3000 Table 8: tReadout Values tREADOUT Sensor Size # Taps Readout Time 1024 1 25600ns 1024 2 12800ns 2048 1 51200ns 2048 2 25600ns Table 9: tOverhead Values tOVERHEAD Sensor Size # Taps Readout Time 1024 1 725ns 1024 2 450ns 2048 1 1400ns 2048 2 725ns Latency Calculation Latency = Ethernet_Aquisition_Time + LAN_Preparation_Time + LAN_Transfer_Time + Overhead_Delay Ethernet Acquisit
Spyder 3 GigE User’s Manual 31 LAN_Preparation_Time = (pkt_payload_size + pkt_header_size) / (LAN_clk_freq * 4) LAN Transfer Time LAN_Transfer_Time = (pkt_payload_size + pkt_header_size) / 125MB/s Overhead Delay Overhead_Delay can range from 5 to 6μs and is dependent upon the internal operations of your computer.
Spyder 3 GigE User Manual 3 Controlling the Camera 3.1 QuickCam Interface ___________________________________________________ 33 236H Installing and Running QuickCam and the QuickCam SDK .............................................................................................. 33 237H Getting Help ...................................................................................................................................................................... 33 238H 3.
Spyder 3 GigE User’s Manual 33 To control the Spyder 3 GigE camera, you have a choice of using: • The DALSA QuickCam graphical user interface (GUI). QuickCam provides you with a quick and easy way to start imaging with the camera. All camera functionality can be controlled with the QuickCam application. QuickCam is available on the Spyder 3 GigE CD. Refer to section 3.1 QuickCam Interface for instructions on installing and running QuickCam. 241H • The DALSA QuickCam SDK.
Spyder 3 GigE User Manual 34 • To view the QuickCam User’s Manual, point to Programs QuickCam User’s Manual QuickCam 3.2 Using ASCII Commands All functionality available through the QuickCam GUI is also available through the serial interface using the camera-specific three letter commands. There are three ways to enter ASCII commands: through the QuickCam Command tab, through the Configuration window, or through the virtual serial port.
Spyder 3 GigE User’s Manual 35 Figure 15: Command Tab after Sending the sem (Set Exposure Mode) Command Configuration Window Method: 1. Open QuickCam. Refer to section 3.1 QuickCam Interface for details on installing and running the application. 246H In the Camera Configuration Window: 2. Open the Exposure/GPIO tab. 3. Click Advanced… 4. Open the Port Communication tab. The Port Communication tab provides an ASCII interface.
Spyder 3 GigE User Manual 36 Virtual Serial Port Method 1. Open QuickCam. Refer to section 3.1 QuickCam Interface for details on installing and running the application. 2. Select Configure → Virtual Serial Port to enable or disable the virtual serial port. 247H Some camera control tools can connect only to a Windows system serial port. To avoid asking for changes from camera manufacturers, two serial COM ports in the PC can be linked together to share the serial channel to the IP engine.
Spyder 3 GigE User’s Manual DALSA 37 03-032-10158-09
Spyder 3 GigE User Manual 38 4 Optical, Mechanical, and Electrical Considerations Chapter Contents 4.1 Mechanical Interface __________________________________________________ 39 248H 4.2 Optical____________________________________________________________ 40 249H Illumination....................................................................................................................................................................... 40 250H Light Sources ..........................................
Spyder 3 GigE User’s Manual 39 4.1 Mechanical Interface Figure 17: Spyder 3 GigE Camera Mechanical Dimensions 30.000±0.050 CCD IMAGING CENTRE M42x1 THREAD DEPTH 4.0 60 30 50 11.5 36.000±0.050 CCD IMAGING CENTRE 72 57.0 16.3 10.7 7.5 23.1 42.0 9.0 11.9 6.56±0.25 TO CCD IMAGING SURFACE 60 Units : mm M3x0.5 THREAD DEPTH 5.0 (4X) 14.0 32.0 6.0 Figure 18: Spyder 3 GigE Heatsink Mechanical Dimensions 27.0 48.0 5.0 (2X) 2.0 14.0 8.0 18.5 29.0 32.0 39.5 50.0 60.0 3.2 THRU (2X) 2.
Spyder 3 GigE User Manual 40 4.2 Optical Interface Illumination The amount and wavelengths of light required to capture useful images depend on the particular application. Factors include the nature, speed, and spectral characteristics of objects being imaged, exposure times, light source characteristics, environmental and acquisition system specifics, and more. DALSA’s Web site, http://mv.dalsa.com/, provides an introduction to this potentially complicated issue.
Spyder 3 GigE User’s Manual 41 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 point. The object distance (OD) is the distance from the first principal point to the object.
Spyder 3 GigE User Manual 42 • Ensure that all cable shields have 360° electrical connection to the connector. • Fasten and secure all connectors. The EMC compliance is achieved with the use of shielded CAT5e or CAT6 Ethernet cables Shielded cable suppliers The following is a partial list of cable suppliers carrying cables that meet the compliance requirements: 03-032-10158-09 • http://www.systemax.com/divisions.htm • http://www.cablestogo.com • http://www.globalsources.
Spyder 3 GigE User’s Manual DALSA 43 03-032-10158-09
Spyder 3 GigE User Manual 44 5 CCD Handling Instructions Chapter Contents 5.1 Electrostatic Discharge and the CCD Sensor___________________________________ 45 256H 5.2 Protecting Against Dust, Oil and Scratches ___________________________________ 45 257H 5.
Spyder 3 GigE User’s Manual 45 5.1 Electrostatic Discharge and the CCD Sensor Cameras contain charge-coupled device (CCD) image sensors, which are metal oxide semiconductor (MOS) devices and are susceptible to damage from electrostatic discharge (ESD). Electrostatic charge introduced to the sensor window surface can induce charge buildup on the underside of the window that cannot be readily dissipated by the dry nitrogen gas in the sensor package cavity.
Spyder 3 GigE User Manual 46 5.3 Cleaning the Sensor Window 1. Use compressed air to blow off loose particles. This step alone is usually sufficient to clean the sensor window. 2. 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.
Spyder 3 GigE User’s Manual DALSA 47 03-032-10158-09
Spyder 3 GigE User Manual 48 6 Troubleshooting Chapter Contents 6.1 Troubleshooting _____________________________________________________ 49 259H LED .................................................................................................................................................................................... 49 260H Connections..............................................................................................................................................................
Spyder 3 GigE User’s Manual 49 6.1 Troubleshooting The information in this chapter can help you solve problems that may occur during the setup of your camera. Remember that the camera is part of the entire acquisition system.
Spyder 3 GigE User Manual 50 Camera Operation and Test Patterns To validate camera and Ethernet connections, have the camera send out a test pattern and verify it is being properly received. To send a test pattern: Under Test Pattern on the Diagnostics tab in QuickCam: 1. Select a test pattern from the Camera dropdown box to confirm camera functionality 2. Select a test pattern from the Ethernet dropdown box to confirm your Ethernet connection.
Spyder 3 GigE User’s Manual 4. 51 Click Save. To view the error report: 1. Select View → Error Report. In the Open dialog box: 2. In the Look in list, click the drive or folder that contains the error report you want to open. 3. In the folder list, locate and open the folder that contains the error report. 4. Click the error report, and then click Open. 6.
Spyder 3 GigE User Manual 52 end. The goal is to prevent solvent from evaporating from the window surface, as this will end up leaving residue and streaking behind. 8. Repeat steps 2-4 using a clean tissue until the entire window has been cleaned. 9. Blow off any adhering fibers or particles using dry, filtered compressed air.
Spyder 3 GigE User’s Manual 53 6.3 Product Support If there is a problem with your camera, collect the following data about your application and situation and call your DALSA representative. Note: You may also want to photocopy this page to fax to DALSA. Customer name Organization name Customer phone number fax number email Complete Product Model Number (e.g. SG-10-01k40-00-R...
Spyder 3 GigE User Manual 54 Appendix A Spyder 3 GigE ASCII Commands 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 ends each command. • The camera will answer each command with either “OK >" or "Error xx: Error Message >" or “Warning xx: Warning Message”. The ">" is always the last character sent by the camera.
Spyder 3 GigE User’s Manual 55 Setting Baud Rate Purpose: Syntax: Sets the speed in bps of the serial communication port. Syntax Elements: m sbr m Baud rate. Available baud rates are: 9600 (Default), 19200, 57600, and 115200. Notes: Example: • 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.
Spyder 3 GigE User Manual 56 Example ASCII Command Help Screen (1k 2 Tap Model) Parameters i = integer f = floating point number m = member of a set s = string t = tap x = pixel column number y = pixel row number 03-032-10158-09 cao ccf ccg ccp cpa css dgc dpc els epc gcm gcp gcs gcv get gfc gh gl gla gpc gsf gsl h lpc rc rfs roi rpc rus sag sao sbh sbr scd sdm sdo sem set sfc sgi sgo slt spc srm ssb ssf ssg ssm sut svm ugr vt vv wfc wpc wus calibrate analog offset correction calibrate fpn calibrate ca
Spyder 3 GigE User’s Manual 57 A1 Sensor Output Format A1.1 Sensitivity Mode Purpose: Sets the camera’s sensitivity mode. When using high sensitivity mode, the camera’s responsivity increases. High sensitivity mode permits much greater scanning speeds in low light, or allows reduced lighting levels. Syntax: ssm i Syntax Elements: i Sensitivity mode to use.
Spyder 3 GigE User Manual 58 A1.3 Setting the Bit Depth and Data Mode Purpose: Syntax: Selects the camera’s bit depth, number of taps, and data rate. Syntax Elements: i sdm i Camera bit depth. Allowable values are: For SG-10-01K40 and SG-10-02K40 0 = 8 bits, 1 tap, 40MHz data rate 1 = 12 bits, 1 tap, 40MHz data rate For SG-10-01K80 and SG-10-02K80 2 = 8 bits, 2 taps, 80Mhz data rate 3 = 12 bits, 2 taps, 80MHz data rate Example: sdm 0 A1.
Spyder 3 GigE User’s Manual 59 Table 11: Spyder 3 GigE Exposure Modes Programmable Line Rate Mode SYNC PRIN Programmable Exposure Time Description 2 Internal Internal Yes Yes Internal frame rate and exposure time. Exposure mode enabled (ECE). 3 External Internal No No Maximum exposure time. Exposure control disabled (ECD). 4 External Internal No No Smart EXSYNC. ECE. 5 External External No No External sync, external pixel reset. ECE.
Spyder 3 GigE User Manual 60 Mode 3: External Trigger with Maximum Exposure Line rate is set by the period of the external trigger pulses. The falling edge of the external trigger marks the beginning of the exposure. Example 2: Line Rate is set by External Trigger Pulses.
Spyder 3 GigE User’s Manual 61 Mode 6: External Line Rate and Internally Programmable Exposure Time Figure 21: EXSYNC controls Line Period with Internally controlled Exposure Time Line Period Programmable Period Using set Command Line Period Readou t Programmable Period Using set command Readou t EXSYNC CR=Charge Reset Mode 7: Internally Programmable Line Rate, Maximum Exposure Time In this mode, the line rate is set internally with a maximum exposure time.
Spyder 3 GigE User Manual 62 Setting the Readout Mode See also, the Clearing Dark Current section in Appendix A for more information on this mode. Purpose: Use this command to clear out dark current charge in the vertical transfer gates immediately before the sensor is read out. Syntax: srm Syntax Elements: i 0: Auto. Clears dark current below ~ 45% of the maximum line rate. 1: Dark current clear. Always clears dark. Reduces the maximum line rate. 2: Immediate readout. Does not clear dark current.
Spyder 3 GigE User’s Manual i Applies to Modes 2 and 7 63 Setting the Line Rate Purpose: Sets the camera’s line rate in Hz. Camera must be operating in exposure mode 2 or 7. Syntax: ssf f Syntax Elements: i Desired line rate in Hz. Allowable values are: 1k 1 tap: 300-36000 Hz 1k 2 tap: 300-68000 Hz 2k 1 tap: 300-18500 Hz 2k 2 tap: 300-36000 Hz • Notes: To read the current line frequency, use the command gcp or get ssf.
Spyder 3 GigE User Manual 64 A1.5 Configuring the GPIO Connector Overview The following commands provide a connection between the GPIO controller and the Spyder 3 GigE camera’s internal functions. sgd p i p i , sgd 0 0 Setting the GPIO Output Signal Purpose: Syntax: sgo i i Sets the signal type for the selected output. Syntax Elements: i Output to set.
Spyder 3 GigE User’s Manual 65 Setting the GPIO Input Signal Purpose: Syntax: sgi i i Sets the signal type for the selected input. Syntax Elements: i Input to set. 0 = Input 0, Pin 1 (TTL) or 1 and 2 (LVDS) 1 = Input 1, Pin 3 (TTL) or 3 and 4 (LVDS) 2 = Input 2, Pin 6 (TTL) or 6 and 7 (LVDS) 3 = Input 3, Pin 8 (TTL) i Signal type. 0 = Disabled 1 = TTL 2 = LVDS • Notes: To read the current configuration, use the command dgc or get sgi i where i is the input signal.
Spyder 3 GigE User Manual 66 A2 Data Processing A2.1 Setting a Region of Interest (ROI) Purpose: Sets the pixel range used to collect the end-of-line statistics and sets the region of pixels used in the ccg, cao, gl, gla, ccf, and ccp commands. In most applications, the field of view exceeds the required object size and these extraneous areas should be ignored. It is recommended that you set the region of interest a few pixels inside the actual useable image.
Spyder 3 GigE User’s Manual 67 A2.2 Analog and Digital Signal Processing Chain Processing Chain Overview and Description The following diagram shows a simplified block diagram of the camera’s analog and digital processing chain. The analog processing chain begins with an analog gain adjustment, followed by an analog offset adjustment. These adjustments are applied to the video analog signal prior to its digitization by an A/D converter.
Spyder 3 GigE User Manual 68 To optimize camera performance, digital signal processing should be completed after any analog adjustments. 1. Fixed pattern noise (FPN) calibration (calculated using the ccf command) is used to subtract away individual pixel dark current. 2. The digital offset (sdo command) enables the subtraction of the “artificial” A/D offset (the analog offset) so that application of the PRNU coefficient doesn’t result in artifacts at low light levels due to the offset value.
Spyder 3 GigE User’s Manual 69 Purpose: Instead of manually setting the analog gain to a specific value, the camera can determine appropriate gain values. This command calculates and sets the analog gain according to the algorithm determined by the first parameter. Syntax: ccg i t i Syntax Elements: i Calibration algorithm to use. 1 = This algorithm adjusts analog gain so that 8% to 13% of tap region of interest (ROI) pixels are above the specified target value.
Spyder 3 GigE User Manual 70 Purpose: Sets the analog offset. The analog offset should be set so that it is at least 3 times the rms noise value at the current gain. DALSA configures the analog offset for the noise at the maximum specified gain and as a result you should not need to adjust the analog offset. Syntax: sao t i Syntax Elements: t Tap selection. Use 0 for all taps or 1 to 2 for individual tap selection if you are using the two tap model.
Spyder 3 GigE User’s Manual 71 Calibrating the Camera to Remove Non-Uniformity (Flat Field Correction) Flat Field Correction Overview Note: The QuickCam software that ships with the Spyder 3 GigE camera has a flat field correction wizard. For easy flat field correction, use the wizard located on the Calibration tab. This camera has the ability to calculate correction coefficients in order to remove nonuniformity in the image.
Spyder 3 GigE User Manual 72 For best results, ensure that: • 50 or 60 Hz ambient light flicker is sufficiently low not to affect camera performance and calibration results.
Spyder 3 GigE User’s Manual 73 Set up the camera operating environment (i.e. line rate, exposure, offset, gain, etc.) Set the calibration sample size using the command css. It is recommended that you use the default setting. Set the region of interest to include all of the image’s pixels of importance using the command roi x1 y1 x2 y2. You can use the default if you want to calibrate all pixels. Perform FPN calculation Perform PRNU calculation 1. Stop all light from entering the camera.
Spyder 3 GigE User Manual 74 Digital Signal Processing To optimize camera performance, digital signal processing should be completed after any analog adjustments. FPN Correction Performing FPN Correction Syntax: Performs FPN correction and eliminates FPN noise by subtracting away individual pixel dark current. Syntax: ccf Notes: • Perform all analog and digital adjustments before performing FPN correction. • Perform FPN correction before PRNU correction.
Spyder 3 GigE User’s Manual 75 Setting Digital Offset Purpose: Sets the digital offset. Digital offset is set to zero when you perform FPN correction (ccf command). If you are unable to perform FPN correction, you can partially remove FPN by adjusting the digital offset. 87H Syntax: sdo t i Syntax Elements: t Tap selection. Allowable range is 1 to 2 depending on camera model, or 0 for all taps.
Spyder 3 GigE User Manual 76 PRNU Correction Performing PRNU to a user entered value Purpose: Performs PRNU calibration to user entered value and eliminates the difference in responsivity between the most and least sensitive pixel creating a uniform response to light. Using this command, you must provide a calibration target. Executing these algorithms causes the ssb command to be set to 0 (no background subtraction) and the ssg command to 4096 (unity digital gain).
Spyder 3 GigE User’s Manual 77 for use only when FPN is negligible and FPN coefficients are set to zero. Since this algorithm adjusts the analog gain, it also affects FPN. If FPN is calibrated prior to running this algorithm, FPN will be observable in dark conditions and an incorrect FPN value will be used during PRNU calibration resulting in incorrect PRNU coefficients. This algorithm is more robust and repeatable than algorithm 1 because it uses an average pixel value rather than a number above target.
Spyder 3 GigE User Manual 78 Calibration tab. Related Commands: ccf, cpa 95H 96H cpa i i i • Perform all analog adjustments before calibrating PRNU. • This command performs the same function as the cpp command but forces you to enter a target value. • Calibrate FPN before calibrating PRNU. If you are not performing FPN 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.
Spyder 3 GigE User’s Manual Syntax Elements: 79 t Tap selection. Allowable range is 1 to 2 depending on camera model, or 0 for all taps. i Subtracted value in a range in DN from 0 to 4095. • Notes: When subtracting a digital value from the digital video signal the output can no longer reach its maximum. Use the ssg command to correct for this where: 97H ssg value = max output value max output value ‐ ssb value See the following section for details on the ssg command.
Spyder 3 GigE User Manual 80 Returning Calibration Results and Errors Returning All Pixel Coefficients Purpose: Returns all the current pixel coefficients in the order FPN, PRNU, FPN, PRNU… for the range specified by x1 and x2. The camera also returns the pixel number with every fifth coefficient. Syntax: dpc x1 x2 Syntax Elements: x1 Start pixel to display in a range from 1 to sensor pixel count. x2 End pixel to display in a range from x1 to sensor pixel count.
Spyder 3 GigE User’s Manual 81 Enabling and Disabling Pixel Coefficients Purpose: Enables and disables FPN and PRNU coefficients. Syntax: epc i i Syntax Elements: i FPN coefficients. 0 = FPN coefficients disabled 1 = FPN coefficients enabled i PRNU coefficients. 0 = PRNU coefficients disabled 1 = PRNU coefficients enabled Example: epc 0 1 A2.
Spyder 3 GigE User Manual 82 Location Value Description 9 Pixels above threshold (7…0) 10 Pixels above threshold (15…8) 11 Pixels below threshold (7…0) 12 Pixels below threshold (15…8) 13 Differential line sum (7..0) 14 Differential line sum (15…8) 15 Differential line sum (23…16) 16 Differential line sum (31…24) Monitor these values (either above or below threshold) and adjust camera digital gain and background subtract to maximize scene contrast.
Spyder 3 GigE User’s Manual 83 A3 Saving and Restoring Settings For each camera operating mode (high sensitivity forward direction, high sensitivity reverse direction, low sensitivity, or tall pixel), the camera has distinct factory settings, current settings, and user settings. In addition, there is one set of factory pre-calibrated pixel coefficients and up to four sets of user created pixel coefficients for each operating mode.
Spyder 3 GigE User Manual 84 A3.1 Saving and Restoring PRNU and FPN Coefficients Saving the Current PRNU Coefficients Purpose: Saves the current PRNU coefficients. You can save up to four sets of pixel coefficients Syntax: wpc i Syntax Elements: i PRNU coefficients set to save. 1 = Coefficient set one 2 = Coefficient set two 3 = Coefficient set three 4 = Coefficient set four Example: wpc 2 Saving the Current FPN Coefficients Purpose: Saves the current FPN coefficients.
Spyder 3 GigE User’s Manual 85 A3.2 Rebooting the Camera The command rc reboots the camera. The camera starts up with the last saved settings and the baud rate used before reboot. Previously saved pixel coefficients are also restored. A4 Diagnostics A4.1 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.
Spyder 3 GigE User Manual 86 1 tap model Example: svm 1 A4.1.1 Ethernet Test Pattern A third test pattern—Ethernet—is accessible using the QuickCam GUI. Purpose: Availability: Generates a test pattern to aid in system debugging. The test patterns are useful for verifying camera timing and connections. The following table shows the ethernet test pattern available through the QuickCam GUI. Under the Diagnostics tab in the Test Patter drop-down list. Ethernet.
Spyder 3 GigE User’s Manual 87 A4.2 Returning Video Information The camera’s microcontroller has the ability to read video data. This functionality can be used to verify camera operation and to perform basic testing without having to connect the camera to a frame grabber. This information is also used for collecting line statistics for calibrating the camera.
Spyder 3 GigE User Manual 88 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 A2.1 Setting a Region of Interest (ROI)).
Spyder 3 GigE User’s Manual 89 A4.5 Camera Frequency Measurement Purpose: Returns the frequency for the requested Camera Link control signal Syntax: gsf i Syntax Elements: i Camera Link control signal to measure: 1: CC1 (EXSYNC) 2: CC2 (PRIN) 3: CC3 (CCD Direction) 4: CC4 (Spare) Note: Example: • Camera operation may be impacted when entering the gsf command (i.e.
Spyder 3 GigE User Manual 90 A4.7 Returning Camera Settings Returning All Camera Settings with the Camera Parameter Screen The camera parameter (gcp) screen returns all of the camera’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.: SG-10-02K80-00-R Camera model number. Camera Serial No.: xxxxxxxxx Camera serial number.
Spyder 3 GigE User’s Manual SYNC Frequency: 91 5000.00 Hz Current line rate. Value is set with the ssf command. See section A1.4 Exposure Mode, Readout Mode, Line Rate and Exposure Time for details. Current exposure time setting. Value is set with the set command. See section A1.4 Exposure Mode, Readout Mode, Line Rate and Exposure Time for details. Current direction setting set with scd command. Refer to section A1.2 CCD Shift Direction for details.
Spyder 3 GigE User Manual 92 PRNU Coefficients: off States whether PRNU coefficients are on or off. Set with the epc command. Refer to section A2.2 Analog and Digital Signal Processing Chain for details. Number of lines samples set with the css command. See section A4.2 Returning Video Information for details. Upper threshold value set with the sut command. See section A2.3 End-ofline Sequence for details. Lower threshold value set with the slt command. See section A2.3 End-of-line Sequence for details.
Spyder 3 GigE User’s Manual 93 Background Subtract: 0 0 Background subtract settings set with the ssb command. See section A2.2 Analog and Digital Signal Processing Chain for details. Digital gain settings set with the ssg command. See section A2.2 Analog and Digital Signal Processing Chain for details. Current GPIO pinout configuration. Refer to section A1.5 Configuring the GPIO Connector for details.
Spyder 3 GigE User Manual 94 Syntax 03-032-10158-09 Parameters Description get epc Returns whether pixel coefficients are enabled or disabled.
Spyder 3 GigE User’s Manual Syntax Parameters Description get scd Returns the ccd shift direction where: 0 = Forward CCD shift direction. 1 = Reverse CCD shift direction. 2 = External direction control via CC3. When scd 2 is selected, the following is returned: 2 = External direction control: currently forward (CC3 is high). 3 = External direction control: currently reversed (CC3 is low).
Spyder 3 GigE User Manual 96 Syntax Parameters Description get spc x Returns the PRNU coefficient for the specified pixel number. x=pixel number within the range 1 to sensor pixel count. get ssb t Returns the current background subtract value. t = Tap value. 0 for all taps or 1 to 2 for individual tap selection depending on camera model. Returns the current line/frame rate in Hz. get ssf get ssg Returns the current digital gain setting.
Spyder 3 GigE User’s Manual 97 ASCII Commands: Reference Parameters: t = tap id i = integer value f = float m = member of a set s = string x = pixel column number y = pixel row number DALSA The following table lists all of the camera’s available ASCII commands. Refer to Appendix A for detailed information on using these ASCII commands.
Spyder 3 GigE User Manual 98 Mnemonic Syntax Parameters Description calculate PRNU algorithm cpa i i Performs PRNU calibration according to the selected algorithm. The first parameter is the algorithm where i is: 1 = This algorithm first adjusts each tap’s analog gain so that 8-13% of pixels within a tap are above the value specified in the target value parameter. PRNU calibration then occurs using the peak pixel in the region of interest.
Spyder 3 GigE User’s Manual DALSA 99 Mnemonic Syntax Parameters Description end of line sequence els i Sets the end-of-line sequence: 0: Off 1: On enable pixel coefficients epc i i Sets whether pixel coefficients are enabled or disabled.
Spyder 3 GigE User Manual 100 Mnemonic Syntax Parameters Description get status led gsl Returns the current state of the camera’s LED where: 1 = Red 2 = Green 5 = Blinking green 6 = Blinking red help h Display the online help. Refer to Camera ASCII Command Help on page 55 for details.
Spyder 3 GigE User’s Manual DALSA 101 Mnemonic Syntax Parameters Description set baud rate sbr i Set the speed of camera serial communication port. Baud rates: 9600, 19200, 57600, and 115200. Default: 9600. set ccd direction scd i Sets the CCD shift direction where: 0 = Forward CCD shift direction. 1 = Reverse CCD shift direction. 2 = Externally controlled direction control via CC3.
Spyder 3 GigE User Manual 102 03-032-10158-09 Mnemonic Syntax Parameters Description set GPIO input sgi i i Sets the GPIO input signal. i = input number in a range from 0 to 3 i = signal to use where: 0 = disabled 1 = TTL 2 = LVDS set GPIO output sgo i i Sets the GPIO output signal.
Spyder 3 GigE User’s Manual DALSA 103 Mnemonic Syntax Parameters Description set sensitivity mode ssm i Sets the camera’s sensitivity mode 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.
Spyder 3 GigE User Manual 104 A5 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 returned when the camera is unable to complete the request. Table 15: Warning and Error Messages Message Description OK> SUCCESS Warning 01: Outside of specification> Parameter accepted was outside of specified operating range (e.g.
Spyder 3 GigE User’s Manual DALSA 105 Message Description 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.
Spyder 3 GigE User Manual 106 A6 Clearing Dark Current Gate Dark Current Clear Image sensors accumulate dark current while they wait for a trigger signal. If the readout is not triggered in a reasonable amount of time, then this dark current accumulation may increase to an excessive amount. The result of this happening will be that the first row, and possibly additional rows (frames), of the image will be corrupt.
Spyder 3 GigE User’s Manual SG-10-02K80-00-R 107 13.6KHz 16.4KHz Immediate read out mode (default, srm 2) In this mode the image is read out, including accumulated dark current, immediately following the trigger or the EXSYNC falling edge. There are no line rate limitations other than the amount of gate dark current that can be tolerated at low line rates. There are no timing or exposure anomalies other than situations where EXSYNC is removed from camera.
Spyder 3 GigE User Manual 108 Auto Mode (srm 0) In this mode the line rate from the camera will automatically cause a switch between the gate dark current clear mode and non gate dark current clear mode. The frequency of when this mode switchover occurs depends on the camera model.
Spyder 3 GigE User’s Manual 109 Dark Current Dump to Immediate Readout: Multi-Line Artifacts. SRM 0, Auto Mode. Time Period Operating Region Refer to Figure 26. Operating Mode 325H T0 Dark Current Dump state T1 Immediate Readout state SRM 0, Auto Mode. Time Period Operating Region Refer to Figure 26. Operating Mode 326H T0 Immediate Readout state T1 Dark Current Dump state T2 Immediate Readout state SRM 2, Immediate Readout Mode. Operating Region Time Period Refer to Figure 26.
Spyder 3 GigE User Manual 110 Dark Current Dump to Immediate Readout (TINT > #) Dark Current Dump to Immediate Readout: Multi-Line Artifacts SRM 0, Auto Mode. Time Period Operating Region Refer to Figure 26. Operating Mode 328H T0 Dark Current Dump state T1 Immediate Readout state SRM 0, Auto Mode. Time Period Operating Region Refer to Figure 26. Operating Mode 329H T0 Immediate Readout state T1 Dark Current Dump state T2 Immediate Readout state SRM 2, Immediate Readout Mode.
Spyder 3 GigE User’s Manual 111 Dark Current Dump to Immediate Readout (TINT < #) Dark Current Dump to Immediate Readout (TINT > #) DALSA 03-032-10158-09
Spyder 3 GigE User Manual 112 Immediate Readout to Dark Current Dump: Hysteresis Artifacts SRM 0, Auto Mode. Time Period Operating Region Refer to Figure 26. Operating Mode 31H T0 Immediate Readout state T1 Dark Current Dump state SRM 0, Auto Mode. Time Period Operating Region Refer to Figure 26.
Spyder 3 GigE User’s Manual 113 Setting the Readout Mode Purpose: Use this command to clear out dark current charge in the vertical transfer gates immediately before the sensor is read out. Syntax: srm Syntax Elements: i 0: Auto. Clears dark current below ~ 45% of the maximum line rate. 1: Dark current clear. Always clears dark. Reduces the maximum line rate. 2: Immediate readout. Does not clear dark current. (Default mode.
Spyder 3 GigE User Manual 114 Appendix B EMC Declaration of Conformity We, DALSA 605 McMurray Rd., Waterloo, ON CANADA N2V 2E9 declare under sole responsibility, that the product(s): SG-10-01K40-00-R SG-10-01K80-00-R SG-10-02K40-00-R SG-10-02K80-00-R fulfill(s) the requirements of the standard(s) EMC: CISPR-11:2004 EN 55011:2003 EN 61326:2002 This product complies with the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC and carries the CE mark accordingly.
Spyder 3 GigE User’s Manual DALSA 115 03-032-10158-09
Spyder 3 GigE User Manual 116 Appendix C Revision History Revision Number Change Description 00 Initial release 01 Specification updates to Table 2. Updated Section 3.2 to show different methods of entering ASCII commands. Updated Section 3.4 replacing TBDs with values. Updated Section 4.1 to show inverted GPIO connector. Updated Help Screen in Camera ASCII Command Help section to show latest configuration of commands. Added line rate ranges to Setting the Line Rate section. Added sgi command.
Spyder 3 GigE User’s Manual Revision Number 117 Change Description Hz. Note concerning FPN and PRNU coefficients’ factory calibration change from 3.5 kHz line rate to 5 kHz. Section 4: Electrical interface information, including EMC requirements and shielded cable information, added to optical and mechanical considerations. Section 6.3 Product Support form: Control signals section changed to reflect GigE requirements. Section A4.1 Ethernet test pattern revised.
Spyder 3 GigE User Manual 118 Revision Number Change Description -Factory default settings in all modes revised to 8 bits from the previously stated 12 bits. -Revised the recommended network adapters section, page 21. Removed: Intel PRO/100 MT Dual Port Server adapter, IntelPRO/1000 GT Quad Port Server adapter, and support for the Intel LAN on the motherboard (LOM) chips.
Spyder 3 GigE User’s Manual 119 Index A analog gain, 68, 69 offset, 70 processing, 67 applications, 6 ASCII commands, 34, 54 complete list, 97 B background subtract, 78 bright lines, 51 C calibrating the camera, 71, 74, 77, 78 camera dimensions, 39 messages, 104 camera settings. See settings coefficients diabling, 81 enabling, 81 loading, 81 resetting, 81 commands ASCII, 34, 54 format, 54 list, 97 parameters, 54 connectors, 24 ethernet, 25 GPIO, 26 Hirose, 26 power, 26 D dark calibration.
Spyder 3 GigE User Manual 120 G gain, 6, 69 analog, 68 calibrating, 68 digital, 79 reference, 70 GPIO connector, 26 programming, 28 GPIO isolation, 28 H halogen light sources, 40 help, 55 Help QuickCam, 33 High Performance Driver, 23 Hirose connector, 26 hot mirror, 40 I illumination, 40 incorrect line rate, 51 input/output, 24 installation, 19 interface electrical, 8 mechanical, 8 optical, 7, 40 L LED, 29 LED status, 29 returning, 89 lens modeling, 40 light calibration.
Spyder 3 GigE User’s Manual requirements Ethernet switch, 22 fiber-optic interface, 22 network adapter, 21 resolution, 7 responsivity graph, 13 restoring coefficients, 84 factory settings, 83 revision history, 116 roi.