|
With the development of information technology , industrial areas , distributed network control system began to take shape in the area of industrial field . The advent of the Internet , the human into the network era , embedded technology is widely used in industrial monitoring and control , aviation, military and other fields . SOPC technology gradually developed in the embedded system design , it can be cut , scalable and easy to upgrade , system design brings great convenience for the user , and reflects its flexibility . The design and implementation of open embedded SOPC development platform to promote the development of embedded systems in China is of great significance . In this paper, the the NIOS II FPGA design program mature 's SOPC technology , Ethernet distributed data acquisition system . This article describes the Ethernet realization of the distributed data acquisition system , the core NIOS II embedded processor and μC / OS - II operating system , access the Ethernet data acquisition and transmission . The system uses a client / server model , in which the host computer , the PC as a client , SOPC system as a server-side , both two-way transmission of data on the Ethernet via TCP / IP protocol . This article is to proceed from the two aspects of the software and hardware on the entire system of hardware system design methods and processes , as well as complete on Socket programming using C # Network Programming Environment . Hardware design , the core chip selection series Altera Cyclone II EP2C35, . Its internal NIOS II soft -core processor as the core to build SOPC, forming a flexible embedded system . The design of the peripheral circuits including AD analog - to - digital conversion circuits , SRAM memory circuits , SDRAM memory circuit , the flash circuit , the network interface circuit , the configuration of an interface circuit , power supply circuit and a clock circuit and a reset circuit . SOPC system design , the use of a custom peripheral functions , complete the FIFO memory SRAM memory LAN91C111 network interface controller interface definition , reflects the flexibility of SOPC . NIOS II IDE development environment software design , control FIFO buffer for data acquisition . ΜC / OS-II operating system running on the SOPC and LwIP protocol stack , multi- tasking operating environment . On this basis , μC / OS-II - based programming , LAN91C111 driver design and host computer application design .
|