亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? uwbreceive.m

?? uwb脈沖位置調制的信號進行相關接收,并且畫出其圖形
?? M
字號:
%UWB-Run from editor debug(F5)-PPM(pulse position modulation)and link analysis of
%UWB monocycle and doublet waveforms.
%This m file plots the time and frequency waveforms for PPM 1st and 2nd derivative 
%equations used in UWB system analysis. Fudge factors are required to
%correct for inaccuracies in the 1st and 2nd derivative equations.
%Tail to tail on the time wave forms must be considered as the actual pulse width. 
%7*PW1 has about 99.9% of the signal power. The frequency spreads and center 
%frequencies(fc=center of the spread)are correct as you can verify(fc~1/pw1).
%Change pw(fudge factor)and t for other entered(pw1) pulse widths and
%zooming in on the waveforms.A basic correlation receiver is constructed
%showing the demodulated output information from a comparator(10101). Perfect sync
%is assumed in the correlation receiver.
%See SETUP and other info at end of program.
%The program is not considered to be the ultimate in UWB link analysis, but is 
%configured to show basic concepts of the new technology.  
%================================================
pw1=.5e-9;%pulse width in nanosec,change to desired width
pw=pw1/2.5;%Fudge factor for inaccurate PWs(approx. 4-5 for 1st der. and
%approx. 2-3 for 2nd der.)
Fs=100e9;%sample frequency
Fn=Fs/2;%Nyquist frequency
t=-1e-9:1/Fs:20e-9;%time vector sampled at Fs Hertz. zoom in/out using (-1e-9:1/Fs:xxxx)
A=1;
%================================================ 
% EQUATIONS
%================================================
%y=A*(t/pw).*exp(-(t/pw).^2);%1st derivative of Gaussian pulse=Gaussian monocycle
y =A*(1 - 4*pi.*((t)/pw).^2).* exp(-2*pi.*((t)/pw).^2);%2nd derivative of Gaussian
%pulse=doublet(two zero crossings)
% y=y.*sin((2*pi*t*4.5e9).^2)%spectrum notches(multipath)
%================================================
%This series of pulses sets the pulse recurring frequency(PRF)
%at 400MHz(waveform repeats every 2.5e-9 sec)and a
%modulated bit stream(info bit rate=200MHz) of 10101 (5 pulses,can add more)
%using 0.2e-9 as the time delay PPM where a delay = a 0 bit and no delay = a 1 bit. 
%One could expand the # of pulses and modulate for a series of
%111111000000111111000000111111 which would give a lower bit rate. You could just
%change the PRF also.This series of redundent pulses also improves the processing gain
%of the receiver by giving more voltage out of the integrator in a correlation
%receiver. For loops or some other method could be used to generate these pulses but for
%myself, I would get lost. This is a brute force method and I can easily copy and paste.
%I will leave that for more energetic souls. Since we basically have the transmitter
%implemented it's time to move on to the correlation receiver design 
%and and add interference, multipath and noise with BER capability to
%see if we can demodulate and get 10101 bits out at the 200MHz information bit rate. 
% (changed pattern from previous file to 10101)
%==================================================
% 1ST DERIVATIVE MONOCYCLE(PPM WITH 5 PULSES)
%==================================================
%yp=y+ ...
%A*((t-2.5e-9-.2e-9)/pw).*exp(-((t-2.5e-9-.2e-9)/pw).^2)+A*((t-5e-9)/pw).*exp(-((t-5e-9)/pw).^2)+ ...
%A*((t-7.5e-9-.2e-9)/pw).*exp(-((t-7.5e-9-.2e-9)/pw).^2)+A*((t-10e-9)/pw).*exp(-((t-10e-9)/pw).^2);
%==================================================
% 2ND DERIVATIVE DOUBLET(PPM WITH 5 PULSES)
%==================================================
%modulated doublet
yp=y+ ...
A*(1-4*pi.*((t-2.5e-9-.2e-9)/pw).^2).*exp(-2*pi.*((t-2.5e-9-.2e-9)/pw).^2)+ ...
A*(1-4*pi.*((t-5.0e-9)/pw).^2).*exp(-2*pi.*((t-5.0e-9)/pw).^2)+ ...
A*(1-4*pi.*((t-7.5e-9-.2e-9)/pw).^2).*exp(-2*pi.*((t-7.5e-9-.2e-9)/pw).^2)+ ...
A*(1-4*pi.*((t-10e-9)/pw).^2).*exp(-2*pi.*((t-10e-9)/pw).^2);

%unmodulated doublet
B=1;%This shows how the anplitude matching of templet and modulated signal
%plays an important part. Would require AGC on first LNA to hold modulated
%sig constant within an expected multipath range.(B=.4 to .5 causes errors).  
yum=B*y+ ...
B*(1-4*pi.*((t-2.5e-9)/pw).^2).*exp(-2*pi.*((t-2.5e-9)/pw).^2)+ ...
B*(1-4*pi.*((t-5.0e-9)/pw).^2).*exp(-2*pi.*((t-5.0e-9)/pw).^2)+ ...
B*(1-4*pi.*((t-7.5e-9)/pw).^2).*exp(-2*pi.*((t-7.5e-9)/pw).^2)+ ...
B*(1-4*pi.*((t-10e-9)/pw).^2).*exp(-2*pi.*((t-10e-9)/pw).^2);

yc=yp.*yum;%yc(correlated output)=yp(modulated)times yum(unmodulated) doublet.
%This is where the correlation occurs in the receiver and would be the
%first mixer in the receiver. 
%==================================================
% FFT
%==================================================
%new FFT for modulated doublet
y=yp;%y=modulated doublet
NFFY=2.^(ceil(log(length(y))/log(2)));
FFTY=fft(y,NFFY);%pad with zeros
NumUniquePts=ceil((NFFY+1)/2); 
FFTY=FFTY(1:NumUniquePts);
MY=abs(FFTY);
MY=MY*2;
MY(1)=MY(1)/2;
MY(length(MY))=MY(length(MY))/2;
MY=MY/length(y);
f=(0:NumUniquePts-1)*2*Fn/NFFY;

%new fft for unmodulated doublet
y1=yum;%unmodulated doublet
NFFY1=2.^(ceil(log(length(y1))/log(2)));
FFTY1=fft(y1,NFFY1);%pad with zeros
NumUniquePts=ceil((NFFY1+1)/2); 
FFTY1=FFTY1(1:NumUniquePts);
MY1=abs(FFTY1);
MY1=MY1*2;
MY1(1)=MY1(1)/2;
MY1(length(MY1))=MY1(length(MY1))/2;
MY1=MY1/length(y1);
f=(0:NumUniquePts-1)*2*Fn/NFFY1;

%new fft for correlated yc
y2=yc;%y2 is the time domain signal output of the multiplier
%(modulated times unmodulated) in the correlation receiver. Plots 
%in the time domain show that a simple comparator instead of high speed A/D's 
%could be used to recover the 10101 signal depending on integrator design. 
%I have not included an integrator in the program but it would be a properly 
%constructed low pass filter in an actual receiver.
NFFY2=2.^(ceil(log(length(y2))/log(2)));
FFTY2=fft(y2,NFFY2);%pad with zeros
NumUniquePts=ceil((NFFY2+1)/2); 
FFTY2=FFTY2(1:NumUniquePts);
MY2=abs(FFTY2);
MY2=MY2*2;
MY2(1)=MY2(1)/2;
MY2(length(MY2))=MY2(length(MY2))/2;
MY2=MY2/length(y2);
f=(0:NumUniquePts-1)*2*Fn/NFFY2;

%===================================================
% PLOTS
%===================================================
%plots for modulated doublet
figure(1)
subplot(2,2,1); plot(t,y);xlabel('TIME');ylabel('AMPLITUDE');
title('Modulated pulse train');
grid on;
axis([-1e-9,10e-9 -1 1])
subplot(2,2,2); plot(f,MY);xlabel('FREQUENCY');ylabel('AMPLITUDE');
%axis([0 10e9 0 .1]);%zoom in/out
grid on;
subplot(2,2,3); plot(f,20*log10(MY));xlabel('FREQUENCY');ylabel('20LOG10=DB');
%axis([0 20e9 -120 0]);
grid on;


%plots for unmodulated doublet
figure(2)
subplot(2,2,1); plot(t,y1);xlabel('TIME');ylabel('AMPLITUDE');
title('Unmodulated pulse train');
grid on;
axis([-1e-9,10e-9 -1 1])
subplot(2,2,2); plot(f,MY1);xlabel('FREQUENCY');ylabel('AMPLITUDE');
%axis([0 10e9 0 .1]);%zoom in/out
grid on;
subplot(2,2,3); plot(f,20*log10(MY1));xlabel('FREQUENCY');ylabel('20LOG10=DB');
%axis([0 20e9 -120 0]);
grid on;

%plots for correlated yc
figure(3)
subplot(2,2,1); plot(t,y2);xlabel('TIME');ylabel('AMPLITUDE');
title('Receiver correlator output');
grid on;
axis([-1e-9,10e-9 -1 1])
subplot(2,2,2); plot(f,MY2);xlabel('FREQUENCY');ylabel('AMPLITUDE');
axis([0 7e9 0 .025]);%zoom in/out
grid on;
subplot(2,2,3); plot(f,20*log10(MY2));xlabel('FREQUENCY');ylabel('20LOG10=DB');
%axis([0 20e9 -120 0]);
grid on;
%================================================
%Comparator
%================================================
pt=.5;%sets level where threshhold device comparator triggers
H=5;%(volts)
L=0;%(volts)
LEN=length(y2);
for ii=1:LEN;
    if y2(ii)>=pt;%correlated output(y2) going above pt threshold setting
        pv(ii)=H;%pulse voltage
    else;
        pv(ii)=L;
    end;
end ;
po=pv;%pulse out=pulse voltage

figure(4)
plot(t,po);
axis([-1e-9 11e-9 -1 6])
title('Comparator output');
xlabel('Frequency');
ylabel('Voltage');
grid on;
%===================================================
%SETUP and INFO
%===================================================
%Enter desired pulse width in pw1(.5e-9).
%Change t=-1e-9:1/Fs:(xxxx) to 1e-9.
%Press F5 or run.
%With waveform in plot 2,2,1, set pulse width with fudge factor to .5e-9
%using #s corresponding to chosen waveform. Set from tail to tail.
%Change t=-1e-9:1/Fs:(xxx) to something like 20e-9.Zoom out. I would
%comment in all plot axis and use them for zooming in and out.
%Press F5 and observe waveforms. Print waveforms to compare with next set of
%wave forms.
%Pick another waveform by commenting out existing waveform and repeat as above.

%When you compare the waveforms you will see that the second derivative
%doublet has a center frequency in the spread twice that of the first
%derivative monocycle.
%You would expect this on a second derivative. Picking a doublet waveform
%for transmission (by choice of UWB antenna design) pushes the fc center frequency 
%spread out by (two) allowing relief from the difficult design of narrower pulse
%generating circuits in transmitters and receivers. If you chose a monocycle, you would
%need to design your pulse circuits with a much narrower(factor of two)pulse width to
%meet the tough FCC spectral mask from ~3 to 10GHz at-40Dbm. I would guess a
%pulse width of ~ 0.4 to 0.45 nanosec using a doublet at the proper amplitude(A) 
%would meet the requirements. The antenna choice at the receiver could
%integrate the doublet to a monocycle so a wave form for the modulated
%monocycle is included. You woud need to construct an unmodulated version
%of the monocycle. Also an unmodulated monocycle template could correlate with a
%modulated doublet extracting the information but the proper sense of the
%monocycle would be required along with proper information delay setup in
%the equations.
 
%You can zoom in on the waveforms of plot 2,2,1 to see the PPM
%delays generating 10101. Use axis on plot 2,,2,1 for better
%zooming.Comment in the axis.

%Processing gains of greater than 20DB can be achieved by selection of the
%PRF and integrator using high information bit rates. This, when doing a 
%link budget, should give enough link margin for multipath conditions with
%a fixed transmitter power at ranges of 3 to 10 meters.

%I didn't include BER checking with noise in the program because I beleive many more
%pulses would be required to get the true picture.

%Perfect sync is assumed in the correlation receiver. You could delay the
%unmodulated doublet waveform and check the correlation properties of the 
%waveforms at the receiver and observe how the S/N(or output signal since no noise has been
%added to the program) degrades when not in perfect sync.

%Things to add
%A.more pulses
%B.integrator
%C.noise
%D.BER









?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡视频在线看| 国产婷婷色一区二区三区| 国产精品素人一区二区| 国产美女精品人人做人人爽| 日韩精品综合一本久道在线视频| 日韩精品亚洲专区| 日韩欧美高清dvd碟片| 欧美日韩国产高清一区| 麻豆精品视频在线观看免费| 精品电影一区二区| 99精品桃花视频在线观看| 亚洲五码中文字幕| 精品久久久久99| 91久久奴性调教| 久久精品国产秦先生| 亚洲人成精品久久久久| 欧美人妇做爰xxxⅹ性高电影| 色呦呦一区二区三区| 美腿丝袜亚洲综合| 老司机精品视频线观看86| 秋霞av亚洲一区二区三| 亚洲精品视频在线| 精品少妇一区二区| 久久九九国产精品| 国产精品剧情在线亚洲| 欧美一区二区高清| 91麻豆精品视频| 国产一区二区视频在线| 成人免费av网站| 麻豆精品一区二区av白丝在线| 久久99精品久久久久久动态图| 亚洲天堂福利av| 久久久久99精品一区| 91精品久久久久久蜜臀| 色猫猫国产区一区二在线视频| 精品视频色一区| 色哟哟一区二区| 3d动漫精品啪啪| 久久精子c满五个校花| 一区二区三区中文字幕精品精品| 国产亚洲一区二区三区四区| 亚洲三级在线观看| 日韩精品欧美成人高清一区二区| 久久99国产精品久久99| 99re8在线精品视频免费播放| 欧美日韩一区二区三区在线看| 日韩一区二区三区视频在线观看| 欧美性欧美巨大黑白大战| 色综合色综合色综合| 日韩午夜中文字幕| 日韩激情中文字幕| 国产91对白在线观看九色| 国产一区二区三区观看| 欧日韩精品视频| 欧美日韩一区二区三区四区五区| 久久综合九色欧美综合狠狠| 久久午夜羞羞影院免费观看| 亚洲综合偷拍欧美一区色| 亚洲精品va在线观看| 国产成人综合精品三级| 国产精品99久久久久久宅男| 丁香婷婷综合色啪| 精品免费日韩av| 亚洲一区免费观看| 99re视频这里只有精品| 久久午夜免费电影| 毛片基地黄久久久久久天堂| 欧美在线色视频| 亚洲欧美偷拍另类a∨色屁股| 国产麻豆91精品| 欧美哺乳videos| 日本vs亚洲vs韩国一区三区| 日本乱码高清不卡字幕| 自拍偷在线精品自拍偷无码专区| 国产福利精品一区| 26uuu亚洲综合色| 看片的网站亚洲| 欧美一级淫片007| 日本午夜精品一区二区三区电影| 老司机午夜精品99久久| 777午夜精品免费视频| 夜夜揉揉日日人人青青一国产精品| 丰满亚洲少妇av| 久久九九国产精品| 风间由美一区二区三区在线观看 | 成人综合婷婷国产精品久久蜜臀| 欧美一级一区二区| 久久狠狠亚洲综合| 精品免费国产一区二区三区四区| 久久精品国产色蜜蜜麻豆| 日韩欧美一级在线播放| 久久99精品国产麻豆婷婷| 日韩免费电影一区| 久久国产精品色婷婷| 久久综合久久综合久久| 国产伦精品一区二区三区免费 | 丝袜美腿亚洲一区二区图片| 欧美日韩一区二区三区高清| 一区二区免费看| 欧美日韩国产高清一区二区| 水蜜桃久久夜色精品一区的特点| 日韩一区二区中文字幕| 精久久久久久久久久久| 中文字幕欧美日本乱码一线二线| 亚洲国产精品久久不卡毛片| 欧美日本在线播放| 国产一区二区精品久久99| 国产精品全国免费观看高清| 日本福利一区二区| 奇米综合一区二区三区精品视频| 久久久国产精华| 97久久精品人人做人人爽| 亚洲成av人影院| 欧美精品一二三| 中文字幕一区二区三区不卡在线 | 喷水一区二区三区| 国产午夜精品在线观看| 色悠悠亚洲一区二区| 久久国产尿小便嘘嘘尿| 亚洲欧美日韩在线| 欧美mv日韩mv国产网站| 成人av网址在线| 日本成人在线视频网站| 国产精品第四页| 欧美刺激午夜性久久久久久久| 成人激情av网| 久久se这里有精品| 一二三区精品视频| 日本一区二区免费在线| 国产激情一区二区三区| 亚洲中国最大av网站| 国产亚洲一区二区三区| 欧美一区二区不卡视频| 91麻豆精东视频| 国产盗摄精品一区二区三区在线| 一区二区在线观看免费视频播放| 久久久亚洲精华液精华液精华液| 在线观看区一区二| 99久久精品免费观看| 国模冰冰炮一区二区| 国产日韩欧美在线一区| 欧美夫妻性生活| 欧美午夜不卡在线观看免费| 成人av影视在线观看| 激情都市一区二区| 免费在线观看成人| 日韩精品五月天| 亚洲不卡在线观看| 亚洲精品视频自拍| 亚洲免费观看在线视频| 日本一区二区三区电影| 久久综合av免费| 欧美mv和日韩mv的网站| 欧美一区二区三区公司| 7777精品伊人久久久大香线蕉最新版 | 国产中文一区二区三区| 免费人成网站在线观看欧美高清| 亚洲福利一区二区三区| 一区二区不卡在线播放| 一级特黄大欧美久久久| 亚洲少妇屁股交4| 亚洲欧洲一区二区在线播放| 中文字幕在线免费不卡| 国产精品久久久久久久久果冻传媒| 久久男人中文字幕资源站| 精品国产一区二区在线观看| 日韩欧美国产电影| 精品国精品自拍自在线| 欧美精品一区二区三区很污很色的| 日韩欧美你懂的| 精品嫩草影院久久| 国产日产精品1区| 国产精品久久免费看| 亚洲三级视频在线观看| 亚洲无人区一区| 天天综合色天天| 中文字幕亚洲视频| 亚洲精品视频在线观看网站| 亚洲最新视频在线观看| 五月天欧美精品| 成人av网站在线| 色婷婷一区二区三区四区| 欧美亚洲综合色| 日韩欧美中文字幕制服| 国产欧美日韩精品a在线观看| 欧美激情一区不卡| 亚洲国产另类av| 国内外成人在线| 99久久国产免费看| 7777女厕盗摄久久久| 国产日韩欧美麻豆| 亚洲色图欧洲色图| 美女视频黄a大片欧美| 国产精品一区在线观看你懂的| 不卡在线观看av| 91精品福利在线一区二区三区| 久久久精品黄色| 亚洲国产精品一区二区久久恐怖片| 麻豆精品一区二区综合av| www.一区二区|