The utility model provides an automatic optical detection device for detecting PCB (
printed circuit board) defects, and relates to the technical field of circuit board detection, the automatic optical detection device comprises a cabinet body and a
detector main body, the inner bottom wall of the cabinet body is fixedly connected with a lifting shell, the inner side wall of the lifting shell is slidably connected with a lifting column, and the top end of the lifting column is fixedly connected with a lifting frame. According to the utility model, the lifting column slides downwards in the lifting frame, so that the distance between the object placing frame and the
detector main body is increased, sufficient space is provided for rotation adjustment of the object placing frame, the object placing frame can be turned over conveniently, and after turning over is completed, the object placing frame needs to be moved upwards, so that the distance between a PCB and a detection probe of the
detector main body is reduced, and the detection efficiency is improved. And the probe of the detector main body can effectively and clearly detect the defect pattern on the surface of the PCB, so that the surface detection precision of the PCB is improved, and the detection efficiency of the double surfaces of the PCB is also improved.