Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Application and Configuration of ADLINK cPCI-9116 Data Acquisition Card

F: | Au:FANS | DA:2026-08-12 | 14 Br: | 🔊 点击朗读正文 ❚❚ | Share:

Detailed explanation of ADLINK cPCI-9116 data acquisition card application and configuration

In modern testing and measurement, industrial automation, and scientific research experiments, high-precision and high sampling rate data acquisition cards are the core of the system. ADLINK's cPCI-9116 series 16 bit, 250KS/s analog input card is designed specifically for the 3U CompactPCI platform, integrating rich analog and digital I/O functions, as well as flexible triggering and transmission mechanisms. This article will delve into the application technology key points of cPCI-9116 from the aspects of hardware architecture, signal connection, acquisition mode, trigger configuration, and data transmission, to help engineers quickly get started and maximize its performance.


Overview of Hardware Architecture

CPCI-9116 is a high-performance data acquisition card based on a 32-bit CompactPCI bus, which supports plug and play and does not require manual configuration of base addresses, interrupt numbers, and other resources. The core analog input channel can be configured as follows:

Up to 64 single ended (SE) inputs or 32 differential (DI) inputs;

Single ended and differential can be mixed and flexibly specified through channel gain queues;

16 bit resolution, built-in 1K word A/D FIFO buffer;

The channel gain queue depth is 512 words, and the range and input type of each channel can be independently set (bipolar ± 5V, ± 2.5V, ± 1.25V, ± 0.625V, or unipolar 0-10V, 0-5V, 0-2.5V, 0-1.25V);

The maximum sampling rate is 250KS/s, the analog input accuracy is better than 0.01% FSR (full scale), and the input impedance is as high as 100M Ω | | 6pF.

In addition, the board also provides 8 TTL digital inputs and 8 digital outputs, as well as a 16 bit universal timer/counter that supports internal 24MHz or external clock input.


Analog input signal connection and configuration

The correct signal connection is a prerequisite for obtaining accurate measurement results. The 100 pin SCSI-II connector (J1) of cPCI-9116 provides all analog, digital, and timer signals.

1. Type of signal source

Floating signal source: isolated from the system ground, such as thermocouple, transformer output, optocoupler isolated output. This type of signal requires a bias return path.

Grounding reference signal source: If the signal source is grounded with the system (such as non isolated instrument output), attention should be paid to ground loop interference.

2. Input mode selection

Single ended mode (SE): All signals are referenced to AGND, suitable for floating ground signals, with simple wiring but weak resistance to common mode noise. When multiple floating sources share the same location, the number of connections can be reduced.

Differential mode (DI): Each channel has AIH (high) and AIL (low), and the amplifier responds to the difference between the two, effectively suppressing common mode noise. For the grounding reference source, the differential mode can be directly connected (as shown in Figure 3-3); For floating ground sources, a resistor (approximately 100 times the source impedance) needs to be added between AIL and AGND to provide a bias circuit (as shown in Figure 3-4).

User common mode mode (U_CMMD): When multiple grounded reference sources are grounded together, the signal can be locally grounded to the negative input terminal, and the U_CMMD pin can be grounded to the signal ground. The common mode rejection capability of the instrument amplifier is used to eliminate the ground potential difference (as shown in Figure 3-5).

Engineering Tip: Differential mode has the best noise suppression, but reduces the number of channels by half. The mixed mode allows partial channel SE and partial DI, which need to be specified channel by channel in the channel gain queue.


A/D acquisition working mode

CPCI-9116 supports two basic acquisition modes: software polling mode and programmable scanning acquisition mode.

1. Software polling mode

The simplest way is suitable for single point or low rate requirements. The user initiates a conversion by writing a software trigger bit, and then polls the FIFO empty bit to read data when it is low. Conversion time ≤ 4 μ s, can be read directly with appropriate delay. This mode has an uncontrollable speed and is difficult to achieve a fixed sampling interval.

2. Programmable scanning acquisition mode

To achieve a fixed and accurate sampling rate, this mode must be used. Its core consists of four counters:

SI_comounter (24 bits): The scanning interval determines the time between the start of two scans.

SI_2counter (16 bits): Sampling interval, which refers to the time interval between the conversion of adjacent channels within the scan.

SC_comounter (24 bits): The number of scans collected after triggering (later triggered or middle triggered).

DIV_comounter (9 bits): The number of samples included in each scan, which is the length of the channel gain queue.

Temporal relationship: Sampling interval=SI_2counter/time base; Scan interval=SI_comounter/time base; And it is required that SI_comounter ≥ SI2-Counter × DIV_comounter. The time base can be either an internal 24MHz or an external clock (1-24MHz).

Key limitation: The maximum sampling rate is 250KS/s, so when using an internal time base, SI_2counter is ≥ 96; The maximum scanning interval is about 0.699 seconds, and the maximum inter channel sampling interval is about 2.73ms.

Channel gain queue: In scanning mode, the queue length is usually equal to DIV_comounter, and each entry in the queue specifies the channel number, gain, and input type. Collect data in sequence according to the queue order during scanning, and loop until the scan count specified by SC_comounter is met.

Example: If SI2=240 (sampling interval of 10 μ s), SI=960 (scanning interval of 40 μ s), DIV=4, and the queue order is ch1, ch2, ch0, ch2, then the actual sampling order repeats the sequence. The equivalent sampling rates ch0 and ch1 are 25kHz, and ch2 is 50kHz.

Detailed explanation of five triggering modes

External triggering is the key to synchronous collection. CPCI-9116 supports software triggering and four types of external digital triggering (rising/falling edge optional), with external triggering signals input from J1-46 (ExtTrg).

1. Software triggering

Call the function to start immediately, without external signals, suitable for regular continuous acquisition.

2. Pre trigger

Collect data from M scans before triggering. The user sets a 16 bit counter, with a total data volume of DIV_comount multiplied by the counter. When triggered, only the data from the last M scans is retained. If the trigger occurs during a scanning process, it will wait for the scan to complete before stopping to ensure that the data is aligned on a scan by scan basis.

If triggered too early (before M scans are completed), the actual data volume may be insufficient. The trigger signal can be forcibly ignored through the M-enable bit until M scans are completed before accepting the trigger, ensuring the acquisition of complete M scan data (as shown in Figure 4-5). SC_comounter must be 0 when pre triggered.

3. Middle trigger

Collect M scans before triggering and N scans after triggering (SC_comounter=N). Total data volume=DIV_comounter × (M+N). The function of M-enable is the same as pre trigger: if set to 1, ignore the trigger until the previous M scan is completed, ensuring the integrity of the data before and after. If the trigger occurs in the middle of the scan, the first scan after the trigger will be fully included (as shown in Figure 4-7).

4. Post trigger

After triggering, collect SC_comounter scans, with a total data volume of DIV_comounter multiplied by SC_comounter. Commonly seen in event triggered records.

5. Delay trigger

After triggering, wait for the specified delay before starting the collection. The delay is controlled by Delay_counter (16 bits), and the clock source can be either a time base (24MHz) or an A/D sampling clock (time base/SI2), with a maximum delay of 2.73ms or greater (if using a sampling clock). Total data volume=DIV_comounter × SC_comounter.

Re triggering function: For post triggering or delayed triggering, the number of re triggering times (Retrig_no) can be set. After each trigger, SC_comounter scans are collected and wait for the next trigger, repeating until the re triggering times are completed (as shown in Figure 4-10). Ignore triggers that arrive early during the triggering period.


A/D data transmission mode

The collected data is temporarily stored in a 1K word FIFO and must be promptly transferred to the host memory to prevent overflow. Supports three transmission methods:

EOC interrupt transmission: An interrupt is generated at the end of each A/D conversion, and ISR immediately reads a single data. Suitable for real-time processing, but CPU overhead increases with sampling rate.

FIFO Half Full Interrupt Transfer: After accumulating 512 words in the FIFO, an interrupt is triggered. The ISR reads the 512 word block at once, reducing the number of interrupts and suitable for higher sampling rates.

Bus Master DMA Transfer: Utilizing the PCI bus master capability, data can be directly written from FIFO to the host's continuous memory buffer without the need for CPU involvement, with a maximum support of 64MB bytes (32M samples). This is the best choice for high-speed data acquisition (such as approaching 250KS/s), which can maximize PCI bandwidth and reduce CPU load. However, it should be noted that the pre trigger and mid trigger modes currently only support DMA transfer (the manual states that EOC/FIFO half full does not support these two modes).


Universal Timer/Counter

In addition to A/D, the board provides a 16 bit programmable timer/counter that can be used for frequency measurement, pulse generation, or event counting. Key features:

Programmable counting direction (hardware or software control).

The clock source can be selected as internal 24MHz or external input (up to 20MHz, J1-47).

Gate control can be enabled by internal software or controlled by external hardware (J1-97).

Supports two modes:

Mode 0 (Interrupt End Count): After writing the initial value, OUT is low, and after counting to zero, OUT becomes high and remains, suitable for event counting.

Mode 1 (Divider/Square Wave): OUT is low, outputs a high pulse when counted to 1, and then automatically reloads to continuously generate pulses. Note that the initial value should be greater than 1.

This counter can be used as an independent function or in conjunction with A/D acquisition timing (such as external trigger frequency division).


Software Development and Support

ADLINK provides a comprehensive software ecosystem for cPCI-9116:

MAPS Core: includes Windows device drivers and system management tool ACE (ADLINK Connection Explorer), which can discover devices, configure DMA cache, set aliases, etc., and supports direct display of waveforms in the Soft Front Panel.

MAPS/LV: LabVIEW development support, providing libraries and examples.

MAPS/C: C/C++development support, including header files, API libraries, and a large number of sample programs.

All software is integrated into the ADLINK full-featured CD, and some commercial versions require authorization, but a 2-hour trial is provided.

Development suggestion: There is no need to manually configure interrupts and addresses during initialization, and resources can be obtained through APIs. When using scanning mode, it is essential to correctly set the values of the four counters to ensure compliance with timing constraints (SI_comounter ≥ SI2-Counter × DIV_comounter). For high-speed applications, DMA transfer is preferred and continuous large buffers are allocated.


Engineering application examples and precautions

Typical application scenarios:

Transient signal recording: Using pre trigger mode, key data (such as shocks and spikes) are retained before triggering, and stopped after triggering to fully capture the event.

Multi channel synchronous acquisition: Eliminating common mode noise through differential input, combined with channel gain queue to achieve different channels and ranges, adapting to voltage range differences.

Low frequency long-term monitoring: using external time bases or large scanning intervals to reduce data rates and extend monitoring time.

Hardware precautions:

External power supply: J1 provides+5V (maximum 500mA) and ± 15V (maximum 5mA), which can supply power to the sensor, but overload should be prevented.

Environmental temperature: working temperature 0~60 ℃, storage -20~80 ℃, humidity 5~95%, no condensation.

Electrostatic protection: Grounding and anti-static measures must be taken before operation to avoid damaging sensitive components.

Troubleshooting: If the system fails to start or works abnormally, it may be due to interrupt conflicts. Check BIOS PCI resource allocation or try changing slots.

  • VALMET PMB 2R 16 Slot Backplane PCB Card
  • NELES VALMET A413135 AOU 4 Output Module
  • Metso Valmet A413345 FPU Power Unit
  • VALMET A413171 PIC Module
  • VALMET A413620 Repeater Module
  • Valmet M851521 Memory Card
  • Valmet DIFF-EL 140 M1 Transmitter
  • Valmet A413064 DMU Module
  • Valmet IOP371 I/O Bus Extender Module
  • Valmet Cooking Liquor Measurement 3400 Model 3417H
  • Metso Valmet A413043 CPU Module – Industrial Processor
  • Valmet BIU4 M851221 Binary Input Module
  • Valmet PMB 1S CPU SCU Rack Module
  • Valmet A413248 Controller Module
  • Valmet PDP601 Distributed Processing Unit
  • VALMET M851004 M2 CPU Printed Circuit Board Module
  • Metso Valmet A413045 Ver.05 CPU Module
  • Valmet A413181 Ver.05 PLU1 Board
  • Lyngso Valmet ATB16 Controller Board
  • VALMET AIU 16 Analog Input Unit 545100-3A/3B
  • VALMET PUD 10 B Power Supply PCB Rack Module
  • Valmet MS-50V/120V Bearing Unit
  • Valmet PDP603 Distributed Processing Unit – DPU Module
  • Valmet A413110 TIU Board – Terminal Interface Unit
  • Valmet S420154 I/O Backplane PCB – Printed Circuit Board
  • Valmet A413173 Industrial Control Module
  • Valmet A413044 CPU Module
  • Valmet A4IU1 Analog I/O Module
  • Valmet A413325 IPU Power Unit – PLC Module
  • Valmet M851002 CPU Module – Central Processing Unit
  • Valmet PUD10B Power Supply Board
  • Valmet K00990 Master CPU Electronic Assy
  • Valmet Metso IOP345 Input Module
  • Metso Automation T545215 Board
  • Valmet Metso IOP304 Input Module
  • Valmet 542844-6A SCU Module
  • Metso A413043 Ver.11 Valmet CPU Module
  • Valmet Automation BIU 8A Input Module
  • Metso A413044 Ver05 Valmet CPU Module
  • VALMET 542821-5A Control System Rack Module
  • Metso A413005 Ver.04 Valmet CPU Module
  • Valmet M851207 AIU16 Card
  • Valmet BIU8 Binary Input Unit
  • VALMET 547070-2B CPU Printed Circuit Board Module
  • Valmet Automation A413325 Power Module
  • VALMET AUTOMATION A413135 AOU4 Module
  • VALMET ACU A413165 Model 9 Analog Controller
  • VALMET AUTOMATION A413511-02 Slot Rack with I/O Backplane
  • Valmet A413148 BIE 4 Rev 08 Board
  • Valmet ATB16-4 Controller Board
  • Neles Automation BOR82 A413292 Processor Module
  • Valmet A413015 NCU Module – Network Control Unit
  • Valmet AIU 16 Analog Input Unit – M8512071
  • Metso Valmet A413091 GDU Board
  • Valmet M851565 Damatic Main Keyboard
  • Metso A413082 CPU Module
  • Valmet A403037 GDC – Graphics Display Controller
  • Valmet A413076 FBC Board
  • Valmet A413015 NCU Module – Network Control Unit
  • Valmet A413082 CPU Module
  • VALMET AUTOMATION A413620 Fieldbus Repeater
  • Valmet Metso IOP341R Positioner Module
  • Metso A413082 Ver.04 CPU Module
  • Valmet Metso MCA FT250/10 10 Inch Sensor
  • Valmet N0542 ABMB Printed Circuit Board
  • Valmet A413000 Ver.07 CPU Module
  • Valmet A413061 Ver.05 DMU Module
  • Valmet M851241 M1 BCU Binary Input Module
  • Valmet Automation NCU A413015 Circuit Board
  • Valmet A413046 Ver.06 CPU Module
  • Valmet A651B001 Panel Mount Keyboard
  • Valmet IQ Scanner A418080R Basis Weight Detector Head
  • Metso Valmet A413370 ESU Ethernet SCSI Unit
  • Valmet A413340 FPU Power Supply Unit
  • Valmet SKF GE 400/600 Spherical Plain Bearing
  • Valmet SCU PCB Card 542844-7B – System Control Unit
  • Valmet A413075 FBU Fieldbus Controller Module
  • Valmet A413171 PIC Card Binary Output
  • Valmet A413002 Ver.05 CPU
  • Valmet ABMB PCB Card – Industrial Control Board
  • Valmet PMB 2R 542821-4A PCB Card
  • Metso Valmet A413001 CPU Module
  • Metso Valmet A413050 RSU 6 Serial Controller Unit
  • Valmet ABMB MT241 Input Mother Board
  • Valmet DAMATIC M851565 Keyboard
  • Valmet A413075 Ver05 FBC Board
  • VALMET K14891 FLEXI-U Operating Terminal
  • VALMET AUTOMATION MKB2 DAMATIC Keyboard
  • Valmet Metso Consistency Transmitter Smart Pulp M1 RL Blade
  • VALMET AUTOMATION A413230 ECU Module
  • Beckhoff EP9224-0037 - 4-Channel Power Distribution Box EtherCAT
  • Beckhoff CX2900-0026 - Solid State Flash Memory Card 20GB CFast
  • Beckhoff BK7500 - SERCOS Interface Fieldbus Bus Coupler Terminal
  • Beckhoff Ep2328-0002 - 4-Channel Input 4-Channel Output EtherCAT Box IP67
  • Beckhoff CX1020-0111 - Controller Kit Combo Interface Modules
  • B&R X20AI2237 - X20 System Analog Input Interface Module
  • Beckhoff CP2221-0010 - Multi-Touch Built-In Panel PC Touchscreen
  • Beckhoff CX1500-M310 - Fieldbus Master Interface Module 24V
  • Beckhoff CX2100-0904 - Power Charging Module Smart UPS Extension
  • Beckhoff CP3918-0000 - Multi-Touch Control Panel 18.5-Inch Monitor
  • Beckhoff CP2915-0000 - 15-Inch Multi-Touch Built-In Control Panel
  • Beckhoff CP7037-1027 - HMI Industrial Control Panel Built-In PC
  • Beckhoff EL3152 - 2-Channel Analog Input Terminal 4-20mA EtherCAT
  • Beckhoff CP6607-0000-0020 - 5.7-Inch Built-In Panel PC HMI Touch
  • Beckhoff EJ1809-0000 - 16-Channel Digital Input Pluggable Signal Level Terminal
  • Beckhoff AM8563-0N10-0000 - Synchronous Servo Motor
  • Beckhoff AX2006-S60600-520 - Compact Servo Drive Inverter
  • Beckhoff AM8053-0K20-0000 - Servo Motor with Planetary Gearbox AG3210
  • Beckhoff AM8042-0FH1-0000 - Synchronous Servo Motor
  • Rexroth R911338600 - IndraControl V HMI Terminal Beckhoff PCI Card FC9002
  • Beckhoff AX5125-0000 - 3 Phase Industrial Servo Drive 1000Hz
  • Beckhoff EP2328-0002 - 4-Channel Digital Input 4-Channel Output EtherCAT Box
  • B&R 7CP476-02 - System 2005 RTD CPU Module 3IF681.86 Interface
  • Beckhoff AX8620-0000-0000 - Power Supply Module Axis Drive System
  • Beckhoff CX1010-0111 - PLC Module CPU Controller 24V
  • Beckhoff AM8043-0H10-0000 - Synchronous Servo Motor
  • Beckhoff C6240-1009 - Control Cabinet Industrial PC Mainframe
  • Beckhoff BX8000-0000 - Bus Terminal Controller HW 4.4 Standalone
  • Beckhoff CP7721-1089-0020 - 12.1-Inch Touch Screen HMI Panel PC
  • Beckhoff CP7132-0001 - Industrial Built-In Panel PC Screen
  • Beckhoff CP2912-0010 - Multi-Touch Built-In Control Panel Display
  • Beckhoff CP2915-0000 - 15-Inch Multi-Touch Built-In Control Panel
  • Beckhoff AM8532-1EN0-0000 - Synchronous Servo Motor
  • Beckhoff AX5203-0000 - 2-Channel Digital Compact Servo Drive
  • Beckhoff CX2020-0141 - Embedded PC Core CPU Module
  • Beckhoff CP6832-0002-0010 - Built-In Industrial Control Panel Display
  • Beckhoff CX5020-0112 - Embedded PC CPU Control Module
  • Beckhoff CX5140-0175 - 4GB Embedded PC CPU Unit 24V