Home
PC-30-02K80 Manual
Contents
1. Line Dropout Bright Lines or Incorrect Line Rate Verify that the frequency of the internal sync is set correctly or when the camera is set to external sync that the EXSYNC signal supplied to the camera does not exceed the cameras useable line rate under the current operating conditions and that it is free from noise Horizontal Lines or Patterns in Image A faulty or irregular encoder signal may result in horizontal lines due to exposure time fluctuations ensure that your exposure time is regular If you have verified that your exposure time is consistent and patterns of low frequency intensity variations still occur ensure that you are using a DC or high frequency light source Noisy Output Check your power supply voltage outputs for noise Noise present on these lines can result in poor video quality Dark Patches If dark patches appear in your output the optics path may have become contaminated Clean your lenses and sensor windows with extreme care 1 Take standard ESD precautions 2 Wear latex gloves or finger cots 3 Blow off dust using a filtered blow bottle or dry filtered compressed air 4 Fold a piece of optical lens cleaning tissue approx 3 x 5 to make a square pad that is approximately one finger width 5 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 Wipe across the length of the window in one direction with the moist
2. These signals indicate when data is valid allowing you to clock the data from the camera to your acquisition system These signals are part of the Camera Link configuration and you should refer to the Camera Link Roadmap available from the Knowledge Center on our website here for the standard location of these signals Clocking Signal Indicates LVAL high Outputting 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 Timing The Piranha Color camera uses a base ot medium Cameta Link interface Base Configuration A base configuration uses 1 MDR26 connector and 1 Channel Link chip The main characteristics of the base configuration are Ports supported A B C Piranha Color Camera 16 Serializer bit width 28 Number of chips 1 Number of MDR26 connectors 1 Base Configuration One Channel Link Chip Camera Control Serial Communication Camera Right Angle Channel Link Connector Frame Grabber Signal 1 1 innet shield 14 14 inner shield p 25 15 12 X0 3 24 X1 16 11 X1 4 23 X2 17 10 X2 5 22 Xclk 18 9 Xclk 6 21 X3 19 8 X3 7 20 SerTC 20 7 SerTC 8 19 SerTFG 21 6 SerTFG 9 18 CC1 22 5 CC1 10 17 CC2 23 4 CC2 11 16 CC3 24 3 CC3 12 15 CC4 2
3. 0x3ca2 0x2c83 Ox1ce0 1 Oxef1f Oxff3e Oxcf5d Oxdf7c Oxaf9b Oxbfba Ox8fd9 Ox9ff8 0x6e17 0x7e36 0x4e55 0x5e74 0 2 93 0x3eb2 0x0ed1 1 0 unsigned int CalcCrc unsigned char ptr pointer to buffer to process unsigned int count number of bytes in buffer Piranha Color Camera 56 unsigned int sum 0 while count sum CRC_table16 sum gt gt 8 ptr sum lt lt 8 ptr j return sum Load FPN Coefficients Purpose Syntax Syntax Elements Example Notes Related Commands Write PRNU Coefficients Purpose Syntax Syntax Elements Example Notes Format of PRNU PC File Loads previously stored FPN pixel coefficients from non volatile memory to FPGA SDRAM lfc lfc Before issuing this command select the set you wish to load with the SSN command O Factory set 1to4 User sets 5 Selects transfer from PC FPN coefficients are only loaded from non volatile memory on power up LFC and LFS They are not loaded by LUS wfc Saves current values of PRNU pixel coefficients that are in FPGA SDRAM to Flash memory or a PC file wpc wpc Before issuing this command select the set you wish to write with the SSN command O Factory set 1to4 User sets PRNU coefficients will be loaded by LPC LFS and automatically at power up Coefficient use is enabled or disabled with the EPC command Set 0 can only be written from fact
4. Clipped to max gt Warning 04 Related patameters adjusted gt Warning 07 Coefficient may be inaccurate A D clipping has occutred gt Warning 08 Greater than 1 of coefficients have been clipped gt Warning 09 Internal line rate inconsistent with read out time gt Error Message Error 01 Internal error xx gt Description Parameter accepted was outside of specified operating range e g gain greater than 10 dB of factory setting or SSF below specification Parameter was clipped to the current operating range Use GCP or GET to see value used Parameter was clipped to the current operating range Use GCP or GET to see value used Internal operating condition is adjusted to accommodate the entered command E g requesting exposure time longer than line time automatically adjusts the line time to meet the exposure time requirement In the region of interest ROT greater than 6 251 single or 1 of averaged pixel values were zero or saturated Greater than 1 of FPN or PRNU coefficients have been calculated to be greater than the maximum allowable and so were clipped Changes to the parameter e g horizontal averaging have changed read out time and that is greater than the internal SYNC Description Where xx is a code list below Only output during power up Customer should contact customer support Piranha Color Camera Message Error 02 Unrecognized command gt Error 03 Incorrect number of pat
5. Display a single LUT value Must select a color with SCL first t Tap number 0 for all range modified by color selected a LUT address 0 to 1023 Gets a line of video without pixel coefficients applied displaying one pixel value after another and the minimum maximum and mean value of the sampled line Piranha Color Camera Mnemonic get line average get prnu coeff get signal frequency help load FPN coefficients load factory settings load input LUT load pixel coefficients load user settings reset camera reset input LUT region of interest reset pixel coeffs set add background Syntax Parameters gla 1 x2 gpc X gsf i lfc lfs Ipe lus rc ril roi x1 x2 rpc sab ti 82 Description x1 Pixel start number x2 Pixel end number in a range from 1 to n Where n 2048 or 4096 Read the average of line samples x1 Pixel start number x2 Pixel end number in a range from 1 to n Where n 2048 or 4096 Displays a PRNU coefficient x pixel number to read in a tange from 1 to n Where n 2048 or 4096 Reads the requested Camera Link control frequency 1 EXSYNC frequency 2 CC2 3 Direction 4 Display the online help Loads the FPN coefficients from non volatile memory to current This command is modified by the ssn command Loads the camera s factory settings LUT FPN and PRNU coefficients Also used to clear a fatal error if the
6. PC 30 02K80 00 R 534 1515 30 04 80 00 1046 3051 The bilinear interpolation equation Blue B1 B2 B3 2 1 2 x B1 B3 This value is saved with the wus command This value may be viewed on the gep screen or with the get ebc command Enabling blue correction Syntax ebc i Syntax Elements i O disable 1 enable Notes This value is saved using the wus command This value may be viewed on the gep screen or by sending the get ebc command Piranha Color Camera 90 Piranha Color Camera 91 Appendix C EMC Declaration of Conformity We Teledyne DALSA 605 McMurray Rd Waterloo ON CANADA N2V 2E9 declare under sole responsibility that the product s PC 30 02K80 00 R PC 30 02K60 00 R PC 30 04K80 00 R PC 30 04K60 00 R fulfill s the requirements of the standard s EMC CISPR 24 1997 A1 2001 and A2 2002 EN 55024 1998 A1 2001 and A2 2003 European CISPR 22 2005 EN 55022 2006 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 December 2007 Name and Signature of Hank Helmond authorized person Quality Manager Teledyne DALSA Corp Piranha Color Camera 92 Piranha Color Camera 93 Appendix D Revision History Revision Number 00 01 02 03 04 05 06 07 08 Change Description Preliminary release rfs
7. greater than 10 C occurs or when there is a significant change in integration time or analog gain 1 Stop all light from entering the camera Tip Cover lens with a lens cap 2 Verify that the output signal level is within range by issuing the command glor gla If there are too many zeros in the output data more than 6 25 of output data within the roi increase the analog offset sao or use the automated algorithm cao 0 i If the average of the pixels is too high for your application reduce the analog offset or gain level sag 3 Issue the command ccf The camera will respond withOK gt if no error occurs FPN calculation automatically calibrates FPN coefficients and digital offset 4 After the calibration is complete you should save these settings to non volatile memory so they be reusable on reboot To do so issue the commands wfc and wus 5 To verify output enable the FPN coefficients using the command epc 1 0 You should see close to zero output Perform PRNU calculation next to determine the multiplication factors required to bring each pixel to the required value balance target for flat white output 1 Place a white reference in front of the camera 2 Verify that the output signal level is within range by issuing the commandgl or gla If the signal level is too low increase your light level adjust the analog gain sag or use the automated algorithm ccg i 0 i DALSA recommends a target value of a
8. 4K80 cameras have increased FPN on the blue outputs between pixels 1045 1055 and 3042 3052 Outside of this range FPN meets the same specification as the other colors Piranha Color Camera 11 1 2 Image Sensor The Piranha Color camera uses a trilinear CCD sensor with three lines of pixels one blue one red and one green Depending on your camera model each line contains either 2048 or 4096 pixels As illustrated in the diagram below the blue line has 2 outputs taps and the red and green lines have 4 outputs Figure 1 Sensor Block Diagram Blue at 1 Green Tap 2 Green Tap 3 Green Tap 4 Red Tap 3 Red Tap 4 2048 or 4096 pixels Blue Tap E I w59 The three color lines are sepatated 30 um 4k or 42 um 2k apart center to center 30 um 4k 42 um 2k 30 um 4k 42 um 2k Piranha Color Camera 1 3 Responsivity 2K Spectral Responsivity FFC on Responsivity DN n J c 800 Wavelength nm 4K Spectral Responsivity FFC on Responsivity DN nJ cm2 Wavelength nm 12 Piranha Color Camera 13 Hardware Interface Connectors and Timing 2 1 Installation Overview When installing your camera you should take these steps 1 2 1 Power down all equipment Following the manufacturer s instructions install the frame grabber if applicable Be sure to observe all static precautions Install any necessary imaging software Before connecting power to
9. Background Subtract Setting Digital Offset Purpose Syntax Syntax Elements Notes Related Commands Example 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 sdo t i t Tap selection Allowable range is 1 to 4 depending on color selected or O for all taps i Subtracted offset value in a range from O to 4095 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 following section for details on the ssg command ssg sdo O 100 Subtracting Background Purpose Syntax Syntax Elements Notes Related Commands Example Use the background subtract command after performing a flat field correction in order to improve your image in a low contrast scene This is useful for systems that process 8 bit data but want to take advantage of the camera s 12 bit digital processing chain You should try to make your darkest pixel in the scene equal to zero ssb t i t Tap selection Allowable range is 1 to 4 depending on color selected or O for all taps i Subtracted value in a range in DN from 0 to 4095 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
10. Color RGB Video Mode Normal video Region Of Interest 1 to 2048 End Of Line Sequence 1 Number Of Line Samples 1024 Upper Threshold White 4095 Red 4095 Green 4095 Blue 4095 Lower Threshold White 0 Red 0 Green O Blue 0 Readout Mode Off Exposure Mode 7 SYNC Frequency Hz 10498 7 Exposure Time uSec 95 25 CCD Direction Internal Forward Horizontal Averaging 1 Camera Link Mode 16 Medium 1 taps 12 bits no time MUX Cable Parameter 100 Output Throughput 80 Spatial Alignment 0 Mirroring Mode 0 left to right Piranha Color Camera 64 Color Correction Coefficients White O 1365 1365 1365 Red 0 4096 0 0 Green 0 0 4096 0 Blue 0 0 0 4096 Input LUT Off FPN Coefficients Off PRNU Coefficients Off Analog Gain dB Red 10 0 10 0 10 0 10 0 Green 10 0 10 0 10 0 10 0 Blue 10 0 10 0 Analog Reference Gain dB Red 0 0 0 0 0 0 0 0 Green 0 0 0 0 0 0 0 0 Blue 0 0 0 0 Total Analog Gain dB Red 10 0 10 0 10 0 10 0 Green 10 0 10 0 10 0 10 0 Blue 10 0 10 0 Analog Offset Red 80 80 80 80 Green 80 80 80 80 Blue 80 80 Digital Offset Red 0 0 0 0 Green 0 0 0 0 Bue 0 0 Background Subtract Red 0 0 0 0 Green 0 0 0 0 Bue 0 O0 System Gain Red 4096 4096 4096 4096 Green 4096 4096 4096 4096 Blue 4096 4096 Background Add Red 0 0 0 0 Green 0 0 0 0 Bue 0 O0 OK gt Returning Camera Settings with Get Commands You can also return individual camera settings by inserting a get in front of the command
11. FPN PRNU for the range specified by x1 and x2 Syntax dpc 1 x2 Syntax Elements KI Start pixel to display in a range from 1 to n where n 2048 or 4096 depending on the resolution x2 End pixel to display in a range from x1 to n where n 2048 or 4096 depending on the resolution Notes This function returns all the current pixel coefficients in the order FPN PRNU FPN PRNU Limited by the scl color selection 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 Notes Before sending this command use the scl command to select the color you want to adjust Example gfc 10 Returning PRNU Coefficients Purpose Returns a pixel s PRNU coefficient value in DN 12 bit LSB Syntax gpc i Syntax Elements i The pixel number to read in a range from 1 to sensor pixel count Notes Before sending this command use the scl command to select the color you want to adjust Example gpc 10 Enabling and Disabling Pixel Coefficients Purpose Enables and disables FPN and PRNU coefficients Syntax epc ii Syntax Elements 4 FPN coefficients O FPN coefficients disabled 1 FPN coefficients enabled PRNU coefficients Piranha Color Camera Example 48 0 PRNU coefficients disabled 1 PRNU coefficients enabled epc 0 1 3 16 Digital Gain and
12. The first pixel number of the range x The last pixel number of the range i Coefficient value in a range from 0 2048 Notes e Before sending this command use the sel command to select the color you want to adjust The first pixel of the range must be less than the last Example sfr 1 100 80 PRNU Calculation Performing PRNU to a user entered value Purpose Calculate the PRNU coefficients to eliminate the difference in responsivity between the pixels thereby creating a uniform response to light Using this command you must provide a calibration target Syntax cpa il i2 Syntax Elements 11 PRNU calibration algorithm to use 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 This algorithm is recommended 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 2 Calculates the PRNU coefficients using the entered target Piranha Color Camera Notes Example 45 value as shown below Target PRNU Coefficient AVG Pixel Value FPN sdo value T
13. a step of 0 1 mm in the movement of the web i e the image on the sensor will move 10 um for each step of the encoder The image is line captured at each step of the encoder The moving object A from the view of line of Red channel to that of Green channel is 3 steps i e 3 steps x 0 1 mm step x 1 10 magnification 30 um movement of the image on the sensor There are 3 more steps to move the image of object A further from the Green channel to the Blue channel To properly reconstruct the full RGB image of the object A the user needs to combine the Red channel data captured at line capture 0 with Green data captured at capture 3 and Blue data captured at capture 6 A parameter Line Delay is used to specify which line captures should be combined to properly reconstruct the image In the above case the Line Delay is 3 In general Inter array spacing 30 um or 42 um Line Delay Step of encoder um x magnification Piranha Color Camera 35 The Piranha Color is a bi directional camera and the direction of the web movement can be arranged in either way If the object is passing the camera in the other direction its image will pass over the Blue channel first then the Green channel and finally the Red channel In order to properly construct a full color RGB image the system needs to know the direction of the movement Another parameter color scan direction sed is used
14. and better the focus 16 Differential line sum 31 24 Setting Thresholds Setting an Upper Threshold Purpose Syntax Syntax Elements Notes Sets the upper threshold limit to report in the end of line sequence sut i i Upper threshold limit in range from 0 to 4095 You must first select the color or colors you want to adjust using the scl command RGB all outputs R ted output G green output B blue output To change just the white luminance value first change all Piranha Color Camera Related Commands Example 59 outputs using the scl command set to rgb to the desired white value and then change each color back individually LVAL is not high during the end of line statistics els slt scl sut 1024 Setting a Lower Threshold Purpose Syntax Syntax Elements Notes Related Commands Example Generating Test Pattern Purpose Syntax Syntax Elements Notes Example Sets the lower threshold limit to report in the end of line sequence slt i i Upper threshold limit in range from 0 to 4095 You must first select the color or colors you want to adjust using the scl command RGB white output R single color output G single color output B single color output LVAL is not high during the end of line statistics els sut slt 1024 Generates a test pattern to aid in system debugging The test patterns are useful for verifying camera timing and connections The following ta
15. color image This characteristic is referred to as spatial correction Blue Red Sensor Direction of object movement gt As the object travels along the web the object passes the three color lines at different points in time As a result the camera uses spatial correction to reconstruct the image The Piranha Color sensor uses proprietary design to minimize the center to center spacing to 30 um 4k or 42 um 2k Piranha Color Camera 34 Blue Tap The three color lines are separated 30 um 4k or 42 um 2k apart center to center 30 um 4k 42 um 2h 30 um 4k 42 um 2k The trilinear CCD sensor used in the Piranha Color camera has three linear arrays for Red R Green G and Blue B color channel respectively The inter array spacing between color channels is 3 lines apart centre to centre Because of the spacing between the linear arrays each array will have a slightly different view of an object that is passing before the camera Therefore for each exposure each color array in the sensor captures an image of a slightly different area on the object The spatial correction process is used to properly reconstruct the full color RGB image of the object For example assuming that the following parameters are used The system uses a magnification of 1 10 i e an area of 0 1 mm x 0 1 mm on the object will have an image of 10 um x 10 um on the sensor The encoder is set to have
16. commands substituted with lfs commands no change to command performance i parameter removed from wpe wfc and wil commands descriptions These commands use the ssn command to indicate the storage set Parameter 5 PC set Selects transfer from PC removed from command ssn This parameter is not in the current cameras Extensive updates throughout manual Manual remains preliminary Base and medium configuration timing tables updated Product name revised from PC 30 02k40 and 04k40 to PC 30 02k60 and 04k60 Blue correction enable command and algorithm added Revised and added information to the Generating Test Pattern section page 60 Example test patterns added Set Binning Horizontal sbh command replaced with Set Averaging Horizontal sah command Horizontal average replaces horizontal binning Added Warning 09 Changing this parameter e g vertical binning has changed read out time and that is greater than the internal SYNC to table 10 Warnings and Errors Revised base and medium configuration tables in section 2 6 Camera timing page 15 SOT command updated sot 30 removed Lens mount option M42x1 added to specifications and mechanical sections Revised FPN values added to the performance specifications table for the 2k80 and 4k80 models page 5 RoHS designation added including camera model numbers SOT 30 parameter removed from the Help screen description page 22 the Data Ouput section p
17. highly non uniform response when affected by charge buildup with some pixels displaying a much higher response when the sensor is exposed to uniform illumination The charge normally dissipates within 24 hours and the sensor returns to normal operation WARNING Charge buildup will affect the cameta s flat field correction calibration To avoid an erroneous calibration ensure that you perform flat field correction only after a charge buildup has dissipated over 24 hours 9 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 cate 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 sensor is positioned at the exit port of an integrating sphere where the illumination is diffuse Dust can normally be removed by blowing the window surface using a compressed air blower unless the dust particles are being held by an electrostatic charge in which case either an ionized air blower or wet cleaning is necessary Oil is usually introduced during handling Touching the surface of the window barehanded will leave oily residues Using rubber fingercots and rubber gloves can prevent oil contamination However the friction between the rubber and the window may pr
18. log of the last 50 commands and the camera s response to them Please attach description with as much detail as appropriate In addition to your local Teledyne DALSA representative you may need to call technical Sales Support 11 North America Europe Asia Voice 519 886 6000 49 8142 46770 519 886 6000 Fax 519 886 8023 49 8142 467746 519 886 8023 Email support teledynedalsa com Piranha Color Camera 78 Piranha Color Camera 79 Appendix A ASCII Command Reference The following table lists and describes all of the camera s available ASCH commands Table 7 Command Quick Reference Mnemonic Syntax Parameters correction calibrate fpn t tapid i integer value f float m member ofa set S string X pixel column number y pixel row number calculate camera gain ccg correction calibrate prnu ccp calibrate input LUT cil cameta link mode clm calculate PRNU cpa algorithm Parameters t 3 112 Description Performs FPN calibration and eliminates FPN noise by subtracting away individual pixel dark current Measures FPN dark current Use the epc command to enable subtracting these values from the video Use wfc to wtite these values to non volatile memory Calculates the camera gain according to the selected algorithm i Calibration algorithm to use 1 This algorithm adjusts analog gain so that 8 to 13 of tap ROI pixels ate above
19. offset FPN coefficients Piranha Color Camera 37 Analog Processing Optimizing offset performance and gain in the analog domain allows you to achieve a better signal to noise ratio and dynamic range use Perform all analog adjustments prior to any digital adjustments Analog gain sag command is multiplied by the analog signal to increase the signal strength before the A D conversion and before noise is added to the signal The analog offset sao command or black level is an artificial offset introduced into the video path to ensure that the A D is functioning properly The analog offset should be set so that it is at least 3 times the RMS noise value at the current gain Digital Processing optimize camera performance complete all analog adjustments before digital signal adjustments Fixed pattern noise FPN calibration calculated using the ccf command is used to subtract away individual pixel dark current 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 You may want to set the sdo value if you are not using FPN correction but want to perform PRNU correction Photo Response Non Uniformity PRNU coefficients calculated using the cep or cpa commands ate used to correct the difference in responsivity of individual
20. pixels i e given the same amount of light different pixels will charge up at different rates and the difference in light intensity across the image either because of the light source or due to optical aberrations e g there may be more light in the center of the image PRNU coefficients are multipliers and are defined to be of a value greater than or equal to 1 This ensures that all pixels will saturate together Background subtract ssb command and system digital gain ssg command are used to increase image contrast after FPN and PRNU calibration It is useful for systems that process 8 bit data but want to take advantage of the camera s 12 bit digital processing chain For example if you find that your image is consistently between 128 and 255DN 8 bit you can subtract off 128 ssb 2048 and then multiply by 2 ssg 0 8192 to get an output range from 0 to 255 Background addition sab command is used to ensure a minimum output value and is added to the digital video after the system gain is applied The Effects of the Processing Chain on Calibration The Processing Chain as shown in Figure 7 Video out video in x SAG SAO SDO FPN x PRNU SSB x SSG SSB Calibration takes place at the output of the parameter being calibrated If the parameters further down the chain are not zero or unity then the video out may not be as expected For example if the analog gain is calibrated to an average of 3 000 DN us
21. selected See the scl command for details Background add values The range is from 0 to 4095 ssg scl sab 1 25 3 17 Look Up Tables The flat field corrections FPN and PRNU assume a linear response to the amount of light by the sensor output node analog amplifier and analog to digital converter To correct any non linearity in this system of components a Look Up Table LUT has been implemented in the FPGA for each tap immediately after the ADC The LUT adds a signed value 256 to 255 indexed by the 10 MSB of the input value Piranha Color Camera Calibrate Input LUT Purpose Syntax Syntax Elements Notes Example Enable Input LUT Purpose Syntax Syntax Elements Notes Example 50 Calibrates the current input look up table for correcting non linearity in the analog chain CCD sense node and analog to digital conversion cil This command calibrates all taps within the ROI for current color RBG does all To calibrate Place a white reference in front of the camera This is similar to a PRNU calibration Adjust the light level such that at maximum LUT line rate 2K60 is equal to 10 501 Hz and 4K60 is equal to 5 410 Hz Average output is less than 590 DN 12 bit and at minimum line rate average output is greater than 3 685 DN 12 bit In addition Use the wil command to write the LUT to non volatile memoty Use the eil command to enable use of the LUT Use the scl command to s
22. the camera test all power supplies Ensure that all the correct voltages are present at the camera end of the power cable Power supplies must meet the requirements defined in section 2 2 2 Power Connector Inspect all cables and connectors prior to installation Do not use damaged cables or connectors or the camera may be damaged Connect Camera Link and power cables After connecting cables apply power to the camera Check the diagnostic LED See the LED Status Indicator section below for an LED description The camera powers on with a baud rate of 9600 You must also set up the other components of your system including light sources camera mounts host computers optics encoders and so on 2 2 Input Output Connectors and LED The camera uses An LED to display the camera s status High density 26 pin MDR26 connectors for Camera Link control signals data signals and serial communications One 6 pin Hitose connector for power Camera Link Connector Camera Link Connector Power Connector Piranha Color Camera 14 Note Refer to the following sections for details on equipment recommendations and camera connector information 2 3 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 c
23. the pixel end number in a range from 1 to sensor resolution x2 Column end Must be greater than the pixel start number in a range from 1 to sensor resolution Notes To return the current region of interest use the commands gep ot get roi Related Commands ccg gl gla ccf ccp cpa els Example roi 10 50 3 10 Exposure Control Overview You have a choice of operating in one of six exposure 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 You must first set the camera exposute mode using the sem command Next if using mode 2 or 7 use the commands ssf and set to set the line rate and exposure time Setting the Exposure Mode Purpose Sets the camera s exposure mode allowing you to control your sync exposure time and line rate generation Syntax sem i Syntax Elements i Exposure mode to use Factory setting is 2 Notes Refer to Table 4 Color Exposure Modes 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 gep or get sem Related Commands ssf set Example sem 3 Piranha Color Camera 30 Table 4 Color Exposure Modes Mode SYNC Exposure Description Control 2 Internal Intern
24. the specified target value 2 This algorithm adjusts analog gain so that the average pixel value in tap s ROI is equal to the specified target value 3 This algorithm adjusts digital system 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 4 for individual tap selection depending on the color selected using the scl command i Calibration target value in a range from 1024 to 4055DN 12 bit LSB Performs PRNU calibration in order to eliminate the difference in responsivity between the pixels to create a uniform response to light Calibrates the input lookup table LUT The LUT are used to remove nonlinearity from the analog chain Selects the CameraLink mode Performs PRNU calibration according to the selected algorithm il The calibration algorithm Piranha Color Camera Mnemonic correction set sample display input LUT Syntax css dil Parameters tala 80 Description 1 The 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 Identical to cep 2 Calculates the PRNU coefficients using the entered target value as shown below PRNU Coef
25. to specify the direction of web movement Setting the Line Delay between Colors Purpose Sets the number of lines of delay between colors that ate read out from the sensor Syntax ssa i Syntax Elements i Line delay between colors in a range from 0 6 Notes To tead the current line delay use the command gcp or get ssa If your line rate matches the speed of the object then the value of the line delay will be 3 Adjust the ssa value until you remove the red and blue halos above and below a black on white horizontal line in order to set the line delay Example ssa 3 3 12 Averaging Horizontal Pixels Setting the Averaging Horizontal Purpose Averaging reduces the pixel noise and decreases the horizontal resolution The charge collected in adjacent pixels is averaged together Syntax sah i Syntax Elements i The number of horizontal pixels to average Available values are 1 factory setting and 2 Piranha Color Camera Notes Example sah 2 36 Selecting sah 1 results in no averaging Selecting sah 2 averages pairs of pixels P1 P2 2 P3 P4 2 P5 P6 2 If you are using averaging the minimum maximum and mean statistics generated by the g1 or gla commands and used by the ccg cao ccf and ccp commands are for the un averaged pixels Changing the averaging does not require the recalibration analog gain FPN or PRNU of the camera The current value of horizontal averaging factor can be ob
26. white is different Factory initial values combine the three colors equally White 0 0 33 x Red 0 33 x Green 0 33 x Blue C 0 33 x 4 096 1 365 Red 0 1 x Red 0 x Green 0 x Blue C 1 x 4 096 4 096 Range of 8 192 to 8 191 is equivalent to floating point coefficients of 2 0 to 1 999 Step size is 0 000244 Values are saved with camera settings Values may be viewed with GCP or GET SCC White 100 0 25 x Red 0 15 x Green 0 8 x Blue Therefore C1 0 25 x 4096 1024 C2 0 15 x 4096 614 C3 0 8 x 4096 3276 OK gt scl RGB OK gt scc 100 1024 614 3276 Piranha Color Camera 28 3 9 Camera Selection Variables There are some camera condition variables that you should determine before adjusting any digital or analog settings like gain or offset or before changing the camera s exposure time These variables are The color or colors that you want to adjust The set number where you want to save any of these adjustments The region of interest for performing these adjustments Setting the Color Variable Purpose Selects the color or colors that you want to adjust with the ccf ccg ccp cpa dpc gfc gl gla gpc sag sao sdo set sfc spc ssb ssg commands Syntax scl s Syntax Elements s rgb adjust all colors red green and blue Power on setting r adjust red g adjust green b adjust blue Note The camera always powers up using
27. words for blue tap 2 32 unused bytes 2 byte CRC of the above LUT values are indexed using the most significant 10 bytes of the video signal When LUT s are enabled an indexed value is added to each value in the video signal e g If the value out of the A D converter was 4007 then the index into the LUT would be 4007 4 1001 75 If the LUT were enabled then the value at index 1001 zero based in the LUT would be added to the value coming out of the A D converter Piranha Color Camera Load Input LUT Purpose Syntax Syntax Elements Example Notes Related Commands Write FPN Coefficients Purpose Syntax Syntax Elements Example Notes Format of FPN PC File 54 The LUT values are two s complement signed integers from 256 to 255 e g 710 1112 0000 0000 0000 0111 1210 0 11002 1111 1111 1111 0100 See WFC for a description of the CRC algorithm Load previously stored LUT for all taps from non volatile memory to FPGA SDRAM 111 111 Before issuing this command select the set you wish to load with the SSN command O Factory set 1to4 User sets 5 Selects transfer from PC LUTs are only loaded from non volatile memory on powet up LIL and LFS They are not loaded by LUS wil Saves current values of FPN pixel coefficients that are in FPGA SDRAM to Flash memory or a PC file wic wic Before issuing this command select the set you wish to write with
28. 2 35 Related Commands cao 3 15 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 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 Correction is implemented such that for each pixel 120 0 0 0 analog video 4 4 ET T p zi V digital video i i 0 f Q analog analog LUT PRNU background digital system background gain offset addition ZN coefficients subtract gain addition so ccr cra ssb digital offset FPN coefficients Voutput Vinput FPN pixel digital offset PRNU pixel Background Subtract x System Gain Background Addition where Voutput digital output pixel value Vinput digital input pixel value from the CCD PRNU pixel PRNU correction coefficient for this pixel FPN pixel FPN correction coefficient for this pixel Background Subtract background subtract value System Gain digital gain value Background Addition 5 background addition value The algorithm is performed in two steps The fixed offset FPN is determined first by performing a c
29. 4794 Oxc7bc 0 48 4 0x58e5 0x6886 0x78a7 0x0840 0x1861 0x2802 0x3823 Oxc9cc Oxd9ed 98 Oxf9af 0x8948 0x9969 90 Oxb92b Ox5af5 Ox4ad4 0 7 7 96 0 1 71 0 0 50 0x3a33 0 2 12 Oxdbfd Oxcbdc Oxfbbf Oxeb9e 0x9b79 0x8b58 Oxbb3b Oxab1a 7 87 Ox4ce4 0x5cc5 0 2 22 0x3c03 0x0c60 Ox1c41 Oxedae Oxfd8f Oxcdec Oxad2a 0x8d68 0x9d49 0x7e97 0x6eb6 5 5 Ox4ef4 0x3e13 0 2 32 0x1e51 0x0e70 Oxff9f Oxefbe Oxdfdd Oxcffc Oxbf1b Oxaf3a Ox9f59 0 8 78 0x9188 0x8149 Oxbica Oxaleb Oxd10c 124 Oxf14e Oxe16f 0x1080 0x00a1 0x30c2 0x20e3 0x5004 0x4025 0x7046 0x6067 0x83b9 0x9398 Oxa3fb Oxb3da 0xc33d Oxd31c 0xe37f Oxf35e 0x02b1 0x1290 0 2243 0 3242 0x4235 0x5214 0x6277 0x7256 Oxb5ea Oxa5cb 0 9548 0x8589 Oxf56e Oxe54f 0xd52c 504 0x34e2 0x24c3 0 14 0 0 0481 0 7466 0x6447 0x5424 0x4405 Oxa7db Oxb7fa 0x8799 0x97b8 Oxe75f Oxf77e 714 Oxd73c 0x26d3 0 36 2 0x0691 0x16b0 0x6657 0 7676 0 4615 0x5634 Oxd94c Oxf90e 92 0x99c8 0x89e9 Oxb98a Oxa9ab 0x5844 0x4865 0x7806 0x6827 0x18c0 0x08e1 0x3882 0 28 3 Oxcb7d Oxdb5c Oxeb3f Oxfb1e 0x8bf9 0x9bd8 Oxabbb Oxbb9a 0 4 75 0 5 54 0x6a37 0x 7216 OxOaf1 Ox1ad0 0x2ab3 0x3a92 Oxfd2e OxedOf Oxdd6c Oxcd4d Oxbdaa Oxad8b 0x9de8 84 9 0x7c26 0x6c07 0x5c64 0x4c45
30. 5 2 CC4 13 13 inner shield 26 26 inner shield Base Configuration Timing Each pixel output has 8 bits for each of the three colors red green and blue Table 3 Base Configuration Video Data CLM 910 Base aa Maximum SSF puer see eek sor Fs me am _ 2100 aen 73 97 14 6 80 NA NA 318 175 Le mE lo DLL DB 7 3 Go 7 Y70 19 3 9 7 19 3 9 7 Piranha Color Camera 17 10 12 1 Yes To Ti Ro Bs 11Rs 11 Go 7 30 14 5 7 3 14 5 7 3 Yo 40 19 3 9 7 19 3 9 7 Figure 4 Base Configuration EXSYNC TBD E 7 Line and Data Valid 1111111111111111511111 _ 2 __ Pixel Clock 40 or 80MHz RED Data GREEN Data BLUE Data B1 B2 1 B3 Data 8 bits color pixel n Number of pixels per line 2048 or 4096 Medium Configuration A medium configuration uses 2 MDR26 connectors and 2 Channel Link chips The main characteristics of the medium configuration are Ports supported A B C D E F Serializer bit width 28 Number of chips 2 Number of MDR26 connectors 2 B4 B5 B7 RA PCR CR Bn Medium Configuration Connector 2 2 Channel Link Chips Camera Right Angle Channel Link Cable Name Connector Frame Grabber Signal 1 1 inner shield Inner Shield 14 14 inner shield Inner Shield 2 25
31. 5 V or greater 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 Use an isolated type power supply to prevent LVDS common mode range violation Note Camera performance specifications are not guaranteed if your power supply does not meet these requirements Piranha Color Camera 15 IMPORTANT This camera s data should be sampled on the rising edge of STROBE 2 5 Camera Link Data Connector Figure 3 Camera Link MDR26 Connector MDR26 Female 13 1 26 14 Mating Part 3M 334 31 series Cable 14X26 SZLB XXX OLC Input Signals Camera Link The camera accepts control inputs through the Camera Link MDR26F connector The camera ships in internal sync internal programmed integration exposure mode 2 EXSYNC Triggers Line Readout Line rate can be set internally using the serial interface The external control signal EXSYNC is optional and enabled through the serial interface This camera uses the falling edge of EXSYNC to trigger pixel readout Direction Control You control the CCD shift direction through the serial interface With the software command sed you determine whether the direction control is set via software control or via the Camera Link control signal on CC3 Output Signals Camera Link
32. B3 B5 187 9 B11 B13 B15 B17 B19 D RedB R2 RO R8 R10 R12 R14 R16 R18 R20 E Green G2 G12 G14 G16 G18 G20 F BlueB B2 186 B8 B10 B12 B14 B16 B18 B20 Figure 5 Medium Configuration 8 Bits Color Pixel EXSYNC 4 gt k TBD Line and Data Valid Pixel Clock DERE RED Dabi R1 A R5 ART R9 ow ASCHMCKGCNMGOGEZNCEOQGCA BLUE Data 1 B1 B3 1 B5 B7 B9 B11 B13 mE 5 Bn 3 Bn 1 Bn RED Data 2 CPC Rn ca GREEN Data 2 G2 2 Gn 6 Gn 4 Gn 2 Gn B2 B4 B6 B8 B10 B12 m 8 Bn 6 Bn 4 Bn 2 Bn BLUE Data 2 7 s E Piranha Color Camera 20 EXSYNC Line and Data Valid Pixel Clock 40 or 80MHz RED Data GREEN Data BLUE Data Figure 6 Medium Configuration 12 Bits Color Pixel TBD Jo TT unnnnnnnnannnnmnnm RI R24 R3 R4 ARS J R6 RT o EE Rn B1 B2 i Ba B5 C B6 B7 Bn 4 Bn 3 Bn 2 1 Bn Data 10 or 12 bits color pixel n Number of pixels per line 2048 or 4096 Notes for Base and Medium Configuration Timing 1 RYN Qo ses tn 10 11 CLM Camera Link Mode Bits Number of bits per pixel Taps Number of camera link taps per color Luminance Indicates if a tap constructed from the RGB using the SCC command is output Time Time multiplex interval Po
33. DN p p K60 RGB 40 87 275 K80 RG K80 B 60 140 450 FPN On DNp p RGB 10 PRNU global Off DN p p RGB 760 760 1000 PRNU pixel to pixel Off DN p p RGB 517 517 890 PRNU global On DN p p RGB 18 NEE On pJ cm R 113 3 113 3 113 3 G 68 68 68 B 136 136 136 SEE On nJ cm R 86 27 3 8 6 G 51 8 16 4 52 B 103 5 32 8 10 4 Saturation Output DN RGB 4095 4095 4095 Amplitude Piranha Color Camera 10 Specification tables test conditions and notes 2k and 4k models Line Rate 400 Hz Exposure Time us 2K 4K R G B R G B 10 dB 800 480 960 1600 960 1920 0 dB 253 152 304 506 304 607 10dB 80 48 96 160 96 192 Light Soutce Broadband Quartz Halogen BG 38 with 750nm cutoff filter installed Correction Color Temperature 5300 K Ambient Test Temperature 25 C Output swing FFC off 3220 DN includes 180 DN Dark Offset Range of 0 to 4095 DN Output swing FFC on 3800 DN All numbers are 12 bit unless specified otherwise The responsivity of each color is adjusted to achieve equal output Tested in Camera Link Mode clm 16 PRNU specified at 75 of full swing General Notes Specifications apply to both 60 MHz and the 80 MHz camera models unless indicated otherwise Specification with FFC on apply to the factory calibrated FFC User calibrated FFC may have a different affect on camera performance FPN Notes 2K80 cameras have increased FPN on the blue outputs between pixels 533 543 and 1506 1516
34. Piranha Color Camera Piranha Color Trilinear Camera PC 30 02K80 00 R PC 30 02K60 00 R PC 30 04K80 00 R PC 30 04K60 00 R A Teledyne Technologies Company TELEDYNE DALSA bo gt Camera User s Manual 03 032 10211 08 3 Jun 11 Piranha Color Camera O 2011 Teledyne DALSA All information provided in this manual is believed to be accurate and reliable No responsibility is assumed by Teledyne DALSA for its use Teledyne 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 Teledyne DALSA About Teledyne Technologies and Teledyne DALSA Inc Teledyne Technologies is a leading provider of sophisticated electronic subsystems instrumentation and communication products engineered systems aerospace engines and energy and power generation systems Teledyne Technologies operations are primarily located in the United States the United Kingdom and Mexico For more information visit Teledyne Technologies website at www teledyne com Teledyne DALSA a Teledyne Technologies company is an international leader in high performance digital imaging and semiconductors with approximately 1 000 employees worldwide headquartered in Waterloo Ontario Canada Established in 1980 the company designs develops manufactures and markets digital imaging products and solutions in addition to prov
35. S noise at high gain Sets the number of horizontal pixels to average Available values are 1 factory settings and 2 Set the speed of camera serial communication port Baud rates 9600 19200 57600 and 115200 Power on default 9600 Sets the cable parameter Increase this value for longer cables and decrease the value for shorter cables Set how three video streams from the CCD are combined to provide the four ted green blue and luminance output streams Use SCL to select the color RGB for luminance to modify il Offset 0 to 4095 i2 Red multiplier 8192 to 8191 13 Green multiplier 8192 to 8191 i4 Blue multiplier 8192 to 8191 Multipliers are divided by 4096 to get the actual factor Sets the CCD shift direction where O Forward CCD shift direction 1 Reverse CCD shift direction 2 Externally controlled direction control via CC3 rgb r g b Subtracts this value from the video signal prior to FPN correction t tap selection 1 to 4 depending on color selected or O for all taps i Offset in a range from 0 to 4095 Sets the exposure mode 2 Internal line rate and exposure time set using commands ssf and set 3 External SYNC maximum exposure time 4 Smart EXSYNC 5 External SYNC and PRIN Piranha Color Camera Mnemonic set exposure time set fpn coeff set fpn range set input LUT set lower threshold set mirroring mode set output throughput set prnu coeff set prnu rang
36. YO PAIRI 15 12 YO PAIR1 3 24 yil PAIR2 16 11 Y1 PAIR2 4 25 Y2 PAIR3 17 10 Y2 PAIR3 5 22 PAIR4 18 9 Yelk PAIR4 6 21 Y3 PAIR5 Piranha Color Camera Medium Configuration Connector 2 2 Channel Link Chips Camera Right Angle Channel Link Cable Name Connector Frame Grabber Signal 19 8 Y3 PAIR5 7 20 terminated PAIR6 20 7 terminated PAIRG 8 19 Z0 PAIR7 21 6 70 PAIR7 9 18 Z1 PAIR8 22 5 ZA PAIR8 10 17 Z2 PAIR9 23 4 Z2 PAIRO9 11 16 Zclk PAIR10 24 3 Zclk PAIR10 12 15 Z3 PAIR11 25 2 Z3 PAIR11 13 13 inner shield Inner Shield 26 26 inner shield 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 shield is connected to signal ground inside camera 18 Piranha Color Camera Medium Configuration Timing 19 Medium Configuration o Cometri Connector2 AAA Bits Lum PortB PortD REESE efe Joe e em o RS 1 fxe Re Bo NA 80 NA NA Maximum SSF8 CLM 14 Pixels are Interleaved Port Sequence 1 2 3 4 5 6 7 8 9 10 A Red R1 R3 R5 R7 R9 R11 R13 R15 R17 R19 B G1 G3 G5 G7 G9 G11 G13 G15 G17 G19 C Blue Bl
37. age 26 and from the list of all available commands page 79 Pending added to declarations of CE compliance in manual Mechanical connector dimension revised Blue correction affected pixels revised in Appendix B EMC declaration pending stamp removed and fulfilled requirements listed Exposure mode 5 revised so that the timing signal for the green exposure starts at the same time as CC2 Green PRIN rising edge The signal was starting too late Page 31 Test conditions and notes fot the performance and operating specification Section 1 1 combined Operating specifications tables for both 2k and 4k models revised Sensor responsivity graphs revised Section 1 3 SOT 30 command added to camera Base and medium configuration tables updated on pages 19 and 21 Preliminary designation removed Mechanical drawing tevised showing sensor alignment measuted from tooling holes in the front plate Teledyne DALSA logo added Piranha Color Camera Revision Number Change Description Blue correction algorithm revised Appendix B 94 Piranha Color Camera Index 95 analog gain 38 40 processing 37 applications 5 average horizontal setting 35 background subtract 48 blue correction command 89 bright lines 76 camera dimensions 69 messages 86 Camera Link connector 15 outputs 15 camera settings See settings clocking signals 15 coefficients diabling 47 enabling 47 loading 47 resettin
38. al Each color may have a different exposure time External All colors share the same exposure time 4 External External Smart EXSYNC All colors share same exposure time 5 External External Each color may have a different exposure time 6 External Internal Each color may have a different exposure time 7 Internal None All colors share the same exposure time Note When setting the camera to external signal modes EXSYNC and or PRIN must be supplied Piranha Color Camera Exposure Modes in Detail Mode 2 SSF SET SSF gt t Blue SET H CM Green SET sell Red SET Me cade KA Min PR Readout Min SSF Mode 3 EXSYNC ECD CC1 o ME No PR Readout Max EXSYNC Mode 4 Smart EXSYNC CC1 amp PR mM Readout Max EXSYNC Min PR lt M s PR M gt Exposure all colour pr Mode 5 EXSYNC PRIN 001 EXSYNC amp BluePRN TT Readout Max EXSYNC Min PR Blue Exposure CC2 Green PRIN do Green PR Green Exposure Sm gs asa RedPRIN 7 Red PR Red Exposure 31 Piranha Color Camera Mode 6 EXSYNC SET 32 CC1 EXSYNC YJ c5 Blue SET exposure 1 O O Green SET exposure O Red SET exposure _ Min PR Readout Max EXSYNC 1 Mode 7 SSF ECD SSF E rr No PR Readout Max SSF F Setting the Line Rate Purpos
39. alibration without any light This calibration determines exactly how much offset to subtract per pixel in order to obtain flat zero output when the CCD is not exposed The white light calibration is performed next to determine the multiplication factors required to bring each pixel to the required value target for flat white output Video output is set slightly above the brightest pixel depending on offset subtracted Piranha Color Camera 42 Flat Field Correction Restrictions It is important to do the FPN correction first Results of the FPN correction are used in the PRNU procedure We recommend that you repeat the correction when a temperature change greater than 10 C occurs ot if you change the analog gain integration time line rate or SRM 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 50or 60 Hz ambient light flicker is sufficiently low so as not to affect camera performance and calibration results The analog gain should be adjusted for the expected operating conditions The ratio of the brightest to darkest pixel in a tap should be less than 3 to 1 where Brightest Pixel per tap Darkest Pixel per tap The brightest pixel should be slightly be
40. ameters gt Error 04 Incorrect parameter value gt Error 05 Command unavailable in this mode gt Error 06 Timeout gt Error 07 Camera settings not saved gt Error 08 Unable to calibrate tap outside ROI gt 87 Description Command is not valid or not available at the current access level Too many or too few parameters This error is returned for Alpha character received instead of numeric character or visa versa Float where integer expected Not an element of the set of possible values E g Baud Rate Outside the range limit E g Set sync frequency ssf when in external sync mode 3 sem Command not completed in time E g CCF or CCP in SEM 3 when no external EXSYNC is present Indicates that user settings have been corrupted by turning off the power while executing the WUS command Must build up new settings from factory and re save with WUS Also present during manufacturing before settings saved for first time Cannot calibrate a tap that is not part of the end of line statistics Piranha Color Camera 88 Piranha Color Camera 89 Appendix B Blue Correction Command Note This command applies to the PC 30 0xK80 cameras only The 80 mega pixel camera models PC 30 02K80 and PC 30 04K80 show an artifact at the mid point of the blue taps This blue correction command enables replacing these pixels with interpolated values Affected pixels Model 1st Blue Tap 2nd Blue Tap
41. ary Load the camera s user settings from non volatile memory and send values to FPGA lus lus Before issuing this command select the set you wish to load with the SSN command O Factory set 1to4 User sets 5 Selects transfer from PC Unlike LFS LUS only restores the settings and not the FPN PRNU and LUT Piranha Color Camera Related Commands Write Input LUT Purpose Syntax Syntax Elements Example Notes Format of LUT PC File 53 Saves current values of input LUT that are in FPGA SDRAM to Flash memory or a PC file wil wil Before issuing this command select the set you wish to write with the SSN command O Factory set 1 04 User sets Input LUT is loaded by LIL LFS and automatically at power up LUT use is enabled or disabled with the EIL command Set 0 can only be written from factory mode Provided so that user can generate their own LUT s to send to the camera Binary file 2 bytes LSB first x 1024 values x 4 red taps 2 bytes LSB first x 1024 values x 4 green taps 2 bytes LSB first x 1024 values x 2 blue taps 32 bytes reserved 2 byte CRC 16 of previous bytes e g PC 30 02k80 would have 1024 words for red tap 1 1024 words for red tap 2 1024 words for red tap 3 1024 words for red tap 4 1024 words for green tap 1 1024 words for green tap 2 1024 words for green tap 3 1024 words for green tap 4 1024 words for blue tap 1 1024
42. bles show each available test pattern svm i i Normal video Horizontal ramp Diagonal ramp Vertical ramp OxAA 0x55 alternating pixel pattern per color 8 pixels of 0x00 followed by 8 pixels of OxFF on all colors repeating DC value FPN demo PRNU demo All 4095 to get FPN All 2048 to get PRNU Ui 0 MN ND JOS e svm 1 Examples of the horizontal ramp test pattern svm 1 PC 30 02K80 Piranha Color Camera 60 Color level profile on the complete line 0 258 512 770 1024 1282 1536 1794 2047 PC 30 04K80 Color lewel profile on the complete line 0 L 0 517 1024 1541 2048 2565 3072 3589 4095 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 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 Interest ROD Use the g1 command or the following gla command to ensure the proper video input range
43. bout 80 of saturation If you change the gain FPN coefficients should be recalculated 3 Issue the command ccp The camera will respond with OK gt if no error occurs 4 After the calculation is complete you can save these settings to non volatile memory so they will be remembered after power down and direction change To do so issue the commands wpc and wus 5 Enable the coefficients using the command epc 1 1 FPN Measurement Performing FPN Measurement Purpose Syntax Notes Measures fixed pattern noise FPN ccf e Before sending this command use the sel command to select the color or colors you want to adjust This allows you to limit the calibration to a single color e Perform all analog and digital adjustments before performing FPN correction e Perform FPN correction before PRNU correction To save FPN coefficients after calibration use the wfc command 43 Piranha Color Camera 44 Related Commands ccp wfc Example ccf Setting 5 FPN Coefficient Purpose Sets an individual pixel s FPN coefficient Syntax sfc x i Syntax Elements x The pixel number from 1 to sensor pixel count i Coefficient value in a range from 0 to 4095 12 bit LSB Notes Before sending this command use the scl command to select the color you want to adjust Example sfc 10 50 Setting a Range of FPN Coefficients Purpose Sets a range of pixel FPN coefficients Syntax sfr x xi Syntax Elements s
44. bration requires constant light on a clean white reference White plastic or white ceramic is ideal If very few tap pixels are within the ROI gain calculation may not be optimal When all taps are selected taps outside of the ROI are set to the average gain of the taps that are within the ROI Perform analog gain algorithms before performing FPN and PRNU calibration All digital settings affect the analog gain calibration If you do not want the digital processing to have any effect on the camera gain calibration then turn off all digital settings by sending the commands sdo O 0 epc 0 0 ssb 0 0 ssg 0 4096 and sab 0 0 ccg 2 0 3040 sag ssg Setting Analog Offset Purpose Syntax 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 The analog offset for noise is configured at the maximum specified gain and as a result you should not need to adjust the analog offset sao t i Syntax Elements t Notes Tap selection Use O for all taps Color selection limits the taps that may be selected by this command See scl for further information i Offset value in a tange from 0 to 255DN 12 bit LSB To return the current analog offset value use the command gcp or get sao Piranha Color Camera 41 Note If your illumination or white reference does not extend the full field of view of the camera the camera will send a warning Example sao
45. camera test patterns Normal video Horizontal ramp Diagonal ramp Vertical ramp N A A5 pattern N A Data transmission DC value FPN demo PRNU demo 9 All 4095 to get FPN 10 All 2048 to get PRNU 11 Powet toggle 12 320 FPN offset 13 All zetos 14 All ones Fot all taps changes 0 dB gain to equal the current analog gain value Display the internal temperature of the cameta Display the voltage supplied to the Piranha Color Camera Mnemonic write FPN coefficients write input LUT write PRNU coeffs write user settings 86 Syntax Parameters Description camera wfc Write current FPN coefficients to non volatile memory set previously using the ssn command wil Write current LUT s to non volatile memory set pteviously using the ssn command wpc Write current PRNU coefficients to non volatile memory set previously using the ssn command wus Write current camera settings to non volatile memory set previously using the ssn command A5 Error Handling The following table lists possible cause Warning warning and error messages and provides a description and 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 8 Warning and Error Messages Message Warning 01 Outside of specification gt Warning 02 Clipped to min gt Warning 03
46. can introduce charge to the window surface Wipe the window carefully and slowly When cleaning long linear sensors it may be easier to wipe along the width i e as opposed to the length of the sensor Piranha Color Camera 75 Troubleshooting 6 1 Common Issues 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 You may have to troubleshoot any or all of the following e power supplies e cabling e software e host computer e light sources e optics e operating environment e encoder LED When the camera is first powered up the LED will glow on the back of the camera Refet 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 Ensure that cable lengths are no longer than 10m Use the seb command to select the cotrect cable parameter for the cable length Equipment Requirements Ensure that you ate using compatible equipment Power Supply Voltages Check for the presence of all voltages at the camera power connector Verify that all grounds are connected EXSYNC When the camera is received from the factory it defaults no external input required to exposure mode 7 5000 Hz line rate internal Sync to trigger readout After a user has saved settings the camera powers up with t
47. d and the camera returns a warning message Some commands may not be available in your current operating mode The help screen displays NA in this case The following help screen listing is for a 2k camera ccf correction calibrate fpn ccg calibrate camera gain iti 1 4 0 0 1024 4055 ccp correction calibrate prnu calibrate input lut clm camera link mode m 5 9 10 14 15 16 cpa calibrate PRNU algorithm mi 1 2 3 4 1024 4055 css correction set sample m 1024 2048 4096 dil display input lut taa 0 0 0 1023 0 1023 dpc display pixel coeffs xx 1 2048 1 2048 bc nable blue correction 1 0 1 4 4 nable input lut ER 0 1 els end of line sequence ais 0 2 pc nable pixel coefficients T 0 1 0 1 gel get command log gem get camera model gcp get camera parameters gcs get camera serial gcv get camera version get get values s gfc get fpn coeff x NA gh get help gil get input lut ta NA gl get line XX 1 2048 1 2048 gla get line averag XX 1 2048 1 2048 gpc get prnu coeff x NA gs f get signal frequency 1 4 h help lfc load fpn coefficients lfs load factory settings tid load input lut lpc load prnu coefficients lus load user settings Piranha Color Camera XX ti tf reset camera ril reset input lut roi region of interest rpc reset pixel coeffs sab set add background sag set analog gain sah set averag
48. e Applies to Syntax Modes 2 and 7 Syntax Elements Notes Related Commands Example Sets the camera s line rate in Hz Camera must be operating in exposure mode 2 or 7 ssf f f Desired line rate in Hz Allowable values are 2k80 1 to 32362 Hz 2k60 1 to 22714 Hz 4k80 1 to 17699 Hz 4k60 1 to 12132 Hz To read the current line frequency use the command gep or get ssf If you enter an invalid line rate frequency an error message is returned Line rate reduces depending on clm sut els and sah settings Values less than 5000 Hz will return the warning Warning 01 Outside of specification gt sem set ssf 10000 Setting the Exposure Time e Purpose Applies to Syntax Modes 2 and 8 Syntax Elements Notes Sets the camera s exposure time in micro seconds Camera must be operating in mode 2 ot 6 set f f Desired exposure time in us Allowable range is 5 0 to 9997 000 0 us To read the current exposure time use the command gep or get set The ssf and set commands will push each other when set Piranha Color Camera 33 Related Commands sem ssf Example set 400 5 3 11 Spatial Correction Spatial Correction and Trilinear Sensor Design The trilinear sensors three color lines do not share a common optical axis This results in the three color lines imaging three separate object points As a result the color images need to be stored delayed and recombined to properly reconstruct the
49. e set readout mode Syntax set sfc sfr sil slt smm sot spc spr srm Parameters xxi tai xi il i2 x 84 Description 6 External SYNC internal exposure time set using SET command 7 Internal line rate maximum exposure time Factory setting Sets the exposure time Refer to the camera help screen h command for allowable range Set the FPN coefficient First must select a single color with SCL x pixel number within the range 1 to n Where n 2048 or 4096 i FPN value within the range 0 to 4095 12 bit LSB Set a range of pixel FPN coefficients First must select a single color with SCL x1 first pixel number of the range x2 last pixel number of the range i coefficient value in a range from 0 to 4095 Set a single value in a LUT First must select a single color with SCL t Tap 1 to 4 depending on color a Address within LUT 0 to 1023 i Value 256 to 255 The pixels below the lower threshold ate counted and reported in the end of line sequence i Threshold in a range from 0 4095 Set mirroring mode 0 Left to right 1 Right to left Sets the camera s total throughput per color Valid values are 30 40 60 or 80 mega pixels per second per color Set a PRNU coefficient First must select a single color with SCL x pixel number within the range 1 to n Where n 2048 or 4096 i PRNU value within the range 0 to 61438 Set a range of pixel PRNU coefficients Firs
50. ed voltage to the camera but only used as a test to isolate gross problems with the supply voltage 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 Blue PR 2 CC2 Green PR 3 CC3 CCD Direction 4 CC4 Spare Red PR Note Accuracy 271 ns Reliable up to 40 000 H Example gsf 1 Returning the LED Status Purpose Returns the status of the camera s LED Syntax 451 The camera returns one of the following values 2 green camera is operating correctly 5 flashing green camera is performing a function 6 flashing red fatal error Notes e Referto section 2 3 Camera LED for mote information on the camera LED 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 gcp Piranha Color Camera 63 Example CAMERA SETTINGS Camera Model No PC 30 02K60 00 R Camera Serial No 3 Microcode Version 03 081 00166 06 CCI Version 03 110 20014 01 FPGA Version 03 056 20031 04 UART Baud Rate 115200 Set Number Current 3 Set Number Last Settings 3 Set Number Last LUT 3 Set Number Last FPN 3 Set Number Last PRNU 3
51. elect which colored taps to calibrate Use the roi command to limit the taps calibrated and to limit which pixels ate used for calibration If a tap is not in the region of interest then it will not be calibrated Press spacebar to abort this command Rerun this command if the analog gain or operating temperature changes Enables or disables the use of the input look up tables for the correction of the analog chain non linearity eil flag 0 Disable 1 Enable Coefficients must be created first with the cil command Setting saved with the wfs and wus commands Piranha Color Camera 51 3 18 Saving Loading and Restoring Settings Saving and Restoring Settings Figure 8 Saving and Restoring Overview Current Settings LUT FPN PRNU Factory User Settings Settings LUT LUT FPN FPN PRNU PRNU SSN 0 SSN 1 4 SSN 5 Factory Settings On first initialization the camera operates using user set 1 which has been set equal to the factory settings You can restore the original factory settings at any time using the command 1 User Settings You can save or testore your user settings to non volatile memory using the following commands Pixel coefficients and LUTS are stored separately from other data save all current user settings to Flash 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 no
52. ened 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 Repeat steps 3 5 using a clean tissue until the entire window has been cleaned Blow off any adhering fibers or particles using dry filtered compressed ait Piranha Color Camera 6 3 Product Support If there is a problem with your camera collect the following data about your application and situation and call your Teledyne DALSA representative Note You may also want to photocopy this page to fax to Teledyne DALSA Customer name Organization name Customer phone number fax number email Complete Product Model Number e g PC 30 04K80 00 R Complete Serial Number Yout Agent or Dealer Acquisition System hardware frame grabber host computer light sources etc Power supply setting and current draw Data tate used Control signals used in your application and their frequency ot state if applicable Voltage reported by the vv command and voltage range reported by the vvRange command 8 cllog Detailed description of problem encountered EXSYNC Other Camera Link Please attach text received from the camera when the gcp command is run Please attach text received from the camera in response to the gcl command This is a
53. er pixel coefficients are enabled or disabled The first parameter returns the FPN coefficients setting where O FPN coefficients disabled 1 FPN coefficients enabled The second parameter returns the PRNU coefficients setting where 0 PRNU coefficients disabled 1 PRNU coefficients enabled Returns the cameta s model number Returns the camera s serial number Returns the camera s software version Returns the FPN pixel coefficient for the pixel indicated Only available when a single color is selected Returns pixel values for the pixel range specified Returns the average of the pixel range indicated Returns the PRNU pixel coefficient for the pixel indicated Returns the frequency of the Camera Link control signal indicated 1 2 3 or 4 Returns the led status Returns the current coefficient set number Returns the current coefficient set number Returns the current coefficient set number Returns the current coefficient set number Returns the cutrent region of interest Returns the current background add value t Tap value O for all taps 1 to 4 for individual tap selection depending on camera model Returns the analog gain in dB for the tap indicated t Tap value O for all taps or 1 to 4 for individual tap selection Returns the horizontal averaging factor Piranha Color Camera Syntax Parameters get sao t get sbr get scb get scc get scd get scl get sdo t get sem get set get sfc x get sfr x1 x2 get
54. ficient Target AVG Pixel Value FPN sdo value The calculation is performed for all sensor pixels but warnings only apply to pixels in the region of interest This algorithm is useful for achieving uniform output across multiple cameras 3 This algorithm includes an analog gain adjustment prior to PRNU calibration Analog gain is first adjusted so that the peak pixel value in tap s ROI is within 97 to 99 of the specified target value It then calculates the PRNU coefficients using the target value as shown below Target PRNU Coefficient AVG Pixel Value FPN sdo value The calculation is performed for all sensor pixels but warnings only apply to pixels in the region of interest This algorithm is useful for achieving uniform output across multiple cameras 4 This algorithm is the same as 2 with the exception that it only calculates PRNU for the pixels within the current Region of Interest ROD The second parameter is the target value to use in a range from 1024 to 4055 DN i2 Output target Sets the number of lines to sample when using the gla command ot when performing FPN and PRNU calibration where m is 1024 2048 or 4096 Displays the range of input LUT values where t Tap number 0 for all The range is modified by the color selected al Range start address O to 1023 a2 Range stop address O to 1023 Piranha Color Camera Mnemonic display pixel coeffs enable blue correct
55. g 47 command format 21 parameters 21 conectors Camera Link 15 connectors Hirose 14 power 14 dark calibration See flat field correction dark patches 76 data bus 15 data rate 6 8 digital gain 49 50 offset 48 processing 37 ditection externally controlled 24 26 DVAL 15 electrical specifications 6 8 EMC Declaration of Conformity 91 enable blue correction 89 end of line sequence 57 error messages 86 exposure mode ovetview 30 setting 29 exposure time setting 32 EXSYNC 15 troubleshooting 75 external trigger 15 fiber optic light sources 71 filters 71 flat field correction errors 47 restrictions 42 results 47 FPN coefficient 44 correction 43 FVAL 15 gain 38 analog 38 calibrating 38 digital 49 50 ranges 6 8 halogen light sources 71 help 22 Hirose connector 14 hot mirror 71 illumination 71 incorrect line rate 76 inputs user bus 15 interface electrical 6 8 mechanical 6 8 Piranha Color Camera optical 6 8 71 LED 14 lens modeling 71 light calibration See flat field correction light sources 71 line delay between colors setting 35 line dropout 76 line rate 6 8 setting 32 line statistics 60 LVAL 15 magnification 72 mechanical drawing 69 specifications 6 8 noisy output 76 offset analog 40 digital 48 online help 22 optical specifications 6 8 optical interface 71 output signals 15 pixel stati
56. he 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 It is important that the target value set with the next parameter is set to be at least equal to the highest pixel across all cameras so that all pixels can reach the highest pixel value during calibration Confirm this using the gla statistics 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 Target PRNU Coefficient AVG Pixel Value FPN sdo value 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 This algorithm is should be used only when FPN is negligible and FPN coefficients ate 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 rat
57. he data FPN and PRNU coefficients are not included in the data Values returned are in 12 bit DN css roi gla 10 20 Setting the Number of Lines to Sample Purpose Syntax Syntax Elements Notes Related Commands Sets the number of lines to sample when using the gla command or when performing FPN and PRNU calibration css m m Number of lines to sample Allowable values are 1024 2048 or 4096 To return the current setting use the command ot get css gla ccf ccp cpa Temperature Measurement The temperature of the camera can be determined by using the vt command This command will return the internal chip case temperature in degrees Celsius For proper operation this value should not exceed 75 C Note If the camera reaches 75 C the camera will shutdown and the LED will flash red If this occurs the camera must be rebooted using the command re or can be powered down manually You will not be able to restart the camera until the temperature is less than 65 C You will have to correct the temperature problem or the camera will shutdown again The camera allows you to send the vt verify temperature command while it is in this state Piranha Color Camera 62 Syntax 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 appli
58. he saved settings If you change to an exposure mode that requires an external sync ensure that you are providing an external sync Communications and Verify Parameters TBD Verify Voltage To check the camera s input voltage use the vv command The supplied voltage must be within specification Erratic behavior may occur at low voltages Voltages will be reduced through the use of lengthy power supple cables Verify Temperature To check the internal temperature of the camera use the vt command Piranha Color Camera 76 6 2 Specific Solutions Camera Does Not Respond to Serial Commands Verify that the baud rate of the communications software matches that of the camera The camera always powers up at 9 600 bps Flashing Red LED on Power up This indicates a serious error There will be no camera output and the serial interface will only respond to a limit set of commands An error message is sent in response to all commands Refer to Appendix A5 for a description of these errors and the action to take Erratic Behavior Use the vv command in order to verify that the supplied voltage is within specification No Output or Erratic Behavior If your camera provides no output or behaves erratically it may be picking up random noise from long cables acting as antennae Do not attach wires to unused pins Verify that the camera is not receiving spurious inputs e g EXSYNC if camera is in exposure mode that requires external signals
59. her than a number above target However this algorithm is slower 4 Calculates the PRNU coefficient in the same way as cpa 2 with the exception that this command only calculates PRNU for pixels within the current Region of Interest ROD i2 Peak target value in a range from 1024 to 4055DN The target value must be greater than the current peak output value e Perform all analog adjustments before calibrating PRNU e This command performs the same function as the cpp command with the exception that you enter a target value e Calibrate FPN before calibrating PRNU If you are not performing FPN calibration then issue the rpe reset pixel coefficients command and set the sdo set digital offset value so that the output is near zero under datk cpa 1 600 Performing PRNU Calculation to a Camera Calculated Value Putpose Syntax Performs PRNU correction and eliminates the difference in responsivity between the most and least sensitive pixel creating a uniform response to light ccp Piranha Color Camera Notes Related Commands 46 e Before sending this command use the scl command to select the color or colors you want to adjust This allows you to limit the calibration to a single color e Perform all analog adjustments before calculating PRNU e Perform FPN correction before PRNU correction e If FPN cannot be calibrated use the rpe command to reset all coefficients to zeto and save them to memory with the wfc co
60. ical 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 It is often more important to consider exposure than illumination The total amount of enetgy 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 can be achieved by exposing 5mW cm for 1ms just the same as exposing an intensity of 5W cm for 1ps Light Sources Keep these guidelines in mind when setting up your light soutce LED light sources are relatively inexpensive provide a uniform field and longer life span compared to other light sources However they also require a camera with excellent sensitivity Halogen light sources generally provide very little blue relative to infrared light IR Fiber optic light distribution systems generally transmit very little blue relative to IR Some light soutces age over their life span they produce less light This aging may not be uniform a light source may produce progressively less light in some areas of the spectrum but not othets Filters CCD cameras are extremely responsive to infrared IR wavelengths of light To prevent infrared from distorting the images yo
61. iding MEMS products and services For more information visit Teledyne DALSA s website at www teledynedalsa com Support For further information not included in this manual or for information on Teledyne DALSA s extensive line of image sensing products please contact North America Europe 605 McMurray Rd Breslauer Str 34 Waterloo ON N2V 2E9 D 82194 Gr benzell Munich Canada Germany Tel 519 886 6000 Tel 49 8142 46770 Fax 519 886 8023 Fax 49 8142 467746 www teledynedalsa com www teledynedalsa com sales ameticas teledynedalsa com sales europe teledynedalsa com support teledynedalsa com support teledynedalsa com Asia Pacific Ikebukuro East 13F 3 4 3 Higashi Ikebukuro Toshima ku Tokyo 170 0013 Japan Tel 81 3 5960 6353 Fax 81 3 5960 6354 fax www teledynedalsa com sales asia teledynedalsa com support teledynedalsa com Piranha Color Camera Contents Features and Specifications 1 0 Introduction 1 1 Camera Performance Specifications 1 2 Image Sensor 1 3 Responsivity Hardware Interface Connectors and Timing 2 1 Installation Overview 2 2 Input Output Connectors and LED 2 3 Camera LED 2 4 Power Connector 2 5 Camera Link Data Connector 2 6 Camera Timing Software Interface Configuring the Camera 3 1 First Power Up Camera Settings 3 2 Rebooting the Camera 3 3 Baud Rate 3 4 Select Cable 3 5 Help 3 6 Sensor Output 3 7 Data Output 3 8 Set Color Correction 3 9 Ca
62. ing CCG 2 0 3000 while SSB is 100 the average video output will be 2 900 DN not 3 000 DN This applies to CCG calibrate analog gain SAG or system gain SSG Piranha Color Camera 38 CCF calibrate FPN CCP calibrate PRNU CPA calibrate analog gain SAG and PRNU calibration includes the FPN whether it is enabled or not as they are linked If you do not want the PRNU calibration to include the effect of FPN then it should be zeroed first using the RPC command CCG 3 system gain only includes FPN and PRNU if they are enabled with EPC Note Refer to section 3 9 Camera Selection Variables for details on commands that should be set before performing any analog or digital adjustments 3 14 Analog Gain and Analog Offset All analog signal processing chain commands should be performed prior to FPN and PRNU calibration and prior to digital signal processing commands Setting Analog Gain Purpose Sets the camera s analog gain value Analog gain 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 range of the A D converter Syntax sag t f Syntax Elements t Tap selection Use O for all taps Color selection limits the taps that may be selected by this command See scl for further information f Gain value in a range from 10 to 10dB Notes To return the current analog gain setting use the command gep o
63. ing horizontal sao set analog offset sbr set baud rate scb select cable SCC set colour correction scd set ccd direction scl set colour sdo set digital offset sem set exposure mode sfc set fpn coeff Sfr set fpn range sil set input lut slt set lower threshold smm set mirroring mode sot set output throughput spc set prnu coeff spr set prnu range srm set readout mode ssa set spatial alignment ssb set subtract background ssf set sync frequency ssg set system gain ssn set set number sut set upper threshold svm set video mod ugr update gain reference vt verify temperature VV verify voltage wfc write FPN coefficients wil write input lut wpc write PRNU coefficients wus write user settings 3 6 Sensor Output ti 1111 24 1 2048 1 2048 0 0 0 4095 0 0 10 0 10 0 1 2 0 0 0 255 9600 19200 57600 115200 0 255 0 4095 8192 8191 8192 8191 8192 8191 0 2 rgb r g b 0 0 0 4095 2 3 4 5 6 7 NA NA NA 0 4095 0 1 30 40 60 80 NA z D 0 4095 2362 0 65535 H o O1 Oo000HOOO Selects the forward reverse color scan direction external direction control This accommodates object direction change on a web and allows you to mount the camera upside down Color Scan Direction Purpose Syntax scd i Syntax Elements i Shift direction Allowable values ate O Forward CCD shift direction Piranha Color Camera No
64. into the processing chain before executing any pixel calibration commands Syntax gl 1 x2 Syntax Elements KI Pixel start number Must be less than the pixel end number in a range from 1 to n sensor resolution where n 2048 or 4086 x2 Pixel end number Must be greater than or equal to the pixel start number in a range from 1 to n sensor resolution where n 2048 or 4086 Notes Ifx2 X x1 then x2 is forced to be x1 Values returned are in 12 bit DN Related Commands roi Example gl 10 20 Piranha Color Camera 61 Returning the Average of Multiple Lines of Video Purpose Syntax Syntax Elements Notes Related Commands Example 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 ess 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 Setting a Region of Interest ROD gla x1 x2 x1 Pixel start number Must be less than the column end number in a range from 1 to n where n 2048 or 4096 depending on the resolution x2 Pixel end number Must be greater than or equal to the column start number in a range from 1 to n where n 2048 or 4096 depending on the resolution Ifx2 lt x1 then x2 is forced to be x1 Analog gain analog offset digital offset background subtract and digital system gain are applied to t
65. ion enable input LUT end of line sequence enable pixel coefficients get command log get camera model get camera parameters get camera serial get camera version get values get fpn coefficient get help get input LUT get line Syntax dpc ebc eil els epc gh gil gl Parameters x1 x2 il i2 x1 x2 81 Description al lt a2 Displays the pixel coefficients in the order FPN PRNU FPN PRNU x1 Pixel start number x2 Pixel end number in a range from 1 to n Where n 2048 4096 Enable blue correction where O Disable Off 1 Enable On Enable input LUT where 0 Off 1 On Sets the end of line sequence 0 Off 1 On 2 LVAL video and statistics Sets whether pixel coefficients are enabled or disabled The first parameter sets the FPN coefficients where i1 is 0 FPN coefficients disabled 1 FPN coefficients enabled The second parameter sets the PRNU coefficients where 12 is 0 PRNU coefficients disabled 1 PRNU coefficients enabled Displays the last 50 commands and the camera s response to them Displays the camera model number Displays all of the cameta parameters Displays the camera serial number Displays the camera s firmware versions Displays the current value of the parameter s set by the command s Read the FPN coefficient x pixel number to read in a range from 1 to n Where n 2048 or 4096 Returns all of the available get commands
66. lor selected previously using the scl command Returns mirroring mode 0 Off 1 On Returns output throughput in mega pixels per second mps per color Returns the PRNU coefficient for the specified pixel number This command is only available when a single color is selected x pixel number within the range 1 to n where 2048 or 4096 depending on the resolution Returns the pixel range of PRNU coefficients x1 lt x2 Returns the current background subtract value t Tap value O for all taps or 1 to 4 for individual tap selection depending on camera model Returns the current line rate in Hz Only available while Piranha Color Camera Syntax Parameters get ssg t get ssn get sut get svm get ugr t get vt get vv get wfc get wil get wpc get wus 67 Description in internal exposure modes Returns the current digital gain setting t tap selection either 1 to 4 depending on camera model or O for all taps Returns current set number Returns the current upper threshold value Returns the current video mode Normal video Horizontal ramp Diagonal ramp Vertical ramp n a n a DC value FPN demo PRNU demo All 4095 to get FPN 10 All 2048 to get PRNU 11 Power toggle 12 All 320 to FPN offset 13 All zeros 14 All ones Returns the gain reference value t tap selection 1 to 4 depending on camera model ot O for all taps Returns the camera s internal chip temperature in degrees Celsius Return
67. low the target output When greater than 6 25 of the pixels from a single row within the region of interest are clipped then flat field correction results may be inaccurate Correction results ate valid only for the current analog gain and offset values If you change these values it is recommended that you recalculate your coefficients Piranha Color Camera Set up the camera operating environment i e line rate exposure offset gain etc gt lt Set the calibration sample size using the command css It is recommended that you use the default setting Signal output should be no higher than 80 of saturation i e When your output is 12 bit data then 80 of 4096 is 3276 For 8 bit output 80 of 256 is 204 Your analog offset setting should not be clipping more than 6 25 of the pixels within the region of interest Digital offset and digital system gain and background subtract and add values should be set to zero ssb 00sdo 00ssg 00sab 00 Y Set the region of interest to include all of the image s pixels of importance using the command roi x1 y1 y2 You can use the default if you want to calibrate all pixels bd Perform FPN calculation Perform PRNU calculation FPN calculation removes the fixed pattern noise dark current from the video path It is recommended you repeat the calculation when a temperature change
68. m M72 x 0 75 50 um 50 um 250 um 0 2 M72 x 0 75 M42x1 and F mount Value 67 x 105 x 76 Ix h x w 450 g Single voltage input 12V to 15V Hirose 6 pin circular male Camera Link MDR26F 12 to 15 volts 12 W Oto 50 C 8 or 12 bits 3 taps 8 bit 3 taps 12 bit 6 taps 8 bit Piranha Color Camera 7 2k Model Operating Specifications Test conditions and notes follow All numbers measured at 12 bit unless specified otherwise Operating Specifications FFC Unit Color 10dB 0dB 10dB Min Typ Max Min Typ Max Min Typ Max Responsivity Off DN nJ cm R 76 228 240 252 758 G 127 380 400 420 1264 B 63 190 200 210 632 Responsivity On DN nJ cm R 95 285 300 315 948 G 158 475 500 525 1580 B 79 238 250 263 790 Dynamic Range On Ratio RGB 758 240 76 Random Noise On DNrms RGB 5 4 10 17 30 54 95 DC Offset DN RGB 180 180 180 FPN Off DN p p K60 RGB 25 55 137 K80 RG K80 B 60 140 450 FPN On DNp p RGB 10 PRNU global Off DN p p RGB 760 760 1000 PRNU pixel to pixel Off DN p p RGB 517 517 890 PRNU global On DN p p RGB 18 NEE On pJ cm R 56 7 56 7 56 7 G 34 34 34 B 68 68 68 SEE On nJ cm R 43 1 13 7 4 3 G 25 9 8 2 2 6 B 51 8 16 4 5 2 Saturation Output DN RGB 4095 4095 4095 Amplitude Piranha Color Camera 4k Model Performance Specifications Test conditions and notes follow All numbers 12 bit unless specified otherwise Sensor Features Imager Format Resolution Pixel Fill Factor Pixel Size Antiblo
69. mera Selection Variables 3 10 Exposure Control 3 11 Spatial Correction 3 12 Averaging Horizontal Pixels 3 13 Processing Chain Overview and Description 3 14 Analog Gain and Analog Offset 3 15 Flat Field Correction 3 16 Digital Gain and Background Subtract 3 17 Look Up Tables 3 18 Saving Loading and Restoring Settings 3 19 Diagnostics Optical and Mechanical Considerations 4 1 Mechanical Interface 4 2 Lens Mounts 4 3 Optical Interface CCD Handling Instructions 5 1 Electrostatic Discharge and the CCD Sensor 5 2 Protecting Against Dust Oil and Scratches 5 3 Cleaning the Sensor Window Troubleshooting 6 1 Common Issues 11 12 13 13 13 14 14 15 15 21 21 22 22 22 22 24 26 27 28 29 33 35 36 38 41 48 49 51 57 69 69 70 71 73 73 73 74 75 75 Piranha Color Camera Appendix A ASCII Command Reference Appendix B Blue Correction Command Appendix C EMC Declaration of Conformity Appendix D Revision History Index 79 89 91 93 95 Piranha Color Camera Features and Specifications 1 0 Introduction Camera Features 2048 or 4096 trilinear RGB line scan sensor Color spacing 3 lines center to center Forward and reverse scanning operation Maximum line rates of 22 kHz 2k60 and 32 kHz 2k80 or 12 kHz 4k60 and 17 kHz 4k80 Programmable analog gain and offset FPN and PRNU correction White balancing algorithms Optional luminance output Spatial correcti
70. mmand You can then adjust the digital offset sdo command to remove some of the FPN e Ensure camera is operating at its expected analog gain integration time and temperature e To save PRNU coefficients after calibration use the wpc command ccf cpa Setting a Pixel s PRNU Coefficient Purpose Syntax Syntax Elements Notes Example Sets an individual pixel s PRNU coefficient spe il i2 il The pixel number from 1 to n where n 2048 or 4096 depending on the resolution i2 Coefficient value in a range from 0 to 61438 where 12 ptnu coefficient 1 4096 Before sending this command use the scl command to select the color you want to adjust spc 1024 10000 Setting a range of Pixel PRNU Coefficients Purpose Syntax Syntax Elements Notes Sets a range of pixel PRNU coefficients spr il i2 i3 il The first pixel number of the range i2 The last pixel number of the range i3 Coefficient value in a range from 0 to 61438 where 13 prnu coefficient 1 4096 Before sending this command use the scl command to select the color or colors you want to adjust This allows you to limit the calibration to a single color Piranha Color Camera 47 The first pixel of the range must be less than the last Example spr 4001 4096 0 Returning Calibration Results and Errors Returning All Pixel Coefficients Purpose Returns all the current pixel coefficients in the order FPN PRNU
71. n of interest To further aid in debugging and cable data path integrity the first three pixels after Line Valid are AA16 5516 AA 10 Refer to the following table These statistics refer only to pixels within the region of interest els i Piranha Color Camera 58 Syntax Elements i 0 Disable end of line sequence 1 Enable end of line sequence LVAL is not high for end of line statistics 2 LVAL high for video and end of line statistics Notes Example els 1 Table 5 End of Line Sequence Description Location Value Description 1 By ensuring these values consistently toggle between and 5516 you can 2 3516 verify cabling i e no stuck bits 3 4 4 bit counter LSB justified Counter increments by 1 Use this value to verify that every line is output 5 Line sum 7 0 6 Li 152950 Use these values to help calculate line 7 Line sum 23 16 average and gain 8 Line sum 31 24 9 Pixels above threshold 7 0 Monitor these values either above 10 Pixels above threshold below threshold and adjust camera a 8 digital gain and background subtract to 11 Pixels below threshold 7 0 maximize scene contrast This provides a 12 Pixels below threshold basis for automatic gain control AGC 15 8 13 Differential line sum 7 0 14 Differential line sum 15 8 Use these values to focus the camera EE Generally the greater the sum the greater 13 Ii desen fine 285 40 image contrast
72. oduce electrostatic charge that may damage the sensor avoid ESD damage and to avoid introducing oily residues only hold the sensor from the edges of the ceramic package and avoid touching the sensor pins and the window Scratches can be caused by improper handling cleaning or storage of the sensor Vacuum picking tools should not come in contact with the window surface CCDs should not be stored in containers where they are not properly secured and can slide against the container Piranha Color Camera 74 Scratches diffract incident illumination When exposed to uniform illumination a sensor with a scratched window will normally have brighter pixels adjacent to darker pixels The location of these pixels changes with the angle of illumination 5 3 Cleaning the Sensor Window Use compressed air to blow off loose particles This step alone is usually sufficient to clean the sensor window If further cleaning is required use a lens wiper moistened with alcohol or acetone 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 envitonments Another ESD acceptable wiper is the TX4025 from Texwipe An alternative to ESD safe cloth wipers is Transplex swabs that have desirable ESD properties There are several varieties available from Texwipe Do not use regular cotton swabs since these
73. oming Operating Ranges Minimum Line Rate Maximum Line Rate Pixel RGB Throughput Gain Optical Interface Back Focal Distance M72 Mount Sensor Alignment x y 7 Oz Lens Mount Mechanical Interface Camera Size Mass Power connector Data connector Electrical Interface Input Voltage Power Dissipation Operating Temperature front plate Data Output Format Output Data Configuration Value Trilinear CCD 4096 pixels 100 10x 10 um 100x Value 3 0 kHz Operable to 1 Hz 12 1 kHz 4k60 or 17 6 kHz 4k80 up to 80 Mps 10 dB to 10 dB Value 91 56 mm M72 x 0 75 x50 um 50 um 250 um 0 2 M72 x 0 75 M42x1 and F mount Value 67 x 105 76 mm I x h x w 450 g Single voltage input 12V to 15V Hirose 6 pin circular male Camera Link MDR26F 12 to 15 volts 12 W O to 50 C 8 or 12 bits 3 taps 8 bit 3 taps 12 bit 6 taps 8 bit Piranha Color Camera 4k Model Operating Specifications Test conditions and notes follow All numbers measured at 12 bit unless specified otherwise Operating Specifications FFC Unit Color 10dB 0dB 10dB Min Typ Max Min Min Typ Max Responsivity Off DN nJ cm R 38 114 120 126 379 G 63 190 200 210 632 B 32 95 100 105 316 Responsivity On DN nJ cm R 47 143 150 158 474 G 79 238 250 263 790 B 40 119 125 131 395 Dynamic Range On Ratio RGB 758 240 76 Random Noise On DN rms RGB 5 4 10 17 30 54 95 DC Offset DN RGB 180 180 180 FPN Off
74. on Anti blooming Configurable base or medium Camera Link RoHS and CE compliant Applications 100 print inspection Electronics manufacturing inspection Postal and parcel sorting High performance document scanning and image lift Narrow and large web inspection High end industrial inspection Models 1 1 Camera Performance Specifications Model Number PC 30 02k60 00 R PC 30 02k80 00 R PC 30 04k60 00 R PC 30 04k80 00 R Description 2k resolution 3 taps at 60 MHz 2k resolution 3 taps at 80 MHz 4k resolution 3 taps at 60 MHz 4k resolution 3 taps at 80 MHz 2k Model Performance Specifications Test conditions and notes follow All numbers measured at 12 bit unless specified otherwise Sensor Features Value Imager Format Trilinear CCD Resolution 2048 pixels Piranha Color Camera Sensor Features Pixel Fill Factor Pixel Size Antiblooming Operating Ranges Minimum Line Rate Maximum Line Rate Pixel RGB Throughput Gain Optical Interface Back Focal Distance M72 Mount Sensor Alignment x y 7 Oz Lens Mount Mechanical Interface Camera Size Mass Power connector Data connector Electrical Interface Input Voltage Power Dissipation Operating Temperature front plate Data Output Format Output Data Configuration Value 100 14 x 14 10x Value 3 0 kHz Operable to 1 Hz from external 22 7 kHz 2k60 or 32 3 kHz 2k80 Up to 80 Mps 10 dB to 10 dB Value 19 56 m
75. ondition with the highest priority The fatal error state is accompanied by corresponding messages further describing the problem Table 1 Diagnostic LED Priority Color of Status LED Meaning 1 Flashing Red Fatal Error For example camera temperature is too high and camera thermal shutdown has occurred 2 Flashing Green Camera initialization or executing a long command e g flat field correction commands cep or ccf During this state any other sent command is ignored 3 Solid Green Camera is operational and functioning correctly and ready to receive commands 2 4 Power Connector Figure 2 Hirose 6 pin Circular Male Power Connector Hirose 6 pin Circular Male Table 2 Hirose Pin Description Pin Description Pin Description 3 1 Min l2toMax 15V 4 GND Mating Part HIROSE 2 Min 12 to Max 415 5 GND HR10A 7P 6S 3 Min 12 to Max 15V 6 GND The camera requires a single voltage input 12 V to 15 V The camera meets all performance specifications using standard switching power supplies although well regulated linear supplies provide optimum performance WARNING When setting up the camera s power supplies follow these guidelines Ensure 12 V to 15 V at the camera power input after the voltage drop across the power cable This may mean that the power supply will have to provide a voltage greater than the required camera voltage For example to achieve 12 V at the camera the power supply may need to be 12
76. ory mode Provided so that user can generate their own coefficients to send to the camera Binary file 2 bytes LSB first x number of pixels x 3 colors red green blue 32 bytes reserved Piranha Color Camera Load PRNU Coefficients Purpose Syntax Syntax Elements Example Notes Related Commands 57 2 byte CRC 16 of previous bytes e g PC 30 02k80 would have 2048 wotds of red 2048 words of green 2048 words of blue 32 unused bytes 2 byte CRC of the above 2 byte PRNU is an unsigned integer from 0 to 61 438 This value will be converted to the PRNU coefficient as follows PRNU 1 value 4096 Therefore the PRNU range is 1 to 15 9995 and the formula to calculate the value is value 4096 x PRNU 1 See WFC for a description of the CRC algorithm Load previously stored PRNU pixel coefficients from non volatile memory to FPGA SDRAM Before issuing this command select the set you wish to load with the SSN command O Factory set 1to4 User sets 5 Selects transfer from PC PRNU coefficients are only loaded from non volatile memory on power up LPC and LFS They are not loaded by LUS wpc 3 19 Diagnostics End of line Sequence Purpose Syntax Produces an end of line sequence that provides basic calculations including line counter line sum pixels above threshold pixels below threshold and derivative line sum within the regio
77. put compare value Available values are O 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 Using the 1fs 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 the value until the test pattern swm 1 is clean Example scb 75 3 0 Help For quick help the camera can return all available commands and parameters through the serial interface Piranha Color Camera 23 There are two different help screens available One lists all of the available commands to configure camera operation The other help screen lists all of the commands available for retrieving camera parameters these are called get commands To view the help screen listing all of the camera configuration commands use the command Syntax h To view a help screen listing all of the get commands use the command Syntax gh Notes For more information on the camera s get commands refer to section Returning Camera Settings 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 clippe
78. r get sag Example sag 0 5 2 Related Commands ceg Calibrating Camera Gain 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 iti Syntax i Elements 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 Piranha Color Camera 39 Algorithm One 10 Above Target Before Calibration 2 This algorithm adjusts analog gain so that the average pixel value in tap s ROT is equal to the specified target value Algorithm Two Mean Target Before Calibration 3 This algorithm adjusts digital gain so that the average pixel value in tap s ROI is equal to the specified target Note See Alogrithm Two above for an illustration 4 This algorithm adjusts the analog gain so that the peak tap ROI pixels are adjusted to the specified target Piranha Color Camera Notes Example Related Commands 40 Algorithm Four Peak Target 4 Before Calibration Tap value Use O for all taps Color selection limits the taps that may be selected by this command See scl for further information Calculation target value in a range from 1024 to 4055DN 12 bit LSB Analog gain cali
79. rd Available from the Knowledge Center on the Teledyne DALSA site here Example clm 5 Setting the Camera s Pixel Rate Throughput Purpose The sot command works in conjunction with the clm command see previous command and determines the pixel rate of the camera Syntax sot m Syntax Elements m 30 outputs pixels RGB triplet or RGBY quad at 30 Mps 40 outputs pixels RGB triplet or RGBY quad at 40 Mps 60 outputs pixels RGB triplet or RGBY quad at 64 Mps 80 outputs pixels RGB triplet or RGBY quad at 80 Mps Piranha Color Camera Note Example 27 e To obtain the current throughput use the command gcp orget sot e The bit patterns are defined by the Camera Link Roadmap and the Camera Link Standard Available from the Knowledge Center on the Teledyne DALSA site here e Changes to the clm may affect this parameter sot 80 3 8 Set Color Correction Purpose Syntax Syntax Elements Note Example Sets the color correction coefficients scc Co C1 C2 C3 Co offset 0 to 4095 C1 red multiplier 8192 to 8191 C2 green multiplier 8192 to 8191 C3 blue multiplier 8192 to 8191 Set coefficients used to combine three color streams e g White Co C x Red C2 x Green C3 Blue Co is DN whereas Coefficient 4 096 Modified by set color command SCL RGB White R G B Red Green or Blue All colors are not necessary because constructing
80. rt Camera Link pott SOT Output throughput mega pixels second colot Maximum SSF Maximum line rate kHz possible in this mode may be reduced by SBH ELS and SRM The maximum line rate for SOT 60 fot the 80 model is greater than the 60 model as a result of the different readout clocking scheme Time multiplexing CLM 9 and 10 is not supported in all frame grabbers Measurements were made using command settings els 0 and srm 2 Piranha Color Camera 21 Software Interface Configuring the Camera Using ASCII Commands All of the camera s functionality is configurable through its serial interface using the three letter commands You can use any terminal program e g Hyper Terminal to send serial commands to the camera however you must comply with the following serial protocol 8 data bits stop bit No parity No flow control 9 6 kbps at power up Camera does not echo characters Command Format When entering commands please remember the following carriage return lt CR gt ends each command The camera will answer each command with either lt CR gt lt LF gt OK gt or lt CR gt lt LF gt Error xx Error Message gt orWarning xx Warning Message The gt character is always the last character sent by the camera The following parameter conventions are used in the manual pixel column number pixel row number i integer value real number m member of a set
81. s string t tap id x y Example to return the current camera settings gcp CR 3 1 First Power Up Camera Settings When the camera is powered up for the first time it operates using the following factory settings nternal forwatd colot scanning direction Maximum line rate 32 kHz 2k or 17 kHz 4k OdB calibrated analog gain and offset Factory calibrated FPN and PRNU coefficients enabled 8 bit output Piranha Color Camera 22 9600 baud rate Exposure mode 2 Internal sync and exposure control RGB color selection Cameta Link mode 5 base configuration RGB 8 bit output Note The FPN and PRNU coefficients are factory calibrated at 0 dB gain setting 0 The FFC calibration line rate is 400 Hz 3 2 Rebooting the Camera The reset command rc reboots the camera The camera starts up with the last saved settings and baud rate used before reboot Previously saved pixel coefficients are also restored 3 3 Baud Rate Purpose Sets the speed in bps of the serial communication port Syntax sbr m Syntax Elements m Baud rate Available 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 3 4 Select Cable Purpose Sets the cable parameters Syntax scb m Syntax Elements m Out
82. s the camera s supply voltage Returns the current coefficient set number Returns the current coefficient set number Returns the current coefficient set number Returns the current coefficient set number O O 54 Ov Oe Piranha Color Camera 68 Piranha Color Camera Optical and Mechanical Considerations 4 1 Mechanical Interface 69 Figure 9 Piranha Color Camera Mechanical Dimensions 46 5 OPTICAL DISTANCE F MOUNT CONFIGURATION r 76 0 MAX 3 5 2X 69 0 2X 14 6 2X 46 8 2X M3x0 5 X 5 0 DEEP M2x0 4 X 7 0 DEEP IMAGE CENTER PIXEL 1 1 35 69 0 05 40 02 gt 3 00 000 1 4 6 60 13 00 452 0 05 4K 10 66 0 05 2K 64 0 2 re 50 0 UNITS MM 46 82X 78 02X 19 1 2X 35 40 02 3 00 1000 352X CONFIGURATION NOTES 1 TOLERANCE UNLESS OTHERWISE SPECIFIED XX 2 ROTATION WRT CAMERA EDGE IS 2 MAK GREEN CHANNEL 35 69 RED CHANNEL 19 56 OPTICAL DISTANCE BLUE CHANNEL 042 2K 030 4 1 042 2K 030 4K Piranha Color Camera 7 5 1 4 20 UNC 9 0 DEEP pa 6 56 0 25 OPTICAL DISTANCE 10 0 2X 32 8 2X re 5 4 2X RECOMMENDED AIR FLOW TOP AND BOTTOM 4 2 Lens Mounts Model Number Lens Mount Options All models M72 x 0 75 M42x1 and F mount 70 Piranha Color Camera 71 4 3 Opt
83. s the ratio of the image size to the object size 8 where m is the magnification is the image height h pixel size and h is the object height desired object resolution size By similar triangles the magnification is alternatively given by m gt OD These equations can be combined to give their most useful form h This is the governing equation for many object and image plane parameters Example An acquisition system has a 512 x 512 element 10um pixel pitch area scan camera a lens with an effective focal length of 45 mm and requires that 100pum in the object space correspond to each pixel in the image sensor Using the preceding equation the object distance must be 450 mm 0 450m 10 um 45 mm OD 100 450 mm 0 450 m Piranha Color Camera 73 CCD Handling Instructions 5 1 Electrostatic Discharge and the CCD sensor Cameras contain charge coupled device CCD image sensors which are metal oxide semiconductor MOS devices and ate 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 When charge buildup occurs surface gated photodiodes SGPDs may exhibit higher image lag Some SGPD sensors such as the IL P4 and the IT P4 used in the Piranha Color cameras may also exhibit a
84. scl rgb Example scl b Color selection limits the taps that can be selected in these commands as follows scl Tap Notes rgb 0 All 10 camera taps r 0 All 4 red taps 1 to 4 Single red tap g 0 All green taps 1to4 Single green tap b 0 All blue taps 2 1 to2 Single blue tap Selecting the Set Number Purpose When saving and loading camera settings you have a choice of saving up to four different sets and loading from five different sets four user and one factory This command determines the set number from where these values are loaded and saved The set number is saved along with the camera settings when the wus command is issued Syntax ssn i Syntax Elements i O Factory set Settings can only be loaded from this set 1 4 User sets You can save ot load settings with these sets Note The camera powets up with the last set saved using this command Related Commands wus lus wil 111 wfc lfc Piranha Color Camera 29 Example ssn 3 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 91 gla ccf and 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 Syntax roi xl x2 Syntax Elements x1 Column start number Must be less than
85. sil ta get slt get smm get sot get spc x get spr x1 x2 get ssb t get ssf 66 Description Returns the analog offset for the tap indicated t 0 for all taps or 1 to 4 for individual tap selection Returns the speed of camera serial communication port Returns cable parameter Returns current color correction coefficients Returns the CCD shift direction selection where 0 Forward CCD shift direction 1 Reverse CCD shift direction 2 Externally controlled direction control via CC3 Return current color selection rgb r g or b Returns the digital offset value in DN for the tap indicated t Tap value O for all taps or 1 to 2 for individual tap selection Returns the current exposure mode 2 Internal SYNC internal PRIN programmable line rate and exposure time using commands ssf and set 3 External SYNC maximum exposure time 4 Smart EXSYNC 5 External SYNC and PRIN 6 External SYNC internal PRIN programmable exposure time 7 Internal programmable SYNC maximum exposure time Returns the current exposure time in us Returns the FPN coefficient for the pixel number indicated x pixel number within the range 1 to n where n 2048 or 4096 depending on the resolution Returns pixel range of FPN coefficients x1 lt x2 Returns single LUT entry Only available when a single color is selected t tap 1 to4 a LUT address Returns the current lower threshold value This command depends on the co
86. stics 60 power connectors 14 guidelines 14 PRNU coefficient 46 correction 45 product support 77 96 rebooting 22 resolution 5 8 restoring factory settings 51 revision history 93 roi See Region of Interest sensor 11 cleaning 73 settings factory 21 restoring 51 returning 62 64 saving 51 specifications electrical 6 8 mechanical 6 8 optical 6 8 statistics 60 STROBE 15 subtracting background 48 sync frequency 62 Technical Sales Support 77 temperature measurement 61 threshold lower 59 upper 58 trigger external 15 video data 61 voltage measurement 62 warning messages 86
87. t must select a single color with SCL il first pixel number of the range i2 last pixel number of the range x coefficient value in a range from 0 to 61438 Select vertical transfer dark clear mode 0 Auto clears dark below approximately 60 of maximum line Piranha Color Camera Mnemonic set spatial alignment set subtract background set sync frequency set system gain set select number set upper threshold set video mode update gain reference verify temperature verify voltage Syntax ssa ssb ssf ssg ssn sut svm ugr vt Parameters 85 Description rate 1 Always clears dark reduces the maximum line rate 2 Off Set line delay between colors O to 6 Subtract this value from the output signal t Tap value O for all taps or 1 to number of camera taps the color selected i Subtracted value in a range from 0 to 4095 Set internal line rate 1Hz to 22 714 Hz 2k model or 12 132 Hz 4k model Set the digital gain t tap selection O for all taps or 1 to number of camera taps for color i Digital gain in a range from O to 65 535 The digital video values ate multiplied by this number divided by 4 096 Set number for write settings commands 0 Factory set load only 1 4 Internal user sets The pixels equal to or greater than the upper threshold are counted and reported in the end of line sequence i Threshold 0 4095 Switch between normal video mode and
88. t power down the cameta or the camera s memoty may be corrupted To load the user settings from non volatile memory use the command lus write and load the LUTs use the wil and 111 commands respectively Piranha Color Camera 52 To write and load the FPN coefficients use the wfc and commands respectively write and load the PRNU coefficients use the wpe and lfc commands respectively Before issuing the user setting commands select the set you wish to write using the ssn command Sets 1 to 4 are user sets Current Session Settings These are the current operating settings of your camera To save these settings to non volatile memory use the command wus Writing and Loading Setting to Non Volatile Memory Write User Settings Purpose Syntax Syntax Elements Example Notes Related Commands Load User Settings Purpose Syntax Syntax Elements Example Notes Write all the current camera settings to the micro controller s EEPROM wus wus Before issuing this command select the set you wish to write with the ssn command Set 1 4 are user sets The settings can be manually restored with using the lus command The last saved set excluding PC sets of settings will be restored automatically after the power is cycled or after the re command this includes loading the LUT FPN and PRNU with the saved set number The format of the file sent to a PC is propriet
89. tained using the gep or get sah commands Horizontal averaging does not affect the CCD readout time but it does affect FIFO readout as all the pixels still need to be read out of the CCD but only the averaged pixels stored in the FIFO line store ROI will be pushed out to include both averaged pixels at each end e g if the ROI was 4 2048 the start value would be changed to 3 since the first averaged pixel consists of sensor pixels 3 and 4 3 13 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 convetter The digital processing chain contains the spatial correction non linearity look up table LUT correction FPN correction the PRNU correction the background subtract the digital gain and the background add All of these elements are user programmable Figure 7 Signal Processing Chain Analog Processing Digital Processing analog video 1 analog gain o L N analog offset o o o o o H 4 7 L 2 4 4 digital video i LUT PRNU background digital system background addition D coefficients subtract gain addition LE na E ES digital
90. tes Related Commands Example Direction of Object Movement Camera should operate in Reverse CCD Shift Direction scd 1 ECE 1 Reverse CCD shift direction 25 2 External direction control via Camera Link control CC3 1 forward CC3 0 reverse To obtain the current value of the shift direction use the command gcp ot get scd smm scd 0 Camera should operate in Forward CCD Shift Direction scd 0 Direction of Object Movement Piranha Color Camera 26 Sensor Readout Direction Mirroring Mode Purpose Selects the cameta s horizontal readout direction Syntax smm i Syntax Elements i Direction of sensor readout O Left to right 1 to n 1 Right to left n to 1 Note Pixel readout remains the same after a direction change Example smm 0 3 7 Data Output Setting the Camera Link Mode Purpose Sets the camera s Camera Link configuration number of Camera Link taps and data bit depth Syntax clm m Syntax Elements m 5 Base configuration RGB 8 bit output 9 Base configuration RGBY 8 bit output 10 Base configuration RGBY 12 bit output 14 Medium configuration 2xRGB 8 bit output 15 Medium configuration RGBY 8 bit output 16 Medium configuration RGBY 12 bit output Note e To obtain the current data mode use the command gcp or get clm e bit patterns are defined by the Camera Link Roadmap and the Camera Link Standa
91. 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 This command returns the values without the descriptions found on the gcp screen Refer to Table 6 below for a list of available commands To view a help screen listing the following get commands use the command gh Table 6 Get Commands Syntax Parameters Description get ccf x1 x2 Returns the FPN pixel coefficients for the pixel range indicated x1 Pixel start number x2 Pixel end number get ccp x1 x2 Returns the PRNU pixel coefficients for the pixel range indicated x1 Pixel start number x2 Pixel end number get clm Piranha Color Camera Syntax Parameters get css get dil taa get dpc x1 x2 get ebc get eil get els get epc get gem get gcs get gcv get gfc get gl x1 x2 get gla x1 x2 get gpc x get gsf i get gsl get lfc get Ipc get lfs get lus get roi get sab t get sag t get sah 65 Description Returns the number of line samples averaged for pixel coefficient calculations or for output of gla command Displays LUT values t Tap dependent on scl 0 for all al Start LUT address a2 Stop LUT address al lt a2 Returns pixel coefficients without formatting Returns blue correction status 0 Off 1 On Returns LUTs status 0 Off 1 On Returns whether the end of line statistics are turned off of on 0 Off 1 On Returns wheth
92. the SSN command O Factory set 1to4 User sets FPN pixel coefficients are loaded by LFC LFS and automatically at power up Coefficient use is enabled or disabled with the EPC command Set 0 can only be written from factory mode Provided so that user can generate their own coefficients to send to the camera Binary file 2 bytes LSB first x number of pixels x 3 colors red green blue 32 bytes reserved 2 byte CRC 16 of previous bytes Piranha Color Camera e g PC 30 02k80 would have 2048 words of red 2048 words of green 2048 words of blue 32 unused bytes 2 byte CRC of the above 2 byte FPN UM 110 TIT FFFF Integer portion 0 4095 F Binary fraction portion e g 6 510 110 12 0000 0000 01 10 1000 CRC 16 Algorithm Fast CRC16 Algorithm X 16 X 12 X 5 1 unsigned int is two bytes unsigned int CRC table16 256 5 0x0000 0x1021 0x2042 0x3063 0x4084 0x50a5 0x60c6 0x70e7 0x8108 0x9129 0xa14a Oxb16b 18 Oxd1ad Oxelce Oxflef 0x1231 0x0210 0x3273 0x2252 0x52b5 0x4294 0 72 7 0x62d6 0 9339 0x8318 0xb37b 0xa35a Oxd3bd 0xc39c Oxf3ff Oxe3de 0 2462 0x3443 0x0420 0x1401 0x64e6 0x74c7 0 44 4 0x5485 5 54 0x8528 0x9509 Oxe5ee Oxf5cf Oxc5ac 58 0x3653 0x2672 0x1611 0 0630 0x76d7 Ox66f6 0x5695 0x46b4 Oxb75b 77 0x9719 0x8738 Oxf7df Oxe7fe
93. this where _ max output value ssg value max output value ssb value See the following section for details on the ssg command ssg ssb O 800 In 8 bit Camera Link mode If your scene has a minimum value of 50 DN and a maximum of 200 DN then to expand it to 0 DN and 255 DN set the ssb command to 800 50 x 16 and the ssg command to 6990 4096 200 50 x 16 x 4096 Piranha Color Camera 49 Setting Digital System Gain Purpose Syntax Syntax Elements Related Commands Example 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 ssg ti t Tap selection Allowable range is 1 to 4 or O for all taps Gain setting The gain ranges are 0 to 65535 The digital video values are multiplied by this value where Digital Gain 4096 Therefore the multiplication factor range is O to 16 Use this command in conjunction with the ssb command ssb ssg 1 15 Setting Add Background Purpose Syntax Syntax Elements Related Commands Example Use the set add background command to ensure a minimum output value by adding this value to the digital video after system gain is applied sab t i t Tap selection O for all taps Color selection limits the taps that may be
94. u scan use a hot mirror or IR cutoff filter that transmits visible wavelengths but does not transmit wavelengths over 750nm Examples ate the Schneider Optics M B W 489 which includes a mounting ring the CORIONTM LS 750 which does not include a mounting ring and the CORIONTM HR 750 series hot mirtor Lens Modeling Any lens surrounded by air can be modeled for camera purposes using three primary points the first and second principal points and the second focal point The primary points for a lens should be available from the lens data sheet or from the lens manufacturer Primed quantities denote characteristics of the image side of the lens That is 4 is the object height and 4 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 1 is the distance from the second principal point to the second focal point The back focal length BEL 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 Piranha Color Camera 72 Figure 10 Primary Points in a Lens System SECOND PRINCIPAL POINT SECOND FOCAL POINT LIGHT RAYS FROM LEFT OBJECT HEIGHT h FIRST PRINCIPAL POINT OBJECT DISTANCE OD 4 1 1 _ gt OBJECT SIDE IMAGE SIDE Magnification and Resolution The magnification of a lens i
95. user settings are corrupt at power up Load input LUT s from non volatile memory to current Modified by the ssn command Load the previously saved PRNU coefficients from non volatile memory Modified by the ssn command Load the camera user settings from non volatile memory Modified by the ssn command Resets the entire camera reboot Baud rate is not reset and reboots with the value last used Set all values in all current LUT s to zero Sets the pixel range affected by the 9 91 91 cil ccf cop and cpa commands The parameters ate the pixel start and end values x Resets the FPN and PRNU coefficients to O Set 12 bit value to add at end of digital chain t Tap O to 4 depending on color selected O for all taps i Value to add Piranha Color Camera Mnemonic set analog gain set analog offset set averaging horizontal set baud tate select cable set color correction set ccd direction set color set digital offset set exposure mode Syntax sag sao sah sbr scb SCC scd scl sdo sem Parameters t f 11121314 83 Description Sets the analog gain in dB t tap selection either 1 or 4 depending on the color selected or O for all taps f gain value specified from 10 to 10 dB Sets the analog offset t tap selection 1 to 4 depending on color selected or O for all taps i Offset value in a range from 0 to 255 12 bit LSB Set to three time RM
Download Pdf Manuals
Related Search
Related Contents
AVODECA DOCS DOCCR 2011 Progress Lighting P4490-20 Installation Guide TECHNICAL DATA & SERVICE MANUAL - Termo VAIOデスクトップタイプ EMPLACEMENTS RÉSERVÉS - Mairie de Cormontreuil CL1X4-D1S2 CC-Link/LT Remote I/O Module User`s Manual Kambrook ARCTIC KFA835 User's Manual Copyright © All rights reserved.
Failed to retrieve file