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

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

?? uwb_bpsk_analysis.m

?? 超寬帶通信的仿真源程序
?? M
?? 第 1 頁 / 共 2 頁
字號:
%   Title: UWB BPSK Analysis 
%   Author: J C 
%   Summary: Models an UWB TX and RX using BPSK. 
%   MATLAB Release: R13 
%   Description: This m file models an UWB system using BPSK. 
%   The receiver is a correlation receiver with a LPF integrator 
%   and comparators for threshhold selection.  

%UWB-Run from editor debug(F5)-BPSK modulation and link analysis of
%UWB monocycle and doublet waveforms.Revised 1/2/05-JC
%This m file plots the time and frequency waveforms for BPSK 1st and 2nd derivative 
%equations used in UWB system analysis. Adjustment factors are required to
%correct for inaccuracies in the 1st and 2nd derivative equations.
%Tail to tail on the time wave forms should 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(adjustment factor)and t for other entered(pw1) pulse widths and
%zooming in on the waveforms.A basic correlation receiver is constructed
%with an integrator(low pass filter-uses impulse response)showing the demodulated output 
%information from a comparator(10101). Perfect sync is assumed in the correlation receiver.
%Noise is added with a variance of 1 and a mean of 0.
%See SETUP and other info at end of program.
%The program is not considered to be the ultimate in UWB analysis, but is 
%configured to show basic concepts of the new technology. I would suggest that
%you review the previous files I published in the Mathworks file exchange concerning
%UWB to enhance your understanding of this technology. PPM(pulse position
%modulation) was analyzed in earlier files. PPM is an orthogonal waveform 
%and not as efficient as BPSK which is an antipodal waveform with helpful
%properties in UWB usage. My assumption in this analysis is that the transmitting antenna
%produces a 2nd derivative doublet and that the receiving antenna passes
%the doublet thru to the mixer without integrating or differentating the signal, leaving
%a doublet. I believe the doublet also has helpful properties in UWB
%systems. I have included a reference at the end which is a must read.
%================================================
pw1=.2e-9;%pulse width in nanosec,change to desired width
pw=pw1/1.24;%Adjustment factor for inaccurate PWs(approx. 3-5 for 1st der. and
%approx. 1-3 for 2nd der.)
Fs=100e9;%sample frequency
Fn=Fs/2;%Nyquist frequency
t=-1e-9:1/Fs:30e-9;%time vector sampled at Fs Hertz. zoom in/out using (-1e-9:1/Fs:xxxx)
%================================================ 
% EQUATIONS
%================================================
%y=A*(t/pw).*exp(-(t/pw).^2);%1st derivative of Gaussian pulse=Gaussian monocycle
y =1*(1 - 4*pi.*((t)/pw).^2).* exp(-2*pi.*((t)/pw).^2);%2nd derivative of Gaussian
%pulse=doublet(two zero crossings)
%================================================
%NOISE SETUP FOR BER AND SNR
%================================================

noise=(1e-50)*(randn(size(t)));%Noise-AWGN(0.2 gives approx Eb/No=Es/No=SNR= 7DB)
%for 2 volt peak to peak BPSK signal.Set to 1e-50 to disable 

%================================================
%BPSK OR BI-PHASE MODULATION 
%================================================
%The following series of equations sets the pulse recurring frequency(PRF)
%at 156MHz(waveform repeats every 6.41e-9 sec and a
%modulated bit stream(bit rate=156Mb/s)of 10101 (5 pulses,can add more)
%where a {1=0 degrees(right side up) and a 1 bit} and a {-1=180
%degrees(upside down) a 0 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(under certain conditions)by giving more voltage out of the integrator
%in a correlation receiver. The appropriate sequence when using BPSK can also produce 
%nulls in the spectrum which would be useful for interference rejection or to keep
%the UWB spectrum from interfering with other communication systems.
%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 other methods for more energetic souls. Since we have the transmitter
%implemented it's time to move on to the correlation receiver design and 
%see if we can demodulate and get 10101 bits out at the 156Mb/s bit rate. 

%==================================================
% 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(BPSK) WITH 5 PULSES)
%==================================================
%BPSK modulated doublet(yp)
yp=1*y+ ...
-1*(1-4*pi.*((t-6.41e-9)/pw).^2).*exp(-2*pi.*((t-6.41e-9)/pw).^2)+ ...
1*(1-4*pi.*((t-12.82e-9)/pw).^2).*exp(-2*pi.*((t-12.82e-9)/pw).^2)+ ...
-1*(1-4*pi.*((t-19.23e-9)/pw).^2).*exp(-2*pi.*((t-19.23e-9)/pw).^2)+ ...
1*(1-4*pi.*((t-25.64e-9)/pw).^2).*exp(-2*pi.*((t-25.64e-9)/pw).^2);

%unmodulated doublet(yum)
B=1;  
yum=B*y+ ...
B*(1-4*pi.*((t-6.41e-9)/pw).^2).*exp(-2*pi.*((t-6.41e-9)/pw).^2)+ ...
B*(1-4*pi.*((t-12.82e-9)/pw).^2).*exp(-2*pi.*((t-12.82e-9)/pw).^2)+ ...
B*(1-4*pi.*((t-19.23e-9)/pw).^2).*exp(-2*pi.*((t-19.23e-9)/pw).^2)+ ...
B*(1-4*pi.*((t-25.64e-9)/pw).^2).*exp(-2*pi.*((t-25.64e-9)/pw).^2);

ym=yp+noise;%BPSK modulated doublet with noise

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

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

%new FFT for correlated pulses(yc)
%yc 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 
%may be used to recover the 10101 signal depending on integrator design and level of
%peak voltage into mixer.
NFFYC=2.^(ceil(log(length(yc))/log(2)));
FFTYC=fft(yc,NFFYC);%pad with zeros
NumUniquePts=ceil((NFFYC+1)/2); 
FFTYC=FFTYC(1:NumUniquePts);
MYC=abs(FFTYC);
MYC=MYC*2;
MYC(1)=MYC(1)/2;
MYC(length(MYC))=MYC(length(MYC))/2;
MYC=MYC/length(yc);
f=(0:NumUniquePts-1)*2*Fn/NFFYC;

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

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

%plots for correlated pulses(yc)
figure(3)
subplot(2,2,1); plot(t,yc);xlabel('TIME');ylabel('AMPLITUDE');
title('Receiver correlator output-no LPF');
grid on;
%axis([-1e-9,27e-9 -1 1])
subplot(2,2,2); plot(f,MYC);xlabel('FREQUENCY');ylabel('AMPLITUDE');
%axis([0 7e9 0 .025]);%zoom in/out
grid on;
subplot(2,2,3); plot(f,20*log10(MYC));xlabel('FREQUENCY');ylabel('20LOG10=DB');
%axis([0 20e9 -120 0]);
grid on;
%===========================================================
%CORRELATION RECEIVER COMPARATOR(before lowpass filter)
%===========================================================
pt=.5%sets level where threshhold device comparator triggers
H=5;%(volts)
L=0;%(volts)
LEN=length(yc);
for ii=1:LEN;
    if yc(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

subplot(2,2,4);
plot(t,po);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美又粗又大又爽| 99久久国产综合色|国产精品| 成人sese在线| 日韩三级视频在线观看| 国产一区二区三区免费播放 | 国产精品午夜电影| 精品国产欧美一区二区| 欧美电影免费观看完整版| 日韩美女视频在线| 亚洲精品成人在线| 亚洲图片自拍偷拍| 亚洲va欧美va天堂v国产综合| 亚洲国产中文字幕| 免费av成人在线| 国模一区二区三区白浆| 国产成人在线观看| 91丨国产丨九色丨pron| 精品视频资源站| 日韩欧美国产午夜精品| 国产婷婷精品av在线| 国产精品美女久久久久av爽李琼| 亚洲人成网站影音先锋播放| 一区二区三区在线播放| 日韩成人av影视| 国产成人亚洲综合a∨猫咪| 91网站在线播放| 欧美疯狂性受xxxxx喷水图片| 日韩免费福利电影在线观看| 欧美国产成人在线| 亚洲成人免费影院| 国产一区二区三区四区五区入口| 丁香一区二区三区| 欧美在线免费观看亚洲| 久久色在线观看| 亚洲精品久久久久久国产精华液| 日本va欧美va精品发布| 成人免费视频一区| 91麻豆精品国产| 亚洲成人精品一区| 国产成人免费视频精品含羞草妖精| 9久草视频在线视频精品| 欧美精品日韩综合在线| 国产日韩精品一区| 午夜欧美视频在线观看| aa级大片欧美| 久久一区二区三区四区| 亚洲午夜影视影院在线观看| 岛国精品在线播放| 9191成人精品久久| 亚洲视频在线一区观看| 国产剧情在线观看一区二区| 欧美在线色视频| 国产精品国产三级国产aⅴ入口| 日本女优在线视频一区二区| 91尤物视频在线观看| 久久女同精品一区二区| 日本成人在线电影网| 色屁屁一区二区| 国产精品美女久久久久久久久久久| 男人的j进女人的j一区| 欧美在线观看你懂的| 国产精品亲子伦对白| 精品亚洲免费视频| 欧美老人xxxx18| 亚洲精品欧美激情| 成人高清免费观看| 中文在线资源观看网站视频免费不卡| 日本不卡123| 91精品国产欧美日韩| 日韩专区在线视频| 欧美放荡的少妇| 午夜一区二区三区视频| 欧美精品一区二区三区视频| 五月婷婷激情综合| 欧美综合在线视频| 亚洲最大色网站| 91视频在线观看| 国产精品美女久久久久久久| 成人av网址在线| 亚洲图片欧美激情| fc2成人免费人成在线观看播放 | 麻豆久久久久久久| 欧美午夜在线一二页| 亚洲动漫第一页| 欧美美女一区二区| 亚洲不卡av一区二区三区| 欧美日韩国产综合草草| 日韩av中文字幕一区二区三区| 日韩欧美不卡在线观看视频| 日本不卡1234视频| 久久久久亚洲蜜桃| 色视频一区二区| 天天综合色天天综合| 精品乱码亚洲一区二区不卡| 国产一区亚洲一区| 国产精品不卡一区| 欧美欧美欧美欧美| 国产麻豆成人精品| 亚洲精品日韩专区silk| 91精品国产91久久久久久一区二区| 粉嫩av一区二区三区在线播放 | 欧美国产视频在线| 91久久免费观看| 日本va欧美va精品| 中文字幕va一区二区三区| 91一区二区三区在线观看| 午夜久久久久久久久| 欧美精品一区二区在线观看| 91香蕉视频黄| 极品少妇xxxx精品少妇| 1000精品久久久久久久久| 欧美另类videos死尸| 成人深夜在线观看| 三级一区在线视频先锋| 久久日一线二线三线suv| 一本在线高清不卡dvd| 久草这里只有精品视频| 综合久久给合久久狠狠狠97色| 在线91免费看| 91麻豆免费观看| 韩国成人精品a∨在线观看| 亚洲电影一级黄| 日本一区二区三区在线不卡| 777欧美精品| 色网综合在线观看| 激情综合色播激情啊| 亚洲激情图片qvod| 国产人妖乱国产精品人妖| 欧美日韩国产美女| 一本久道久久综合中文字幕| 韩国成人精品a∨在线观看| 日韩精品一区第一页| 亚洲免费av网站| 国产精品久久毛片| 久久久一区二区三区捆绑**| 制服丝袜亚洲色图| 欧美色中文字幕| 99久久精品99国产精品| 成人一级视频在线观看| 国产一区激情在线| 玖玖九九国产精品| 欧美aaaaa成人免费观看视频| 亚洲国产日产av| 亚洲一区二区三区小说| 中文字幕视频一区| 欧美高清在线视频| 国产日韩欧美综合在线| 久久蜜桃一区二区| 欧美国产欧美综合| 国产精品青草久久| 亚洲素人一区二区| 一区二区三区四区在线播放| 中文字幕中文字幕一区二区| 中文字幕精品一区二区三区精品| 欧美精品一区二区三区蜜臀 | 国产精品国产自产拍在线| 久久品道一品道久久精品| 26uuu亚洲综合色欧美| 久久婷婷一区二区三区| 国产网站一区二区| 国产精品久久久久一区二区三区| 欧美高清在线一区二区| 综合久久国产九一剧情麻豆| 亚洲午夜免费视频| 日韩国产欧美在线播放| 国产真实精品久久二三区| 国产精品88av| 99re这里只有精品6| 色婷婷精品大在线视频| 欧美日韩一卡二卡三卡 | 国产69精品久久久久777| 懂色av一区二区三区免费观看| 99久久久精品| 欧美日韩在线精品一区二区三区激情 | 亚洲一区欧美一区| 婷婷中文字幕综合| 精品在线观看免费| 成人午夜激情影院| 欧美在线制服丝袜| 精品国产3级a| 亚洲激情综合网| 视频在线在亚洲| 国产黑丝在线一区二区三区| 91小宝寻花一区二区三区| 91精品福利在线一区二区三区| 欧美国产日韩a欧美在线观看| 亚洲综合区在线| 国产在线精品视频| 在线影视一区二区三区| 欧美tickling挠脚心丨vk| 亚洲欧洲韩国日本视频| 日韩高清不卡一区| 99综合电影在线视频| 91精品国产综合久久久久久久| 久久精品一区二区三区四区| 亚洲精品伦理在线| 丁香婷婷综合激情五月色| 欧美日本一区二区三区四区| 国产精品沙发午睡系列990531| 日韩精品一二三四|