| As a kind of clean and renewable energy, solar energy gets more attention of thecountries and favour of people. As core components of photovoltaic power generationcomponents, the quality of solar cells is directly related to the efficiency of power generation.Therefore, defect detection on solar cells has very important practical significance. Defectdetection system includes image acquisition, transmission and procession processes. Thepurpose of this thesis is to introduce the knowledge background of the solar defect detectionand design an FPGA-based platform for image acquisition and transmission program.The verification platform of this system is DE2-115FPGA development platform andD5M CMOS image sensor assembly supported by Terasic. The whole system design isdivided into three parts: Verilog logic design, System On a Programmable Chip (SOPC)design and software design. The Verilog logic design configs the CMOS image sensor,collects effective image data and converts the image format, and then puts these image datainto the SOPC system. In SOPC system, customizes an IP core to put the data stream frompure hardware Verilog module to NiosⅡ embedded system, so that the system can be easilyadded into network transmission. The software design is mainly to control image written intoSDRAM memory by frame, and send the image to the PC client through the RJ45Ethernetport by using μC/OS-Ⅱ real-time operating system and NicheStack TCP/IP stack.This thesis realizes the CMOS camera image acquisition and network transmissionsuccessfully. The test result shows that it can achieve the expected result. This designeffectively combines the idea that the FPGA is applicable for dealing large amounts of datafor its parallel operation, and the feature that the embedded soft-core SOPC system has goodflexibility and high integration. In addition to facilitating the subsequent image procession, itcan be also treated as an exploration of the embedded network transmission scheme based onFPGA platform at the same time. |