EDFA仿真代码.zip

上传者: mieru4795 | 上传时间: 2021-05-25 21:30:31 | 文件大小: 5KB | 文件类型: -
Analytical solution to calculate the small-signal single-pass gain of a fiber amplifier.

Includes standard parameters for erbium- or ytterbium-doped fiber amplifiers.

Use it to produce either of two types of plots:
1. Plot the gain versus pump power for various fiber lengths (at a single wavelength)
2. Plot the gain versus wavelength for various pump powers (at one or several fiber lengths)

Can also be used to calculate single-pass gain of lasers and thus predict the pump power necessary for lasing. (i.e. when the gain G_th is greater than the cavity losses L and output T: G_th = 1/((1-T)*(1-L)).

You can call the function from the command line/function/script; if you do this, the inputs are all optional but presumably you'll want to do at least some of them.
You can also use good ol' F5 to just run it with the defaults, editing them in the first few lines of the code.

% Example calls from command line:
%
% optional parameters
>>> plotFlag = 1; % optional, boolean if you want output plot or just the output values returned to the calling function
>>> loss = 2; % optional: excess loss in dB
%
% mode 1: plotting the gain vs. pump power for several lengths
>>> Pp = 50:5:100; % pump powers in mW
>>> L = [0.5 1 2 5]; % fiber length in m
>>> wl = 1550; % wavelength in nm
>>> G = EDFASinglePassGain_Analytical(wl,L,Pp,loss,plotFlag) % again, all inputs are basically optional, use the ones you need to change
%
% mode 2: plotting the gain vs. wavelength for several lengths, several pump powers
>>> Pp = 50:10:100; % in mW, use between 1 and 10 power values for helpful graphs
>>> L = [0.5 1 2 5]; % in m, use between 1 and 4 length values for helpful graphs
>>> wl = 1550; % signal wavelength in nm
>>> G = EDFASinglePassGain_Analytical(wl,L,Pp,loss,plotFlag)

Some CAVEATS are in order.
1. This solution does NOT incorporate ASE or strong-signal saturation effects. Therefore if you are interested in high-gain (>20 dB) or high-power (>100 uW input)

文件下载

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明