Measurement Computing PCIM-DAS1602/16 User Manual

Analog & digital i/o board for the pci bus
Hide thumbs Also See for PCIM-DAS1602/16:

Advertisement

Quick Links

PCIM-DAS1602/16
ANALOG & DIGITAL I/O BOARD
for the PCI Bus
User's Manual
Revision 2
© Copyright September, 2000

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCIM-DAS1602/16 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Measurement Computing PCIM-DAS1602/16

  • Page 1 PCIM-DAS1602/16 ANALOG & DIGITAL I/O BOARD for the PCI Bus User’s Manual Revision 2 © Copyright September, 2000...
  • Page 2 When that happens, just return the board with an order for its replacement at only 50% of the list price. Measurement Computing Corp. does not need to profit from your misfortune. By the way, we will honor this warranty for any other manufacture’s board that we have a replacement for! 30 DAY MONEY-BACK GUARANTEE Any Measurement Computing Corp.
  • Page 3: Table Of Contents

    Table of Contents 1 INTRODUCTION ............. . . 2.
  • Page 4 This page is blank.
  • Page 5: Introduction

    CIO-DAS16; the standard of ISA bus data acquisition. Much has changed due to improvements in technology. The PCIM-DAS1602/16 is easy to use. This manual will help you quickly and easily setup, install and test your board. We assume you already know how to open the PC and install expansion boards. If you are unfamiliar or uncomfortable with board installation, please refer to your computer’s documentation.
  • Page 6: 1/10 Mhz Xtal Jumper

    Not only that, but if you install another PCI board in a computer after the PCIM-DAS1602/16 addresses have been assigned, those addresses may be moved by the plug & play software when the second board is installed.
  • Page 7: Bipolar/Unipolar And Gain Setting

    Jumper 2.6 D/A CONVERTER REFERENCE & SSH JUMPER BLOCK The jumper block located near the center of the PCIM-DAS1602/16 allows you to use the on board precision voltage reference to select the output ranges of the digital to analog converters.
  • Page 8 Analog output is provided by two 12-bit multiplying D/A converters. This type of converter accepts a reference voltage and provides an output proportional to that. The proportion is controlled by the D/A output code (0 to 4095). Each bit represents 1/4096 of full scale. A precision −5V and −10V reference provide onboard D/A ranges of 0 to 5V, 0 to 10V, +/-5V, +/-10V.
  • Page 9: Testing The Installation

    If this does not get you to the desired display, please call us (or contact your local distributor) for additional assistance. 2.9 Calibration Selecting CALIBRATE from the InstaCal main menu runs a fully automated PCIM-DAS1602/16 calibration program. The software controlled calibration of the PCIM-DAS1602/16 is explained further in the section on calibration.
  • Page 10: Software

    3 SOFTWARE There are three common approaches for generating operating software for the PCIM-DAS1602/16. These are: Writing custom software with our Universal Library package, Using a fully integrated software package such as SoftWIRE, or Doing direct, register-level programming. 3.1 CUSTOM SOFTWARE USING THE UNIVERSAL LIBRARY Some users write custom software using our Universal Library.
  • Page 11: Connector Pin Outs

    The PCIM-DAS1602/16 analog connector is a 37-pin “D” connector accessible from the rear of the PC on the expansion back plate. An additional signal, SS&H OUT (Simultaneous Sample and Hold Output), is available at pin 26. It is required when the CIO-SSH16 card is used with a PCIM-DAS1602/16 (Figure 4-1).
  • Page 12: Digital I/O Connector

    4.2 DIGITAL I/O CONNECTOR The digital I/O connector is mounted at the rear of the PCIM-DAS1602/16 and will accept a 40-pin header connector. The optional BP40-37 cable assembly brings the signals to a back plate with a 37-pin male connector mounted in it. When connected through the BP40-37, the PCIM-DAS1602/16 digital connector is identical to the CIO-DIO24 connector.
  • Page 13: Analog Connections

    A single-ended input measures the voltage between the input signal and ground. In this case, in single-ended mode the PCIM-DAS1602/16 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 PCIM-DAS1602/16 to monitor more channels than the (2-wire) differential configuration using the same connector and onboard multiplexor.
  • Page 14 (referred to as the common mode range), the measurement is almost independent of signal source to PCIM-DAS1602/16 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.
  • Page 15 Though the PCIM-DAS1602/16 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 Figure 5-3.
  • Page 16: System Grounds And Isolation

    There are three scenarios possible when connecting your signal source to your PCIM-DAS1602/16 board. 1. The PCIM-DAS1602/16 and the signal source have the same (or common) ground. This signal source can be connected directly to the PCIM-DAS1602/16. 2. The PCIM-DAS1602/16 and the signal source have an offset voltage between their grounds (AC and/or DC).
  • Page 17 PCIM-DAS1602/16. There may be other common ground configurations, but it is important to note that any voltage between the PCIM-DAS1602/16 ground and your signal ground is a potential error voltage if you set up your system based on a common ground assumption.
  • Page 18: Wiring Configurations

    PCIM-DAS1602/16 and signal source already have isolated grounds Some signal sources will already be electrically isolated from the PCIM-DAS1602/16. The diagram below shows a typical isolated ground system. These signal sources are often battery powered, or are...
  • Page 19: Common Ground / Single-Ended Inputs

    5.2.1 Common Ground / Single-Ended Inputs Single-ended is the recommended configuration for common ground connections. However, if some of your inputs are common ground and some are not, we recommend you use the differential mode. There is no performance penalty (other than loss of channels) for using a differential input to measure a common ground signal source.
  • Page 20: Common Mode Voltage < +/-10V / Single-Ended Inputs

    Figure 5-6. Common Mode Voltage < +/-10V / Differential Inputs 5.2.5 Common Mode Voltage > +/-10V The PCIM-DAS1602/16 will not directly monitor signals with common mode voltages greater than +/-10V. You will either need to alter the system ground configuration to reduce the overall common mode voltage, or add isolated signal conditioning between the source and your board.
  • Page 21: Isolated Grounds / Single-Ended Inputs

    Iso latio n B arrie r C H H igh G N D In p u t To A /D A m p C H Low 1 0 K LL G N D A /D B o a rd W hen the voltage difference C o nn ec tor betw een signal source and A /D board ground is large...
  • Page 22: Isolated Grounds / Differential Inputs

    Analog outputs are simple voltage outputs which can be connected to any device which will record, display or be controlled by a voltage. The PCIM-DAS1602/16 analog outputs are 4 quadrant multiplying DACs. This means that they accept an input voltage reference and provide an output voltage which is inverse to the reference voltage and proportional to the digital value in the output register.
  • Page 23 Bipolar/Unipolar Select Jumpers D/A0 & D/A1 Range Jumper Block Figure 5-11. Analog Output Range Select Jumper Block...
  • Page 24: Register Architecture

    6 REGISTER ARCHITECTURE 6.1 OVERVIEW PCIM-DAS1602/16 operation registers are mapped into I/O space. Unlike ISA bus designs, this board has several base address regions, each corresponding to a reserved block of addresses in I/O space. Of the six Base Address Regions (BADRs) available per the PCI 2.1 specification, five are implemented in this design and are summarized in Table 6-1 as follows.
  • Page 25: Badr2 Registers

    LINTE = 1, on the local side interrupt is enabled LINTE = 0, on the local side interrupt is disabled the INT bit is read only INT = 1, interrupt is active INT = 0, interrupt is not active PCINTE = 1, on the PCI side, the interrupt is enabled PCINTE = 0, on the PCI side, the interrupt is disabled You must set both PCINTE and LINTE to 1 to enable interrupts.
  • Page 26 Unipolar Mode: Straight Binary Coding 0000 h = −FS (0V) 7FFFh = Mid-scale (+FS/2) FFFFh = +FS − 1LSB WRITE Writing to this register is only valid for SW initiated conversions. The ADC Pacer source must be set to software polled (see BADR3 + 5). A null write to BADR2 + 0 will begin a single conversion. Conversion status may be determined by polling the EOC bit in BADR3 + 2.
  • Page 27: Badr3 Registers

    6.4 BADR3 REGISTERS REGISTER READ FUNCTION WRITE FUNCTION BADR3 + 0 Mux scan limits Mux scan limits BADR3 + 1 Main Connector Digital Inputs Main Connector Digital Outputs BADR3 + 2 ADC Channel Status and Switch Settings BADR3 + 3 ADC Conversion Status Interrupt Settings /Status Interrupt Control...
  • Page 28 MAIN CONNECTOR DIGITAL I/O REGISTER BADR3 + 1 READ DI2, CTR0 GATE DI0, EXT TRIG, EXT PACER, EXT GATE The signals present at the inputs are read as one byte, the most significant 4 bits of which are always zero. Digital Inputs 2 and 0 have multiple functions. Digital Input 2 may also be used as the gate to Counter 1 of the 82C54 which is available on the Main connector, please see BADR3+6 for a more detailed description.
  • Page 29 MA3, MA2, MA1, and MA0 is a binary number between 0 and 15 indicating the MUX channel currently selected and is valid only when EOC = 0. The channel MUX increments shortly after EOC = 1 so may be in a state of transition when EOC = 1. ADC CONVERSION STATUS REGISTER BADR3 + 3 READ ONLY...
  • Page 30 EOA_INT_SEL = 1, Interrupt on end of acquisition EOA_INT_SEL = 0, No interrupt on end of acquisition EOA_INT_SEL is used in conjunction with the residual counter. See BADR3+ 0Dh EOA = 1, the residual # of samples have been written to the FIFO EOA = 0, the residual # of samples have not been written to the FIFO EOA is cleared by writing a 0 to the INT bit.
  • Page 31 I n t e r n a l c o u n t e r s o r m a y b e c o n t r o l l e d v i a e x t e r n a l t r i g g e r Figure 6-1. Burst Mode Timing The PCIM-DAS1602/16 burst mode generator takes advantage of the fast A/D. The burst mode skew is 10 µs between channels for the PCIM-DAS1602/16. It is 13.3 µs for the CIO-DAS1602/16...
  • Page 32 0 to 2.5V +/-1.25V 0 to 1.25V The mode, unipolar or bipolar is controlled by a switch. This makes the PCIM-DAS1602/16 compatible with the CIO-DAS1602/16. If your application is better served by programmable ranges, please consider the PCI-DAS1602/16 board. 8254 COUNTER 1 DATA - USER COUNTER...
  • Page 33 USER COUNTER CLOCK CONTROL BADR3 + 0Ch READ/WRITE CTR1_CLK_SEL CTR1 _CLK_SEL = 1. The onboard 100 kHz clock signal is ANDed with the COUNTER 1 CLOCK INPUT (pin 21). A high on pin 21 will allow pulses from the onboard source into the 8254 Counter 1 input.
  • Page 34 3. You will get the EOA interrupt. Write a 03h to BADR3+4, read 20 samples from FIFO, and then write another 03h to BADR3+4. Total number of samples is greater than 512, but less than 1024 1. Before you start the acquisition, write the total number of samples to the residual counter, an 87h to BADR3+4 ( INTE, EOA_INT_SEL, and FIFO_HALF FULL enabled), and a 67h to BADR1+4Ch (INTE and PCINTE enabled).
  • Page 35: Badr4 Port I/O Registers

    2. You will get a FIFO_HALF FULL interrupt. Read 512 samples from FIFO and write an 83h to BADR3+4. 3. You will get another FIFO_HALF FULL interrupt. This is the second to last FIFO_HALF FULL interrupt so first read another 512 samples from FIFO and then write an 87h to BADR3+4. 4.
  • Page 36 82C55 PORT A DATA BADR4 + 0 READ/WRITE 82C55 PORT B DATA BADR4 + 1 READ/WRITE Ports A and B may be programmed as input or output. Each is written to and read from in bytes, although for control and monitoring purposes, individual bits are used. Bit set/reset and bit read functions require that unwanted bits be masked out of reads and ORed into writes.
  • Page 37 82C55 CONTROL REGISTER BADR4 + 3 WRITE Group A Group B The 8255 can be programmed to operate in Input/ Output (mode 0), Strobed Input/ Output (mode 1) or Bi-Directional Bus (mode 2). When the PC is powered up or RESET, the 8255 is reset. This places all 24 lines in Input mode and no further programming is needed to use the 24 lines as TTL inputs.
  • Page 38: Calibration And Test

    InstaCal calibration routine. The PCIM-DAS1602/16 should be calibrated for the range you intend to use it in. When the range is changed, slight variation in Zero and Full Scale may result. These variations can be measured and...
  • Page 39: Analog Electronics

    8 ANALOG ELECTRONICS 8.1 VOLTAGE DIVIDERS If you wish to measure a signal which varies over a range greater than the input range of an analog or digital input, a voltage divider can drop the voltage of the input signal to the level the analog or digital input can measure.
  • Page 40: Low Pass Filters

    inputs. The voltage must be dropped to 5 volts max when on. The Attenuation is 24:5 or 4.8. Use the equation above to find an appropriate R1 if R2 is 1K. Remember that a TTL input is 'on' when the input voltage is greater than 2.5 volts.
  • Page 41: Specifications

    9 SPECIFICATIONS Typical for 25°C unless otherwise specified. Power Consumption +5V quiescent 820mA typical, 1.4A max Analog Input Section A/D converter type LTC1605CSW Resolution 16 bits Number of channels 16 single-ended / 8 differential, switch selectable Input ranges ±10V, ±5V, ±2.5V, ±1.25V •...
  • Page 42 ±0.5 LSB typ, ±2.0 LSB max Each PCIM-DAS1602/16 is tested at the factory to assure the board’s overall error does not exceed ±5 LSB. Total board error is a combination of Gain, Offset, Differential Linearity and Integral Linearity error. The theoretical absolute accuracy of the board may be calculated by summing these component errors.
  • Page 43 Crosstalk Crosstalk is defined here as the influence of one channel upon another when scanning two channels at the specified per channel rate for a total of 50000 samples. A full scale 100Hz triangle wave is input on Channel 1. Channel 0 is tied to Analog Ground at the 100 pin user connector.
  • Page 44 Accuracy Typical Accuracy ±1 LSB Absolute Accuracy ±2 LSB Accuracy Components Gain Error Trimmable by potentiometer to 0 Offset Error Trimmable by potentiometer to 0 Integral Linearity Error ±0.5 LSB typ, ±1 LSB max Differential Linearity Error ±0.5 LSB typ, ±1 LSB max Total board error is a combination of Gain, Offset, Differential Linearity and Integral Linearity error.
  • Page 45 Counter Section *Note: Pins 21, 24, and 25 are pulled to logic high via 10K resistors. Counter type 82C54 Configuration 3 down-counters, 16 bits each External source from main connector (pin 21*) Counter 1 Source (software selectable) 100 kHz internal source Counter 1 Gate External gate from main connector (pin 24*) Counter 1 Output...
  • Page 46 Main Connector and Pin Out Connector type 37 pin male “D” connector Connector Compatibility Identical to CIO-DAS1602/16 Connector Differential Analog Input Mode: Signal Name Signal Name +5V PC BUS POWER CTR 3 OUT CTR 1 OUT CTR 1 CLOCK IN DIG OUT 3 DIG OUT 2 DIG OUT 1...
  • Page 47 Digital Input / Output Connector and Pin Out Connector Type 40-pin header Connector Compatibility Identical to CIO-DAS1602/16 Connector Signal Name Signal Name +5V PC BUS POWER DIG GND PORT B 7 PORT C 7 PORT B 6 PORT C 6 PORT B 5 PORT C 5 PORT B 4...
  • Page 48 For your notes.
  • Page 49 EC Declaration of Conformity We, Measurement Computing Corp., declare under sole responsibility, that the product: PCIM-DAS1602/16 PCI Bus, analog and digital I/O board Part Number Description to which this declaration relates, meets the essential requirements, is in conformity with, and CE marking...
  • Page 50 Measurement Computing Corporation 16 Commerce Boulevard, Middleboro, MA 02346 Telephone: (508) 946-5100 Fax: (508) 946-9500 E-mail: info@MeasurementComputing.com www. MeasurementComputing.com...

Table of Contents