background image

NI Vision

NI 17xx Smart Camera User Manual

NI 17xx Smart Camera User Manual

June 2008
372429B-01

Summary of Contents for NI Vision NI 17xx

Page 1: ...NI Vision NI 17xx Smart Camera User Manual NI 17xx Smart Camera User Manual June 2008 372429B 01...

Page 2: ...ebanon 961 0 1 33 28 28 Malaysia 1800 887710 Mexico 01 800 010 0793 Netherlands 31 0 348 433 466 New Zealand 0800 553 322 Norway 47 0 66 90 76 60 Poland 48 22 3390150 Portugal 351 210 311 210 Russia 7...

Page 3: ...luding photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation National Instruments r...

Page 4: ...t of Communications DOC Changes or modifications not expressly approved by NI could void the user s authority to operate the equipment under the FCC Rules Class A Federal Communications Commission Thi...

Page 5: ...I Vision Builder for Automated Inspection 1 4 LabVIEW 1 5 LabVIEW Real Time Module 1 5 NI Vision Development Module 1 5 NI Vision Acquisition Software 1 6 Chapter 2 Power and I O POWER I O Connector 2...

Page 6: ...5 1 Acquiring Images 5 2 Internal Timing 5 2 External Trigger 5 3 Maximum Frame Rate 5 6 Determining the Maximum Frame Rate 5 7 Determining the Scan Mode 5 7 Determining the Exposure Time 5 8 Determi...

Page 7: ...7 2 DHCP and Static IP Address Assignment 7 3 Firewall Considerations 7 4 Subnet Considerations 7 4 Chapter 8 Thermal Considerations and Mounting Thermal Considerations 8 1 Mounting the NI Smart Came...

Page 8: ...duct refer to Getting Started with the NI 17xx Smart Camera for information about precautions to take When symbol is marked on a product it denotes a warning advising you to take precautions to avoid...

Page 9: ...ents in the NI Developer Zone Using the NI 17xx Smart Camera Direct Drive Lighting Controller Demonstrates how to utilize the Direct Drive lighting controller feature on the NI 17xx Smart Camera with...

Page 10: ...n Concepts Manual Describes the basic concepts of image analysis image processing and machine vision This document also contains in depth discussions about imaging functions for advanced users NI Visi...

Page 11: ...incorporate an image sensor processor and digital I O in a compact rugged housing Table 1 1 shows the differentiating features for each smart camera model Table 1 1 NI Smart Camera Models NI Smart Cam...

Page 12: ...ler is an integrated controller to directly power a variety of third party current controlled lights Refer to Chapter 4 Lighting for more information about the Direct Drive lighting controller The sma...

Page 13: ...n 1 3 NI 17xx Smart Camera User Manual Figure 1 1 shows the smart camera Figure 1 1 NI Smart Camera 1 Image Sensor 2 Standard C Lens Mount 3 Lighting Connector 4 LEDs 5 DIP Switches 6 POWER I O Connec...

Page 14: ...evelopment Module are sold separately NI Vision Builder for Automated Inspection Vision Builder for Automated Inspection Vision Builder AI is configurable machine vision software you can use to config...

Page 15: ...s VIs without a user interface and offers a stable platform for real time VIs For more information about the LabVIEW Real Time Module refer to the LabVIEW Help NI Vision Development Module The NI Visi...

Page 16: ...lso controls the I O and image acquisition on the smart camera NI IMAQ includes an extensive library of VIs you can call from LabVIEW These VIs include routines for video configuration continuous and...

Page 17: ...r the POWER I O connector The two pins used to connect to a power supply pin 15 and pin 5 are also shown in the table Refer to Getting Started with the NI 17xx Smart Camera for information about conne...

Page 18: ...strobe is an unregulated output dependent on the range of the power supply provided to the smart camera If the power provided to the smart camera is 20 15 with 5 AC ripple the external lighting strob...

Page 19: ...age the NI Smart Camera Caution The isolated inputs and outputs on the smart camera provide an easy means for preventing ground loops that could degrade signal integrity The isolation on the smart cam...

Page 20: ...with any external power supply greater than 30 VDC Voltages greater than 30 VDC may damage the NI Smart Camera Caution The isolated inputs and outputs on the smart camera provide an easy means for pre...

Page 21: ...used to drive external loads as shown in Figures 2 3 and 2 4 Figure 2 3 Connecting an Isolated Output to a Sourcing External Load Figure 2 4 Connecting an Isolated Output to a Sinking External Load So...

Page 22: ...ct the RS232_TXD signal on the smart camera to the Rx signal on your serial device Connect COM on the smart camera to the ground of your serial device When the CONSOLE DIP switch is in the OFF positio...

Page 23: ...specify your trigger delay in terms of positional units such as inches or centimeters after applying the resolution information of your encoder rather than time National Instruments does not recommend...

Page 24: ...2 5 Connecting Differential Line Drivers Figure 2 6 shows the internal quadrature encoder RS 422 input circuit Figure 2 6 NI Smart Camera Quadrature Encoder Input Circuit Phase A Phase A Phase A Phase...

Page 25: ...r system includes the object you want to inspect To calculate the horizontal and vertical field of view FOV of your imaging system use Equation 3 1 and the specifications for the image sensor of your...

Page 26: ...an mode is 3 2 Similarly the field of view in the vertical direction is 3 3 Based on the result of Equations 3 2 and or 3 3 you can see that you might need to adjust the various parameters in the FOV...

Page 27: ...f light from the scene Refer to Appendix A Specifications to find the normalized spectral response curves for the VGA and SXGA sensors Partial Scan Mode Partial scan mode is a method of obtaining high...

Page 28: ...cal direction The NI Smart Camera supports 1 2 binning Figure 3 3 illustrates what happens to the sensor output during binning Figure 3 3 Binning Gain Gain is a multiplier applied to the analog signal...

Page 29: ...in the brightest areas of the image Gain can be useful when there is not enough available light and you need to increase the brightness of your images However increasing gain multiplies both the signa...

Page 30: ...e background region are set to the image white value Figure 3 5 illustrates binarization and inverse binarization Figure 3 5 Binarization and Inverse Binarization You can enable hardware binarization...

Page 31: ...I Smart Camera to control a light Lighting Connector Figure 4 1 shows the lighting connector on the NI Smart Camera Caution All signals on the lighting connector are outputs from the smart camera Do n...

Page 32: ...e controller can operate in continuous or strobed mode When operating in strobed mode the controller can provide more current to the light than in continuous mode The average power dissipated while st...

Page 33: ...Direct Drive lighting controller in strobed mode care must be taken to ensure that the resulting strobe duty cycle and strobe duration do not violate the limits of the Direct Drive lighting controller...

Page 34: ...support regarding this lighting data file or the light to which it refers Not Digitally Signed The information contained within the lighting file meets the requirements of Direct Drive lighting howeve...

Page 35: ...ly to the following NI Smart Cameras National Instruments software provides support for a variety of lights from major machine vision lighting companies However if your light is not in the list of sup...

Page 36: ...the smart camera Note The voltage drop of a light can vary significantly with environmental conditions such as ambient temperature current supplied and strobe time Refer to Appendix A Specifications f...

Page 37: ...The 24 V strobe output is nominally a 24 V output if 24 V power is supplied to the smart camera Caution The 24 V external lighting strobe is an unregulated output dependent on the range of the power s...

Page 38: ...bVIEW configure the 24V Strobe and 5V Strobe lighting properties Refer to the NI IMAQ VI Reference Help for more information about configuring the 5 V TTL and 24 V strobe outputs In MAX select the 5 V...

Page 39: ...Manual Figure 4 4 illustrates how to connect an external lighting controller to the 24 V output on the NI Smart Camera Figure 4 4 Connecting an External Lighting Controller to the 24 V Strobe Output...

Page 40: ...of a time relative to the amount of light in the environment results in a dark low contrast image Exposing the image sensor for too long of a time relative to the amount of light in the environment r...

Page 41: ...mple in a building with windows the ambient light can vary significantly with weather Also standard fluorescent lighting flickers at a rate that is perceivable by the smart camera In these situations...

Page 42: ...ion of a signal generated by a proximity sensor You can trigger the smart camera at rates up the maximum frame rate Refer to the Maximum Frame Rate section for information about factors that affect th...

Page 43: ...nal trigger configured to use the rising edge as the active edge The time between the active edge of the trigger and the assertion of the lighting strobe is a user configurable trigger delay The trigg...

Page 44: ...n the part is positioned in front of the smart camera regardless of changes in speed of the conveyor belt For other applications a delay specified in milliseconds is sufficient If you are strobing a l...

Page 45: ...riod is the time from the start of exposure on one frame to the start of exposure on the next frame as shown in Figure 5 2 Figure 5 2 Frame Period The frame period is affected by the following factors...

Page 46: ...g the Scan Mode section and min frame period is the minimum amount of time for the strobe and trigger mode as described in the Calculating the Minimum Frame Period section Determining the Scan Mode Th...

Page 47: ...strobe outputs of the smart camera the smart camera can expose one image while it is reading out the previous image allowing for the highest possible frame rates Figure 5 3 illustrates this relations...

Page 48: ...mum frame period the trigger delay value further limits the min frame period When the trigger delay is specified in milliseconds the software includes this in the calculation of the maximum frame rate...

Page 49: ...Tables 5 1 and 5 2 list the values for the trigger synchronization variability and the lighting turn on time respectively The image readout duration varies depending on the smart camera configuration...

Page 50: ...This chapter provides information about the location and functionality of the LED indicators and DIP switches on the NI Smart Camera Understanding the LED Indicators Figure 6 1 shows the location of...

Page 51: ...eceive an IP address within 60 seconds the device automatically restarts and tries again The smart camera attempts to acquire an IP address from a DHCP server three times If after the third time the s...

Page 52: ...with the NI 17xx Smart Camera for information about installing software on the smart camera 3 Flashes Green The smart camera is in safe mode because the SAFE MODE DIP switch is in the ON position Refe...

Page 53: ...t is user configurable through the IMAQ property node in LabVIEW or the Read Write I O step in Vision Builder AI FAIL LED The FAIL LED is a red LED that is user configurable through the IMAQ property...

Page 54: ...TUS LED flashes green three times when the smart camera is in safe mode Keep the SAFE MODE switch in the OFF position during normal operation IP RESET Switch To clear the NI Smart Camera IP settings m...

Page 55: ...e NO APP switch in the OFF position during normal operation CONSOLE Switch With a serial port terminal program you can use the CONSOLE switch to read device information from the NI Smart Camera during...

Page 56: ...ry port The primary port can be configured to acquire an IP address from a DHCP server The secondary port can only be configured for a static IP address Both Ethernet ports of the smart camera can con...

Page 57: ...rnet cable The LED is unlit when no cable is connected or if the smart camera or the device connected at the other end of the cable are powered down The LED is solid green when a link is established b...

Page 58: ...smart camera Also the DHCP server does not allow other devices to use the IP address that is already assigned to your smart camera Although using a DHCP server makes configuring an IP address easy con...

Page 59: ...st computer The first time you configure the smart camera you must also install software on it After configuring the smart camera use DHCP to assign an IP address or reassign a static IP address for t...

Page 60: ...ra Thermal Considerations The NI Smart Camera can operate in environments with ambient temperatures ranging from 0 to 45 C The maximum housing temperature of the smart camera is 65 C Refer to Appendix...

Page 61: ...reads 70 C or more the smart camera immediately halts operation and becomes unresponsive The IMG ACQ LED and the FAIL LED flash red You must remove and reapply power to the smart camera to recover fro...

Page 62: ...ngs necessary to create a custom mount for the smart camera Figure 8 2 Back View of the NI Smart Camera with Dimensions Figure 8 3 Front View of the NI Smart Camera with Dimensions 85 80 mm 3 378 in 6...

Page 63: ...de View of the NI Smart Camera with Dimensions Figure 8 5 Bottom View of the NI Smart Camera with Dimensions 50 62 mm 1 993 in 44 14 mm 1 738 in 117 66 mm 4 632 in 33 12 mm 1 304 in 24 78 mm 0 975 in...

Page 64: ...20 15 IEC 1311 450 mA NI 1742 1744 1762 1764 Direct Drive disabled 24 VDC 20 15 IEC 1311 450 mA Direct Drive enabled 24 VDC 20 15 IEC 1311 800 mA Reverse polarity protection Yes Memory SDRAM 128 MB No...

Page 65: ...scan 7 4 m horizontal 7 4 m vertical Binning 1 2 7 4 m horizontal 14 8 m vertical Maximum frame rate1 Full scan Up to 60 fps 1 2 scan Up to 109 fps 1 4 scan Up to 175 fps Binning 1 2 Up to 114 fps Op...

Page 66: ...SXGA Sensor NI 1744 1764 Only Sensor Sony CCD ICX205AL Active pixels SXGA Full scan 1 280 1 024 1 2 scan 1 280 512 1 4 scan 1 280 256 Binning 1 2 1 280 512 Pixel size 4 65 m 4 65 m Pixel pitch Full sc...

Page 67: ...8 bits 256 gray levels Minimum exposure time 76 68 s Exposure time increment 71 6 s Spectral characteristics Refer to Figure A 2 Figure A 2 SXGA Sensor Spectral Response Curve Gamma 1 0 fixed 1 Refer...

Page 68: ...wer supply Minimum voltage drop across LED LED terminals 7 V Strobe frequency Operating frame rate Maximum strobe duty cycle 45 5 V external strobe Polarity Programmable Strobe frequency Operating fra...

Page 69: ...Default baud rate 9 600 bps Hardware flow control No Optically Isolated Inputs and Outputs Isolated Inputs Channels 2 Input type Sinking sourcing both inputs must have the same configuration Digital l...

Page 70: ...1 77 cm 8 58 cm 5 06 cm 4 63 in 3 38 in 1 99 in Weight 525 g 18 52 oz Environmental The NI Smart Camera is intended for indoor use only Operating temperature Ambient temperature 0 to 45 C Maximum came...

Page 71: ...ical equipment for measurement control and laboratory use EN 61326 EMC requirements Minimum Immunity EN 55011 Emissions Group 1 Class A CE C Tick ICES and FCC Part 15 Emissions Class A Note For full E...

Page 72: ...he Environment Web page at ni com environment This page contains the environmental regulations and directives with which NI complies as well as other environmental information not included in this doc...

Page 73: ...pter 7 Ethernet Ports for more information Another device on the network is using the IP address assigned to the smart camera This can happen when you assign the same static IP to two devices you assi...

Page 74: ...ured state the smart camera has an IP address of 0 0 0 0 and only limited software loads In the unconfigured state the smart camera has network connectivity If the smart camera is on the same subnet a...

Page 75: ...to bring the voltage drop within the specified range of the smart camera Refer to Appendix A Specifications for more information The smart camera ran out of memory The reason may be that acquired imag...

Page 76: ...ity LED pin to the anode and LED pin to cathode You have properly configured the maximum light settings in MAX or Vision Builder AI For safety reasons the default configuration of the smart camera doe...

Page 77: ...ications for more information The voltage drop of the light may have exceeded the maximum voltage or minimum voltage requirements of the smart camera The voltage drop of a light can vary significantly...

Page 78: ...ect the appropriate strobe from the External Strobe Generation control Triggering Problems No Trigger is Received If you are not receiving a trigger verify the following The trigger is wired to the Tr...

Page 79: ...LED does not light up check that the power supply is 24 V 20 15 and within the specifications outlined in Appendix A Specifications Verify that the power supply can supply enough current for the smart...

Page 80: ...from dust and dirt Avoid drastic temperature changes to prevent dew condensation When necessary use the following procedure to clean the sensor at a workstation equipped with anti ESD facilities If d...

Page 81: ...ard Service Program Membership This program entitles members to direct access to NI Applications Engineers via phone and email for one to one technical support as well as exclusive access to on demand...

Page 82: ...c compatibility EMC and product safety You can obtain the DoC for your product by visiting ni com certification If you searched ni com and could not find the answers you need contact your local office...

Page 83: ...r 255 and the background has a pixel intensity of 0 C CCD Charge Coupled Device A chip that converts light into electronic signals D DIP switch Dual Inline Package switch Direct Drive lighting control...

Page 84: ...ratio of output to input I IEC International Electrotechnical Commission A standard setting body IEEE Institute of Electrical and Electronics Engineers A standard setting body I O Input output The tr...

Page 85: ...om each other The phase difference indicates the position and direction of rotation R rising edge The digital signal transition from the low state to the high state RS 232 Standard electrical interfac...

Page 86: ...r Any event that causes or starts some form of data capture V VDC Volts direct current VGA sensor Video Graphics Array sensor Image sensor that features a resolution of 640 480 pixels VI Virtual Instr...

Page 87: ...5 sinking output sensors to isolated inputs 2 4 sourcing output sensors to isolated inputs 2 3 to a quadrature encoder 2 7 to serial devices 2 6 CONSOLE DIP switch 6 6 conventions used in the manual i...

Page 88: ...nnector 4 1 controller 4 2 files 4 4 turn on time 5 5 LUT lookup table See hardware binarization N National Instruments support and services D 1 NI 17xx acquiring images 5 2 assigning an IP address 7...

Page 89: ...PASS LED 6 4 power 2 1 requirements 2 2 POWER LED 6 2 POWER I O connector 2 1 pin descriptions 2 1 programming examples NI resources D 1 protecting against inductive loads 2 6 Q quadrature encoder 2 7...

Page 90: ...error indications B 7 lighting problems B 4 network problems B 1 NI resources D 1 run time problems B 3 triggering problems B 6 U understanding LED indicators 6 1 V VGA sensor 3 1 Vision Acquisition...

Reviews: