| ²é¿´: 546 | »Ø¸´: 0 | |||
jxnuhjjгæ (СÓÐÃûÆø)
|
[½»Á÷]
·ÇÏßÐÔѦ¶¨ÚÌ·½³Ì,°ïæ°É£¬¼±£¡£¨½ØÖ¹µ½2010Äê5ÔÂ19ÈÕ£©
|
|
¹âÔÚ¹âÏËÖд«²¥Ê±Âú×ã·ÇÏßÐÔ·½³Ì£ºEz+i/2*Ett+a/2*E=i*r*|E|^2*E, ÆäÖÐEΪ¼¤¹â°üÂçµÄÂý±äÕñ·ù£¬EzΪE¶Ôz£¨´«Êä¾àÀ룩ÇóÒ»½×Æ«µ¼£¬EttΪE¶ÔtÇó¶þ½×Æ«µ¼¡£a,rΪ³£Êý¡£ÔõôÓÃMatlabÇó½âÄØ£¿EÊÇÒ»ÊýÖµÐòÁУ¬ÓÉÆäËû·½³ÌÇó½â³öÀ´µÄ¡£ ÍøÉÏÓÐÏà¹Ø³ÌÐò£¬µ«¶¼ÊÇ»ùÓÚ¾ßÌåÂö³åÐÎ×´µÄ·Ö²½¸¶ÀïÒ¶·¨£¬¶øÎÒÕâÀïµÄEÊÇÀëÉ¢ÐòÁС£Çëǰ±²ÃǴͽÌÁ˺Ǻǡ£È磺 clc; clear all; close all; clf; cputime=0; tic; ln=1; i=sqrt(-1); Po=.00064; %input pwr in watts alpha=0; % Fiber loss value in dB/km alph=alpha/(4.343); %Ref page#55 eqn 2.5.3 Fiber optic Comm by GP Agrawal gamma=0.003; %fiber non linearity in /W/m to=125e-12; %initial pulse width in second C=-2; %Input chirp parameter for first calculation b2=-20e-27; %2nd order disp. (s2/m) Ld=(to^2)/(abs(b2)); %dispersion length in meter pi=3.1415926535; Ao=sqrt(Po); %Amplitude %---------------------------------------------------------- tau =- 4096e-12:1e-12: 4095e-12;% dt=t/to dt=1e-12; rel_error=1e-5; h=1000;% step size for ii=0.1:0.1:1.5 %the various fiber lengths can be varied and this vector can be changed z=ii*Ld; u=Ao*exp(-((1+i*(-C))/2)*(tau/to).^2);%page#47 G.P.AGrawal figure(1) plot(abs(u),'r'); title('Input Pulse'); xlabel('Time'); ylabel('Amplitude'); grid on; hold on; l=max(size(u)); %%%%%%%%%%%%%%%%%%%%%%% fwhm1=find(abs(u)>abs(max(u)/2)); fwhm1=length(fwhm1); dw=1/l/dt*2*pi; w=(-1*l/2:1:l/2-1)*dw; u=fftshift(u); w=fftshift(w); spectrum=fft(fftshift(u)); %Pulse spectrum for jj=h:h:z spectrum=spectrum.*exp(-alph*(h/2)+i*b2/2*w.^2*(h/2)) ; %ǰh/2½øÐÐËðºÄºÍɫɢ¼ÆËã f=ifft(spectrum); f=f.*exp(i*gamma*((abs(f)).^2)*(h)); %h½øÐзÇÏßÐÔ¼ÆËã spectrum=fft(f); spectrum=spectrum.*exp(-alph*(h/2)+i*b2/2*w.^2*(h/2)) ; %ºóh/2½øÐÐËðºÄºÍɫɢ¼ÆËã end f=ifft(spectrum); op_pulse(ln, =abs(f);%saving output pulse at all intervals fwhm=find(abs(f)>abs(max(f)/2)); fwhm=length(fwhm); ratio=fwhm/fwhm1; %PBR at every value pbratio(ln)=ratio;%saving PBR at every step size dd=atand((abs(imag(f)))/(abs(real(f)))); phadisp(ln)=dd;%saving pulse phase ln=ln+1; end toc; cputime=toc; figure(2); mesh(op_pulse(1:1:ln-1, ); title('Pulse Evolution'); xlabel('Time'); ylabel('distance'); zlabel('amplitude'); [ Last edited by jxnuhjj on 2010-5-18 at 09:10 ] |
» ²ÂÄãϲ»¶
08¹¤Ñ§µ÷¼Á
ÒѾÓÐ11È˻ظ´
350Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
Çóµ÷¼ÁÒ»Ö¾Ô¸Î人Àí¹¤´óѧ²ÄÁϹ¤³Ì£¨085601£©
ÒѾÓÐ4È˻ظ´
Ò»Ö¾Ô¸ÖØÇì´óѧ085700×ÊÔ´Óë»·¾³£¬×Ü·Ö308Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
½ÓÊÕ2026˶ʿµ÷¼Á(ѧ˶+ר˶)
ÒѾÓÐ6È˻ظ´
081700 µ÷¼Á 267·Ö
ÒѾÓÐ5È˻ظ´
328Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
0854 ¿¼Ñе÷¼Á ÕÐÉúÁË£¡AI ·½Ïò
ÒѾÓÐ14È˻ظ´
ÕÐ08¿¼Êýѧ
ÒѾÓÐ14È˻ظ´
Ò»Ö¾Ô¸ÉϺ£½»´óÉúÎïÓëҽҩר˶324·Ö£¬Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´













=abs(f);%saving output pulse at all intervals
»Ø¸´´ËÂ¥
40