PCIE-1744 30 MS/s Simultaneous 4-ch Analog Input PCI Express Card 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 1 Introduction ..................................................... 2 1.1 Applications ...................................................................... 4 Installation Guide .............................................................. 4 1.4 Software Overview ........................................................... 6 1.6 Figure 1.1:Installation Flow Chart ................................. 5 1.4.1 1.4.2 1.4.3 Programming Choices for DA&C Cards .......................
3.2.1 3.2.2 3.2.3 3.3 Chapter Signal Connections ......................................................... 25 3.3.1 Pin Assignments .......................................................... 25 Table 3.1:PS-2 Pin Assignments ................................. 25 Table 3.2:DB9 Pin Assignments .................................. 25 4 Operation ....................................................... 28 4.1 Analog Input Ranges and Gains...................................... 28 4.
Figure 5.6:Offset Calibration Failed ............................ 41 Figure 5.7:The Start-up Window of Offset Calibration ... 41 Figure 5.8:The Adjustment Process of Gain Calibration . 42 Figure 5.9:Gain Calibration Succeeded ....................... 42 Figure 5.10:Gain Calibration Failed ............................ 43 Figure 5.11:Calibration Procedure Completed ............ 43 Appendix A Specifications ................................................. 46 A.1 A.2 General: .................................
PCIE-1744 User Manual viii
CHAPTER 1 2 Introduction This chapter will provide information on the features of the PCIE-1744 card, a quick installation guide, and information on software and accessories.
Chapter 1 Introduction Thank you for buying the Advantech PCIE-1744. The PCIE-1744 is a simultaneous 4-channel analog input card with high sampling rates. It is an advanced-performance data acquisition card based on 32-bit PCIexpress bus architecture. The maximum sampling rate of PCIE-1744 is up to 30 MS/s. 1.
1.1.1 32-bit PCI bus Mastering DMA Data Transfer The PCIE-1744 supports PCI bus mastering DMA for high-speed data transfers. By setting aside a block of memory in the PC, the card performs bus-mastering data transfers without CPU intervention, freeing the CPU to perform other more urgent tasks such as data analysis and graphic manipulation. The function allows users to run all I/O functions simultaneously at full speed without losing data. 1.1.
1.2 Applications The following are some of the possible applications of the PCIE-1744: • Testing Instruments • Ultrasound Imaging • Gamma Camera Imaging • CCD Camera Imaging • Video Digitizing 1.
Figure 1.
1.4 Software Overview Advantech offers a rich set of DLL drivers, third-party driver supports and application software to help fully utilize the functions of your PCIE1744 card: • Device Drivers (on the companion CD-ROM) • LabVIEW driver • WaveScan 1.4.1 Programming Choices for DA&C Cards You may use Advantech application software such as Advantech Device Drivers.
1.5 Device Drivers 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 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. 1.5.
1.5.2 Programming with Device Drivers Function Library Advantech Device Drivers offers a rich function library to be utilized in various application programs. This function library consists of numerous APIs that support many development tools, such as Visual C++, Visual Basic, Delphi and C++ Builder.
1.6 Accessories Advantech offers a complete set of accessory products to support the PCIE-1744. These accessories include: 1.6.1 Wiring Cables PCL-10901-1 is specially designed for PCIE-1744 to connect to the wiring board, ADAM-3909, for external synchronization signal sources, such as external triggers and/or clock signals. PCL-1010B-1 is designed for connecting to a signal source. The cable links the PCIE-1744 with the signal source via the BNC connectors.
PCIE-1744 User Manual 10
CHAPTER 2 2 Installation This chapter gives a package item checklist, proper instructions about unpacking and step-by-step procedures for both driver and card installation..
Chapter 2 Installation 2.1 Unpacking After receiving your PCIE-1744 package, please inspect its contents first. The package should contain the following items: ; PCIE-1744 ; Companion CD-ROM (DLL driver included) ; User Manual The PCIE-1744 harbors certain electronic components vulnerable to electrostatic discharge (ESD). ESD could easily damage the integrated circuits and certain components if preventive measures are not carefully paid attention to.
2.2 Driver Installation We recommend you to install the driver before you install any of the the PCIE-1744 into your system, since this will guarantee a smooth installation process. The Advantech Device Drivers setup program for the PCIE-1744 is included on the companion CD-ROM that is shipped with your DA&C card package. Please follow the steps below to install the driver software: Step 1: Insert the companion CD-ROM into your CD-ROM drive.
Step 3: Select the Individual Drivers option. Step 4: Select the specific device then just follow the installation instructions step by step to complete your device driver setup. Figure 2.
2.3 Hardware Installation After the DLL driver installation is completed, you can now go on to install the PCIE-1744 in any PCI Express slot on your computer. It is recommended 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 in your system. Note: Make sure you have installed the driver before you install the card. (Please refer to 2.2 Driver Installation) 1.
After the PCIE-1744 is installed, you can verify whether it is properly installed on your system in Device Manager: 1. Access Device Manager through: Start /Control Panel /System /Device Manager. 2. The device name of card should be listed on the Device Manager tab on the System Property Page. Figure 2.3: The Device Name Listed in the Device Manager Note: If your card is properly installed, you should see the device name of your card listed on the Device Manager tab.
2.4 Device Setup & Configuration Device Manager is a utility that allows you to setup, configure and test your device, and later store your settings on the system registry. These settings will be used when you call the APIs of Advantech Device Drivers. Setting Up and Configuring the Device 1. To connect I/O devices with your card, you must first run the Advantech Device Manager program by accessing: Start/Programs/Advantech Automation/Device Manager/Advantech Device Manager 2.
2.5 Device Testing Following the setup and configuration procedure to the last step described in the previous section, you can now proceed to test the device by clicking the Test button in Device Manager’s dialog box. A Device Test dialog box will appear. See Figure 2.5. Figure 2.5: The Device Test Dialog Box of PCIE-1744 In the Device Test dialog box, you are free to test various functions of PCIE-1744 on the analog input tab, functions on the other tabs are not supported for this model. 2.5.
Figure 2.
PCIE-1744 User Manual 20
CHAPTER 3 2 Signal Connections This chapter provides information about how to connect input signals to the PCIE-1744 via the I/O connectors.
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 signals to PCIE-1744 via the I/O connectors. 3.2 Switch and Jumper Settings The PCIE-1744 has one function switch and five jumper settings.
3.2.1 BoardID Switch Setting (SW1) BoardID settings are used to set a board’s unique identifier when multiple identical cards are installed in the same system. The PCIE-1744 has a built-in DIP switch (SW1), which is used to define each card’s unique identifier. You can determine the unique identifier in the register as shown in following table.
3.2.2 Power on Configuration after Hot Reset (JP1) Use JP1 to set the hot reset type of PCIE-1744. JP1 Power on configuration after hot reset Keep the hardware register setting after hot reset. Load the hardware register default setting after hot reset. (Default setting) 3.2.3 Input Terminator Select (JP2 to JP5) Use JP2 to JP5 to set input terminator values for each AI channel (CH0 to CH3)..
3.3 Signal Connections 3.3.1 Pin Assignments The pin assignments for the PS-2 connector and the DB9 connector are shown below. Table 3.1: PS-2 Pin Assignments 6 5 4 3 2 1 Pin Description 1 2 3 4 5 6 EXT TRIG 0 NC EXT CLK 0+ GND EXT CLK 0EXT CLK 1 . Table 3.2: DB9 Pin Assignments 1 2 3 4 5 6 7 8 9 Pin Description 1 2 3 4 5 6 7 8 9 EXT TRIG 0 NC EXT CLK 0+ GND EXT CLK 0EXT CLK 1 GND GND GND J1 to J4 BNC are analog input connectors. J1 is for AI0, J2 is for AI1, J3 is for AI2 and J4 is for AI3.
PCIE-1744 User Manual 26
CHAPTER 4 2 Operation This chapter describes the following features of the PCIE-1744 card: • Analog input ranges and gains • Analog input acquisition modes • A/D sample clock sources • Trigger sources • Analog Input Data Format
Chapter 4 Operation 4.1 Analog Input Ranges and Gains Each channel on the PCIE-1744 can measure bipolar analog input signals ranging within ± 5 V FSR, and can be set up with different input ranges respectively. The sampling rate can be up to 30 MS/s. The PCIE-1744 also provides various gain levels that are programmable on each channel. Table 4-1 lists the effective ranges supported by the PCIE-1744 using these gains. Table 4.1: Gains and Analog Input Range Gain Code 1 2 5 10 Input Range ±5 ± 2.
4.2.2 Pacer Acquisition Mode Use pacer acquisition mode to acquire data if you want to accurately control the time interval between conversions of individual channels in a scan. A/D conversion clock comes from A/D counter or external clock source on connector. A/D conversion starts when the first clock signal comes in, and will not stop if the clock is still continuously sending into it. Conversion data is put into the A/D FIFO.
4.2.4 Delay Trigger Acquisition Mode In delay trigger mode, data acquisition will be activated after a preset delay number of sample has been taken after the trigger event. The delay number of sample ranges from 2 to 65535 as defined in DMA counter. Delay-trigger acquisition starts when the PCIE-1744 detects the trigger event and stop when the specified number of A/D samples has been acquired or when you stop the operation. This triggering mode must work with the DMA data transfer mode enabled.
4.2.5 About Trigger Acquisition Mode Use about-trigger acquisition mode when you want to acquire data both before and after a specific trigger event occurs. This operation is equivalent to doing both a pre-trigger and a post-trigger acquisition. When using software, please specify the following parameters after About-Trigger Acquisition Mode has been set.
4.2.6 Pre-Trigger Acquisition Mode Pre-Trigger mode is a particular application of about-trigger mode. Use pre-trigger acquisition mode when you want to acquire data before a specific trigger event occurs. Pre-trigger acquisition starts when you start the operation and stops when the trigger event happens. Then the specific number of samples will be reversed in the FIFO before the pre-trigger event occurred. Please specify the following parameters, after Pre-trigger Acquisition Mode: has been set.
4.3.1 Internal A/D Sample Clock The internal A/D sample clock uses a 60 MHz time base. Conversions start on the rising edge of the counter output. You can use software to specify the clock source as internal and the sampling frequency to pace the operation. The minimum frequency is 234375 S/s, the maximum frequency is 30 MS/s. According to the sampling theory (Nyquist Theorem), you must specify a frequency that is at least twice as high as the input’s highest frequency component to achieve valid sampling.
4.4 Trigger Sources The PCIE-1744 supports the following trigger sources for post-, delay-, about- and pre-trigger acquisition modes: • Software trigger • External digital (TTL) trigger • Analog threshold trigger. You can define the type of trigger source as rising-edge or falling-edge. These following sections describe these trigger sources in more detail. 4.4.
4.4.3 Analog Threshold Trigger For analog input operations, an analog trigger event occurs when the PCIE-1744 detects a transition from above a threshold level to below a threshold level (falling edge), or a transition from below a threshold level to above a threshold level (rising edge). You should connect the analog signals from the external device to one of the four BNC source connectors.
4.5 Analog Input Data Format Table 4.2: Analog Input Data Format A/D Code Mapping Voltage Hex. Dec. 000h 0d -FS 7FFh 2047d -1 LSB 800h 2048d 0 FFFh 2095d FS-1 LSB 1LSB FS/2048 Table 4.3: Corresponding Full Scale Values for Various Input Voltage Ranges Gain Range FS 1 ±5 5 2 ±2.5 2.5 5 ±1 1 10 ±0.5 0.
CHAPTER 5 2 Calibration This chapter offers you a brief guide to the calibration procedure.
Chapter 5 Calibration The PCIE-1744 has been calibrated at the factory for initial use. You are not required to calibrate the PCIE-1744 in normal conditions. However, if calibration is required, the procedure shown in the next pages will show how it is done. To perform an effective calibration, prepare a standard 4-1/2 digits resolution, stable and low-noise DC voltage source. It is important as the accuracy of the device will depend on the accuracy of the DC source. 5.
Step 2:Select the input range of the channel which you want to calibrate. Step 3:Click the Calibration button to start the calibration process. The Calibration Wizard window will pop up. Note: Each calibration process can calibrate only one channel and one input range at a time. Figure 5.2: Click the Calibration Button to Launch the Calibration Step 4:Follow the instruction of Calibration Wizard to input a correct DC voltage as a reference and click the Next button to proceed to the next step. Figure 5.
Step 5:Click the Start button to start the Offset Calibration. Note that the Status will indicate Unknown as default at the beginning. Figure 5.4: The Adjustment Process of Offset Calibration Step 6:If the reference DC voltage source and the wiring are both correct, the calibration will proceed automatically after the Start button is clicked. When the offset calibration is completed, the Status will indicate Succeeded, then click the Next button to proceed to the next step Figure 5.
Step 6a:Once the Status indicates Failed, please check if both the wiring and the input voltage are correct. When finished checking, click the Start button again to restart the procedure, or click the Cancel button to stop the calibration. Figure 5.6: Offset Calibration Failed Step 7:If the offset calibration is completed, it will proceed to the Gain Calibration. The steps of gain calibration are quite similar to those of the offset calibration.
Step 8:Click the Start button to start gain calibration. Note that the Status will indicate Unknown as default at the beginning. Figure 5.8: The Adjustment Process of Gain Calibration Step 9:When the gain calibration is completed click the Next button to proceed. Figure 5.
Step 9a:Once the Status indicates Failed, please check if both the wiring and the input voltage are correct. When finished checking, click the Start button again to restart the procedure, or click the Cancel button to stop the calibration. Figure 5.10: Gain Calibration Failed Step 10:When the current channel is calibrated, click the Finish button to end the procedure.
PCIE-1744 User Manual 44
APPENDIX A 2 Specifications
Appendix A Specifications A.1 General: I/O Connector Type 4 BNC connector for AI 1 PS2 connector for ext. clock and trigger Dimensions 175 mm x 100 mm (6.9” x 3.9”) Power Consumption Typical +5 V @ 850 mA ; +12 V @ 600 mA Max.
A.2 Analog Input Channels Resolution 4 single-ended analog input channels 12-bit FIFO Size Max. Sampling Rate 30 MHz 32k Input range and Gain List Gain 1 2 5 10 Range ±5V ±2.5V ±1V ±0.5V Drift Gain 1 2 5 10 Zero ±200 ±100 ±40 ±20 (µV / °C) Gain ±30 ±30 ±30 ±30 (ppm / °C) Small Signal Band- Gain 1 2 5 10 width for PGA Bandwidth 7MHz 7MHz 7MHz 7MHz (-3dB) Max.
PCIE-1744 User Manual 48
APPENDIX B 2 Block Diagram
Appendix B Block Diagram PCIE-1744 User Manual 50