Measurement Specialties USB-1616HS-2 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Measurement Specialties USB-1616HS-2, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Measurement Specialties USB-1616HS-2 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Measurement Specialties USB-1616HS-2. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Measurement Specialties USB-1616HS-2 should contain:
- informations concerning technical data of Measurement Specialties USB-1616HS-2
- name of the manufacturer and a year of construction of the Measurement Specialties USB-1616HS-2 item
- rules of operation, control and maintenance of the Measurement Specialties USB-1616HS-2 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Measurement Specialties USB-1616HS-2 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Measurement Specialties USB-1616HS-2, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Measurement Specialties service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Measurement Specialties USB-1616HS-2.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Measurement Specialties USB-1616HS-2 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    [...]

  • Page 2

    USB-1616HS-2 User's Guide Document Revision 1, August, 2007 © Copyright 2007, Measurement Com puting Corporation[...]

  • Page 3

    3 HM USB-1616HS-2.doc Your new Measurement Computing produc t comes with a fantastic extra — Management committed to your satisfaction! Refer to www.mccdaq.com/execteam.html for the names, titles, an d contact information of each key exe cutive at Measurem ent Computing. Thank you for choosing a Measurement Co mputing product— and congratulatio[...]

  • Page 4

    4 Trademark and Copyright Information TracerDAQ, Universal Library, Harsh E nvironment Warranty , Measurement Compu ting Corporation, an d the Measurement Computing logo are either trademarks or registered trademarks of M easurement C omputing Corporation. Windows, Microsoft, and Visual Studio ar e either trademar ks or registered trad emarks of Mi[...]

  • Page 5

    5 Table of Contents Preface About this U ser's Gu ide .......................................................................................................................7 What you will learn from this user's guide ..................................................................................... .................... 7 Conventions u[...]

  • Page 6

    USB-1616HS-2 User's Guide 6 Tips for making high-speed coun ter measurement s (> 1 MHz) ...................................................................... .................27 Mapped ch annels ..................................................................................................................................................[...]

  • Page 7

    7 Preface About this User's Guide What you will learn from this user's guide This user's guide explains how to install , configure, a nd use the USB- 1616HS-4 so t hat you get the most out of its analog I/O, thermocouple (TC) input, digital I/O, counte r/timer I/O features. This user's guide also refer s you to rela ted document[...]

  • Page 8

    8 Chapter 1 Introducing the USB-1616HS-2 Overview: USB-1616HS-2 features The USB-1616HS-2 is supported under popular Microsoft ® Window s ® operating systems. The USB-1616HS-2 board is a multifunction measurement and control board designed for the USB bus. The USB-1616HS-2 provides either eight differen tial or 16 single-end ed analog inputs with[...]

  • Page 9

    9 Chapter 2 Installing the USB-1616HS-2 What comes with your USB-1616HS-2 shipment? As you unpack your USB-1616 HS-2, verify th at the following comp onents are i ncluded. Hardware  USB-1616HS-2  USB cable (2-meter length) TR-2U power supply and CA-1* line c ord AC-to-DC conversion power supp ly and cord plugs into the external power connecto[...]

  • Page 10

    USB-1616HS-2 User's Guide Installing the USB-1616HS-2 10 AI-EXP48 Analog in put expansi on module add s up to 2 4 different ial or 48 si ngle-ended in puts to the USB-1616HS -2. CA-96A expansion cable Expansion cabl e for connecti ng to the AI-E XP48 expansi on board. Additional documentation In addition to this hard ware user's guide, yo[...]

  • Page 11

    USB-1616HS-2 User's Guide Installing the USB-1616HS-2 11 Installing the hardware To connect t he USB-1616HS -2 to your system, turn yo ur comput er on, and the n do the fol lowing:  Connect signal lines to the USB-1616HS-2's rem ovable screw terminal blocks . o Connect voltage signals as singl e-ended or differential connections (see F[...]

  • Page 12

    USB-1616HS-2 User's Guide Installing the USB-1616HS-2 12 Configuring the hardware All hardware configuration options on the USB-1616HS-2 are soft ware-cont ro lled. You can select some of the configuration op tions using Insta Cal, such as the analog input configur ati on (16 single-en ded or 8 differential channels), and the edge used for pac[...]

  • Page 13

    USB-1616HS-2 User's Guide Installing the USB-1616HS-2 13 Screw terminal pin outs USB-1616HS-2 screw terminal pin out – sin gle-ended connections Analog common (A d ) Digital common (D d ) Analog output 0 (AO0) FIRSTPORTA Bit 0 (A0) Analog output 1 (AO1) FIRSTPORTA Bit 1 (A1) NC FIRSTPORTA Bit 2 (A2) NC FIRSTPORTA Bit 3 (A3) Analog common (A [...]

  • Page 14

    USB-1616HS-2 User's Guide Installing the USB-1616HS-2 14 USB-1616HS-2 screw terminal pin out – diff erential connections Analog common (A b ) Digital common (D b ) Analog output 0 (AO0) FIRSTPORTA Bit 0 (A0) Analog output 1 (AO1) FIRSTPORTA Bit 1 (A1) NC FIRSTPORTA Bit 2 (A2) NC FIRSTPORTA Bit 3 (A3) Analog common (A b ) FIRSTPORTA Bit 4 (A4[...]

  • Page 15

    USB-1616HS-2 User's Guide Installing the USB-1616HS-2 15 Cabling Use a CA-96A 25-pin expans ion cable (CA -96A expans ion cable) to c onnect to the USB -1616HS-2's 2 5-pin expansion connector. Figure 3. CA-96A expansion cabl e[...]

  • Page 16

    16 Chapter 3 Functional Details This chapter contains detailed information on all of the fe atures available from the board, i ncluding:  a diagram and explanations of physical board components  a functional block diagram  informat ion on how to use the signals ge nerated by the board  diagrams of signals usi ng default o r conventional[...]

  • Page 17

    USB-1616HS-2 User's Guide Functional Details 17 Figure 5. USB-1616HS-2 compon ents – rear view External power connector Although the USB-16 16HS-2 is powered by a USB por t on a host PC, an external power connector may also be required to prov ide sufficient power for th e USB-1616HS-2. Connect the option al TR-2U power supply to the extern [...]

  • Page 18

    USB-1616HS-2 User's Guide Functional Details 18 USB-1616HS-2 block diagram Figure 6 sh ows a simpli fied block dia gram of the USB -1616HS-2. T his board p rovides all of the functio nal elements shown in the figure. 1 MHz ou tpu t c lo ck Analog channel inpu t pr ot ect io n One TT L trigge r inp ut One ana log inp ut pacer cloc k Fo ur 32 -b[...]

  • Page 19

    USB-1616HS-2 User's Guide Functional Details 19 Analog input The USB-1616HS-2 has a 16-bit, 1- MHz A/D coupled with 16 single- ended, or eight differential analog inputs. Seven software prog rammable ranges provide inpu ts from ±10 V to ±100 mV full scale. Analog input scanning The USB-1616 HS-2 has several scanning modes t o address various[...]

  • Page 20

    USB-1616HS-2 User's Guide Functional Details 20 If you want 256 oversamples, then each analog cha nnel in the scan group w ill take 256 µs, and the returned 16- bit value represents an average of 25 6 consecutiv e 1 µs samples of that ch annel. The acquisition is triggered and 16-bit values—each representing an av era ge of 256—stream to[...]

  • Page 21

    USB-1616HS-2 User's Guide Functional Details 21 The counter channe ls may return only the lower 16-bits of coun t value if that is sufficient for the application. They could al so return the ful l 32-bit result if necessary. Similarly , the digital input channel coul d be the full 2 4 bits if desired or only eight bits if that is sufficient. I[...]

  • Page 22

    USB-1616HS-2 User's Guide Functional Details 22 Thermocouple input You can configure up to eight analog inputs in differential mode on th e USB-1616HS- 2 to accept a thermocouple (TC) input. Built-in co ld-jun ction sensors are prov ided for ea ch of the screw-terminal connectors, and any TC type can be attac hed to an y of the eight thermocou[...]

  • Page 23

    USB-1616HS-2 User's Guide Functional Details 23 Although averaging can be e ffective, it suffers from several drawbac ks:  Noise in measurem ents only decreases as the square root of the number of measurements—reduci ng RMS noise significantly may require many samples. Thus, av eraging is suited to low-speed applicatio ns that can provide[...]

  • Page 24

    USB-1616HS-2 User's Guide Functional Details 24 Due to the time it takes to shift the digital d ata out to the DACs, plus the actual settling time of the digital-to- analog conversion , the DACs actually take up to 4 µs af ter the start of scan to settle on the updated value. The data for the DACs and pattern digital output co mes fro m a PC-[...]

  • Page 25

    USB-1616HS-2 User's Guide Functional Details 25 Hardware analog triggering The USB-1616 HS-2 uses true analog triggeri ng in which t he trigger le vel you program sets an analog DAC, which is then com pared in hardware to the analog input le vel on the selected c hannel. This guarantees an analog trigger latency that is less than 1 µs. You ca[...]

  • Page 26

    USB-1616HS-2 User's Guide Functional Details 26 Software-based triggering usually results in a long period of inactivity between the trigger cond ition being detected and th e data being ac quired. Howe ver, the USB- 1616HS-2 avoi ds this sit uation by usin g pre-trigge r data. When software-based-triggering is used, and the PC detects the tri[...]

  • Page 27

    USB-1616HS-2 User's Guide Functional Details 27 When reading synchronously, all coun ters are set to zero at the start of an acquisition. When reading asynchronously, counters may be cleared on each rea d, count up continually, or count until the 16-b it or 32-bit limit has been reached. See coun ter mode expla nations below. Figure 12. Typica[...]

  • Page 28

    USB-1616HS-2 User's Guide Functional Details 28 The counter r olls over on the 16-bit ( counter low ) boundary, or on the 32-bit ( counter high ) boundary. Clear on read mode 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 comman d. The final value o[...]

  • Page 29

    USB-1616HS-2 User's Guide Functional Details 29 There are 16 di fferent debounce tim es. In either deb ounce mode, the de bounce tim e selected determ ines how fast the signal can change and still be recognized . The two debounce modes a re trigger after st able and trigger before st able . A disc ussion of the two mode s follows. Figure 13. D[...]

  • Page 30

    USB-1616HS-2 User's Guide Functional Details 30 Figure 15. Debounce mod ule – Trigger before stable mo de The followin g time period s (T1 throug h T6) pertain to the above drawing.  T1 – In the illustrated example, the input signal is low for the debounce time (equal to T1); therefore when the input ed ge arrives at the end of tim e pe[...]

  • Page 31

    USB-1616HS-2 User's Guide Functional Details 31 Use trigger bef ore 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 rejects the subsequent glitches within the group if the debounce tim e is set accordingly. [...]

  • Page 32

    USB-1616HS-2 User's Guide Functional Details 32 debounced fr om 500 ns t o 25.5 ms (t otal of 16 selecti ons) to elim inate extraneous noise or swi tch induced transients. Encoder input signals must be with in -5V to +10V and the switching threshold is TTL (1.3V). Quadrature enc oders general ly have three o utputs: A, B, a nd Z. The A an d B [...]

  • Page 33

    USB-1616HS-2 User's Guide Functional Details 33 Maximizing encoder accuracy If there are 512 pulses on A, then the encode r position is accu rate to within 360°/512. You can get even greater accuracy by cou nting not only rising edges on A but also falling edg es on A, giving position accuracy to 360 degrees/1024. You get maxim um accuracy co[...]

  • Page 34

    USB-1616HS-2 User's Guide Functional Details 34 Each signal (A , B) can be co nnected as a singl e-ended conn ection with res pect to the comm on digital ground (GND). Both e ncoders need powe r from an e xternal power source (typically +5 VDC). Connect each encoder's powe r input to the external powe r s ource. Connect the return to digi[...]

  • Page 35

    USB-1616HS-2 User's Guide Functional Details 35 Both timer outputs can also be updated during an acquis ition as the result of setpoints applied to analog or digital inputs. Using multiple USB-1616HS-2s per PC USB-1616HS-2 features can be replicated up to four times, as up to four devices ca n be connected to a single host PC. The serial num b[...]

  • Page 36

    USB-1616HS-2 User's Guide Functional Details 36 Criteria – input signal is equal to X Action - driven by condition Compare X to: Setpoint definition (choose one) Update conditions: Limit A or Limit B  Equal to A (X = A)  Below A (X < A)  Above B (X > B) True only:  If True , then output value 1  If False , then perform n[...]

  • Page 37

    USB-1616HS-2 User's Guide Functional Details 37 Setpoint configuration You program all setpoints as part of the pre-acquisition setup, similar to setting up an external trigger. Since each setpoint acts on 16-bit data, each ha s two 16-bit compare values: a high limit ( limit A ) and a low limit ( limit B ). These limits define the setpoint wi[...]

  • Page 38

    USB-1616HS-2 User's Guide Functional Details 38  A value of 0 indicates that the setpoint criteria are not met—in other words, the condition is False .  A value of 1 indicates that the criteria have been met—in other words, th e condition is True . In the following example, the criteria for setpoints 0, 1, and 4 is satisfied ( Tru e [...]

  • Page 39

    USB-1616HS-2 User's Guide Functional Details 39 Figure 26. Analog inputs with setpoints update on True and False In the channel 5 example, t he setpoint place d on analog C hannel 5 u pdated DAC1 with 0.0 V. The update occurred when channel 5's i nput was less t han the setpoint (limit A). When the val ue of channel 5' s input was ab[...]

  • Page 40

    USB-1616HS-2 User's Guide Functional Details 40 Figure 27. Timer output updat e on True and False Using the hysteresis fun ction Update mode : N/A, the hysteresis option has a forced update b uilt into the function Criteria used: Window criteria for above and below the set limits Figure 28 shows analog input Channel 3 with a setpoint which d e[...]

  • Page 41

    USB-1616HS-2 User's Guide Functional Details 41 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 chann els The figure below shows how multiple inpu ts can update one out put. In th e following figure the DAC2 analog output is being updated. Analog[...]

  • Page 42

    USB-1616HS-2 User's Guide Functional Details 42 At t his poi nt you c an update FI RST POR TC or DACs Figure 30. Channel 1 in totaliz ing counter mode, inside the windo w setpoint Detection setpoint details Controlling analog, digital, and timer outputs You can program each setpoi nt with an 8-bit digital output byte and c orr esponding 8-bit [...]

  • Page 43

    USB-1616HS-2 User's Guide Functional Details 43 For example, you set an acqui sition to have a scan rate of 100 kHz, which means each sc an period is 10 µs. Within the scan period you sample six analog input channels. These are shown in th e following figure as channels 1 t hrough 6. T he ADC conversio n occurs at the beginning of each channe[...]

  • Page 44

    44 Chapter 4 Calibrating the USB-1616HS-2 Every range of a USB-1616HS-2 device is c alibrated at the factory using a digita l NIST traceable calibration method. T his method w orks by storing a c orrection facto r for each range on the unit at the ti me of calibration. For analog inputs, the user can ad just the calibration of the board while it is[...]

  • Page 45

    45 Chapter 5 Specifications Typical for 25 °C unless other wise specified. Specifications in italic text are guarantee d by design. Analog input Table 1. Analog input specifications A/D converter type Su ccessive approximation Resolution 16 bits Number of channels 16 single-ended/8 differential, soft ware-s electable. Up to 48 additional analog in[...]

  • Page 46

    USB-1616HS-2 User's Guide Specifications 46 Note 1: Specifications assume differential input single- channel scan , 1 MHz scan rate, unfiltered, CMV=0.0 V, 30 minute wa rm-up, exclusi ve of noise, ra nge is +FS to -FS. Note 2: Noise reflects 10,000 samples at 1 MHz, typical, differential short. Thermocouples Table 3. Thermocouple (T C) types a[...]

  • Page 47

    USB-1616HS-2 User's Guide Specifications 47 Digital input/output Table 5. Digital input/output specific ations Number of I/O 24 Ports Three banks of eight. Each port is programmable as in put or output Input scanning modes Two programmable  Asynchronous, under program control at any time relative to input scanning  Synchronous with input[...]

  • Page 48

    USB-1616HS-2 User's Guide Specifications 48 Counters Counter inputs can be scanned based on an inter nal programm able timer or an ext ernal clock source . Table 6. Counter specific ations Channels 4 independent Resolution 32-bit Input frequency 20 MHz maximum Input signal range -5 V to 10 V Input characteristics 10 k Ω pull-up, 200 Ω seri[...]

  • Page 49

    USB-1616HS-2 User's Guide Specifications 49 Triggering Table 8. Trigger sources an d modes Trigger source Explanation Single channel analog hardware trigger Any analog input channel can be software programmed as the analog trigger chann el, including any of the an alog expansion channels.  Input signal range: -10 V to +10 V maximum  Trig[...]

  • Page 50

    USB-1616HS-2 User's Guide Specifications 50 External power Table 11. External po wer specifications (Note 5) Connector Switchcraft # RAPC-712 Power range 6 to 16 VDC (used when USB port supplies insuff icient power, or when an indep endent power supply is desired) Over-voltage 20 V for 10 seconds, maximum Note 5: The power supply (MCC p/n TR-2[...]

  • Page 51

    USB-1616HS-2 User's Guide Specifications 51 Table 16. USB-1616HS-2 scre w terminal pin out – single-ended con nections Analog common (A b ) Digital common (D b ) Analog output 0 (AO0) FIRSTPORTA Bit 0 (A0) Analog output 1 (AO1) FIRSTPORTA Bit 1 (A1) NC FIRSTPORTA Bit 2 (A2) NC FIRSTPORTA Bit 3 (A3) Analog common (A b ) FIRSTPORTA Bit 4 (A4) [...]

  • Page 52

    USB-1616HS-2 User's Guide Specifications 52 Table 17. USB-1616HS-2 scre w terminal pin out – differential connections Analog common (A b ) Digital common (D b ) Analog output 0 (AO0) FIRSTPORTA Bit 0 (A0) Analog output 1 (AO1) FIRSTPORTA Bit 1 (A1) NC FIRSTPORTA Bit 2 (A2) NC FIRSTPORTA Bit 3 (A3) Analog common (A b ) FIRSTPORTA Bit 4 (A4) C[...]

  • Page 53

    Declaration of Conformity Manufacturer: IOTe ch, Incorpor ated Address: 25971 Cannon Road Cleveland, OH 44146 USA Category: Information technol ogy equi pment. IOTech, Incorporated d eclares under sole responsibility that the produ ct USB-1616HS-2 to which this declaration relates is in conformity with th e rel evant provis ions of the following st[...]

  • Page 54

    Measurement Computing Cor poration 10 Comme rce Wa y Suite 1008 Norton, Massachusetts 02766 (508) 946-5100 Fax: (508) 946-9500 E-mail: info@mccdaq.com www.mccdaq.co m[...]