华南理工大学电子与信息学院 《信息论基础与通信原理》期末大作业

上传者: 54707168 | 上传时间: 2021-07-04 17:03:37 | 文件大小: 19.39MB | 文件类型: ZIP
2020-2021年秋季学期华南理工大学本科生课程《信息论基础与通信原理》大作业/Big Project of the 2020-2021 SCUT Course "Information Theory and Principle of Communication" 本系统采用A律PCM编码,调制方式选用16PSK,解调方式为相关解调和相干解调 文件 main.py: 实现信号audio.wav在通信系统中的传输,验证时请运行此文件,运行后可得到接收信号audio_correlated_decoded.wav或audio_coherent_decoded.wav以及运行结果数据correlated.txt或coherent.txt test_and_plot: 测试audio.wav中少量数据点的传输效果,并绘制图像 performance_estimation: 测试系统输出的误差 audio.wav: 测试信号,选用歌曲《歌唱祖国》 文件夹 module: 存放自定义模块 audio_func.py: 信号基本操作,包括wav文件播放和ndarray到wav的转换 channel.py: 信道模拟,为信号加入AWGN pcm.py: 实现A律PCM编译码功能 psk16.py: 实现信号的16PSK调制解调 result: 存放程序运行结果 correlated.txt:相关解调结果,第一行为误比特个数,第二行为误比特个数与信号均值之比,第三行为运行时间 coherent.txt: 相干解调结果,第一行为比特个数,第二行为误比特个数与信号均值之比,第三行为运行时间 audio_correlated_decoded.wav: 系统使用相关解调时的输出 audio_coherent_decoded.wav:系统使用相干解调时的输出 audio_correlated_decoded_4.wav: 系统使用相关解调时的输出,噪声增强 audio_coherent_decoded.wav:系统使用相干解调时的输出,噪声增强 figure: 存放输出的图像 original_signal.png: 输入信号以及两种解调方式的输出 PCM_encoded_signal: PCM编码后的信号,以及经过相关/相干解调后的PCM编码 16PSK_modulated_signal: 经过16PSK调制后的模拟信号波形 corr_snr_err: 有差错控制编码时误码率与信噪比的关系 snr_err: 无差错控制编码时误码率与信噪比的关系 Warnings of the Program 作者编写程序时使用了Visual Studio Code,因此文件目录中含有配置文件夹.vscode。请按照您的工作环境修改或删除其中的内容。 16PSK调制解调的算法本身具有一定复杂度,因此运行main.py将十分耗费时间。在作者的工作环境下(Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz, 24.0GB RAM)进行一种调制解调需花费30-40分钟。 由于程序运行开销较大,因此我们在result文件夹中存放了两种解调方式的输出audio_correlated_decoded.wav和audio_coherent_decoded.wav,您可以直接播放这两个音频文件来检验系统效果。我们保证这两个文件是经过程序运行而得到的真实结果。 如果默认的测试信号(3分多钟)给您的计算机造成过大负担,可尝试将测试信号截短或者更换其他单通道wav信号。 psk16.psk16_modulate psk16.psk16_correlated_demodulate psk16.psk16_coherent_demodulate中的fc,fs为调制载波频率和码元速率,这里我们默认其为$f_c=10f_s$,您可以对之进行修改,但要保证它们的倍数为整数;我们不建议您将倍数设置得过大,否则运算量将成倍增加。 计算机只能使用离散信号代表连续的模拟信号,psk16.psk16_modulate psk16.psk16_correlated_demodulate psk16.psk16_coherent_demodulate中最后一个参数控制一个模拟载波周期中包含的数据点数(整数),请不要将该值设得过大,否则运算量将成倍增加。

文件下载

资源详情

[{"title":"( 41 个子文件 19.39MB ) 华南理工大学电子与信息学院 《信息论基础与通信原理》期末大作业","children":[{"title":"PSK16_Communication_system_with_correction-master","children":[{"title":"audio.wav <span style='color:#111;'> 5.76MB </span>","children":null,"spread":false},{"title":"performance_estimation.py <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"module","children":[{"title":"psk16.py <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"correction.py <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"pcm.py <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"channel.cpython-37.pyc <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"correction.cpython-37.pyc <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"psk16.cpython-37.pyc <span style='color:#111;'> 5.59KB </span>","children":null,"spread":false},{"title":"pcm.cpython-37.pyc <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"audio_func.cpython-37.pyc <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false}],"spread":true},{"title":"channel.py <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"audio_func.py <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"Readme.md <span style='color:#111;'> 4.82KB </span>","children":null,"spread":false},{"title":"result","children":[{"title":"audio_coherent_decoded_4.wav <span style='color:#111;'> 5.76MB </span>","children":null,"spread":false},{"title":"coherent.txt <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"audio_correlated_decoded.wav <span style='color:#111;'> 5.76MB </span>","children":null,"spread":false},{"title":"correlated.txt <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"audio_correlated_decoded_4.wav <span style='color:#111;'> 5.76MB </span>","children":null,"spread":false},{"title":"audio_coherent_decoded.wav <span style='color:#111;'> 5.76MB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":".gitignore <span style='color:#111;'> 47B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":true},{"title":"BigProject.iml <span style='color:#111;'> 585B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":true},{"title":"__pycache__","children":[{"title":"channel.cpython-37.pyc <span style='color:#111;'> 665B </span>","children":null,"spread":false},{"title":"psk16.cpython-37.pyc <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"mp32wav.cpython-37.pyc <span style='color:#111;'> 749B </span>","children":null,"spread":false},{"title":"pcm.cpython-37.pyc <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"soundBase.cpython-37.pyc <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"audio_func.cpython-37.pyc <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"test_and_plot.py <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"launch.json <span style='color:#111;'> 517B </span>","children":null,"spread":false}],"spread":true},{"title":"main.py <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"figure","children":[{"title":"original_signal.png <span style='color:#111;'> 52.75KB </span>","children":null,"spread":false},{"title":"PCM_encoded_signal.png <span style='color:#111;'> 27.20KB </span>","children":null,"spread":false},{"title":"16PSK_modulated_signal.png <span style='color:#111;'> 83.69KB </span>","children":null,"spread":false},{"title":"snr_err.png <span style='color:#111;'> 13.24KB </span>","children":null,"spread":false},{"title":"corr_snr_err.png <span style='color:#111;'> 15.75KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明