background image

42                                                                                                                                                    NED 

XCM4040SAT4                                                     UME-0002-04 

 

4.11

 

Pixel Correction

 

 

Generally speaking, image sensors (CCD, CMOS and so on) have fixed 

pattern noise and photo response non-uniformity. Lens shadings and light 
sources also can cause non-uniformity.

 

The camera is set to the optimal 

correction before shipping in order to provide images of high grade.     

The camera also has the function of user white correction to cope with lens 

shading and non-uniform illumination, or to lose the irregular sensitivity 
generated by the thing changed into the lighting of a different spectrum 
characteristic completely.

 

Cal_bl: Output data of each pixel at perfectly dark (digital)

 

Cal_wh: Output 

data of each pixel in uniform illumination (digital)

 

Target_Val : Target value for 

correction (10bit digital)

 

Vin :Input data (digital) Vout :Output data (digital)

 

The 

corrected data is expressed in the following equation. Vout=(Vin-Cal_bl) x 
Target_val / (Cal_wh-Cal_bl)

 

 
 

Waveform before bit correction 

 
 
 
 
   

Output 

 
 
 
 
 
 

 

 

 

Pixel Number 

 
 

Waveform after bit correction

 

 
 
 
 
   

Output

 

 
 
 
 
 
 

 

 

 

Pixel Number

 

Figure 4-11-1 Waveform before and after bit correction

 

Summary of Contents for XCM4040SAT4

Page 1: ...User s Manual Line Scan Camera Type XCM4040SAT4 NIPPON ELECTRO SENSORY DEVICES CORPORATION...

Page 2: ...interference in which case the user will be required to correct the interference at his or her own expense For Customers in the EU This equipment has been tested and found to comply with the essential...

Page 3: ...ise specified to do so in this manual When hands are wet avoid handling this product and do not touch any of the connection cable pins or other metallic components Do not operate this product in an en...

Page 4: ...e camera window Be careful not to scratch the glass Use of non infrared lighting such as a fluorescent lamp is recommended If halogen lighting is employed always install an infrared filter into your s...

Page 5: ...bility for any incidental damages loss of corporate profits interruption of business etc resulting form use or non use of this product The manufacturer assumes no responsibility for damages resulting...

Page 6: ...ly 21 4 Camera Control 22 4 1 Flow of Camera Control 22 4 1 1 Command Overview 22 4 1 2 Camera Receiving Message PC Sending Command 22 4 1 3 Camera Sending Message PC Receiving Message 23 4 1 4 Camera...

Page 7: ...Output Format 34 4 8 Exposure Mode and Timing Chart 36 4 8 1 Free Run Exposure Mode Programming time setting 36 4 8 2 External Trigger Exposure Mode Trigger Edge 37 4 8 3 External Trigger Exposure Mod...

Page 8: ...58 8 5 3 Connect 61 8 5 4 Disconnect and end program 62 8 5 5 Check of the contents of communication 62 8 5 6 Export Parameters to text file 63 8 5 7 Import Parameters from text file 63 8 6 Control 6...

Page 9: ...Bs Wide dynamic range prevents saturation caused by direct rays and specular reflection rays High speed inspection is possible because of the cameras high data output speed Using random access reading...

Page 10: ...ction of PCBs Applicable Work COB BGA and MCM printed circuit boards Performance 1 Maximum board size 100mm 200mm 2 Resolution 10 m 3 Inspection time less than 30 seconds Unit Configuration 1 Camera L...

Page 11: ...0SAT4 Number of Pixels 4096 Pixel Size H x V m 7 7 Sensor Length mm 28 672 Spectral Responsivity nm 400 1000 Peak 625 See Figure 1 4 1 Data Rate MHz 160 40 x 4 Maximum Scan Rate s kHz 26 8 37 31 Satur...

Page 12: ...to 50 Power Supply Voltage V DC12 to 15 5 Consumption Current mA typically 500 Size W x H x D mm 80 x120 x 79 7 Mass g Camera only Approx 730 Additional Function 1 Shading Correction 2 Gain Offset Vid...

Page 13: ...n the side to set the camera Or use the 1 4 20UNC screw hole for a tripod 1 place at bottom If using the front panel M4 mounting holes 4 places at front 8 places at side the screw length for fixing th...

Page 14: ...ance 5 10 1 4 20UNC 60 15 90 4 M4 Depth 6 Both Sides NIPPON ELECTRO SENSORY DEVICES CORP MADE IN JAPAN NIPPON ELECTRO SENSORY DEVICES CORP MADE IN JAPAN 65 Unit mm Indicator Camera Link Connector MDR2...

Page 15: ...ED 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 sou...

Page 16: ...mera Insert the plug end of the cable into the camera Attach the opposite end loose wires to the power unit Other than those above a personal computer a frame grabber board a compatible lens a lens mo...

Page 17: ...Indicator The layout of input output connecters and the LED indicator are as follows DC12 15V CL1 CL2 Indicator Power Supply Connector HIROSE HR10A 4P Camera Link Connector MDR26 DIGITAL LINESCAN CAME...

Page 18: ...100 100 100 100 100 SerTFG SerTC CC1 CC2 CC3 CC4 26 pin MDR Connector X1 X0 X2 X3 XClk SerTFG SerTC CC1 CC2 CC3 CC4 LVDS_DRIVER NS DS90CR285MTD equivalent LVDS_DRIVER RECEIVER NS DS90LV019TM equivale...

Page 19: ...ot used Figure 3 3 2 Circuit of LVDS The camera has 26 pin MDR connectors for control signals of Camera Link data signals and serial communications The camera also has a 4 pin HIROSE connector for pow...

Page 20: ...t for above data output synchronization Channel Link SerTC SerTC Serial data input LVDS SerTFG SerTFG Serial data output LVDS CC1 CC1 External synchronous signal input LVDS CC2 CC2 Not in use LVDS CC3...

Page 21: ...ource choose one with the capacity to allow for in rush current 15W or more recommended Insert the cable plug securely until it locks into position This is to prevent the connector from coming loose d...

Page 22: ...era Control 4 1 1 Command Overview The serial interface uses a simple ASCII based command Communication begins when the computer sends control commands to the camera The camera receives and interprets...

Page 23: ...ive command analyzed results SB Camera receive command send back MEM Memory data readout value CR Separated text 0 0D EOT Send command all text End text 0 04 Example OK CR gax 0 CR EOT Table 4 1 3 1 E...

Page 24: ...1 voa 0 1 0 VAL1 8bit 10bit selection VAL2 0 Fixed Output Signal Setting 2 voc 0 1 Linear Log Memory Initializing rst Reset to factory settings Memory Load rfd Readout setup data in memory Memory Sav...

Page 25: ...Run Programmable Exposure Time int 0 61 24 4 s Dividing 16 Counter 61 Output Signal Setting 1 voa 0 0 8bit 4096pixels Output Signal Setting 2 voc 0 Linear Test Pattern tpn 0 OFF Pixel Correction Sett...

Page 26: ...Setting Digital Offset Sets digital offset 15 to 15 8bit 1DN Step 60 to 60 10bit 4DN step Format 2 CMD VAL1 CR CMD odx VAL 15 to 15 Example odx 5 CR Setting digital offset 5 8 bit or 20 10 bit OK odx...

Page 27: ...CMD VAL1 VAL2 CR CMD voa VAL1 0 1 Selecting output data 8 bit or 10bit VAL2 0 fixed value Example voa 0 0 CR 8bit output OK voa 0 0 4 2 7 Setting Output Signals 2 Setting Linear Log Sets the data form...

Page 28: ...70615 gax 0 gdx 0 odx 0 inm 0 int 0 61 cka 0 voa 0 0 voc 0 tpn 0 shc 1 900 pad 0 rev 0 rst 4 2 9 Memory Load Reads out the camera settings from the flash memory Format 1 CMD CR CMD rfd Example rfd CR...

Page 29: ...sav CR OK sav 4 2 11 Generating Test Pattern Generates test pattern Format 2 CMD VAL1 CR CMD tpn VAL 0 1 0 Image data 1 Test pattern Example tpn 1 CR Generating test pattern OK tpn 1 4 2 12 Saving Pi...

Page 30: ...K shc 1 900 4 2 14 Setting Exposure Time Readout Time Prolongs the line period without changing the exposure time Format 2 CMD VAL1 CR CMD pad VAL1 0 to 50 0 40960 s Example pad 10 CR OK pad 10 The in...

Page 31: ...CR CMD sta Example sta CR OK Type XCM4040SAT4 Ver 2 36_0x4425 Serial 0 check_code 20070615 gax 0 gdx 0 odx 0 inm 0 int 0 61 cka 0 voa 0 0 voc 0 tpn 0 shc 1 900 pad 0 rev 0 sta 4 2 16 Setting the Pixe...

Page 32: ...efore it starts getting images and outputting data It takes about four seconds The startup procedure is as follows 1 The camera hardware initializes 2 Reads out the latest camera settings from the fla...

Page 33: ...re to send the control input signal CC1 If you do not send CC1 or sending control input signals are out of the designated range you cannot get images and cannot change the settings See 4 8 2 and 4 8 3...

Page 34: ...camera outputs 8 bit or 10 bit digital data through 4 taps LSB MSB LSB MSB 8 Default 10 Figure 4 7 1 Pin Assignments of Digital Data The A D converter of the camera has a 10 bit resolution For 8 bit o...

Page 35: ...id Invalid Invalid Invalid Invalid Invalid Invalid I 1 BLOCK Invalid 2 2046 6 2048 Invalid Invalid Invalid Invalid Invalid Invalid Invalid I 2 BLOCK Invalid 4095 2051 4091 2049 Invalid Invalid Invalid...

Page 36: ...setting In free run exposure mode the camera generates its own internal control signal based on two programmable parameters exposure time and readout time Table 4 8 1 1 Programmable Exposure Time 4040...

Page 37: ...to rising edge of the internal control signal The range of programmable exposure time the timing chart of the exposure and the readout are shown below Table 4 8 2 1 Programmable Exposure Time 4040SAT4...

Page 38: ...is determined by high trigger pulse time The range of programmable exposure time the timing chart of the exposure and the readout are shown below Table 4 8 3 1 Programmable Exposure Time 4040SAT4 Rea...

Page 39: ...tion current or the amount of exposure when the output saturates Figure 4 9 1 Saturation Exposure and Dark Current Output By setting the offset you can set the Y intercept arbitrarily DF shows the dig...

Page 40: ...esponse curve and results in a higher camera output for a given amount of light Analog gain can be changed by sending the gax command Digital gain can be changed by sending the gdx command Figure 4 10...

Page 41: ...76dB 482 7 x2 08 6 36dB 146 18 x7 78 17 82dB 545 8 x2 29 7 20dB 160 19 x8 79 18 88dB 615 9 x2 59 8 26dB 181 20 x9 93 19 94dB 695 10 x2 92 9 32dB 205 21 x11 22 20 64dB 785 11 x3 31 10 40dB 232 Digital...

Page 42: ...lumination or to lose the irregular sensitivity generated by the thing changed into the lighting of a different spectrum characteristic completely Cal_bl Output data of each pixel at perfectly dark di...

Page 43: ...point it at the white illumination in order to set a uniform wave level Then you can acquire arbitrary white correction data With a lens the shading by both a lens and a light source will be simultan...

Page 44: ...verify the proper timing and connections between the camera and the frame grabber board The test pattern of the camera is below Figure 4 12 1 Test Pattern of the Camera Figure 4 12 2 Test Image the C...

Page 45: ...3 GND Green 4 GND Black Figure 5 1 1 Pin Assignment of Power Cable 2 Confirm the direction and the channel of the cables Some Camera Link cables are directional If one of the connectors says Camera s...

Page 46: ...ROSE HR10A 4P Camera Link Connector MDR26 DIGITAL LINESCAN CAMERA CLISBee S Figure 5 1 3 Channel of Camera Link Cables 5 2 After Power on 1 Confirm sent and received commands using the camera control...

Page 47: ...de and a video output mode with the camera control utility Example Trigger mode Free run Video output mode 8bit Figure 5 2 2 Setting of Exposure Mode and Video Output Mode If you have your own applica...

Page 48: ...48 NED XCM4040SAT4 UME 0002 04 3 Capture images using a camera interface board utility In case of Matrox s Solios it is convenient to use Intellicam Figure 5 2 3 Solios Intellicam dcf Window...

Page 49: ...power cable and Camera Link cables are connected to the camera correctly 3 Camera Link cables come under the influence of noise when the cables are laid near a light source inverter line or a power li...

Page 50: ...S sensor window is part of the optical path and should be handled like other optical components with care If you use the camera in a dusty area prepare a dust proof enclosure Dust can obscure pixels p...

Page 51: ...ower source meets the specified voltage The capacity of the power source is enough Connect the camera and the frame grabber board with camera cables After being energized set up the frame grabber boar...

Page 52: ...es are too dark try to increase the light intensity and vice versa No image at the full aperture The optical axes of the camera and the image sensor are aligned Check the compatibility between the cam...

Page 53: ...en used for 3 or more years or the ambient temperature is higher than room temperature Check the condition of the power supply The camera and or cables are used in a moving environment attached to a m...

Page 54: ...ce with the transmission rate The cables should not be too long to avoid the noise disturbance The power source has no fluctuation in voltage and is not deteriorated Use a stable power supply The came...

Page 55: ...rger than the rating The camera will become hotter than the ambient temperature while in operation because of self heating Allow sufficient air circulation around the camera to give it the longer life...

Page 56: ...he nickname for XCM series camera 8 2 System Requirements PC PC AT compatible Operating System Microsoft Windows 2000 or XP Windows Vista not confirmed Free disk space 1 2MB It may fluctuate with the...

Page 57: ...Program Open Windows Explorer and Double click the CLISBeeCtrl exe Buttons in the tool bar have the following functions A Exporting parameters in the text file format B Connection with the camera C Di...

Page 58: ...cting interface 1 Click button D 2 Select the interface in Drop down list box 3 Click Setting button to set the interface See 8 5 2 2 and 8 5 2 3 4 Click OK button Click Cancel button when stopping se...

Page 59: ...rs to the camera to connect is shown follow there 1 Port Select connecting port 2 Bits per Second 9600 3 Data bits 8 4 Parity None 5 Stop bits 1 6 Flow control None Note Other parameters are not used...

Page 60: ...ect into Serial Index column 3 Click OK button Click Cancel button when stopping setup Note The camera can be used without this operation after it has been set up correctly Note DLL for Camera Link AP...

Page 61: ...m time from sending a command to receiving the first data Next Receive The maximum time between a letter and the next one Send The maximum time until finishing sending a command 2 Click OK button Clic...

Page 62: ...M4040SAT4 UME 0002 04 8 5 4 Disconnect and end program Click button C Then click X button in the upper right of the window 8 5 5 Check of the contents of communication Click Console tag near the botto...

Page 63: ...tton A 2 Input file name and click Save button Present setting value of each control is saved by text format 8 5 7 Import Parameters from text file 1 Select menu File Text Load 2 Input file name and c...

Page 64: ...mera every time you make a selection from the menu in the drop down list box Note XCMx0x0SA does not use Analog 2 Included to Analog 1 Digital Set a value with the slider the edit box or the spin butt...

Page 65: ...egration Time Shows the calculated value of integration time unit s Padding Set a value with the slider the edit box or the spin button Then click Send button Padding Time Shows the calculated value o...

Page 66: ...u in the drop down list box Trigger Mode The selection of Free Run Exposure mode and External Trigger Exposure mode Video output The selection of the number of the output bit and the output block ADC...

Page 67: ...the menu in the drop down list box 8 6 5 Memory in camera Memory Dump Read the data from the camera s work memory Flash Load Loading the data from the camera s flash memory Flash Save Saving the data...

Page 68: ...producing and distributing without notice the part or all of this software and this book is prohibited 2 Reverse engineering decompiling disassembling and modifying without notice the part or all of t...

Page 69: ...rs or omissions please notify your nearest NED representative 9 2 Contact for support Nippon Electro Sensory Devices Corporation Head Office 2 5 12 Itachibori Nishi ku Osaka 550 0012 Japan Phone 81 6...

Page 70: ...power and call your NED representative In such case please inform us of the status of the camera You can get the status by 1 executing the sta command or 2 clicking Memory Dump button when using CLIS...

Page 71: ...Mar 2009 Initial release 02 12 Jun 2009 Add EMC Directive 03 1 Nov 2009 Changed Trigger pulse L time of Table 4 8 2 1 4 8 3 1 Programmable Exposure Time Cancel the Figure 1 3 1 Block Diagrams of Image...

Reviews: