NED CAMERA Link Ryugan RCDL2K20CL User Manual

NED CAMERA Link Ryugan RCDL2K20CL User Manual

Line scan camera
Table of Contents

Advertisement

Quick Links

User's Manual
Line Scan Camera
Type: RCDL2K20CL
NIPPON ELECTRO-SENSORY DEVICES CORPORATION

Advertisement

Table of Contents
loading

Summary of Contents for NED CAMERA Link Ryugan RCDL2K20CL

  • Page 1 User’s Manual Line Scan Camera Type: RCDL2K20CL NIPPON ELECTRO-SENSORY DEVICES CORPORATION...
  • Page 2 EN61000-6-2:2005 Directive on Waste Electrical and Electronic Equipment (WEEE) Please return all End of Life NED products to the distributor from whom the product was purchased for adequate recycling and / or disposal. All costs of returning the Product to NED are borne by the shipper.
  • Page 3 Introduction Thank you for purchasing NED’s Line Scan Camera. We look forward to your continued custom in the future. For safety use ◆ For your protection, please read these safety instructions completely before operating the product and keep this manual for future reference.
  • Page 4 ◆ Do not disconnect the camera while rewriting the embedded memory. ◆ When you change the exposure mode that is set at the NED factory, input control signal (CC1) from the capture board. ◆ SG (Signal Ground) and FG (Frame Ground) are connected inside the camera.
  • Page 5 Product Warranty Warranty Period ◆ The product warranty period, as a general rule, is two years from purchase; however for detailed conditions please contact the sales representative for your region/country. ◆ However, in some cases due to the usage environment, usage conditions and/or frequency of use, this warranty period may not be applicable.
  • Page 6 Exclusion of Liability for Compensation for Missed Opportunities ◆ Regardless of whether within the warranty period or not, our warranty does not cover compensation for missed opportunities for our customers, or our customers’ customers, caused by a fault of our products, nor for damage to products other than our own, or related business.
  • Page 7: Table Of Contents

    Table of Contents 1 Product Outline ...................... 10 1.1 Features ............................. 10 1.2 Application ..........................10 1.3 Image Sensor ..........................13 1.4 RGB Synthesis method with Bayer at pixel ................14 1.5 Performance Specifications ....................15 2 Camera Setting and Optical Interface ..............17 2.1 Setting the Camera ........................
  • Page 8 4.2.15 Setting Exposure Time ....................37 4.2.16 Memory Initializing (Initializing Camera Settings) ............38 4.2.17 Memory Load ........................39 4.2.18 Memory Save ........................40 4.2.19 Scan Direction ........................ 40 4.2.20 Generating Test Pattern ....................41 4.2.21 Setting Line Delay Direction ..................43 4.2.22 Setting Line Delay Values .....................
  • Page 9 7.2 When Noise is present in the Image ..................66 7.3 When the Camera becomes hot ....................68 8 Others ........................69 8.1 Notice ............................69 8.2 Contact for support ........................69 8.3 Product Support ........................70 Revision History ....................... 72 RCDL2K20CL UME-0115-02...
  • Page 10: Product Outline

    1 Product Outline 1.1 Features ⚫ Color line scan camera with 2048 pixels equivalent to 14μm. ⚫ Color line scan camera with 7μm 4096 x 2 pixels sensor of Bayer color arrangement. ⚫ Output format is 2048 pixels, 8bit R,G,B, 3TAP output. ⚫...
  • Page 11 An example of visual inspection of metallic parts is shown below . ■ Example using one camera. ■ Example using three cameras. (Inspection of surface) (Inspection of surface and end faces) Line scan Camera Object of inspection Figure 1-2-1 Visual Inspection of Metallic Cylinder Object of inspection (example) Metallic parts with cylindrical/conical shapes (surface and roller end faces) ・Automobile component...
  • Page 12 An example of Visual Inspection of PCBs is shown below. Power supply PCB pattern LED incident lighting Figure 1-2-2 Visual Inspection of PCBs Applicable Work COB, BGA and MCM printed circuit boards Unit Configuration 1. Camera: Line scan camera 2. Controller: Dedicated software for PC system Applicable Fields Inspection of patterns on film PCBs RCDL2K20CL...
  • Page 13: Image Sensor

    1.3 Image Sensor This camera uses a CMOS sensor with a maximum data rate of 45MHz to acquire highly sensitive and high quality images. The pixel size is equivalent to 14µm x 7µm and outputs 2048 pixels of RGB data at 45MHz-3Tap.
  • Page 14: Rgb Synthesis Method With Bayer At Pixel

    1.4 RGB Synthesis method with Bayer at pixel 4096 4095 4094 4093 Y coordinate #1 Scan #1 Y coordinate #0 The object moves for one column of pixels and is scanned. The object moves for next one column of pixels and is scanned. Y coordinate #2 Scan #2 Y coordinate #1...
  • Page 15: Performance Specifications

    1.5 Performance Specifications The Performance Specifications are shown below. The data is shown when the camera is operating at the maximum scan rate, unless otherwise specified. Table 1-5-1 Performance Specifications Items Specifications Number of Pixels 2048 Pixel Size H x V (μm) 14x7 equivalent 28.672 Sensor Length (mm)
  • Page 16 1. Auto White Balance 2. Shading Correction 3. Programmable Exposure Control Additional Function 4. Scan Direction Switching 5. Noise reduction 6. Line Correction 7. RGB Color Matrix Transforming Note: *1) DN : Digital Number (8bit : 0-255) *2) Measurements were made at room temperature. The spectral responsivity is shown below.
  • Page 17: Camera Setting And Optical Interface

    2 Camera Setting and Optical Interface 2.1 Setting the Camera Use the M4 screw holes or the tripod screw hole to set the camera. 2.2 Fixing the Camera Use the M4 screw holes (4 at the front, 8 at the side) to set the camera. Or use the 1/4”-20UNC screw hole for a tripod (1 place at the side).
  • Page 18 The dimensions of the camera are shown below. Figure 2-2-1 Dimensions of the Camera RCDL2K20CL UME-0115-02...
  • Page 19: Optical Interface

    2.3 Optical Interface This camera comes with a F-Mount as standard. 1) Quantities of light and the wavelength etc. of a source of light necessary to take the image for which the customer hopes are different according to the usage. The factor to decide these contains physical properties, the speed, the spectrum characteristic of the object taken a picture of, the exposure time, and the characteristic of the source of light and the specification etc.
  • Page 20: Calibration With User White Pixel Correction Function

    2.4 The factory-set white balance adjustment values This camera uses a daylight fluorescent lamp NEC FL20SD as a light source when acquiring pixel correction values. If the light source or lens is different, the white balance may be distorted or the waveform may have peaks and valleys. This is due to the influence of the light source or the lens used, and is not a malfunction.
  • Page 21 The waveforms at the calibration processing are shown as an example of this explanation when you use 3-wavelength fluorescent lamp with this camera. (1) Waveforms using daylight fluorescent lamp The waveform using daylight fluorescent lamp NEC FL20SD with this camera is flat after adjusting white balance at Factory. (2) Waveforms using 3-wavelength fluorescent lamp The waveforms using 3-wavelength fluorescent lamp with this camera at Factory white mode are shown below.
  • Page 22: Hardware

    3 Hardware 3.1 Camera Connection In order to use the camera, the following steps are required. 1. Connect the camera to the frame grabber board (image acquisition board) using a Camera Link-compatible cable. A single Camera Link compatible cable is used to connect the camera and frame grabber board.
  • Page 23: Input / Output Connectors And Indicator

    <Note: Choosing the appropriate Camera Link cable length > According to the Camera Link Specification, the maximum cable length is 10m. But the maximum cable length to be able to transfer data depends on the type of cable performance and clock speed. The actual maximum transmission distance becomes less than 10m at faster clock speeds, though the transmission distance of 10m is feasible at slower clock speeds.
  • Page 24: Connectors・Pin Assignments・Cables

    3.3 Connectors・Pin Assignments・Cables This camera adopts Base Configuration of Camera Link interface standards. Figure 3-3-1 shows the interface for the camera and a typical implementation for the frame grabber interface. Camera Frame Grabber Board LVDS_DRIVER(NS) LVDS_RECEIVER(NS) DS90CR285MTD DS90CR286MTD Channel Link Bus equivalent recommended  LVAL,FVAL...
  • Page 25 The camera has 26-pin MDR connectors for control signals of Camera Link, data signals and serial communications. #4-40 Figure 3-3-3 Camera Link Connector ⚫ Half pitch (miniature half ribbon) shape ⚫ Locking screw (UNC #4-40) type RCDL2K20CL UME-0115-02...
  • Page 26 Table 3-3-1 Camera Link Connector (26-pin MDR Connector) pin assignments CL1(Base Configuration) Name Name Inner Shield Inner Shield Xclk- Xclk+ SerTC+ SerTC- SerTFG- SerTFG+ CC1- CC1+ CC2+ CC2- CC3- CC3+ CC4+ CC4- Inner Shield Inner Shield ⚫ Explanation of Signals Inner Shield : Shield cable (GND) X0+, X0-…X3+, X3- :...
  • Page 27: Power Supply

    This camera uses 6-pin round shape push-pull lock type connector for the Power Supply. The compatible cable (compatible plug) is DGPSH-10 (Hirose: with HR10A-7P-6S). Figure 3-3-4 Power Supply Connector (HIROSE: HR10G-7R-6PB) Table 3-3-2 Pin Assignment of Power Supply Connector Name cable color 12 –15V white...
  • Page 28 equipment and the camera, and not next to each other. 5) If the camera does not light up even when the power is supplied, turn off the power immediately and check that there is no problem with the wiring or the voltage or capacity of the power supply.
  • Page 29: Camera Control

    4 Camera Control The functions of the camera can be controlled by commands through serial communication. There are two ways to do this: by sending commands directly over serial communication, or by using NCamCtrl (camera control software). Once the camera is configured, the camera will operate properly without using serial communication.
  • Page 30: Camera Sending Message (Pc Receiving Message)

    4.1.3 Camera Sending Message (PC Receiving Message) ⚫ Format R 1 >R CR >[SB] CR EOT ⚫ Format R 2 (when CMD is "sta") >OK CR >[MEM] CR >sta CR EOT >: Results start character (0 x 3E) Result of camera receive command analysis [SB]: Camera receive command sendback [MEM]:...
  • Page 31: Camera Control Commands

    4.1.4 Camera Control Commands Table 4-1-4-1 shows the list of Camera Control Commands. Table 4-1-4-1 Lists of Camera Control Commands Control Item Control Description Factory Settings Analog Gain 0 to 7 x1.00..x10.0 (8step) (RGB common) Digital Gain 0 to 511 x1…x2 : (1+0.00195xVAL) (RGB common) Digital Gain (R)
  • Page 32 OFF / ON(GreyHorizontalRamp) / Test Pattern ON(GreyDiagonalRamp) / ON(ColorBar) Line delay Forward / Reverse odir 0 / 1 direction Set value (number of Line delay value 0 to 15 lines)=val×0.1 * Absolute value White Pixel User arbitrary white pixel Correction correction data is acquired and Data Save stores it in the memory.
  • Page 33: Details On Commands

    Color Matrix -512000 Express 1 in 4000 Offset(R) to 512000 Color Matrix -512000 Express 1 in 4000 Offset(G) to 512000 Color Matrix -512000 Express 1 in 4000 Offset(B) to 512000 4.2 Details on Commands 4.2.1 Setting Analog Gain Sets analog gain in 8 steps between x 1.0 to x 10.0 ⚫...
  • Page 34: Setting Digital Gain(G)

    4.2.4 Setting Digital Gain(G) Sets digital gain(G) in 1023 steps between x 1 and x 3. ⚫ Format 2 CMD□VAL CR ⚫ CMD gdxg ⚫ VAL 0 (for x 1) to 1022 (for x 3) <Example> gdxg□255 CR (Setting digital gain 255[1+0.001957x255=x1.50]) >OK >gdxg 255 4.2.5 Setting Digital Gain(B)
  • Page 35: Setting Digital Offset(G)

    >odxr 10 4.2.8 Setting Digital Offset(G) Sets digital offset of the G signal between -40 and 40(0.5DN/step). ⚫ Format 2 CMD□VAL CR ⚫ CMD odxg ⚫ VAL -40 to 40 <Example> odxg□10 CR (Setting digital offset of the G signal +5DN) >OK >odxg 10 4.2.9 Setting Digital Offset(B)
  • Page 36: Reset Auto White Balance

    The “awb” command can be used to balance the output levels of the area around sensor center (around 1024th pixel) Before using “awb” command After using “awb” command 4.2.11 Reset Auto White Balance Sets the values of “gdxr”, “gdxg” and “gdxb” for (x1) ⚫...
  • Page 37: Setting Exposure Mode

    4.2.13 Setting Exposure Mode Sets the exposure mode. ⚫ Format 2 CMD□VAL CR ⚫ CMD ⚫ VAL 0,1,2 (0:FreeRun , 1:ExtEdge , 2:ExtLevel) <Example> inm□0 CR (Setting the exposure mode free run) >OK >inm 0 4.2.14 Setting Line Rate Sets the line rate. ⚫...
  • Page 38: Memory Initializing (Initializing Camera Settings)

    When the exposure time is set, there will be cases where the exposure time and the already set scan rate do not satisfy the above equation. In this case, the camera will adjust the scan rate without reporting an error (the camera will automatically adjust the scan rate).
  • Page 39: Memory Load

    >kbr 0 >kbg 0 >kbb 1000 >kor 0 >kog 0 >kob 0 >odir 0 >lsc 10 >nr 0 >logmode 1 >rst 4.2.17 Memory Load Reads out the camera settings from the flash memory. ⚫ Format 1 CMD CR ⚫ CMD <Example>...
  • Page 40: Memory Save

    >krr 1000 >krg 0 >krb 0 >kgr 0 >kgg 1000 >kgb 0 >kbr 0 >kbg 0 >kbb 1000 >kor 0 >kog 0 >kob 0 >odir 0 >lsc 10 >nr 0 >logmode 1 >rfd 4.2.18 Memory Save Stores the current camera settings in the flash memory. ⚫...
  • Page 41: Generating Test Pattern

    4.2.20 Generating Test Pattern Generates test pattern. ⚫ Format 2 CMD□VAL CR ⚫ CMD ⚫ VAL 0,1,2,3 (0:Image data,1: Grey Horizontal Ramp, 2: Grey Diagonal Ramp,3: Color Bar <Example> tpn□1 CR (Generating test pattern) >OK >tpn 1 GreyHorizontalRamp is as follows Figure 4-2-20-1(A) RCDL2K20CL GreyHorizontalRamp 4-2-20-1(B) RCDL2K20CL GreyHorizontalRamp Figure...
  • Page 42 GreyDiagonalRamp is as follows. Figure 4-2-20-1(C) RCDL2K20CL GreyDiagonalRamp Figure 4-2-20-1(D) RCDL2K20CL GreyDiagonalRamp It increases by 1 DN per pixel in both horizontal and vertical directions up to 255 DN. This pattern is output repeatedly. (*) DN: Digital value (8bit: 0-255) RCDL2K20CL UME-0115-02...
  • Page 43: Setting Line Delay Direction

    The ColorBar is as follows Figure 4-2-20-1(E) RCDL2K20CL ColorBar Figure 4-2-20-1(F) RCDL2K20CL ColorBar Black R:0,G:0,B:0 -> White R:255,G:255,B:255 Yellow R:255,G:255,B:0 -> Cyan R:0,G:255,B:255 -> Green R:0,G:255,B:0 -> Magenta R:255,G:0,B:255 Red R:255,G:0,B:0 -> Blue R 0,G:0,B:255 4.2.21 Setting Line Delay Direction Sets the line delay direction.
  • Page 44: Setting Line Delay Values

    4.2.22 Setting Line Delay Values Sets the line delay values. ⚫ Format 2 CMD□VAL CR ⚫ CMD ⚫ VAL 0 to 15 (x10=Number of Lines) <Example> lsc□10 CR (For one line) >OK >lsc 10 4.2.23 White Pixel Correction Data Save Save the user arbitrary white pixel correction data of analog gain in flash memory.
  • Page 45: Setting Correction Target Value

    4.2.25 Setting Correction target value Sets pixel Correction target value. ⚫ Format 2 CMD□VAL CR ⚫ CMD ffct ⚫ VAL 0 to 1023 (10-bit display) <Example> ffct□800 CR (white correction level 800) >OK >ffct 800 4.2.26 Returning the Camera Settings status Returns the current camera settings.
  • Page 46: Setting The Color Matrix Transforming

    >krg 0 >krb 0 >kgr 0 >kgg 1000 >kgb 0 >kbr 0 >kbg 0 >kbb 1000 >kor 0 >kog 0 >kob 0 >odir 0 >lsc 10 >nr 0 >logmode 1 >sta 4.2.27 Setting the Color Matrix Transforming The Color Matrix is a 3x3 matrix to convert the color of an image from three values of RGB into different values of RGB.
  • Page 47: Setting The Color Matrix Transforming Coefficient(Kxx)

    4.2.28 Setting the Color Matrix Transforming Coefficient(kxx) Sets the Color Matrix Transforming Coefficient. Read the xx in kxx of CMD as rr, rg, rb, gr, gg, gb, b, r, bg or bb for the following explanation. ⚫ Format 2 CMD□VAL CR ⚫...
  • Page 48: Digital Processing Flow In Fpga

    4.3 Digital Processing flow in FPGA The digital processing flow in FPGA is shown below. Video (8bit) Video(8,10bit) To Channel Link Driver Figure 4-3-1 FPGA Processing Block Diagram Note: When Test Pattern is selected, Black/White reference, Digital Gain & Offset are omitted.
  • Page 49: Saving And Loading Camera Settings

    4.5 Saving and Loading Camera Settings The camera settings data is saved in the internal memory (flash memory) and is loaded from the memory when turning on the power supply or loading (sending the “rfd” command). Commands for rewriting the memory are as follows. ⚫...
  • Page 50: Serial Communication Settings

    4.6 Serial Communication Settings Serial communication is performed through the Camera Link Interface Table 4-6-1 shows serial communication settings. Table 4-6-1 Serial Communication Settings Parameter Items Setup Value Communication Speed (Baud rate) 9600bps Data Length 8bit Parity Bit None Stop bit 1bit Flow Control None...
  • Page 51 Video output phase of the camera is shown below. This camera outputs RGB 8bit digital data through 3tap formats. 2048 XClk DVAL LVAL VIDEO R 2046 2047 2048 Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid (#0 TAP) VIDEO G 2046 2047 2048...
  • Page 52: Exposure Mode And Timing Chart

    4.8 Exposure Mode and Timing Chart This camera has three exposure modes. This section provides an overview of each exposure mode and its timing. 4.8.1 Free Run Exposure Mode (Programming time setting) In the free-run exposure mode, the line rate and exposure time are set in the camera control register, respectively.
  • Page 53: External Trigger Exposure Mode (External Trigger Edge)

    4.8.2 External Trigger Exposure Mode (External trigger edge) In the external trigger (Ext Edge) exposure mode, the line cycle is set by the cycle of the trigger (CC1) signal and the exposure start is set by the rising edge of the trigger (CC1) signal.
  • Page 54: External Trigger Exposure Mode (Trigger Level)

    4.8.3 External Trigger Exposure Mode (Trigger Level) In the external trigger (Ext Level) exposure mode, the line period is set by the period of the trigger (CC1) signal and the exposure time is set by the time when the trigger (CC1) signal is High.
  • Page 55: Setting Offset

    4.9 Setting Offset In the figure below, the horizontal axis indicates the amount of incident light and the vertical axis indicates the output. Fs shows the output at saturation. Dd shows the output at darkness. (Both Fs and Dd are digital.) Se shows the saturation current, or the amount of exposure when the output saturates.
  • Page 56: Setting Gain

    4.10 Setting Gain The camera can adjust the analog gain (x1 to x10.0 in 8 steps) and the digital gain. As shown in the figure below, increasing the gain setting increases the gradient of the camera’s response curve and results in a higher camera output for a given amount of light.
  • Page 57: Pixel Correction

    4.11 Pixel Correction As a rule, image sensors (CCD, CMOS and so on) have fixed pattern noise and photo response non-uniformity. Lens shading and light sources can also cause non-uniformity. The camera is set to the optimal correction before shipping in order to provide images of the highest grade.
  • Page 58: Command Settings

    4.11.1 Command Settings Send commands from PC via serial communication to turn on/off all pixel bit correction and acquire correction data. Example of command setting ffcm 0: Factory black correction + factory white correction (factory default) ffcm 1: Factory black correction + optional white correction blk: Get optional black correction data wht: Get arbitrary white correction data 4.11.2 How to correct...
  • Page 59: Confirming Camera Settings

    5 Confirming Camera Settings 5.1 Before Power-on (1) Confirm the pin assignment of the power cable. Name 12 -15V 12 -15V 12 -15V 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.
  • Page 60 Confirm the connection with the Camera Link cable and frame grabber. The connection channel in case of “Solios”, Camera side connector CL1 and frame grabber side connector CHANNEL#0 CHANNEL CHANNEL Connector Figure 5-1-3 Channels of Camera Link Cables RCDL2K20CL UME-0115-02...
  • Page 61: After Power-On

    5.2 After Power-on (1) Check the camera control utility for sending and receiving commands. Start NCamCtrl. Set the COM port and make a connection. Click Execute to get the current value and wait for the response. Figure 5-2-1 Confirmation of Connection RCDL2K20CL UME-0115-02...
  • Page 62 (2) Set the exposure mode (trigger mode), line rate, and exposure time in the camera control utility. Trigger mode = Free run Line rate = 2640 Hz Exposure time = 376400nsec. Figure 5-2-2 Setting of Exposure Mode and Video Output Mode If you have already created an application that allows you to check images, select the appropriate settings.
  • Page 63: In Operation

    5.3 In Operation (1) Does an acquisition time out error occur? <Cause> <1> Captured images are too large. If there are many filtering processes, the assignments to the driver may be insufficient. <2> The cable is detached from the connector Ensure that the power cable and Camera Link cables are connected to the camera firmly.
  • Page 64: Troubleshooting

    7 Troubleshooting The following pages contain several troubleshooting charts that can help you find the cause of problems user sometimes encounters. Are the correct connectors being used 7.1 When there is no Image between the camera and the power supply, they properly The indicator is glowing.
  • Page 65 The communication port is set correctly. Set the communication port correctly. The camera could be faulty. Please contact us for assistance. カメラの修理をご依頼ください。 capturing software program The capturing software program is provided with the board as a sample custom made. program. No image is captured with the Check the compatibility between the sample software program provided.
  • Page 66: When Noise Is Present In The Image

    7.2 When Noise is present in the Image The camera has been used for 3 or Noise is present at the more years, ambient point of first use. temperature is higher than room temperature. servomotor magnetic valve is placed There are some degradable parts near the camera.
  • Page 67 Cables are asymmetric such as thin cables. One of the connectors of an asymmetric camera cable is to be connected with a camera. (Labeled as “Camera side”) The camera cables are too long. Use camera cables in accordance with the transmission rate.
  • Page 68: When The Camera Becomes Hot

    7.3 When the Camera becomes hot The consumption current of the power supply is larger than the rating. The camera is too hot to touch. 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 a longer product life.
  • Page 69: Others

    ⚫ Contents of this document are subject to change without prior notice. ⚫ Every care has been taken in the preparation of this User’s Manual. If you should discover any errors or omissions, please notify your nearest NED representative. 8.2 Contact for support...
  • Page 70: Product Support

    8.3 Product Support If the problem persists, first turn off the power and then inform us of the operating status of the malfunctioning camera by e-mail or other means. The operational status of the camera can be obtained through communication between the camera and the PC (see Section 4.2.15 "Reading Operational Status"...
  • Page 71 >kgb 0 >kbr 0 >kbg 0 >kbb 1000 >kor 0 >kog 0 >kob 0 >odir 0 >lsc 10 >nr 0 >logmode 1 >sta RCDL2K20CL UME-0115-02...
  • Page 72: Revision History

    Revision History Revision Date Changes Number 23 June 2021 Initial release 02 Aug. 2021 Table 1-5-1 Notation correction RCDL2K20CL UME-0115-02...

Table of Contents