The invention discloses a multifunctional
data acquisition and
transmission system based on PXIe, and belongs to the technical field of high-speed
data acquisition and real-time transmission. The
system comprises a
data acquisition module, an analog output module, a PXIe
data transmission module and a high-speed board-to-board connector, the
data acquisition module acquires analog signals through an A / D conversion unit, and after cross-
clock domain synchronization and rate matching are achieved through an asynchronous double-
clock FIFO cache unit, the analog signals are packaged by an FPGA
control unit and transmitted to an upper computer at a high speed through a DMA engine of a PXIe interface; the analog output module receives instructions of an upper computer through the FPGA, digital signals are buffered through
asynchronous FIFO, analog signals are output through the D / A conversion unit, and a two-way
data link is formed. The innovative design of the method comprises the following steps of: eliminating a metastable state risk by adopting
asynchronous FIFO (First In First Out) synchronized by a
Gray code pointer, triggering a pause /
recovery signal through a threshold value in combination with an FPGA (
Field Programmable Gate Array) dynamic flow control strategy to prevent data overflow or
cut-off, and optimizing a PXIe DMA engine to realize high-speed transmission so as to reduce a CPU (
Central Processing Unit) load. The
system can be used in the fields of industrial
automatic testing, high-precision instruments and real-
time signal processing.