EEEE2057代做、Matlab语言编程代写
EEEE2057 Coursework 2
Digital Modulation
The aim of the coursework is to evaluate BER for a range of popular digital modulation techniques.
The coursework has a total of four tasks:
- Task 1 is familiarisation with the Matlab Simulink programme and the parameters of the
simulation. For this part a manual on how to build a simple communication channel is added
in this document.
- Task 2 is evaluation of the BER for QPSK, 8PSK, 16PSK, 64PSK, 4QAM, 8QAM, 16QAM and
64QAM modulation techniques in the presence of the additive white Gaussian noise.
For a given modulation scheme, the BER analysis is done by changing the signal to noise ratio
(parameter Eb/No) in the communication block that has additive white noise (AWGN block).
Please note that the simulation parameters will need to be adjusted for each modulation
technique. The corruption in data can also be demonstrated by sending a small text file (eg.
Poem) across the link to note corruption in the transmission.
- Task 3 will consider a practical transmission system where additive white noise, time delay
and frequency offset are added as a consequence of a more realistic communication system.
The effect of the low pass filter on signal spectrum is also included. In this task you will plot
BER for QPSK and compare that results from the one obtained in Task 2 and comment on the
results.
- Task 4 is a report outlining the simulation build together with simulation results and
conclusions.
Guidance on how to build a communication link in Simulink is given in the Appendix.
A report of results should be in the provided document and should not be longer than 4 pages. The
penalty for exceeding the length is 5% per page.
The marking scheme is given in Table 1.
Table 1. Rubric marking scheme
Appendix: BUILDING A QPSK COMMUNICATION CHANNEL IN SIMULINK
This manual will help you define a very simple communication channel with additive white noise.
The only parameters that you will need to change is to use different modulation and
demodulation boxes and obtain BER analysis for each type of modulation. Parameters in boxes
need to be defined accordingly.
Open the Matlab programme.
Click on Simulink on the top bar:
Click on Blank Model:
Click on Library Browser. This Library has all the components that can be used to build a
communication system.
This is the circuit you want to build:
Start:
Use the Library Browser or Toolboxes to find the required Simulink Blocks. Start by building the
central communication channel, which includes the AWGN (Additive White Gaussian Noise) element.
Drag your building blocks from the Library to your Simulink worksheet or workspace as follows:
Click on Communication Toolbox->Modulation->Utility Blocks and drag Integer to Bit Converter
into the workspace.
Click on Communication Toolbox->Modulation->Digital Baseband.
Double click on Digital Baseband -> PM and drag into the workspace QPSK modulator and QPSK
demodulator block.
Click on Communication Toolbox->Channels->AWGN channel and drag the AWGN channel block
into the workspace. AWGN block adds Gaussian white noise to the signal.
Click on Communication Toolbox->Comm Sinks and drag Error Rate Calculation into the workspace
In Error rate Calculation set the Output data to Port:
Click on Simulink->Sinks and drag the Display box into the workspace. Display box will show the
reading for the BER.
Use the arrows at the input/output ports of each block to connect them as shown below. Use the Tx
arrow of the Error Calculation block to connect it to transmitter. The completed system now looks
like:
For the left hand section, develop the following:
Here we have a text input for the poem or limerick that we want to transmit across our data link.
Use a “String Constant” block as the source of your data. Use the Library Browser to find blocks that
you need to build your simulation model.
Modify the “String Constant” block so that it contains to be transmitted across the data link. The
“Output data type” is selected as a “string” type. The block has been renamed “POEM”. Carriage
return and line feed characters have been added here, but these are optional.
We will clock the data through our communication link. A “Digital Clock” block, found in the Library
Browser will be used to clock the data.
A time period of 2 milliseconds is used to clock the data. If we have a data sequence of around 500
bytes then we can transfer this in 1 Second.
A counter is employed as an index variable into the string of characters that are to be transmitted.
Employ the Counter Block from the DSP System Toolbox. Select the parameters as follows:
The “Maximum count” is set to 512. This is enough to span the length of the poem. The “Initial
count” is set to 1. The “Count data type” is set to double. The “Reset input” check box is selected
Use the “Select Columns” block, found from the Library Browser to index and sequence through the
data to be transmitted across our communications link.
Here, the “Number of input signals” is one. It is the complete string that is to be transmitted. The
input from the counter is an index into the string, so that each character is selected in turn.
More detail on the output section is shown here.
Use the “Signum” block from the Simulink Library Browser to route the received signal to the Bit to
Integer Converter. Within the sign block, select the “Enable zero-crossing detection” check box.
.
Drag a “Bit to Integer Converter” block from the Simulink Library Browser for inclusion in our
model. Set the Number of bits per integer to 8. Select MSB first to ensure consistency with our
transmitter. The rest of the parameters are set as follows:
Include an ASCII to string block, source from the Simulink Library Browser. The output section is
completed through “To Workspace” blocks to save the received data.
The middle section includes the QPSK modulator, Additive White Gaussian Noise and QPSK
demodulator blocks.
Add a “Callback Buttion” to post-process the simulation data. This post-processing calculates the
percentage of corrupted characters that occurred during the transmission. The Matlab script to
calculate this is:
Check that you have set all the parameters correctly for the QPSK modulation.
For QPSK modulator: input type is integer; phase offset is pi/4; For different type of M-ary
modulation the phase offset will be different.
AWGN block: Mode: Signal to noise ratio; Number of bits per symbol = 2; Input signal power =1 W;
samples per symbol =1; Different modulation will have different number of bits per symbol but
the samples per symbol is kept fixed 1.
For QPSK demodulator: input type is integer; phase offset is pi/4; For different type of M-ary
modulations the phase offset will be different.
For longer simulation runs that evaluate Eb/N, longer data sequences may be obtained through the
inclusion of a random data generator as shown below:
Now click on Run and observe E Eb/N=5dB and observe and record error rate calculation in the display
box.
Change Eb/N in the AWGN block and repeat to get a waterfall plot for QPSK.
Please note the parameter “Stop time” is set to 1000 sec. You should investigate the impact of this
parameter as part of the coursework in the Task 1. In order to obtain accurate results you need to
consider a signal of adequate duration and the duration of the signal is controlled by the parameter
“Stop time”.
Please note for M-QAM modulations select Rectangular QAM Modulator (and Demodulator) and
select “Average Power” for normalisation method. Below are parameters for 4QAM:
Save your model!
The objective in this task is to assess the BER (Bit Error Rate) for different modulation schemes and
to note the level of corruption that can occur when transferring our text file across the
communication link.
Manual for Task 3 only:
Open Matlab and click on Simulink. Click on Examples -> Communication Toolbox and then open
QPSK Transmitter and Receiver.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- 星际商机的异度航程:WhatsApp筛选器营销在B2B市场的领先策略
- 数字产品交易平台的革新力量
- WhatsApp全球拉群,ws协议号一键注册/ws群发策略/ws养号技巧
- Ins高效群发软件,Instagram智能监控引流软件带你成为外贸专家!
- 跨境电商革命:Line代筛料子引领未来营销
- CS 211编程代做、代写c/c++,Java程序
- 少走弯路 不踩坑 Datadog 的替代品来了
- WhatsApp群发/ws劫持号/ws协议号/ws拉群/WS全业务咨询
- Ins群发筛选软件,Instagram群发注册工具,让你的营销更简单!
- Instagram营销群发软件,Ins一键群发工具,助你实现营销梦想!
- 再突破!仁济医院嘉定分院完成国产单孔机器人医源性输尿管狭窄修复术
- Ins/Instagram自动超级爆粉软件,ins群发采集一键完成!
- TG、WS、Zalo、line海外营销代筛料子软件有哪些,乐乐解答
- Instagram营销私信软件,ins全球粉丝采集工具,ig博主引流软件
- 赛诺威盛:大孔径专科化CT领航者
- 在国际业务中无往不利 WhatsApp拉群营销工具助你事业海阔天空
- Telegram群发云控 工具是我生意成功的秘密武器,每一次成交都是一次喜悦的胜利
- ADMCF326BRZ: Precision Analog Front-End for Sensory Perfection | ChipsX
- WhatsApp协议号如何购买,ws协议号特价销售/ws劫持号介绍/ws频道号优选
- Line协议号注册器,全球协议管理的领先者,助您实现海外市场的巅峰
- 代写Deep Learning、代做Python设计程序
- 四川玻璃工程始终秉承“诚信经营、质量第一”的宗旨
- 视爵光旭点亮城市文旅,引燃五一黄金周热潮
- instagram快速引粉营销攻略,ins群发引流技巧大揭秘!
- 选择村屋上网服务小贴士
- Instagram2024最新引流技巧,ins电商引粉实战教程,ig营销软件推荐
- Instagram引流私信软件,ins全球粉丝采集工具,ig博主推广神器
- 易智瑞:自然资源数字化治理能力提升关键技术解读
- 2024年刚过去三周,AI+机器人赛道就迎来爆发式开局!
- 没有WhatsApp拉群工具 我曾经的工作就像是踩着泥潭前行 每一步都显得沉重而艰难 每天都需要手动添加联系人 发送消息 效率低下且效果不佳 让我倍感压力
推荐
- B站更新决策机构名单:共有 29 名掌权管理者,包括陈睿、徐逸、李旎、樊欣等人 1 月 15 日消息,据界面新闻,B站上周发布内部 科技
- 全力打造中国“创业之都”名片,第十届中国创业者大会将在郑州召开 北京创业科创科技中心主办的第十届中国创业 科技
- 智慧驱动 共创未来| 东芝硬盘创新数据存储技术 为期三天的第五届中国(昆明)南亚社会公共安 科技
- 如何经营一家好企业,需要具备什么要素特点 我们大多数人刚开始创办一家企业都遇到经营 科技
- 创意驱动增长,Adobe护城河够深吗? Adobe通过其Creative Cloud订阅捆绑包具有 科技
- 升级的脉脉,正在以招聘业务铺开商业化版图 长久以来,求职信息流不对称、单向的信息传递 科技
- 丰田章男称未来依然需要内燃机 已经启动电动机新项目 尽管电动车在全球范围内持续崛起,但丰田章男 科技
- 老杨第一次再度抓握住一瓶水,他由此产生了新的憧憬 瘫痪十四年后,老杨第一次再度抓握住一瓶水,他 科技
- 苹果罕见大降价,华为的压力给到了? 1、苹果官网罕见大降价冲上热搜。原因是苹 科技
- 疫情期间 这个品牌实现了疯狂扩张 记得第一次喝瑞幸,还是2017年底去北京出差的 科技