Omega PCI-DAS1001, PCI-DAS1002 User Manual

User's Guide
http://www.omega.com
e-mail: info@omega.com
PCI-DAS1001 PCI-DAS1002
1.0 INTRODUCTION ....................................................
1
22.0 INSTALLATION .....................................................
2 2.1 HARDWARE INSTALLATION .........................................
2 2.2 SOFTWARE INSTALLATION, WINDOWS 95, 98 & NT ....................
22.2.1 INTRODUCTION ...........................................
22.2.2 INSTALLATION OPTIONS ....................................
22.2.3 FILE DEFAULT LOCATION ....................................
22.2.4 INSTALLATION QUESTIONS ................................
22.2.5 INSTALLATION COMPLETION ................................
3 2.3 RUN InstaCal .......................................................
32.3.1 LAUNCHING InstaCAL ........................................
32.3.2 TESTING THE INSTALLATION .................................
3 2.4 DOS AND/OR WINDOWS 3.1 ..........................................
43.0 HARDWARE CONNECTIONS .........................................
4 3.1 CONNECTOR PIN DIAGRAM .........................................
4 3.2 CONNECTING SIGNALS TO THE PCI-DAS1000 ..........................
54.0 ANALOG CONNECTIONS ............................................
5 4.1 ANALOG INPUTS ....................................................
54.1.1 SINGLE-ENDED AND DIFFERENTIAL INPUTS ....................
74.1.2 SYSTEM GROUNDS AND ISOLATION ...........................
9 4.2 WIRING CONFIGURATIONS ..........................................
104.2.1 COMMON GROUND / SINGLE-ENDED INPUTS ..................
104.2.2 COMMON GROUND / DIFFERENTIAL INPUTS ...................
104.2.3 COMMON MODE VOLTAGE < +/-10V / SINGLE-ENDED INPUTS ....
114.2.4 COMMON MODE VOLTAGE < +/-10V / DIFFERENTIAL INPUTS ....
114.2.5 COMMON MODE VOLTAGE > +/-10V .........................
124.2.6 ISOLATED GROUNDS / SINGLE-ENDED INPUTS .................
124.2.7 ISOLATED GROUNDS / DIFFERENTIAL INPUTS .................
145.0 PROGRAMMING & SOFTWARE APPLICATIONS ......................
14 5.1 PROGRAMMING LANGUAGES ......................................
14 5.2 PACKAGED APPLICATION PROGRAMS ..............................
156.0 SELF-CALIBRATION OF THE PCI-DAS1000 ...........................
15 6.1 CALIBRATION CONFIGURATION ....................................
156.1.1 ANALOG INPUTS ............................................
166.1.2 ANALOG OUTPUTS ..........................................
177.0 PCI-DAS1000 REGISTER DESCRIPTION ..............................
17 7.1 REGISTER OVERVIEW ..............................................
17 7.2 BADR0 ............................................................
17 7.3 BADR1 ...........................................................
177.3.1 INTERRUPT / ADC FIFO REGISTER ............................
197.3.2 ADC CHANNEL MUX AND CONTROL REGISTER ................
217.3.3 TRIGGER CONTROL/STATUS REGISTER .......................
237.3.4 CALIBRATION REGISTER ....................................
247.3.5 DAC CONTROL/STATUS REGISTER ............................
25 7.4 BADR2 ............................................................
257.4.1 ADC DATA REGISTER .......................................
257.4.2 ADC FIFO CLEAR REGISTER ..................................
26 7.5 BADR3 ............................................................
267.5.1 ADC PACER CLOCK DATA AND CONTROL REGISTERS .........
277.5.2 DIGITAL I/O DATA AND CONTROL REGISTERS ................
297.5.3 INDEX AND USER COUNTER 4 DATA AND CONTROL REGISTERS .
31 7.6 BADR4 ............................................................
317.6.1 DAC0 DATA REGISTER ......................................
317.6.2 DAC1 DATA REGISTER ......................................
328.0 ELECTRICAL SPECIFICATIONS .....................................
32 8.1 ANALOG INPUT SECTION ...........................................
33 8.2 ANALOG OUTPUT ..................................................
33 8.3 PARAELLEL DIGITAL INPUT/OUTPUT ................................
34 8.4 COUNTER SECTION ................................................
34 8.5 OTHER SPECIFICATIONS ............................................
1.0 INTRODUCTION
The PCI-DAS1002 and PCI-DAS1001 are multifunction analog and digital I/O boards designed to o perate in computers with PCI bus accessory slots. The boards provide 16 single-ended/8 differential analog inputs with sample rates as high as 150 KHz. The boards also provide two analog output channels, 24-bits of parallel digital I/O and three counters. The only difference between the boards are the analog input ranges. These are shown below.
PCI-DAS1002 Bipolar: +/- 10V, 5V, 2.5V and 1.25V
Unipolar: 0-10V, 0-5V, 0-2.5V and 0-1.25V
PCI-DAS1001 Bipolar: +/- 10V, 1.0V, 0.1V and 0.01V
Unipolar: 0-10V, 0-1.0V, 0-0.1V and 0-0.01V
The boards are fully plug-and-play, with no switches or jumpers to set. The boards are fully auto- and self-calibrating with no potentiometers to adjust. All calibration is performed via software and on-board trim D/A converters.
The PCI-DAS1000 boards are fully supported by the powerful Universal Library software driver library as well as a wide variety of application software packages including DAS Wizard and HP VEE.
1
2.0 INSTALLATION
2.1 HARDWARE INSTALLATION
The PCI-DAS1001 and PCI-DAS1002 products are completely plug and play. Simply follow the steps shown below to install your PCI hardware.
1.
Turn your computer off, unplug it, open it up and insert the PCI board into any available PCI slot.
2.
Close your computer up, plug it back in and turn it on.
3.
Windows will automatically detect the board as it starts up. If the board's configuration file is already on the system, it will load without user interaction. If the configuration file is not detected, you will be prompted to insert the disk containing it. The required file is on the InstaCal or Universal Library disk you received with your board. Simply insert the CD (or Disk 1 if your software is on floppy disk) into an appropriate drive and click on
CONTINUE
Manager under DAS Component.
If the file is not found on the first attempt, use the browse function to select the drive that contains the InstaCAL or Univesal Library disk, select the CBxx.INF file and then click on
. The appropriate file should then be automatically loaded and the PCI board will appear in the Device
CONTINUE.
2.2 SOFTWARE INSTALLATION
2.2.1 INTRODUCTION
Insta
Cal is the installation, calibration and test software supplied with your data acquisition hardware. The complete Cal package is also included with the Universal Library. If you have ordered the Universal Library, the Universal Library CD/disks install both the library and compressed software. To install contained on your CD, (or Disk 1 of the floppy disk set) and follow the on-screen instructions.
2.2.2 INSTALLATION OPTIONS
The Universal Librar y provides example pro grams for a wide variety of pro gramming languages. If you are installing the Universal Library, an "Installation Options" dialog box will allow you to select which languages' example programs are loaded onto your computer. Select the desired example programs by checking the appropriate box(s).
2.2.3 FILE DEFAULT LOCATION
Insta
Cal will place all appropriate files in "C:CB" If you change this default location remember where the installed files are placed as you may need to access them later.
2.2.4 INSTALLATION QUESTIONS
At the end of the installation process the installation wizard will ask a series of questions updating your startup files. Unless you have knowledge to the contrary, simply accept the default (YES) when prompted. You will also be asked if you would like to read an updated README file. If possible, please choose yes and take a look at the information in the file. It will include the latest information regarding the software you are installing.
2.2.5 INSTALLATION COMPLETION
After the installation of system.
Insta
Insta
Cal. The installation will create all required files and unpack the various pieces of
Insta
Cal (and the Universal Library if applicable), simply run the SETUP.EXE file
Cal is complete you should restart your computer to take advantage of changes made to the
, WINDOWS
95, 98 & NT
Insta-
2
2.3 RUN InstaCal
Run the InstaCal program in ord er to test your boar d and configur e it for run-ti me use. By configuring the board , you add information to the configuration file, cb.cfg, that is used by the Universal Library and other third-party data acquisition packages that use the Universal Library to access the board.
2.3.1 LAUNCHING InstaCAL
Launch InstaCal by going to your Start Menu then to Programs, then to ComputerBoards, and finally choosing InstaCal. You may also launch the program by going to START>RUN and typing INSCAL32, or by finding the file named "inscal32.exe" in your installation directory and double clicking it.
InstaCal will display a dialog box indicating the boards that have been detected in the system. If there are no other boards currently installed by InstaCal, then the PCI-DAS1000 board will be assigned board number 0. Otherwise it will be assigned the next available board number.
You can now view and change the board configuration by clicking the prope rties icon or selecting the Install\Configure menu.
2.3.2 TESTING THE INSTALLATION
After you have run the install program, it is time to test the installation. The following section describes the InstaCal proce­dure to test that your board is properly installed.
With InstaCal running:
1. Select the board you just installed.
2. Select the "Test" function.
Follow the instructions provided to test for proper board operation.
2.4 DOS and/or WINDOWS 3.1
Most users are now installing PCI Bus board s in systems with 32-bit operating systems (e.g., Windows 95, 98 or NT). T he PCI-CTR05 is not currently supported by the 16-bit library required to run under DOS or Windows 3.x.
Please contact us if your application is running under DOS or Windows 3.x.
3
3.0 HARDWARE CONNECTIONS
3.1 CONNECTOR PIN DIAGRAM
The PCI-DAS1000 series employ a 100 pin I/O connector. Please make accurate notes and pay careful attention to wire connections. In a large system a misplaced wire may create hours of work ‘fixing’ problems that do not exist before the
wiring error is found.
Analog Ground 1
Analog Input Ch 0 High 2
Analog Input Ch 0 Low / 8 High 3
Analog Input Ch 1 High
Analog Input Ch 1 Low / 9 High
Analog Input Ch 2 High
Analog Input Ch 2 Low / 10 High
Analog Input Ch 3 High
Analog Input Ch 3 Low / 11 High
Analog Input Ch 4 High
Analog Input Ch 4 Low / 12 High
Analog Input Ch 5 High
Analog Input Ch 5 Low / 13 High Analog Input Ch 6 Low / 14 High Analog Input Ch 7 Low / 15 High
Analog Input Ch 6High
Analog Input Ch 7 High
Analog Ground 18
A/D External Pacer 42
A/D External Trigger 45
NC 19 NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC
D/A GN D 0 35
D/A OUT 0 36
D/A GND 1 37
D/A OUT 1 38
CLK 4 39
GATE 4 40
OU T 4 41
NC 43 NC 44
NC NC
PC +5V 48
NC 49
PC Ground 50
10 11 12 13 14 15 16 17
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
46 47
51 Digital A0 52
D ig ita l A1
53 4 5 6 7 8 9
D ig ita l A2
54
D ig ita l A3
55
D ig ita l A4
56
D ig ita l A5
57
D ig ita l A6
58
D ig ita l A7
59
D ig ita l B0
60
D ig ita l B1
61
D ig ita l B2
62
D ig ita l B3
63
D ig ita l B4
64
D ig ita l B5
65
D ig ita l B6
66
D ig ita l B7
67
D ig ita l C0
68
D ig ita l C1
69
D ig ita l C2
70
D ig ita l C3
71
D ig ita l C4
72
D ig ita l C5
73
D ig ita l C6
74
D ig ita l C7 75 NC 76
N C 77
N C 78
N C 79
N C 80
C L K 6 81
G ATE 6 82
O UT 6 83
N C 84
N C 85
C L K 5 86
G ATE 5 87
O UT 5 88
N C 89
P C Gr o u n d 90 PC +12V 91 PC Ground 92 P C -1 2 V 93
N C 94
N C 95 A /D Inte r n a l Pa c e r Ou tpu t 96
N C 97
N C 98
N C 99 N C 100 PC Ground
PCI-DAS 100 0 C onnector Diagram
3.2 CONNECTING SIGNALS TO THE PCI-DAS1000
The 100 pin connector provides a far greater signal density than the traditional 37 pin D type connector. In exchange for that density comes a far more complex cable and mating connector. The C100-FF-2 cable is a pair of 50 pin ribbon cables. At one end they are joined together with a 100 pin connector. From the 100 pin connector designed to mate with the PCI-DAS1000 connector, the two 50 pin ribbon cables diverge and are terminated at the other end with standard 50 pin header connectors. A CIO-MINI50 screw terminal board is the ideal way to terminate real word signals and route them into
the PCI-DAS1000. The BNC16/8 series provides convenient BNC connections to each of the analog inputs.
.
4
4.0 ANALOG CONNECTIONS
4.1 ANALOG INPUTS
Analog signal connection is one of the most challenging aspects of applying a data acquisition board. If you are an Analog Electrical Engineer then this section is not for you, but if you are like most PC data acquisition users, the best way to connect your anal og inputs may not be ob vious. Though comple te coverage o f this topic is well beyond the scope of this manual, the following section provides some explanations and helpful hints regarding these analog input connections. This section is designed to help you achieve the optimum performance from your PCI-DAS1000 series board.
Prior to j umping into a ctual conne ction schemes, you sho uld have at le ast a ba sic underst anding of Single-E nded/Di fferen­tial inputs and system grounding/isolation. If you are already comfortable with these concepts you may wish to skip to the next section (on wiring configurations).
4.1.1 Single-Ended and Differential Inputs
The PCI-DAS1000 provides either 8 differential or 16 single-ended input channels. The concepts of single-ended and differential inputs are discussed in the following section.
Single-Ended Inputs
A single-ended input measures the voltage between the input signal and ground. In this case, in single-ended mode the PCI-DAS1000 measures the voltage between the input channel and LLGND. The single-ended input configuration requires only one physical connection (wire) per channel and allows the PCI-DAS1000 to monitor more channels than the (2-wire) differential configuration using the same connector and onboard multiplexor. However, since the PCI-DAS1000 is measur­ing the input voltage relative to its own low level ground, single-ended inputs are more susceptible to both EMI (Electro Magnetic Interference) and any ground noise at the signal source. The following diagrams show the single-ended input configuration.
CH IN
LL GND
I/O
Connector
+
-
Inp u t
Amp
To A/D
Single-Ended Input
CH IN
~
Vs
1
g
Any voltage differential between grounds g1 and g2 shows up as an error signal at the input amplifier
Vs + Vg2 - Vg1
LL GND
Single-ended input with Comm on M ode Voltage
+
Input Amp
-
2
g
To A /D
5
Differential Inputs
g
y
g
g
g
g
Differential inputs measure the voltage between two distinct input signals. Within a certain range (referred to as the common mode range), the measurement is almost independent of signal source to PCI-DAS1000 ground variations. A differential input is also much more immune to EMI than a single-ended one. Most EMI noise induced in one lead is also induced in the other, the input only measures the difference between the two leads, and the EMI common to both is ignored. This effect is a major reason there is twisted pair wire as the twisting assures that both wires are subject to virtually identical external influ­ence. The diagram below shows a typical differential input configuration.
CH High
CH Low
LL GN D
I/O
Connector
Vs
~
Vcm = V
12
Common Mode Volta b
differential input configuration. Ho w ever, no te th a t V cm + V s mus t rema in w ithin the amplifier’s co m mon m ode ran
+
Inp ut
Amp
-
Differential In put
Vs
Vcm
2 - Vg1
e (Vcm) is ignored
e of ±10V
CH High
CH Low
LL GND
To A/ D
+
Inp u t Amp
-
Differential Inp ut
To A/ D
Before moving on to the discussion of grounding and isolation, it is important to explain the concepts of common mode, and common mode range ( CM Range). Common mode voltage is dep icted in the diagram above a s Vcm. Though differ ential inputs measure the voltage between two signals, without (almost) respect to the either signal’s voltages relative to ground, there is a li mit to how far away from ground ei ther signa l can go. Though the PCI-DAS1000 has differential inputs, it will not measure the difference between 100V and 101V as 1 Volt (in fact the 100V would destroy the board!). This limitation or common mode range is depicted graphically in the following diagram. The PCI-DAS1000 common mode range is +/- 10 Volts. Even in differential mode, no input signal can be measured if it is more than 10V from the board’s low level ground (LLGND).
6
+13V
g
+12V +11V +10V +9V +8V +7V +6V +5V +4V +3V +2V +1V
-1V
-2V
-3V
-4V
-5V
-6V
-7V
-8V
-9V
-10V
-11V
-12V
-13V
Gray area represents com m on m ode range Both V+ and V- must always remain within the co mmo n mo d e ra n
W ith V cm= + 5 V D C, +Vs must be less than +5V, or the common m ode range will b e e x cee d e d (> + 10 V )
Vcm
Vcm (Comm on M o de Voltage) = +5 Volts
e relative to LL G nd
4.1.2 System Grounds and Isolation
There are three scenarios possible when connecting your signal source to your PCI-DAS1000 board.
1. The PCI-DAS1000 and the signal source may have the same (or common) ground. This signal source may be connected directly to the PCI-DAS1000.
2. The PCI-DAS1000 and the signal source may have an offset voltage between their grounds (AC and/or DC). This offset it commonly referred to a common mode voltage. Depending on the magnitude of this voltage, it may or may not be possible to connect the PCI-DAS1000 directly to your signal source. We will discuss this topic further in a later section.
3. The PCI-DAS1000 and the signal source may already have isolated grounds. This signal source may be connected directly to the PCI-DAS1000.
Which system do you have?
Try the following experiment. Using a battery powered voltmeter*, measure the voltage (difference) between the ground signal at your signal source and at your PC. Place one voltmeter probe on the PC ground and the other on the signal source ground. Measure both the AC and DC Voltages.
*If you do not have access to a voltmeter, skip the experiment and take a look a the following three sections. You may be able to identify your system type from the descriptions provided.
If both AC and DC r eadings ar e 0.00 volts, you may have a system with common ground s. However, sinc e voltmeters will average out high frequency signals, there is no guarantee. Please refer to the section below titled
Common Grounds
.
If you measure reasonably stable AC and DC voltages, your system has an offset voltage between the grounds category. This offset is referred to as a Common Mode Voltage. Please be careful to read the following warning and then proceed to the section describing
Common Mode
systems.
7
WARNING
If either the AC or DC voltage is greater than 10 volts, do not connect the PCI-DAS1000 to this signal source. You are beyond the boards usable common mode range and will need to either adjust your grounding system or add special Isolation signal conditioning to take useful measurements. A ground offset voltage of more than 30 volts will likely damage the PCI-DAS1000 board and possibly your computer. Note that an offset voltage much greater than 30 volts will not only damage your electronics, but it may also be hazardous to your health.
This is such an important point, that we will state it again. If the voltage between the ground of your signal source and your PC is greater than 10 volts, your board will not take useful measurements. If this voltage is greater than 30 volts, it will likely cause damage, and may represent a serious shock hazard! In this case you will need to either reconfigure your system to red uce the ground differentials, or purchase and install special electrical isolation signal conditioning.
If you cannot obtain a reasonably stable DC voltage measurement between the grounds, or the voltage drifts around consid­erably, the two grounds are most likely isolated. The easiest way to check for isolation is to change your voltmeter to it’s ohm scale and measure the resistance between the two grounds. It is recommended that you turn both systems off prior to taking this resistance measurement. If the measured resistance is more than 100 Kohm, it’s a fairly safe bet that your system has electrically isolated grounds.
Systems with Common Grounds
In the simplest (but perhaps least likely) case, your signal source will have the same ground as the PCI-DAS1000. This would typically occur when providing power or excitation to your signal source directly from the PCI-DAS1000. There may be other common ground configurations, but it is important to note that any voltage between the PCI-DAS1000 ground and your signal ground is a potential error voltage if you set up your system based on a common ground assumption.
As a safe rule of thumb, if your signal source or sensor is not connected directly to an LLGND pin on your PCI-DAS1000, it’s best to assume that you do not have a common ground even if your voltmeter measured 0.0 Volts. Configure your system as if there is ground offset voltage between the source and the PCI-DAS1000. This is especially true if you are using high gains, since ground potentials in the sub millivolt range will be large enough to c ause A/D erro rs, yet will not likely be measured by your handheld voltmeter.
Systems with Common Mode (ground offset) Voltages
The most frequently encountered grounding scenario involves grounds that are somehow connected, but have AC and/or DC offset voltages between the PCI-DAS1000 and signal source grounds. This offset voltage my be AC, DC or both and may be caused by a wide array of phenomena including EMI pickup, resistive voltage drops in ground wiring and connections, etc. Ground offset voltage is a more appropriate term to describe this type of system, but since our goal is to keep things simple, and help you make appropriate connections, we’ll stick with our somewhat loose usage of the phrase Common Mode.
Small Common Mode Voltages
If the voltage between the signal source ground and PCI-DAS1000 ground is small, the combination of the ground voltage and input signal will not exceed the PCI-DAS1000’s +/-10V common mode range, (i.e. the voltage between grounds, added to the maximum input voltage, stays within +/-10V), This input is compatible with the PCI-DAS1000 and the system may be connected without additional signal conditioning. Fortunately, most systems will fall in this category and have a small voltage differential between grounds.
Large Common Mode Voltages
If the ground differential is large enough, the PCI-DAS1000’s +/- 10V common mode range will be exceeded (i.e. the voltage between PCI-DAS1000 and signal source grounds, added to the maximum input voltage you’re trying to measure exceeds +/-10V). In this case the PCI-DAS1000 cannot be directly connected to the signal source. You will need to change your system grounding configuration or add isolation signal conditioning. (Please look at our ISO-RACK and ISO-5B­series products to add electrical isolation, or give our technical support group a call to discuss other options.)
NOTE
8
Relying on the earth prong of a 120VAC for signal ground connections is not advised.. Different ground plugs may have large and potentially even dangerous voltage differentials. Remem ber that the ground pins on 120VAC outlets on different sides of the room may only be connected in the basement. This leaves the possibility that the “ground ” pins may have a significant vo ltag e dif ferential ( especia lly if the two 120 VAC outlets happen to be on different phases!)
PCI-DAS1000 and signal source already have isolated grounds
Some signal sources will already be electrically isolated from the PCI-DAS1000. The diagram below shows a typical isolated ground system. These signal sources are often battery powered, or are fairly expensive pieces of equipment (since isolation is not an inexpensive proposition), isolated ground systems provide excellent performance, but require some extra effort during connections to assure optimum performance is obtained. Please refer to the following sections for further details.
4.2 WIRING CONFIGURATIONS
Combining all the grounding and input type possibilities provides us with the following potential connection configurations. The combinations along with our recommendations on usage are shown in the chart below.
Ground Category Input Configuration Our view
RecommendedSingle-Ended InputsCommon Ground
AcceptableDifferential InputsCommon Ground
Common Mode
Voltage < +/-10V
Common Mode
Voltage < +/-10V
Common Mode
Voltage > +/- 10V
Common Mode
Voltage > +/-10V
Already Isolated
Grounds
The following sections depicts recommended input wiring schemes for each of the 8 possible input configuration/grounding combinations.
Single-Ended Inputs
Differential Inputs
Not RecommendedSingle-Ended Inputs
RecommendedDifferential Inputs
Unacceptable without
adding Isolation
Unacceptable without
adding Isolation
AcceptableSingle-ended InputsAlready Isolated Grounds
RecommendedDifferential Inputs
9
Loading...
+ 27 hidden pages