background image

 

PRELIMINARY 

4M Stop Action Camera Manual 

 

PRELIMINARY 

4M Stop Action Camera Manual 

03-32-10121-09  

DALSA 

32

3.6 Flat Field Correction 

 to remove non-

correction operates on a pixel-by-pixel basis and 

int correction for each pixel.  This correction can reduce or eliminate 

)  

(PRNU) 

V

output

 =[(V  - FPN( pixel ) - digital offset) * PRNU(pixel) – Background Subtract] x System Gain 

w

tput

alue 

 

V

t pixel value from the sensor 

 

NU correction coefficient for this pixel 

 for this pixel 

ue  

ined first by 

s exactly how much 

ensor is not exposed. 

ine the multiplication 

flat, white output. 

n offset subtracted). 

e FPN correction first. Results of the FPN correction are used in the 

ecommend that you repeat the correction when a temperature 

c

tegration time. 

P

e quality of this reference is 

import

ecause the grain in 

t

mic will lead to 

b

1.

 

60 Hz ambient light flicker is sufficiently low not to affect camera performance 
and calibration results. 

2.

 

The brightest pixel should be slightly below the target output. 

3.

 

When 6.25% of pixels from a single row within the region of interest are clipped, 
flat field correction results may be inaccurate. 

4.

 

Correction results are valid only for the current analog offset values. If you 
change this value, it is recommended that you recalculate your coefficients. 

Note: If your 

illumination or white 

reference does not 

extend the full field of 

view of the camera, 

the camera will send a 

warning. 

This camera has the ability to calculate correction coefficients in order
uniformity in the image. This video 
implements a two po
image distortion caused by the following factors: 

 

Fixed Pattern Noise (FPN

 

Photo Response Non Uniformity 

 

Lens and light source non-uniformity 

Correction is implemented such that for each pixel: 

input

here V

ou

digital output pixel v

input

digital inpu

PRNU( pixel) 

PR

 

FPN( pixel ) 

FPN correction coefficient

 

Background Subtract 

background subtract val

 

System Gain 

digital gain value 

The algorithm is performed in two steps. The fixed offset (FPN) is determ
performing a calculation without any light. This calibration determine
offset to subtract per pixel in order to obtain flat output when the s

The white light (PRNU) calibration is performed next to determ
factors required to bring each pixel to the required value (target) for 
Video output is set slightly above the brightest pixel (depending o

It is important to do th
PRNU procedure. We r

hange greater than 10°C occurs or if you change the frame rate or in

RNU correction requires a clean, white reference. Th

ant for proper calibration. White paper is often not sufficient b

he white paper will distort the correction. White plastic or white cera

etter balancing.   

For best results, ensure that: 

Summary of Contents for Stop Action 4M30

Page 1: ...Stop Action 4M30 and 4M60 Camera User s Manual PT 21 04M30 PT 41 04M60 4 Megapixel 31 62 fp p Action Area Scan Cameras s Sto 29 May 06 03 32 10121 09 www dalsa com...

Page 2: ...nology software and highly engineered semiconductor wafer pro services include image sensor components electronic digital cameras vision sof image sensors and mixed signal CMOS chips DALSA is listed o...

Page 3: ...t Format 3 3 1 How to Configure Camera Output 3 3 2 Setting the Camera Link Mode 3 3 3 Setting the Camera s Pixel Rate 3 4 Setting Exposure Mode Frame Rate and Exposure Time 3 4 1 Setting the Exposure...

Page 4: ...ial Interface 5 4 Product Support Camera Link Reference Timing and Configuration Table__________________________ Error Handling and Command List _______________________________ 42 _________ __ 47 47 4...

Page 5: ...lity Simple ASCII protocol controls gain offset frame rates trigger ode test pattern output and camera diagnostics Serial interface ASCII 9600 baud adjustable to 19200 57600 115200 through Camera Link...

Page 6: ...era Performance Specifications m The 4M stop action camera is ideal for app Camera Link Applications quality and high responsivity Applications include u Flat panel di PCB inspec Semicond sp Industria...

Page 7: ...1 890 1 2 Random Noise DN rms 1 3 1 1 Broadband Responsivity DN nJ cm 2 11 6 11 6 DC Offset D 0 37 N 18 Antiblooming 1000x saturation 1000x saturation FPN DN rms 20 3 PRNU 2 2 Integral non linearity...

Page 8: ...linear range deviates more than 30 from its neighboring pixels ixel whose signal in dark deviates more than 300 DN from its neighboring pixels A grouping of at most 5 pixel defects within a sub area o...

Page 9: ...lumn 1 Tap 1 Row 1728 Column 2 Tap 2 Row 1728 Column 3 Tap 3 Row 1728 Column 2349 Tap 1 Row 1728 Column 2350 Tap 2 Row 1728 Column 2351 Tap 3 Row 1728 Column 2352 Tap 4 Pixel 1 Pixel read out directio...

Page 10: ...Coarse Gain 0 dB Fine Gain 45 0 300 400 2 4 6 8 10 12 14 500 600 700 800 900 1000 1100 Wavelength nm Responsivity DN nJ cm 2 Figure 5 Effective Quantum Efficiency Effective Quantum Efficiency 0 10 20...

Page 11: ...ils This installation overview assumes you have not installed any system components yet 2 1 In allation Overview When setting up your camera y 1 Power down all equipment 2 Following the manufacturer s...

Page 12: ...ssages further he current Table 3 Status LED Connector 1 LED Status Indicator The camera is equipped w 2 the c LED indicate ame When m n one condition is active the s the con priorit and warning state...

Page 13: ...LSB Bit 7 Mode 15 8 bit Tap 1 LSB Tap 2 7 B xxxxxxxx xxxxxxxx 4 Tap Bit 7 LSB Bit 7 Tap 3 LSB Bit Tap 4 LSB it 7 Mode 16 4 Tap 10 bit Tap 1 LSB Bit 7 Tap 1 Bits 8 9 Tap 2 Bits 8 9 Tap 2 LSB Bit 7 Tap...

Page 14: ...internal sync internal programmed integration exposure mode 2 and Camera Link mode he serial interface The external control signa rough the serial interface This camera uses the falling ame times Out...

Page 15: ...g up the camera s power supplies follow these guidelines Protect the camera with a fast blow fuse between power supp Power surge limit at 2 A 12 V power supply Nominal 0 65 A load resu lta Power suppl...

Page 16: ...PRELIMINARY 4M Stop Action Camera Manual 16 03 32 10121 09 DALSA...

Page 17: ...amera will answer each command with either CR LF or Error x Error Message The is always the last character sent by the camera The camera accepts both upper and lower case commands The following parame...

Page 18: ...rsion gfc get fpn coefficient xy 1 2352 1 1728 gpc get prnu coefficient xy 1 2352 1 1728 gsf get signal frequency m 1 4 s string t tap id x pixel column number y pixel row number gcp CR S Baud Sets th...

Page 19: ...ation 4 taps 10 bits h help lpc load pixel coefficient rc reset camera rfs restore factory settings rpc reset pixel coefficients rus restore user settings sao set analog offset ti 0 sbr set baud rate...

Page 20: ...a These settings are stored in the camera s volatile memory and will not be restored once you power down your camera or issue a reset camera command rc To save these settings for reuse at power up use...

Page 21: ...tion cameras offer great flexibility when configuring yo Using the cl command you determine the camera s Camera Link configuration number of output taps an camera s output rate These two com Table 8 4...

Page 22: ...260 65 MHz strobe sot 320 80 MHz strobe 3 3 2 Setting the Camera Link Mode Purpose k configuration number of Camera bles above for a Syntax Syntax Elements 2 Base configuration 2 taps 8 bit output 3 B...

Page 23: ...ou have a choice of operating in one of four exposure modes To select how you want the camera s frame rate to be generated 1 You must first set the camera s exposure mode using the sem command Set he...

Page 24: ...ernal Yes Yes Internal frame rate and exposure time Exposure control enabled ECE 3 External No No Maximum exposure ti e m Exposure control disabled ECD 4 External No No Smart EXSYNC Exposure control e...

Page 25: ...e rate is set by the period of t Frame Period Exposure Time Frame Period Readout Exposure Time EXSYNC Readout Mode 4 Smart EXSYNC External Frame Rate and Exposure Time In this mode EXSYNC sets both th...

Page 26: ...ode and window size Refer to section for more information 5 Setting a Vertical formation on setting a window size Changing the frame rate will automatically adjust the exposure time if necessary The c...

Page 27: ...r See Table 11 below for allowable incremen Camera must be operating in exposure mo To os If you enter an exposure time outside of a will not be accepted Refer to the help scre the valid ra a egral r...

Page 28: ...wse 0 1 x y x y 3 Acti when using an exter al window control source wts 2 or o transitioning to wss 0 or wss 1 depending on the complementary logic state when using an internal window control source...

Page 29: ...M 3 Max FR CLM 16 Frame Readout CLM 3 Frame Readout Window Purpose Sets a window of interest Syntax Syntax Elements q e sequence id is Window to set You can only set one window so this is always x1 ly...

Page 30: ...gered through software gh Camera Link Related Commands Example wts 2 Notes If you are using a hardware trigger wts 2 refer to Figure 17 for timing requirements If you are using a software trigger refe...

Page 31: ...mple Notes tween the issue of the wss command and the time when the new window sequence is triggered Figure 18 When toggling windows the camera discards the first frame is prevents the camera from sen...

Page 32: ...u recalculate your coefficients Note If your illumination or white reference does not extend the full field of view of the camera the camera will send a warning This camera has the ability to calculat...

Page 33: ...the FPN and PRNU coefficients enabled but disable FPN and PRNU coefficients whenever Syntax epc i i Syntax Ele ent PRNU coefficients 0 PRNU coefficients disabled 1 PRNU coefficients enabled Notes The...

Page 34: ...Perform FPN correction before PRNU correction The ccf command is not available when the camera is using the factory calibrated coefficients csn 0 You must select the user coefficient set csn 1 before...

Page 35: ...1 to 1728 The pixel row number from i 1023 Coefficient value in a range from 0 to Notes ailable when the camera is using the factory calibrated coefficients csn 0 You must select the user coefficient...

Page 36: ...senso are only cameras It is important that the target v parameter is set to be at least equal to all cameras so that all pixels can rea during calibration FPN value sdo i r pixels but warnings appli...

Page 37: ...v Sy wpc coefficient set csn 1 before you c perform PRNU calibration when using csn 0 current csn number send the command ge wpc t FPN Coefficients Pu u m 3 6 6 Saving Loading and Resetting Coefficien...

Page 38: ...so resets Syntax Notes not availab hen the camera is using the factory calibrated coefficients csn 0 You must select the user e you can reset pixel coefficients An you attempt to reset pixel coefficie...

Page 39: ...ue depends on other camera parameters such as temperature frame rate and exposure mode The upper input limit of the offset remains the same regardless of the exposure mode t limit of the offset for se...

Page 40: ...ng a digital va ue from the digital video signal mum Use the ssg ing Background Use the background subtract command if you your image in a low contrast scene It is us process 8 bit dat ssb t i Sensor...

Page 41: ...alue ssb value Syntax Syntax Elements t 1 to 2 or 0 for all ssg t i Sensor tap selection Allowable range is taps i to 65535 The digital Gain setting The gain ranges are 0 video values are multiplied b...

Page 42: ...ing proper timing and co between the camera and the frame grabber The follow shows each available test pattern Syntax i Syntax Elements 0 Video 1 Test pattern checkerboard Generates a test pattern to...

Page 43: ...4M Stop Action Camera Manual PRELIMINARY 43 4 Test pattern horizontal ramp 8 bit 10 bit Test pattern vertical ramp 5 8 bit DALSA 03 32 10121 09...

Page 44: ...PRELIMINARY 4M Stop Action Camera Manual 44 10 bit 6 Test pattern diagonal ramp 8 bit 10 bit 03 32 10121 09 DALSA...

Page 45: ...4M Stop Action Camera Manual PRELIMINARY 45 7 FPN test pattern 8 bit 10 bit 8 FPN and PRNU test pattern 8 bit 10 bit DALSA 03 32 10121 09...

Page 46: ...the camera turns off any digital gain ssg background subtract ssb settings currently being used The gcp screen does not turn off these settings and displays the settings used prior to switching to te...

Page 47: ...47 0 52 0 5 00 2X Both Sides 50 80 2X 21 56 2X Front Surface 300 m 6 56 25 Optical Distance M4 x 7 x 4 Deep 2X Both Sides M4 x 7 x 4 Deep Image Area 17 40 x 12 79 Pixel 1 1 39 04 10 21 96 50 00 10 3 5...

Page 48: ...revent infrared from distorting the images you scan use a hot mirror or IR cutoff filter that transmits visible wavelengths but does not transmit wavelengths over 750nm Examples are the Schneider Opti...

Page 49: ...is the object height and h is the image height The focal point is the point at which the image of an infinitely distant o focus The effective focal length f b second focal point The n The magnificatio...

Page 50: ...PRELIMINARY 4M Stop Action Camera Manual 50 03 32 10121 09 DALSA...

Page 51: ...tages at the camera power connector Verify the connector pinout and that all grounds are connected Refer to section 2 2 3 Power Connector for details Note Avoid hot plugging long power cables into the...

Page 52: ...rate Verify that the frequency of the internal sync is set correctly Noisy Output Check your power supply voltage outputs for noise Noise present on these lines can result in poor video quality Low q...

Page 53: ...behind 7 Repeat steps 2 4 using a clean tissue until the entire window has been cleaned 8 Blow off any adhering fibers or particles using dry filtered compressed air 1 Take standard ESD precautions 2...

Page 54: ...e grabber host computer ources etc light s Acquisition System software version OS etc Power supplies and current draw Data rate used Control signals used in your application and their frequency or sta...

Page 55: ...erface The ntrol signals serial communication and video data Video Data The Channel Link technology is integral to the transmission of video data Image data and image enable signals are transmitted on...

Page 56: ...indow 1 data DVAL Data Valid DVAL is defined HIGH when data is Spare A spare has been defined for future use unu ust be t image data bit catio vfm dalsa com eb sit Table 15 D era C EXSYNC CC1 Reserved...

Page 57: ...UT tFRAME PERIOD twSYNC_INT twSYNC twSYNC_INT tFRAME PERIOD twSYNC 1 N STROBE EXSYNC FRAME VALID LINE VALID DATA PIXEL RESET DVAL twSYNC e EXSYNC lse When in SMART EXSYNC h i ater tosites to be proper...

Page 58: ...n occur ns TBD tLINE The line time s clm 15 16 sot 320 18 475 s clm 15 16 sot 260 22 875 s clm 2 3 sot 130 45 600 s tFL Number strobes between FV in AL ris g and the first LVAL rising edge cloc 0 ks t...

Page 59: ...ual pixel dark current camera link mode clm m Output mode to use 2 Base configuration 2 taps 8 bit output 3 Base configuration 2 taps 10 bit output 15 Medium configuration 4 taps 8 bit output 4M60 onl...

Page 60: ...0 FPN coe FPN co 1 The second parameter sets the PRNU coefficients wh 1 PRNU c get camera l mode gcm Read the camera model number get ca par mera ameters p c mera parameters gc Read all of the a get...

Page 61: ...trol disab set exposure tim set f e Sets the exposure time to a floating point number in s Allowable range is 10 999989 s in increments described in Table 11 Allowable Exposure Time Increments on page...

Page 62: ...wse i x1 y1 y2 Sets the wind where i is the window se alway i is the number of always 1 in this cam there is only vert this cam ng to in era this to 1 nd vertic in this came y1 is window start range f...

Page 63: ...e Commands Added the ssg and ssb commands to section and Table 16 All Available Commands 03 Updated Figure 20 Camera Mechanical Dimensions On page 6 changed the Camera Size from 94x94x46 to 94x94x48 a...

Page 64: ...PRELIMINARY 4M Stop Action Camera Manual 64 03 32 10121 09 DALSA...

Page 65: ...s 14 e 21 Link mode g 21 22 era settings t 19 y 19 g 19 trieving 18 ing 19 er 19 clock signals 14 coefficients 32 command format 16 parameters 16 connector 11 Camera Link 12 hirose 15 power 15 connect...

Page 66: ...ne help 17 7 interface 47 pecifications 6 P performance specifications 9 10 pixel rate 20 21 power connector 15 connectors 15 guidelines 15 NU 31 PRNU calibratio R random noise 7 readout 9 configuring...

Reviews: