NuDAQ ACL-8113A 12-bit 32 Channels Isolated Analog Input Card User’s Guide
©Copyright 1995~2000 ADLINK Technology Inc. All Rights Reserved. Manual Rev. 2.20: November 7, 2000 The information in this document is subject to change without prior notice in order to improve reliability, design and function and does not represent a commitment on the part of the manufacturer.
Getting service from ADLINK ♦ Customer Satisfaction is always the most important thing for ADLINK Tech Inc. If you need any help or service, please contact us and get it. ADLINK Technology Inc. http://www.adlink.com.tw Web Site http://www.adlinktechnology.com Sales & Service service@adlink.com.tw Technical NuDAQ nudaq@adlink.com.tw Support NuDAM nudam@adlink.com.tw NuIPC nuipc@adlink.com.tw NuPRO nupro@adlink.com.tw Software sw@adlink.com.tw TEL +886-2-82265877 FAX +886-2-82265717 Address 9F, No.
Table of Contents Chapter 1 Introduction............................................................1 1.1 1.2 1.3 1.4 Features ...........................................................................1 Applications ......................................................................2 Specifications....................................................................2 Software Support ..............................................................3 1.4.1 1.4.2 Programming Library ........................
5.8 _8113_MAD_Acquire ...................................................... 27 Chapter 6 Calibration ............................................................28 6.1 6.2 6.3 6.4 What do you need ........................................................... 28 VR Assignment ............................................................... 28 Bipolar A/D Adjustment .................................................... 29 Uni-polar A/D Adjustment.................................................
How to Use This Guide This manual is designed to help you use the ACL-8113A. The manual describes how to modify various settings on the ACL-8113A card to meet your requirements. It is divided into seven chapters: l Chapter 1, "Introduction," gives an overview of the product features, applications, and specifications. l Chapter 2, "Installation," describes how to install the ACL-8113A.
1 Introduction The ACL-8113A is a 12-bit 32-channel single-ended isolated A/D card with ISA interface. The ACL-8113A is an ideal cost effective solution for applications in industrial measurement and monitoring. The ACL-8113A is designed to meet high voltage isolation on each analog channel. Isolated input signal design protect the PC and peripherals from damage due to high voltages on the input channels.
1.2 Applications l Measurement of transducer and sensor data l Multiple channel measurement l Waveform acquisition and measurement l Process monitor l Vibration and transient analysis l Signal isolation 1.3 Specifications The ACL-8113A provides the following specifications: Analog Input (A/D) l Input Channel: 32 Isolated channels l Resolution: 12-bit l Input Range: 10V Range: Bi-polar: ± 5V, ±2.5V, ±1.25V, ±0.625V, ±0.3125V Uni-polar: 0~10V, 0~5V, 0~2.5V, 0~1.25V, 0~0.
General Specifications l Connector: 37-pin D-type connector l Operating Temperature: 0° C ~ 55° C l Storage Temperature: -20° C ~ 80° C l Humidity: 5 ~ 95%, non-condensing l Power Consumption: +5 V @ 960 mA maximum l Dimension: 160mm(L) X 122mm(W) 1.4 1.4.1 Software Support Programming Library For the customers who are writing their own programs, we provide MS-DOS Borland C/C++ and MS C libraries, which are free. ACLS-DLL2 is the Development Kit for NuDAQ ISA-Bus Cards with Analog I/O, windows 3.
2 Installation This chapter describes how to install the ACL-8113A. At first, the contents in the package and unpacking information that you should be careful are described. The jumpers and switches setting for the ACL-8113A's base address and input range selection are also specified. 2.1 What You Have In addition to this User's Manual, the package includes the following items: l ACL-8113A 32-CH S.E.
Again inspect the module for damage. Press down on all the socketed IC's to make sure that they are properly seated. Do this only with the module place on a firm flat surface. Note: DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN DAMAGED. You are now ready to install your ACL-8113A. JP2 SW1 ADS774 +20V B I JP1 +10V U N VR1 VR2 VR3 VR4 CN1 ACL-8113A's Layout 8113G 32CH S.E. ISOLATED A/D CARD REV A 2.
2.4 Jumper and DIP Switch Description You can change the ACL-8113A's channels and base address by setting jumpers and DIP switches on the card. The card's jumpers and switches are preset at the factory. Under normal circumstances, you should not need to change the jumper settings. A jumper switch is closed (sometimes referred to as "shorted" with the plastic cap inserted over two pins of the jumper). A jumper is open with the plastic cap inserted over one or no pin(s) of the jumper. 2.
I/O port Address (hex) 000-00F 010-01F : 210-21F (*) 220-22F 230-23F : 3F0-3FF 1 A9 ON (0) ON (0) 2 A8 ON (0) ON (0) 3 A7 ON (0) ON (0) 4 A6 ON (0) ON (0) 5 A5 ON (0) ON (0) 6 A4 ON (0) OFF (1) OFF (1) OFF (1) OFF (1) : OFF (1) ON (0) ON (0) ON (0) : OFF (1) ON (0) ON (0) ON (0) : OFF (1) ON (0) ON (0) ON (0) : OFF (1) ON (0) OFF (1) ON (0) : OFF (1) OFF (1) ON (0) OFF (1) : OFF (1) (*): default setting ON = 0; OFF = 1. A9, ...
JP1 +10V and +20V Input Range Setting JP2 +10V (Default) +10V +20V +10V +20V Unipolar UN +20V Bipolar (Default) UN BI BI Unipolar and Bipolar Setting Summary: AI Range & Modes JP1 10V JP2 UN 20V 10V BI UN 20V UN BI 10V 20V 10V BI UN Input Range 10V & Bipolar Mode (Default) Input Range 10V & Uni-polar Mode 20V 8 • Installation Gain: Input Voltage Range X1: -5V ~ +5V X2: -2.5V ~ +2.5V X4: -1.25V ~ +1.25V X8: -0.625V ~ +0.625V X16: -0.3125V ~ +0.3125V X1: 0V ~ 10V X2: 0V ~ 5V X4: 0V ~ 2.
2.7 Connector Pin Assignment The ACL-8113A comes equipped with one DB-37 female connector on the card's mounting brasket. The pin assignment of 37-pin female connector is illustrated in Figure 2.3 as following. AI0 AI2 AI4 AI6 AI8 AI10 AI12 AI14 A.GND A.GND AI16 AI18 AI20 AI22 AI24 AI26 AI28 AI30 A.GND 1 20 2 21 3 4 5 22 23 24 6 25 7 26 8 9 10 11 12 13 27 28 29 30 31 32 14 15 33 34 16 17 35 36 18 19 37 AI1 AI3 AI5 AI7 AI9 AI11 AI13 AI15 A.GND A.
3 Registers Format The detailed description of the register format and structure of the ACL8113A are specified in this chapter. This information is quite useful for the programmers who wish to handle the ACL-8113A card by low-level programming. In addition, the low level programming syntax is introduced. This information can help the beginners to operate the ACL-8113A in the shortest learning time. 3.1 I/O Port Address Map The ACL-8113A requires 16 consecutive addresses in the PC I/O address space.
3.2 A/D Data Registers The ACL-8113A provides 32 single-ended A/D input channels, the converted digital data will store in the A/D data registers after the conversion. The 12 bits A/D data is put into two 8 bits registers. The low byte data (8 LSBs) are put in address BASE+4 and the high byte data (4 MSBs) are put in address BASE+5. A DRDY bit is used to indicate the status of A/D conversion. DRDY goes to “low” means A/D conversion is completed.
Channel No. 0 1 2 3 : 30 31 3.4 CH4 0 0 0 0 CH3 0 0 0 0 CH2 0 0 0 0 CH1 0 0 1 1 CH0 0 1 0 1 1 1 1 1 1 1 1 1 Table 3.2 Channel Multiplexering 0 1 A/D Range Control Register The A/D range register is used to adjust the analog input ranges for A/D channels. Two factor will effect the input range: Gain and Bipolar/Unipolar. Both of these issues can be controlled by this register. The Table 4.2 shows the relationship between the register data and the A/D input range.
The possible gains and their corresponding input ranges are listed in the following table: Analog Input Range Setting by JP1 & JP2 10V & Bipolar 10V & Uni-polar 20V & Bipolar 20V & Uni-polar G2 G1 G0 GAIN Input Range 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 1 1 0 0 0 1 1 0 0 0 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 0 1 0 0 1 0 1 0 X1 X2 X4 X8 X 16 X1 X2 X4 X8 X 16 X1 X2 X4 X8 X 16 X1 X2 X4 X8 X 16 ±5 V ±2.5 V ±1.25 V ±0.625 V ±0.3125 V 0 ~ +10 V 0 ~ +5 V 0 ~ +2.5 V 0 ~ +1.25 V 0 ~ +0.
4 Operation Theorem The operation theorem of the functions on ACL-8113A card is described in this chapter. The operation theorem can help you to understand how to manipulate or to program this card. Before programming the ACL-8113A to perform the A/D conversion, you should understand the following issues: l A/D conversion procedure l A/D signal source control l A/D trigger source control l A/D data transfer mode l A/D data format 4.
4.2 A/D Signal Source Control To control the A/D signal source, the signal type, signal channel and signal range should be considered. Signal Type The A/D signal sources of ACL-8113A could be single ended (SE) only. The single-ended mode has only one input relative to ground and it suitable for connecting with the floating signal source. The floating source means it does not have any connection to ground. The following figure shows the singleended connection.
Signal Channel Control The value of AD channel Control register defines the channel to be selected. Signal Range The proper signal range is important for data acquisition. The input signal may be saturated if the A/D gain is too large. Sometimes, the resolution may be not enough if the signal is small. The maximum A/D signal range of ACL8113A is ±10 volts when the A/D gain value is 1. The A/D gain control register controls the maximum signal input range.
4.4 A/D Data Conversion A/D Data Transfer Modes The A/D data are buffered in register, the software mush ready out the A/D data after the DRDY bit goes “low” after software trigger the A/D. A/D Conversion Sequence In ACL-8113A, the A/D conversion can only be controlled by software based on polling concept. That is, the A/D conversion trigger is issued by software, and then checks the DRDY bit ( Data Ready Bit) of the A/D status register. If the DRDY=1, the data conversion is still in progress.
A/D Data (Hex) Unsigned Direct Binary Decimal Value FFF C00 801 800 7FF 400 000 4095 3072 2049 2048 2047 1024 0 Voltage (Volts) Bipolar ±10V ±5V +9.9951 +4.9975 +5.0000 +2.5000 +0.0049 +0.0025 0.0000 0.0000 -0.0049 -0.0025 -5.0000 -2.5000 -10.0000 -5.0000 Uni-polar 0~10V +9.9951 +7.5000 +5.0049 +5.0000 +4.9951 +2.5000 0.
5 C/C++ Library for DOS This chapter describes the DOS software library, which is free supplied. The DOS library software includes a utility program, C language library, and some demonstration programs, which can help you reduce the programming work. To program in Windows environment, please use ACLS-DLL2. The function reference manual of ACLS-DLL2 is included in the ADLINK CD. It needs license. The DOS library includes 6 C-language functions.
5.1 Installation To install the DOS library software and utilities, please follow the following installation procedures: Put ADLINK CD into the appropriate CD-ROM drive. Type the following commands to change to the card’s directory (X indicates the CD-ROM drive): X:\>CD \NuDAQISA\8113 Execute the setup batch program to install the software: X:\NuDAQISA\8113>SETUP 5.
5.3 _8113_Initial Description An ACL-8113A card is initialized according to the card number and the corresponding base address. Every ACL-8113A 32-channel A/D Card have to be initialized by this function before calling other functions. Syntax int _8113_Initial(int card_number, int base_addresss ) Argument card_number: The card number to be initialized, up to eight cards can be initialized in one system, the card number must be 0,..., 7.
5.4 _8113_ActCard_Set Description This function is used to switch active card which the A/D operations can be applied. After more than one cards are initialized by the function _8113_Initial, you have to use this function to select which card is activate currently. Note: In this library, up to eight ACL-8113A cards can be initialized. Syntax int _8113_ActCard_Set( int card_number) Argument card_number: The card number must be initialized; up to 8 cards can be initialized in one system.
5.5 _8113_Channel_Select/Deselect Description The library functions that do the A/D conversions on multiple channels at once. You may select multiple channels to do the conversions on. The channels are not necessary to select as contiguous, i.e. the channels can be selected in any order, but the conversion sequence will be done in numerical order. The following functions are used to support A/D channel selection and deselection. _8113_Channel_Select: selects a particular channel for conversion.
printf( "AD channel 3 is now selected.\n" ); _8113_Channel_Select( 5); /* channel 5 is selected */ _8113_Channel_Select( 7); /* channel 7 is selected */ . . _8113_MAD_Acquire( ); /* The analog signals in channel 3, 5 and 7 will be converted to digital data and save in the Data8113[3], Data8113[5], and Data8113[7] */ . . .. _8113_Channel_Clear(); /* all the channels in the selected list are removed */ } 5.6 _8113_Gain_Select Description This function is used to set the A/D gain by means of software.
Syntax int _8113_Gain_Select (int gain_code ) Argument gain_code: the programmable gain of A/D conversion, the possible values are: AD_GAIN_1, AD_GAIN_2, AD_GAIN_4, and AD_GAIN_8. Return Code ERR_NoRrror ERR_InvalidBoardNumber ERR_BaseAddressError Example #include "8113.h" main() { _8113_Initial( CARD_1, 0x220 ); /* Assume NoError when Initialize ACL-8113A */ _8113_Gain_Select( AD_GAIN_8 ); printf( "The gain of AD channels is now 8 times.
5.7 _8113_AD_Acquire Description: This function is used to poll the AD conversion data from a specified channel. It will trigger the AD conversion, and read the 12 bits A/D data until the data is ready ('data ready' bit is become to low). It is a special A/D conversion function, if you do not want to get converted data from the selected channels list. Syntax: int _8113_AD_Aquire( int channel, int *ad_data ) Argument channel : converted channel no.
5.8 _8113_MAD_Acquire Description This function does one A/D conversion on each of the selected channels, and puts the data in the array call ' Data_8113', which is defined in the file "8113.h". The data array is defined as: extern unsigned Data_8113[31]; If the channels in the selected list are 3, 8, 9, and 15, then the converted values for channel 3 will be stored in Data_8113[3], channel 8 in Data_8113[8], ..., etc.
6 Calibration In data acquisition process, how to calibrate your measurement devices to maintain its accuracy is very important. This chapter will guide you to calibrate your ACL-8113A to an accuracy condition. 6.1 What do you need Before calibrating your ACL-8113A card, you should prepare some equipment for the calibration: 6.2 1. Calibration program: once the program is executed, it will guide you to do the calibration. This program is included in the delivered package. 2.
6.3 Bipolar A/D Adjustment 1. Set jumper JP1 to "10V" and JP2 to "BI" position. 2. Short the A.GND and AI0 ( Channel 0 analog input). 3. Trim VR3 until the reading of the A/D conversion data flickers between 2047 and 2048. 4. Trim the VR1 until the reading of the A/D conversion data flickers between 2047 and 2048. 5. Set Gain as x1, and applied +5V voltage to AI0. Adjust VR2 until the reading of the A/D conversion data flickers between 4094 and 4095. 6.4 Uni-polar A/D Adjustment 1.
Product Warranty/Service ADLINK warrants that equipment furnished will be free from defects in material and workmanship for a period of one year from the date of shipment. During the warranty period, we shall, at our option, either repair or replace any product that proves to be defective under normal operation. This warranty shall not apply to equipment that has been previously repaired or altered outside our plant in any way as to, in the judgment of the manufacturer, affect its reliability.