PCI 703 Series PCI PnP Analog Board User’s Manual PCI703-16/A, PCI703-32/A PCI703-64/A PCI703S-8/A, PCI703S-16/A Eagle Technology – Cape Town, South Africa Copyright © 2001-2004 www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition Analog Boards Data Acquisition and Process Control © Eagle Technology 31-35 Hout Street • Cape Town • South Africa Phone +27 21 423 4943 • Fax +27 21 424 4637 Email eagle@eagle.co.za Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition Copyright All rights reserved. No part of this publication may be reproduced, stored in a retrieval system , or transmitted, in any form or any means, electronic, mechanical, by photographing, recording, or otherwise without prior written permission. Copyright © Eagle Technology, South Africa July 2004 Revision 1.
PCI 703 User Manual Eagle Technology - Data Acquisition TABLE OF CONTENTS 1. INTRODUCTION 1 Features 1 Applications 2 Key Specifications 2 Software Support 2 Contact Details 2 2. 3 INSTALLATION Package 3 Operating System Support 3 Hardware Installation 3 Software Installation Windows 98/2000/ME Post installation Windows NT 4 4 7 9 Accessories 9 3.
PCI 703 User Manual Eagle Technology - Data Acquisition Frequency Output (FREQ_OUT) ADC Scan Clock (SCANCLK) Counters (GPCTR0-1) +5V Power Pin (+5V) Digital Ground (DGND) 14 14 15 15 15 Analog Input Connections 15 Analog Input Connections - SAMPLE-AND-HOLD 15 Differential Input Pairing 15 4.
PCI 703 User Manual Eagle Technology - Data Acquisition Conversion Characteristics Differential Input Amplifier Characteristics (AD620BR) 31 31 Analog Input Characteristics – PCI703S Differential Input Amplifier Characteristics (AD620BR) Sample and Hold Amplifier Characteristics (AD684) Programmable Gain Amplifier Characteristics Input Characteristics Conversion Characteristics 32 32 32 32 32 32 Analog Output Characteristics Output Characteristics Conversion Characteristics (Calibrated) Voltage Output
PCI 703 User Manual Eagle Technology - Data Acquisition Table of Figures Figure 3 -A PCI 703 Interconnections ............................................................................................................10 Figure 4 -A EDR Enhanced Design................................................................................................................17 Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition Table of Tables Table 1-1 PCI703 16/32/64 Versions ..............................................................................................................1 Table 1-2 PCI703S Versions .............................................................................................................................2 Table 2-1 Operating System Support ......................................................................................................
PCI 703 User Manual Eagle Technology - Data Acquisition 1 1. Introduction The PCI703 series are 32-bit PCI bus architecture data acquisition boards. They are available in four models, the 16, 32 and 64 channels analog input board and the sample-and-hold version. The PCI703 contains digital input and output ports, onboard counters, a frequency generator, analog-in and analog-out sub-systems. The PCI703 is a multi-purpose analog board that can be used in many applications.
PCI 703 User Manual Feature Number of analog input channels Number of analog output channels A/D resolution @ 400 KHz A/D FIFO depth A/D channel list depth D/A resolution @ 100 KHz D/A FIFO depth D/A waveform generation capability Triggering capability Counters Frequency generation Number of digital input/output lines Number of multi function digital I/O lines Eagle Technology - Data Acquisition PCI 703S-8 PCI 703S-8A PCI 703S-16 PCI 703S-16A 8 0 14 4096 4096 Internal, External. Analog & Digital.
PCI 703 User Manual Eagle Technology - Data Acquisition 2 2. Installation This chapter describes how to install and configure the PCI703 for the first time. Minimal configuration is necessary; almost all settings are done through software. The PCI BIOS or operating system will take care of all resource assignments.
PCI 703 User Manual Eagle Technology - Data Acquisition Software Installation Windows 98/2000/ME Installing the Windows 98/2000 device driver is a very straightforward task. Because it is plug and play Windows will auto detect the PCI board as soon as it is installed. No setup is necessary. You simply have to supply Windows with a device driver. Wait until Windows detects the new hardware Select Next Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition Select “Search for a suitable driver for my device…” and select next Make sure only “Specify a location” is selected and select next Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition Select the browse button and search for the PCI703.inf file on the Eagle CD-Rom. The driver is normally located in the :\EDRE\DRIVERS \WDM \PCI703 directory. The PCI703/16/64 use the same driver. However the PCI703S has a different driver. Please sure that you use the appropriate driver for your board. Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition Select next when found. Select next again. When done you might have to restart your computer. Post installation When done with the driver installation the device manager can be open to make sure the installation was a success. Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition • • First make sure that the driver is working properly by opening the Device Manager. Check under the Eagle Data Acquisition list if your board is listed and working properly. See picture below. • • Clearly you can see that the PCI device is listed and working properly. Further open the control panel and then the EagleDAQ folder. This dialog should list all installed hardware. Verify your board’s properties on this dialog.
PCI 703 User Manual Eagle Technology - Data Acquisition Now the first part of your installation has been completed and ready to install the EDR Enhanced Software Development Kit. • Run edreapi.exe found on the Eagle CD-Rom and follow the on screen instructions Windows NT Windows NT does not require any special setup procedure. The Windows NT driver does not support plug and play. If Windows 2000 detects a new device simply install a default driver, or so called placeholder.
PCI 703 User Manual Eagle Technology - Data Acquisition 3 3. Interconnections The PCI703 has got one external connector that includes connections for analog-in, analogout, digital I/O, counters and power. All connections are made through this connector situated on the card’s bracket. A wide variety of genuine accessories available from Eagle Technology also make interfacing to the PCI703 very easy. Accessories are available in the form of cables, screw terminals and application modules.
PCI 703 User Manual Eagle Technology - Data Acquisition Connector Pin Assignments PCI703-16/A Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Name FREQ_OUT GPCTR0 PFI9 DGND PFI6 PFI5 DGND +5V DGND PFI1 PFI0/TRIG1 DGND DGND +5V DGND DIO6 DIO1 Pin 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Name DGND DIO4 RESERVED DAC1 DAC0 ACH15 AIGND ACH6 ACH13 AIGND ACH4 AIGND ACH3 ACH10 AIGND ACH1 ACH8 Pin 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 Name DGND DGND PFI8/ CPCTR1 PFI7 DGND GPCTR1 PFI4 PFI3
PCI 703 User Manual 5 6 7 8 9 10 11 12 13 14 15 16 17 ACH12+ ACH10ACH10+ ACH8ACH8+ AIGND ACH6ACH6+ ACH4ACH4+ ACH2ACH2+ ACH0- Eagle Technology - Data Acquisition 22 23 24 25 26 27 28 29 30 31 32 33 34 FREQ_OUT GPCTR0 PFI8/ CPCTR1 PFI6 PFI4 PFI2/CONVERT PFI0/TRIG1 +5V DGND DIO6 DIO4 DIO2 DIO0 39 40 41 42 43 44 45 46 47 48 49 50 51 ACH13+ ACH11ACH11+ ACH9ACH9+ AIGND ACH7ACH7+ ACH5ACH5+ ACH3ACH3+ ACH1- 56 57 58 59 60 61 62 63 64 65 66 67 68 NC GPCTR1 PFI9 PFI7/STARTSCAN PFI5 PFI3/ CPCTR0 PFI1 +5V DGND
PCI 703 User Manual Eagle Technology - Data Acquisition Y-Cable 3 (PCI 703-64/A) Analog Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Name AIGND ACH0 ACH1 ACH2 ACH3 ACH4 ACH5 ACH6 ACH7 ANALOG I/P SENSE AIGND ACH16 ACH17 ACH18 ACH19 ACH20 ACH21 ACH22 ACH23 AIGND Pin 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Name ACH32 ACH33 ACH34 ACH35 ACH36 ACH37 ACH38 ACH39 AIGND ACH48 ACH49 ACH50 ACH51 ACH52 ACH53 ACH54 ACH55 AOGND DAC0 AOGND Pin 41 42 43 44 45 46 47 48 49 50 51 52 53 54 5
PCI 703 User Manual Eagle Technology - Data Acquisition Signal Definitions This sections deal with all the signals abbreviations.
PCI 703 User Manual Eagle Technology - Data Acquisition Counters Output (GPCTR0-1) These are the outputs of the two user counters. Counters External Clock (CPCTR0-1) These are the external clock inputs of the two user counters. +5V Power Pin (+5V) This is a +5 volt fused power pin. Digital Ground (DGND) All digital ground signals should be connected to this pin. Analog Input Connections WARNING!! All unused analog inputs must be connected to analog ground.
PCI 703 User Manual Eagle Technology - Data Acquisition 10 11 12 13 14 15 18 19 20 21 22 23 26 27 28 29 30 31 26 27 28 29 30 31 50 51 52 53 54 55 58 59 60 61 62 63 Table 3-7 Differential Channel Assignment Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition 4 4. Programming Guide The PCI703 is supplied with a complete software development kit. EDR Enhanced (EDRE SDK) comes with drivers for many operating systems and a common application program interface (API). The API also serves as a hardware abstraction layer (HAL) between the control application and the hardware. The EDRE API makes it possible to write an application that can be used on all hardware with common sub-systems.
PCI 703 User Manual Eagle Technology - Data Acquisition Digital Inputs/Outputs The PCI703 has got 8 digital I/O lines and 10 multi I/O lines that can all be used for digital control purposes. The EDRE API supports auto direction configuration. By writing to or reading from a port, it is automatically configured as an output or input. A port is defined as a collection of simultaneous configurable entities. Thus in the case of the PCI703 each port is only 1 -bit wide.
PCI 703 User Manual Eagle Technology - Data Acquisition Counters The counter sub-system is supported by functions to Write, Configure and controlling the gate. There are 3 counters and 1 frequency generator. Only the first two counters and the frequency generator are available for the user. See the table below that shows the relation of the counters and their assigned numbers.
PCI 703 User Manual Gate Eagle Technology - Data Acquisition Table 4-2 Counter Configuration Controlling the counter gate A single call is necessary to setup/control a counter’s gate. This function call is invalid for the frequency generator (counter 2). Counter 2 does not have a gate. API-CALL Long EDRE_CTSoftGate(ulng Sn, ulng Ct, ulng Gate) The serial number, counter-number and gate are needed to control a counter’s gate. A return code will indicate if any errors occurred.
PCI 703 User Manual Eagle Technology - Data Acquisition Analog Output The PCI703-X/A version has got 2 DAC channels that support single write and waveform generation. The DAC subsystem uses the onboard counters for timing and a FIFO for data transfer. The two DAC channels are controlled independently from each other. The DAC subsystem is control via 3 functions: SingleWrite, Control and Configure. Writing to a DAC channel A single call is necessary to set a voltage on a DAC channel.
PCI 703 User Manual Eagle Technology - Data Acquisition Channel Long Frequency ClkSrc Long Long GateSrc Continuous Length uVoltage Return Long Long Long Pointer to a long buffer Long Channel 0: DAC Channel 0 1: DAC Channel 1 Actual value written to counter Clock source 0: Internal 20 MHz 1: Internal 100 KHz 2: External Clock Gate Source – Ignored Mode Number of samples in buffer Buffer filled with micro voltages Error Code API-CALL Long EDRE_DAControl (ulng Sn, ulng Channel, ulng Command) Parameter
PCI 703 User Manual Eagle Technology - Data Acquisition Analog Input The PCI703 has got a very unique A/D subsystem and is fully configurable. Configuration includes dynamic range, gain, reference and differential or single ended. Each of these settings can be applied to an individual channel while scanning. Please not that although the PCI703 and PCI703S is similar in operation and uses the same functions, not all parameters apply to the PCI703S.
PCI 703 User Manual Eagle Technology - Data Acquisition 12 Example Layout: 15 14 13 M M M 3 2 1 Burst Range ChanList GainList Unsigned long Unsigned long Pointer to an unsigned long Pointer to an unsigned long Unsigned long 12 M 0 11 T3 10 T2 9 T1 8 T0 7 C 7 6 C 6 5 C 5 4 C 4 3 C 3 2 C 2 1 C 1 0 C 0 Not used Not used This is an array of unsigned longs which contains the channels to be sampled when scanning the ADC sub-system. The max size of the channel list is half the FIFO depth.
PCI 703 User Manual Eagle Technology - Data Acquisition F3 ListSize Unsigned long F2 F1 F0 R 3 R 2 R 1 R 0 G 7 G 6 G 5 G 4 G 3 G 2 G 1 G 0 This parameter determines the length the two previous arrays. This is also the depth of the channel list that is programmed to the board. The range code does not apply to the S models, for the are always differenti al and bipolar. The Frequency and ClockSource ADC ActiveX control must be setup before calling the configure function. EDREADX.
PCI 703 User Manual Eagle Technology - Data Acquisition EDREADX.ClockSource ClockSource This parameter is used to configure the clocking system of the ADC. Format Offset (bits) Description 0 Clock Source (C0-C7) 0: Undefined 1: Internal 2: External 8 Trigger Source (T0-T3) 0: Internal 1: Reference (NOT SUPPORTED BY PCI 703S) 2: External 12 Trigger Mode – Only applies to the reference trigger source.
PCI 703 User Manual Parameter Sn Buf BufSize Return Eagle Technology - Data Acquisition Type Unsigned long Pointer to a long buffer. Pointer to an unsigned long Long Description Board’s serial number Buffer to copy micro voltages too. Size of buffer must be passed or number of samples requested. The returned value will indicate the number of actual samples copied to the buffer. Error Code ACTIVEX CALL Long EDREADX.
PCI 703 User Manual Eagle Technology - Data Acquisition Query Codes This chapter explains query codes and their functions relating to the PCI703 series. It will show examples of typical query codes that can make custom application allot easier to develop and tailor made for the PCI703 boards. Please note that all examples or pseudo code will show the API call and not the ActiveX call. Use the section below to translate between the two different implementations.
PCI 703 User Manual Eagle Technology - Data Acquisition How to check for available data To check for the number of samples available in the driver buffer use the query functions as below. PSEUDO BEGIN UI32 Sn=1000000001 /*32-bit unsigned integer - Serial Number*/ I32 Status /*32-bit integer*/ Status=EDRE_Query(Sn, ADUNREAD /*Code 109*/,0) If Status < 0 Then Error Print “Samples available = “ + Status PSEUDO END How to get the driver buffer size To get the driver buffer size, use the query below.
PCI 703 User Manual Eagle Technology - Data Acquisition 5 5. Calibration Calibrating the PCI703 is simple task. EDR Enhanced must be installed and the calibration software. Both can be found on the Eagle Technology Software CD-Rom (\EDRE\APPS\PCI700CAL\PCI700CALIBRATIONSOFTWARE.EXE). The latest version will also be available on http://www.eagle.co.za. Requirements 1. 2. 3. 4. 1 x PCI703 with cable and adaptor. Installed software High accuracy calibration source, High accuracy digital voltmeter.
PCI 703 User Manual Eagle Technology - Data Acquisition A A.Specifications Maximum Transfer Bandwidth – PCI703/S The ADC and DAC subsystems share a common data path to the FIFO module. This limits the maximum data transfer between the FIFO’s, the appropriate device and across PCI. The maximum bandwidth is 450 000 cycles per second.
PCI 703 User Manual Eagle Technology - Data Acquisition Gains > 5, 0.8 LSB (rms) ± 15V ± 5V Maximum Safe Input Range Maximum Operating Input Range Analog Input Characteristics – PCI703S Differential Input Amplifier Characteristics (AD620BR) Input Coupling Input Impedance Bandwidth Offset Voltage Gain Error Maximum Safe Input Range Maximum Operating Input Range DC >1 GΩ , in parallel with 50 pF maximum 120 KHz at ± 5V input voltage swing ± 500 uV ± 0.
PCI 703 User Manual Eagle Technology - Data Acquisition Analog Output Characteristics Output Characteristics Resolution Maximum Update Rate FIFO Buffer Size Data Transfer 14 bits 400 KHz to 0.02% full scale 4096 Programmed I/O, Interrupts, BM DMA Conversion Characteristics (Calibrated) Resolution Relative Accuracy Full Scale Error Zero Scale Error 14 bits ± 1.0 LSB max ± 0.9 LSB ± 0.
PCI 703 User Manual Eagle Technology - Data Acquisition Timing Input/Output Characteristics Number of Channels Resolution Clock Source I/O Characteristics 2 24 bits 20 MHz, 100 KHz, External Level Min Input Low Voltage 0V Input High Voltage 2.0V Low Level Input Current High Level Input Current Output High 2.4V Voltage Output Low Voltage Low Level Output Current High Level Output Current Max 0.8V 5.25V - 100 uA 100 uA 0.6V -24 mA 4 mA Other Bus Interface Power Requirements PCI 2.
PCI 703 User Manual Eagle Technology - Data Acquisition B B.Configuration Constants Query Codes Please see the file \EDRE\INCLUDE\QUERY.H for the latest query codes. Error Codes Please see the file \EDRE\INCLUDE\ERRORS.H for the latest error codes. Digital I/O Codes Name DIOOUT DIOIN DIOINOROUT DIOINANDOUT Value 0 1 2 3 Description Port is an output. Port is an input. Port can be configured as in or out. Port is an input and an output.
PCI 703 User Manual Name UNIPOLAR, SINGLE ENDED BIPOLAR, SINGLE ENDED UNIPOLAR, DIFFERENTIAL BIPOLAR, DIFFERENTIAL Eagle Technology - Data Acquisition Value 0 1 2 3 Description Channel is single ended unipolar input. Channel is single ended bipolar input. Channel is differential unipolar input. Channel is differential bipolar input. Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition C C.Layout Diagram Eagle Technology © Copyright 2001-2004 – www.eagledaq.
PCI 703 User Manual Eagle Technology - Data Acquisition D D.Ordering Information For ordering information please contact Eagle Technology directly or visit our website www.eagle.co.za. They can also be emailed at eagle@eagle.co.za.