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).