Home

NI 17xx Smart Camera User Manual

image

Contents

1. Sensor i Power Trigin Isoln 0 i e Te t NPN Sinking T Isona Output Device i o Tign Sensor Isoln 0 i Common Isoln 1 NI 17XX ee j Isolated Outputs A Caution Do notpower the load connected to the isolated outputs with any external power supply greater than 30 VDC Voltages greater than 30 VDC may damage the NI Smart Camera A 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 camera is not safety isolation The isolated outputs can be 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 Sensor Power E eee peaeto eT IsoOut Sourcing Load Sensor Common lsoOut 2 4 ni com NI 17xx Smart Camera User Manual Figure 2 4 Connecting an Isolated Output to a Sinking External Load A Sensor Power aca aca a ace lsoOut IsoOut Sinking Load Li D Sensor Common Protecting Against Inductive Loads When an inductive load such as a relay or solenoid is connected to an output a large counter electromotive force may occur at switching time due to energy stored in the inductive load This flyback voltage can damage the outputs a
2. eeee 50 g 3 ms half sine 18 shocks at 6 orientations 30 g 11 ms half sine 18 shocks at 6 orientations Operating vibration Random IEC 60068 2 34 ceceeeees 10 Hz to 500 Hz 10 Grms 100 min per axis Swept sine IEC 60068 2 6 10 Hz to 500 Hz 10 g Approved at altitudes up to 2 000 m Safety The NI Smart Camera meets the requirements of the following standards for safety and electrical equipment for measurement control and laboratory use e TEC 61010 1 EN 61010 1 e UL 61010 1 CSA 61010 1 Note For UL and other safety certifications refer to the product label or visit ni com certification search by model number or product line and click the appropriate link in the Certification column Electromagnetic Compatibility The NI Smart Camera meets the following standards of EMC for electrical equipment for measurement control and laboratory use e EN 61326 EMC requirements Minimum Immunity e EN 55011 Emissions Group 1 Class A CE C Tick ICES and FCC Part 15 Emissions Class A Note For full EMC compliance operate this device with shielded cabling A 6 ni com NI 17xx Smart Camera User Manual CE Compliance CE The NI Smart Camera meets the essential requirements of applicable European Directives as amended for CE marking as follows e 2006 95 EC Low Voltage Directive safety e 2004 108 EC Electromagnetic Compatibility Directive EMC Note Refer to the Declaration of Conformity DoC for
3. Chapter 4 Lighting Lighting Connectotccdteddssies hated th Rie Benn eiatie ei ietiedein ies Bia 4 1 Direct Drive Lighting Controller cc cccceeseescesceseesceseeseeseeeeseceeceeceeceaesaesaeaaecaecaeeneeneeas 4 2 Lighting Filesi asant toutes eet AT AEA TETEA VAEA EEE TAAA TAA sabe 4 3 Selecting a Light wes ciccccvccveecccvceveevssvees ted ges sed e e i a ea 4 4 Connecting a Light to the Direct Drive Lighting Controller cee eeeeeeeeeeee 4 5 External Lighting Controllers ccccccecsessessesscesceseeseeseecceeceeceeceaesaeeaecaecaecaeeaeeseeaeeeeeeees 4 6 Connecting an External Lighting Controller to the NI Smart Camera 4 7 Chapter 5 Image Acquisition JED JOO NEA EE EEE E EE E AE S Acquiring Images eis cass sacen cen cen cescuvsuuceuceuccuceucesendendendentesdoneste ste she ia i Intemal Timing nina eine ited A eee eee E E R eae External Triggetssic titan Sek OG aa es eid Ao nad aed Maximum Frame Rate 0 ceeeeeeeeneeeceeeeeeeeee Determining the Maximum Frame Rate Determining the Scan Mode eee Determining the Exposure Time ec cceecseeecseseeeeeseserscseseescsaeeceecnenecsesnaecsecetaeens Determining the Lighting Mode 0 cc ccccecssessesceseeseeeeeseeeceecececseeaeeaeeaecnecaeeneeas Determining the Trigger Delay cece sessensesceseeeeceecneeeceeceesecnesevsesaeeesseeaeaeees Calculating the Minimum Frame Period eceesessseesereeseeceeceecseteceecnteecseseeeeens 5 7 Chapter 6 L
4. c006 24 VDC 20 15 IEC 1311 450 mA Direct Drive enabled cc08 24 VDC 20 15 IEC 1311 800 mA Reverse polarity protection cece Yes Memory SDRAM maratani nrto a Aes 128 MB Nonvolatile program data memory 0 128 MB Image data storage Processor NT 17225 sh Oe RA ERA a a A Freescale PowerQUICC II Pro 400 MHz NI 1742 4744 EEE EEAS Freescale PowerQUICC II Pro 533 MHz NI 1762 1164 occccicccsccgeivsstcasisectesatcescensevndsacdesess Freescale PowerQUICC II Pro 533 MHz and Texas Instruments DSP 720 MHz VGA Sensor NI 1722 1742 1762 Only DOMSOEL rrain a r E E Aa Sony CCD ICX424AL Active pixels VGA Pull scansa a 640 x 480 TQS Cath ATA E TANA ET 640 x 240 T A SCatls n e e E aE 640 x 120 Binning 1 x 2 640 x 240 Pixel Sieisen a 7 4 um x 7 4 um National Instruments A 1 Appendix A Specifications Pixel pitch for field of view calculation Full scan 1 2 scan 1 4 scan cee 7 4 um horizontal 7 4 um vertical Binning 1 X 2 sissisrissirsississrssisssisissssa 7 4 um horizontal 14 8 um vertical Maximum frame rate PUL seais oaa orarin Up to 60 fps 1 2 SCAM EEEE Up to 109 fps WA SCAM OPED E EEEE Up to 175 fps Binning 1 X2 risississriissresrcsiississisiissi Up to 114 fps Optical format cc eeeceeceeceeeeseeeeeneeeeeaeeaes 1 3 in Sensor Tead Out savscescgitasi sacar Agceeeedeacessecdesdiecs Progressive scan Bits per pixel 0 eceeeecesce
5. seseseseseseseeteesresereeretstrrsretsrsrerersrrene xii Chapter 1 NI Smart Camera Overview Hard ware Overview sien ea REE E A ERR EEA 1 1 SOM Ware OVEIvieW scscesc sce fos ceeconlon cect A sie cena ese eee a an a onai daaa anea 1 3 NI Vision Builder for Automated Inspection cccceceeeesesceeeceeeseesecsecaecaeeneeeeees 1 3 Tea V We vaca fed reek tee E ca exc oat cease A cauites vite ate ev antes ogee aaa ese LabVIEW Real Time Module ccecseseseeceeseeseeeeceeceeeessesersesaeeevseeeseeas NI Vision Development Module NI Vision Acquisition Software Chapter 2 Power and I O POWER I O Connector niinen ia a r E AAE cuvssbusbesnsusves NI Smart Camera Power Requirements cccccessessessessesseeseesceecesceseeeeeeeececeseeeeeeaeeaes Teolated INPUtSiccn sinnini iin i inik Isolated Outputs in E etal E E RA E O ead bdo eatoaaes Protecting Against Inductive Loads ssseseseesssseseeeessreeetestrtsrerststrrerersesrrrersrererete Connecting to Serial Devices 0 00 eee Communicating with the Console Connecting to a Quadrature Encoder ccc eesesseeceecseeecseseeseceesesscsaeseeseseeecsaeseeecseseeeeens Chapter 3 NI Smart Camera Image Sensor Fi ld OF VIEW pronior i aia EnEV E TRNA A RNR 3 1 Image Sensor Spectral RESPONSE ssent deresi nerona nesine rapie Endi 3 3 Partial Scat Moden ooien a E A S 3 3 BUN a A a n a Nas 3 4 Hardware Binarization National Instruments vii Contents
6. and EtherNet IP are trademarks of ODVA Go SensorDAQ and Vernier are registered trademarks of Vernier Software amp Technology Vernier Software amp Technology and vernier com are trademarks or trade dress Xilinx is the registered trademark of Xilinx Inc Taptite and Trilobular are registered trademarks of Research Engineering amp Manufacturing Inc FireWire is the registered trademark of Apple Inc Linux is the registered trademark of Linus Torvalds in the U S and other countries Handle Graphics MATLAB Real Time Workshop Simulink Stateflow and xPC TargetBox are registered trademarks and TargetBox and Target Language Compiler are trademarks of The MathWorks Inc Tektronix Tek and Tektronix Enabling Technology are registered trademarks of Tektronix Inc The Bluetooth word mark is a registered trademark owned by the Bluetooth SIG Inc The ExpressCard word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under license The mark LabWindows is used under a license from Microsoft Corporation Windows is a registered trademark of Microsoft Corporation in the United States and other countries Other product and company names mentioned herein are trademarks or trade names of their respective companies Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency partnership
7. ssesesesesieeretreeereererrererseee 0 55 V Jop MAXIMUM eee eeeceeceeeeeeeeeeeeeeeeeees 12mA Tog MAXIMUM seenen anaiena 12mA 24 V external strobe Olan ty es tae tiie Made Acta a ef Active high Operating frame rate Strobe frequency ON state Voltage oes eeeeccceecsecsecseeceeeteeeeeeeeeeee Unregulated output drawn from the smart camera power supply CUI ONE sucreries ei 16 mA maximum OFF state WOM tA GE sz ces vevecscscedbescest ess oedens coethsoeedbes Not driven Curent eieaa n Not applicable Network Network interface cceceseeseeseesecseeeeneeeeneee Ethernet POLES cee docates A E AE ATT NE 2 Speed rete sete sescas cds ceecaeteeeeanvedscvsacs aia 10 100 1 000 Mbps Duplexes eGR RE a Full half Speed autodetection 0 0 ccseseeseeseeeeeeeeeeeeees Yes Duplex autodetection cece seeeeeeereeeee Yes Auto MDI MDI X correction 0 0 ccceeseseeeees Yes DHCP Support s i svacwicnienae niesi Port 1 only A 4 ni com NI 17xx Smart Camera User Manual Serial Baud rates is aa niii E Up to 230 4 Kbps Default baud rate ee eeeeeseeseeteeneenes 9 600 bps Hardware flow Control eccecceseseeteeseeteeeeee No Optically Isolated Inputs and Outputs Isolated Inputs Chianitiel s i i 4 itis ccteseteledanettespeescaeeneda tes 2 loput typene aini Sinking sourcing both inputs must have the same configuration Digital logic levels OFF state Input current 0 mA to 0 1 mA Input voltage OVtolV
8. such as a short circuit on the LED output the smart camera stops image acquisition and returns an error The Direct Drive stops providing current to the light and the smart camera may restart Ensure that your lighting wire connections are correct and or reconfigure your lighting settings in MAX or Vision Builder AI You have requested an amount of current within the specified range of the smart camera and within the maximum lighting current settings you configured in MAX or Vision Builder AI If your application requests more current than either of these two options the smart camera disables the Direct Drive until an allowable current level is requested and the acquisition is reinitialized If you are strobing the on time required to illuminate for your requested exposure time plus the lighting turn on time does not exceed the maximum allowed strobe duration Refer to Chapter 5 Image Acquisition for more information Ifyou are strobing the duty cycle does not exceed the maximum allowed duty cycle at your requested frame rate Refer to Chapter 5 Image Acquisition for more information The on voltage of the light is within the specifications of the Direct Drive lighting controller Refer to Appendix A Specifications 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 with environmental condition
9. 0 0074 mm x 480 x 100 mm FOV vertical aac e 44 4 mm 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 equation until you achieve the right combination of components that match your inspection needs This might include increasing your working distance choosing a lens with a shorter focal length or changing to a high resolution camera 3 2 ni com NI 17xx Smart Camera User Manual Image Sensor Spectral Response The spectral response curve describes the relative sensitivity of the sensor to different wavelengths of light The peak responsiveness of the VGA and SXGA sensors is to light with a wavelength of approximately 500 nm If you are imaging a dim scene this information can be useful when selecting a light source to use in your application as the camera is most sensitive at its peak responsiveness It also helps determine what if any filters your application might require to remove undesired wavelengths of 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 higher frame rates by reading out only a portion of the image from the sensor Partial scan is frequently used when an application requires higher speed but less resolution than the sensor offers in full scan mode The NI Smart Camera supports 1 2 sc
10. 3 378 in 0 925 in Optical Axis E ee Y gt 24 25 mm 0 955 in Optical Axis 8 2 ni com NI 17xx Smart Camera User Manual Figure 8 3 Front View of the NI Smart Camera with Dimensions 30 89 mm 1 216 in al gt d i if q q aa ae O 32 80 mm 1 291 in S i 2 1 1 38 91 mm 1 532 in Figure 8 4 Side View of the NI Smart Camera with Dimensions 1 117 66 mm t 4 632 in 44 14 mm 1 50 62 mm 1 738 in 1 993 in Ao I 4 Figure 8 5 Bottom View of the NI Smart Camera with Dimensions 33 12 mm _ 1 304 in t lt gt 21 4imm WUA Hl 20 71 mm 0 843 in f A 0 815 in 24 78 mm i z i 0 975 in r r 25 45 mm T T i lt lt _ gt i 27 86 mm OOS IN 1 j gt 1 097 in Optical Axis a t 13 84 mm 0 545 in National Instruments 8 3 Specifications The following specifications apply to the NI 1722 1742 1744 1762 1764 Smart Camera These specifications are typical at 25 C unless otherwise stated Power Requirements Power consumption IND V7 22 A E setenv A coptece 24 VDC 20 15 IEC 1311 450 mA NI 1742 1744 1762 1764 Direct Drive disabled
11. 4 6 ni com NI 17xx Smart Camera User Manual strobe time the controller can be programmed for any arbitrary strobe duration and the assertion edge of the smart camera output can start the strobe timer in the controller A Caution Ifyou are using the 5 V strobe output or the 24 V strobe output the software does not impose any limits on the duration or the duty cycle of the strobe output You must ensure that your requested exposure time and the frame rate result in duration and duty cycle that do not violate the limits of the external controller and or light s Refer to the Maximum Frame Rate section of Chapter 5 Image Acquisition for more information Enable the 5 V and 24 V lighting outputs as follows e In Vision Builder AI enable the 5 V TTL Strobe and or 24 V Strobe controls on the Lighting tab of the Acquire Image Smart Camera step Refer to the N Vision Builder Jor Automated Inspection Configuration Help for more information about configuring the 5 V TTL and 24 V strobe outputs In LabVIEW 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 TTL Strobe and or 24 V Strobe checkboxes on the Lighting tab of the smart camera configuration page Refer to the Measurement amp Automation Explorer Help for NI IMAQ for more information about configuring the 5 V TTL and 24 V strobe
12. 8 17 ms NI 1744 NI 1764 76 47 ms 41 38 ms 24 70 ms 38 23 ms 5 8 ni com LEDs and DIP Switches 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 the LEDs on the NI Smart Camera Figure 6 1 NI Smart Camera LEDs O FAIL Pass O mG aca O status POWER Device Initialization While the NI Smart Camera initializes the POWER LED lights solid green and the STATUS IMG ACQ PASS and FAIL LEDs exhibit a scrolling pattern When the smart camera finishes initializing the STATUS LED lights solid green If the system does not initialize within the expected period of time the STATUS LED flashes a status code Refer to the STATUS LED section for information about the status codes National Instruments 6 1 Chapter 6 LEDs and DIP Switches The initialization scrolling pattern will last longer than usual if the smart camera is configured to acquire an IP address from a DHCP server but no DHCP server is available on the network When acquiring an IP address from a DHCP server the smart camera waits up to 60 seconds to acquire an IP address If the smart camera does not receive an IP address within 60 seconds the device automatically restarts and tries again The smart camera attempts to acquire
13. NI 1722 31 2 us NI 1742 NI 1762 NI 1744 71 6 us NI 1764 The amount of time required from the assertion of a trigger to the start of the light strobe and image exposure varies by application For example if a sensor that detects the presence of a part is positioned before the smart camera on a conveyor belt a trigger delay will be necessary so that the smart camera waits to expose the image until the part to be inspected passes in front of the smart camera In this case specifying the trigger delay in terms of quadrature encoder counts allows the smart camera to expose the image when 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 light there is a short delay while the lighting controller turns on the light This delay is represented by the lighting turn on time in Figure 5 1 Table 5 2 lists the lighting turn on times Table 5 2 Lighting Turn On Time Smart Camera Model Lighting Turn On Time NI 1722 156 ts NI 1742 NI 1762 NI 1744 143 2 us NI 1764 After the lighting turn on time the exposure begins The width of the exposure pulse determines how long the sensor is exposed The exposure time can be adjusted by setting the Exposure Time control in Vision Builder AI setting the Exposure Time property in LabVIEW or by setting the Exposure Time control
14. National Instruments will at its option repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period National Instruments does not warrant that the operation of the software shall be uninterrupted or error free A Return Material Authorization RMA number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this document is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition The reader should consult National Instruments if errors are suspected In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it EXCEPT AS SPECIFIED HEREIN NATIONAL INSTRUMENTS MAKES NO WARRANTIES EXPRESS OR IMPLIED AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHAL
15. ON state Input current oc cece npin 3 mA to 5 4 mA Input voltage ceeeeeceeeeeeeneee 20 V to 30 V Minimum pulse Width eee eeeeeeeeeee 1 ms Isolated Outputs Channel Se onini as eee eee eee 2 Qutput ty Pe iesssoccocscccvecessted sedostsssdeceveckeescesces dese Sinking sourcing independently configurable External load power supply range 19 V to 30 V Output CUITONE eect ceeeeeeeceeeeeeececeeeeeneeeee 100 mA maximum per channel Quadrature Encoder NI 1742 1744 1762 1764 Only Encoder type oo cceseeeecsesessceeeeseseeecesenenecseeees Differential RS 422 phase A phase B no index Physical Characteristics Dens mount fe onde cones bees ens C mount Camera housing cccecceseeseeseeteeeeseeseeneeneens Painted die cast aluminium Dimensions ciency sacucrsnasssesoeoteecieaste 11 77 cm x 8 58 cm x 5 06 cm 4 63 in x 3 38 in x 1 99 in Weights oinnia a 525 g 18 52 oz National Instruments A 5 Appendix A Specifications Environmental The NI Smart Camera is intended for indoor use only Operating temperature Ambient temperature 0 seen eeeee 0 to 45 C Maximum camera housing temperature cece rererere 65 C Storage temperature oo eeeeeeeetecteeeees 15 to 45 C Humidity tsi 8 Ain ten danniiniaiiirdens 10 to 90 RH noncondensing IP raint osna veteveirereasigiedasieedsenvaisieees 40 Pollution degree cececeececeeceeeeseeeeeneeeeneenes 2 Operating shock IEC 60068 2 27
16. or joint venture relationship with National Instruments Patents For patents covering National Instruments products technology refer to the appropriate location Help Patents in your software the patents txt file on your media or the National Instruments Patent Notice atni com patents Export Compliance Information Refer to the Export Compliance Information at ni com legal export compliance for the National Instruments global trade compliance policy and how to obtain relevant HTS codes ECCNs and other import export data WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS 1 NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 IN ANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY ADVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION INSTALLATION ERRORS SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNA
17. Array sensor Image sensor that features a resolution of 640 x 480 pixels Virtual Instrument A combination of hardware and or software elements typically used with a PC that has the functionality of a classic stand alone instrument The distance from the front of the camera lens to the object under inspection Index Numerics 24 V strobe output 4 6 enabling 4 7 5 V TTL strobe output 4 6 enabling 4 7 A acquiring images 5 1 5 2 external trigger 5 2 fixed frame rate mode 5 2 free run mode 5 2 internal timing 5 2 ACTIVITY LINK LED 7 2 advantages and disadvantages to using a DHCP server 7 3 assigning an IP address 7 3 B binning 3 4 C calibration certificate NI resources D 1 communicating with the console 2 6 configuring DIP switches 6 4 connecting external lighting controller 4 6 isolated output to a sinking external load 2 5 isolated output to a sourcing external load 2 4 sinking output sensors to isolated inputs 2 4 sourcing output sensors to isolated inputs 2 3 to a quadrature encoder 2 6 to serial devices 2 5 CONSOLE DIP switch 6 6 D Declaration of Conformity NI resources D 1 detailed specifications A 1 device initialization 6 1 diagnostic tools NI resources D 1 DIP switches 6 1 Direct Drive 4 2 connecting a light 4 5 lighting files 4 3 selecting a light 4 4 documentation NI resources D 1 related documentation xi drivers NI resources D 1 E Etherne
18. Discussion Forums at ni com forums NI Applications Engineers make sure every question submitted online receives an answer Standard 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 self paced online training modules at ni com self paced training All customers automatically receive a one year membership in the Standard Service Program SSP with the purchase of most software products and bundles including NI Developer Suite NI also offers flexible extended contract options that guarantee your SSP benefits are available without interruption for as long as you need them Visit ni com ssp for more information For information about other technical support options in your area visit ni com services or contact your local office at ni com contact Training and Certification Visit ni com training for training and certification program information You can also register for instructor led hands on courses at locations around the world System Integration If you have time constraints limited in house technical resources or other project challenges National Instruments Alliance Partner members can help To learn more call your local NI office or visit ni com alliance Declaration of Conformity DoC A DoC is our claim of compliance with the Council of the European Communities u
19. When external triggering is enabled do not trigger faster than the maximum frame rate Note Sending a trigger faster than the maximum frame rate will result in a missed trigger Use Equation 5 2 to understand how software determines the maximum frame rate 1 max frame rate min max frame rate for selected scan mode min frame period 6 2 where max frame rate for selected scan mode is determined by the partial scan mode and binning mode as described in the Determining 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 National Instruments 5 5 Chapter 5 Image Acquisition Determining the Scan Mode The maximum frame rate for selected scan mode is determined by the partial scan mode and binning mode Because the amount of data read out of the sensor is less in 1 2 or 1 4 scan mode the readout takes less time and you can achieve faster frame rates The same is true of binning When binning is enabled the readout takes less time and you can achieve faster frame rates Refer to the Partial Scan Mode and Binning sections of Chapter 3 Image Acquisition for more information about partial scanning and binning Use the maximum frame rate specifications for your smart camera in your scan mode in Appendix A Specifications to determine the maximum frame rate for selected scan m
20. amp Automation Explorer Help for NI IMAQ for more information ni com Lighting One of the most important aspects of setting up your imaging environment is proper illumination Images acquired under proper lighting conditions make your image processing software development easier and overall processing time faster The following sections describe how to use the Direct Drive lighting controller and the strobe outputs of the NI Smart Camera to control a light Lighting Connector Figure 4 1 shows the lighting connector on the NI Smart Camera A Caution All signals on the lighting connector are outputs from the smart camera Do not connect any external voltage or current source to any pin on the lighting connector 1 Note The NI 1722 does not offer the Direct Drive lighting controller Do not connect to the LED and LED connectors on the NI 1722 Figure 4 1 NI Smart Camera Lighting Connector RZ NATIONAL 2l DP INSTRUMENTS NI 17XX SMART CAMERA 1 LED Output Not Available on the NI 1722 4 5VTTL Strobe Output 2 LED Output Not Available on the NI 1722 5 24 V Strobe Output 3 Ground Output A Note Additional replacement plugs for use with the lighting connector part number 780260 01 are available from NI National Instruments 4 1 Chapter 4 Lighting Direct Drive Lighting Controller This section applies only to the following NI Smart Cameras e N
21. and duty cycle limit are encoded as part of the signing process The limits in signed lighting files are not human readable Modifying a signed lighting file will invalidate the signature and render the file unusable To use a light that has a lighting file you can select the lighting data in MAX or Vision Builder AI In MAX Select the Lighting tab of the NI Smart Camera configuration page Click Configure Light and select Select Light In Vision Builder AI Select the Lighting tab of the Acquire Image Smart Camera step Click Configure Light Source and select Select Light To use a light that does not have a lighting file you can enter the lighting data manually in MAX or Vision Builder AI In MAX Select the Lighting tab of the NI Smart Camera configuration page Click Configure Light and select Enter Lighting Data Manually In Vision Builder AI Select the Lighting tab of the Acquire Image Smart Camera step Click Configure Light Source and select Enter Lighting Data Manually Lighting files are installed to the following locations when you install NI IMAQ X represents the letter of the CD drive Windows Vista x Users Public Documents National Instruments NI IMAQ Data Windows XP 2000 x Documents and Settings All Users Documents National Instruments NI IMAQ Data Selecting a Light This section applies only to the following NI Smart Cameras e NI1742 e NI1744 e NI1762 e NI1764 Nat
22. outputs Connecting an External Lighting Controller to the NI Smart Camera Figure 4 3 illustrates how to connect an external lighting controller to the 5 V TTL output on the NI Smart Camera Figure 4 3 Connecting an External Lighting Controller to the 5 V TTL Strobe Output 5 V TTL Strobe Output x GND Output External rq Lighting Controller i En N A RAS See National Instruments 4 7 Chapter 4 Lighting 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 so SAATAN E as se ERATA T E A 24 V Strobe Output o N 18V 30v T A S BEN SEONI GND Output I E a l utpu Externa ESE i i Lighting E si Controller LED NI 17xx 4 8 ni com Image Acquisition This chapter contains information about acquiring images with the NI Smart Camera and explains the relationships between triggering lighting and exposure Exposure The NI Smart Camera provides control of the image sensor exposure time through software The exposure time is the amount of time that light is allowed to strike the sensor to produce an image When light strikes the surface of the sensor it dislodges electrons As more light strikes the sensor more electrons are freed creating a charge on the sensor For a given amo
23. 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 for complete specifications for the Direct Drive lighting controller Connecting a Light to the Direct Drive Lighting Controller This section applies only to the following NI Smart Cameras e NI1742 NI1744 NI1762 NI1764 National Instruments 4 5 Chapter 4 Lighting Figure 4 2 illustrates how to connect a light to the Direct Drive lighting controller Do not use the GND signal when connecting a light to the Direct Drive lighting controller Figure 4 2 Connecting a Light to the Direct Drive Lighting Controller IA SOZA LED i Direct Drive es L OZ l BOZA LED 1NI 17xx 4 The Direct Drive controller performs an initialization sequence to achieve the requested current output prior to acquiring the first image You may notice a sequence of short flashes from the light when the application initializes or shuts down External Lighting Controllers While the Direct Drive lighting controller is designed to handle common machine vision lighting requirements some applications require the use of a light with current or voltage requirements beyond those supported by the Direct Drive Other applications require more than one light All NI Smart Cameras support connect
24. strobe duty cycle Lighting files have the extension ild MAX and Vision Builder AI use lighting files to ensure that the current limits and duty cycle of your light are not exceeded when the light is used with the Direct Drive lighting controller Lighting files exist in four levels of certification e Digitally Signed by National Instruments The information contained within the lighting file has been verified as correct and safe by National Instruments Contact National Instruments for support regarding this lighting data file or the light to which it refers Digitally Signed by a Third Party Company The information contained within the lighting file has been verified as correct and safe by the specified third party company Contact the third party company for support regarding this lighting data file or the light to which it refers National Instruments 4 3 Chapter 4 Lighting Not Digitally Signed tThe information contained within the lighting file meets the requirements of Direct Drive lighting however it has not been verified that the information is safe to use with the specified light Use this file at your own risk Invalid tThe information contained within the lighting file is unusable because the data does not meet the requirements of Direct Drive lighting the data describing the light is not in the proper syntax or the digital signature has been altered In digitally signed lighting files the current limit
25. than the full frame maximum frame rate Refer to the Maximum Frame Rate section for information about factors that affect the maximum frame rate Internal Timing The NI Smart Camera features two types of internally timed modes free run mode and fixed frame rate mode In free run mode the smart camera acquires images at the maximum frame rate allowed by the configuration In fixed frame rate mode you can specify a frame rate that is less than or equal to the maximum frame rate by setting the Frame Rate property in LabVIEW Setting the Frame Rate property will implicitly take you out of free run mode and into fixed frame rate mode To return to free run mode set the Fixed Frame Rate Mode property in LabVIEW to FALSE A Note Vision Builder AI and MAX do not support fixed frame rate mode 5 2 ni com NI 17xx Smart Camera User Manual External Trigger Use the trigger input to synchronize the NI Smart Camera with an external event such as the assertion 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 the maximum frame rate To use an external trigger the trigger signal must be provided on the TrigIn IsoIn 0 and TrigIn IsoIn 0 inputs to the camera and triggering must be enabled in the software Refer to the Isolated Inputs section of Chapter 2 Power and I O for information about conne
26. the smart camera 2 Flashes Green The smart camera detects an error in the software configuration The camera has automatically started up into safe mode regardless of the SAFE MODE DIP switch position This usually occurs when an attempt to upgrade the software is interrupted or if system files are deleted from the smart camera Reinstall software on the smart camera Refer to Getting Started with the NI 17xx Smart Camera for information about installing software on the smart camera 6 2 ni com NI 17xx Smart Camera User Manual Table 6 1 STATUS LED Indications Continued LED LED Behavior Color Indication 3 Flashes Green The smart camera is in safe mode because the SAFE MODE DIP switch is in the ON position Refer to the Configuring DIP Switches section for information about the SAFE MODE DIP switch 4 Flashes Green The smart camera has experienced two consecutive software exceptions The smart camera automatically restarts after an exception After the second exception the smart camera remains in the exception state alerting you to resolve the problem Reinstall software on the smart camera or contact National Instruments for assistance Refer to Getting Started with the NI 17xx Smart Camera for information about installing software on the smart camera 5 Flashes Green The smart camera detects a critical error Reinstall software on the smart camera or contact National Instruments for assista
27. this product for any additional regulatory compliance information To obtain the DoC for this product visitni com certification search by model number or product line and click the appropriate link in the Certification column Environmental Management NI is committed to designing and manufacturing products in an environmentally responsible manner NI recognizes that eliminating certain hazardous substances from our products is beneficial to the environment and to NI customers For additional environmental information refer to the Minimize Our Environmental Impact 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 document Waste Electrical and Electronic Equipment WEEE K EU Customers At the end of the product life cycle all products must be sent to a WEEE recycling center For more information about WEEE recycling centers National Instruments WEEE initiatives and compliance with WEEE Directive 2002 96 EC on Waste and Electronic Equipment visit ni com environment weee EFAA ms Riehl SEE CHE ROHS OO RAA National Instruments 4AP E E TAE A m P REE SE ROHS XF National Instruments HE ROHS AREA WK ni com environment rohs_china For information about China RoHS compliance go to ni com environment rohs_china National Instruments A 7 Troubleshooting This app
28. EDs and DIP Switches Understanding the LED Indicators cc cccceessessescesceseeeceeceeceeceaesaeeaeeaecaecaeeaeeaeeseeeeeseees 6 1 Device Initialization POWER LED AST EA B aA ae eee OE EE eA Atak NS AAE EA aS IMG A CQ CED aon E ent tiescdgecescie E viv EE E E E E lessee PASS EED anara thee tea incre Maen en ee eats eee as FAIL EED iain de eee ee a a a a e ae t Configuring DIP Switches SAFE MODE Switch IP RESET Switch NOAPP SS Witch vie cotcenciesic cates aravsdesvec icy ob vdeo dee hacked dea heel svadna sade S CONSOLE Switch soen eine aie aa ernie des denies ee eee ee viii ni com NI 17xx Smart Camera User Manual Chapter 7 Ethernet Ports Etheme t E A D E EEA A E EEE E EES E EA ACTIVITY LINK GED 5 000235 in ie ERE EE E KERRE 3 2 m m DA A E D DTA A E E E T A BGS 4 EAA ees DHCP and Static IP Address Assignment Firewall Considerations ccccccsccsssecsecsscessecsecescecsecesessesseecseessesseecseceseecseceseeeaeens Subnet Considerations screzi iros asas ar i EKEK EEEE a E Chapter 8 Thermal Considerations and Mounting Thermal Considerations Mounting the NI Smart Camera Appendix A Specifications Appendix B Troubleshooting Appendix C Maintenance Appendix D Technical Support and Professional Services Glossary Index National Instruments ix About This Manual This manual describes the electrical and mechanical aspects of the Nationa
29. I1742 NI1744 NI1762 NI1764 The NI Smart Camera offers an innovative lighting controller that directly powers third party current controlled lights With other smart cameras a lighting controller that drives a light must be purchased separately The Direct Drive lighting controller is capable of powering a variety of third party lights For a current controlled light higher current produces more light up to the maximum current rating of the light The maximum current rating of the light is specified by the manufacturer and based on the average amount of power that can be safely dissipated by the light The Direct Drive 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 strobing the light for a short period of time at a higher current can be comparable to the average power dissipated while running the light continuously at a lower current Table 4 1 shows the maximum allowed current for continuous mode and strobed mode Table 4 1 Maximum Allowed Current for Direct Drive Lighting Controller Maximum Strobed Current Maximum Continuous Current 1A 500 mA For applications with a pause between exposures while new parts move into position you can strobe the light which allows the use of higher current and produces more light thus you can reduce the exposure time A shorte
30. IP address assign a static IP address or contact your network administrator DCHP IP address assignment is only available for port 1 Static IP address assignment is available on both ports For information about assigning an IP address to the smart camera refer to Getting Started with the NI 17xx Smart Camera The advantage of using a DHCP server to assign an IP address is that the DHCP server manages the IP addresses of the network You do not need to know the IP address of the 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 configuring a static IP address can be more reliable Consider the following potential issues before using a DHCP server to assign an IP address to the smart camera Ifthe network has both static IP addresses and IP addresses managed by a DHCP server the DHCP server must be configured to not use reserved static IP addresses If the DHCP server is not configured this way the DHCP server can assign a reserved IP address to another device causing address conflicts on the network which results in some devices being unreachable e When a smart camera configured for DHCP starts it must be able to connect to the DHCP server If a smart camera was previously configured to use a DHCP server and the smart camera cannot connect to the DHCP server the smart camera does n
31. L BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein does not cover damages defects malfunctions or service failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be reproduced or transmitted in any form electronic or mechanical including 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 respects the intellectual property of others and we ask our users to do the same NI software is pro
32. NI Vision NI 17xx Smart Camera User Manual For NI 1722 1742 1744 1762 1764 Smart Cameras September 2013 lt 7 NATIONAL 374174A 01 N INSTRUMENTS Worldwide Technical Support and Product Information ni com Worldwide Offices Visit ni com niglobal to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 For further support information refer to the Technical Support and Professional Services appendix To comment on National Instruments documentation refer to the National Instruments Web site at ni com info and enter the Info Code feedback 2013 National Instruments All rights reserved Important Information Warranty NI 17xx Smart Cameras are warranted against defects in materials and workmanship for a period of one year from the date of shipment as evidenced by receipts or other documentation National Instruments will at its option repair or replace equipment that proves to be defective during the warranty period This warranty includes parts and labor The media on which you receive National Instruments software are warranted not to fail to execute programming instructions due to defects in materials and workmanship for a period of 90 days from date of shipment as evidenced by receipts or other documentation
33. NSOLE switch is in the OFF position you can use the smart camera serial port and NI Serial driver software to send and receive serial data The NI Serial software is installed when you install NI IMAQ When using the NI Serial driver keep the CONSOLE switch in the OFF position during normal operation Refer to the Connecting to Serial Devices section of Chapter 2 Power and I O for more information about using serial communication with the smart camera 6 6 ni com Ethernet Ports This chapter provides information about the Ethernet ports and Ethernet LEDs on the NI Smart Camera and considerations for assigning an IP address The Ethernet ports on the smart camera provide a connection between the smart camera and the development computer or other network devices The smart camera provides two 10 100 1 000 Mbps Ethernet ports Figure 7 2 shows the Ethernet ports on the smart camera Figure 7 1 NI Smart Camera Ethernet Ports a ra 1 l ji 1 Pori 2 Port2 Port 1 is the primary port and port 2 is the secondary 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 connect to a 10 100 or 1 000 Mbps 1 Gbps Ethernet network at either full or half duplex The smart camera automatically detects the speed and duplex capabilities of its l
34. NTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS INCLUDING THE RISK OF BODILY INJURY AND DEATH SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE TO AVOID DAMAGE INJURY OR DEATH THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES INCLUDING BUT NOT LIMITED TO BACK UP OR SHUT DOWN MECHANISMS BECAUSE EACH END USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESIGN PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION Compliance Electromagnetic Compatibility Information This hardware has been tested and found to comply with the applicable regulatory requirements and limits for electromagnetic compatibility EMC as indicated in the hardware s Declarati
35. Refer to the Thermal Considerations section of Chapter 8 Thermal Considerations and Mounting for information about measuring the temperature of the smart camera Refer to Appendix A Specifications for complete temperature specifications Configuring DIP Switches This section describes the SAFE MODE IP RESET NO APP and CONSOLE DIP switches on the NI Smart Camera To turn on a DIP switch lift the DIP switch cover and move the switch to the ON position Caution To avoid potential damage to your device use care when configuring DIP switches Do not use blunt tools or excessive force when changing the switch position SAFE MODE Switch To start the NI Smart Camera in safe mode move the SAFE MODE switch to the ON position and reapply power or restart the smart camera If the switch is in the ON position when the smart camera starts the smart camera launches only the essential services required for updating configuration information and installing software The LabVIEW Real Time engine does not launch Use safe mode to reconfigure the smart camera TCP IP settings update firmware and to install or update the software on the smart camera od zg ddY O qnosnoo L a a L3S3Y JON 34YS If the software on the smart camera is corrupted start the smart camera in safe mode and update the software To resume normal operations move the SAFE MODE switch to the OFF position and reapply power or restart the smart cam
36. an IP address from a DHCP server three times If after the third time the smart camera has not been assigned an IP address the smart camera reverts to the unconfigured state and the IP address resets to 0 0 0 0 The STATUS LED flashes to indicate that the smart camera is in an unconfigured state POWER LED The POWER LED indicates whether the power supplied to the camera is adequate The POWER LED is green while the camera is properly powered on When no power is being supplied to the NI Smart Camera the POWER LED is unlit When power is first applied to the smart camera the POWER LED flashes red for one second while internal systems power up If the POWER LED stays red for longer than one second it indicates that the voltage is out of range STATUS LED The STATUS LED is green during normal operation The NI Smart Camera indicates specific conditions by flashing the STATUS LED as shown in Table 6 1 Table 6 1 STATUS LED Indications LED LED Behavior Color Indication Solid Green The smart camera initialized successfully and is ready for use 1 Flash Green The smart camera IP address or software is unconfigured The smart camera ships from the factory unconfigured The smart camera also enters the unconfigured state if it is configured for DHCP and no DHCP server is available Use MAX or Vision Builder AI to configure the smart camera Refer to Getting Started with the NI 17xx Smart Camera for information about configuring
37. an and 1 4 scan In 1 2 scan shown in Figure 3 2b one half of the image is read out from the center of the sensor and the rest of the image is discarded to enable a faster start of the next frame In 1 4 scan only one quarter of the image is read out Figure 3 2 illustrates the portion of the sensor exposed during partial scanning Figure 3 2 Partial Scan Modes a Full Scan b 1 2 Scan c 1 4 Scan National Instruments 3 3 Chapter 3 NI Smart Camera Image Sensor Binning Binning can improve the light sensitivity of the sensor by treating adjacent pixels as a single pixel Binning allows the image sensor to collect more electrons per pixel which reduces the amount of required light and exposure time Binning results in higher frame rates and lower spatial resolution in the vertical direction The NI Smart Camera supports 1 x 2 binning Figure 3 3 illustrates what happens to the sensor output during binning Figure 3 3 Binning a No Binning b Binning Gain Gain is a multiplier applied to the analog signal prior to digitization Increasing the gain increases the amplitude of the signal Gain allows you to trade off between making smaller signals more visible at the cost of increased noise and no longer being able to differentiate between larger signals For most applications the NI Smart Camera default gain setting optimizes the balance between small signals and large signals Figure 3 4 shows what happen
38. ble Logic Controller An industrial computer used for factory automation process control and manufacturing systems A signal consisting of a series of continuous pulses An encoding technique for a rotating device where two tracks of information are placed on the device with the signals on the tracks offset by 90 degrees from each other The phase difference indicates the position and direction of rotation The digital signal transition from the low state to the high state Standard electrical interface for serial data communications The number of columns and rows of CCD pixels in the camera sensor The size of the active area of an image sensor National Instruments G 3 Glossary subnet SXGA sensor syntax TCP trigger V VDC VGA sensor VI W working distance G 4 ni com A set of systems whose IP addresses are configured such that they can communicate directly with one another Data will not flow through an intermediate router Super eXtended Graphics Array sensor Image sensor that features a resolution of 1 280 x 1 024 pixels Set of rules to which statements must conform in a particular programming language Transmission Control Protocol A set of standard protocols for communicating across a single network or interconnected set of networks TCP is for high reliability transmissions Any event that causes or starts some form of data capture Volts direct current Video Graphics
39. cation from running when the NI Smart Camera powers on If you want to permanently disable the application from running when the smart camera powers on you can disable the startup application in software ON 4 wi CO ddY ON LAS3Y dl FIOSNOO JON 34YS To automatically run an application when the smart camera powers on keep the NO APP switch in the OFF position You must configure the application in software to automatically run when the smart camera powers on Refer to the LabVIEW Real Time Module Help for more information about automatically launching VIs when the smart camera powers on Refer to the NI Vision Builder for Automated Inspection Configuration Help for more information about configuring remote target options Keep the NO APP switch in the OFF position during normal operation National Instruments 6 5 Chapter 6 LEDs and DIP Switches CONSOLE Switch With a serial port terminal program you can use the CONSOLE switch to read device information from the NI Smart Camera during startup such as the IP address and firmware version When the CONSOLE switch is in the ON position the serial port outputs device information and is not available for applications The smart camera reads this switch only when powering up or restarting and will only display device information during startup 4 ON 4 Cs COs ddV ON JIOSN ASSAY d AGOW 34VS When the CO
40. ce initialization 6 1 dimensions 8 2 DIP switches 6 1 Direct Drive 4 2 Ethernet LEDs 7 2 Ethernet ports 7 1 exposure 5 1 firewall considerations 7 3 gain 3 4 hardware binarization 3 5 overview l 1 isolated inputs 2 3 outputs 2 4 LEDs 6 1 lighting 4 1 connector 4 1 lighting files 4 3 models 1 1 overview l 1 partial scan mode 3 3 power requirements 2 2 protecting against inductive loads 2 5 selecting a light 4 4 software overview 1 3 specifications A 1 subnet considerations 7 4 thermal considerations 8 1 troubleshooting B 1 NI Vision Acquisition Software 1 4 documents xii NI Vision Builder for Automated Inspection 1 3 documents xi NI Vision Development Module 1 4 documents xii NI IMAQ 1 4 documents xii NO APP DIP switch 6 5 P partial scan mode 3 3 PASS LED 6 3 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 5 Q quadrature encoder 2 6 using a quadrature encoder to delay a trigger 5 4 R related documentation hardware documents xi LabVIEW documents xii NI Vision Acquisition Software documents xii NI Vision Builder for Automated Inspection documents xi NI Vision Development Module documents xii NI IMAQ documents xii S SAFE MODE DIP switch 6 4 selecting a light 4 4 NI 17xx Smart Camera User Manual software app
41. ckground select a pixel value range This pixel value range is known as the gray level interval or the threshold interval When enabled binarization sets all image pixels that fall within the threshold interval to the image white value and sets all other image pixels to black Pixels inside the threshold interval are considered part of the particle region Pixels outside the threshold interval are considered part of the background region Inverse binarization reverses the assigned bit numbers of the particle region and the background region All pixels that belong in the threshold interval or the particle region are set to black and all pixels outside the threshold interval or the background region are set to the image white value Figure 3 5 illustrates binarization and inverse binarization Figure 3 5 Binarization and Inverse Binarization NORMAL INVERSE Stored Value Stored Value Sampled Data Sampled Data National Instruments 3 5 Chapter 3 NI Smart Camera Image Sensor You can enable hardware binarization in the following ways 3 6 In Vision Builder AI configure the Lookup Table attribute on the Advanced tab of the Acquire Image Smart Camera step Refer to the M Vision Builder for Automated Inspection Configuration Help for more information In MAX use the Lookup Table drop down box on the LUT tab of the smart camera configuration page to enable hardware binarization Refer to the Measurement
42. controlled lights Refer to Chapter 4 Lighting for more information about the Direct Drive lighting controller The smart camera also has one 5 V TTL strobe output and one unregulated 24 V strobe output for lighting control The smart camera also includes LEDs for communicating system status four DIP switches to specify startup options isolated inputs and isolated outputs for connecting to external devices Refer to Chapter 6 LEDs and DIP Switches for more information about the LEDs and DIP switches Refer to Chapter 2 Power and I O for more information about the digital I O capabilities of the smart camera Figure 1 1 shows the smart camera Figure 1 1 NI Smart Camera NATIONAL INSTRUMENTS NI 17XX SMART CAMERA S ie 1 Image Sensor 5 DIP Switches 2 Standard C Lens Mount 6 POWER I O Connector 3 Lighting Connector 7 Ethernet Ports 4 LEDs 1 2 ni com NI 17xx Smart Camera User Manual Software Overview Developing applications with the NI Smart Camera requires one of the following software options uy LP or Vision Builder LabVIEW for LabVIEW Real Time Module Automated Inspection NI Vision Development Module NI Vision Acquisition Software The installation and configuration process for each development environment is di
43. cting external signals You can enable triggering in the following software programs e Vision Builder AI Select the Triggered Acquisition checkbox on the Trigger tab of the Acquire Image Smart Camera step e LabVIEW Use the IMAQ Configure Trigger 3 VI MAX Select the Enable Trigger checkbox on the Triggering tab of the smart camera configuration page Figure 5 1 illustrates the relationship between an external trigger a lighting strobe and the exposure time Figure 5 1 Externally Triggered Mode Trigger i a Lighting Strobe Exposure Image Readout 1 User Configurable Trigger Delay 3 Beginning of Image Readout 2 Lighting Turn On Time The trigger shown in Figure 5 1 represents an external 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 trigger delay can be configured in either milliseconds or quadrature encoder counts The NI 1722 does not support quadrature encoders National Instruments 5 3 Chapter 5 Image Acquisition The incoming trigger is synchronized to the line rate of the smart camera This adds an additional delay that can vary on a frame by frame basis The maximum variability is shown in Table 5 1 Table 5 1 Trigger Synchronization Variability Smart Camera Model Trigger Synchronization Variability
44. d state In the unconfigured 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 as the host computer then refreshing the list of remote devices in MAX or Vision Builder AI will cause the smart camera to appear with an IP address of 0 0 0 0 Use MAX or Vision Builder AI to reconfigure the smart camera IP address then restart the smart camera Refer to Getting Started with the NI 17xx Smart Camera for more information about assigning an IP address to the smart camera The smart camera has detected an error in the software configuration and automatically restarted into safe mode independent of the state of the SAFE MODE DIP switch This usually occurs when an attempt to upgrade the software is interrupted or if system files are deleted from the smart camera by the user Reinstall software on the smart camera Refer to Getting Started with the NI 17xx Smart Camera for information about installing software on the smart camera The smart camera experienced two consecutive software exceptions The smart camera automatically restarts after an exception After the second exception the smart camera remains in the exception state alerting you to resolve the problem To correct this issue reinstall software on the smart camera Refer to Getting Started with the NI 17xx Smart Camera for information about install
45. device connected at the other end of the cable are powered down The LED is solid green when a link is established but there is no traffic activity on the link The LED will flash green when there is traffic activity on the link If the smart camera is connected to a corporate network traffic that is not related to the smart camera traffic will often be present on the link In dedicated links between a computer and the smart camera typically the only traffic on the link will be the communication between the computer and the smart camera SPEED LED The SPEED LED indicates the speed of the negotiated link The NI Smart Camera supports 10 Mbps 100 Mbps and 1 000 Mbps 1 Gbps links and will automatically select the highest speed shared by the smart camera and the device it is connected to The SPEED LED follows the behavior specified in Table 7 1 Table 7 1 SPEED LED Behavior SPEED LED Behavior Indication Off No link or a 10 Mbps link is negotiated Solid Green A 100 Mbps link is negotiated Solid Amber A 1 000 Mbps link is negotiated 7 2 ni com NI 17xx Smart Camera User Manual DHCP and Static IP Address Assignment You must configure the IP settings for the NI Smart Camera prior to use You can assign a static IP address or if your network has a DHCP server you can use a DHCP server to assign an IP address If you do not know whether you should assign a static IP address or use a DHCP server to assign an
46. e following settings 9 600 bits per second e Eight data bits e No parity e One stop bit e No flow control Connecting to a Quadrature Encoder This section applies only to the following NI Smart Cameras e NI1742 NI1744 NI1762 NI1764 Connect RS 422 compatible differential quadrature encoders to the NI 17xx Smart Camera to provide positional information A quadrature encoder uses two output channels Phase A and Phase B to track the position of a rotary shaft Generally the shaft is coupled to a motor drive that controls the movement of an object By providing Phase A and Phase B signals to the smart camera you can obtain a precise measurement of the object position Using a quadrature encoder gives you the ability to 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 the use of single ended encoders with the smart camera This configuration would require the ground for a single ended encoder to be connected to the COM pin of the smart camera and the PhaseA and PhaseB signals would be left unconnected In this configuration the system is susceptible to significant noise that would be eliminated by using a differential encoder Shielded encoder cables are recommended for all applications Unshielded cables are more susceptible to noise and can corrupt the encoder s
47. eceeceseeseeeceeeseeseeseeees 8 bits 256 gray levels Minimum exposure time ceseeeseeseeseeeee 36 28 us Exposure time increment ccccseeeeseereeeeee 31 2 us Spectral characteristics cceeseseeeeeeeeeeeees Refer to Figure A 1 Figure A 1 VGA Sensor Spectral Response Curve 1 0 0 9 0 8 2 0 7 2 0 6 oO 05 o Z 0 4 t 0 3 0 2 0 1 0 400 500 600 700 800 900 1000 Wavelength nm GaMMa ss s3csussdssseudesesssesdocsvsinsevsvnsosvesstscasvedeuses 1 0 fixed SXGA Sensor NI 1744 1764 Only PSUS OM aeien E ANN Sony CCD ICX205AL Active pixels SXGA Full SCaittivs cccssoscsecsesaccsasacesracssessaatharearsecss 1 280 x 1 024 W2 scan an AANA 1 280 x 512 Refer to the Maximum Frame Rate section of Chapter 5 Image Acquisition for more information about calculating the maximum frame rate for your application A 2 ni com NI 17xx Smart Camera User Manual VASCA i betes stearate Pedivesetisass 1 280 x 256 Binning 1 X 2 scscssssscssstessastussasasseascacosecies 1 280 x 512 Pixel S126 EE S E O 4 65 um X 4 65 um Pixel pitch Full scan 1 2 scan 1 4 scan 4 65 um horizontal 4 65 um vertical Binning 1 X 2 occ eeceeeeesseeseeeeseeeeeeeeees 4 65 um horizontal 9 3 um vertical Maximum frame rate Pull SCants 3c c2s ccs cet aatinceert setae caveats Up to 13 fps V2 SCAU rasa ca tea teeta eee eee eee Up to 23 fps VA SCAN sects arte N Up to 39 fps Binning 1 X 2 vce eeeeeeeeseeeces
48. endix provides instructions for troubleshooting the NI Smart Camera Configuration Problems The NI Smart Camera Does Not Appear in MAX or Vision Builder Al Possible causes and solutions The smart camera may not be powered Verify that there is power to the smart camera and that both the smart camera and the development computer are properly connected to the network The POWER LED should be lit green and the ACTIVITY LINK LED should flash green when refreshing the list of devices in MAX or Vision Builder AI The smart camera may have been configured on another network subnet and then moved to the current network subnet Reconfigure the smart camera on the current network Refer to the Subnet Considerations section of Chapter 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 assign a static IP that is in the range of the IP address available for DHCP use on your network or the DHCP server assigns the same IP address to another device Either remove or reconfigure the other device or reconfigure the smart camera to use a different IP address by moving the IP RESET DIP switch to the ON position and reapplying power or restarting the smart camera Refer to the JP RESET Switch section of Chapter 6 LEDs and DIP Switches for more information You are experiencing firewall issues If you are having d
49. era Refer to Getting Started with the NI 17xx Smart Camera for information about updating the software on the smart camera The STATUS 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 6 4 ni com NI 17xx Smart Camera User Manual IP RESET Switch To clear the NI Smart Camera IP settings move the IP RESET switch to the ON position and reapply power or restart the smart camera Use the IP RESET switch to reset the TCP IP settings when moving the camera from one subnet to another or when the current TCP IP settings are otherwise invalid snosnoo ddy ON L 13934 di mA 4300 34vS E Starting the smart camera with the IP RESET switch in the ON position resets the IP address to 0 0 0 0 Once you have reset the IP address you can set up a new network configuration for the smart camera from a development machine on the same subnet or you can use an Ethernet cable to connect the smart camera directly to the development computer Refer to Getting Started with the NI 17xx Smart Camera for information about assigning an IP address to the smart camera To resume normal operations move the IP RESET switch to the OFF position and reapply power or restart the smart camera Keep the IP RESET switch in the OFF position during normal operation NO APP Switch Move the NO APP switch to the ON position to prevent a startup appli
50. es Expand the smart camera you are using Select the channel you are using Select the Lighting tab Bs A ae a Select the appropriate strobe from the External Strobe Generation control Vision Builder Al 1 Launch Vision Builder AI 2 Inthe Acquire Image Smart Camera step select the Lighting tab 3 Select 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 e The trigger is wired to the TrigIn IsoIn 0 and TrigIn IsoIn 0 signals If TrigIn IsoIn 0 and IsoIn 1 are both being used that the devices they are connected to are either both sinking NPN or both sourcing PNP e The trigger is connected correctly based on the type of sensor it is sourcing or sinking Refer to the solated Inputs section of Chapter 2 Power and I O for information about connecting isolated inputs National Instruments B 5 Appendix B Troubleshooting e The sensor power supply is of appropriate voltage for interfacing to NI Smart Camera isolated inputs Refer to the solated Inputs section of Chapter 2 Power and I O for information about isolated inputs Refer to Appendix A Specifications for complete specifications e You configured the device in MAX or Vision Builder AI to expect a trigger Refer to the External Trigger section of Chapter 5 Image Acquisition for information about configuring an
51. etal shielded enclosure windowless version to meet the EMC requirements for special EMC environments such as for marine use or in heavy industrial areas Refer to the hardware s user documentation and the DoC for product installation requirements When the hardware is connected to a test object or to test leads the system may become more sensitive to disturbances or may cause interference in the local electromagnetic environment Operation of this hardware in a residential area is likely to cause harmful interference Users are required to correct the interference at their own expense or cease operation of the hardware Changes or modifications not expressly approved by National Instruments could void the user s right to operate the hardware under the local regulatory rules 1 The Declaration of Conformity DoC contains important EMC compliance information and instructions for the user or installer To obtain the DoC for this product visit ni com certification search by model number or product line and click the appropriate link in the Certification column Contents About This Manual Related Docummeritation 2i ccsisesisli celles bealeuisiscada eet AEE Rr xi Hardware Doc m nts sser scpin seeen EAEN aSo ES EE So aE EENES xi NI Vision Builder for Automated Inspection Documents s sseeseseeeererserreresseserees xi LabVIEW and NI Vision Development Module Documents Xii NI Vision Acquisition Software Documents
52. eteeeeeeeeeees Up to 26 fps Optical format ccc cceseseeseeseeeeeeeeeeeeeeeeeeeees 1 2 in Sensor readout Progressive scan Bits per pixel siicsae ce siestscsesticassnsassavcaasaecvey 8 bits 256 gray levels Minimum exposure time eeeeeeseeeceeeeees 76 68 us Exposure time increment eeeeeeeeeeeeeeeee 71 6 us Spectral characteristics Figure A 2 SXGA Sensor Spectral Response Curve 1 0 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 Relative Response QO A dt 400 500 600 700 800 900 1000 Wavelength nm Gamia eienn a a Aa 1 0 fixed Refer to the Maximum Frame Rate section of Chapter 5 Image Acquisition for more information about calculating the maximum frame rate for your application National Instruments A 3 Appendix A Specifications Lighting Direct Drive lighting controller NI 1742 1744 1762 1764 Only Maximum current 500 mA continuous A strobed Minimum current Light requirements Maximum voltage drop across LED LED terminals 006 30 V with 10 input power supply 25 V with 20 15 input power supply Minimum voltage drop across LED LED terminals cee 7V Strobe frequency cee ceecseceeeeeeeceeceeeees Operating frame rate Maximum strobe duty cycle 45 5 V external strobe POLAY iaa n E Programmable Strobe frequency Operating frame rate Vog MINIMUM 2 0 cece cee ossos rosses e ees ses reeset 3 8 V VoL MAXIMUM
53. external trigger LED Error Indications STATUS LED Error Conditions The NI Smart Camera indicates specific error conditions by flashing the STATUS LED a specific number of times Refer to the STATUS LED section of Chapter 6 LEDs and DIP Switches for the STATUS LED flashing sequences and the corresponding error condition POWER LED is Not Lit When the NI Smart Camera is Powered On If the power supply is properly connected to the smart camera but the POWER 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 camera model in use Using a power supply that is not within these specifications might result in an unresponsive or unstable system and could damage the smart camera A Caution The 24 V external lighting 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 output could be as high as 30 V If the provided power exceeds the input voltage specifications of the third party lighting controller do not connect the 24 V lighting strobe output to the controller to prevent damage to the controller Use a power supply with tolerances that meet the requirements of the controller or use the 5 V external lighting strobe B 6 ni com Maintenance Do not t
54. fferent Refer to Getting Started with the NI 17xx Smart Camera for installation and configuration instructions The following sections describe the software options For detailed information about individual software packages refer to the documentation specific to the package Note Vision Builder for Automated Inspection and NI Vision Acquisition Software are included with the smart camera LabVIEW the LabVIEW Real Time Module and the NI Vision Development 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 configure the NI Smart Camera and prototype benchmark and deploy machine vision applications Creating applications in Vision Builder AI does not require programming Vision Builder AI allows you to easily configure and benchmark a sequence of visual inspection steps as well as deploy the visual inspection system for automated inspection With Vision Builder AI you can perform powerful visual inspection tasks and make decisions based on the results of individual tasks You can also migrate your configured inspection to LabVIEW extending the capabilities of your applications if necessary LabVIEW LabVIEW is a graphical programming environment for developing flexible and scalable applications To develop machine vision applications with the NI Smart Camera and LabVIEW you must have the following add
55. ices and to quadrature encoders POWER I O Connector The POWER I O connector provides signal connections for power and I O including isolated inputs and outputs quadrature encoders and serial devices The POWER I O connector is a standard female high density 15 pin D SUB connector Table 2 1 shows the pin organization for 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 connecting a power supply to the NI Smart Camera Table 2 1 lists the signal names and pin numbers for the 15 pin POWER I O connector The table also lists the wire colors for the 15 pin D SUB pigtail cable part number 1978 18 05 sold separately by National Instruments Cables sold by other manufacturers could have different wire colors Table 2 1 POWER I O Connector Signal Descriptions Connector Diagram Signal Name Pin Number Wire Color 24 V 5 Red COM 15 Black RS232_TXD 10 Pink RS232_RXD 14 Black White TrigIn 2 Brown IsoIn 0 IsoIn 1 8 Orange National Instruments Chapter 2 Power and I O Table 2 1 POWER I O Connector Signal Descriptions Continued Connector Diagram Signal Name Pin Number Wire Color TrigIn 12 Light Green IsoIn 0 TIsoIn 1 IsoOut 0 6 Yellow IsoOut 0 1 Green IsoOut 1 11 L
56. ifficulty detecting the system and setting up the NI Smart Camera on your network you must configure the firewall to open the TCP UDP ports used by the smart camera and the host machine Refer to the Firewall Considerations section of Chapter 7 Ethernet Ports for more information about TCP UDP ports The cable you are using may be inappropriate for the speed of your network causing network communication dropout While 1 000 Mbps communication over short cables lengths can be achieved with the CAT5 cable commonly used for 10 and 100 Mbps CAT5e and CAT6 cables are more reliable and recommended for 1 000 Mbps links The smart camera has the ability to perform auto crossover allowing the use of straight or crossover Ethernet cables independent of the connection configuration National Instruments B 1 Appendix B Troubleshooting The NI Smart Camera Restarts Unexpectedly Possible causes and solutions B 2 The smart camera is configured to acquire an IP address from a DHCP server but no DHCP server is available on the network When the smart camera is configured to acquire an IP address from a DHCP server it waits for up to 60 seconds for the IP address to be acquired successfully If the smart camera does not receive an IP address within 60 seconds it restarts and attempts to acquire an IP address again After three unsuccessful attempts to acquire an IP address from a DHCP server the smart camera restarts and enters an unconfigure
57. ight Blue IsoOut 1 7 Gray PhaseA 3 Blue PhaseA 13 Brown White PhaseB 9 Purple PhaseB 4 White NI Smart Camera Power Requirements A Caution Use the NI Smart Camera only with a 24 VDC UL listed limited power source LPS supply The power supply should bear the UL listed mark LPS The power supply must meet any safety and compliance requirements for the country of use The smart camera uses a nominal 24 VDC power source The smart camera accepts power within the range of the industry standard IEC 1311 input power specification 24 V 20 15 with an additional allowance for an AC peak of 5 Refer to Appendix A Specifications for complete power requirement specifications A Caution The 24 V external lighting 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 strobe output could be as high as 30 V If the provided power exceeds the input voltage specifications of the third party lighting controller do not connect the 24 V lighting strobe output to the controller to prevent damage to the controller Use a power supply with tolerances that meet the requirements of the controller or use the 5 V external lighting strobe 2 2 ni com NI 17xx Smart Camera User Manual If you are using the Direct Drive lighting controller the power supply wattage must be sufficie
58. ignals Refer to the External Trigger section of Chapter 5 Image Acquisition for information about using a quadrature encoder to delay a trigger 2 6 ni com NI 17xx Smart Camera User Manual Figure 2 5 shows an example of connecting the quadrature encoder differential line drivers Figure 2 5 Connecting Differential Line Drivers Encoder NI 17xx i Phase A Phase A Twisted i Pair q Phase A Phase A A Phase B Phase B 7 gt 7 T i Twisted i i i Pair i i gt q Phase B Phase B Figure 2 6 shows the internal quadrature encoder RS 422 input circuit Figure 2 6 NI Smart Camera Quadrature Encoder Input Circuit 10 kQ 10 2 109 10 ka gt Phase A gt gt gt Phase A gt gt Phase B gt F Phase B gt gt National Instruments 2 7 NI Smart Camera Image Sensor This chapter provides an overview of the NI Smart Camera image sensors field of view spectral response partial scan mode binning gain and hardware binarization NI 1722 1742 1762 Smart Cameras use a VGA sensor NI 1744 1764 Smart Cameras use an SXGA sensor Refer to Appendix A Specifications for information about your smart camera image sensor Field of View The field of view is the area under inspection that will be imaged by the NI Smart Camera It is critical to ensure that the field of view of your
59. in MAX The lighting strobe deasserts at the end of the exposure pulse The end of an exposure starts the image readout from the sensor The maximum trigger rate is determined by the maximum frame rate for your configuration Refer to the Maximum Frame Rate section for information about the factors that affect the maximum frame rate 5 4 ni com NI 17xx Smart Camera User Manual Maximum Frame Rate Frame rate is the inverse of the frame period The frame period 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 Trigger Exposure Image Readout PL The frame period is affected by the following factors 1 Frame Period e Partial scan mode as described in the Partial Scan Mode section of Chapter 3 NI Smart Camera Image Sensor e Binning mode as described in the Binning section of Chapter 3 NI Smart Camera Image Sensor e Exposure time as described in the Exposure section of this chapter Lighting mode as described in Chapter 4 Lighting e Trigger delay as described in the External Trigger section of this chapter Determining the Maximum Frame Rate You can determine the maximum frame rate for your configuration in software by reading the Max Frame Rate indicator in Vision Builder AI reading the Max Frame Rate property in LabVIEW or reading the Max Frame Rate indicator in MAX
60. ing software on the smart camera or contact National Instruments for assistance In the event that the Direct Drive lighting controller detects an abnormal load condition such as a short circuit on the LED output the smart camera stops image acquisition and returns an error The Direct Drive stops providing current to the light and the smart camera may restart Ensure that your lighting wire connections are correct and or reconfigure your lighting settings in MAX or Vision Builder AI The voltage drop of the light may have exceeded the maximum voltage or minimum voltage requirements of the smart camera The voltage drop ofa light can vary significantly with environmental conditions such as temperature current and strobe time Verify that the voltage drop across the LED and LED terminals is within the specified range of the smart camera Your light may need to be reconfigured by the manufacturer to bring the voltage drop within the specified range of the smart camera Refer to Appendix A Specifications for more information ni com NI 17xx Smart Camera User Manual e The smart camera ran out of memory The reason may be that acquired images are still in memory When developing applications with LabVIEW use the IMAQ Dispose VI to destroy an image and free the space it occupied in memory This VI is required for each image created in an application to free the memory allocated to the IMAQ Create VI Execute the IMAQ Dispose VI only when
61. ing the Trigger Delay If the trigger delay is set longer than the untriggered minimum 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 indicator Calculating the Minimum Frame Period Refer to Equations 5 3 and 5 4 to calculate the minimum frame period for untriggered acquisitions with and without strobing min frame PeriodNostrobeNoTrigger Tt L E 5 3 min frame period winstrobeNoTrigger T L E R 5 4 Refer to Equations 5 5 and 5 6 to calculate the minimum frame period for triggered acquisitions with and without strobing min frame period yostrobewithTrigger Max T L E Trigger Delay 5 5 min frame period with strobewithTrigger max T L E R Trigger Delay 5 6 where T is the trigger synchronization variability L is the lighting turn on time E is the exposure time and R is the image readout duration Tables 5 1 and 5 2 list the values for the trigger synchronization variability and the lighting turn on time respectively National Instruments 5 7 Chapter 5 Image Acquisition The image readout duration varies depending on the smart camera configuration as shown in Table 5 3 Table 5 3 Image Readout Duration Smart Camera Model Full Scan 1 2 Scan 1 4 Scan Binning NI 1722 NI 1742 NI 1762 16 38 ms 8 86 ms 5 49 ms
62. ink partner and configures for the fastest common interface The smart camera can also perform auto crossover allowing the use of straight or crossover Ethernet cables independent of the connection configuration When shielded Ethernet cables are being used ensure that the shields on the Ethernet cables and the POWER I O cable do not contact each other to maintain full Ethernet signal integrity Note A CAT 5e or CAT 6 1000Base T Ethernet cable is required to achieve maximum 1 000 Mbps Gigabit Ethernet performance CAT 5e and CAT 6 Ethernet cables adhere to higher electrical standards required for Gigabit Ethernet communication CAT 5 cables are not guaranteed to meet necessary electrical requirements While CAT 5 cables may appear to work in some installations at 1 000 Mbps CAT 5 cables are likely to cause increased bit errors resulting in degraded or unreliable network performance National Instruments 7 1 Chapter 7 Ethernet Ports Ethernet LEDs Figure 7 2 shows the Ethernet LEDs on the NI Smart Camera Figure 7 2 NI Smart Camera Ethernet LEDs 1 amp 2 1 Port 1 ACTIVITY LINK LED 3 Port 2 ACTIVITY LINK LED 2 Port 1 SPEED LED 4 Port2 SPEED LED ACTIVITY LINK LED The ACTIVITY LINK LED indicates whether a link is established between the NI Smart Camera and the device connected at the other end of the Ethernet cable The LED is unlit when no cable is connected or if the smart camera or the
63. ional 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 supported lights you may still be able to use your light with the Direct Drive lighting controller 4 4 ni com NI 17xx Smart Camera User Manual To determine if your light is compatible with the NI Smart Camera verify the following The light is current controlled and not voltage controlled e The smart camera can provide enough current to obtain the desired illumination from the light e The maximum voltage drop specified for the light does not exceed the specified range of the smart camera Under some circumstances some LEDs particularly certain lights with white and blue LEDs require a higher voltage drop than usual to turn on or reach full brightness Such lights may be incompatible with the smart camera These lights may need to be reconfigured by the manufacturer to bring the voltage drop within the specified range of the smart camera The minimum voltage drop specified for the light does not fall below the specified range of the smart camera Under some circumstances some LEDs particularly certain lights with infrared LEDs and lights with only one LED per string present a lower voltage drop than usual and may be incompatible with the smart camera These lights may need to be reconfigured by the manufacturer to bring the voltage drop within the specified range of the
64. ions to third party lighting controllers to solve these applications The smart camera provides two types of external lighting outputs for synchronizing third party controllers to the exposure of the smart camera a 5 V TTL strobe output and a 24 V strobe output The 5 V TTL strobe output is available for connecting to devices that require a 5 V signal The 24 V strobe output is powered by the voltage from the smart camera power supply and is available for controllers that require higher voltage inputs The 24 V strobe output is nominally a 24 V output if 24 V power is supplied to the smart camera A Caution The 24 V external lighting 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 output could be as high as 30 V If the provided power exceeds the input voltage specifications of the third party lighting controller do not connect the 24 V lighting strobe output to the controller to prevent damage to the controller Use a power supply with tolerances that meet the requirements of the controller or use the 5 V external lighting strobe When enabled the 5 V and 24 V external strobe outputs create a strobe pulse that can be used as a level sensitive signal by third party controllers to strobe the light simultaneously with the image exposure Alternatively if the third party lighting controller supports a programmable
65. ision Builder for Automated Inspection and provides step by step instructions for solving common visual inspection tasks such as inspection gauging part presence guidance and counting NI Vision Builder for Automated Inspection Configuration Help Contains information about using the Vision Builder for Automated Inspection Configuration Interface to create a machine vision application NI Vision Builder for Automated Inspection Inspection Help Contains information about running applications created with Vision Builder for Automated Inspection in the Vision Builder Automated Inspection Interface National Instruments xi About This Manual LabVIEW and NI Vision Development Module Documents N xii LabVIEW Help Includes information about LabVIEW programming concepts step by step instructions for using LabVIEW and reference information about LabVIEW VIs functions palettes menus and tools Getting Started with LabVIEW Use this manual as a tutorial to familiarize yourself with the LabVIEW graphical programming environment and the basic LabVIEW features you use to build data acquisition and instrument control applications Getting Started with the LabVIEW Real Time Module Use this manual as a tutorial to familiarize yourself with the LabVIEW Real Time Module and the basic Real Time Module features you use to build real time applications NI Vision Concepts Manual Describes the basic concepts of image analysis i
66. l Instruments 17xx Smart Camera Refer to Getting Started with the NI 17xx Smart Camera for smart camera and accessory installation information Related Documentation The following documents contain information that you may find helpful as you read this manual Hardware Documents Getting Started with the NI 17xx Smart Camera Contains important safety information and information about installing and configuring NI Smart Cameras and accessories You can access this manual by navigating to Start All Programs National Instruments Vision Documentation NI IMAQ NI Developer Zone Contains example programs tutorials technical presentations the Instrument Driver Network a measurement glossary an online magazine a product advisor and a community area where you can share ideas questions and source code with developers around the world The NI Developer Zone is located on the National Instruments Web site at ni com zone You can find the following documents 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 LabVIEW or Vision Builder for Automated Inspection A Practical Guide to Machine Vision Lighting Explains machine vision lighting concepts and theories NI Vision Builder for Automated Inspection Documents NI Vision Builder for Automated Inspection Tutorial Describes V
67. l smart camera models 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 Direct Drive Quadrature Camera Lighting Encoder Model Processor Image Sensor Controller Support NI 1722 400 MHz PowerPC 1 3 inch Sony ICX424AL No No CCD Monochrome 640 x 480 pixels VGA NI 1742 533 MHz PowerPC 1 3 inch Sony ICX424AL Yes Yes CCD Monochrome 640 x 480 pixels VGA NI 1744 533 MHz PowerPC 1 2 inch Sony ICX205AL Yes Yes CCD Monochrome 1 280 x 1 024 pixels SXGA NI 1762 533 MHzPowerPC 1 3 inch Sony ICX424AL Yes Yes and 720 MHz DSP CCD Monochrome 640 x 480 pixels VGA NI 1764 533 MHzPowerPC 1 2 inch Sony ICK205AL Yes Yes and 720 MHz DSP CCD Monochrome 1 280 x 1 024 pixels SXGA National Instruments 1 1 Chapter 1 NI Smart Camera Overview For more information about the image sensors refer to Chapter 3 NJ Smart Camera Image Sensor For complete smart camera specifications refer to Appendix A Specifications All smart cameras have an RS 232 serial port Gigabit Ethernet ports and use a standard C mount lens Some smart camera models also include the Direct Drive lighting controller and support for quadrature encoders The Direct Drive lighting controller is an integrated controller to directly power a variety of third party current
68. lication 1 4 NI resources D 1 programming choices 1 3 specifications A 1 SPEED LED 7 2 STATUS LED 6 2 indications 6 2 subnet considerations 7 4 support technical D 1 SXGA sensor 3 1 T technical support D 1 thermal considerations 8 1 training and certification NI resources D 1 trigger synchronization variability 5 4 troubleshooting B 1 configuration problems B 1 firewall problems B 1 LED error indications B 6 lighting problems B 3 network problems B 1 NI resources D 1 run time problems B 3 triggering problems B 5 U understanding LED indicators 6 1 V VGA sensor 3 1 Vision Acquisition Software 1 4 Vision Builder for Automated Inspection 1 3 Vision Development Module 1 4 description 1 4 W Web resources D 1 National Instruments 1 3
69. lluminate verify the following That your NI Smart Camera supports the Direct Drive lighting controller Refer to the Direct Drive Lighting Controller section of Chapter 4 Lighting for a list of smart cameras that support the Direct Drive lighting controller e The light is wired with the correct polarity LED pin to the anode and LED pin to cathode National Instruments B 3 Appendix B Troubleshooting B 4 You have properly configured the maximum light settings in MAX or Vision Builder AI For safety reasons the default configuration of the smart camera does not enable lighting until you configure the maximum lighting current settings that are appropriate for your light You have enabled the Direct Drive lighting controller in MAX or Vision Builder AI The smart camera is receiving a trigger if you have configured the smart camera for triggering in MAX or Vision Builder AI This can be verified by checking that the IMG ACQ LED on the smart camera illuminates when a trigger is provided on the TrigIn IsoIn 0 and TrigIn IsoIn 0 pins If you are not receiving a trigger refer to the No Trigger is Received troubleshooting section There is a short circuit wiring condition If the smart camera detects a short circuit wiring condition it will disable the Direct Drive until the condition is cleared and the acquisition is reinitialized In the event that the Direct Drive lighting controller detects an abnormal load condition
70. mage processing and machine vision This document also contains in depth discussions about imaging functions for advanced users NI Vision for LabVIEW Help Describes how to create machine vision and image processing applications in LabVIEW using the Vision Development Module The help file guides you through tasks beginning with setting up your imaging system to taking measurements It also describes how to create a real time vision application using NI Vision with the LabVIEW Real Time Module and contains reference information about NI Vision for LabVIEW palettes and VIs Vision Acquisition Software Documents NI IMAQ VI Reference Help Contains reference information about the LabVIEW VIs and properties for NI IMAQ driver software Measurement amp Automation Explorer Help for NI MAQ Describes how to configure NI IMAQ driver software NI image acquisition devices and NI Smart Cameras using Measurement amp Automation Explorer ni com NI Smart Camera Overview This chapter provides an overview of the features and components of the National Instruments Smart Camera Refer to Getting Started with the NI 17xx Smart Camera for smart camera and accessory installation information Hardware Overview The NI Smart Camera is available in several different configurations When a feature pertains only to specific smart camera models a list at the beginning of the section shows which smart camera models support the feature Al
71. ming the object is moving horizontally across the field of view use Equation 5 1 to calculate the maximum exposure time National Instruments 5 1 Chapter 5 Image Acquisition R Horizontal x2 y oac Ko oo 5 1 max FOV Horizontal N Horizontal where Emax is the maximum exposure time without blurring R is the rate of motion of the object either horizontally or vertically FOV is the field of view in the direction of motion and N is the number of sensor pixels in the direction of motion For many applications that include moving objects additional lighting is necessary to achieve good image contrast due to the short exposure time required to avoid motion blur Additionally in many environments the ambient light conditions vary too significantly to obtain consistent results without adding dedicated lighting For example 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 the ambient light must be overridden with a dedicated light source to ensure reproducible results Acquiring Images You can configure the NI Smart Camera to acquire images based on internal timing or an external trigger signal In both cases the smart camera can acquire full frame images at the camera s maximum frame rate If partial scanning or binning are enabled the smart camera can acquire images faster
72. nce Refer to Getting Started with the NI 17xx Smart Camera for information about installing software on the smart camera Flashing Red The smart camera detects a software crash or hang Contact National Instruments for assistance Solid Red The smart camera detects a critical firmware error Contact National Instruments for assistance IMG ACQ LED The IMG ACQ LED briefly lights green when an image is captured and ready for analysis Fast frame rates can give this LED the appearance of being continuously lit If the IMG ACQ LED and the FAIL LED both flash red it indicates that the NI Smart Camera has shut down because the maximum internal temperature was exceeded Refer to the Thermal Considerations section of Chapter 8 Thermal Considerations and Mounting for information about measuring the temperature of the smart camera Refer to Appendix A Specifications for complete specifications PASS LED The PASS LED is a green LED that is user configurable through the IMAQ property node in LabVIEW or the Read Write I O step in Vision Builder AI National Instruments 6 3 Chapter 6 LEDs and DIP Switches FAIL LED The FAIL LED is a red LED that is user configurable through the IMAQ property node in LabVIEW or the Read Write I O step in Vision Builder AI If the IMG ACQ LED and the FAIL LED both flash red it indicates that the NI Smart Camera has shut down because the maximum internal temperature was exceeded
73. nd the power supply To limit flyback voltages at the inductive load install a flyback diode across the load Mount the flyback diode as close to the load as possible Use this protection method if you connect any of the isolated outputs to an inductive load Connecting to Serial Devices Use the RS232_RXD and RS232_TXD signals on the POWER I O connector for serial communication Connect the RS232_RXD signal on the NI Smart Camera to the Tx signal on your serial device Connect 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 position you can use the NI Serial driver for serial communication You must install the NI Serial software on the smart camera it is not installed by default Refer to the Serial Hardware and Software Help for information about installing the NI Serial software on LabVIEW Real Time targets such as the smart camera To open this document navigate to Start All Programs National Instruments NI Serial NI Serial Help National Instruments 2 5 Chapter 2 Power and I O Communicating with the Console When the CONSOLE DIP switch is in the ON position you can read device information from the NI Smart Camera during startup such as the IP address and firmware version through a serial port terminal program Ensure that the serial port terminal program is configured to th
74. nt to power both the camera and the light The power required by the light can be significantly more than the power required by the smart camera Note The NI Smart Camera will revert to the default timestamp if power is interrupted and the device is not connected to a network Ensure your power supply is not interrupted or the device is connected to a networked or local SMTP server to maintain accurate timestamps Isolated Inputs A Caution Do not apply a voltage greater than 30 VDC to the isolated inputs Voltages greater than 30 VDC may damage the NI Smart Camera A 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 camera is not safety isolation You can wire an isolated input to both sourcing and sinking output devices Refer to Figures 2 1 and 2 2 for wiring examples by output type Refer to Appendix A Specifications for current requirements Isolated inputs are not compatible with 5 V logic Figure 2 1 Connecting External Sourcing Output Sensors to Isolated Inputs Sensor Power Trigin Or Me Isoln 0 PNP Sourcing Output Device K K Isoln 1 Sensor Tigin Common Isoln 0 National Instruments 2 3 Chapter 2 Power and I O Figure 2 2 Connecting External Sinking Output Sensors to Isolated Inputs
75. o the device The smart camera also has a internal temperature sensor that provides an internal temperature measurement You can monitor the temperature sensor from LabVIEW using the Status Information Temperature property from the IMAQ property node National Instruments 8 1 Chapter 8 Thermal Considerations and Mounting If the internal temperature sensor 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 from this condition To maximize the cooling efficiency of the smart camera mount it to a thermally conductive structure as specified in the Mounting the NI Smart Camera section Mounting the NI Smart Camera A Caution Ifyou choose not to mount the NI Smart Camera to a thermally conductive structure do not position the smart camera with the heat sinks resting on any surface Doing so may violate the thermal requirements of the smart camera and cause the smart camera to overheat Refer to Appendix A Specifications for temperature specifications Figures 8 2 through 8 5 provide the dimensional drawings necessary to create a custom mount for the smart camera Figure 8 2 Back View of the NI Smart Camera with Dimensions 95 75 mm 3 770 in 47 00 mm LEN 60 58 mm 85 80 mm 1 850 in 23 50 mm 2 385 in
76. ode Determining the Exposure Time The minimum frame period depends on exposure time lighting mode and trigger delay A longer exposure time results in a longer frame period and a slower maximum frame rate Determining the Lighting Mode If you are not strobing a light using the Direct Drive or the external 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 relationship The smart camera receives the trigger for the second image while it is still reading out the first image The first image readout finishes before the second image readout begins Figure 5 3 Image Acquisition Without Strobing Trigger Exposure Image Readout A A 1 Beginning of First Image Readout 3 Beginning of Second Image Readout 2 Beginning of Second Image Exposure 5 6 ni com NI 17xx Smart Camera User Manual When strobing is enabled the smart camera waits until the image readout is complete before turning on the light for the next frame as shown in Figure 5 4 Figure 5 4 Image Acquisition With Strobing Trigger im Lighting Strobe Exposure in Image Readout 1 fo 1 Image Readout Completes Before Lighting Strobe Asserts for Next Image Determin
77. on Software CD contains Measurement amp Automation Explorer MAX configuration software and NI IMAQ driver software Use MAX to configure the NI Smart Camera You can set the IP address update software on the smart camera configure triggering and set up the lighting features For more information about MAX refer to the Measurement amp Automation Explorer Help for NI IMAQ NI IMAQ is the interface path between the application software and the smart camera NI IMAQ also 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 single shot image acquisition and trigger control The NI IMAQ driver software performs all functions necessary for acquiring and saving images but does not perform image analysis NI IMAQ features both high level and low level functions A function that acquires images in single shot or continuous mode is an example of a high level function A function that requires advanced understanding of image acquisition such as configuring an image sequence is an example of a low level function For information about using NI IMAQ to configure an acquisition refer to the NI IMAQ VI Reference Help 1 4 ni com Power and I O This chapter provides information about the NI Smart Camera POWER I O connector connecting isolated inputs and isolated outputs and connecting to serial dev
78. on modules LabVIEW Real Time Module NI Vision Development Module and Vision Acquisition Software National Instruments 1 3 Chapter 1 NI Smart Camera Overview LabVIEW Real Time Module The LabVIEW Real Time Module combines LabVIEW graphical programming with the power of Real Time RT hardware enabling you to build deterministic real time systems You develop VIs in LabVIEW and embed the VIs on RT targets such as the NI Smart Camera The RT target runs 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 Vision Development Module is an image acquisition processing and analysis library of hundreds of functions for the following common machine vision tasks e Pattern matching e Particle analysis e Gauging e Taking measurements e Grayscale color and binary image display With the NI Vision Development Module you can acquire display and store images as well as perform image analysis and processing Using the NI Vision Development Module imaging novices and experts can program the most basic or complicated image applications without knowledge of particular algorithm implementations For information about how to use the NI Vision Development Module with the LabVIEW Real Time Module refer to the NI Vision for LabVIEW Help NI Vision Acquisition Software The NI Vision Acquisiti
79. on of Conformity DoC These requirements and limits are designed to provide reasonable protection against harmful interference when the hardware is operated in the intended electromagnetic environment In special cases for example when either highly sensitive or noisy hardware is being used in close proximity additional mitigation measures may have to be employed to minimize the potential for electromagnetic interference While this hardware is compliant with the applicable regulatory EMC requirements there is no guarantee that interference will not occur in a particular installation To minimize the potential for the hardware to cause interference to radio and television reception or to experience unacceptable performance degradation install and use this hardware in strict accordance with the instructions in the hardware documentation and the DoC If this hardware does cause interference with licensed radio communications services or other nearby electronics which can be determined by turning the hardware off and on you are encouraged to try to correct the interference by one or more of the following measures e Reorient the antenna of the receiver the device suffering interference e Relocate the transmitter the device generating interference with respect to the receiver e Plug the transmitter into a different outlet so that the transmitter and the receiver are on different branch circuits Some hardware may require the use of a m
80. ot appear in MAX or Vision Builder AI The IP address must to be reconfigured before you can use the smart camera Firewall Considerations If you are having difficulty detecting the system and setting up the NI Smart Camera on your network you must configure the firewall to open the TCP UDP ports used by the smart camera and the host machine The smart camera uses the ports listed in Table 7 2 Table 7 2 TCP UDP Ports Used by the NI Smart Camera Port Type Details 3580 TCP UDP Reserved as nati svrloc NAT ServiceLocator Used by Measurement amp Automation Explorer MAX to locate remote targets 7749 TCP Used for remote image display not reserved National Instruments 7 3 Chapter 7 Ethernet Ports Table 7 2 TCP UDP Ports Used by the NI Smart Camera Continued Port Type Details 7750 TCP Used for NI IMAQ remote configuration not reserved 3363 TCP UDP Reserved as nati vi server NATI VI Server Used by Vision Builder for Automated Inspection to configure a remote NI Smart Camera Subnet Considerations To configure the NI Smart Camera it must reside on the same subnet as the development computer If you want to use the smart camera on a subnet other than the one the development computer is on first connect and configure the smart camera on the same subnet as the host computer The first time you configure the smart camera you must also install soft
81. ouch the CCD sensor by hand or with other objects The sensor can be damaged by electrostatic discharge ESD body oils and particulate matter Use a lens mount cover whenever a lens is not mounted on the camera to protect the sensor 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 dust sticks to the CCD first attempt to blow it off from the side of the sensor using ionized air If oils are present on the sensor clean the sensor with a cotton bud and ethyl alcohol Be careful not to scratch the glass Use only one pass over the glass per cotton bud to minimize the risk of recontamination and scratching National Instruments C 1 Technical Support and Professional Services Log in to your National Instruments ni com User Profile to get personalized access to your services Visit the following sections of ni com for technical support and professional services e Support Technical support at ni com support includes the following resources Self Help Technical Resources For answers and solutions visit ni com support for software drivers and updates a searchable KnowledgeBase product manuals step by step troubleshooting wizards thousands of example programs tutorials application notes instrument drivers and so on Registered users also receive access to the NI
82. r exposure time decreases the time it takes to acquire an image and potentially increases the total throughput of the system Refer to the Exposure section of Chapter 5 Image Acquisition for more information about exposure control The smart camera automatically synchronizes the lighting strobe with the image sensor exposure The smart camera always turns the light on before an exposure starts and turns the light off once the exposure completes The duration of the light strobe is dictated by the exposure time Refer to Chapter 5 Image Acquisition for more information When operating in strobed mode it is important that the strobe duty cycle and strobe duration are within the specified limits of both the light and the Direct Drive lighting controller The strobe duration is the amount of time that the light remains on The strobe duration limit is the maximum amount of time that the light can remain on when being driven at the maximum 4 2 ni com NI 17xx Smart Camera User Manual current The duty cycle is the ratio of the strobe duration to the frame period expressed as a percentage Refer to the Maximum Frame Rate section of Chapter 5 Image Acquisition for more information about the frame period By default you can set the exposure time to any setting within the range supported by your smart camera However if the smart camera is configured to use the Direct Drive lighting controller in strobed mode care must be taken to ensure that
83. re time F falling edge field of view fps G gain IEC IEEE 1 0 LED G 2 ni com CAT 5 CAT 5e or CAT 6 Ethernet cable used to connect a Real Time target to a network port or between the development computer and the Real Time target The amount of time that light is allowed to strike the imaging sensor to produce an image The digital signal transition from the high state to the low state The area of inspection that the camera can acquire Frames per second The amount of increase in signal power voltage or current expressed as the ratio of output to input International Electrotechnical Commission A standard setting body Institute of Electrical and Electronics Engineers A standard setting body Input output The transfer of data to from a computer system involving communications channels operator interface devices or data acquisition and control interfaces Light emitting diode MAC MAX N NI IMAQ PLC pulse train Q quadrature encoder R rising edge RS 232 S sensor resolution sensor size NI 17xx Smart Camera User Manual Media access control The MAC address uniquely identifies each unit connected to a network Measurement amp Automation Explorer A controlled centralized configuration environment that allows you to configure all of your NI devices Driver software for National Instruments image acquisition devices and smart cameras Programma
84. s such as temperature current and strobe time Verify that the voltage drop across the LED and LED terminals is within the specified range of the smart camera Your light may need to be reconfigured by the manufacturer to bring the voltage drop within the specified range of the smart camera Refer to Appendix A Specifications for more information ni com NI 17xx Smart Camera User Manual There is No External Lighting Strobe Possible causes and solutions e Ifyou have configured the NI Smart Camera for triggering in MAX or Vision Builder AI verify that the smart camera is receiving a trigger This can be verified by checking that the IMG ACQ LED on the smart camera illuminates when a trigger is provided on the TrigIn IsoIn 0 and TrigIn IsoIn 0 pins If you are not receiving a trigger refer to the No Trigger is Received troubleshooting section e Ifyou are using the 24 V strobe output verify that there is enough time between frames for the strobe output to fully turn off before being re enabled The required time will vary with the load conditions but is typically a few milliseconds If a faster response is necessary use the 5 V strobe output e Make sure that you have enabled the corresponding external lighting strobe in MAX or Vision Builder AI Complete one of the following procedures to enable the correct lighting strobe MAX Launch MAX In the Configuration tree expand Devices and Interfaces Expand NI IMAQ Devic
85. s when gain is applied to a signal Figure 3 4 Effect of Gain on the Video Signal 25 a 25 a 25 oa Pixel Value Pixel Value Pixel Value a Low Gain b Medium Gain c High Gain In Figure 3 4a low gain has been applied to the signal The pixel values in the image are grouped close together In Figure 3 4b medium gain has been applied to the signal there are now more notable differences in pixel value within the image In Figure 3 4c high gain has been applied to the signal at high gain mid range and bright portions of the image are now both represented 3 4 ni com NI 17xx Smart Camera User Manual as white the highest pixel value In Figure 3 4c several bright areas of the image have been clipped to the maximum pixel value and you can no longer distinguish subtle shading 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 signal and noise When possible it is preferable to add additional lighting Hardware Binarization The NI Smart Camera supports binarization and inverse binarization of acquired images Binarization and inverse binarization segment an image into two regions a particle region and a background region Use binarization and inverse binarization to isolate objects of interest in an image To separate objects under consideration from the ba
86. sing the manufacturer s declaration of conformity This system affords the user protection for electromagnetic compatibility EMC and product safety You can obtain the DoC for your product by visiting ni com certification e Calibration Certificate If your product supports calibration you can obtain the calibration certificate for your product at ni com calibration National Instruments D 1 Appendix D Technical Support and Professional Services You also can visit the Worldwide Offices section of ni com niglobal to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events D 2 ni com Glossary Symbol Prefix Value p pico 10 12 n nano 102 u micro 10 m milli 103 k kilo 103 M mega 106 G giga 10 B binary image CCD D DIP switch Direct Drive lighting controller An image in which the pixels have only one of two intensity values Objects in the image usually have a pixel intensity of 1 or 255 and the background has a pixel intensity of 0 Charge Coupled Device A chip that converts light into electronic signals Dual Inline Package switch A lighting controller integrated into some models of the National Instruments smart camera that can directly power current controlled lights National Instruments G 1 Glossary E Ethernet cable standard exposu
87. 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 smart camera as listed in Appendix A Specifications _ Pixel Pitch x Active Pixels x Working Distance 3 1 FOV g Focal Length where FOT is the field of view in either the horizontal or vertical direction Pixel Pitch measures the distance between the centers of adjacent pixels in either the horizontal or vertical direction Active Pixels is the number of pixels in either the horizontal or vertical direction Working Distance is the distance from the front element external glass of the lens to the object under inspection and Focal Length measures how strongly a lens converges focuses or diverges diffuses light National Instruments 3 1 Chapter 3 NI Smart Camera Image Sensor Figure 3 1 illustrates horizontal field of view and working distance Figure 3 1 Parameters of an Imaging System 1 Horizontal Imaging Width 2 Working Distance 3 Horizontal Field of View For example if the working distance of your imaging setup is 100 mm and the focal length of the lens is 8 mm then the field of view in the horizontal direction of a smart camera using the VGA sensor in full scan mode is 0 0074 mm x 640 x 100 mm FOV porizontal a 59 2 mm 3 2 Similarly the field of view in the vertical direction is
88. t LEDs 7 2 ACTIVITY LINK LED 7 2 SPEED LED 7 2 Ethernet ports 7 1 examples NI resources D 1 exposure 5 1 5 5 external trigger 5 2 F FAIL LED 6 4 firewall considerations 7 3 fixed frame rate mode 5 2 frame rate 5 5 maximum 5 5 free run mode 5 2 G gain 3 4 H hardware binarization 3 5 help technical support D 1 National Instruments l 1 Index l T O 2 1 image acquisition 5 1 image readout duration 5 8 image sensor 3 1 binning 3 4 field of view 3 1 gain 3 4 hardware binarization 3 5 partial scan mode 3 3 spectral response 3 3 IMG ACQ LED 6 3 input output 2 1 instrument drivers NI resources D 1 IP address assigning 7 3 RESET DIP switch 6 5 isolated inputs 2 3 outputs 2 4 K KnowledgeBase D 1 L LabVIEW 1 3 documents xii Real Time Module 1 4 LEDs 6 1 lighting 4 1 connector 4 1 controller 4 2 files 4 3 turn on time 5 4 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 3 binning 3 4 l 2 ni com communicating with the console 2 6 connecting an external lighting controller 4 6 an isolated output to a sinking external load 2 5 an isolated output to a sourcing external load 2 4 sinking output sensors to isolated inputs 2 4 sourcing output sensors to isolated inputs 2 3 to a quadrature encoder 2 6 to serial devices 2 5 devi
89. tected by copyright and other intellectual property laws Where NI software may be used to reproduce software or other materials belonging to others you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction End User License Agreements and Third Party Legal Notices You can find end user license agreements EULAs and third party legal notices in the following locations e Notices are located in the lt National Instruments gt _Legal Informationand lt National Instruments gt directories e EULAs are located in the lt National Instruments gt Shared MDF Legal license directory e Review lt National Instruments gt _Legal Information txt for more information on including legal information in installers built with NI products Trademarks Refer to the NI Trademarks and Logo Guidelines at ni com trademarks for more information on National Instruments trademarks ARM Keil and Vision are trademarks or registered of ARM Ltd or its subsidiaries LEGO the LEGO logo WEDO and MINDSTORMS are trademarks of the LEGO Group 2013 The LEGO Group TETRIX by Pitsco is a trademark of Pitsco Inc 2013 FIELDBUS FOUNDATION and FOUNDATION are trademarks of the Fieldbus Foundation EtherCAT is a registered trademark of and licensed by Beckhoff Automation GmbH CANopen is a registered Community Trademark of CAN in Automation e V DeviceNet
90. the image is no longer needed in your application You can configure the IMAQ Dispose VI to free memory for each call to the IMAQ Create VI or just once for all images created using the IMAQ Create VI Run Time Problems The NI Smart Camera is Unresponsive and Blinks the IMG ACQ and FAIL LEDs The smart camera maximum internal temperature was exceeded Complete the following steps to verify that the ambient and enclosure temperatures are within specifications 1 Measure the ambient temperature and verify that it is within specifications A Note Ifthe smart camera is mounted within an enclosure the ambient temperature of the camera is the temperature inside the enclosure which can be notably warmer than the ambient temperature outside the enclosure 2 Measure the smart camera housing temperature at the location indicated in Figure 8 1 Measuring the NI Smart Camera Housing Temperature and verify that it is within specifications You must remove power bring the temperature within specifications and reapply power to the smart camera to recover from this condition Refer to the Thermal Considerations section of Chapter 8 Thermal Considerations and Mounting for information about measuring the temperature of the smart camera Refer to Appendix A Specifications for complete temperature specifications Lighting Problems The Light Does Not Illuminate When Using the Direct Drive Controller In the event that your light does not i
91. the resulting strobe duty cycle and strobe duration do not violate the limits of the Direct Drive lighting controller or the limits of the light For your convenience the software calculates the resulting strobe duration and duty cycle for your configured frame rate and exposure time It then compares them to the limits of the Direct Drive lighting controller and the limits specified in the associated lighting file Refer to the Lighting Files section of this chapter or the Maximum Frame Rate section of Chapter 5 Image Acquisition for more information If the requested exposure time violates the limits of the Direct Drive lighting controller or the limits for your light as specified in the associated lighting file the smart camera can use the requested exposure time but requires the configured current to be at or below the maximum continuous current A Caution Ifyou are using the 5 V strobe output or the 24 V strobe output the software does not impose any limits on the duration or the duty cycle of the strobe output You must ensure that your requested exposure time and the frame rate result in duration and duty cycle that do not violate the limits of the external controller and or light s Refer to the Maximum Frame Rate section of Chapter 5 Image Acquisition for more information Lighting Files A lighting file is a text file that contains information about a light such as the type and color of the light maximum current limit and maximum
92. unt of light the sensor collects more charge during a longer exposure time than a shorter exposure time Because the charge is what is read out to produce the image it is important to have an optimal amount of light and exposure time for your application Exposing the image sensor for too short 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 results in a bright low contrast image When the image sensor is exposed for an appropriate amount of time relative to the light in the environment acquired images will exhibit appropriate contrast to easily distinguish both dark and light features Contrast is a key factor in obtaining good results from image processing algorithms In applications where the object under inspection is moving the exposure time must be carefully considered If the object moves significantly during the exposure the resulting image is blurry and unsuitable for processing The maximum exposure time for imaging a moving object without blurring depends on the per pixel spatial resolution and the rate of motion of the object The per pixel spatial resolution is the field of view calculated in the Field of View section of Chapter 3 NI Smart Camera Image Sensor divided by the number of pixels in the sensor Together this information can be used to calculate the maximum exposure Assu
93. ware on it After configuring the smart camera use DHCP to assign an IP address or reassign a static IP address for the subnet where you want the smart camera to reside then physically move the smart camera to the other subnet Refer to Getting Started with the NI 17xx Smart Camera for more information about configuring the smart camera Contact your network administrator if you need assistance configuring the host computer and smart camera on the same subnet 7 4 ni com Thermal Considerations and Mounting This chapter contains information about the operating temperature of the NI Smart Camera and provides the information necessary to create a custom mount for the smart camera 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 A Specifications for complete specifications Figure 8 1 shows the location to take temperature measurements on the smart camera Figure 8 1 Measuring the NI Smart Camera Housing Temperature N NATIONAL NSTRUMENTS NI 17XX SMART CAMERA U Z 1 Region to Measure NI Smart Camera Housing Temperature Operating the smart camera above the specified ambient temperature or above the specified case temperature will degrade image quality and can cause permanent damage t

Download Pdf Manuals

image

Related Search

Related Contents

WARNINGS AND INSTRUCTION MANUAL  

Copyright © All rights reserved.
Failed to retrieve file