| In recent years,the process of processing,assembling and debugging of optical systems or optical components has largely relied on testing instruments and testing technologies.Only when they can be measured can they be manufactured.With the rapid development of my country’s aerospace,scientific research,and national defense and military fields,the caliber of the optical system is expanding day by day,and the requirements for image quality are gradually increasing.At the same time,the requirements for optical detection are becoming more and more stringent.However,there are certain limitations in the measurement range and accuracy of traditional optical parameter detection systems,and the range of detectable optical parameters is no longer limited to a single parameter and traditional optical parameters.In order to solve this problem,it is of great practical value to develop an integrated,high-efficiency,and high-precision device to detect the geometric parameters and imaging quality of the optical system and complete the measurement of various optical parameters.In this paper,a large-caliber aerospace-grade collimator is used as the core equipment,equipped with a large-scale CCD camera,a motor-driven precision translation stage,a high-precision three-dimensional turntable,etc.,to build a high-efficiency and high-precision measurement system,aiming at realizing large-caliber,The detection of high-precision optical systems meets the detection requirements of aerospace optical loads and scientific-grade optical instruments.Through the investigation and analysis of the measurement methods of optical parameters at home and abroad,the measurement scheme suitable for this system is optimized.Secondly,this paper studies various sharpness evaluation functions,and proposes a composite autofocus algorithm based on the gray variance(SMD)function for fast coarse focusing and Brenner function for fine focusing.quasi-focus position.This paper also analyzes the image processing methods involved in the optical detection system,studies and compares the traditional image filtering and edge.detection methods,uses 3*3 median filtering,and obtains the level of the Poirot plate image based on the one-dimensional wavelet decomposition of Mexican hat.The frequency band L and the vertical frequency band H,and then perform multi-directional wavelet decomposition and reconstruction on L and H to complete edge detection,and use the Hough transform line recognition method to perform line extraction to realize the parameter measurement of the optical detection system.Finally,this paper uses the Win-form framework based on C#to successfully develop a complete optical performance testing system software,process the test image,control the camera,motor and turntable according to the fast focusing algorithm,and realize automatic and precise focusing;use the aforementioned image filtering and edge The detection algorithm,combined with various optical parameter calculation methods,realizes the test functions of optical parameters such as focal length,back intercept,exit pupil,and resolution.Experiments show that the measurement accuracy of the focal length of the optical detection system is better than 0.5%,the measurement error of the back intercept is better than 0.2mm,the measurement error of the exit pupil diameter is better than 0.1mm,and the measurement error of the exit pupil distance is better than 1%. |