高斯光束的matlab仿真.docx_第1页
高斯光束的matlab仿真.docx_第2页
高斯光束的matlab仿真.docx_第3页
高斯光束的matlab仿真.docx_第4页
高斯光束的matlab仿真.docx_第5页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

题目 根据高斯光束数学模型 模拟仿真高斯光束在谐振腔中某一位置处的归一化强度分布并给出其二维 三维强度分布仿真图 用Matlab读取实际激光光斑照片中所记录的强度数据 读取照片中光斑的一个直径所记录的强度数据即可 Matlab读取照片数据命令为imread 用该数据画出图片中激光光斑的强度二维分布图 与之前数学模型仿真图对比 如同时考虑高斯光束光斑有效截面半径和等相位面特点 仿真高斯光束光强 光斑有效截面半径以及等相位面同时随传播距离z的变化并给出整体仿真图可酌情加分 原始光斑如图1所示 用imread命令读入matlab后直接用imshow命令读取即可 图1 CCD采集的高斯光束强度分布 读入的数据是一个224 X 244的矩阵 矩阵中的数值代表光强分布 用读入的数据取中间一行 122行 画出强度分布如图2所示 图2 实验测量高斯曲线 用理论上的高斯曲线公式画出理论高斯曲线如图3所示 图3 理论高斯曲线 M文件如下 A imread D documents 作业 激光原理与应用 高斯 bmp A1 A 122 x1 1 1 224 x2 100 1 100 a2 exp x2 2 10 figure imshow A axis off title fontsize 12 CCD采集的高斯光束光强分布 figure plot x2 a2 linewidth 1 color b axis 40 40 0 1 2 title fontsize 12 实验测量高斯曲线 figure plot x1 A1 linewidth 1 color r title fontsize 12 理论高斯曲线 axis 50 200 0 180 画三维强度分布 取图片矩阵的中间层 用mesh命令画出三维图如图4所示 图4 三维强度分布 由于读入的图片有一行白边 需要手动去除掉 否则三维图会有一边整体竖起来 影响观察 最终的M文件如下 A imread D documents 作业 激光原理与应用 高斯 bmp high width color size A x 1 width y 1 high 1 mesh x y double A 2 224 1 grid on xlabel x ylabel y zlabel z title 三维强度分布 再用matlab仿真理论上传播过程中高斯光束的变化 这次先给出M文件 Gaussian propagation m Simulation of diffraction of Gaussian Beam clear Gaussian Beam N sampling number N input Number of samples enter from 100 to 500 L 10 10 3 Ld input wavelength of light in micrometers Ld Ld 10 6 ko 2 pi Ld wo input Waist of Gaussian Beam in mm wo wo 10 3 z ray ko wo 2 2 10 3 sprintf Rayleigh range is f mm z ray z ray z ray 10 3 z input Propagation length z in mm z z 10 3 dx step size dx L N for n 1 N 1 for m 1 N 1 Space axis x m m 1 dx L 2 y n n 1 dx L 2 Gaussian Beam in space domain Gau n m exp x m 2 y n 2 wo 2 Frequency axis Kx m 2 pi m 1 N dx 2 pi N N dx 2 Ky n 2 pi n 1 N dx 2 pi N N dx 2 Free space transfer function H n m exp j 2 ko z Kx m 2 Ky n 2 end end Gaussian Beam in Frequency domain FGau fft2 Gau FGau fftshift FGau Propagated Gaussian beam in Frequency domain FGau pro FGau H Peak amplitude of the initial Gaussian beam Peak ini max max abs Gau sprintf Initial peak amplitude is f mm Peak ini Propagated Gaussian beam in space domain Gau pro ifft2 FGau pro Gau pro Gau pro Peak amplitude of the propagated Gaussian beam Peak pro max max abs Gau pro sprintf Propagated peak amplitude is f mm Peak pro Calculated Beam Width N M min abs x Gau pro1 Gau pro M N1 M1 min abs abs Gau pro1 abs exp 1 Peak pro Bw dx abs M1 M 10 3 sprintf Beam width numerical is f mm Bw Theoretical Beam Width W 2 z ray ko 1 z z ray 2 W W 0 5 10 3 sprintf Beam width theoretical is f mm W axis in mm scale x x 10 3 y y 10 3 figure 1 mesh x y abs Gau title Initial Gaussian Beam xlabel x mm ylabel y mm axis min x max x min y max y 0 1 axis square figure 2 mesh x y abs Gau pro title propagated Gaussian Beam xlabel x mm ylabel y mm axis min x max x min y max y 0 1 axis square 程序主要根据高斯光束的传播规律计算传播过程中任意z处的高斯光强分布 运行结果 Number of samples enter from 100 to 500 500 wavelength of light in micrometers 0 568 Waist of Gaussian Beam in mm 1 ans Rayleigh range is 5530 972982 mm Propagation length z in mm 100000 ans Initial peak amplitude is 1 000000 mm ans Propagated peak amplitude is 0 210252 mm ans Beam width numerical is 1 940000 mm ans Beam width theoretical is 18 107635 mm 束腰半径处的理想高斯光强

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论