| In the field of aerospace flight test,it is usually necessary to store the visible and infrared images and other data quickly during flight.The key part of flight test is to store these high-pixel and high-frame-rate image data with high speed and reliability.To solve this problem,this paper designs a data recording device based on SATA hard disk storage array with FPGA as the main control and optical fiber as the data interface.The design and implementation of the data recording device are mainly described from three aspects of interface,cache and data storage.Firstly,in order to realize the high-speed transmission of two optical images with speeds of 2.5Gbps and 12.5Gbps respectively,two SRIO image interfaces were designed by means of hardware photoelectric conversion module and IP core.In order to verify whether the setting of IP core is correct,the timing simulation is carried out according to the instantiation project.In order to solve the problem of high burst write rate,a DDR3 cache array is designed.By comparing two different topology modes of DDR3,Fly-by topology mode is chosen according to the principle of reducing wiring space and improving signal integrity.Then,the skills and rules of PCB wiring are summarized.In order to prevent the data chaos caused by image mixed storage,the two image data are separated by the way of re-framing the image data before entering the DDR3 array,and then the MIG controller and the reading and writing sequence of DDR3 are introduced.In the design of the data storage module,the volume of the data recording device should not be too large,so the mainstream transmission mode based on the VPX backboard case was abandoned,and the idea of controlling the data storage to the solid state disk directly was chosen by FPGA.In the case of giving priority to transmission rate and space utilization,an array storage mode based on SATA solid disk was designed by referring to RAID0 array mode.By optimizing OOB initialization state machine,the problem that hard disk transmission interruption could not be reconnected was solved.In order to facilitate the test,the hardware circuit of Gigabit Ethernet is designed as the interface of communication and data readback of the upper computer.Finally,a test platform was built through the combination of hardware and upper computer software,and the storage performance of the data recording device was tested comprehensively.After a lot of experiments and tests,the reading and writing functions of the data recording device are normal,and the stable storage of two optical images can be completed without the phenomenon of frame loss and code error.The actual storage rate is no less than 850 MB/s. |