Blades are critical parts of aero-engine and nuclear turbine, and it is important to inspect blades by optical method accurately. In this paper, an optical scanning device is designed for inspecting blades. In general, the main external factor affecting the accuracy in the process is environmental vibration, the following parts studied the influence of environmental vibration on the device. First, the characteristics of the environmental vibration are analyzed to find out the frequency range affecting the inspection accuracy. Second, the intrinsic frequency of the device is obtained by modal analysis. Third, the response of the device under external vibration is obtained by simulation experiment. At last, experiments show that the inspection accuracy is 0.0277mm when the environmental vibration frequency is equal to the intrinsic frequency, which can meet the inspection requirements very well.