User Manual PCIE-1810 12-bit Multifunction Card with PCI Express Bus
Copyright This documentation and the software included with this product are copyrighted 2013 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.
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 1. 2. Visit the Advantech web site at http://support.advantech.com.tw/ where you can find the latest information about the product.
PCIE-1810 User Manual iv
Contents Chapter Chapter 1 Introduction..........................................1 1.1 1.2 1.3 1.4 1.5 1.6 Features .................................................................................................... 2 Applications............................................................................................... 3 Installation Guide ...................................................................................... 3 Figure 1.1 Installation Flow Chart ...................................
B.1.2 B.2 B.3 B.4 PCIE-1810 User Manual Analog Input Ranges and Gains................................................. 31 Table B.1: Gains and Analog Input Range ................................ 31 B.1.3 Analog Input Acquisition Mode ................................................... 31 B.1.4 A/D Trigger Modes...................................................................... 35 B.1.5 A/D SCAN/CONV Clock Source ................................................. 38 B.1.6 A/D Trigger Source ...........
Chapter 1 1 Introduction This chapter introduces PCIE1810 and and its typical applications.
The PCIE-1810 is a PCI Express multifunction card for IBM X86 or compatible computers. It offers the five most desired measurement and control functions: 12-bit A/D conversion 12-bit 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 highspeed data transfer and predictable performance under Windows.
For detailed specifications and operation theory of the PCIE-1810, please refer to Appendix A and B. 1.2 Applications Transducer and sensor measurements Waveform acquisition and analysis Process control and monitoring Vibration and transient analysis 1.
Figure 1.
Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully exploit the functions of your PCIE-1810 card: Device Drivers (on the companion DVD-ROM) LabVIEW driver Advantech DAQ NAVi Datalogger 1.5 DAQNavi Device Driver Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application from scratch using Advantech DAQNavi Device Driver with your favorite development tools such as Visual Studio .
For information about using other function groups or other development tools, please refer to the Using DAQNavi SDK chapter in the DAQNavi SDK Manual, or the video tutorials in the Advantech Navigator. Programming with DAQNavi Device Drivers Function Library Advantech DAQNavi 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 .
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.
2.1 Unpacking After receiving your PCIE-1810 package, inspect the contents first. The package should include the following items: PCIE-1810 card Companion DVD-ROM (Device Drivers included) Startup Manual The PCIE-1810 card 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! If the autoplay function is not enabled on your computer, use Windows Explorer or Windows Run command to execute autorun.exe on the companion DVD-ROM. Figure 2.1 Setup Screen of Advantech Automation Software 3. 4. 5. 6. 7. Select the Installation option. Select the Legacy SDK and Drivers option to install. Select the Individual Drivers option. Select the PCIE series and the specific device then follow the installation instructions step by step to complete your device driver installation and setup.
Figure 2.2 Different Options for Driver Setup For further information on driver-related issues, an online version of the DAQNavi SDK Manual is available by accessing the following path: Start/Programs/Advantech Automation/DAQNavi/DAQNavi Manuals/DAQNavi SDK Manual 2.3 Hardware Installation Note! Make sure you have installed the driver first before you install the card (refer to 2.2 Driver Installation) After the Device Drivers installation is completed you can install the PCIE-1810 card on your computer.
Chapter 2 on your system during driver setup. A complete device installation procedure should include device setup, configuration and testing. The following sections will guide you through the Setup, Configuration and Testing of your device.
2.4 Device Setup & Configuration The Advantech Navigator 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 Advantech Navigator program (by accessing Start/Programs/Advantech Automation/DAQNavi/ Advantech Navigator). 2.
Chapter 2 Configuring the Device 3. Please go to the Device Setting to configure your device. Here you can configure not only the Analog Input/Output of PCIE-1810 but also Digital Input/Output. Installation Figure 2.4 The Device Setting page 4. After your card is properly installed and configured, you can go to the Device Test page to test your hardware by using the testing utility supplied. Figure 2.
PCIE-1810 User Manual 14
Chapter 3 3 Signal Connections This chapter provides useful informa-tion about how to connect input and output signals to the PCIE-1810 card via the I/O connector.
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 PCIE-1810 card via the I/O connector. 3.2 Switch and Jumper Settings Please refer to Figure 3.1 for jumper and switch locations on PCIE-1810.
The PCIE-1810 has a built-in DIP switch (SW1), which is used to define each card’s board ID. When there are multiple cards on the same chassis, this board ID switch is useful for identifying each card’s device number. After setting each PCIE-1810, you can identify each card in system with different device numbers. The default value of board ID is 0 and if you need to adjust it to other value, please set the SW1 by referring to Table 3.1.
3.3 Signal Connections Pin Assignments The I/O connector on the PCIE-1810 is a 68-pin connector that enable you to connect to accessories with the PCL-10168-1 or PCL-10168-2 shielded cable. Figure 3.2 shows the pin assignments for the 68-pin I/O connector on the PCIE-1810, and Table 3.3 shows its I/O connector signal description. Figure 3.
Table 3.3: I/O Connector Signal Descriptions Reference Direction Pin description AI[15:0] AGND Input AI Channels 0 to 15. Each channel pair, AI[i+1:i](i=0,2,4…14), can be configured as either two single-ended inputs or one differential input. AGND - - Analog Ground. These pins are the reference points for single-ended measurements and the bias current return point for differential measurement. The ground reference (AGND and DGND) are connected together on the PCIE-1810.
Table 3.3: I/O Connector Signal Descriptions CNT0.OUT CNT1.OUT DGND Output Counter 0/1 Output. CNT0.GATE CNT1.GATE DGND Input Counter 0/1 Gate Control. +12V DGND Output +12V DC Source. This pin is +12V DC power supply for external use. (0.1A maximum) +5V DGND Output +5V DC Source. This pin is +5V DC power supply for external use. (0.3A maximum) 3.3.2 Analog Input Connections PCIE-1810 supports either 16 single-ended or 8 differential analog inputs.
Incorrect Connection 21 PCIE-1810 User Manual Signal Connections Correct Connection Chapter 3 If the signal source has one side connected to a local ground, the signal source ground and the PCIE-1810 ground will not be at exactly the same voltage, as they are connected through the ground return of the equipment and building wiring. The difference between the ground voltages forms a common-mode voltage.
Analog Output Connection The PCIE-1810 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. Loading current for D/A outputs should not exceed 5 mA. Fig. 3-3 shows how to make analog output and external reference input connections on the PCIE-1810. Figure 3.
23 PCIE-1810 User Manual Signal Connections When you use PCIE-1810 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 PCIE-1810 card. .
PCIE-1810 User Manual 24
Appendix A Specifications A
A.1 Analog Input Channels 16 single-ended / 8 differential Resolution 12-bit Built-in memory 4K samples Single-channel 800 KS/s Sampling Rate Multi-channel 500 KS/s Gain 0.5 1 2 4 8 Unipolar NA 0~10 0~5 0~2.5 0~1.25 Bipolar ±10 ±5 ±2.5 ±1.25 ±0.625 Gain 0.5 1 2 4 8 Zero 25 ppm/°C Span 15 ppm/°C Input Signal Band Width (-3dB) Gain 0.5 1 2 4 8 BW (MHz) 1 1.6 1.2 1.2 1.2 Max.
Channels 2 Resolution 12-bit FIFO Size 4k samples Output Rate 500 kS/s Using Internal Reference 0~5, 0~10, ±5, ±10 V Output Range Using External Reference 0 ~ +x V @ +x V (-10 ≤x ≤10) -x ~ +x V @ +x V (-10 ≤x ≤ 10) Slew Rate 20 V/μs Accuracy Relative ±1 LSB Differential Non-linearity ±1 LSB (monotonic) Gain Error Adjustable to zero Drift 30 ppm / °C Driving Capability 5 mA Update Rate Static update, waveform Output Impedance 0.1 ohm max. A.
A.4 Counter/Timer Channels 2 channels (independent) Resolution 32-bit Compatibility TTL level Clock Source Internal 20MHz or external clock (10 MHz max.). Selected by software Output Frequency Max. 10MHz Clock Input Gate Input Counter Output Error in Advanced Functions Note! Low 0.8 V max. High 2.0 V min. Low 0.8 V max. High 2.0 V min. Low 0.8 V max. @+15mA High 2.0 V min. @-15mA Frequency Measurement 0.1% when input signal frequency ≥ 40KHz Pulse Width Measurement 0.
Appendix B B Operation Theory
B.1 Analog Input Operation This section describes the following features of analog input operation theory that can help you realize how to configure the functions and parameters to match various applications. A/D Hardware Structure Analog input ranges and gains Analog data acquisition mechanism Analog input acquisition modes A/D SCAN/CONV clock source A/D trigger sources Analog input data format B.1.
The PCIE-1810 can measure both unipolar and bipolar analog input signals. A unipolar signal can range from 0 to 10 V FSR (Full Scale Range), while a bipolar signal extends within ±10 V FSR. The PCIE-1810 provides various programmable gain levels and each channel is allowed to set its own input range individually. Table B.1 lists the effective ranges supported by the PCIE-1810 with gains. Table B.1: Gains and Analog Input Range Gain Unipolar Analog Input Range Bipolar Analog Input Range 0.
Double-Clock Procedure Double clock procedure is the fundamental A/D conversion mechanism of the PCIE1810, regardless of which mode selected. The incoming SCAN CLK launches an acquisition period called Acquisition Window. The arriving CONV CLKs within the Acquisition Window will become an efficient A/D conversion clock to trigger A/D converter. The number of efficient CONV CLK depends on the number of active scanning (multiplex) channels and software-programed iteration counters.
Appendix B Operation Theory Other scanning procedure applications timing diagram.
PCIE-1810 User Manual 34
B.1.4 A/D Trigger Modes The PCIE-1810 supports four trigger modes and pause function. User can start or stop the operation by trigger mode selection. An extra 32-bit counter is dedicated to delay-trigger mode and about-trigger mode, and user can set it as the number of delay SCAN CLKs before trigger or the number of holding SCAN CLKs after trigger. Figure shows the four different trigger modes.
Start Trigger Acquisition Mode Start trigger acquisition starts when the PCIE-1810 detects the trigger event and stops when you stop the operation. The SCAN CLKs before Trigger will be blocked out. You can set post-trigger acquisition mode by software. Delay to Start Trigger Acquisition Mode In delay to start trigger mode, data acquisition will be activated after a preset delay number of SCAN CLKs has been taken after the trigger event. User can set the delay number of SCAN CLKs by a 32-bit counter.
Stop Trigger Acquisition Mode Stop 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. Stop-trigger acquisition starts when you start the operation and stops when the trigger event happens.
B.1.5 A/D SCAN/CONV Clock Source The PCIE-1810 can adopt both internal and external clock sources to accomplish pacer acquisition. You can set the clock and trigger sources conveniently by software. The figure can help you understand the routing route of clock and trigger generation.
B.1.6 A/D Trigger Source The PCIE-1810 supports the following trigger sources for start, delay to start, delay to stop, stop trigger acquisition modes: External digital (TTL) trigger Analog threshold trigger With PCIE-1810, user can also define the type of trigger source as rising-edge or falling-edge. These following sections describe these trigger sources in more detail.
Analog Threshold Trigger For analog input operations, an analog trigger event occurs when the PCIE-1810 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). User should connect ana-log signals from external device or analog output channel on board to external input signal ATRG0/1. On the PCIE-1810, the threshold level is set using a dedicated 12-bit DAC.
Single Value Operation Mode The single value conversion mode is the simplest way for analog output operation. Users can set the mode of each channel individually. Then users just need to use software to write output data to specific register. The analog output channels will output the corresponding voltage immediately. In the single value operation mode, users need not set any clock source and trigger source, but only output voltage range.
B.2.3 D/A Clock Sources The PCIE-1810 can adopt both internal and external clock sources for pacing the analog output of each channel: Internal D/A output clock with 32-bit Divider External D/A output clock from connector The internal and external D/A output clocks are described in more detail as follows: Internal D/A Output Clock The internal D/A output clock applies a 100 MHz time base divided by a 32-bit counter. Conversions start on the rising edges of counter output.
The PCIE-1810 supports 24 digital I/O channels. You can use each byte as either an input port or an output port by configuring the corresponding parameter; and all four channels of the byte have the same configuration. You do not need to specify the clock source or trigger source. To output the data, you just need to write it to the digital output channel directly. In the same way, you can directly read back data from digital input channel.
3. Pulse Width measurement: PCIE-1810 built-in counter can measure the pulse width value of the signal connected to counter input. The measurable range is 50 ns to 107 seconds. You can measure both the logic high time and logic low time within the measurable range. 4. Pulse Output with Timer Interrupt: PCIE-1810 counter has internal clock that you can produce periodic output signal with interrupt generated at the same time.
Delay Pulse Generation: Using PCIE-1810 internal clock, you can change the logic level within a specific period, starting from a trigger signal connecting to counter gate input. For example, if you define the count equals to 3 (as figure below), a counter output will change its status after 3 pulses of internal clock signals pass, after a trigger signal from counter gate becomes high. 6.
www.advantech.com Please verify specifications before quoting. This guide is intended for reference purposes only. All product specifications are subject to change without notice. No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permission of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd.