| Nowadays,the information in our life plays a more and more important role,so it is very important to access information,and data acquisition is an important mean of gaining information.Data acquisition,that is converting all kinds of sensor signals to electronic signals so as to electronic equipment can receive.And then after A/D conversion,multi-sensor data is sent to data processing system or data storage system for subsequent processing or storage.With the development of science and electronic information technology,the data acquisition system has developed to a more mature stage.And it is also widely used in aerospace,medical equipment and electronic measurement,and plays a vital role in our life.The development and application of the chip technology of programmable logic gate array makes the application of data acquisition system more widely.FPGA has a series of advantages such as rich hardware resources,high integration,high working frequency and internal small delay,so compared with the single chip microcomputer and DSP,makes it have incomparable advantages in data acquisition.In this paper,a multi-sensor data acquisition system based on FPGA is designed.The system adopts Quartusâ…ˇ13.1 as the development platform,and the hardware design language VHDL is used for logical design.The data acquisition system takes FPGA as the core control part and realizes the acquisition of sensor data by timing sequence control of AD7671.Using dual port RAM to cache data,using serial 422 interface as the transfer interface of data transmission,the serial 422 data is divided into the uplink 422 data frame and the descending 422 asynchronous instruction two parts.Then it uses FLASH,a high-speed and large capacity storage device,to store data.Finally using Niosâ…ˇ soft core processor to configure Ethernet chip W5300,then send complete data frame through Ethernet interface transferred to PC software for observation and treatment.Firstly,this paper introduces the overall design scheme of the data acquisition system,next respectively designs the hardware and the software part of the system.The hardware part is mainly designed for the relevant hardware circuit of the front-end adjustment,A/D convertion,RS422 interface,power supply,clock and FPGA configuration.The software section is mainly designed for the core control logic of FPGA(including the part of A/D conversion,receiving and forwarding for asynchronous same frame and frequency serial data,FLASH storage and the Ethernet transmission,etc.),mainly introduces FPGA design of the receiving and forwarding for asynchronous same frame and frequency serial data and FLASH controller of large capacity storage device,and timing simulation on the Model Sim.Through the joint debugging of hardware and software,complete the adjustment,acquisition,caching,transmission,real-time storage of sensor signals,verify the correctness of the system design by PC software measurement results,realize the integral design of the multi-sensor real-time data acquisition system.Finally,the paper summarizes the system design,points out the deficiencies in the design process and somewhere needs improvement. |