A strobe method to control LED lighting source for machine vision inspection is a better design than that of traditional method that let LED always ON but adjustable brightness. A successful image processing depends on whether can retrieve a clear image which is the key work of the image processing. This paper introduces how to design a well strobe controller, to optimize the strobe control strategy to obtain a clear image, and is conducive to the establishment of a complete machine vision system.