节点文献

光学实验计算机仿真平台的构建

The Construction of Optical Experiment Computer Simulation Platform

【作者】 赵盾

【导师】 杨应平;

【作者基本信息】 武汉理工大学 , 光学, 2010, 硕士

【摘要】 随着计算机技术的不断发展,计算机辅助教学走进了现代教育教学的体系。MATLAB软件具有强大的图像处理与数值计算功能,通过建模和编程可以对在实际操作时存在困难的光学实验进行仿真模拟,能使学生较好地预习实验,理解实验,完成实验,复习实验。人们运用MATLAB对光学实验仿真系统的实现进行了许多研究,但是依然存在很多缺陷如没有图形用户界面、无法随意调节参数、缺少激光类实验仿真、无法脱离MATLAB环境运行等。针对这些缺陷,本文对各光学实验进行了全面、系统的仿真模拟,研制出了包括基础光学中干涉和衍射、信息光学中的光学图像处理以及激光实验在内的可扩展性、可移植性强的光学实验仿真平台。具体内容如下:(1)基础光学实验仿真。在光的干涉的基本理论的基础上,根据各干涉实验装置建立了相应的数学模型并给出了算法流程,实现了光学拍实验、球面波光源垂直以及平行观察屏干涉实验、杨氏双缝和杨氏双孔干涉实验以及等倾等厚干涉实验的仿真,并进一步讨论了光源为复色光时的仿真实现。在菲涅尔及夫琅和费衍射的基本理论的基础上,建立了衍射仿真实验的数学模型,分析了各种不同形状孔径下的夫琅禾费衍射及菲涅耳衍射的衍射图样及其强度分布,并实现了对光栅衍射的仿真。(2)信息光学实验仿真。分析了4f相干光学成像系统的工作原理,并以此建立了空间滤波仿真算法,实现了低通、高通、带通和方向滤波仿真实验。随后简要分析了图像的边缘检测、特征提取、图像增强的基本方法并进行了仿真实现。(3)激光实验仿真。分析了高斯光束、自再现模、激光锁模的原理及其相应的理论推理过程,据此提出了利用MATLAB来实现仿真的基本思路和仿真算法并进行了仿真实现。最后通过设置不同参数对仿真结果进行了对比分析,并与理论及实际情况相比较,得到了很好的验证。(4)光学实验仿真平台的构建。分析了选用MATLAB的GUIDE作为开发环境的原因,讨论了图形用户界面设计原则及制作步骤,在此基础上制作了界面简洁美观、可扩展性强的光学实验仿真平台,实现了实验参数的灵活设置,具有良好的人机交互功能,最后进行了MCC编译,生成了可以脱离MATLAB环境运行的独立可执行文件。

【Abstract】 With the development of computer technology, computer-assisted instruction has stepped into the teaching of modern education system. MATLAB software has powerful image processing and numerical computing functions, the simulation of optical experiments, which involve practical difficulties, can be realized by modeling and programming. The simulation can enable students to preview experiment, understand experiment, complete experiment and review experiment much better.People do a lot of research on the optical experiment simulation system by using MATLAB. But there are still many defects, such as, there is no graphical user interface, the parameters can not be freely adjusted, lacking of the simulation of laser experiment, and it can not run without MATLAB background. In this paper we use MATLAB to develop a well extensible and portable optical experiment platform, which including the interference and diffraction of basic optics experiment, the optical image processing of information optics and laser experiment simulation. Details are as follows:(1) The simulation of based optical experiments. According to the basic theory of optical interference and experimental device, we set up a mathematical model of the interference experiment and give the process of algorithm, which can realize the simulation of the optical beats experiment, the interference experiment of spherical wave light source vertical and parallel to the observation screen, Young’s double holes and double-slit interference experiment and equal inclination, equal thickness interference experiment. Further we discuss the simulation realization of polychromatic light as the light source. Based on the basic theory of the Fresnel and Fraunhofer diffraction, we establish the mathematical model of diffraction experiment simulation, analyze diffraction pattern with its intensity distribution of Fraunhofer diffraction and Fresnel diffraction under different apertures, and complete the simulation of grating diffraction successfully.(2) The simulation of information optics experiment. The 4f imaging system theory has been discussed in this paper, based on which we establish a spatial filtering simulation algorithm and achieve the low pass, high pass, band-pass filter simulation. Then we briefly analyse the basic methods of edge detection, feature extraction and image enhancement, and proceed the simulation at last.(3)The simulation of laser experiment. In the paper we analyse the principle and corresponding theoretical deducement of the Gaussian beam, self reproduce mode and laser mode-locking. So we can propose the basic ideas and the simulation algorithm by MATLAB that can achieve simulation. Finally the idea has been proved well by comparing a set of results, which attained by setting different parameters on the simulation, with the theoretical and practical record.(4) Construction of optical experiment platform. We discuss the reason of using MATLAB GUIDE as development environment, and analyse the principles and steps of designing the graphical user interface. On this basis, we make the simple, artistic interface and well scalable optical experiments simulation platform, which realize flexibility in setting the experimental parameters and include good human-computer interaction function, finally we make MCC compiled to generate the independent and executable files, which can run separately without MATLAB environment.

节点文献中: 

本文链接的文献网络图示:

本文的引文网络