background image

Piranhs HS-xx Detailed Getting Started Guide 

 

16 

DALSA Corp. 

 

 

03-32-10147-01 

ignored. It is recommended that you set the region a few pixels inside the 
actual useable image.  

17.

 

Repeat the 

ccg 1 0 i

 command. You will see tap mismatch but the PRNU 

algorithm (

ccp

 command which is performed later) will eliminate the tap 

mismatch.   

18.

 

Reset the pixel coefficients to ensure that FPN values are set to zero by 
entering the 

rpc

 command. 

 

19.

 

For best accuracy, set the number of samples to use in the coefficient 
calculation algorithm to its maximum using the command 

css 1024

.  

20.

 

After having adjusted the gains, selected the number of stages, and warmed 
up the camera with the correct line rate, you can now perform FPN 
correction. (Skip to step 22 if you are unable to put a lens cover onto the 
camera to make the image dark.) To begin, put a lens cover on the camera 
and enter the 

ccf

 command. The camera calculates the FPN values and 

reports a warning if more than 1% of the FPN coefficients were clipped to 
the maximum value or if there was too much random noise. The digital 
offset value is also calculated causing the A/D offset to be subtracted from 
the output signal. 
If you receive a warning during FPN correction: 

 

Ensure the lens is covered 

 

Increase the analog offset using the 

sao 0 offset

 

value

 command. 

Repeat the 

ccf

 command if the offset is changed. 

21.

 

Enter the command 

wfc i 1

 to save the FPN coefficients. 

22.

 

If you performed FPN correction, the output video should be near zero and 
you can skip to the next step. If not, the value should be near 100LSB in 12 
bit. Enter the command 

sdo 0 100

 to subtract offset. 

23.

 

Remove the lens cover and enter the command 

ccp

 to perform PRNU 

correction. The camera calculates the PRNU coefficients for all pixels using 
the peak pixel found in the ROI and reports statistics for the ROI. You 
receive a warning if more than 1% of the coefficients are clipped or there 
were too many clipped values in the raw data. 
If you receive a “W08: Greater than 1% of coefficients have been clipped>” 
message during PRNU correction: 

 

Check that your region of interest is correct 

 

Check that your light source uniformity is better than 50% 

If you receive a “W07: Coefficient may be inaccurate A/D clipping has 
occurred>” 

 

Reduce the camera gain to avoid clipping. Repeat the 

ccp

 command if 

you adjust the gain. 

24.

 

Enter the command 

wpc i 1

 to save the coefficients. 

25.

 

Turn on the coefficients by entering the command 

epc 1 1

. You should see 

a flat line approximately equal to the peak uncorrected output. 

26.

 

If you will be operating the camera in the reverse direction, enter the 
command 

scd 1

 to change to reverse direction and repeat steps 7 to 25.  

27.

 

If you will be operating the camera using external direction control, test the 
external control by entering the command 

scd 2

, otherwise skip to step 32. 

28.

 

Have your system send the forward direction signal on CC3 (high). 

Summary of Contents for Piranha HS Series

Page 1: ...Piranha HS xx Detailed Getting Started Guide and Worksheet January 2005 03 32 10147 01...

Page 2: ...pan All DALSA products are manufactured using the latest state of the art equipment to ensure product reliability For further information not included in this manual or for information on DALSA s exte...

Page 3: ...ation A light source preferably with intensity control The lens that you intend to use for your application attached to the camera Terminal program or framegrabber equivalent such as Windows HyperTerm...

Page 4: ...er of taps and Camera Link configuration Figure 2 How to Read the Camera Link Mode Table Camera Link Mode Configuration Controlled by clm command Readout Direction Controlled by smm command Pixel Rate...

Page 5: ...ases it is best to select 96 stages stg 96 for optical alignment It may be necessary to reduce the number of stages if the field of view is less than 96 rows and the edges are highly reflective Highly...

Page 6: ...com port The camera doesn t echo characters so local echoing should be turned on 3 Confirm serial communication between the camera and the framegrabber by pressing the ENTER key If the camera does no...

Page 7: ...put gain or system gain to unity for all taps ssg 0 4096 OK Select a ramp input into the video chain svm 1 OK Part 3 Configure the Exposure Mode and User Controls Select the exposure mode Exposure mod...

Page 8: ...2 1 2 0 1 1 4 4 0 1 9 1 8 2 1 5 7 2 3 9 6 2 6 3 5 2 8 7 4 3 3 5 2 3 5 9 1 Framegrabber Configuration Camera Mirror Mode Direction Configuration matches smm 1 readout smm 0 Area Mode Forward Internal...

Page 9: ...3 0 5 6 3 3 1 2 3 5 6 8 3 8 2 4 4 0 8 0 1 0 0 8 Framegrabber Configuration Camera Mirror Mode Direction Configuration matches smm 0 readout smm 0 Area Mode Test Pattern 2 tdi 0 scd 0 svm 2 If your fr...

Page 10: ...rate in Hz or reduce the light If you using the maximum gain and the image is still dark you will need to add more light If you have a highly reflective aperture where the blacks are washed out and t...

Page 11: ...s not parallel to inspection surface and image is not uniformly in focus depth of field issues 7 Enter the wus command to save these settings for future use 8 If you plan to operate the camera in the...

Page 12: ...Open the TDI Mode framegrabber configuration file 3 Set the Camera Link mode to the configuration entered in Part 1 step 6 using the command clm desired camera link mode The camera should respond with...

Page 13: ...value from step 1 of Part 1 OK 8 Enter svm 1 to observe the camera s test pattern Grab an image with your framegrabber The test pattern should look like one of the figures below Note The following dia...

Page 14: ...Framegrabber Configuration Camera Mirror Mode Direction Configuration matches smm 0 readout smm 0 TDI Mode Reverse Internal Direction Test Pattern 1 tdi 1 scd 1 svm 1 If you see this test pattern you...

Page 15: ...ill need to reconstruct the pixel readout definitions in your framegrabber configuration file Repeat Part 1 Configuration matches smm 0 readout smm 1 scd 0 or 1 10 Return to internal forward direction...

Page 16: ...hanged 21 Enter the command wfc i 1 to save the FPN coefficients 22 If you performed FPN correction the output video should be near zero and you can skip to the next step If not the value should be ne...

Page 17: ...the camera s CCD shift direction using the scd direction command Conclusion This completes the procedure and your camera should now be imaging properly If you still need to improve your TDI image you...

Page 18: ...Piranhs HS xx Detailed Getting Started Guide 18 DALSA Corp 03 32 10147 01 strobed LED illumination with high sensitivity line scan cameras refer to DALSA document 03 32 00540...

Reviews: