The invention discloses an automatic optical detection 
system based on a CPU+GPU+
FPGA architecture. The automatic optical detection 
system comprises an 
image storage unit, an image calculation unit and an 
image acquisition unit, wherein the 
image storage unit is provided with a first 
communication interface and a second 
communication interface, the image calculation unit is provided with a first optical-
fiber interface, a second optical-
fiber interface, a third optical-
fiber interface and a fourth optical-fiber interface, and the 
image acquisition unit is provided with a third 
communication interface and a 
camera interface; and the image calculation unit receives configuration parameters and test orders transmitted by the 
image storage unit and transmits a test result to the image storageunit by virtue of the first optical-fiber interface, receives data of the 
image acquisition unit and transmits the configuration parameters and the test orders to the image acquisition unit by virtueof the second optical-fiber interface, controls the generation of a point-screen 
signal by virtue of the third optical-fiber interface, and controls an IO 
light source by virtue of the fourth optical-fiber interface. The automatic optical detection 
system based on the CPU+GPU+
FPGA architecture has the advantages of simple structure, low cost, good stability, good coordination capacity, high calculation 
processing capacity and the like.