Welcome to the Industrial Automation website!

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

Application and Maintenance of ADLINK PCI-8158 Multi axis Motion Control Card

F: | Au:FANS | DA:2026-08-19 | 557 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:



ADLINK PCI-8158 Multi Axis Motion Control Card Engineering Application and Troubleshooting Guide

In the fields of high-end CNC machine tools, electronic assembly equipment, semiconductor packaging and testing, and robot joint control, strict requirements are placed on the axis expansion capability, pulse frequency upper limit, and interpolation accuracy of motion control cards. PCI-8158, as the flagship motion control card launched by Linghua Technology for complex multi axis scenarios, features 8-axis independent control, 6.55MHz maximum pulse output, hardware spiral interpolation, and HSL high-speed synchronization network, making it a popular choice to replace traditional 4-axis solutions. However, high-density 200 pin SCSI interfaces, multi axis coupling interference, and software real-time bottlenecks also pose new operational challenges for on-site engineers. This article constructs a complete engineering practice guide from hardware links, functional modules to typical fault trees, to help quickly locate and resolve production line downtime crises.


Analysis of PCI-8158 hardware architecture and technical highlights

1.1 Core Performance Parameters

Axis number: 8-axis independent pulse control, single system supports up to 12 cards (96 axes)

Pulse frequency: 6.55MHz (differential output), supports OUT/DIR, CW/CCW, and AB phase output modes

Interpolation ability: 2-4 axis linear interpolation, 2-axis arc interpolation, 3-axis spiral interpolation, supporting multi axis continuous interpolation (contour control)

Special features: Hardware location comparison and triggering (with DB-8150 daughter board, frequency up to 1MHz), hardware emergency input, HSL main station network (with DB-8151)

Bus interface: PCIe Universal Plug and Play

1.2 Signal Link and Interface Characteristics

This card adopts a 200 pin SCSI-VHDCI high-density connector and is compatible with mainstream servo drives such as Mitsubishi, Panasonic, and Yaskawa through a dedicated terminal board (such as DIN-814 series). Its signal grouping is:

Pulse output differential pair: Two sets per axis (pulse/direction or positive/negative pulse), line driven output (AM26LS31), recommended for long line transmission using twisted pair shielded cables (ACL-102 series).

Encoder feedback: A/B/Z differential input per axis (AM26LS32), supporting four fold frequency, used for closed-loop position verification.

Universal I/O: Positive and negative limit for each axis, origin, servo enable/alarm, and 8 additional universal inputs/outputs.

It is worth noting that the hardware emergency input is independent of the CPU path and can directly cut off pulse output in case of emergencies, which is an important defense line with a safety level higher than the software limit.


Common fault phenomena and systematic diagnosis

2.1 Trajectory deviation or interpolation jitter during multi axis linkage

Phenomenon: When performing 2-axis arc or 3-axis spiral interpolation, the actual machining trajectory exhibits step like or periodic shaking, especially at high speeds (>4MHz pulses).

Root cause analysis:

The FIFO depth of each axis pulse output is not uniform, resulting in phase difference. PCI-8158 has an independent cache (level 512) for each axis. You need to call _8158_set_interpolation_buffer() in initialization to set uniformly.

In continuous interpolation mode, the data transmission from the upper computer is not timely, resulting in the hardware interpolator being idle and waiting. Need to check PCIe bus bandwidth (recommended to use independent channel) and enable Auto Feed mode.

The encoder feedback noise is mixed in, causing excessive position closed-loop correction. The cutoff frequency of the feedback filter can be lowered (set through a register).

Solution steps:

The oscilloscope monitors the rising edge time of each axis pulse output pin (such as A+, A -) to ensure that the difference is less than 20ns.

View the real-time velocity curves of each axis in MotionCreatorPro2 software. If jagged edges appear, reduce the acceleration or increase the S-shaped smoothing coefficient.

Ground the encoder shielding layer on the control card side and check if the differential line terminal resistance (120 Ω) is intact.

2.2 Hardware Trigger Output (Trigger) No Response

Phenomenon: When using DB-8150 daughter board for position comparison triggering, the external device does not receive the triggering signal, or the triggering position deviates too much from the actual position.

Diagnostic points:

Confirm that DB-8150 has been correctly installed and powered (requires an additional 5V).

Check the comparison matching value setting: The comparison source (encoder counter or instruction position) in _8158_det_comparare-logic() is consistent with the expected value.

The upper limit of the comparison frequency is 1MHz. If the frequency corresponding to the set trigger spacing exceeds this limit, the hardware will automatically discard some comparison points and require software block processing.

Measure whether the level of the trigger output pin meets the requirements of the peripheral device (TTL/24V requires level conversion).

2.3 Some axes cannot be recognized or the drive is not enabled

Phenomenon: The system self-test passed, but the servo drive of a certain axis never entered the enabled state, and the I/O monitoring display shows "Servo Alarm" constantly on.

Troubleshooting Chain:

Check the ALM (alarm) input signal level for the corresponding axis. PCI-8158 is internally pulled up to 5V. If the driver alarm output is an NPN collector open circuit, an external pull-up resistor is required.

Confirm the output polarity of the servo enable signal (SVON) - set the high/low validity through _8158_det_sv_onlogic(), which must match the driver manual.

Use a multimeter to measure the impedance to ground of the pin of the axis connector. If there is a short circuit, it may be due to ESD damage to the output buffer (74HCT245), and the board card needs to be replaced or an isolated terminal board needs to be used.

Common problems with HSL network and distributed synchronous control

PCI-8158 extends the HSL (High Speed Link) master network through DB-8151 daughter board, which can connect to remote I/O slave stations to achieve distributed triggering and status acquisition. In practical applications, network packet loss or slave timeout can cause the entire axis group to stop urgently.

Maintenance strategy:

Use shielded CAT5e Ethernet cables with a length controlled within 50 meters to avoid parallel wiring with the power lines of the frequency converter.

The default network cycle time is 1ms. If the number of slave stations exceeds 8, it is recommended to adjust it to 2ms to avoid bus contention.

Regularly check the Link LED on the daughter board (green constant light indicates normal, flashing indicates error). If the error rate is greater than 0.1%, the terminal resistance needs to be checked (the main station terminal requires a jumper to enable a 120 Ω terminal).


Signal integrity optimization under high pulse frequency

When the pulse frequency exceeds 3MHz, signal reflection and ringing significantly increase, which may cause the driver to misjudge the pulse edge. The following are engineering experience parameters:

Cable selection: Use shielded twisted pair cables with a characteristic impedance of 100 Ω, and the recommended maximum transmission distance is ≤ 5m (differential mode).

Terminal matching: Connect a 100-150 Ω resistor in parallel at the driver end (adjusted according to the input impedance of the driver), which can absorb reflections.

Common mode choke: Install a magnetic ring (impedance>100 Ω @ 100MHz) on the pulse output line to effectively suppress high-frequency common mode interference.

Grounding system: The control card digital ground (DGND) is connected to the driver ground through a low resistance wire to avoid a ground potential difference exceeding ± 0.5V.


Replacement selection and upgrade path

5.1 PCI-8158 shutdown alternative plan

If the original card is damaged and cannot be repaired, the following methods can be considered:

Same series replacement: Linghua PCI-8158B (upgraded version, supports higher triggering frequency and more I/O), fully compatible with hardware pins, only needs to update the driver library to Dask_8158B.lib, and the application program interface remains backward compatible.

Cross brand equivalence: such as Advantech PCI-1288 (8-axis, 6MHz pulse) or GuGao GT-800X, but the motion logic needs to be rewritten, and the polarity of the limit logic should be reversed.

Second hand refurbished parts: The price of dismantling cards in circulation on the market ranges from 1500 to 3000 yuan, but all shaft functions and hardware triggers need to be tested for integrity.

5.2 Life extension measures

Clean the gold fingers of the SCSI connector every six months using precision electronic cleaner (such as CRC 02016C) to prevent poor oxidation contact.

Regularly check the ripple of the+3.3V and+5V power supplies on the board. If the peak value is greater than 100mV, the industrial computer power supply should be replaced or a magnetic bead filter should be installed.

Updating the firmware (downloaded from the ADLINK official website) can fix known interpolation calculation overflow bugs and improve long-term operational stability.


Software traps and real-time optimization

6.1 Pulse underload caused by non real time scheduling in Windows

When the system load is high, motion threads may be preempted, causing pulse transmission interruptions. Countermeasures:

Lock the CPU core (Set Process Affinity Mask) in the application to avoid scheduling jitter.

Use RTX real-time extensions or Linux PREEMPT_RT kernel to ensure a control cycle of ≤ 1ms.

Enable hardware FIFO pre storage mode and call _8158_det_axis_preload() to pre fill at least 256 levels of instructions.

6.2 Concurrent Conflict between Position Comparison Trigger and Interpolation

When performing arc interpolation and position comparison triggers simultaneously, hardware resource sharing may cause resource locking. It is recommended to place the comparison task in an independent interrupt service routine (ISR) with an ISR execution time of ≤ 50 μ s. Avoid calling blocking functions within ISR.


Practical case: Crawling fault on XY platform of semiconductor solidification machine

Background: A certain solidification machine uses PCI-8158 to control the XY gantry axis. During high-speed mounting, the X-axis occasionally crawls (crawls), resulting in surface mount displacement.

Troubleshooting process:

Swap the X/Y axis drivers and motors, the fault still lies in the X axis, eliminate the mechanical part.

Replace the X-axis control cable, the fault has not been eliminated.

Using a logic analyzer to capture the X-axis pulse output and encoder feedback, it was found that when the Y-axis moves simultaneously, the X-axis pulse frequency experiences periodic jitter (about ± 2%).

Further inspection revealed that the PCI-8158 card shares the same PCIe channel with the graphics card, resulting in DMA transfer being preempted. Move the card to a dedicated PCIe slot (directly connected to the CPU) and turn off the graphics card's "Link Power Management" to eliminate the jitter.

Inspiration: In multi axis high-speed control, bus bandwidth allocation is crucial. It is recommended to use a dedicated PCIe root port and disable energy-saving features.


Suggestions for preventive maintenance plan

Criteria for determining the content of periodic maintenance

Monthly inspection of board temperature (infrared temperature measurement)<65 ℃ (when ambient temperature is 40 ℃)

Clean the slots and connectors quarterly, test the emergency input function, and immediately stop the pulse output (<1 μ s) after the emergency input is triggered

Calibrate the encoder counting accuracy every six months (using a laser interferometer) with a positioning error of less than 1 pulse equivalent

Update firmware and drivers annually, and re backup configuration files with the latest version number on the official website

  • Rexroth 0-531-012-740 Bladder Accumulator
  • Rexroth VT-VRRA 1-527-20/V0/2STV Amplifier
  • Rexroth CSB01-1N-AN-ENS Control Section
  • Rexroth 2ma-1a P58718 Pilot Air Valve
  • Rexroth SB356 Multi-channel Controller System Box
  • Rexroth IndraControl L20 PLC CML20.1
  • Rexroth R151231013 Ball Screw Nut
  • Rexroth RC28-14/30 BODAS Controller R917007683
  • Rexroth LTU350 3-Phase Servo Amplifier
  • Rexroth VAM42.1 Control Device
  • Rexroth S20-DO-16/1 Digital Output Module
  • Rexroth HED8OA-20/350K14AS Pressure Switch
  • Rexroth CSH01.1C-SE-EN2 Control Section
  • Rexroth VT-VSPA2-1-11/T1 Valve Amplifier R900021909
  • Rexroth VT3024-S34-R1 Amplifier Card
  • Rexroth Aventics R417000243 Operating Unit Switch
  • Rexroth NYS04.1-ST-05-ULNN R911325068 Module
  • Rexroth DPR-10 Amplifier Circuit Board Card
  • Rexroth 4WE 10 D33/OFCG24N9K33L R900701304 Valve
  • Rexroth DKC01.3-100-7-FW Servo Drive
  • Rexroth VCP05.2DSN-003-PB-NN-PW Operator Panel
  • Rexroth MSK030B-0900-NN-M1-UG0-NNNN Servo Motor
  • Rexroth 0 821 758 010 Valve Terminal 10 Bar
  • Rexroth VAM42.1-PB-NF-NN-TB-VD-NN-1608-NN Control Panel
  • Rexroth MAC090B-0-JD-5-C/110-A-0/KI520LV Servo Motor
  • Rexroth VCP25.1BVN-003PB-NN-PW Operator Panel
  • Rexroth RKL4305/002.5 Power Cable L=250cm
  • Rexroth MSM031C-0300-NN-M5-MH1 R911344216 Servomotor
  • Rexroth CSH01.1C-SE-EN2 R911335435 Control Unit
  • Rexroth FEM-E-S 25x10RX3-4 R151224013 Ball Screw
  • Rexroth FCS01.1E-W0005-A-04-NNBV Frequency Drive
  • Rexroth 0510-425-009 Hydraulic Gear Pump
  • Bosch Rexroth IndraControl XM42 Controller R911396964
  • Rexroth VT5035-17 R900579497 Valve Amplifier
  • Rexroth FCS01-1EW0015-A-04 R91131106 Frequency Drive
  • Rexroth MSK050B-0600-NN-M1-UG1-NNN Motor
  • Bosch Indramat TBM1.2-40-W1-115 Bleeder
  • Rexroth HCS01.1E-W0028 Compact Converter
  • Rexroth Indramat MAC071B-0-PS-2-C/095-A-0 Motor
  • Rexroth HCS02.1E-W0012-A-03-NNNN Drive Set
  • Rexroth R-IL S3 BK DI8 DO4-PAC Coupler
  • Rexroth HCS01.1E-W0028-A-03-E-S3-EC-NNN Drive
  • Rexroth MSK061C-0600-NN-S1-UG0-NNNN Motor
  • Bosch Rexroth MSM041B-0300-NN-M0-CH0 Motor
  • Rexroth IKG0071-05.0m Servo Motor Cable
  • Rexroth R-IL S3 BK DI8 DO4-PAC Bus Coupler
  • Bosch Rexroth SB301 Tightening Unit 0608701017
  • Rexroth E-003-S-S Tool Cable 0608740220
  • Rexroth MSM020B-0300-NN-M0-CG0 Servo Motor
  • Rexroth IndraControl VEP30.3 Panel PC
  • Rexroth DBETE-62/315G24K31A1V Valve R901029969
  • Rexroth CSH01.3C-ET-ENS-NNN Control Section
  • Rexroth VT3013-37 Amplifier Control Card
  • Rexroth 1-2 TH6 L 162-10/N 05 Joystick
  • Rexroth ESV025 Handheld Nutrunner 0608841037
  • Rexroth RK2 S30 Amplifier Card VT 4224 U 261
  • Rexroth CDB01.1C-SE-ENS R911308279 Control Unit
  • Rexroth VFC3610-0K40-3P4-MNA-7P Inverter 0.4kW
  • Bosch Indramat HCS02.1E-W0028-A-03-NNNN Servo Module
  • Rexroth DKC01.3-040-7-FW EcoDrive R911279426
  • Rexroth HMV02.1R-W0015-A-07-NNN Utility Unit 15kW
  • Rexroth 0 608 830 193 ZSE220 Communication Module
  • Rexroth VT5003 S41 R5 Proportional Amplifier Card
  • Rexroth KSM02.1B-041c-42N-M1-HP0-ET-L3-D7-NN-FW Motor Drive
  • Mannesmann Rexroth VT5005 S16 R1 Valve Amplifier Card
  • Rexroth CFL01.1-R3 Sercos III Interface Module
  • Rexroth CKK-110-NN-1 Linear Axis with MSK040C
  • Bosch Rexroth 047018-104401 Controller Card
  • Rexroth MDSD1K-2X/4 Solenoid Driver Module
  • Rexroth DKC02.3-012-3-MGP-01VRS Servo Drive
  • Rexroth HCS01.1E-W0006 Compact Servo Drive
  • Rexroth NAM1.2-08 Line Former R911246505
  • Rexroth VPB40 Industrial PC Control Cabinet
  • Rexroth FWA-ECODR3-SGP-03-MS Firmware Module
  • Rexroth HEDE10-31 Pressure Switch R901425475
  • Rexroth HM 17-11/315-C/V0/0 Pressure Sensor
  • Rexroth VFC 3610-2K20-3P4-MNA-7P Inverter 2.2kW
  • Rexroth MSK040C-0600-NN-M1-UG1-NNNN Right Angle Geared Motor
  • Rexroth DKC02.3-012-3-MGP-01VRS EcoDrive Cs
  • Bosch Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Rexroth HCS02.1E-W0012-A-03-NNNN Power Section
  • Rexroth DBDS 20 P18/400V Pressure Relief Valve
  • Rexroth 3460565500 Pneumatic EP Converter Regulator
  • Rexroth VT-SWA-1-12/DFEE Angle Sensor R900913641
  • Rexroth 0-608-830-250 Interface Module SM24V
  • Rexroth MHD071B-035-NP0-UN8 Servo Motor 12Nm 1000rpm
  • Rexroth MKD025B-144-KG0-KN R911263737 Servo Motor
  • Rexroth KCU02.2N-ET-ET*-025-NN-N-NN-NW Control Unit
  • Rexroth MV-VPB40*3-RB001VPB R911337529 Valve Terminal
  • Bosch Rexroth AS 2/R-2200 Drive Module 3842998041
  • Rexroth HMS01.1N-W0036 Power Section
  • Rexroth CKK-145-NN1 Compact Linear Module
  • Rexroth MS2N04-C0BTN-BSDK0-NNNNN-NN Geared Servo Motor
  • Rexroth HCS02.1E-W0028-A-03-NNNN Power Section
  • Rexroth MS2N04-D0BQN-CMSG0-NNNNN-NN Servo Motor
  • Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Rexroth MKD041B-144-KP1-KN Servo Motor R911262307
  • Rexroth ESA075G Handheld Nutrunner 0608841033
  • Rexroth MSK070D-0450-NN-M1-UP1-NSNN Motor
  • Rexroth CKK-145-NNG1 Linear Kit with HCS02 Drive
  • Rexroth MSK060C-0300-NN-M1-UG0-NNNN Servo Motor
  • Rexroth MKD090B-047-KP1-KS Servo Motor
  • Rexroth MLS140S-3A-0450-NNN Linear Motor
  • Rexroth VPB40.3 Industrial PC R911338689 CB1
  • Rexroth HCS02.1E-W0012 Servo Drive R911313871
  • Rexroth R151349014 R151145672 Ball Screw Assembly
  • Bosch Rexroth CKK-110-NN-1 Compact Module
  • Rexroth MSK060B-0300-NN-M1-UG1-NNNN Servo Motor
  • Rexroth Indramat TBM 1.2-40-W1-024 Servo Bleeder
  • Rexroth MSK040B-0600-NN-M1-UG1-NNNN Servo Motor
  • Rexroth MLS200S-3A-0450-NNN R911299213 Linear Motor
  • Rexroth SB356 Tool Tightening Controller Rack
  • Rexroth MSK050C-0300-NN-M1-UG0-NNNN Servo Motor
  • Rexroth Indramat DKC11.3-040-7-FW Eco Drive
  • Rexroth VT2000 Proportional Amplifier
  • Rexroth VT1118-10 Analog Module
  • Rexroth MSK060C-0600-NN-M1-UP1-NSNN Motor
  • Rexroth MSK060C-0300-NN-S1-UG0-NNNN Motor
  • Rexroth R911173937 IndraControl XM AI1
  • Rexroth R412018225 AES-D-BC-ECAT Module
  • Rexroth CDB02.1B R911338542 Controller Card
  • Rexroth VT-HNC100-2-30/P-I-00/000 Module
  • Bosch Rexroth CSB02.1B R911372549 Control
  • Bosch Rexroth R185321310 Runner Block
  • Rexroth VPB40.3 Industrial PC R911338689
  • Rexroth HNK01.1A-A075-E0106-A-500 Drive Controller
  • Rexroth CSH02.1B-CC-EC-ET-S4-NN-NN-FW Controller
  • Rexroth CSB01.1C-PB-ENS-NNN Control Unit