PCI-1710U Series 12-bit Multifunction Cards with Universal PCI Bus User Manual
Copyright The documentation and the software included with this product are copyrighted 2009 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements in the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable.
Product Warranty (2 years) Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation.
CE This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information. Technical Support and Assistance Step 1. Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product. Step 2.
Contents Chapter Chapter Chapter 1 Introduction ..................................................... 2 1.1 1.2 1.3 Features ............................................................................. 3 Applications ..................................................................... 4 Installation Guide ............................................................. 5 1.4 1.5 1.6 Software Overview ........................................................... 7 Device Driver Programming Roadmap .......
C.1 VR Assignment .............................................................. 41 C.2 C.3 A/D Calibration ............................................................... 42 D/A Calibration (PCI-1710U/HGU) ............................... 45 Figure C.1:PCI-1710U VR Assignment ......................
CHAPTER 1 2 Introduction This chapter introduces the PCI-1710U cards and their typical applications.
Chapter 1 Introduction The PCI-1710U/HGU is a PCI-Bus multifunction card for IBM PC/XT/ AT or compatible computers. It offers the five most desired measurement and control functions: • 12-bit A/D conversion • D/A conversion • Digital input • Digital output • Timer/counter. A programmable-gain instrument amplifier lets you acquire different input signals without external signal conditioning. An onboard 4K word FIFO buffer provides high-speed data transfer and predictable performance under Windows.
1.1 Features • 16 single-ended or 8 differential A/D inputs, switch selectable • 12-bit A/D converter, up to 100 kHz sampling rate • Programmable gain for each input channel • Automatic channel/gain scanning • Onboard 4K word FIFO buffer with software selectable interrupt • Software selectable Bipolar/Unipolar analog input ranges • 16 digital inputs and 16 digital outputs, TTL compatible • Two 12-bit analog output channels • Onboard programmable counter • Universal PCI-Bus (Support 3.
Onboard Programmable Timer/Counter PCI-1710U/HGU/UL provides a programmable timer counter for generating pacer trigger for the A/D conversion. The timer/counter chip is 82C54, which includes three 16-bit counters of 10 MHz clock. One counter is used as an event counter for counting events coming from the input channel. The other two are cascaded together to make a 32-bit timer for pacer trigger time base.
1.
Figure 1.
1.4 Software Overview Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully exploit the functions of your PCI-1710U/HGU/UL card: • Device Drivers (on the companion CD-ROM) • LabVIEW driver • Advantech ActiveDAQ Pro • WaveScan Programming choices for DA&C cards You may use Advantech application software such as Advantech Device Drivers.
1.5 Device Driver Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application from scratch using Advantech Device Drivers with your favorite development tools such as Visual Studio.Net, Visual C++, Visual Basic, Delphi and C++ Builder. The step-by-step instructions on how to build your own applications using each development tool will be given in the Device Drivers Manual. Moreover, a rich set of example source code is also given for your reference.
Programming with Device Drivers Function Library Advantech Device Drivers offer a rich function library that can be utilized in various application programs. This function library consists of numerous APIs that support many development tools, such as Visual Studio .Net, Visual C++, Visual Basic, Delphi and C++ Builder.
1.6 Accessories Advantech offers a complete set of accessory products to support the PCI-1710U/HGU/UL card. These accessories include: Wiring Cables PCL-10168 The PCL-10168 cable is a 68-pin SCSI shielded cable for PCI-1710U/HGU/UL cards.
CHAPTER 2 2 Installation This chapter provides a packaged item checklist, proper instructions for unpacking and step-by-step procedures for both driver and card installation..
Chapter 2 Installation 2.1 Unpacking After receiving your PCI-1710U/HGU/UL package, please inspect its contents first. The package should contain the following items: • PCI-1710U, PCI-1710HGU or PCI-1710UL card • Companion CD-ROM (Device Drivers included) • User Manual The PCI-1710U cards harbor certain electronic components vulnerable to electrostatic discharge (ESD). ESD can easily damage the integrated circuits and certain components if preventive measures are ignored.
. Note: Keep the anti-static bag for future use. You might need the original bag to store the card if you have to remove the card from a PC or transport it elsewhere. 2.2 Driver Installation We recommend you install the driver before you install the PCI-1710U/ HGU/UL card into your system, since this will guarantee a smooth installation process. The Advantech Device Drivers Setup program for the PCI-1710U//HGU/UL card is included in the companion CD-ROM that is shipped with your DA&C card package.
Figure 2.1: Setup Screen of Advantech Automation Software 3. Select the Device Manager option to install. 4. Select the Individual Driver option. 5. Select the specific device then follow the installation instructions step by step to complete your device driver installation and setup. Figure 2.
2.3 Hardware Installation Note: Make sure you have installed the driver before you install the card (please refer to chapter 2.2 Driver Installation) After the Device Drivers installation is completed you can install the PCI1710U/HGU/UL card into any PCI slot on your computer. However, it is suggested that you refer to the computer’s user manual or related documentation if you have any doubts. Please follow the steps below to install the card onto your system. 1.
2.4 Device Setup & Configuration The Advantech Device Manager program is a utility that allows you to set up, configure and test your device, and later stores your settings on the system registry. These settings will be used when you call the APIs of Advantech Device Drivers. Setting Up the Device 1. To install the I/O device for your card, you must first run the Device Manager program (by accessing Start/Programs/Advantech Automation/Device Manager/Advantech Device Manager ). 2.
Configuring the Device 3. Please click the Setup button to configure your device. On the Device Setting dialog box (Fig. 2-4), you can configure the A/D channels configuration either as 8 Differential or 16 Single-ended, specify the D/A voltage reference either as External or Internal and specify the voltage output range for the two D/A channels. Figure 2.4: The Device Setting Dialog Box 4.
PCI-1710U Series User Manual 18
CHAPTER 3 2 Signal Connections This chapter provides useful information about how to connect input and output signals to the PCI-1710U cards via the I/O connector..
Chapter 3 Signal Connections 3.1 Overview Maintaining signal connections is one of the most important factors in ensuring that your application system is sending and receiving data correctly. A good signal connection can avoid unnecessary and costly damage to your PC and other hardware devices. This chapter provides useful information about how to connect input and output signals to the PCI1710U cards via the I/O connector. 3.2 Switch and Jumper Settings PCI-1710U cards have one switch for BoardID setting.
If you need to adjust it to other numbers, set SW1 by referring to DIP switch settings below. Table 3.
3.3 Signal Connections Pin Assignment Figure 3-2 shows the pin assignments for the 68-pin I/O connector on the PCI-1710U/HGU/UL. Figure 3.
3.3.1 I/O Connector Signal Description Table 3.2: I/O Connector Signal Descriptions Signal Name Reference Direction Description AI<0…15> AIGND Input AIGND - - AO0_REF AO1_REF AO0_OUT AO1_OUT AOGND AOGND Input AOGND Output - - DI<0..15> DO<0..15> DGND DGND DGND - Input Output - CNT0_CLK CNT0_OUT CNT0_GATE PACER_OUT DGND DGND DGND DGND Input Output Input Output Analog Input Channels 0 through 15. Each channel pair, AI (i = 0, 2, 4...
Table 3.2: I/O Connector Signal Descriptions TRG_GATE DGND Input EXT_TRG DGND Input +12V +5V DGND DGND Output Output A/D External Trigger Gate. When TRG _GATE is connected to +5 V, it will enable the external trigger signal to input. When TRG _GATE is connected to DGND, it will disable the external trigger signal to input. A/D External Trigger. This pin is external trigger signal input for the A/D conversion. A low -to-high edge triggers A/D conversion to start. +12 VDC Source. +5 VDC Source. 3.3.
Differential Channel Connections Differential input connections use two signal wires per channel. The card measures only the voltage difference between these two wires, the HI wire and the LOW wire. If the signal source has no connection to ground, it is called a "floating" source. A connection must exist between LOW and ground to define a common reference point for floating signal sources. To measure a floating sources connect the input channels as shown below: HIGH + + Vs - LOW + Vin - A.
Correct Connection HIGH + + Vs - + Vin - LOW Vin=Vs - - + Vcm GND Incorrect Connection HIGH + + Vin - + Vs - Vin=Vs+Vcm LOW - - + Vcm GND Analog Output Connection The PCI-1710U/HGU/UL provides two D/A output channels. You can use the internal precision -5 V or -10 V reference to generate 0 to +5 V or 0 to +10 V D/A output. Use an external reference for other D/A output ranges. The maximum reference input voltage is ±10 V and maximum output scaling is ±10 V.
Fig. 3-3 shows how to make analog output and external reference input connections on the PCI-1710U/1710HGU. Figure 3.3: Analog Output Connections 3.3.3 Digital Signal Connections The PCI-1710U/HGU has 16 digital input and 16 digital output channels. The digital I/O levels are TTL compatible. The following figure shows connections to exchange digital signals with other TTL devices: TTL Devices DO DI D.GND D.
+5V 4.7K D.GND 3.4 Field Wiring Considerations When you use PCI-1710U cards to acquire data from outside, noises in the environment might significantly affect the accuracy of your measurements if due cautions are not taken. The following measures will be helpful to reduce possible interference running signal wires between signal sources and the PCI-1710U card.
APPENDIX A 2 Specifications
Appendix A Specifications A.1 Analog Input Channels Resolution FIFO Size PCI-1710U/UL Max. Sampling Rate PCI-1710HGU Max.
PCI-1710U/UL Accuracy DC AC PCI-1710HGU Accuracy DC AC External TTL Trigger Input Low High INLE: ±1 LSB Monotonicity: 12 bits Offset error: Adjustable to zero Gain 0.5 1 2 Gain 0.1 0.1 0.2 Error (% FSR) ChanSE/ SE/ DIFF nel Type DIFF DIFF SNR: 68dB ENOB: 10.5 bits INLE: ±1 LSB Monotonicity: 12 bits Offset error: Adjustable to zero Gain 0.5, 1 5, 10 50, 100 Gain 0.1 0.2 0.4 Error (% FSR) ChanSE/ SE/ DIFF nel Type DIFF DIFF SNR: 68dB ENOB: 10.5 bits 0.4 V max. 2.4 V min. 4 0.2 8 0.
A.2 Analog Output Channels 2 (PCI-1710U/1710HGU only) Resolution 12-bit Output Range Using Internal Reference 0 ~ +5V @ -5V 0 ~ +10V @ -10V Using External Reference 0 ~ +xV @ -xV (-10 ≤ x ≤ 10) Accuracy Relative ±0.5 LSB Differential Non-linearity ±0.5 LSB (monotonic) Gain Error Adjustable to zero Slew Rate 10 V/s Drift 40 ppm / °C Driving Capability 3 mA Update Rate Static update Output Impedance 7.5 ohm max. Setting Time 26s ( to ± 1/2 LSB of FSR ) A.
A.4 Digital Output Output Channels 16 Output Voltage Low 0.8 V max.@ +8.0mA (sink) High 2 V min.@ -0.4mA(source) A.5 Counter/Timer Counter chip 82C54 or equivalent Channels 3 channels, 2 channels are permanently configured as programmable pacers; 1 channel is free for user application Resolution 16-bit Compatibility TTL level Base Clock Channel 2: Takes input from output of channel 1 Channel 1: 10MHz Channel 0: Internal 1MHz or external clock (10 MHz) max Selected by software Max.
A.6 General I/O Connector Type 68-pin SCSI female Dimensions 175 x 100 mm (6.9" x 3.9") Power Consumption Typical +5 V @ 850 mA Max.
35 Appendix A
PCI-1710U Series User Manual 36
B APPENDIX 2 Block Diagrams
Appendix B Block Diagrams PCI-1710U Series User Manual 38
APPENDIX C 2 Calibration This appendix provides brief information on PCI-1710U card calibration. Regular calibration checks are important to maintain accuracy in data acquisition and control applications.
Appendix C Calibration PCI-1710U cards are calibrated at the factory for initial use. However, a recalibration of the analog input and the analog output function is recommended: 1. Every six months. 2. Everytime the analog output range is changed. We provide the Advantech Device Manager on the companion CD-ROM to assist you with D/A and A/D calibration. The Advantech Device Manager makes calibration easy.
C.1 VR Assignment The five variable resistors (VRs) on the PCI-1710U/HGU/UL board help you make accurate adjustment on all A/D and D/A channels. See the figure in Appendix C for help finding the VRs. The following list shows the function of each VR: VR VR1 VR2 VR3 VR4 (PCI-1710U/HGU) VR5 (PCI-1710U/HGU) Function A/D unipolar offset A/D bipolar offset A/D full scale D/A0 full scale D/A1 full scale Figure C.
C.2 A/D Calibration Note: Using a precision voltmeter to calibrate the A/D outputs is recommended. Regular and accurate calibration ensures maximum possible accuracy. The A/D calibration tool in the Advantech Device Manager leads you through the whole A/D offset and gain adjustment procedure. The basic steps are outlined below: 1. In the Advantech Device Manager, set analog input channel AI0 as single-ended, bipolar, range ±5 V, and set AI1 as single-ended, unipolar, range 0 to 10 V. 2.
3. Connect a DC voltage source with a value of 4094.5 LSB (4.9953 V) to AI0. Adjust VR3 until the output from the card's AI0 flickers between 4094 and 4095. 4. Connect a DC voltage source with value equal to 0.5 LSB (1.22mV) to AI1. Adjust VR1 until the output codes from the card's AI1 flickers between 0 and 1.
5. The A/D calibration is finished after the foregoing steps. A/D code Mapping Voltage Hex. Dec. Bipolar ±5V Unipolar 0 to 10V 000h 0 -4.9971 V 0V 7FFh 2047 -0.0024 V 4.9947 V 800h 2048 0V 4.9971 V FFFh 4095 4.9947 V 9.
C.3 D/A Calibration (PCI-1710U/HGU) Note: Using a precision voltmeter to calibrate the D/A outputs is recommended. In a way similar to the A/D Calibration, the D/A calibration tool in the Advantech Device Manager leads you through the whole D/A calibration procedure. 1. Measure the DA0 output with a 4 1/2-digit digital meter. Adjust the VR4 until the output value equals 4.9988V.
2. Measure the DA1 output with a 4 1/2-digit digital meter. Adjust the VR5 until the output value equals 4.9988V. 3. The D/A calibration is finished after the foregoing steps.