The invention relates to a
SpaceWire bus network time
delay measurement method and device based on an FPGA, an SPW-EOP interrupt module is added in an interface controller of a
SpaceWire bus time
delay network, a time
delay measurement FPGA module is connected, a data sending end host CPU controls the interface controller to send variable-length data packets in a cycle according to a fixed period, and the variable-length data packets are connected with the SPW-EOP interrupt module. When the packet
tail of each data packet leaves the
host interface of the interface controller, the SPW-EOP interrupt module is triggered to generate an interrupt
signal, and the interrupt
signal is sent to the time delay measurement FPGA; the data packet is forwarded to a receiving end interface controller through a
SpaceWire bus, an SPW-EOP interrupt module of the interface controller is triggered to generate an interrupt
signal, and the interrupt signal is sent to a time delay measurement FPGA; and the time delay measurement FPGA collects the interrupt signal and calculates the
transmission time delay. According to the invention, high-precision measurement of the
data transmission delay of the SpaceWire link is realized on a
physical layer, the measured data is accurate, the universality is high, the measurement method is efficient, and a reliable basis is provided for time planning of a
spacecraft data transmission task.