Home
USB-1604HS-2AO User's Guide - from Measurement Computing
Contents
1. 16 DOUT 5 VDC Non Isolated E DIN 900 mA Power 9 CTRXA B Z 4 CTRO CTR3 Isolated Digital 2 TMR PWMO TMR PWM1 Power XADPCR ADC Pacer Clk Isolated Analog XDPCR DAC Pacer Clk Power DIG TRIG Figure 7 USB 1604HS 2AO functional block diagram Synchronous analog digital and counter sampling The USB 1604HS 2AO samples all analog digital and counter inputs simultaneously while also generating up to two analog outputs and digital pattern outputs at the same time The maximum analog input sampling rate is 1 33 MS s Digital channels digital input and counter channels can be sampled at rates up to 8 MS s for one channel when no analog channels are sampled and rates of up to 1 33 MS s when analog channels are also sampled Input clock pacing Analog digital and counter inputs can be sampled based on either an internal programmable input pacer or with an external clock source XAPCR pin on the SCSI connector or the EXT CLK BNC connector Analog channels can be paced from 0 75 us to 1000 seconds in 20 83 ns steps Digital and counter inputs can be paced from 250 ns to 1 second in 20 83 ns steps 17 USB 1604HS 2AO User s Guide Functional Details The clock rate is 8 MHz maximum for both the internal pacer clock and external input scan clock Output clock pacing Analog digital and timer operations can be paced using the internal output pacer clock independent of the internal pacer clock an external output pacer c
2. 06 usB 1604 ME Figure 1 BNC connectors The signal names for the BNC connectors are listed below 11 USB 1604HS 2AO User s Guide Installing the USB 1604HS 2AO BNC Label Signal connection CHO Analog input 0 CHI Analog input 1 cH cus EXT TRG is equivalent to the DIG TRIG signal on the SCSI connector EXT CLK is equivalent to the XAPCR signal on the SCSI connector Connect your signals using a standard BNC cable 68 pin SCSI connector The signals that are available on the 68 pin SCSI connector are listed below 68 pin SCSI connector pin out Signal name DGND external pacer clock output XDPCR external pacer clock input XAPCR DIG TRIG TMR PWM 1 TMR PWMO CTR3 CTR2 CTR1 CTRO DOUT15 DOUT14 DOUT13 DOUT12 DOUT11 DOUT10 DOUT9 DOUT8 DOUT7 DOUT6 DOUT5 DOUT4 DOUT3 DOUT2 DOUT 1 DOUTO AGND DAC 1 DAC 0 AGND Reserved AGND Reserved AGND NOW fO1D Y Signal name DGND CTR6 Z CTR6 B CTR6 A CTR5 Z CTR5 B CTR5 A CTR4 Z CTR4 B CTR4 A DIN15 DIN14 DIN13 DIN12 DIN11 DIN10 DIN9 DIN8 DIN7 DIN6 DIN5 DIN4 DIN3 DIN2 DIN1 DINO AGND 5VPWR VCAL reserved for calibration AGND Reserved AGND Reserved AGND Connect your signals using a CA 68 3R cable or CA 68 3S or CA 68 6S shielded cable 12 USB 1604HS 2AO User s Guide Installing the USB 1604HS 2AO Cabling Use a CA 68 3R 68 pin ribbon expansion cable Figure 2 or a CA 68
3. Quadrature encoders generally have three outputs A B and Z The A and B signals are pulse trains driven by an optical sensor inside the encoder As the encoder shaft rotates a laminated optical shield rotates inside the encoder The shield has three concentric circular patterns of alternating opaque and transparent windows through which an LED shines There is one LED and one phototransistor for each of the concentric circular patterns One phototransistor produces the A signal another phototransistor produces the B signal and the last phototransistor produces the Z signal The concentric pattern for A has 512 window pairs or 1024 4096 etc When using a counter for a trigger source use a trigger value of at least 1 Since all counters start at zero with the initial scan there is no valid reference in regard to rising or falling edge Setting a pre trigger to 1 or more ensures that a valid reference value is present and that the first trigger 1s legitimate Figure 18 Concentric pattern for output A The concentric pattern for B has the same number of window pairs as A except that the entire pattern 1s rotated by of a window pair Thus the B signal is always 90 out of phase from the A signal The A and B signals pulse 512 times or 1024 4096 etc per complete rotation of the encoder The concentric pattern for the Z signal has only one transparent window and therefore pulses only once per complete rotation Representative signals
4. If False then output value 2 True only If True then output value 1 If False then perform no action True and False If True then output value 1 If False then output value 2 29 USB 1604HS 2AO User s Guide Functional Details Criteria input signal is equal to X Action driven by condition Hysteresis mode forced update If X gt A is True then output value 2 until X lt B is True then output value 1 If X lt Bis True then output value 1 until X gt A is True then output value 2 This is saying Above A X gt A Window Below B X B hysteresis mode both conditions are checked in hysteresis mode a If the input signal is outside the window high then output value 2 until the signal goes outside the window ow and b if the signal is outside the window low then output value 1 until the signal goes outside the window high There is no change to the detect signal while within the window Value A defines the upper limit of the Window and Value B defines the lower limit The detect signal has the timing resolution of the scan period as shown in Figure 23 The detect signal can change no faster than the scan frequency 1 sampling period Detect1 i LU rari nd tard ud i Detect2 1 1 i i i i i 1 LU 1 1 i TIETES si LIGA 1 DISSES 1 i i 1 LU i 1 1 si Bi i 1i i ti ti ni
5. all counters are set to zero at the start of an acquisition When reading asynchronously counters may be cleared on each read count up continually or count until the 16 bit or 32 bit limit has been reached See the counter mode descriptions below 3 3 V 3 3 V 100 k 68 pin SCSI 499 k connector Counter Figure 11 Typical USB 1604HS 2AO counter channel Mapped channels A mapped channel is one of four counter input signals CTRO to CTR3 that can get multiplexed into a counter module The mapped channel can participate with the counter s input signal by gating the counter latching the counter and so on The four possible choices for the mapped channel are the four counter input signals post debounce A mapped channel can be used to gate the counter decrement the counter Jatch the current count to the count register Usually all counter outputs are latched at the beginning of each scan within the acquisition However you can use a second channel known as the mapped channel to latch the counter output Counter input modes The USB 1604HS 2AO supports the following modes Counter Period Pulse width measurement Timing Program the counter operation mode with software Counter mode A counter can be asynchronously read with or without clear on read The asynchronous read signals strobe when the lower 16 bits of the counter are read by software The software can read the counter s high 16 bits s
6. 0 0 ZR Figure 27 Using two criteria to control an output The update on True only mode was selected and therefore the updates for DACI only occur when the criteria is met However in the above figure we see that there are two setpoints acting on one DAC We can also see that the two criteria can be met simultaneously When both criteria are True at the same time the DACI voltage is associated with the criteria that has been most recently met 33 USB 1604HS 2AO User s Guide Functional Details Setpoint detection on a totalizing counter In Figure 28 CTR1 is a counter channel in totalize mode Two setpoints define a point of change for Detect 1 as the counter counts upward The detect output is high when inside the window greater than limit B low limit but less than limit A the high limit In this case the CTRI setpoint is defined for the 16 lower bits of channel 1 s 32 bit value The digital output port s MSB could be updated on a True condition the rising edge of the detection signal You can also update one of the DAC output channels with a value At this point you can update the DO port s msb or the DACs Limit 4 Limit B ANNE A 0 Logical output j ee E e u r i Li i i Figure 28 CTR1 in totalizing counter mode inside the window setpoint Detection Controlling analog and digital outputs You can program each setpoint with an 8 bit digital output byte and correspond
7. 1604HS 2A0 for the first time a Found New Hardware message opens as the device is detected When the message closes the installation is complete Configuring the USB 1604HS 2AO All hardware configuration options on the USB 1604HS 2A0 are software controlled with the exception of the digital pull up pull down described below which is set for pull up by default You can select some of the configuration options using InstaCal such as the analog input range and the trigger source Once selected any program that uses the Universal Library will initialize the hardware according to these selections Connecting the board for I O operations Connectors cables and accessory products The following table lists the board connectors applicable cables and compatible accessory products for the USB 1604HS 2A0 Board connectors cables and compatible hardware Connector types Six standard BNC female connectors for analog input clock input and digital trigger input 68 pin SCSI connector Compatible cable for the BNC connectors Standard BNC cable Compatible cables for the 68 pin SCSI connector CA 68 3R CA 68 3S or CA 68 6S shielded cable Compatible accessory products using the TB 102 screw terminal board CA 68 3R CA 68 3S or CA 68 6S cables BNC connectors The USB 1604HS 2AO has six BNC connectors used to connect the analog input signals external pacer clock input and external digital trigger input EXTTRG EXTCLK 0
8. 3i ti ti at ti si ni i Detect3 EEE o i LU 114144 BALA JYqusitivtit Acquisition stream Scan Group i Sampling q Ze 1s Period Figure 23 Detection signals for channels 1 2 and 3 Each channel in the scan group can have one detection setpoint There can be no more than 16 total setpoints total applied to channels within a sampling group Detection setpoints act on 16 bit data only When reading the counters as 32 bit data is returned 16 bits at a time The lower word the higher word or both lower and higher words can be part of the scan group Each counter input channel can have one detection setpoint for the counter s lower 16 bit value and one detection setpoint for the counter s higher 16 bit value Setpoint configuration You program all setpoints as part of the pre acquisition setup similar to setting up an external trigger Each setpoint acts on 16 bit data so each has two 16 bit compare values a high limit limit A and a low limit limit B These limits define the setpoint window You can set the 16 bit high limit limit A and the 16 bit low limit limit B with software The setpoint conditions criteria and update modes are summarized below Setpoint criteria Inside window The signal is below the 16 bit high limit limit A and above the 16 bit low limit limit B Outside window The signal is above the 16 bit high lim
9. 68 pin SCSI connector Compatible accessory products for the 68 pin SCSI connector RM TB 100 19 inch rack mount kit for TB 102 Signal I O connectors BNC connectors Table 21 BNC connectors pin out BNC signals Function CHO Analog input CHO CH1 Analog input CH1 CH2 Analog input CH2 CH3 Analog input CH3 EXT TRIG BNC connection for DIG TRIG EXT CLK BNC connection for XAPCR clock These signals also available at SCSI connector 44 USB 1604HS 2AO User s Guide Specifications 68 pin SCSI connector Table 22 68 pin SCSI connector pin out Pin Signal Pin No Signal No 1 AGND 35 AGND 2 RESERVED 36 RESERVED 3 AGND 37 AGND 4 RESERVED 38 RESERVED 5 AGND 39 AGND 6 VCAL 40 DAC 0 7 5V PWR 41 DAC 1 8 AGND 42 AGND 9 DINO 43 DOUTO 10 DIN1 44 DOUT1 11 DIN2 45 DOUT2 12 DIN3 46 DOUT3 13 DIN4 47 DOUT4 14 DIN5 48 DOUT5 15 DIN6 49 DOUT6 16 DIN7 50 DOUT7 17 DIN8 51 DOUTS 18 DIN9 52 DOUT9 19 DIN10 53 DOUT10 20 DIN11 54 DOUT11 21 DIN12 55 DOUT12 22 DIN13 56 DOUT13 23 DIN14 57 DOUT14 24 DIN15 58 DOUT15 25 CTR4A 59 CTRO 26 CTR4 B 60 CTR1 27 CTR4 Z 61 CTR2 28 CTR5A 62 CTR3 29 CTR5 B 63 TMR PWMO 30 CTR5Z 64 TMR PWM1 31 CTR6 A 65 DIG TRIG 32 CTR6 B 66 XAPCR 33 CTR6 Z 67 XDPCR 34 DGND 68 DGND 45 C Declaration of Conformity
10. Computing Corporation products are not designed with the components required and are not subject to the testing required to ensure a level of reliability suitable for the treatment and diagnosis of people Table of Contents Preface A oUt tis Users Cline 7 What you will learn trom this user sende y Conventions Ti HS USer Ss PUIG estoit Qe pO EE op Ha E ios cesta opto SEAT 7 Where 106 FING Mort ANT OT MALEN qua 7 Chapter 1 Introducing the USB T604HS 2AQ viii A A A a 8 Overview USD O004ES 2 AD TEAOLUUEOS aid 8 SOHWAI Idea dc 8 Chapter 2 Installing the USB 1604HS 2A0 un ee aAa Ha aaa 9 What comes with your USB 1604HS 2AO shipment 22222200000sssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnn 9 Hardware nein E T EE TETE E T E E msn 9 Op onal components isha di Ain 9 Additional documental oM an 10 senal CONAN ACCESOS A ea o ee 10 Unpackine the USB T604HS 2A O a aoi reete Ra ee u io 10 Installing The SOMO OEC id dai doe Sea E A EA dl dos 10 PS tals the Mat Watson dsd sad io aere 10 Connecting the External power SUDDLy uen to ei een ei en ans 11 Connecting the USB 1604HS 2AO to your syStem eeeessssssssseseensnsnsnnnnnnnnnnnnennnnnnnnnnnnnnnnnnssnsnnennnnnnnnnnnnnnssnssssssnnnnnnnnnnnnnnn 11 Commourins tie US BsTO04EIS 2 C ee ee 11 Connectins the board tor DO opera I u a ni 11 Connectors cables and accessory Producers see A bie 11 ON 13 Held winne and Sona Cer mim AO daa A AAA AA AAA aped dus 13 TB 10
11. Counter totalizer triggering CTRO 3 Analog input hardware Analog software trigger External digital input Digital pattern Counter totalizer Input signal range entire span of selected voltage range Channel selectable Trigger level Programmable 12 bit resolution Hysteresis Programmable 12 bit resolution Latency 1 25 uS typical Accuracy 2 of reading 10 mV offset maximum Trigger range Anywhere within range of the trigger channel Trigger level Programmable 16 bit resolution Latency one sample period maximum 15 V to 15 V maximum Trigger level TTL level sensitive Minimum pulse width 50 ns high 50 ns low Latency 100ns maximum 16 bit pattern triggering on the digital port DINO DIN15 Programmable for trigger on equal not equal above or below a value Individual bits can be masked for don t care condition Latency One sample period maximum Counter totalizer inputs CTRO 3 can trigger an acquisition User can select to trigger on a frequency or on total counts that are equal not equal above or below a value or within outside of a window rising falling edge Latency One sample period maximum Input signal range 40 USB 1604HS 2AO User s Guide Specifications Pacing sources Table 12 Pacing specifications Parameter Specification Input pacer Pacer clocks 2 For pacing A D DIN and Counter signals Can be internally generated or externally supplied XA
12. Modes ann ee A ee een A A 22 PSD OUI SUG Odds eines 23 Waa SC ECC Ol einen euere 26 STRADA METTRE T ET SA AAA A ISE 26 Wie Xda 1S encoder Acero aaa AE udvavetacai nes 27 Connecting the USB 1604HS 2A0 to an encoder sue nn a sacle 27 Timer pulso SeneralO een neh roce een ee 28 Using detectlonsetpotmts rtor Output CONE Ol ossi od oto vain 20 SC CP OLE COMETS ACI ON a nenne 30 Exaiiples of controb out DULS een en ee aan east tanta u edid ee hid did 31 Conttolhsanaloe and dis Hal OUDDUES titi Bene pe urne add 34 Update EnC ausser ee A 34 Usine theserpormt status LE Ister ae ein el Ma Tag caede dunner ean eis re 35 Chapter 4 Calibrating the USB 1604AS 2AO sauna 36 Chapter 5 PSCC AU ONS zaara TETTE 37 ADOS THU ed een Mec A A det dit ttn dfe c dott ee ee 37 AMOSO DU ernennen rennen 38 AMAIOS Input CAM DEA OM ernennen een E 39 DISTA E nta li il ii tt leise 39 DISTA UPS nee 39 TITS CET SOUL CCS en A EE TA add 40 Paens sources een E UM CM eier 4 COM S Um TT NUR EP 42 A T m TU T TTE 42 Ouadrature dec OCCT sn nee ee doi 43 LOVER edo utat O ndis buds mdi isto ee due 43 USB DeCITIC AL IOS a2 2 20 9 92 05 55 8150 29262 502 294 09908800008 0 45 520 020 0840 DI 0 09 0 90 92000008 4 940 00 060500000 055068 65225 43 Environmental lee eal bu adopte NEA rio ee 43 Mechanic 9 S 44 UO eablesxconmnectors and dece id ersehen Led TE 44 s5121al VO COMES E PEE 44 S
13. Output low voltage IOL 2 5 mA 0 4 V maximum 41 USB 1604HS 2AO User s Guide Specifications Counters Table 13 Counter specifications Parameter Specification Number of channels 4 independent CTRL 0 1 2 3 may be configured as gated if desired Modes Counter Period Pulse width Timing Counter mode options Totalize Clear on Read Rollover Stop at top 16 bit or 32 bit any other channel can decrement the counter Period mode options Measure x1 x10 x100 or x1000 periods 16 bit or 32 bit 4 time bases to choose from 20 83 ns 208 3 ns 2 083 us 20 83 us any other channel can gate the period measurement Pulse width mode options 16 bit or 32 bit values 4 time bases to choose from 20 83 ns 208 3 ns 2 083 us 20 83 us any other channel can gate the pulse width measurement Timing mode options 16 bit or 32 bit values 4 time bases to choose from 20 83 ns 208 3 ns 2 083 us 20 83 us Resolution voltage Required input current Minimum pulse width Input high voltage 2 0 V minimum 5 5 V maximum Input low voltage 0 8 V maximum 0 V minimum Timers Table 14 Timer specifications Number of channel Effective frequency range Period resolution Output high voltage IOH 2 5 mA Output low voltage IOL 2 5 mA Output current 2 5 mA maximum per pin Pulse width resolution Eg 20 83 nS 42 USB 1604HS 2AO User s Guide Specifications Quadrature decoders Table 15 Quadra
14. controlled electromagnetic environment as defined by Standards EN 61326 1 2006 or IEC 61326 1 2005 Declaration of Conformity based on tests conducted by Chomerics Test Services Woburn MA 01801 USA in February 2009 Test records are outlined in Chomerics Test Report EMI5276 09 We hereby declare that the equipment specified conforms to the above Directives and Standards Ole Carl Haapaoja Director of Quality Assurance Measurement Computing Corporation 10 Commerce Way Suite 1008 Norton Massachusetts 02766 508 946 5100 Fax 508 946 9500 E mail info mccdaq com www mccdag com
15. if the counter is using the Stop at all FFFFs mode otherwise this option is ignored The 16 bit mode requires less bandwidth for higher channels count and higher sample rates Period mode This mode allows for period measurement of the channel input You can measure x1 x10 x100 or x1000 periods and 16 bit counter low or 32 bit counter high values Four timebase or tick size values are available 20 83 ns 208 3 ns 2 083 us or 20 83 us These values are based on the 48 MHz system clock Any other channel can gate the period measurement All period mode options are selectable with software Pulse width measurement mode This mode is used to measure a channel s pulse width You can measure 16 bit or 32 bit values Four timebase or tick size values are available 20 83 ns 208 3 ns 2 083 us or 20 83 us These values are based on the 48 MHz system clock Any other channel can gate the pulse width measurement All pulse width options are selectable with software Timing mode This mode is used to measure the time between two subsequent events such as the edge of one channel with respect to the edge of another channel You can measure 16 bit or 32 bit values Four timebase or tick size values are available 20 83 ns 208 3 ns 2 083 us or 20 83 us All timing options are selectable with software Debounce function The USB 1604HS 2A0 has debounce circuitry which eliminates switch induced transients that are typically as
16. lines configured as 16 digital inputs and 16 digital outputs You can pace digital operations with the onboard scan clock or an external source The maximum DIO transfer rate is 8 MS s software paced Digital input scanning Digital input ports can be read synchronously along with analog channels in a scan or asynchronously before during or after an analog input scan The digital inputs can sustain rates of up to 8 MS s for one channel when no analog channels are sampled and rates of up to 1 33 MS s when analog channels are also sampled Internal pull up pull down capability J14 Unconnected inputs are pulled high to 3 3V through 100 k resistors via a 4 pin jumper on the PCB board J14 To configure these inputs to pull low 0 V do the following 1 Remove the 4 screws from the rear panel 18 USB 1604HS 2AO User s Guide Functional Details Remove the rear panel screws Remove the SCSI connector screws Figure 8 Location of rear panel screws 2 Slide the board out of the housing and locate jumper J14 ae m m ATEN lee ee eee SRR ee Figure 9 Location of J14 3 Configure jumper J14 for either pull up or pull down configuration refer to Figure 10 o For pull up place the J14 shorting block across pins 1 and 2 o For pull down place the J14 shorting block across pins 3 and 4 M4 J14 Pul up Pull down Figure 10 J14 configuration 4 Slide the board into the housing S Replace the 4
17. long as the period of the DAC pacer clock For these reasons avoid streaming outputs on any DAC or pattern digital output when using setpoints to control DACs Update latency USB 1604HS 2AO channels are read almost immediately The response for a channel input detection does not occur until the next reading is taken during the next tick of the acquisition clock The maximum update latency is one sample period plus 250 ns for the most significant byte MSB of the digital output port and 1 us for DAC updates 34 USB 1604HS 2AO User s Guide Functional Details The detection circuit works on data that is put into the acquisition stream at the sample rate This data is acquired according to the pre acquisition setup sampling group sample period etc and returned to the PC Counters are latched into the acquisition stream when sampling begins The actual counters may be counting much faster than the sample rate and therefore only every 10 100 or n count shows up in the acquisition data As a result you can set a small detection window on a totalizing counter channel and have the detection setpoint stepped over since the sample period was too long Even though the counter value stepped into and out of the detection window the actual values going back to the PC may not This is true no matter what mode the counter channel is in When setting a detection window keep a sample period in mind This applies to analog inputs and cou
18. tuation by using pre trigger data When software based triggering is used and the PC detects the trigger condition which may be thousands of readings after the actual occurrence of the signal the USB 1604HS 2AO driver automatically looks back to the location in memory where the actual trigger causing measurement occurred and presents the acquired data that begins at the point where the trigger causing measurement occurs The maximum inactive period in this mode equals one scan period Set the trigger value gt 0 when using a counter input as the trigger source When using a counter for a trigger source set the trigger value to 1 or greater Since all counters start at zero with the first scan there is no valid reference in regard to rising or falling edge Setting the trigger value to 1 or greater ensures that a valid reference value is present and that the first trigger will be legitimate Stop trigger modes You can use any of the software trigger modes explained previously to stop an acquisition For example you can program an acquisition to begin on one event such as a voltage level and then stop on another event such as a digital pattern Pre triggering and post triggering modes The USB 1604HS 2AO supports four modes of pre triggering and post triggering When using pre trigger you must use software based triggering to initiate an acquisition No pre trigger post trigger stop event In this mode data acquisition st
19. 2 screw terminal board connector to SCSI connector PIN OUt occccccncncncnnnnnnnnnonnnnnnnnnnnnnnonononononnnnnnnncnnnnnnnnnnnnnnnnananess 13 Chapter 3 Functional DetalS saint dia 15 PP RO 15 BNCE COANECIOLS D 15 SAUS NR RS 15 Rear pine A A O A A a 15 eeepc MEM mo 15 External power connector EX T PWR a Sense ni sr dasa uer oh Le lea 16 NSB COMIC COR a eet aei intentaba cis 16 VESTI ITI PER c 16 MESA CA eiie oerte tees hu MM ar Esta C UELLE Retiro 16 Block dat an seien esse een 17 Synchronous analog digital and counter sampling cccccccnnnnnnnnnnnnonononnnnnnnnnonnnnnnnnnnnonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnos 17 Input ClOCK pachi a er 17 Output clock Pac sa AAA A AAA A AA DA AAA AA 18 AO DU See e oe o etie te e E 18 A110 OULU UU S ey setae pads te O E o OO E ee 18 DIET One ee een ee 18 Disttalanput Scannen Ad A eltern 18 Internal pull up pull down capability 314 ooccccnnccccnonnooonnnnnnnnnnnnnnononononononononnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnananess 18 Digital outputs and pattern SENSCA ON 24 ata Aa did 19 USB 1604HS 2AO User s Guide A A I 20 Hardware based trig oerni nes eter rie partt ae nen 20 DOR waresbdsed DI C RIO ee ee epa EE een 20 SLOP CIC SCE HOC S A E N 21 Pre trisserins and post trig Permo MOGES a a en ee 21 E ee ee ea ee ee 21 Mapped channel na LT UZ T m 22 Counter Input
20. 3S 3 foot or CA 68 6S 6 foot 68 pin shielded expansion cable Figure 3 to connect signals to the USB 1604HS 2AO s 68 pin SCSI connector The stripe identifies pin 1 Figure 2 CA 68 3R cable Figure 3 CA 68 3S and CA 68 6S shielded cable Details on these cables are available at www mccdaq com usb data acquisition USB 1604HS 2A0 aspx Field wiring and signal termination You can use the following Measurement Computing screw terminal board to terminate field signals and route them into the USB 1604HS 2AO board using the CA 68 3R CA 68 3S or CA 68 6S cable TB 102 Termination board with screw terminals Details on this product are available on our web site at www measurementcomputing com products screw_terminal_bnc aspx A 19 inch rack mount kit RM TB 102 for the TB 102 termination board is also available TB 102 screw terminal board connector to SCSI connector pin out The TB 102 terminal board is shown here The table below lists how signals on the TB 102 are mapped to the signals on the 68 pin SCSI connector Pin mapping between the TB 102 terminal board and the 68 pin SCSI connector 13 USB 1604HS 2AO User s Guide Installing the USB 1604HS 2AO TB1 screw SCSI TB2 screw SCSI terminals pin terminals pin AGND 1 AGND 35 Reserved 2 Reserved 36 AGND 3 AGND 37 Reserve
21. Manufacturer Measurement Computing Corporation Address 10 Commerce Way Suite 1008 Norton MA 02766 USA Category Electrical equipment for measurement control and laboratory use Measurement Computing Corporation declares under sole responsibility that the product USB 1604HS 2AO to which this declaration relates is in conformity with the relevant provisions of the following standards or other documents EC EMC Directive 2004 108 EC General Requirements EN 61326 1 2006 IEC 61326 1 2005 Emissions EN 55011 2007 CISPR 11 2003 Radiated emissions Group 1 Class A EN 55011 2007 CISPR 11 2003 Conducted emissions Group 1 Class A Immunity EN 61326 1 2006 Table 3 EC 61000 4 2 2001 Electrostatic Discharge immunity EC 61000 4 3 2002 Radiated Electromagnetic Field immunity EC 61000 4 4 2004 Electric Fast Transient Burst Immunity TEC 61000 4 5 2001 Surge Immunity EC 61000 4 6 2003 Radio Frequency Common Mode Immunity TEC 61000 4 11 2004 Voltage Interrupts To maintain compliance to the standards of this declaration the following conditions must be met The host computer peripheral equipment power sources and expansion hardware must be CE compliant E All I O cables must be shielded with the shields connected to ground O cables must be less than 3 meters 9 75 feet in length The host computer must be properly grounded Equipment must be operated in a
22. N A Peto beh ML Ln NI 44 OS pI SC ST COBDBIECLOE ve espe VE sea RETI eee Sac eins M Metus de REEL REES 45 Declaration of EoNformily a n da a ias 46 Preface About this User s Guide What you will learn from this user s guide This user s guide explains how to install configure and use the USB 1604HS 2A0 so that you get the most out of its synchronous data acquisition features This user s guide also refers you to related documents available on our web site and to technical support resources Conventions in this user s guide For more information on Text presented n a box signifies additional information and helpful hints related to the subject matter you are reading Caution Shaded caution statements present information to help you avoid injuring yourself and others damaging your hardware or losing your data lt H gt Angle brackets that enclose numbers separated by a colon signify a range of numbers such as those assigned to registers bit settings etc bold text Bold text is used for the names of objects on the screen such as buttons text boxes and check boxes For example 1 Insert the disk or CD and click the OK button italic text Italic text is used for the names of manuals and help topic titles and to emphasize a word or phrase For example The nstaCal installation procedure is explained in the Quick Start Guide Never touch the exposed pins or circuit connections on the board Where
23. PCR XAPCR s accessible from front BNC or rear SCSI connector Output pacer For pacing DAC DOUT and Timer PWM signals Can be internally generated or externally supplied XDPCR Internal programmable Analog channels from 750 ns to 1000s in 20 83 ns steps DIN channels and counters from 125 ns to 100 s in 20 83 ns steps Can be configured to pace AO and or DOUT channels External TTL level input XAPCR A D channels down to 750 ns minimum DIN channels and counters down to 125 ns minimum Can be configured to pace DAC and or DOUT channels Input pacer rate Analog 1 33 MHz maximum Internal or external XAPCR source Digital 8 MHz if no analog channels are enabled 1 33 MHz with analog channels enabled Pacer input high voltage 2 0 V minimum 5 5 V maximum Pacer input low voltage 0 8 V maximum 0 V minimum Minimum pulse width 50 ns high 50 ns low Output pacer clock sources 4 Internal output pacer clock independent of input pacer clock External output pacer clock XDPCR Internal input pacing clock External input pacing clock XAPCR Input pacer Output pacer Input pacer clock sources 2 Internal programmable External XAPCR Output pacer rate 1 0 MHz maximum Internal or external XDPCR source 8 MHz if no analog outputs are enabled 1 MHz if DAC outputs are enabled Internal pacer routed to BNC or SCSI conn XAPCR or XDPCR Output high voltage IOH 2 5 mA 2 4 V minimum
24. S 2AO Quadrature encoders with a 16 bit counter low or a 32 bit counter low counter high counter 6 MHz maximum pulse frequency and X1 X2 and X4 count modes are supported The SCSI connector provides six counter pins that are dedicated to performing encoder functions CTR4 A CTRA B CTR4 Z CTRS A CTR5 B CTRS Z CTR6 A CTR6 B CTR6 Z The encoder input pins are dedicated for encoder counting and cannot be mapped for other functions Input A is a direct counter input Input B functions as the B phase for encoder counting and Input Z functions as the Z phase of the encoder Each A and B signal is made as a single ended connection with respect to common ground To connect an encoder to the USB 1604HS 2AO do the following Connect signals A B and Z to the CTR4 A B and Z through CTR6 A B and Z pins on the SCSI connector Connect each encoder ground to GND Figure 20 shows the connections for one encoder to the 68 pin SCSI connector on a USB 1604HS 2AO 27 USB 1604HS 2AO User s Guide Functional Details 5V PWR Ground to DGND pin CTR4 A to Encoder A CTRA B to Encoder B CTR4 Z to Encoder z Encoder Figure 20 Encoder connections to the SCSI connector Connections can alternately be made to the associated screw terminals of a connected TB 102 terminal connector You can get the relative position and velocity from the encoder However during an acquisition you cannot get
25. Setpoint 4 having a True state shows 1 giving us decimal 16 For proper operation the setpoint status register must be the last channel sampled 35 Chapter 4 Calibrating the USB 1604HS 2AO Every range of a USB 1604HS 2AO device is calibrated at the factory using a NIST traceable calibration process Correction factors for each range are stored on the unit at the time of calibration The analog input calibration can be adjusted in the field without destroying the factory calibration This is accomplished by having two independent calibration tables in the on board EPROM one table contains the original factory calibration and the other table is used to store field calibration constants You can perform field calibration automatically in seconds with InstaCal and without the use of external hardware or instruments Field calibration traceability is derived through an on board reference which has a stability of 0 005 per year A two year calibration period is recommended for the USB 1604HS 2AO Calibrate the USB 1604HS 2AO using nstaCal after the board has fully warmed up The recommended warm up time is 15 minutes For best results calibrate the board immediately before making critical measurements The high resolution analog components on the board are somewhat sensitive to temperature Pre measurement calibration ensures your board is operating at peak accuracy 36 Chapter 5 Specifications All specifications are subject t
26. USB 1604HS 2AO Multifunction Synchronous Data Acquisition Board User s Guide Va PFa MEASUREMENT Wi as COMPUTING USB 1604HS 2AO Multifunction Synchronous Data Acquisition Board User s Guide Va at e AWK Vap MEASUREMENT COMPUTING Document Revision 3 July 2010 Copyright 2010 Measurement Computing Corporation Your new Measurement Computing product comes with a fantastic extra Management committed to your satisfaction Thank you for choosing a Measurement Computing product and congratulations You own the finest and you can now enjoy the protection of the most comprehensive warranties and unmatched phone tech support It s the embodiment of our mission To provide PC based data acquisition hardware and software that will save time and save money Simple installations minimize the time between setting up your system and actually making measurements We offer quick and simple access to outstanding live FREE technical support to help integrate MCC products into a DAQ system Limited Lifetime Warranty Most MCC products are covered by a limited lifetime warranty against defects in materials or workmanship for the life of the product to the original purchaser unless otherwise noted Any products found to be defective in material or workmanship will be repaired replaced with same or similar device or refunded at MCC s discretion For specific information please refer to the terms and conditions o
27. able duty cycle Each timer is capable of generating a programmable pulse width wave with a programmable frequency in the range of 0 01123 Hz to 24 MHz The pulse and period range is 20 83 ns to 89 seconds 3 3 V Timer AL B SCSI enerator connector Figure 21 Typical timer pulse generator channel 28 USB 1604HS 2AO User s Guide Functional Details The timer outputs can be updated asynchronously at any time however doing so results in a pulse stream that is not seamless Using detection setpoints for output control You can configure a detection setpoint for each analog input channel Each setpoint can update the following channels allowing for real time control based on acquisition data The upper 8 bits of the digital output port with a data byte and mask byte analog outputs DAC 0 DAC 1 You can configure each detection setpoint as one of the following Single point referenced Above below or equal to the defined setpoint Window dual point referenced Inside or outside the window Window dual point referenced hysteresis mode Outside the window high forces one output designated as Output 2 outside the window low forces another output designated as Output 1 Detect Rising Edge Condition True Detect Falling Edge Condition False Channel Input Condition Action Criteria Figure 22 Setpoint configuration A digital detect signal is used to indicate when a signal c
28. ar panel SCSI connector The 68 pin SCSI connector provides connections for all I O signals except for analog input Refer to page 12 for the connector pin out Two analog outputs DACO and DACI 16 digital inputs DINI to DINI5 16 digital outputs DOUTI to DOUTI5 Four counters CTRO to CTR3 Two counters may be gated Three quadrature detectors CTR4 A B and Z to CTR6 A B and Z Two timer pulse outputs TMR PWMO to TMR PWM1 Digital trigger input DIG TRIG Input pacer clock XAPCR Output pacer clock XDPCR Analog ground AGND Digital ground DGND Calibration VCAL 5V PWR 15 USB 1604HS 2AO User s Guide Functional Details External power connector EXT PWR The USB 1604HS 2AO requires external power Connect the PS 5 V2AEPS power supply to the EXT PWR connector This power supply provides 5 VDC 2 A power and plugs into a standard 120 VAC outlet USB connector The USB connector provides communication with the host PC Analog common The analog ground reference for the analog inputs and analog outputs Mechanical drawing Figure 6 USB 1604HS 2AO case dimensions 16 USB 1604HS 2AO User s Guide Functional Details Block diagram USB 1604HS 2AO functions are illustrated in the block diagram shown here ADCO CHO ADC1 16 bit CH1 1 33 MSP CH2 CH3 CAL EEPROM TRIG DAQ Control E B USB Isolation 1 33 MSPS 48 MHz Clock DAC 0
29. are shown in Figure 19 26 USB 1604HS 2AO User s Guide Functional Details Figure 19 Representation of quadrature encoder outputs A B and Z As the encoder rotates the A or B signal indicates the distance the encoder has traveled The frequency of A or B indicates the velocity of rotation of the encoder If the Z signal is used to zero a counter that is clocked by A then that counter gives the number of pulses the encoder has rotated from its reference The Z signal is a reference marker for the encoder It should be noted that when the encoder is rotating clockwise as viewed from the back A will lead B and when the encoder is rotating counterclockwise A lags behind B If the counter direction control logic is such that the counter counts upward when A leads B and counts downward when A lags B then the counter gives direction control as well as distance from the reference Maximizing encoder accuracy If there are 512 pulses on A then the encoder position is accurate to within 360 512 You can get even greater accuracy by counting not only rising edges on A but also falling edges on A giving position accuracy to 360 1024 You get maximum accuracy counting rising and falling edges on A and on B since B also has 512 pulses This gives a position accuracy of 360 2048 These different modes are known as X1 X2 and X4 Connecting the USB 1604HS 2A0 to an encoder You can connect up to three encoders to the USB 1604H
30. arts when the trigger 1s received and the acquisition stops when the stop trigger event is received Fixed pre trigger with post trigger stop event In this mode you set the number of pre trigger readings to acquire The acquisition continues until a stop trigger event occurs No pre trigger infinite post trigger In this mode no pre trigger data is acquired Instead data is acquired beginning with the trigger event and is terminated when you issue a command to halt the acquisition Fixed pre trigger with infinite post trigger You set the amount of pre trigger data to acquire Then the system continues to acquire data until the program issues a command to halt acquisition Counter inputs The USB 1604HS 2AO has four counters that can accept frequency inputs up to 20 MHz The counter channels can be read as 16 or 32 bit counters A counter can also be configured to be gated by one of the other counter inputs mapped as a gate input refer to Mapped channels on page 22 The input type is TTL rising edge triggered The counters can concurrently monitor time periods frequencies pulses and other event driven incremental occurrences directly from pulse generators limit switches proximity switches and magnetic pick ups Counter inputs can be read asynchronously under program control or synchronously as part of an analog or digital scan group 21 USB 1604HS 2AO User s Guide Functional Details When reading synchronously
31. ation board with screw terminals TB 102 Additional documentation In addition to th s hardware user s guide you should also receive the Quick Start Guide available in PDF at www mccdaq com PDFEmanuals DA Q Software Quick Start pdf This booklet supplies a brief description of the software you received with your USB 1604HS 2AO and information regarding installation of that software Please read this booklet completely before installing any software or hardware Signal conditioning accessories MCC provides signal termination products for use with the USB 1604HS 2AO Refer to the Field wiring and signal termination section for a complete list of compatible accessory products Unpacking the USB 1604HS 2AO As with any electronic device take care while handling to avoid damage from static electricity Before removing the USB 1604HS 2AO from its packaging ground yourself using a wrist strap or by simply touching the computer chass s or other grounded object to eliminate any stored static charge If the USB 1604HS 2AO s damaged notify Measurement Computing Corporation immediately by phone fax or e mail Phone 508 946 5100 and follow the instructions for reaching Tech Support Fax 508 946 9500 to the attention of Tech Support Email techsupport mccdaq com For international customers contact the local distributor where you purchased the USB 1604HS 2AO Click on this link www measurementcomputing com sales asp to locat
32. cts the subsequent glitches within the group if the debounce time is set accordingly The debounce time should be set to encompass one entire group of glitches as shown in the following diagram Debounce Time Input E LLI LLLI Trigger Before Stable Trigger After Stable Figure 16 Optimal debounce time for trigger before stable mode 25 USB 1604HS 2AO User s Guide Functional Details Trigger after stable mode behaves more like a traditional debounce function rejecting glitches and only passing state transitions after a required period of stability Trigger after stable mode is used with electro mechanical devices like encoders and mechanical switches to reject switch bounce and disturbances due to a vibrating encoder that is not otherwise moving The debounce time should be set short enough to accept the desired input pulse but longer than the period of the undesired disturbance as shown in Figure 17 Debounce Time Trigger Before Stable Trigger After Stable Figure 17 Optimal debounce time for trigger after stable mode Quadrature detectors Overview Quadrature detectors are used to calculate the relative or absolute position of a quadrature encoder and to determine its rotational speed Each quadrature detector supports phase A B and Z input signals 0 90 and zero When reading phase A phase B and index Z signals the positioning direction and velocity data can be calculated
33. d 4 Reserved 38 AGND 5 AGND 39 VCAL 6 DACO 40 5VOUT 7 DAC1 41 AGND 8 AGND 42 DINO 9 DOUTO 43 DIN1 10 DOUT1 44 DIN2 11 DOUT2 45 DIN3 12 DOUT3 46 DIN4 13 DOUT4 47 DIN5 14 DOUT5 48 DIN6 15 DOUT6 49 DIN7 16 DOUT7 50 DIN8 17 DOUTS 51 DIN9 18 DOUT9 52 DIN10 19 DOUT10 53 DIN11 20 DOUT11 54 DIN12 21 DOUT12 55 DIN13 22 DOUT13 56 DIN14 23 DOUT14 57 DIN15 24 DOUT15 58 CTR4A 25 CTRO 59 CTR4B 26 CTR1 60 CTR4Z 27 CTR2 61 CTR5A 28 CTR3 62 CTR5B 29 TMR PWMO 63 CTR5Z 30 TMR PWM1 64 CTR6A 31 DIGTRIG 65 CTR6B 32 XAPCR 66 CTR6Z 33 XDPCR 67 DGND 34 DGND 68 DGND DGND EGND EGND Extra digital ground connectors EGND is connected to the SCSI connector shell 14 Chapter 3 Functional Details Front panel 2 EXT TRG A T 2 1 CH on BHOKOKOKORKC RC usB 1604 WIE Figure 4 USB 1604HS 2A0 front panel BNC connectors The USB 1604HS 2AO has six BNC connectors that provide connections for the following signals Four single ended analog inputs External digital trigger input External pacer clock input These signals are also available on the 68 pin SCSI connector Status LEDs The POWER LED lights up after the device is enumerated by the system The ACTIVE LED lights up when the USB 1604HS 2A0 is transmitting or receiving data Rear panel Figure 5 USB 1604HS 2A0 re
34. data that is relative to the Z position until the encoder locates the Z reference Debounce feature Each input can be debounced from 500 ns to 25 5 ms total of 16 selections to eliminate extraneous noise or to switch induced transients Encoder input signals must be within O and 5 5 volts and the switching threshold is typically 1 5 volts If the encoder stops rotating but continues to generate signals due to it being mounted to a vibrating or noisy machine you can use the debounce feature to eliminate false edges Choose an appropriate debounce time and apply it to each encoder channel Refer to the Debounce function section on page 23 for additional information regarding debounce times Scan period values The USB 1604HS 2A0 clears all counter channels at the beginning of the acquisition so the values returned during scan period 1 are always zero The values returned during scan period 2 reflect what happened during scan period 1 In general the output of each channel s counter is latched at the beginning of each scan period called the start of scan Every time the USB 1604HS 2AO receives a start of scan signal the counter values are latched and are available to the USB 1604HS 2AO The scan period defines the timing resolution for the USB 1604HS 2AO If you need a higher timing resolution shorten the scan period Timer pulse generators The USB 1604HS 2A0 has two timer pulse generator signals TMR PWMO and TMR PWM1 with programm
35. e your distributor Installing the software Refer to the Quick Start Guide for instructions on installing the software on the Measurement Computing Data Acquisition Software CD This booklet is available in PDF at www mccdaq com PDFmanuals DAQ Software Quick Start pdf Installing the hardware Power to the USB 1604HS 2A0 is provided with the 10 watt AC power adapter PS 5V2AEPS The power supply ships with a U S plug Optional interchangeable plugs for international locations are available 10 USB 1604HS 2AO User s Guide Installing the USB 1604HS 2AO Connecting the external power supply Connect the AC power adapter cord to the EXT PWR connector on the device s rear panel and plug the adapter into an electrical outlet The POWER LED on the front panel turns on when the device is detected by the system Connect external power before connecting the USB cable to the computer Connect the external power cable to the USB 1604HS 2AO before connecting the USB cable to the computer This allows the USB 1604HS 2A0 to inform the host computer when the USB cable is connected that the board requires minimal power from the computer s USB port Connecting the USB 1604HS 2A0 to your system To connect the USB 1604HS 2AO to your system turn the computer on and connect a USB cable from the USB connector on the rear panel to either a USB port on the computer or external USB hub connected to the computer When you connect the USB
36. el Condition State of detect signal Within window True When Channel 0 analog input voltage is within the window update the between limit digital output port s MSB with 70h A and limit B False When the above condition is false channel 0 analog input voltage is for channel 0 outside the window update the digital output port s MSB with 30h Limit 4 For channel 0 Limit B for channel 0 Fi DO Port s msb 30h Detection signal For channel 0 Figure 25 Channel 0 input with setpoint update on True and False You can program control outputs on each setpoint Detection for channel O can be used to update the digital output port s most significant byte with one value when the analog input voltage is within the shaded region 70 h and update with a different value when the analog input voltage is outside the shaded region 30 h Using the hysteresis function Update mode N A the hysteresis option has a forced update built into the function Criteria used Window criteria for above and below the set limits Figure 26 shows analog input Channel 3 with a setpoint which defines two 16 bit limits Limit A High and Limit B Low These limits are applied in the hysteresis mode and DAC channel 0 is updated accordingly In this example Channel 3 s analog input voltage is used to update DACO as follows When outside the window low below limit B DACO is updated with 3 0 V This update remains in effect until the ana
37. ernate connections for the external pacer clock and external digital trigger input The USB 1604HS 2AO samples all analog inputs digital inputs and counter inputs simultaneously You can synchronize AI AO and DIO operations at rates of up to 1 MS s million samples per second with aggregate throughput up to 8 MS s You can pace operations with an internal or external clock A 500 VDC isolation barrier between the field wiring and USB interface reduces signal noise and protects the board and your computer from ground spikes The USB 2 0 high speed driver transfers data at rates up to 480 Mbps The device is powered by a 10 Watt regulated external power supply that is included with shipment Factory and self calibration tables are stored onboard in EEPROM Software features For information on the features of InstaCal and the other software included with your USB 1604HS 2A0 refer to the Quick Start Guide that shipped with your device Chapter 2 Installing the USB 1604HS 2AO What comes with your USB 1604HS 2AO shipment Hardware USB 1604HS 2AO USB cable 2 meter length External power supply and cord 5 volts 10 watt AC power adapter MCC part number PS 5V2AEPS Optional components Cables Standard BNC cable CA 68 3R cable CA 68 35 3 foot shielded cable CA 68 6S 6 foot shielded cable CA 68 3R 3 feet USB 1604HS 2AO User s Guide Installing the USB 1604HS 2AO Screw termin
38. f sale Harsh Environment Program Any Measurement Computing product that is damaged due to misuse or any reason may be eligible for replacement with the same or similar device for 50 of the current list price I O boards face some harsh environments some harsher than the boards are designed to withstand Contact MCC to determine your product s eligibility for this program 30 Day Money Back Guarantee Any Measurement Computing Corporation product may be returned within 30 days of purchase for a full refund of the price paid for the product being returned If you are not satisfied or chose the wrong product by mistake you do not have to keep it These warranties are in lieu of all other warranties expressed or implied including any implied warranty of merchantability or fitness for a particular application The remedies provided herein are the buyer s sole and exclusive remedies Neither Measurement Computing Corporation nor its employees shall be liable for any direct or indirect special incidental or consequential damage arising from the use of its products even if Measurement Computing Corporation has been notified in advance of the possibility of such damages HM USB 1604HS 2AO docx 3 Trademark and Copyright Information TracerDAQ Universal Library Measurement Computing Corporation and the Measurement Computing logo are either trademarks or registered trademarks of Measurement Computing Corporation Windows Microsoft a
39. for the debounce time and therefore any edge on the input after time period T6 is immediately reflected in the output of the debounce module Debounce mode comparisons Figure 15 shows how the two modes interpret the same input signal which exhibits glitches Notice that the trigger before stable mode recognizes more glitches than the trigger after stable mode Use the bypass option to achieve maximum glitch recognition Debounce Debounce Debounce Time Time Time 1 1 is el 1 l Input Trigger Before Stable Trigger After Stable E Bypass Figure 15 Example of two debounce modes interpreting the same signal Set the debounce time according to the amount of instability expected in the input signal Setting a debounce time that 1s too short may result in unwanted glitches clocking the counter Setting a debounce time that is too long may result in an input signal being rejected entirely Some experimentation may be required to find the appropriate debounce time for a particular application To see the effects of different debounce time settings view the analog waveform along with the counter output This can be done by connecting the source to an analog input Use trigger before stable mode when the input signal has groups of glitches and each group is to be counted as one The trigger before stable mode recognizes and counts the first glitch within a group but reje
40. ing 8 bit mask byte When the setpoint criteria is met the digital output port s most significant byte MSB can be updated with the given byte and mask You can also program each setpoint with a 16 bit DAC update value Either DAC output can be updated in real time In Aysteresis mode each setpoint has two forced update values Each update value can drive one DAC or the digital output port s most significant byte n hysteresis mode the outputs do not change when the input values are inside the window One update value gets applied when the input values are less than the window and a different update value gets applied when the input values are greater than the window Update on True and False uses two update values The update values can drive DACS or the digital output port s most significant byte The digital output port s most significant byte is updated one sample period after the detection setpoint channel is sampled plus up to 250 ns for data transfer from the detection setpoint channels DAC output is updated one sample period after the detection setpoint channel is sampled plus up to 1 us for data transfer from the detection setpoint channels and data shifting out to the D A converter Update latencies can be improved with an increased sample rate When using setpoints to control the DAC outputs increased latencies may occur if attempting to stream data to DACS or pattern digital output at the same time The increased latency can be as
41. it limit A or below the 16 bit low limit limit B 30 USB 1604HS 2AO User s Guide Functional Details The signal is above the 16 bit low limit The 16 bit high limit limit A is not used The signal is below the 16 bit high limit The 16 bit low limit limit B is not used Equal to value The signal is equal to the 16 bit high limit The 16 bit low limit limit B is not used This mode is intended for use when the counter or digital input channels are the source channel Only use this mode with counter or digital input channels as the channel source To have similar functionality for analog channels use the inside window mode Hysteresis mode Outside the window high forces output 2 until an outside the window low condition exists then output 1 is forced Output 1 continues until an outside the window high condition exists This cycle repeats as long as the acquisition is running in hysteresis mode Setpoint output channel None Update the upper 8 bits of the digital output port Update the analog output channels DACO DACI Update modes Update on True only Update on True and False None Do not update Setpoint values for output 16 bit DAC value or the most significant byte MSB of the digital output port when the input does meets criteria 16 bit DAC value or the most significant byte MSB of the digital output port when the input does not meet criteria Note When using setpoints with trigge
42. lock connected to the XDPCR pin on the SCSI connector the internal programmable input pacer or an external input pacing clock connected to either the XAPCR pin on the SCSI connector or the EXT CLK BNC connector The clock rate is 1 MHz maximum for analog output operations and 8 MHz maximum for digital operations in which no analog channels are enabled Analog inputs The USB 1604HS 2AO has four single ended analog inputs Each input has a dedicated 16 bit A D converter that provides true simultaneous sampling at rates of up to 1 33 MHz per channel The input range is software selectable for 10 V 2 5 V or 500 mV You can pace analog input operations with the internal A D pacer clock or with an external clock source When using an external input scan clock connect the clock source to the XAPCR pin on the SCSI connector or the EXT CLK BNC connector Analog outputs The USB 1604HS 2AO has two independent 16 bit analog output channels The analog output range is 10V to 10V Each DAC channel can continuously output a waveform at up to 1 MHz You can clock the DAC channels with the internal DAC scan clock or with an external DAC input clock The internal analog input pacer clock can pace both the DAC output and the analog input simultaneously When using an external output scan clock connect the clock source to the XDPCR pin on the SCSI connector or the EXT CLK BNC connector Digital 1 0 The USB 1604HS 2AO has 32 CMOS digital I O
43. log input voltage goes above Limit A When outside the window high above limit A DACO is updated with 7 0 V This update remains in effect until the analog input signal falls below limit B At that time we are again outside the limit low and the update process repeats itself Hysteresis mode can also be done with the digital output port s most significant byte instead of a DAC 32 USB 1604HS 2AO User s Guide Functional Details Channel 3 analog input voltage Limit 4 Limit B Detection DAL Figure 26 Channel 3 in hysteresis mode Using multiple inputs to control one DAC output Update mode Rising edge for each of two channels Criteria used Inside window for each of two channels Figure 27 shows how multiple inputs can update one output In this figure analog output channel DACI is being updated Analog input Channel 1 has an inside the window setpoint applied Whenever Channel 1 s input goes inside the programmed window DAC1 will be updated with 3 0 V Analog input Channel 2 also has an inside the window setpoint applied Whenever channel 2 s input goes inside the programmed window DACI is updated with 7 0 V Limit A For channel 1 Limit E for channel 1 er z hb Channel 1 analog input voltage aes i Channel 2 analog input voltage gt E 1 o E fs Detection channel 1 Detection channel gt oy Start of acquisition a Denotes DAC update baci
44. nd Visual Studio are either trademarks or registered trademarks of Microsoft Corporation LabVIEW is a trademark of National Instruments CompactFlash is a registered trademark of SanDisk Corporation XBee and XBee PRO are trademarks of MaxStream Inc All other trademarks are the property of their respective owners Information furnished by Measurement Computing Corporation is believed to be accurate and reliable However no responsibility is assumed by Measurement Computing Corporation neither for its use nor for any infringements of patents or other rights of third parties which may result from its use No license is granted by implication or otherwise under any patent or copyrights of Measurement Computing Corporation All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form by any means electronic mechanical by photocopying recording or otherwise without the prior written permission of Measurement Computing Corporation Notice Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and or devices without prior written consent from Measurement Computing Corporation Life support devices systems are devices or systems which a are intended for surgical implantation into the body or b support or sustain life and whose failure to perform can be reasonably expected to result in injury Measurement
45. ng because the analog digital or counter readings are checked by the PC in order to detect the trigger event Analog software The acquisition is triggered when the computer issues a software command You can select any analog channel in the scan as the trigger channel The trigger level the rising or falling edge and hysteresis are software programmable The trigger level can be any value within the range of the trigger channel Latency is one sample period maximum Digital pattern The acquisition is triggered with a digital input channel pattern You can select any scanned digital input channel pattern to trigger an acquisition including the ability to mask or ignore specific bits You can program to trigger the conversion when equal to not equal to above or below a value Latency is one sample period maximum 20 USB 1604HS 2AO User s Guide Functional Details Counter Totalizer The acquisition is triggered with the counter totalize inputs You can program triggering to occur on a frequency or on total counts that are equal not equal above below or below a value or that are within outside of a window r sing falling edge Latency is one sample period maximum You can select of the included counter channels as the trigger source Software based triggering usually results in a long period of inactivity between the trigger condition being detected and the data being acquired However the USB 1604HS 2AO avoids this s
46. nter inputs Quickly changing analog input voltages can step over a setpoint window if not sampled often enough resulting in missed setpoint event There are three possible solutions for overcoming this problem Shorten the sample period to give more timing resolution on the counter values or analog values Widen the setpoint window by increasing limit A and or lowering limit B A combination of both of the above solutions could be made Using the setpoint status register You can use the setpoint status register to check the current state of the 16 possible setpoints In the register Setpoint O is the least significant bit and setpoint 15 is the most significant bit Each setpoint is assigned a value of 0 or 1 A value of 0 indicates that the setpoint criteria is not met the condition is False A value of 1 indicates that the criteria is met the condition is True In the following example the criteria for setpoints 0 1 and 4 is satisfied True but the criteria for the other 13 setpoints is not met Setpoint 15 14 13 12 u fio 9 8 7 J6 s 4 3 2 1 JO Tue o o jo o jo jo jo fo jo jo o j1 Jo o J fa False 0 Most significant bit Least significant bit gt gt gt From the above table we have 10011 binary or 19 decimal it is derived as follows Setpoint O having a True state shows 1 giving us decimal 1 Setpoint 1 having a True state shows 1 giving us decimal 2
47. o change without notice Typical for 25 C unless otherwise specified All signal names refer to 68 pin SCSI connector unless otherwise specified Analog input Table 1 Analog input specifications Conditions Specification A D converter type Number of AI channels i successve approximation ype YS simuttancous input configuration III SSS Sampling method Simultaneous individual A D per channel nparrangs O oves mV BEDV La Absolute maximum input 30 V maximum power on voltage 20 V maximum power off Input impedance 10 MQ typical power on Input bandwidth 3 dB 3 MHz typical Remaining inputs grounded 100 dB at 100 kHz Pacer sources Onboard A D clock or external digital source XAPCR or EXT CLK BNC External pacing XAPCR or EXT CLK BNC See Table 12 for additional information Trigger sources and modes Fr See Table 11 rate UE S s to 1 33 MS s each channel software A Redon as UINLGmeguimonimey 320188 DNE differential nonlinear aois Table 2 Calibrated accuracy Table 3 Noise performance note 1 uv 8 E S 500 mV Note 1 Noise distribution is determined by gathering 50 000 samples with inputs tied to ground at the BNC connectors Samples are gathered at the maximum specified rate 37 USB 1604HS 2AO User s Guide Specifications Table 4 SINAD signal to noise and distortion perfo
48. ome time later after reading the lower 16 bits The full 32 bit result reflects the timing of the first asynchronous read strobe The following counter mode options are selectable with software 22 USB 1604HS 2AO User s Guide Functional Details Totalize This mode allows the basic use of a 32 bit counter The channel input increments the counter upward When used as a 16 bit counter counter low one channel can be scanned up to an 8 MHz rate When used as a 32 bit counter counter high two sample times are used to return the full 32 bit result Therefore a 32 bit counter can only be sampled at a 4 MHz maximum rate The counter counts up and does not clear on every new sample However it does clear at the start of a new scan command The counter rolls over on the 16 bit counter low boundary or on the 32 bit counter high boundary Clear on read The counter counts up and is cleared after each read By default the counter counts up and only clears the counter at the start of a new scan command The value of the counter before it was cleared 1s latched and returned Rollover The counter continues to count upward rolling over on the 16 or 32 bit boundary Stop at top The counter stops at the top of its count The top of the count is FFFF hex 65 535 for the 16 bit mode and FFFFFFFF hex 4 294 967 295 for the 32 bit mode 16 bit or 32 bit Sets the counter type to either 16 bits or 32 bits The type of counter only matters
49. ondition is True or False A signal condition is true if the signal has met defined criteria and false if the signal has not met defined criteria The detect signals can be measured as any other input channel thus allowing real time data analysis during an acquisition The detection module looks at the 16 bit data being returned on a channel and generates another signal for each channel with a setpoint applied Detect for Channel 1 Detect2 for Channel 2 and so on see Figure 23 These signals serve as data markers for each channel s data It does not matter whether that data is volts or counts A channel s detect signal shows a rising edge and is True 1 when the channel s data meets the setpoint criteria The detect signal shows a falling edge and is False 0 when the channel s data does not meet the setpoint criteria The True and False states for each setpoint criteria appear in the setpoint status register refer to Using the setpoint status register section on page 35 for more information Criteria input signal is equal to X Action driven by condition Compare X to Setpoint definition Update conditions True only Equal to A X A If True then output value 1 Below A X lt A Above B X gt B choose one Limit A or Limit B Window Inside B lt X lt A non hysteresis Outside B gt X or X gt A mode choose one If False then perform no action True and False If True then output value 1
50. put Output Figure 13 Debounce module trigger after stable mode T1 through T5 indicate time periods In trigger after stable mode the input signal to the debounce module is required to have a period of stability after an incoming edge in order for that edge to be accepted passed through to the counter module For this example the debounce time is equal to T2 and T5 T In Figure 13 the input signal goes high at the beginning of time period T1 but never stays high for a period of time equal to the debounce time setting equal to T2 for this example T2 At the end of time period T2 the input signal has transitioned high and stayed there for the required amount of time therefore the output transitions high If the input signal does not stabilize in the high state long enough no transition would have appeared on the output and the entire disturbance on the input would have been rejected T3 During time period T3 the input signal remained steady No change in output is seen T4 During time period T4 the input signal has more disturbances and does not stabilize in any state long enough No change in the output is seen T5 At the end of time period T5 the input signal has transitioned low and stayed there for the required amount of time therefore the output goes low Trigger before stable mode In the trigger before stable mode the output of the debounce module immediately changes state but will not change s
51. rmance note 2 500 mV Note 2 Calibrated and measured with a 10 kHz signal at 0 95 FSR at the maximum sampling rate Table 5 ENOB effective number of bits performance note 3 Note 3 Calibrated and measured with a 10 kHz signal at 0 95 FSR at the maximum sampling rate Table 6 SFDR spurious free dynamic range performance note 4 Note 4 SFDR is measured at the maximum sampling rate Analog output Table 7 Analog output specifications Number ofchamels Tw independent SSS Reson A eis Omumge AOS Pacer sources Internal pacing External pacing Pacing slaved to analog input pacing See Table 12 for additional information Monoron AN EN Fourputnoise imvmsmwmm Settling time to 01 FS 10 V output step 5 uS R 5 KQ C 2200 pf Sevue A ET Vis Giemr ETT zero egos i s09MSVmaimm oN sMSB DN ET Otteren slpmC Giemrdin owe 38 USB 1604HS 2AO User s Guide Specifications Analog input calibration Table 8 Analog input calibration specifications System calibration references 8 192 V 2 048 V 0 4096 V 5 mV Actual measured values stored in EEPROM Tempco 5 ppm C maximum Long term stability 30 ppm 1000 h Digital inputs Table 9 Digital input specifications 16 inputs DINO DINIS Digital type 3 3V CMOS 5V tolerant Up to 8 MHz DIO onl
52. rs other than immediate hardware analog or TLL the setpoint criteria evaluation begins immediately upon triggering the acquisition Examples of control outputs Detection on analog input DAC and digital port MSB updates Example 1 Update mode Update on True and False Criteria Channel 1 below limit In this example channel 1 is programmed with reference to one setpoint limit A defining a low limit Channel Condition State of detect signal Below limit A True When the channel 1 analog input voltage is below limit A update for channel 1 DAC 1 with the output value 0 0 V False When the above condition is false update DACI with the output value of minus 1 0 V PS Channel 1 analog input A 1 J Limit 4 Far channel 1 DACI Detection for channel 1 Figure 24 Channel 1 input with setpoint update on True and False 31 USB 1604HS 2AO User s Guide Functional Details The setpoint placed on analog Channel 1 updated DACI with 0 0 V The update occurred when the channel 1 input was less than setpoint limit A When the value of the channel 1 input was above setpoint limit A the condition of less than limit A was false and DACI was updated with 1 0 V Example 2 Update mode Update on True and False Criteria Channel 0 inside window In this example Channel 0 is programmed with reference to two setpoints limit A and limit B which define a window for that channel Chann
53. screws on the rear panel Digital outputs and pattern generation Digital outputs can be updated asynchronously at any time before during or after an acquisition The USB 1604HS 2AO can generate a digital pattern at up to 4 MS s Digital pattern generation is clocked with either the internal D A scan clock or with an external D A input clock Digital patterns can be generated along with D A waveforms They are paced by the same selected clock The on board programmable clock generates updates ranging from once every 1000 seconds to 1 MHz independent of the acquisition rate The digital outputs are driven low at power up and reset 19 USB 1604HS 2AO User s Guide Functional Details Triggering Triggering can be the most critical aspect of a data acquisition application A trigger event occurs and data acquisition begins when specified conditions are met You select the trigger mode and set up its parameters with software The USB 1604HS 2AO supports both hardware based and software based triggers With a hardware based trigger an output value is compared in hardware to an input level on a specified channel With software based triggers the analog digital and or counter readings are checked by the PC in order to detect the trigger event The USB 1604HS 2AO supports the following trigger sources Hardware based triggers o Analog input hardware o External digital trigger input Software based triggers o Analog soft
54. sociated with electro mechanical devices including relays proximity switches and encoders All debounce options are selectable with software You can select a debounce time debounce mode and rising edge or falling edge sensitivity Each channel s output can be debounced with 16 programmable debounce times in the range of 500 ns to 25 5 ms There are two debounce modes as well as a debounce bypass as shown in Figure 12 The signal from the buffer can be inverted before it enters the debounce circuitry The inverter is used to make the input rising edge or falling edge sensitive Edge selection is available with or without debounce In this case the debounce time setting is ignored and the input signal goes straight from the inverter or inverter bypass to the counter module The two debounce modes are trigger after stable and trigger before stable In either mode the selected debounce time determines how fast the signal can change and still be recognized 23 USB 1604HS 2AO User s Guide Functional Details Debounce Bypass Trigger Before Stable From SCSI Connector To Counters Buffer Inverter Figure 12 Debounce model block diagram Trigger after stable mode In the trigger after stable mode the output of the debounce module does not change state until a period of stability has been achieved This means that the input has an edge and then must be stable for a period of time equal to the debounce time In
55. tate again until a period of stability has passed For this reason the mode can be used to detect glitches Figure 14 Debounce module Trigger before stable mode T1 through T5 indicate time periods T In Figure 14 the input signal is low for the debounce time equal to T1 therefore when the input edge arrives at the end of time period T1 it is accepted and the output of the debounce module goes high Note that a period of stability must precede the edge in order for the edge to be accepted 24 USB 1604HS 2AO User s Guide Functional Details T2 During time period T2 the input signal is not stable for a length of time equal to T1 the debounce time setting for this example Therefore the output stays high and does not change state during time period T2 T3 During time period T3 the input signal is stable for a time period equal to T1 meeting the debounce requirement The output is held at the high state This is the same state as the input T4 At anytime during time period T4 the input can change state When this happens the output will also change state At the end of time period T4 the input changes state going low and the output follows this action by going low T5 During time period T5 the input signal again has disturbances that cause the input to not meet the debounce time requirement The output does not change state T6 After time period T6 the input signal has been stable
56. to find more information For additional information relevant to the operation of your hardware refer to the Documents subdirectory where you installed the MCC DAQ software C Program Files Measurement Computing DAQ by default or search for your device on our website at www mccdaq com Chapter 1 Introducing the USB 1604HS 2AO Overview USB 1604HS 2A0 features The USB 1604HS 2AO is a multifunction high speed measurement and control board supported under popular Microsoft Windows operating systems The device is compatible with both USB 1 1 and USB 2 0 ports although the speed of the module maybe limited when using USB 1 1 ports The USB 1604HS 2AO provides the following features Four single ended 16 bit analog inputs with one A D converter per channel The maximum sampling rate is 1 333 MS s per channel The input range is software programmable for 10 V 2 5 V or 500 mV Two synchronous 16 bit 10 V analog outputs can generate waveforms at 1 MS s per channel 16 synchronous digital inputs and 16 synchronous digital outputs Four 16 bit or 32 bit counters can be configured to be gated Two timer pulse generators with pulse width duty cycle control Three 16 bit or 32 bit quadrature detectors to measure linear and rotary position A 68 pin SCSI connector provides connections for all inputs and outputs except for the four analog inputs Six BNC connectors provide connections for the four analog inputs and alt
57. ture decoder specifications Number of decoders 3 CTRAA B Z CTR5 A B Z CTR6 A B Z De bounce function 16 selections from 500 ns to 25 5 ms positive or negative edge glitch detect and or de bounce modes Input high voltage 2 0 V minimum 5 5 V maximum Input low voltage 0 8 V maximum 0 V minimum Absolute maximum input voltage Power Table 16 Power specifications Power jack barrel diameter USB specifications Table 17 USB specifications USB device ype USB device compatibility USB cable length USB cable type A B cable UL type AWM 2527 or equivalent minimum 24 AWG VBUS GND minimum 28 AWG D D Environmental Table 18 Environmental specifications Parameter Specification Operating temperature range 0 to 55 C maximum Storage temperature range 40 to 85 C maximum Humidity 0 to 90 non condensing 43 USB 1604HS 2AO User s Guide Specifications Mechanical Table 19 Mechanical specifications 142 2 mm W x 180 3 mm D x 38 1 mm H 5 6 x 7 1 x 1 5 675 2 1 5165 I O cables connectors and accessories Table 20 Cables connectors and accessory specifications Parameter Specification I O connector type 68 pin standard SCSI TYPE III female connector CA 68 3R 68 pin ribbon cable 3 feet CA 68 3S 68 pin shielded round cable 3 feet CA 68 6S 68 pin shielded round cable 6 feet TB 102 termination board with screw terminals Compatible cables for the
58. ware trigger o Digital pattern o Counter totalizer Hardware based triggering With a hardware based trigger an output value is compared in hardware to an input level on a specified channel Analog input hardware In this mode the acquisition is triggered when a specified input level is achieved The USB 1604HS 2AO uses true analog triggering in which the trigger level you program sets an analog DAC which is then compared in hardware to the analog input level on the selected channel This ensures an analog trigger latency that is less than 1 5 us You can select any analog channel as the trigger channel but the selected channel must be the first channel in the scan You can program the trigger level the rising or falling edge and hysteresis level The trigger level can be any value within the voltage range for the selected trigger channel External digital trigger input A separate digital trigger input line DIG TRIG allows TTL level triggering with latencies guaranteed to be no less than 100 nS The acquisition is triggered when a rising or falling edge is detected The trigger level is set at TTL sensitive Latency is one sample period maximum The input signal range is 15 V The trigger edge logic level 1 or 0 and the rising or falling edge for the discrete trigger input are software selectable Software based triggering The three software based trigger modes differ from hardware analog triggering and digital triggeri
59. y operation 1 33 MHz if configured for AI operations On board or external clock XAPCR Pacer sources Internal pacer clock or external digital source XAPCR or EXT CLK BNC External pacer clock XAPCR or EXT CLK BNC See Table 12 for additional information DIN trigger modes and sources See Table 11 Input pull ups 100 kQ consult factory for alternative options Latency software paced 115 ms typical system dependant Digital outputs Table 10 Digital output specifications 16 outputs DOUTO DOUTIS Digital output rate 8 MHz maximum if no analog outputs are enabled 1 MHz maximum if analog outputs are enabled Digital type 3 3 V CMOS Output high voltage IOH 2 5 mA 2 4 V minimum 3 4 V maximum Output low voltage IOL 2 5 mA 0 4 V maximum 0 V minimum 2 5 mA maximum per pin DOUT pacing On board or external clock XDPCR Pacer sources Internal pacing External pacing Pacing slaved to analog input pacing See table 12 for additional information Latency software paced 115 ms typical system dependant 39 USB 1604HS 2AO User s Guide Specifications Trigger sources Table 11 External trigger specifications Specification Parameter Available trigger sources Trigger source details Analog input hardware trigger CHO CH3 Analog software trigger CHO CH3 External digital EXT TRIG BNC or DIG TRIG SCSI Digital pattern triggering DINO 15
Download Pdf Manuals
Related Search
Related Contents
open the User Guide - Nestlé Professional Beverages IT_Di866S user`s manual_S0710Rev.1.3 20021126 Carrera Bogen • Carrera Bridge Carrera arC • Carrera arCo Valueline VLMP39901Y Model 27907 Series DECT 6.0 Cordless Handset Speakerphone TCD-CS-2008-17 - Pioneer ZCI660MXC User Manual Cooker Lynx Computer Accessories R FR 5010 User's Manual Copyright © All rights reserved.
Failed to retrieve file