background image

Piranha HS 4x-02K30 

HS-40-02K30, HS-41-02K30  

 

 

 

 

 

 

 

 
 
 
 
 
 

Camera User’s Manual 

 

 

 

Printed 10/14/2004 3:33:00 PM 

High Sensitivity Line Scan CCD Camera 

14-Oct-04 

 03-32-10040-03  

 www.dalsa.com 

Summary of Contents for Piranha HS 4x-02K30

Page 1: ...Piranha HS 4x 02K30 HS 40 02K30 HS 41 02K30 Camera User s Manual Printed 10 14 2004 3 33 00 PM High Sensitivity Line Scan CCD Camera 14 Oct 04 03 32 10040 03 www dalsa com ...

Page 2: ...O Tucson AZ Eindhoven NL Munich Germany and Tokyo Japan All DALSA products are manufactured using the latest state of the art equipment to ensure product reliability All electronic modules and cameras are subjected to a 24 hour burn in test For further information not included in this manual or for information on DALSA s extensive line of image sensing products please call DALSA Sales Offices Wate...

Page 3: ...17 3 1 Overview Setting up the Camera to Send Commands 17 3 2 Communications Protocol Overview 18 3 3 Saving and Restoring Settings 19 3 4 Setting the Baud Rate 19 3 5 Setting the Data Mode 20 3 6 Selecting the Number of TDI Stages 21 3 7 Setting Exposure Mode and Line Rate 21 3 8 Increasing Sensitivity with Binning 23 3 9 Setting a Region of Interest 25 3 10 Returning Video Information 25 3 11 Ca...

Page 4: ...__ 47 Camera Link Configuration Table 49 Command Reference _____________________________________________________ 53 B1 All Available Commands 54 B2 Error Handling 58 EMC Declaration of Conformity______________________________________________ 61 Revision History ________________________________________________________ 63 Index _______________________________________________________________ 65 ...

Page 5: ...Hz or Medium 4x 30MHz Camera Link 4 taps on sensor 100x antiblooming 5 independently stage selectable Time Delay and Integration TDI imaging regions for remarkable user controlled sensitivity User selectable 1x1 1x2 2x1 or 2x2 binning Compact body with F mount or M42x1 mount interface Serial interface ASCII 9600 baud adjustable to 19200 57600 115200 through Camera Link Selectable 8 or 10 bit outpu...

Page 6: ...munications protocol allows you to configure and program virtually all camera functions through the asynchronous serial control available through Camera Link To speed setup and system debugging the camera can output a test pattern and end of line sequence to help track the path of data through an acquisition system Applications The Piranha HS 4x cameras are ideal for space constrained applications...

Page 7: ... TDI 48 TDI 32 TDI 24 TDI 16 TDI 5 ISO Rows TDI Col 2 TDI Col 1 TDI Col 2048 TDI Col 2047 1 3 Camera Performance Specifications Table 2 Piranha HS 4x Camera Performance Specifications Sensor Features Feature Specification Units Value Notes Resolution pixels 2048 Pixel Fill Factor 100 Pixel Size µm 13x13 Output Format number of taps 4 adjacent taps of 512 pixels each TDI Stage Selection Select betw...

Page 8: ... Notes Input Voltage Volts 12 15 Power Dissipation W 8 Operating Temperature C 10 50 Measured at the front plate Data Output Format Bits 8 10 8 or 10 user selectable Operating Ranges Value Units Min Nom Max Notes Line Rate kHz 1 52 Data Rate MHz Selectable 2x60 or 4x30 Set using the sdm command Gain dB 10 0 10 Set using the sg command Dynamic Range Ratio 486 151 48 6 Random Noise DN p p 3 10 30 Ra...

Page 9: ... CISPR 22 EMC EN55024 Shock and Vibration MIL STD 810E Test conditions unless otherwise noted 1 Data Rate 30 MHz 2 Line Rate maximum 52 kHz 10 FPN and PRNU measured at minimum 1kHz line rate 3 Nominal Gain setting 4 Light Source Broadband Quartz Halogen 3250K with 750nm cutoff filter installed 5 Ambient test temperature 0 to 50 C Figure 2 Piranha HS 4x Responsivity 0 325 650 975 1300 1625 1950 400...

Page 10: ...10 Piranha HS 4x User s Manual 03 32 10040 03 PRELIMINARY DALSA Corp ...

Page 11: ...ower supplies Ensure that all the correct voltages are present at the camera end of the power Power supplies must meet the requirements defined in section 2 4 6 Inspect all cables and connectors prior to installation Do not use damaged cables or connectors or the camera may be damaged 7 Connect Camera Link and power cables 8 After connecting cables apply power to the camera 9 Check the diagnostic ...

Page 12: ...ector on page 13 Figure 4 MDR26 Connector Camera Link Connector M D R26 Fem ale 1 14 13 26 M ating Part 3M 334 31 series C able 3M 14X 26 SZ LB X X X 0LC Table 3 MDR26 Connector Reference Camera Link Standard Pinout Camera Link Cable Medium Configuration Base Configuration Up to an additional 2 Channel Link Chips One Channel Link Chip Camera Control Serial Communication Camera Connector Right Angl...

Page 13: ...2 PAIR9 23 4 CC2 11 16 Zclk PAIR10 11 16 CC3 24 3 Zclk PAIR10 24 3 CC3 12 15 Z3 PAIR11 12 15 CC4 25 2 Z3 PAIR11 25 2 CC4 13 13 inner shield Inner Shield 13 13 inner shield 26 26 inner shield Inner Shield 26 26 inner shield 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...

Page 14: ...voltages to your camera Incorrect voltages will damage the camera Protect the camera with a fast blow fuse between power supply and camera Visit the www dalsa com Web site for a list of companies that make power supplies that meet the camera s requirements The companies listed should not be considered the only choices Many high quality supplies are available from other vendors DALSA assumes no res...

Page 15: ...atus Indicators LED state Priority Camera Status Condition Blinking RED 1 Error Fatal hardware failure Steady RED 2 Warning Monitoring task failure Blinking GREEN 3 Progress Lengthy operation in progress Steady GREEN 4 OK Healthy Note When more than one condition is active the LED indicates the condition with highest priority Error and warning states are accompanied by corresponding messages furth...

Page 16: ...16 Piranha HS 4x User s Manual 03 32 10040 03 PRELIMINARY DALSA Corp ...

Page 17: ...mera cables connect your cables as described in section 2 1 Installation Overview 2 Using a terminal program e g Microsoft HyperTerminal open a terminal window Note In order to communicate with the camera a serial connection in the Camera Link cable needs to be established The framegrabber manufacturers should be able to provide a solution in order to communicate through this serial link The termi...

Page 18: ...ilable commands and parameters through the serial interface To generate this list send the command h to the camera Retrieving Camera Settings To read current camera settings send the command gcp 3 2 Communications Protocol Overview Serial Protocol Defaults 8 data bits 1 stop bit No parity No flow control 9 6Kbps Camera does not echo characters When entering commands remember that A carriage return...

Page 19: ...y restore the saved user settings when powered up To restore the last saved user settings use the command rus To save the current pixel coefficients use the command wpc To restore the last saved pixel coefficients use the command lpc Current Session Settings These are the current operating settings of your camera These settings are stored in the camera s volatile memory and will not be restored on...

Page 20: ...10 bit A B C ports time multiplexed Base Configuration Notes To obtain the current data mode use the command gcp Example sdm 3 Time Multiplexing Time multiplexing allows the Piranha HS 41 to send data to your framegrabber using a Camera Link Base Configuration The readout from taps 1 and 2 and taps 3 and 4 are merged into two time slots Figure 7 and Figure 8 compare camera readout between the Medi...

Page 21: ...stg i Syntax Elements i Number of stages to use Available values are 16 24 32 48 or 64 Factory setting is 64 Example stg 32 3 7 Setting Exposure Mode and Line Rate With the Piranha HS 4x cameras you have a choice of operating in one of two exposure modes The table below outlines each exposure mode and is followed by instructions on changing the exposure mode and line rate Table 6 Piranha HS 4x Exp...

Page 22: ...g the Exposure Mode Set Exposure Mode Command To set the exposure mode use the command Syntax sem i Syntax Elements i Exposure mode to use Factory setting is 7 Notes Refer to Table 6 for a quick list of available modes or to the following sections for a more detailed explanation To obtain the current value of the exposure mode use the command gcp Related Commands ssf Example sem 3 Exposure Modes i...

Page 23: ...o 2 sbv 2 Notes To read the current line frequency use the command gcp If you enter an invalid line rate frequency an error message is returned Related Commands sem Example ssf 1005 3 8 Increasing Sensitivity with Binning Binning increases the camera s light sensitivity by decreasing horizontal and or vertical resolution the charge collected by adjacent pixels is added together Setting Horizontal ...

Page 24: ...setting no binning or 2 Notes If you are using binning sbv 2 or sbh 2 the min max and mean statistics generated by the gl or gla command are for every second pixel only Example sbv 2 Figure 10 2x2 Binning Charge in 4 adjacent pixels More charge brighter pixel Charge binned 1 pixel output Normal image Binned image 2 q1 q1 q2 q3 q4 q3 q2 q4 1 a a Table 7 Binning vs Speed Binning H x V Line Rate kHz ...

Page 25: ...mber Related Commands cag cao ccf ccp see section 3 11 Calibrating the Camera for details on these commands gl gla see section 3 10 Returning Video Information for details on theses commands Example roi 11 50 3 10 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...

Page 26: ...cify a pixel range to display the line output will display all sensor pixels within the region of interest The region of interest roi command is described on page 25 If you are using binning sbv 2 and or sbh 2 the min max and mean statistics are generated for every second pixel only Values returned are in DN Example gl 10 200 Returning Multiple Lines of Video You can also return the average for mu...

Page 27: ...te themselves in order to remove non uniformity in the image This video correction operates on a pixel by pixel basis and implements a two point correction for each pixel This correction can reduce or eliminate image distortion caused by the following factors Fixed Pattern Noise FPN Photo Response Non Uniformity PRNU Lens and light source non uniformity The two point correction is implemented such...

Page 28: ...page 29 7 Save settings and pixel coefficients using the commands wus and wpc Note It is important to do the FPN calibration first Results of the FPN calibration are used in the PRNU procedure We recommend that you repeat the calibration when a temperature change greater than 10 C occurs Dark Calibration Dark calibration is used to remove the fixed analog offset from the video path It is recommend...

Page 29: ...level is too low or too high adjust analog gain using the command sg 3 The variance in light intensity across the target must not be more than 4 to 1 Because the maximum per pixel digital gain is 4x the camera will not be able to compensate for extremely non uniform light These restrictions are all tested within the calibration algorithm and the camera will report an informal message code if any o...

Page 30: ...ments a gain stage and an offset stage The digital processing chain contains the FPN correction PRNU correction background subtract and a system gain stage The software commands allow you to set and change all the elements of the processing chain This enables maximum processing flexibility depending on your requirements Figure 11 Signal Processing Chain Analog Processing Digital Processing analog ...

Page 31: ...le range is 0 to 1023 Notes The offset increases linearly with higher values A value of 100 does not equal an offset of 100DN The resulting analog offset value depends on other camera parameters such as temperature line rate and gain Example sao 0 200 Subtracting Offset or Background To subtract the video scene offset or any other background from the output video signal use the command Syntax ssb ...

Page 32: ... the command Syntax ssg t i Syntax Elements t Tap value Use 0 for all taps or 1 4 for individual tap selection i 0 511 0 corresponds to low gain 1x 511 corresponds to high gain 2x Example ssg 0 20 Subtracting Digital Offset To subtract the A D offset from the video signal use the command Syntax sdo t i Syntax Elements t Tap selection Allowable range is 1 to 4 or 0 for all taps i Subtracted offset ...

Page 33: ...age in a range dependent on the current camera data mode setting See table below Notes See section 3 10 Returning Video Information for more information on line averages This function requires constant light input while executing Example cag 0 155 Table 8 Data Mode Line Averages Data Mode Line Average Value Range 8 bit 64 to 251DN 10 bit 256 to 1007DN Calibrating Analog Offset To calibrate the ana...

Page 34: ...ents To load the FPN and PRNU coefficients use the command Syntax lpc You can also reset all pixel coefficients to zero To reset pixel coefficients to zero use the command Syntax rpc You can also disable or enable PRNU and or FPN pixel coefficients To enable or disable PRNU and or FPN coefficients use the command Syntax epc i i Syntax Elements i FPN coefficients 0 FPN coefficients disabled 1 FPN c...

Page 35: ...oefficient value in a range from 0 to 1023 Example spc 10 50 To read the PRNU coefficient use the command Syntax gpc i Syntax Elements i The pixel number to read in a range from 1 to 2048 Example gpc 10 FPN Coefficients To set the FPN coefficient use the command Syntax sfc i i Syntax Elements i The pixel number from 1 to 2048 i Coefficient value in a range from 0 to 63 Example sfc 10 50 To read th...

Page 36: ...ith a unique offset for each tap Tap 1 offset is 0 DN Tap 2 offset is 256 DN Tap 3 offset is 512 DN Tap 4 offset is 768 DN To set the video mode use the command Syntax svm i Syntax Elements i 0 Video mode 1 Generate a test pattern End of line Sequence To further aid debugging the camera can generate an end of line sequence The end of line sequence outputs aa 55 line counter line average pixels abo...

Page 37: ...n any of the camera s continuously running monitoring tasks detect a failure Use the wed command to display the status of all the defined monitory tasks if no parameter is passed and or to enable disable specific monitoring tasks Table 9 below lists the monitoring tasks Table 9 Piranha HS 4x Monitoring Tasks Parameters Monitoring Task Description 0 0 Disables all monitoring tasks 0 1 All Enables a...

Page 38: ...urement feature of the camera provides only approximate results typically within 10 They should not be used to set the applied voltage to the camera The purpose of this test is to isolate gross problems with the supply voltages Temperature Measurement The command vt measures and displays the temperature of the inside of the camera It helps to determine whether the camera is operating within the re...

Page 39: ... x 0 5 HOLES 0 18 MM 3 DATUMSURFACES B C 0 18MM IMAGE ROTATION WITH RESPECT TO SURFACE B IS 0 6 53 1 93 1 26 6 x 0 3 IMAGE AREA F MOUNT ADAPTER THREAD IS M42 x 1 DIRECTION OF WEB MOTION WITH INVERTING LENS 39 0 4X 42 5 4X 29 0 4X 32 5 4X Y X IMAGE CENTER C B PIXEL 1 TDI INDICATOR 46 50 0 18 6 56 0 18 OPTICAL DISTANCE ø56 2 F MOUNT ADAPTER A IMAGE PLANE TO A 100 µm 24 9 9 9 65 0 85 0 10 5 32 1 54 9...

Page 40: ...the outer flat surface are provided Table 10 Lens Mounts Mount Back Focal Distance sensor die to adapter F Mount 46 50 0 18 M42 x 1 6 56mm 0 18 outer flat surface 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 cha...

Page 41: ...rs CCD cameras are extremely responsive to infrared IR wavelengths of light To prevent infrared from distorting the images you scan use a hot mirror or IR cutoff filter that transmits visible wavelengths but does not transmit wavelengths over 750nm Examples are the Schneider Optics B W 489 which includes a mounting ring the CORION LS 750 which does not include a mounting ring and the CORION HR 750...

Page 42: ... magnification is alternatively given by m f OD These equations can be combined to give their most useful form h h f OD This is the governing equation for many object and image plane parameters Example An acquisition system has a 512 x 512 element 10µm pixel pitch area scan camera a lens with an effective focal length of 45mm and requires that 100µm in the object space correspond to each pixel in ...

Page 43: ...solutions listed in sections 5 1 5 2 and 5 3 2 If these solutions do not resolve your problem see section 5 4 on getting product support 5 1 Common Solutions Connections The first step in troubleshooting is to verify that your camera has all the correct connections Power Supply Voltages Check for the presence of all voltages at the camera power connector Verify that all grounds are connected Data ...

Page 44: ...tage To check the camera s input voltages and internal voltages use the vv command If they are within the proper range the camera returns OK Otherwise the camera returns an error message If an error occurs verify the input voltage at the camera If a problem still persists contact Technical Support See section 5 4 Product Support for contact information 5 3 Specific Solutions No Output or Erratic B...

Page 45: ...h 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 from evaporating from the window surface as this will end up leaving residue and streaking behind 7 Repeat steps 2 4 using a clean tissue until the entire window has been cleaned 8 Blow off any adhering fibers or partic...

Page 46: ... framegrabber host computer light sources etc Acquisition System software version OS etc Power supplies and current draw Data rate used Control signals used in your application and their frequency or state if applicable EXSYNC BIN MCLK Other _______ Results when you run the gcp command please attach text received from the camera after initiating the command Detailed description of problem encounte...

Page 47: ...oretical maximum transmission rate of 1 923 Gbps into a loss less medium The low signal swing also means that the standard is not dependent on a particular supply voltage LVDS uses current mode drivers which limit power consumption The differential signals are immune to 1 V common volt noise Camera Link uses an implementation of LVDS technology called Channel Link Camera Signal Requirements This s...

Page 48: ... requirement These signals are SerTFG Differential pair with serial communications to the framegrabber SerTC Differential pair with serial communications to the camera The serial interface will have the following characteristics one start bit one stop bit no parity and no handshaking It is recommended that framegrabber manufacturers supply both a user interface and a software application programmi...

Page 49: ...17 060 tOVERHEAD Is the number of pixels that must elapse after the falling edge of LVAL before the EXSYNC signal can be asserted 0 57 Camera Link Configuration Table 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 http vfm dalsa com Web site and view the DALSA Camera Link ...

Page 50: ...separately Cx Tn Column Start Column End Column Increment Row Start Row End Row Increment C0 T1 512 1 1 1 1 1 C0 T2 1024 513 1 1 1 1 C0 T3 2047 1536 1 1 1 1 C0 T4 2048 1537 1 1 1 1 Camera Color Hybrid Mono Pattern Solid Mono RGB Pattern Size T1 Columns Rows T2 Columns Rows T3 Columns Rows T1 1 1 T2 1 1 T3 1 1 T4 1 1 Color Definition Column Row Color Where color is R G B T1 1 1 M T2 1 1 M T3 1 1 M ...

Page 51: ...MINARY 03 32 10040 03 Item when programmable configuration the options are separated with a Piranha HS 4x CC4 Spare Spare DVAL out Strobe Valid Alternate Strobe Valid LVAL out Frame Valid Alternate Line Valid Spare out Spare Spare FVAL out Tied High ...

Page 52: ...52 Piranha HS 4x User s Manual 03 32 10040 03 PRELIMINARY DALSA Corp ...

Page 53: ...ional The camera will answer each command with either a carriage return CR and line feed LF followed by OK or Error x Error Message The is always the last character sent by the camera The following parameter conventions are used t tap id i integer value f real number x1 pixel start number x2 pixel end number optional parameter Serial Protocol Defaults 8 data bits 1 stop bit No parity No flow contr...

Page 54: ...NU ccp i Start PRNU coefficient calibration Use css to set sample size Values range from 64 to 251 DN for 8 bit mode and 256 to 1007 DN for 10 bit correction set sample css i Sets the number of line samples averaged when using the gl and gla commands i 16 32 64 factory setting display pixel coefficients dpc i i Display the pixel coefficients in the order FPN PRNU FPN PRNU Optional pixel start and ...

Page 55: ...1 x2 Read the average of multiple line samples Use css to set sample size x1 Optional pixel start number to display on screen Allowable range is 1 to 2048 x2 Optional pixel end number to display on screen Allowable range x1 1 to 2048 get PRNU coefficient gpc i Read the PRNU coefficient get sensor serial gss Display the sensor s serial number help h Display the online help load pixel coefficients l...

Page 56: ...ets the data mode of the camera where i is 0 8 bit A B C D ports single processor 1 10 bit A B C and D E F ports single processor 2 8 bit A B time multiplexed 3 10 bit A B C time multiplexed set digital offset sdo t i Subtracts the input value from the video signal prior to the PRNU correction The first parameter is the tap selection 1 to 4 0 for all taps The second parameter is the offset in a ra...

Page 57: ...ine rate in exposure mode 7 to a value from 1000 to 51540 Hz when operating in sbv 1 or 1000 to 48850 Hz when operating in sbv 2 set system gain ssg t i Sets the digital gain t Tap value 0 for all taps or 1 4 for individual tap selection i Gain value in a range from 0 to 511 stage select stg i Sets the number of TDI stages to use i 16 24 32 48 or 64 Factory setting is 64 set upper threshold sut i ...

Page 58: ...t available in VIDEO TEST mode sao sg 10 Camera memory check failure Memory test of external RAM failed 11 Unable to configure DSP DSP FPGA configuration failure 12 DSP configuration reset failure DSP FPGA could not be placed in configuration mode 13 Get line process command timed out check for the presence of external signals gl gla cao cag timed out Current exposure mode requires external SYNC h...

Page 59: ...Codes Code Description Suggested Cause 4 INFO Flash memory ID error Reported from boot process only if DSP configuration fails possible cause communication error with serial flash memory 8 INFO DSP configuration file missing or corrupt Reported from boot process only if DSP configuration fails possible cause 16 INFO Serial communication failure while accessing external ADC chip Reported from boot ...

Page 60: ...60 Piranha HS 4x User s Manual 03 32 10040 03 PRELIMINARY DALSA Corp ...

Page 61: ...C CISPR 22 1997 EN 50082 1 1997 EN 61000 4 2 6kV CD 8kV AD 1995 EN 61000 4 3 3V m 1995 EN 61000 4 4 500V 1100V 1995 EN 61000 4 6 3V 1996 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 Place of Issue Waterloo ON CANADA Date of Issue September 25 2003 Name and Signature of authorized person Hank ...

Page 62: ...62 Piranha HS 4x User s Manual 03 32 10040 03 PRELIMINARY DALSA Corp ...

Page 63: ... Coefficients LPC Load Pixel Coefficients EPC Enable Pixel Coefficients SDO Set Digital Offset Added Time Multiplexing Information and diagrams in section 3 5 Updated FPN and PRNU specs FPN with correction Max value from 2 to 2 5 PRNU with correction Max value from 3 to 2 5 PRNU pixel to pixel without correction max value from 8 to 10 PRNU pixel to pixel with correction max value from TBD to 2 02 ...

Page 64: ...64 Piranha HS 4x User s Manual 03 32 10040 03 PRELIMINARY DALSA Corp ...

Page 65: ... 51 communication speed 19 connectors 12 Camera Link 12 diagram 12 input output 12 MDR26 12 power 13 control configuration 13 control signals 13 D dark calibration 28 dark patches 45 data bus 14 data mode 20 data rate 8 debugging 36 43 digital data 14 dimensions 39 drawing backplate 12 mechanical 39 sensor 7 dynamic range 8 E EIA 644 reference 47 electrical interface 8 end of line sequence 36 expo...

Page 66: ...oring the camera 37 N NEE 8 noise RMS 8 noisy output 44 O offset analog 31 digital 32 subtracting 31 online help 18 operating modes 21 ranges 8 states 15 optical interface 7 40 output 14 bit selection 20 connectors 12 P parameters 18 51 part numbers 6 performance specifications 7 9 pinout connectors 12 pixel correction 27 pixel statistics 25 power connector 13 precautions 14 power dissipation 8 PR...

Page 67: ...chnical Sales Support 46 temperature 8 measurement 38 test pattern 36 thresholds 37 timing exposure modes 22 mode 3 22 mode 7 22 troubleshooting 43 horizontal lines 45 line rates 44 serial interface 43 U upper threshold 37 V valid data 14 video data 26 47 voltage measurement 38 W warnings 37 white light calibration 29 ...

Reviews: