NuDAQ® DAQ-2213/2214 16-CH, High Performance Low-Cost Data Acquisition Cards User's Guide Recycle Paper
©Copyright 2004 ADLINK Technology Inc. All Rights Reserved. Manual Rev. 1.00: February 12, 2004 Part No: 50-11034-100 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 top priority for ADLINK TECHNOLOGY INC. If you need any help or service, please contact us. ADLINK TECHNOLOGY INC. Web Site http://www.adlinktech.com Sales & Service Service@adlinktech.com TEL +886-2-82265877 FAX +886-2-82265717 Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan • Please email or FAX your detailed information for prompt, satisfactory, and consistent service.
Table of Contents Tables ...................................................................................... iii Figures..................................................................................... iv How to Use This Guide ......................................................... vii Introduction............................................................................. 1 1.1 1.2 1.3 1.4 Features ...............................................................................................
4.1.3.3 4.1.3.4 4.2 D/A Conversion (for DAQ-2214 only) ............................................. 38 4.2.1 Software Update ................................................................... 40 4.2.2 Timed Waveform Generation............................................... 40 4.2.2.1 4.2.2.2 4.2.2.3 4.3 4.4 Mode1: Simple Gated-Event Counting .....................................49 Mode2: Single Period Measurement.........................................49 Mode 3: Single Pulse-width Measurement .......
Tables Table 1: Table 2: Table 3: Table 4: Table 5: Table 6: Table 7: Table 8: Table 9: Table 10: Table 11: Table 12: Table 13: Table 14: Table 15: Programmable input range ........................................................... 3 Bandwidth .................................................................................... 4 System Noise ............................................................................... 4 Input impedance.....................................................................
Figures Figure 1: PCB Layout of DAQ-2213/2214 ............................................... 12 Figure 2: Connector CN1 pin assignment for DAQ-2213/2214 ................ 16 Figure 3: Connector CN2 pin assignment for DAQ-2213 ......................... 17 Figure 4: Connector CN2 pin assignment for DAQ-2214 ......................... 18 Figure 5: Connector JP3 pin assignment for DAQ-2213........................... 20 Figure 6: Connector JP3 pin assignment for DAQ-2214...........................
Figure 37: Mode 7 Operation ...................................................................... 52 Figure 38: Mode 8 Operation ...................................................................... 52 Figure 39: Analog trigger block diagram .................................................... 53 Figure 40: Below-Low analog trigger condition ......................................... 54 Figure 41: Above-High analog trigger condition ........................................
How to Use This Guide This manual is designed to help users use/understand the DAQ-2213/2214. This manual describes the versatile functions and the operation theory of the DAQ-2213/2214. It is divided into five chapters: Chapter 1 Introduction Gives an overview of the product features, applications, and specifications. Chapter 2 Installation Describes how to install DAQ-2213/2214. The layout and the positions of all the connectors on DAQ-2213/2214 are shown.
1 Introduction The ADLINK DAQ-2213/2214 is a 16-CH low cost, high-performance multifunction DAQ card that can sample up to 16 analog input channels with different gain settings and scan sequences, making it ideal for dealing with analog signals with various input ranges and sampling speeds. The ADLINK DAQ-2213/2214 also offers differential modes for 8 AI channels in order to achieve maximum noise elimination. DAQ-2214 has 2-CH 12-bit analog output with waveform generation capabilities.
• Programmable gain x1, x2, x4, x8 • A/D FIFO size: 1024 samples • Versatile trigger sources: software trigger, external digital trigger, analog trigger, and triggers from the System Synchronization Interface (SSI) • A/D Data transfer: software polling & bus-mastering DMA with Scatter/Gather functionality • Four A/D trigger modes: post-trigger, delay-trigger, pre-trigger, and middle-trigger • 2 channel D/A outputs with waveform generation capability (2214 only) • 1024 word length output data
16 single-ended (SE) or 8 differential input (DI) • Mixing of SE and DI analog signal sources (Software selectable per channel) • A/D converter • AD7663 or equivalent • Maximum sampling rate: • 250kS/s Resolution: 16 bits, No missing codes • Input coupling: DC • Programmable input range: Bipolar input range Unipolar input range ±10V 0 - 10V ±5V 0 - 5V ±2.5V 0 - 2.5V ±1.25V 0 - 1.
Input Range Small Signal (-3dB) Large Signal (1% THD) ±10V 0 - 10V 760kHz 280kHz ±5V 0 - 5V 720kHz 300kHz ±2.5V 0 - 2.5V 610kHz 310kHz ±1.25V 0 - 1.25V 450kHz 330kHz Table 2: Bandwidth • System Noise (LSBrms, including Quantization, Typical, 25˚C) Input Range System Noise Input Range System Noise ±10V 0.8 LSBrms 0 - 10V 0.9 LSBrms ±5V 0.85 LSBrms 0 - 5V 1.0 LSBrms ±2.5V 0.85 LSBrms 0 - 2.5V 1.0 LSBrms ±1.25V 0.9 LSBrms 0 - 1.25V 1.
• Settling time to full-scale step: (Typical, 25˚C) Input Range All Ranges All Ranges Condition Multiple channels, multiple ranges. All samples in Unipolar OR Bipolar mode. Multiple channels, multiple ranges. All samples in Unipolar AND/OR Bipolar mode. Settling time 4µs to 0.01% error 4µs to 0.
• Data transfers: Programmed I/O, Bus-mastering DMA with scatter/gather • Output range: ±10V, 0~10V, ±AOEXTREF, 0~AOEXTREF • Settling time: 3µS to 0.5LSB accuracy • Slew rate: 20V/uS • Output coupling: DC • Protection: Short-circuit to ground • Output impedance: 0.1Ω typical • Output driving: ±5mA max. • Stability: Any passive load, up to 1500pF • Power-on state: 0V steady-state • Power-on glitch: ±1V/500uS • Relative accuracy: • DNL: • • ±0.
High: VIH=2.0V max.; IIH=0.02mA max • Output voltage: Low: VOL=0.5 V max.; IOL=8mA max. High: VOH=2.7V min; IOH=400µA • Number of channels: 4 digital inputs sampled simultaneously with the analog signal input. • Compatibility: TTL/CMOS • Input voltage: • • Logic Low: VIL=0.8 V max.; IIL=0.2mA max. High: VIH=2.0V max.; IIH=0.
• • Digital Trigger (D.Trig) Compatibility: TTL/CMOS Response: Rising or falling edge Pulse Width: 10ns min System Synchronous Interface (SSI) Trigger lines: 7 • • Stability Recommended warm-up time: 15 minutes On-board calibration reference: Level: 5.000V Temperature coefficient: ±2ppm/°C Long-term stability: 6ppm/1000Hr Physical Dimension: 175mm by 107mm • I/O connector: 68-pin female VHDCI type (e.g.
1.4 Software Support ADLINK provides versatile software drivers and packages for users’ different approach to building up a system. ADLINK not only provides programming libraries such as DLLs for most Windows based systems, but ® also provides drivers for other software packages such as LabVIEW . All software options are included in the ADLINK CD. Non-free software drivers are protected with licensing codes.
1.4.3 D2K-OCX: ActiveX Controls Customers familiar with ActiveX controls and VB/VC++ programming can use D2K-OCX ActiveX control component libraries for developing applications. D2K-OCX is designed for Windows 98/NT/2000. For more detailed information about D2K-OCX, please refer to the user's guide in the CD (\Manual_PDF\Software\D2K-OCX\). The above software drivers are shipped with the card. Please refer to the Software Installation Guide in the package to install these drivers.
2 Installation This chapter describes how to install the DAQ-2213/2214. The contents of the package and unpacking information are outlined first. The DAQ-2213/2214 automatically configures the IRQ and port address. Users can use the software utility, PCI_SCAN, to read the system configuration. 2.
2.2 Unpacking The DAQ-2213/2214 card contains electro-static sensitive components that can be easily be damaged by static electricity. Therefore, the card should be handled on a grounded anti-static mat. The operator should be wearing an anti-static wristband, grounded at the same point as the anti-static mat. Inspect the card module carton for obvious damage. Shipping and handling may cause damage to the module. Be sure there is no shipping and handling damage on the carton before continuing.
2.4 PCI Configuration 1. Plug and Play: As a Plug and Play component, the card requests an interrupt number via its PCI controller. The system BIOS responds with an interrupt assignment based on the card information and on known system parameters. These system parameters are determined by the installed drivers and the hardware load seen by the system. 2. Configuration: The board configuration is done on a board-by-board basis for all PCI boards in the system.
3 Signal Connections This chapter describes the connectors of the DAQ-2213,/2214 and the signal connection between the DAQ-2213/2214 and external devices. 3.1 Connectors Pin Assignment DAQ-2213/2214 is equipped with two 68-pin VHDCI-type connectors (AMP-787254-1) and one 20-pin ribbon male connector. It is used for digital input / output, analog input, and timer/counter signaling, etc. The pin assignment for the connectors are illustrated below.
AI0 AI1 AI2 AI3 AI4 AI5 AI6 AI7 (AIH0) (AIH1) (AIH2) (AIH3) (AIH4) (AIH5) (AIH6) (AIH7) NC NC NC NC NC NC NC NC AISENSE NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC EXTATRIG 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 (AIL0) (AIL1) (AIL2) (AIL3) (AIL4) (AIL5) (AIL6) (AIL7) NC NC NC NC NC NC NC NC AIGND NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC AI
NC NC NC NC DGND RESERVED EXTDTRIG SSHOUT RESERVED RESERVED RESERVED AFI0 GPTC0_SRC GPTC0_GATE GPTC0_UPDOWN GPTC0_OUT GPTC1_SRC GPTC1_GATE GPTC1_UPDOWN GPTC1_OUT EXTTIMEBASE PB7 PB5 PB3 PB1 PC7 PC5 DGND PC3 PC1 PA7 PA5 PA3 PA1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 NC NC NC NC DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND
DA0OUT DA1OUT AOEXTREF NC DGND EXTWFTRIG EXTDTRIG SSHOUT RESERVED RESERVED AFI1 AFI0 GPTC0_SRC GPTC0_GATE GPTC0_UPDOWN GPTC0_OUT GPTC1_SRC GPTC1_GATE GPTC1_UPDOWN GPTC1_OUT EXTTIMEBASE PB7 PB5 PB3 PB1 PC7 PC5 DGND PC3 PC1 PA7 PA5 PA3 PA1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 AOGND AOGND AOGND NC DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND
Legend: Signal Name Reference AIGND -------- Direction Description -------- Analog ground for AI. All three ground references (AIGND, AOGND, and DGND) are connected together on board AI<0..16/95> AIGND Input Analog Input Channels 0 - 16. Each channel pair, AI (I=0..7) can be configured either two single-ended inputs or one differential input pair(marked as AIH<0..8> and AIL<0..8>) AISENSE AIGND Input Analog Input Sense. This pin is the reference for any channels AI<0..
SSI_TIMEBASE SSI_ADCONV RESERVED SSI_SCAN_START RESERVED SSI_AD_TRIG RESERVED RESERVED RESERVED RESERVED 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND Figure 5: Connector JP3 pin assignment for DAQ-2213 SSI_TIMEBASE SSI_ADCONV SSI_DAWR SSI_SCAN_START RESERVED SSI_AD_TRIG SSI_DA_TRIG RESERVED RESERVED RESERVED 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 DGND DGND DGND DGND DGND DGND DGND DGND DGND DGND Figure 6: Connector JP3 pin assignmen
SSI master: send the DAWR out. SSI_DAWR SSI slave: accept the SSI_DAWR to replace the internal DAWR signal. SSI master: send the DA_TRIG out. SSI_DA_TRIG SSI slave: accept the SSI_DA_TRIG as the digital trigger signal. Table 8: Legend of 20-pin ribbon male connectors 3.2 Analog Input Signal Connection The DAQ-2213/2214 provides up to 16 single-ended or 8 differential analog input channels. Users can fill the Channel Gain Queue to get desired combination of the input signal types.
common ground point with respect to the DAQ-2213/2214, assuming that the computer is plugged into the same power system. Non-isolated outputs of instruments and devices that plug into the building’s power system are ground-referenced signal sources. 3.2.2 Input Configurations 3.2.2.1 Single-ended Connections A single-ended connection is used when the analog input signal is referenced to a ground that can be shared with other analog input signals.
Referenced Single-ended (RSE) Mode In referenced single-ended mode, all the input signals are connected to the ground provided by the DAQ-2213/2214. It is suitable for connections with floating signal sources. See Figure 7. Note that when more than two floating sources are connected, these sources will be referenced to the same common ground. CN1 Input Multiplexer Instrumentation AIn Amplifier + - Floating Signal Source V1 V2 + To A/D - Converter AIGND n = 0, ...
3.2.2.2 Differential input mode The differential input mode provides two inputs that respond to signal voltage difference between them. If the signal source is ground-referenced, the differential mode can be used for the common-mode noise rejection. Figure 9 shows the connection of ground-referenced signal sources under differential input mode. x = 0, ...
4 Operation Theory The operation theory of the functions on the DAQ-2213/2214 is described in this chapter. The functions include A/D conversion, D/A conversion, Digital I/O and General Purpose Counter/Timer. The operation theory can help users understand how to configure and program the DAQ-2213/2214. 4.1 A/D Conversion When using an A/D converter, users should first know about the properties of the signal to be measured.
4.1.1 DAQ-2213/2214 AI Data Format The data format of the acquired 16-bit A/D data is two’s complement coding. Table 9 and 10 shows the valid input ranges and the ideal transfer characteristics. Description Full-scale Range Bipolar Analog Input Range ±10V Least significant 305.2µV bit FSR-1LSB 0V Midscale -1LSB -305.2µV -FSR ±5V ±2.5V ±1.25V 152.6µV 76.3µV 38.15µV 9.999695V 4.999847V 2.499924V 1.249962V Midscale +1LSB 305.2µV Midscale Digital code -10V 7FFF 152.6µV 76.3µV 38.
4.1.2 Software conversion with polling data transfer acquisition mode (Software Polling) This is the easiest way to acquire single A/D data. The A/D converter starts one conversion whenever the dedicated software command is executed. Then the software would poll the conversion status and read back the A/D data when it is available. This method is very suitable for applications that need to process A/D data in real time. Under this mode, the timing of the A/D conversion is fully controlled by software.
4.1.3 Programmable scan acquisition mode 4.1.3.1 Scan Timing and Procedure This mode is recommended for applications that need a fixed and precise A/D sampling rate. Users can accurately program the period between conversions of individual channels.
3 Scans, 4 Samples per scan (PSC_Counter=3, NumChan_Counter=4) ( channel sequences are specified in Channel Gain Queue) Ch2 Ch3 Ch1 Ch0 Ch2 Ch3 Ch1 Ch0 Ch2 Ch3 Ch1 Ch0 Scan_start AD_conversion Scan_in_progress (SSHOUT)(pin8 on CN2) Acquisition_in_progress Sampling Interval t= SI2_COUNTER/TimeBase Scan Interval T= SI_COUNTER/TimeBase Figure 11: Scan Timing There are 4 trigger modes to start the scan acquisition, please refer to 4.1.3.3 for the details. The data transfer mode is discussed in 4.1.3.4.
Scan with SSH Users can send the SSHOUT signal on CN2 to an external S&H circuits to sample and hold all signals to simultaneously sample all channels in a scan, as illustrated in Figure 12. Note: The ‘SSHOUT’ signal is sent to external S&H circuits to hold the analog signal. Users must implement external S&H circuits on their own to carry out the S&H function. There are no on-board S&H circuits. 4.1.3.
4.1.3.3 Trigger Modes DAQ-2213/2214 provides 3 trigger sources (internal software, external analog, and digital trigger sources). Only select one of them as the source of the trigger event. A trigger event occurs when the specified condition is detected on the selected trigger source (For example, a rising edge on the external digital trigger input).
Note that if a trigger event occurs when a scan is in progress, the data acquisition won’t stop until the scan completes, and the stored M scans of data includes the last scan.
(M_Counter = M = 3, NumChan_Counter=4, PSC_Counter=0) Trigger Scan_start AD_conversion Scan_in_progress (SSHOUT)(pin8 on CN2) Acquisition_in_progress Acquired & stored data (2 scans) Operation start Figure 14: Pre-trigger with M_enable = 0 (trigger occurs before M scans) (M_counter = M = 3, NumChan_counter=4, PSC_counter=0) The first M scans Trigger signals which occur in the shadow region(the first M scans) will be ignored Trigger Scan_start AD_conversion Scan_in_progress (SSHOUT)(pin2 on CN2) Acquisiti
Middle-Trigger Acquisition Use middle-trigger acquisition in applications to collect data before and after a trigger event. The number of scans (M) stored before the trigger is specified by M_counter, while the number of scans (N) after the trigger is specified by PSC_counter. Like pre-trigger mode, the number of stored data could be fewer than the specified amount of data (NumChan_counter *(M+N)) if an external trigger occurs before M scans of data are converted.
(M_Counter=M=2, NumChan_Counter=4, PSC_Counter=N=2) Trigger occurs when a scan is in progress Trigger Scan_start AD_conversion Scan_in_progress (SSHOUT)(pin8 on CN2) Acquisition_in_progress Acquired data M scans before trigger Operation start N scans after trigger Acquired & stored data (M+N scans) Figure 17: Middle trigger (trigger occurs when a scan is in progress) Post-Trigger Acquisition Use post-trigger acquisition in applications to collect data after a trigger event.
Delay Trigger Acquisition Use delay trigger acquisition in applications to delay the data collecting process after the occurrence of a specified trigger event. The delay time is controlled by the value, which is pre-loaded in the Delay_counter (16bit). The counter counts down on the rising edge of the Delay_counter clock source after the trigger condition is met. The clock source is software programmed and can be either the Timebase clock (40MHz) or the A/D sampling clock (Timebase /SI2_counter).
scans of data. The process repeats until the specified amount of re-trigger signals are detected. The total acquired data length = NumChan_counter * PSC_counter * Retrig_no. (NumChan _Counter=4, PSC_Counter=2, retrig_no=3) Trigger Scan_start AD_conversion Scan_in_progress (SSHOUT)(pin8 on CN2) Acquisition_in_progress Acquired & stored data (6 scans) Operation start Figure 20: Post trigger with retrigger 4.1.3.
of conversion into their specified counters. After the AD trigger condition is matched, the data will be transferred to the system memory by the bus-mastering DMA. The PCI controller also supports the function of scatter/gather bus mastering DMA, which helps the users to transfer large amounts of data by linking all the memory blocks into a continuous linked list.
There are 2 channels of 12-bit D/A output available in the DAQ-2214. When using D/A converters, users should assign and control the D/A converter reference sources for the D/A operation mode and D/A channels. Users could also select the output polarity: unipolar or bipolar. The reference selection control lets users fully utilize the multiplying characteristics of the D/A converters. Internal 10V reference and external reference inputs are available in the DAQ-2214.
condition is met. Before the start of D/A conversion, D/A data is transferred from PC’s main memory to a buffering Data FIFO. There are two modes of the D/A conversion: Software Update and Timed Waveform Generation are described, including timing, trigger source control, trigger modes and data transfer methods. Either mode may be applied to D/A channels independently. You can software update DA CH0 while generate timed waveforms on CH1 at the same time. 4.2.
4 update counts, 3 iterations (UC _Counter=4, IC_Counter=3) Trigger UC_Counter=4 DAW R W FG_in_progress Delay until DLY1_Counter reaches 0 Delay until DLY2_Counter reaches 0 Delay until DLY2_Counter reaches 0 DA update_interval t= UI_Counter/Timebase 4 2 Output Waveform 0 -4 Operation start A single waveform IC_Counter = 3 Figure 22: Typical D/A timing of waveform generation (Assuming the data in the data buffer are 2V, 4V, -4V, 0V) Note: The maximum D/A update rate is 1MHz.
4.2.2.1 Trigger Modes Post-Trigger Generation Use post trigger when you want to perform DA waveform right after a trigger event occurs. In this trigger mode DLY1_Counter is not used and you don’t need to specify it. Figure 23 shows a single waveform generated right after a trigger signal is detected. The trigger signal could come from a software command, an analog trigger or a digital trigger. Please refer to section 4.5 for detailed information.
8 update counts, 1 iteration (UC _Counter=8, IC_Counter=1) Trigger DAW R W FG_in_progress Output Waveform Delay until DLY1_counter reaches 0 Operation start Figure 24: Delay trigger waveform generation (Assuming the data in the data buffer are 2V, 4V, 6V, 3V, 0V, -4V, -2V, 4V) Post-Trigger or Delay-Trigger with Re-trigger Use post-trigger or delay-trigger with re-trigger function when you want to generate waveform after more than one trigger events.
4.2.2.2 Iterative Waveform Generation Set IC_Counter in order to generate iterative waveforms from the data of a single waveform. The counter stores the iteration number, and the iterations could be finite (Figure 26) or infinite(Figure 27). Note that in infinite mode the waveform generation won’t stop until software stop function is executed, and IC_Counter is still meaningful when stop mode III is selected. Please refer to 4.2.2.3 for details.
4 update counts, infinite iterations (UC _Counter=4, IC_Counter=3) Trigger waveform generation won’t stop until software stop function is executed DAW R W FG_in_progress Output Waveform 2 4 0 Operation start Figure 27: Infinite iterative waveform generation with Post-trigger and DLY2_Counter = 0 (Assuming the data in the data buffer are 2V, 4V, 2V, 0V) Delay2 in iterative Waveform Generation To stretch out the flexibility of the D/A waveform generation, we add a DLY2 Counter to separate 2 consecutive
In stop mode III, after a software stop command is given, the waveform generation won’t stop until the performed number of waveforms is a multiple of IC_Counter. See figure 30 for an example, since IC_Counter is set to 3, the total generated waveforms must be a multiple of 3 (waveforms = 6 in this example), and the total DA update counts must be a multiple of 12 (UC_Counter * IC_Counter). You can compare these three figures for their differences.
4 update counts, infinite iterations (UC _Counter=4, IC_Counter=3) Trigger DAW R W FG_in_progress Output Waveform 2 4 0 Operation start Software stop command Figure 30: Stop mode III 4.3 Digital I/O DAQ-2213/2214 contains 24-lines of general-purpose digital I/O (GPIO), which are provided through an 82C55A chip. The 24-lines GPIO are separated into three ports: Port A, Port B, and Port C.
4.4 General Purpose Timer/Counter Operation Two independent 16-bit up/down timers/counters are designed within FPGA for various applications.
4.4.2.1 Mode1: Simple Gated-Event Counting In this mode, the counter counts the number of pulses on the GPTC_CLK after the software-start. Initial count can be loaded from software. Current count value can be read-back by software any time without affecting the counting. GPTC_GATE is used to enable/disable counting. When GPTC_GATE is inactive, the counter halts the current count value. Figure 31 illustrates the operation with initial count = 5, count-down mode.
4.4.2.3 Mode 3: Single Pulse-width Measurement In this mode the counter counts the pulse-width of the signal on GPTC_GATE in terms of GPTC_CLK. Initial count can be loaded from software. After the software-start, the counter counts the number of active edges on GPTC_CLK when GPTC_GATE is in its active state. After the completion of the pulse-width interval on GPTC_GATE, GPTC_OUT outputs high and then current count value can be read-back by software.
4.4.2.5 Mode 5: Single Triggered Pulse Generation This function generates a single pulse with programmable delay and programmable pulse-width following an active GPTC_GATE edge. Users can specify these programmable parameters in terms of periods of the GPTC_CLK input. Once the first GPTC_GATE edge triggers the single pulse, GPTC_GATE takes no effect until the software-start is re-executed. Figure 35 illustrates the generation of a single pulse with a pulse delay of two and a pulse-width of four.
4.4.2.7 Mode 7: Single Triggered Continuous Pulse Generation This mode is similar to mode 5 except that the counter generates continuous periodic pulses with programmable pulse interval and pulse-width following the first active edge of GPTC_GATE. Once the first GPTC_GATE edge triggers the counter, GPTC_GATE takes no effect until the software-start is re-executed. Figure 37 illustrates the generation of two pulses with a pulse delay of four and a pulse-width of three.
4.5 Trigger Sources ADLINK provides flexible trigger selections in the DAQ-2213/2214. In addition to the internal software trigger, DAQ-2213/2214 also supports external analog, digital triggers and SSI triggers. Users can configure the trigger source by software for A/D processes. 4.5.1 Software-Trigger This trigger mode does not need any external trigger source. The trigger asserts right after executing the specified function calls to begin the operation. 4.5.
Trigger Level digital setting Trigger voltage 0xFF 9.92V 0xFE 9.84V --- --- 0x81 0.08V 0x80 0 0x7F -0.08V --- --- 0x01 -9.92V Table 13: Analog trigger SRC1 (EXTATRIG) ideal transfer characteristic The trigger signal is generated when the analog trigger condition is satisfied. There are five analog trigger conditions in DAQ-2213/2214. DAQ-2213/2214 uses 2 threshold voltages: Low_Threshold and High_Threshold to build the 5 different trigger conditions.
4.5.2.2 Above-High analog trigger condition Figure 41 shows the above-high analog trigger condition, the trigger signal is generated when the input analog signal is higher than the High_Threshold voltage, and the Low_Threshold setting is not used in this trigger condition. Figure 41: Above-High analog trigger condition 4.5.2.
4.5.2.4 High-Hysteresis analog trigger condition Figure 43 shows the high-hysteresis analog trigger condition, the trigger signal is generated when the input analog signal level is greater than the High_Threshold voltage, and the Low_Threshold voltage determines the hysteresis duration. Note the High_Threshold setting should be always higher than the Low_Threshold voltage setting. Figure 43: High-Hysteresis analog trigger condition 4.5.2.
4.5.3 External Digital Trigger An external digital trigger occurs when a rising edge or a falling edge is detected on the digital signal connected to the EXTDTRIG of the 68-pin connector for external digital trigger. The EXTDTRIG is dedicated for A/D process. Users can program the trigger polarity through ADLINK’s software drivers easily. Note that the signal level of the external digital trigger signals should be TTL-compatible, and the minimum pulse is 20ns.
4.6 User-controllable Timing Signals In order to meet the requirements for user-specific timing and the requirements for synchronizing multiple cards, the DAQ-2213/2214 provides flexible user-controllable timing signals to connect to external circuitry or additional cards. The whole DAQ timing of the DAQ-2213/2214 is composed of a bunch of counters and trigger signals in the FPGA. These timing signals are related to the A/D conversions and Timer/Counter applications.
4.6.1 DAQ timing signals The user-controllable DAQ timing-signals contains: (Please refer to 4.1.3.1 for the internal timing signal definition) 1. TIMEBASE, providing TIMEBASE for all DAQ operations, which can be from internal 40MHz oscillator, EXTTIMEBASE from I/O connector or the SSI_TIMEBASE. Note that the frequency range of the EXTTIMEBASE is 1MHz to 40MHz, and the EXTTIMEBASE should be TTL-compatible. 2.
4.5.2 Auxiliary Function Inputs (AFI) Users can use the AFI in applications that take advantage of external circuitry to directly control the DAQ-2213/2214 cards. The AFI includes 2 categories of timing signals: one group is the dedicated input, and the other is the Low-Cost input. Table 14 illustrates this categorization.
EXTDTRIG and EXTWFTRIG EXTDTRIG and EXTWFTRIG are dedicated digital trigger input signals for A/D and D/A operations respectively. Please refer to section 4.5.3 for detailed descriptions. EXTTIMEBASE When applications need specific sampling frequency or update rate that the card cannot generate from its internal TIMEBASE, the 40MHz clock, then users can utilize the EXTTIMEBASE with internal counters to achieve the specific timing intervals for the A/D operations.
4.5.3 System Synchronization Interface SSI (System Synchronization Interface) provides the DAQ timing synchronization between multiple cards. In the DAQ-2213/2214, we designed a bi-directional SSI I/O to provide flexible connection between cards and allow one SSI master to output the signal and up to three slaves to receive the SSI signal. Note that the SSI signals are designed for card synchronization only, not for external devices.
The mechanism of the SSI 1. We adopt master-slave configuration for SSI. In a system, for each timing signal, there shall be only one master, and other cards are SSI slaves or with the SSI function disabled. 2. For each timing signal, the SSI master doesn’t have to be in a single card. For example: We want to synchronize the A/D operation through the ADCONV signal for 4 DAQ-2213/2214 cards. Card 1 is the master, and Card 2, 3, 4 are slaves.
5 Calibration This chapter introduces the calibration process to minimize AD measurement errors. 5.1 Loading Calibration Constants The DAQ-2213/2214 is factory calibrated before shipment by writing the associated calibration constants of TrimDACs to the on-board EEPROM. TrimDACs are devices containing multiple DACs within a single package. TrimDACs do not have memory capability. That means the calibration constants do not retain their values after the system power is turned off.
5.2 Auto-calibration By using the auto-calibration feature of the DAQ-2213/2214, the calibration software can measure and correct almost all calibration errors without any external signal connections, reference voltages, or measurement devices. The DAQ-2213/2214 has an on-board calibration references to ensure the accuracy of auto-calibration. The reference voltage is measured at the factory and adjusted through a digital potentiometer by using an ultra-precision calibrator.
Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the following carefully. 1. Before using ADLINK’s products please read the user manual and follow the instructions exactly. When sending in damaged products for repair, please attach an RMA application form which can be downloaded from: http://rma.adlinktech.com/policy/. 2. All ADLINK products come with a limited two-year warranty, one year for products bought in China.
4. • Other categories not protected under our warranty. Customers are responsible for all fees necessary to transport damaged products to ADLINK. For further questions, please e-mail our FAE staff: service@adlinktech.