通信工程計(jì)算機(jī)通信仿真技術(shù)實(shí)驗(yàn)指導(dǎo)書(shū)_第1頁(yè)
通信工程計(jì)算機(jī)通信仿真技術(shù)實(shí)驗(yàn)指導(dǎo)書(shū)_第2頁(yè)
通信工程計(jì)算機(jī)通信仿真技術(shù)實(shí)驗(yàn)指導(dǎo)書(shū)_第3頁(yè)
通信工程計(jì)算機(jī)通信仿真技術(shù)實(shí)驗(yàn)指導(dǎo)書(shū)_第4頁(yè)
通信工程計(jì)算機(jī)通信仿真技術(shù)實(shí)驗(yàn)指導(dǎo)書(shū)_第5頁(yè)
已閱讀5頁(yè),還剩26頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、 通信系統(tǒng)分析與仿真analysis and simulation of communication system實(shí) 驗(yàn) 指 導(dǎo) 書(shū)experiment instruction王曉寧編沈陽(yáng)大學(xué)信息工程學(xué)院school of information engineering, shenyang university目錄實(shí)驗(yàn)一 matlab認(rèn)識(shí)3exp.1 matlab learning3實(shí)驗(yàn)二 數(shù)據(jù)流仿真8exp.2 data flow simulation8實(shí)驗(yàn)三 時(shí)間流仿真11exp.3 time flow simulation11實(shí)驗(yàn)四 通信系統(tǒng)設(shè)計(jì)仿真15exp.4 commun

2、ication system design and simulation15附錄:21matlab 程式設(shè)計(jì)與應(yīng)用21simulink的庫(kù)模塊26實(shí)驗(yàn)四設(shè)計(jì)說(shuō)明書(shū)模板27課程編號(hào):11215101 課程類別:專業(yè)選修課程適用層次:本科 適用專業(yè):通信工程課程總學(xué)時(shí):48 適用學(xué)期:第5學(xué)期 實(shí)驗(yàn)學(xué)時(shí):20 開(kāi)設(shè)實(shí)驗(yàn)項(xiàng)目數(shù):5撰寫人:王曉寧 審核人:王丹萍 教學(xué)院長(zhǎng):范立南course number:11215101 course type:professional courseapply to:undergraduate major:communication engineeringtotal

3、 period:48 term: no. 5 experiment period:20 number of experiment projects:5writer:wangxiaoning verifier:wangdanpingdean of teching:wanghui 實(shí)驗(yàn)一 matlab認(rèn)識(shí)exp.1 matlab learning一、實(shí)驗(yàn)?zāi)康呐c要求l 了解對(duì)matlab軟件的界面、使用方法、常用計(jì)算函數(shù)l 了解對(duì)simulink環(huán)境認(rèn)識(shí)的界面、使用方法、常用模塊1. experimental purpose and requirementsl get to know the int

4、erface and basic operation of matlab software and how to use normal functions/toolboxes etc.l get to know the interface and basic operation of simulnk functions and how to use normal models.二、實(shí)驗(yàn)類型設(shè)計(jì)型(4學(xué)時(shí))2. experimemts typedesign(4 periods)三、實(shí)驗(yàn)原理及說(shuō)明利用matlab軟件的help功能,設(shè)計(jì)常用信號(hào)的函數(shù)表示方法,加深對(duì)matlab軟件使用方法的掌握;

5、并通過(guò)簡(jiǎn)單設(shè)計(jì)對(duì)simulink的仿真環(huán)境及常用信號(hào)和系統(tǒng)的產(chǎn)生、常用模塊的使用方法有所了解。3. experimental principle and instructionsdesign representing methods of normal signal by using help functions in matlab software, makes students handle the usage of matlab software; design simple signals and systems in simulink environments to know bet

6、ter about how to use normal modules.四、實(shí)驗(yàn)儀器序 號(hào)名 稱主要用途1pc機(jī)為編程仿真提供硬件環(huán)境2matlab軟件(含simulink及通信工具箱)為編程仿真提供軟件平臺(tái)4. experiment instrumentsserial numbernamemain applications1pchardware environment of simulation2matlab softwaresoftware environment of simulation五、實(shí)驗(yàn)內(nèi)容和步驟實(shí)驗(yàn)內(nèi)容:(一)matlab軟件認(rèn)識(shí)1. 認(rèn)識(shí)matlab軟件的界面2. 主要的數(shù)

7、學(xué)函數(shù)指令:sin(正弦), cos(余弦), tan(正切), atan(反正切), exp(指數(shù)), log(對(duì)數(shù)), sqrt(平方根), abs(絕對(duì)值), angle(相角), conj(復(fù)共軛), imag(復(fù)數(shù)虛部), real(復(fù)數(shù)實(shí)部)等等實(shí)驗(yàn)步驟:1. 在實(shí)驗(yàn)之前仔細(xì)閱讀附錄中關(guān)于matlab軟件平臺(tái)的基本介紹。2. 利用桌面的快捷圖標(biāo)或是從開(kāi)始-程序-matlab打開(kāi)matlab軟件3. 在命令窗口定義時(shí)間變量t4. 將時(shí)間變量t代入數(shù)學(xué)函數(shù)指令中,為新變量賦值(如:“x=sin(t)”)5. 利用繪圖指令將賦值的函數(shù)的圖形繪制出來(lái):對(duì)于連續(xù)時(shí)間函數(shù),用plot指令(如:

8、“plot(t,x)”);對(duì)于離散時(shí)間函數(shù),用stem指令(如:“stem(t,x)”)6. 依次利用上面實(shí)驗(yàn)內(nèi)容中提到的12種函數(shù)指令為新變量賦值,構(gòu)成通信系統(tǒng)中的常見(jiàn)信號(hào),并繪圖、將所用的指令和得到的圖像記錄下來(lái),完成實(shí)驗(yàn)報(bào)告(二)simulink環(huán)境認(rèn)識(shí)1. 認(rèn)識(shí)simulink環(huán)境認(rèn)識(shí)的界面2. 認(rèn)識(shí)simulink模塊庫(kù)中的主要常用模塊:常用系統(tǒng)模塊:derivative(時(shí)間微分),integrator(時(shí)間積分),state-space(狀態(tài)空間系統(tǒng)),transfer fcn(線性傳輸函數(shù)),transport delay(輸入延時(shí)),variable transport de

9、lay(輸入可變時(shí)間延時(shí)),zero-pole(零極點(diǎn)傳輸函數(shù)),hit crossing(檢測(cè)交叉點(diǎn)),quantizer(量化),rate limiter(限制輸入信號(hào)的變化比率),relay(繼電器),saturation(限制輸出信號(hào)的范圍)數(shù)學(xué)操作模塊:abs(產(chǎn)生輸入信號(hào)的絕對(duì)值),complex to magnitude-angle(計(jì)算一個(gè)復(fù)信號(hào)的幅度/相位),complex to real-imag(計(jì)算一個(gè)復(fù)信號(hào)的實(shí)部/虛部),dot product(產(chǎn)生點(diǎn)積),gain/matrix gain(將輸入乘以一個(gè)常數(shù)),math function(實(shí)現(xiàn)某個(gè)特定的數(shù)學(xué)函數(shù)),m

10、inmax(產(chǎn)生輸入信號(hào)的最大值或最小值),product(產(chǎn)生輸入的積或商),sign(指示輸入信號(hào)的符號(hào)),sum(計(jì)算輸入的和或差),sin(實(shí)現(xiàn)某一特定的三角函數(shù))實(shí)驗(yàn)步驟:1. 在實(shí)驗(yàn)之前仔細(xì)閱讀附錄中關(guān)于matlab和simulink軟件環(huán)境的基本介紹。2. 利用桌面的快捷圖標(biāo)或是從開(kāi)始-程序-matlab打開(kāi)matlab軟件,然后點(diǎn)擊simulink快捷按鈕。3. 按“新建” 快捷按鈕,建立一個(gè)新的模型文件。4. 依次用上面提到的模塊搭建成模型,運(yùn)行,并觀看結(jié)果:5. 完成實(shí)驗(yàn)報(bào)告例1. 從simulink模塊庫(kù)中的source中選擇pulse generator、repeati

11、ng sequence、sine wave和step幾個(gè)信號(hào)源拖拽到新建的模型文件窗口中2. 從simulink模塊庫(kù)中的sink中選擇示波器scope拖拽到新建的模型文件窗口中,并復(fù)制3. 將continouse中的derivative(時(shí)間微分)拖拽到新建的模型文件窗口中4. 將以上模塊用信號(hào)線連接起來(lái)(如下圖),同時(shí)修改各個(gè)模塊的參數(shù)5. 運(yùn)行(點(diǎn)擊快捷按鍵“”)6. 觀察并記錄結(jié)果7. 用常用系統(tǒng)模塊和數(shù)學(xué)操作模塊中的各個(gè)模塊依次替換derivative(時(shí)間微分)模塊并重復(fù)以上各個(gè)步驟,觀察并記錄結(jié)果5. experiment contents and stepsexperiment

12、 contents:(1)get to know matlab softwarei. knowing the interface of matlabii. main math functions:sin(), cos(), tan(), atan(), exp(), log(),log10(), sqrt(), abs(), angle(), conj(), imag(), real(),etc.experiment and steps:a) read the introduction of matlab in the appendix carefully before the experim

13、ent start. b) start matlab software form the shortcut icon on desktop or start-program- matlab.c) define time variable t in the command window.d) introduce time variable t into different math function expressions,define new signal variable(e.g.:“x=sin(t)”)e) draw signal curves by using appropriate f

14、unction.(e.g.:“plot()” for continuous functions; “stem()” for discrete functions;)f) use 12 functions instructions mentioned former to define new variables, in order to form common communication system signals,then record the instructions you used and the result figures in the experiments,finish the

15、 report.(2)get to know simulinkiii. be familiar to simulink interfaceiv. get to know normal modules in simulink lib.:derivative, integrator, state-space, transfer fcn, transport delay, variable transport delay, zero-pole, hit crossing, quantizer, rate limiter, relay, saturationabs, complex to magnit

16、ude-angle, complex to real-imag, dot product, gain/matrix gain, math function, minmax, product, sign, sum ,sinexperiment and steps:a) read the introduction of matlab&simulink in the appendix carefully before the experiment start.b) start matlab software form the shortcut icon on desktop or start

17、-program- matlab, then click simulink shortcut button or type “simulink” in the command window to run simulink interface.c) click “new” shortcut button to create a new “.mdl” file.d) use modules mentioned former to build system models, run them and observe their results. record main parameters.e) fi

18、nish the report.e.g.a. drag “pulse generator”、”repeating sequence”、”sine wave” and “step signal” modules from “simulink/source” lib. into new “.mdl” file window.b. drag “scope” module from simulink/sink lib. into new “.mdl” file window and duplicate it.c. drag “derivative” module from simulink/conti

19、nuous lib. into new “.mdl” file window. d. link modules like figure shows below, then modify their parameters.e. run the system(click“”)f. observe and record the results.g. alter the “derivative” module with other normal system modules or math modules, repeat the operation process above, observe and

20、 record the results 六、實(shí)驗(yàn)數(shù)據(jù)處理與分析(1) 記錄所設(shè)計(jì)的信號(hào)的變量定義以及信號(hào)繪制曲線(圖形)(2) 與實(shí)際理論結(jié)果比較驗(yàn)證,并分析異同及原因。6. experiment data recording, processing and analysis(1) record all the variables defined in the design and the curves drawn in matlab.(2) compare the curves with theoretical curves, analysis the reason why there ar

21、e differences between them.七、注意事項(xiàng)(1) 在使用plot命令繪圖時(shí),要保證表示橫縱軸坐標(biāo)的數(shù)據(jù)長(zhǎng)度要相等。(2) 在仿真運(yùn)行之前要仔細(xì)檢查各個(gè)模塊的參數(shù)的設(shè)置,否則運(yùn)行時(shí)可能會(huì)出現(xiàn)錯(cuò)誤。(3) 仿真步長(zhǎng)的設(shè)置:要保證仿真運(yùn)行時(shí)的仿真步長(zhǎng)<所有模塊中最小抽樣時(shí)間的一半。7. attentionsa) data arrays of the horizontal and vertical coordinates should be the same when “plot” function is used to draw signal curves.b) mod

22、ule parameters should be examined carefully before the simulation running in order to avoid error occurs.c) set simulation step-length carefully: the simulation step-length < minimum sample time/2.八、預(yù)習(xí)與思考題(1) 一般信號(hào)曲線的繪制應(yīng)該注意什么?(2) 如果在同一個(gè)圖形窗口中分別繪制多條曲線應(yīng)該采用哪條指令?(3) 如果想在matlab窗口下查詢某一條指令的使用方法,應(yīng)當(dāng)使用哪條指令?(

23、4) simulink模塊庫(kù)有哪幾個(gè)子庫(kù)?(5) 如果仿真步長(zhǎng)設(shè)置得太大了會(huì)出現(xiàn)什么問(wèn)題?8. answer before & after experimentsa) what we should pay attention to when we draw signal curves in matlab?d) what functions we may use to draw different signal curves in one figure window? e) what functions we may use to find the usage ways of some

24、function in command window? f) how many simulation module lib.s in simulink.g) what happens if the modulation step-length is too long?實(shí)驗(yàn)二 數(shù)據(jù)流仿真exp.2 data flow simulation一、實(shí)驗(yàn)?zāi)康呐c要求l 了解如何利用*.m文件實(shí)現(xiàn)數(shù)據(jù)流仿真l 了解用通信工具箱提供的常用函數(shù)實(shí)現(xiàn)通信系統(tǒng)仿真的方法1. experimental purpose and requirementsl get to know how to implement dat

25、a flow simulation by using *.m file.l get to know how to implement communication system simulation by using the normal functions in communication toolbox.二、實(shí)驗(yàn)類型設(shè)計(jì)型(4學(xué)時(shí))2. experimemts typedesign(4 periods)三、實(shí)驗(yàn)原理及說(shuō)明數(shù)據(jù)流仿真主要是指在仿真過(guò)程中,仿真系統(tǒng)的初始狀態(tài)和條件、中間狀態(tài)以及結(jié)果輸出均以數(shù)據(jù)塊作為基本計(jì)算單位。仿真通信系統(tǒng)的信源信號(hào)是以整個(gè)數(shù)據(jù)塊的形式送入系統(tǒng)的各個(gè)仿真環(huán)節(jié)(調(diào)

26、制、發(fā)送、信道傳輸、接受、解調(diào)等等)并逐步計(jì)算的。matlab軟件的*.m文件編輯器是數(shù)據(jù)流仿真的最佳工具,使用通信工具箱提供的函數(shù)仿真通信系統(tǒng)中的常用環(huán)節(jié)和*.m文件編輯器的各種調(diào)試工具可以實(shí)現(xiàn)事半功倍的高效編程仿真。3. experimental principle and instructionsdata flow simulation means to take data blocks as the basic compute units for simulation systems initial、middle status and conditions as well as the

27、 output results, which means the source signal of the communication system has been sent into each part (such as modulation parts, sending parts, channel parts, receiving parts, demodulation parts and so on) of the simulation system as a whole data block.the *.m file editor is the best data flow sim

28、ulation tools provided by matlab, it can double the simulation programming efficiency by offering many kinds of running tools and provided functions in communication toolbox for their normal parts simulation.四、實(shí)驗(yàn)儀器序 號(hào)名 稱主要用途1pc機(jī)為編程仿真提供硬件環(huán)境2matlab軟件(含simulink及通信工具箱)為編程仿真提供軟件平臺(tái)4. experiment instrument

29、sserial numbernamemain applications1pchardware environment of simulation2matlab softwaresoftware environment of simulation五、實(shí)驗(yàn)內(nèi)容和步驟實(shí)驗(yàn)內(nèi)容用*.m文件編輯器設(shè)計(jì)一個(gè)簡(jiǎn)單的am調(diào)制解調(diào)通信系統(tǒng)的數(shù)據(jù)流仿真過(guò)程。要求所仿真的通信系統(tǒng)要按照以下要求設(shè)計(jì)各個(gè)am調(diào)制解調(diào)環(huán)節(jié):(1)信源:確定信號(hào)(2)調(diào)制:載波信號(hào)取正弦信號(hào),載波頻率要在信源信號(hào)最高頻率3倍以上(3)信道:awgn(4)解調(diào):載波信號(hào)取給與(2)中相同的正弦信號(hào),同頻同相(5)信宿:輸出解調(diào)結(jié)果實(shí)驗(yàn)步驟(

30、1)細(xì)化上述各個(gè)仿真環(huán)節(jié)所采用的具體方法或數(shù)學(xué)表達(dá)式以及系統(tǒng)的初始狀態(tài)(參數(shù)),并繪制仿真程序的流程圖(2)打開(kāi)*.m文件編輯器(3)按照流程圖編寫代碼(4)調(diào)試(5)記錄具體設(shè)計(jì)方案和參數(shù),實(shí)驗(yàn)結(jié)果等(6)完成實(shí)驗(yàn)報(bào)告5. experiment contents and stepsexperiment contents:design a simple am modem system, implement the design in data flow simulation way by using *.m file editor. all the parts of the communica

31、tion system should simulated according to the follow requests:(1)source: determined signal(2)modulation: carrier should be sine signal which frequency should be greater than the maximum frequency of source signal(3)channel:awgn(4)demodulation: carrier should be the same as in (2), not only same freq

32、uency, but also same phase(5)sink:output the demodulation resultsexperiment and steps:a) determine the functions, formulas and initial status (parameters) in all parts of the simulation system, then finish the flow chart. b) open *.m file editor.c) programming according to the flow chart.d) debuggin

33、g.e) record the design plan and parameters, as well as experiment resultsf) finish the report.六、實(shí)驗(yàn)數(shù)據(jù)處理與分析1. 記錄定義的仿真變量、參數(shù)以及仿真結(jié)果。2. 與實(shí)際理論結(jié)果比較驗(yàn)證,并分析不同的原因。6. experiment data recording, processing and analysis(1) record all the variables and parameters defined in the design and the simulation results.(2)

34、 compare the results with theoretical value, analysis the reason why there are differences between them.七、注意事項(xiàng)1. 在仿真運(yùn)行之前要仔細(xì)檢查各個(gè)模塊的參數(shù)的設(shè)置,否則運(yùn)行時(shí)可能會(huì)出現(xiàn)錯(cuò)誤。2. 仿真步長(zhǎng)的設(shè)置:要保證仿真運(yùn)行時(shí)的仿真步長(zhǎng)<所有模塊中最小抽樣時(shí)間的一半。7. attentionsa) module parameters should be examined carefully before the simulation running in order to avo

35、id error occurs.b) set simulation step-length carefully: the simulation step-length < minimum sample time/2.八、預(yù)習(xí)與思考題1. 你仿真的方法是否為蒙特卡洛方法?2. 你設(shè)計(jì)的調(diào)幅是以下哪一種調(diào)制方式?adsb-scb.usbc.lsbd.vsbe.am with carrier3. 你在信道上疊加的噪聲信噪比是多少?4. 你解調(diào)的方式是相干解調(diào)嗎?8. answer before & after experimentsa) did you simulate the sys

36、tem by using monte carlo theory?b) what modem functions did you designed in this experiment? choose from below: adsb-scb.usbc.lsbd.vsbe. am with carrierc) how much noise (nsr) did you add in the channel? d) did you demodulate the signal by using coherent theory?實(shí)驗(yàn)三 時(shí)間流仿真exp.3 time flow simulation一、實(shí)

37、驗(yàn)?zāi)康呐c要求l 了解如何利用*.mdl文件實(shí)現(xiàn)時(shí)間流仿真l 了解simulink提供的模塊實(shí)現(xiàn)通信系統(tǒng)仿真的方法1. experimental purpose and requirementsl get to know how to implement time flow simulation by using *.mdl file.l get to know how to implement communication system simulation by using the modules in simulink lib.二、實(shí)驗(yàn)類型:設(shè)計(jì)型(4學(xué)時(shí))2. experimemts ty

38、pedesign(4 periods)三、實(shí)驗(yàn)原理時(shí)間流仿真主要是指在仿真過(guò)程中設(shè)定步長(zhǎng)后,仿真系統(tǒng)在每個(gè)時(shí)間點(diǎn)計(jì)算各個(gè)環(huán)節(jié)的狀態(tài)值。仿真通信系統(tǒng)的信源信號(hào)以及其它各個(gè)仿真環(huán)節(jié)(調(diào)制、發(fā)送、信道傳輸、接受、解調(diào)等等)的信號(hào)均是按照步長(zhǎng)從一個(gè)時(shí)間點(diǎn)計(jì)算到下一個(gè)時(shí)間點(diǎn)的。matlab軟件的simulink是數(shù)據(jù)流仿真的最佳工具,使用其模塊庫(kù)提供的模塊可以快速搭建仿真通信系統(tǒng)中的常用環(huán)節(jié),并且可以仿真系統(tǒng)的實(shí)時(shí)運(yùn)行狀態(tài)。3. experimental principle and instructionstime flow simulation means to compute status valu

39、es of all parts of the simulation system at each time point after the step-length is set. which means signals of each parts of the communication system (including the source, modulation parts, sending parts, channel parts, receiving parts, demodulation parts and so on) are computed one time point to

40、 the next according to the simulation step-length.simulink is the best time flow simulation tools provided by matlab, it can speed up the establishment of the simulation model parts by offering many kinds of modules in simulink lib. and easily simulate real-time statuses of the system model.四、實(shí)驗(yàn)儀器序

41、號(hào)名 稱主要用途1pc機(jī)為編程仿真提供硬件環(huán)境2matlab軟件(含simulink及通信工具箱)為編程仿真提供軟件平臺(tái)4. experiment instrumentsserial numbernamemain applications1pchardware environment of simulation2matlab softwaresoftware environment of simulation五、實(shí)驗(yàn)內(nèi)容和步驟實(shí)驗(yàn)內(nèi)容用simulink設(shè)計(jì)一個(gè)簡(jiǎn)單的am調(diào)制解調(diào)通信系統(tǒng)的數(shù)據(jù)流仿真過(guò)程。要求所仿真的通信系統(tǒng)要按照以下要求設(shè)計(jì)各個(gè)am調(diào)制解調(diào)環(huán)節(jié):(1)信源:隨機(jī)信號(hào)(2)調(diào)制:

42、載波信號(hào)取正弦信號(hào),載波頻率要在信源信號(hào)最高頻率3倍以上(3)信道:awgn(4)解調(diào):載波信號(hào)取給與(2)中相同的正弦信號(hào),同頻同相(5)信宿:輸出解調(diào)結(jié)果實(shí)驗(yàn)步驟(1)細(xì)化上述各個(gè)仿真環(huán)節(jié)所采用的具體方法或數(shù)學(xué)表達(dá)式以及系統(tǒng)的初始狀態(tài)(參數(shù)),并繪制仿真程序的流程圖(2)打開(kāi)*.m文件編輯器(3)按照流程圖編寫代碼(4)調(diào)試(5)記錄具體設(shè)計(jì)方案和參數(shù),實(shí)驗(yàn)結(jié)果等(6)完成實(shí)驗(yàn)報(bào)告例i. 在實(shí)驗(yàn)之前仔細(xì)閱讀附錄中關(guān)于simulink通信工具箱的基本介紹。ii. 利用桌面的快捷圖標(biāo)或是從開(kāi)始-程序-matlab打開(kāi)matlab軟件,然后點(diǎn)擊simulink快捷按鈕iii. 在模塊庫(kù)中打開(kāi)“c

43、ommunication blockset”通信工具箱模塊庫(kù)iv. 按“新建” 快捷按鈕,建立一個(gè)新的模型文件v. 打開(kāi)analog mo/dem模塊庫(kù),選擇上述調(diào)制方法中的至少六種調(diào)制解調(diào)方式(12個(gè)模塊)依次用上面提到的模塊搭建成如下圖所示的模型,運(yùn)行,觀看結(jié)果,并將所有示波器的輸出記錄下來(lái)。(模塊中的參數(shù)中,所有的載波頻率設(shè)成100hz,待傳輸?shù)恼倚盘?hào)頻率設(shè)為1,仿真時(shí)間設(shè)為10秒,仿真時(shí)間步長(zhǎng)設(shè)為0.001秒,其余參數(shù)請(qǐng)根據(jù)課上老師講解內(nèi)容設(shè)置。)vi. 記錄結(jié)果,完成實(shí)驗(yàn)報(bào)告5. experiment contents and stepsexperiment contents:de

44、sign a simple am modem system, implement the design in data flow simulation way by using simulink. all the parts of the communication system should simulated according to the follow requests:(1)source: random signal(2)modulation: carrier should be sine signal which frequency should be greater than t

45、he maximum frequency of source signal(3)channel:awgn(4)demodulation: carrier should be the same as in (2), not only same frequency, but also same phase(5)sink:output the demodulation resultsexperiment and steps:a) determine the functions, formulas and initial status (parameters) in all parts of the

46、simulation system, then finish the flow chart. b) open *.m file editor.c) programming according to the flow chart.d) debugging.e) record the design plan and parameters, as well as experiment resultsf) finish the report.六、實(shí)驗(yàn)數(shù)據(jù)處理與分析1. 記錄定義的仿真變量、參數(shù)以及仿真結(jié)果。2. 與實(shí)際理論結(jié)果比較驗(yàn)證,并分析不同的原因。6. experiment data recor

47、ding, processing and analysis(1) record all the variables and parameters defined in the design and the simulation results.(2) compare the results with theoretical value, analysis the reason why there are differences between them.七、注意事項(xiàng)1. 在仿真運(yùn)行之前要仔細(xì)檢查各個(gè)模塊的參數(shù)的設(shè)置,否則運(yùn)行時(shí)可能會(huì)出現(xiàn)錯(cuò)誤。2. 仿真步長(zhǎng)的設(shè)置:要保證仿真運(yùn)行時(shí)的仿真步長(zhǎng)&l

48、t;所有模塊中最小抽樣時(shí)間的一半。7. attentionsa) module parameters should be examined carefully before the simulation running in order to avoid error occurs.b) set simulation step-length carefully: the simulation step-length < minimum sample time/2.八、預(yù)習(xí)與思考題1. 你仿真的方法是否為蒙特卡洛方法?2. 你設(shè)計(jì)的調(diào)幅是以下哪一種調(diào)制方式?adsb-scb.usbc.lsb

49、d.vsbe.am with carrier3. 你在信道上疊加的噪聲信噪比是多少?4. 你解調(diào)的方式是相干解調(diào)嗎?5. 與實(shí)驗(yàn)二相比,你認(rèn)為最大的區(qū)別是什么?8. answer before & after experimentsa) did you simulate the system by using monte carlo theory?b) what modem functions did you designed in this experiment? choose from below: adsb-scb.usbc.lsbd.vsbe. am with carrierc

50、) how much noise (nsr) did you add in the channel? d) did you demodulate the signal by using coherent theory?e) whats the most different part do you think between this experiment and the last one?實(shí)驗(yàn)四 通信系統(tǒng)設(shè)計(jì)仿真exp.4 communication system design and simulation一、實(shí)驗(yàn)?zāi)康呐c要求1. 了解使用matlab對(duì)信通信系統(tǒng)仿真的設(shè)計(jì)方法2. 學(xué)習(xí)分工合作

51、1. experimental purpose and requirementsl get to know how to design and simulate a communication system.l get to know how to co-operate with each other.二、實(shí)驗(yàn)類型:創(chuàng)新型(8學(xué)時(shí))2. experimemts typecreative(8 periods)三、實(shí)驗(yàn)原理及說(shuō)明利用matlab軟件設(shè)計(jì)并仿真出你所學(xué)過(guò)的某一種通信系統(tǒng)。分工合作:本實(shí)驗(yàn)為團(tuán)體性實(shí)驗(yàn),每一組學(xué)生若干,同一組的學(xué)生自行劃分工作任務(wù),每個(gè)人完成自己的任務(wù)部分,并主要對(duì)自己

52、的任務(wù)部分作出實(shí)驗(yàn)報(bào)告。3. experimental principle and instructionsdesign and simulate a communication system youve learn by using matlab.cooperates: this is an experiment works on team, one team can no more than 6 students, each member finish his own task assigned on the whole teams agreements, and make report

53、mainly on his own topics responsible for. 四、實(shí)驗(yàn)儀器序 號(hào)名 稱主要用途1pc機(jī)為編程仿真提供硬件環(huán)境2matlab軟件(含simulink及通信工具箱)為編程仿真提供軟件平臺(tái)4. experiment instrumentsserial numbernamemain applications1pchardware environment of simulation2matlab softwaresoftware environment of simulation五、實(shí)驗(yàn)內(nèi)容和步驟實(shí)驗(yàn)內(nèi)容:(1)實(shí)驗(yàn)題目a.基于matlab的pm系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)b

54、.基于matlab的fm系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)c.基于matlab的pam系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)d.基于matlab的pdm系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)e.基于matlab的數(shù)字基帶傳輸系統(tǒng)(snrz)仿真設(shè)計(jì)與實(shí)現(xiàn)f.基于matlab的數(shù)字基帶傳輸系統(tǒng)(srz)仿真設(shè)計(jì)與實(shí)現(xiàn)g.基于matlab的數(shù)字基帶傳輸系統(tǒng)(dnrz)仿真設(shè)計(jì)與實(shí)現(xiàn)h.基于matlab的數(shù)字基帶傳輸系統(tǒng)(drz)仿真設(shè)計(jì)與實(shí)現(xiàn)i.基于matlab的數(shù)字頻帶傳輸系統(tǒng)(2ask)仿真設(shè)計(jì)與實(shí)現(xiàn)j.基于matlab的數(shù)字頻帶傳輸系統(tǒng)(2fsk)仿真設(shè)計(jì)與實(shí)現(xiàn)k.基于matlab的數(shù)字頻帶傳輸系統(tǒng)(2psk)仿真設(shè)計(jì)與實(shí)現(xiàn)l.基于matlab的

55、數(shù)字頻帶傳輸系統(tǒng)(2dpsk)仿真設(shè)計(jì)與實(shí)現(xiàn)m.基于matlab的am系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)(dsb-sc調(diào)制,相干解調(diào))n.基于matlab的am系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)(usb調(diào)制,相干解調(diào))o.基于matlab的am系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)(lsb調(diào)制,相干解調(diào))p.基于matlab的am系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)(vsb調(diào)制,相干解調(diào))q.基于matlab的am系統(tǒng)仿真設(shè)計(jì)與實(shí)現(xiàn)(am with carrier調(diào)制,相干解調(diào))(2)實(shí)驗(yàn)說(shuō)明i. 本實(shí)驗(yàn)成績(jī)記入本門課程的平時(shí)成績(jī)(占總成績(jī)的20%),本實(shí)驗(yàn)沒(méi)有完成的學(xué)生取消期末考試資格ii. 在規(guī)定時(shí)間內(nèi)(8個(gè)實(shí)驗(yàn)學(xué)時(shí)內(nèi))上交完整的仿真文件(模型)設(shè)計(jì)說(shuō)明書(shū)實(shí)

56、驗(yàn)報(bào)告,才算完成本實(shí)驗(yàn)iii. 每組實(shí)驗(yàn)題目不能相同,都采用monte carlo仿真方法iv. 組長(zhǎng)由組員推薦產(chǎn)生,未能推薦則由教師指定;組員在經(jīng)所有相關(guān)人員同意后,可以與其它組組員互換,每組總?cè)藬?shù)<7人v. 組員任務(wù)不重疊,任務(wù)可以按照功能劃分,也可以按照職能劃分vi. 設(shè)計(jì)說(shuō)明書(shū)格式見(jiàn)附錄;vii. 實(shí)驗(yàn)報(bào)告每人重點(diǎn)寫其個(gè)人負(fù)責(zé)任務(wù)部分即可,實(shí)驗(yàn)報(bào)告要包含實(shí)驗(yàn)總體設(shè)計(jì)圖、實(shí)驗(yàn)數(shù)據(jù)(參數(shù))、實(shí)驗(yàn)結(jié)果記錄;報(bào)告不合格者取消期末考試資格實(shí)驗(yàn)步驟:自行設(shè)計(jì)系統(tǒng)結(jié)構(gòu),自定參數(shù),利用matlab提供的工具箱或模塊庫(kù)構(gòu)建仿真系統(tǒng),并將系統(tǒng)結(jié)構(gòu)圖、實(shí)驗(yàn)步驟、輸出波型或記錄數(shù)據(jù)的文件名以及實(shí)驗(yàn)中所采用的主要參數(shù)如實(shí)地記錄在實(shí)驗(yàn)報(bào)告上。1 根據(jù)題目確定具體設(shè)計(jì)方案2 利用桌面的快捷圖標(biāo)或是從開(kāi)始-程序-matlab打開(kāi)matlab軟件3 打開(kāi)*.m文件編輯器(或simulink)4 在*.m文件編輯器(或simulink)中輸入代碼(或模塊)5 設(shè)置相應(yīng)的參數(shù)6 開(kāi)始仿真7 觀看仿真結(jié)果8 記錄結(jié)果,作仿真效果分析,完成實(shí)驗(yàn)報(bào)告5. exper

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論