| Automatic Optical Inspection (AOI),being composed of optical, mechanical, and electrical technology is mainly used in the on line surface detection of PCB. During high-precision PCB detecting, the size of one image can reach several hundreds megabytes. PC or Single-chip DSP often cannot meet the requirement, so multi-DSP parallel processing system come into use. Building a high-speed, real-time and high-performance dual-DSP parallel processing system is the main content of this dissertation.Based on the studing of the existing DSP parallel processing systems, a parallel image processing system composed of two TMS320C6455 and a Xilinx Virtex-5 lx30t has been designed. The system uses high-speed CCD camera with digital signal output as image acquisition system, which contains CCD chip, A/D converter and data storage module. The core control module FPGA stored the image data to the DDR2 memory, and then transmitted it through the Serial RapidIO (SRIO) port into the DSPs for processing. The processed image data was then put through the Gigabit Ethernet to a PC machine for further treatment, storage or display.In the dissertation,the interconnection method of the DSP parallel system was introduced above all. Then the composition of the system and its modules were discussed. At last, the embedded system DSP/BIOS was introduced along with how to design the software under DSP/BIOS. Network communication driver was builed on TI's Network Development Kit (NDK) to transmit data using UDP. Based on Windows Sockets, PC client application was designed using VC++.The system can work stably, and can meet the requirements of the real-time. The hardware and the driver for the system have been developed independently, so the further design is easy. At the same time, because of the autonomy of technology, the cost can be reduced significantly. More importantly, the system reached a high-speed, ?real-time, accurate image processing requirements, making the optical appearance inspecting machine useful in high-precision PCB testing. SRIO has been used in AOI, and this is first report. |