Daheng Imaging VENUS USB3 Series User Manual

Hide thumbs Also See for VENUS USB3 Series:
Table of Contents

Advertisement

China Daheng Group, Inc. Beijing Image Vision Technology Branch
VENUS USB3 Vision Cameras
User Manual
Version: V1.0.0
Date: 2020-09-14

Advertisement

Table of Contents
loading

Summary of Contents for Daheng Imaging VENUS USB3 Series

  • Page 1 China Daheng Group, Inc. Beijing Image Vision Technology Branch VENUS USB3 Vision Cameras User Manual Version: V1.0.0 Date: 2020-09-14...
  • Page 2 All rights reserved. No parts of this manual may be used or reproduced, in any forms or by any means, without prior written permission of China Daheng Group, Inc. Beijing Image Vision Technology Branch. The right is also reserved to modify or change any parts of this manual in the future without prior notification. All other trademarks are the properties of their respective owners.
  • Page 3 Preface We really appreciate your choosing of DAHENG IMAGING products. The VENUS USB3.0 series camera is DAHENG IMAGING's latest board level industrial digital camera with large and high-quality sensor, featuring high resolution, high definition and extremely low noise. The camera is equipped with standard USB3.0 interface, is easy to install and use.
  • Page 4: Table Of Contents

    Contents 1. Introduction ........................1 1.1. Series Introduction ....................1 1.2. Naming Rules ......................1 1.3. Standards ........................ 1 1.4. Document, CAD/Technical Drawing and Software Downloads ........ 2 2. Precautions ........................3 2.1. Guideline for Avoiding EMI and ESD ............... 3 2.2. Environmental Requirements .................. 3 2.3.
  • Page 5 7.3.1.1. Line0 (Opto-isolated Input) Circuit ................17 7.3.1.2. Line2 (Bidirectional) Circuit ..................19 7.3.1.2.1. Line2 is Configured as Input ................19 7.3.1.2.2. Line2 is Configured as Output ................21 8. Features .......................... 24 8.1. I/O Control ......................24 8.1.1. VEN-U3 Series ........................24 8.1.1.1.
  • Page 6 9.1.2.1. User Case ........................52 9.1.2.2. GroupBox ........................52 9.1.2.3. Auto Create Lut ......................56 9.1.2.4. Save Lut ........................57 9.1.3. Precautions ........................57 9.1.3.1. Read From Device ...................... 57 9.1.3.2. Write To Device ......................58 9.1.3.3. Directory Structure ...................... 58 9.2.
  • Page 7: Introduction

    1. Introduction 1.1. Series Introduction The VENUS USB3 Vision series camera is DAHENG IMAGING's innovative board level industrial digital camera, featuring outstanding performance, powerful features, outstanding price/performance ratio. The VEN-U3 series cameras are available in a variety of resolutions and frame rates, and are available with CMOS sensors from leading chip manufacturers, which is easy to install and use.
  • Page 8: Document, Cad/Technical Drawing And Software Downloads

    1.Introduction 1.4. Document, CAD/Technical Drawing and Software Downloads Product related document, CAD/Technical drawing and software can be downloaded from the Downloads of DAHENG IMAGING website. The relevant contents are as follows: Document VENUS USB3 Vision Cameras User Manual CAD/Technical Drawing DAHENG IMAGING VEN-U3 CAD/Technical Drawing Galaxy Windows SDK—USB3.0, GigE, MERCURY USB2.0 Cameras...
  • Page 9: Precautions

    2.Precautions 2. Precautions 2.1. Guideline for Avoiding EMI and ESD You should consider the EMI (Electro Magnetic Interference) and ESD (Electro-Static discharge) problem in the process of using the camera, to guarantee the camera to work in a relatively good electromagnetic environment.
  • Page 10: Installation Guideline

    3.1. Host Preparation 3.1.1. Software Package The software package of DAHENG IMAGING's MERCURY2 series is used to control the MERCURY2 and VENUS series camera to provide stable, real-time image transmission, and provides multiple samples and easy-to-integrate SDKs for various programming tools. The package is composed of the following modules: Driver Package (Driver): This package provides the VENUS series camera driver program, such as: the USB3.0 cameras' driver program.
  • Page 11: Camera Power

    3.Installation Guideline In addition, users can use some third-party software that supports GEN<i>CAM standard to control the camera, such as HALCON. USB3 Vision interface The VENUS series USB3.0 camera is compatible with the USB3 Vision protocol, which allows the user to control the camera directly through the USB3 Vision protocol.
  • Page 12: Camera Driver Installation

    3.Installation Guideline 3.3. Camera Driver Installation 3.3.1. System Requirements GalaxySDK is suitable for all cameras in the VENUS series. The GalaxySDK contains various operating systems such as Windows, Android and Linux. The requirements for the operating system and version of the installation package are as follows: Operating Systems Applicable Version...
  • Page 13: General Specification

    4.General Specification 4. General Specification 4.1. Explanation of Important Parameters 4.1.1. About Spectral Response QE: Quantum efficiency, which is the ratio of the average number of photoelectrons produced per unit time to the number of incident photons at a given wavelength. Sensitivity: The change of the sensor output signal relative to the incident light energy.
  • Page 14 4.General Specification 1 input with opto-isolated, 1 programmable GPIO Operating Temp. 0° C~45° C Storage Temp. -20° C~70° C Operating 10%~80% Humidity Power < 2.7W@5V Consumption Lens Mount 35mm×35 mm×15.1mm 32.5mm×32.5 35mm×35mm×15.8mm Dimensions (without S-mount lens mm×8.1mm (PCB (without CS-mount lens thickness is 1.6mm) adapter or connectors) adapter or connectors)
  • Page 15: Spectral Response

    4.General Specification 4.2.2. Spectral Response Figure 4-1 VEN-161-61U3M-(M01/M05/M06) sensor spectral response © China Daheng Group, Inc. Beijing Image Vision Technology Branch...
  • Page 16: Dimensions

    5.Dimensions 5. Dimensions 5.1. Camera Dimensions Figure 5-1 VEN-U3-M01 mechanical dimensions Figure 5-2 VEN-U3-M06 mechanical dimensions © China Daheng Group, Inc. Beijing Image Vision Technology Branch...
  • Page 17: Optical Interface

    5.Dimensions Figure 5-3 VEN-U3-M05 mechanical dimensions 5.2. Optical Interface VEN-U3 cameras are equipped with CS-mount and S-mount lens adapters. The back-flange distance of CS-mount is 12.526 mm (in the air), and the maximum lens allowed thread length should be less than 6.3mm, as shown in Figure 5-4.
  • Page 18 5.Dimensions Figure 5-4 CS-mount optical interface of VENUS Figure 5-5 S-mount optical interface of VENUS © China Daheng Group, Inc. Beijing Image Vision Technology Branch...
  • Page 19: Filters And Lenses

    6.Filters and Lenses 6. Filters and Lenses 6.1. Filters The VENUS color models of CS-mount are equipped with IR filters. The monochrome models are equipped with transparent glasses. Contact our technical support when the glass needed to be removed. Figure 6-1 Infrared cut-off filter transmittance curve for VENUS series color camera Figure 6-2 Transparent glass reflectance curve for VENUS series mono camera ©...
  • Page 20: Lens Selection Reference

    6.Filters and Lenses 6.2. Lens Selection Reference DAHENG IMAGING is a professional supplier for images and machine vision devices in China. In addition to industrial cameras, it also provides high-resolution, high-optical machine vision lenses for a wide range of industrial cameras on the market.
  • Page 21 6.Filters and Lenses f = sensor size (horizontal or vertical) * Working distance / Field of View (corresponding to the horizontal or vertical direction of the sensor size) The corresponding lens is selected by the calculated focal length. © China Daheng Group, Inc. Beijing Image Vision Technology Branch...
  • Page 22: Electrical Interface

    7.Electrical Interface 7. Electrical Interface 7.1. LED Light An LED light is set on the back cover of camera which indicates camera's status, as shown in Table 7-1. LED light can display 3 colors: red, yellow and green. LED status Camera status The camera is powered off Solid red...
  • Page 23: Line0 (Opto-Isolated Input) Circuit

    7.Electrical Interface The polarity of GPIO pins cannot be reversed, otherwise, camera or other peripherals could burn out. 7.3.1.1. Line0 (Opto-isolated Input) Circuit Hardware schematics of opto-isolated input circuit is shown as Figure 7-1. External circuit Camera internal circuit 5V-24V 3.3V Line0+ FPGA INPUT0...
  • Page 24 7.Electrical Interface External circuit Power+ Pull-up Camera internal circuit resistor 3.3V Line0+ Signal output FPGA INPUT0 Line0- Figure 7-2 NPN photosensor connected to opto-isolated input circuit External circuit Power+ Camera internal circuit 3.3V Line0+ Signal output FPGA INPUT0 Line0- Figure 7-3 PNP photosensor connected to opto-isolated input circuit ⚫...
  • Page 25: Line2 (Bidirectional) Circuit

    7.Electrical Interface LINE0+ INPUT0 0.8V TRIGIN_R_DELAY TRIGIN_F_DELAY Figure 7-4 Parameter of opto-isolated input circuit ⚫ Rising time delay (TRIGIN_R_DELAY): the time required for the response to the decrease to 0.8V of INPUT0 from 50% rising of LINE0+ ⚫ Falling time delay (TRIGIN_F_DELAY): the time required for the response to the rise to 2V of INPUT0 from 50% falling of LINE0+ 7.3.1.2.
  • Page 26 7.Electrical Interface 1.8V External circuit Camera internal circuit FPGA INPUT2 Line2 Input+ Input- Figure 7-6 Internal equivalent circuit of camera when Line2 is configured as input To avoid the damage of GPIO pins, please connect GND pin before supplying power to Line2. ⚫...
  • Page 27: Line2 Is Configured As Output

    7.Electrical Interface External circuit 1.8V Power+ Camera internal circuit Line2 FPGA INPUT2 Signal output Pull-down resistor PWR GND Camera GND Figure 7-8 PNP photoelectric sensor connected to Line2 input circuit ⚫ When LIine2 is configured as input, pull-down resistor over 1K should not be used, otherwise the input voltage of Line2 will be over 0.6V and logic 0 cannot be recognized stably ⚫...
  • Page 28 7.Electrical Interface OUTPUT2 LINE2 Figure 7-9 Parameter of opto-isolated output circuit ⚫ Delay time (td): the time required from 50% rising of OUTPUT2 to the decrease to 90% of the maximum value of LINE2 ⚫ Falling time (tf): the time taken for the amplitude of LINE2 to decrease from 90% to 10% of the maximum value ⚫...
  • Page 29 7.Electrical Interface External circuit Camera internal circuit EXVCC(5-24V) Line2 33ΩPTC OUTPUT2 Figure 7-10 Internal equivalent circuit of camera when Line2 is configured as output © China Daheng Group, Inc. Beijing Image Vision Technology Branch...
  • Page 30: Features

    8.Features 8. Features 8.1. I/O Control 8.1.1. VEN-U3 Series 8.1.1.1. Input Mode Operation Configuring Line as input The VEN-U3 series camera has two input signals: Line0 and Line2. In which the Line0 is uni-directional opto-isolated input, Line2 is bi-directional line which can be configured as input or output. The camera's default input is Line0 when the camera is powered on.
  • Page 31: Output Mode Operation

    8.Features Example 1: Setting the trigger delay value to 1000ms, and the trigger signal will be valid after 1000ms delay, as shown in Figure 8-2. Input Signal Delay Time 100 0ms Trigger Delay Valid Signal Figure 8-2 Trigger delay schematic diagram Input Inverter The signal level of input lines is configurable for the VEN-U3 series camera.
  • Page 32 8.Features Each output source of the output line is configurable, and the output source includes: Strobe, UserOutput0, UserOutput1, UserOutput2. The default output source of the camera is UserOutput0 when the camera is powered on. What status (high or low level) of the output signal is valid depends on the specific external circuit. The following signal diagrams are described as examples of active low.
  • Page 33: Read The Linestatus

    8.Features The default output signal level is false when the camera is powered on, indicating that the output line level is not reversed. If it is set as true, indicating that the output line level is reversed. As shown in the Figure 8-3 and Figure 8-5.
  • Page 34: Acquisition Stop

    8.Features Start Status … … Exposure … … Reading out Figure 8-6 Continuous acquisition process In continuous mode, a camera starts to expose and read out after receiving the AcquisitionStart command. The frame rate is determined by the exposure time, ROI and some other parameters. ⚫...
  • Page 35: Acquisition Mode

    8.Features Stop command Stop time Complete stop Exposure Incomplete frame Reading out Figure 8-8 Acquisition stop during reading out As shown in Figure 8-8, when the camera receives an AcquisitionStop command during reading out, it stops transferring frame data immediately. The currently transferred frame data is regarded as incomplete frame and will be discarded.
  • Page 36: Switching Trigger Mode

    8.Features acquire a frame of image until the AcquisitionStop command is executed. It is not necessary to execute the AcquisitionStart command every time. 2) When the trigger mode is set to Off After executing the AcquisitionStart command, the camera will continuously acquire images until it receives the AcquisitionStop command.
  • Page 37: Continuous Mode And Configuration

    8.Features Mode Continuous mode Continuous mode Trigger mode Trigger … … Acquisition frame5 frame2 frame3 frame4 frame6 … … frame1 Camera Continuous Frame Trigger Frame Continuous Frame output Figure 8-11 Switch trigger mode during blanking As shown in Figure 8-11, the camera with trigger mode OFF begins after receiving an AcquisitionStart command.
  • Page 38: External Trigger Acquisition And Configuration

    8.Features Set the Trigger Source to Software. Send Software Trigger command. All the software trigger commands are sent by the host through the USB3.0 bus, to trigger the camera to acquire and transmit images. Software trigger acquisition features ⚫ In software trigger acquisition mode, the camera begins to acquire one image after receiving software trigger commands.
  • Page 39: Set Exposure

    8.Features The camera's trigger source Line0 uses opto-isolated circuit to isolate signal. Its internal circuit delay trigger signal and rising edge's delay time is less than falling edge's. There are a dozen clock cycles delay of rising edge and dozens clock cycles delay of falling edge. If you use Line0 to trigger the camera, the positive pulse signal's positive width will be wider (about 20-40μs) and the negative pulse signal's negative width will be narrower (about 20-40μs).
  • Page 40: Set Exposure Value

    8.Features Avoid overtriggering in Timed exposure mode. If the Timed exposure mode is enabled, do not attempt to send a new trigger signal while the previous exposure is still in progress. Otherwise, the trigger signal will be ignored, and a FrameStartOvertrigger event will be generated. b) TriggerWidth exposure mode In TriggerWidth exposure mode, the length of exposure is determined by the width of the external trigger signal.
  • Page 41 8.Features The time width of the flash signal can be got by the following formula: ������������ ���������������� All lines transfer electrons from All lines are exposing at the same time exposure area to storage area Reading electrons from storage area line by line Exposure time Readout time Time...
  • Page 42: Overlapping Exposure

    8.Features 8.2.8. Overlapping Exposure There are two stages in image acquisition of the VEN-U3 series camera: exposure and readout. Once the camera is triggered, it begins to integrate and when the integration is over, the image data will be read out immediately.
  • Page 43: Basic Features

    8.Features 8.3. Basic Features 8.3.1. Gain The VEN-U3 series camera can adjust the analog gain, and the range of analog gain is as follows: Model Adjustment Range Default/Steps VEN-161-61U3M-(M01/M05/M06) 0-24dB 0dB, 0.1dB Table 8-3 VEN-U3 series camera analog gain adjustment range When the analog gain changes, the response curve of the camera changes, as shown in Figure 8-19.
  • Page 44 8.Features Model Pixel Format VEN-161-61U3M-(M01/M05/M06) Mono8, Mono10 Table 8-4 Pixel format that the VEN-U3 series camera supported The image data starts from the upper left corner, and each pixel is output brightness value of each pixel line from left to right and from top to bottom. ⚫...
  • Page 45 8.Features …… …… …… Among them Y00, Y01, Y02…are the gray value of each pixel that start with the first row of the image. The first byte of each pixel is low 8 bits of brightness, and the second byte of each pixel is high 8 bits of brightness.
  • Page 46: Roi

    8.Features When the pixel format is set to BayerRG10 or BayerRG12, the value of each pixel in the output image of the camera is 16 bits. According to the location difference, the three components of red, green and blue are respectively represented. The format in the memory is as follows: ……...
  • Page 47: Auto Exposure/Auto Gain

    8.Features When reducing the height of the ROI, the maximum frame rate of the camera will be raised. Please refer section 8.4.1 for specific effects on the acquisition frame rate. 8.3.4. Auto Exposure/Auto Gain ⚫ ROI Setting of Auto Exposure/ Auto Gain For Auto Exposure and Auto Gain, you can specify a portion of the sensor array and only the pixel data from the specified portion will be used for auto function control.
  • Page 48 8.Features 1000 1024 Figure 8-23 An example for the relative position between the ROI and the current image ⚫ Auto Gain The auto gain can adjust the camera's gain automatically, so that the average gray value in AAROI is achieved to the expected gray value. The auto gain can be controlled by "Once" and "Continuous" mode. When using the "Once"...
  • Page 49: Test Pattern

    8.Features The expected gray value is set by the user and it is related to the data bit depth. For 8bit pixel data, the expected gray value range is 0-255, and for 12bit pixel data, the expected gray value range is 0-4095. The camera adjusts the exposure time in the range [minimum exposure time, maximum exposure time] which is set by the user.
  • Page 50 8.Features or the user configuration parameters (UserSet) to the current effective configuration parameters. The UserSetDefault is refer to the user can specify a set of parameters which to be loaded into the effective configuration parameters automatically when the camera is reset or powered on. And the camera can work under this set of parameters.
  • Page 51: Device User Id

    8.Features ⚫ EventNotification ⚫ TriggerMode, TriggerSource, TriggerPolarity, TriggerDelay ⚫ TriggerFilterRaisingEdge, TriggerFilterFallingEdge ⚫ LineMode, LineInverter, LineSource, UserOutputValue ⚫ ChunkModeActive ⚫ TestPattern ⚫ ExpectedGrayValue ⚫ ExposureAuto, AutoExposureTimeMax, AutoExposureTimeMin ⚫ GainAuto, AutoGainMax, AutoGainMin AAROIOffsetX, AAROIOffsetY, AAROIWidth, AAROIHeight ⚫ BalanceWhiteAuto, AWBLampHouse ⚫ AWBROIOffsetX, AWBROIOffsetY, AWBROIWidth, AWBROIHeight ⚫...
  • Page 52: Reverse X And Reverse Y

    8.Features Figure 8-25 GalxyView software Set by calling the software interface, for details please see the Programmer's Guide. When using multi-cameras at the same time, it is necessary to ensure the uniqueness of the user-defined name of each camera, otherwise, an exception will occur when the camera is opened.
  • Page 53 8.Features Figure 8-28 The original image Figure 8-29 Reverse Y enabled Enabling Reverse X and Y ⚫ To enable Reverse X and Y, set the ReverseX and ReverseY parameters to true. The camera mirrors the image horizontally and vertically. Figure 8-30 The original image Figure 8-31 Reverse X and Y enabled ⚫...
  • Page 54: User Data Area

    8.Features Figure 8-34 Reverse Y enabled Figure 8-35 Reverse X and Y enabled The alignment of the Bayer format does not change when the camera is using the reverse feature (VEN- 161-61U3 cameras have no color models). Camera models that support this feature: Model VEN-161-61U3M-(M01/M05/M06) 8.3.9.
  • Page 55: Usb Interface Bandwidth

    8.Features Width: The current image width. Height: The current image height. PixelSize: The size of the pixel, in 8bit mode, the value is 1, and in 10bit/12bit mode, the value is 2. BandWidth : The bandwidth of the USB interface, unit: Bps. DeviceLinkThroughputLimit: The limit of the device link throughput bandwidth, unit: Bps.
  • Page 56: Camera Acquisition Time

    8.Features 8.4.4. Camera Acquisition Time The acquisition time of the camera is related to the OffsetY and height of the image ROI. When the OffsetY and height change in the ROI setting, it will affect the frame period captured by the camera front end, which will affect the acquisition frame rate.
  • Page 57: Software Tool

    9.1. LUT Create Tool 9.1.1. GUI LUT Create Tool, which supports all series of DAHENG IMAGING cameras. This plugin is integrated into GalaxyView.exe. After opening the device that you want to operate through this software, you can open LUT Create Tool from the menu bar plugin list. With the plugin you can achieve the following functions: Adjust the image Gamma, brightness, and contrast.
  • Page 58: User Guide

    9.Software Tool After opening the device and LUT Create Tool through GalaxyView.exe, the initial GUI is shown in Figure 9-1. The layout and function description of widgets are as follows: [GroupBox] Select Lut from standard Lut, read from device, Lut file, CSV file and default. Among them, standard Lut is eight groups of factory standard Luts.
  • Page 59 9.Software Tool Figure 9-2 Standard Lut Read From device When you select read from device, the tool will automatically load UserSet0, and then load the Lut saved by the device. If the device supports LUTEnable, it will automatically set LUTEnable to true to display the image effect in real time, the GUI is as shown in Figure 9-3.
  • Page 60 9.Software Tool Figure 9-3 Do not support "Read From Device" When selecting "Read From Device", the polyline graph and image effects are updated to the lookup table in the device. When selecting the standard Lut or default Lut and selecting "Write To Device", then when reading, the written parameters will be updated to the GUI.
  • Page 61 9.Software Tool Figure 9-4 Select "Read From Device" Lut file After selecting the Lut file, a dialog box for selecting the file will pop up. You can select the file in the format of .lut, and update the polyline diagram and image acquisition effect of the device. If you select standard Lut or default Lut, and auto create Lut, the widget interface will update the parameters stored when saving Lut (the updated parameter values include Lut range, Gamma, brightness, contrast, and the values selected by the standard Lut drop-down box).
  • Page 62: Auto Create Lut

    9.Software Tool Figure 9-5 Select CSV file CSV file can be manually modified by users. Currently, csv storage format saves decimal number of every four bytes to the first cell of each line in the file, and the maximum value of the number in each cell is 4095, a total of 4096 lines.
  • Page 63: Save Lut

    9.Software Tool After selecting the GroupBox, when the above parameters are modified, the generated Lut will be written to the device Flash in real time. At this time, the "Write To Device" is not selected. After the device is powered off and restarted, the modified parameters will be lost. The generated Lut cannot be restored by "Read From Device".
  • Page 64: Write To Device

    9.Software Tool 9.1.3.2. Write To Device In order to ensure that the device will restore the effect before power off after the device is power-on again. When writing to device, it will set the parameter set to UserSet0 and set the UserSetDefault to UserSet0. If you do not want to restore the case and the Lut in the flash after powering off and restarting the device, please use the "Write To Device"...
  • Page 65 9.Software Tool The DeviceLinkThroughputLimit represents the maximum bandwidth of the image transmitted by the camera. The MaxUSBControllerThroughputLimit represents the recommended maximum transmission bandwidth of the camera. If this value is exceeded, frame losing may occur. The AcquisitionFrameRate represents the maximum value of the frame rate control when the AcquisitionFrameRateMode is set to on, and whether the maximum value can be reached depends on whether the camera is affected by other acquisition parameters.
  • Page 66: Faq

    10.FAQ 10. FAQ General Question Answer On the unactivated Windows7 64bit Activate Windows7 64bit system, uninstall the system, the installation of Galaxy SDK package, restart the system, reinstall the package has been successfully, but open the and reopen the demo program. demo program failed.
  • Page 67 10.FAQ Camera crashes on Advantech AIIS- Be sure the driver version of AMD USB controller 1440 IPC. is later than 2.20. © China Daheng Group, Inc. Beijing Image Vision Technology Branch...
  • Page 68: Revision History

    11.Revision History 11. Revision History Version Changes Date V1.0.0 2020-09-14 Initial release © China Daheng Group, Inc. Beijing Image Vision Technology Branch...
  • Page 69: Contact Us

    12.Contact Us 12. Contact Us 12.1. Contact Sales If you need to order products or inquire product information, please contact our sales: Beijing Headquarters Tel: 010-82828878 Fax: 010-82563343 Email: isales@deheng-imaging.com Shanghai Office Tel: 021-35312826 Fax: 021-65201839-128 Email: shanghai@daheng-imaging.com Shenzhen Office Tel: 0755-83479565 Fax: 0755-82044020 E-mail:...
  • Page 70: Contact Support

    12.Contact Us Email: xian@daheng-imaging.com 12.2. Contact Support If you have any questions in using DAHENG IMAGING products, please contact the experts on our support team: Tel: 400-999-7595 Email: isupport@daheng-imaging.com © China Daheng Group, Inc. Beijing Image Vision Technology Branch...

Table of Contents