| With the rapid development of aerospace technology, the application of microprocessor based on FPGA in the large capacity data storage becomes more and more widely.Through to the aircraft flight parameter record, scientific analysis, and finalize the design and improvement of the aircraft has a great guiding role 。 In this paper,according to the topic request, designed a data recorder based on FPGA. The paper studies the main content includes the following four aspects.1) according to the design target,the overall design scheme of the system is put forward,each module is decomposed.2) according to the design requirements for each module chip selection and hardware circuit design, drawing schematic diagram, the PCB with the entire circuit board design, debugging and the circuit board level.3) with hardware description language to design of each module of the control logic, and use the simulation tools for various modules function simulation, and then compile various modules connected whole simulation.4) write USB firmware program and PC applications, the communication of the computer and peripheral equipment, perform a functional test of the whole system.In this paper, we mainly study the ping-pong cache operation, to read and write flash, erase operation, ECC data validationoperation;Through to the NAND type flash memory structure and reading and writing rules of analysis put for a new method for bad block management,by means of the establishment of block mapping table to realize the effective management of bad block. In the proceof unloading of data use,we use the algorithm of two steps to push difference and L agrange interpolation to weed out and correct the outliers.use the third order move or thogonal polynomial smoothing algorthm to smooth the data. |