基于MATLAB的差错控制技术仿真本科毕业论文 联系客服

发布时间 : 星期一 文章基于MATLAB的差错控制技术仿真本科毕业论文更新完毕开始阅读51658b1dae45b307e87101f69e3143323968f51b

基于Matlab的差错控制技术仿真

摘 要

近些年来,通信增值业务得到迅速发展,保证通信中较低信噪比情况下的数据无误传输,提高通信的有效性和可靠性显得越来越重要,而差错控制技术对于提高通信系统的传输可靠性具有重要意义。

在通信传输过程中,由于各种因素的影响数据可能变得紊乱或丢失,造成发送的数据和接收的数据不一致而出现差错。差错控制是在数字通信中利用编码方法对传输中产生的差错进行控制,以提高数字消息传输的准确性。而信道编码是通信系统中采用的一种差错控制措施。

在信道编码过程中,发送端将会给被传输的信息上附加一些监督码元,进行特定编码,在监督码元与信息码元之间以某种确定的规则相互关联且约束。在接收端以既定之规则来校验信息码元与监督码元之间的关系,一旦在传输过程中发生差错,则信息码元与监督码元的关系就会受到破坏,从而在接收端可以发现错误乃至纠正错误。

由此可见一种好的信道编码即一种好的差错控制技术对于提高通信系统的传输可靠性具有重要意义。

关键词:差错控制;信道;Matlab;线性码;循环码

I

The error control simulation base on Matlab

Abstract

In recent years, the communication value-added services have developed rapidly. To ensure that data is correctly trans missed in low SNR, it is important to improve the effectiveness and reliability of communication. Indeed, error control techniques paly an major role in enhancing the reliability of the communication system.

Due to the influence of various factors, the data may become disordered or lost in the transmission process; and result to inconsistent data during dispatch and reception. Error control makes use of coding method to control the errors in the transmission in digital communication; in order to improve accuracy of transmission. Moreover, the channel coding is one of error control measures used in the communication system.

In the channel encoding process, the data will be attached several supervise code elements by sending terminal for specific coding; thus, establish certain rules and relevant constraints between supervise code element and information code element. The receiving terminal verify the supervise code element and information code element by certain rules. Once errors occur during transmission, the destroyed relationship between supervise code element and information code element can be discovered and corrected by the receiving terminal.

In a word, a good channel coding that is, a good error control techniques have an important significance for improving the transmission reliability of the communication system.

Key Words: Error control; Channel; Matlab; Linear coding; Cyclic code

II

目 录

1绪论 ........................................................................................................................... 1

1.1综述 ..................................................................................................................... 1 1.2题目背景 ............................................................................................................. 1 1.3课题研究意义 ..................................................................................................... 1 1.4国内外相关研究情况 ...................................................... 错误!未定义书签。 1.5本文主要研究工作 ............................................................................................. 2

2相关技术介绍 ........................................................................................................ 3

2.1差错控制技术 ..................................................................................................... 3 2.1.1差错控制的基本方式 .................................................................................. 3 2.1.2差错控制编码 .............................................................................................. 4 2.1.3差错控制编码的分类 .................................................................................. 4 2.1.4差错控制编码的基本原理 .......................................................................... 5 2.2线性分组码 ......................................................................................................... 5 2.2.1线性分组码基本概念 .................................................................................. 5 2.2.2线性分组码编码原理 .................................................................................. 6 2.2.3线性分组码译码原理 .................................................................................. 6 2.3循环码 ................................................................................................................. 7 2.3.1循环码基本概念 .......................................................................................... 7 2.3.2循环码的多项式表示及生成矩阵 .............................................................. 7 2.3.3循环码编码原理 .......................................................................................... 8 2.3.4循环码译码原理 .......................................................................................... 9

3 Matlab软件与Simulink仿真平台 ............................................................ 11

3.1 Matlab ................................................................................................................ 11 3.1.1 Matlab发展史 ............................................................................................ 11 3.1.2 M文件 ........................................................................................................ 12 3.1.3程控流语句 ................................................................................................ 13 3.2 Matlab ................................................................................................................ 14 3.2.1 Simulink简介 ............................................................................................ 14 3.2.2 Simulink模块 ............................................................................................ 14

4基于Matlab差错控制技术仿真及结果分析 .......................................... 16

4.1线性分组码差错控制仿真 ............................................................................... 16 4.1.1线性分组码仿真步骤 ................................................................................ 16

III

4.1.2线性分组码差错控制仿真系统模型........................................................ 16 4.1.3线性分组码仿真流程及结果分析 ............................................................ 17 4.2循环码差错控制仿真 ....................................................................................... 24 4.2.1循环码仿真步骤 ........................................................................................ 24 4.2.2循环码差错控制仿真系统模型 ................................................................ 25 4.2.3循环码仿真流程及结果分析 .................................................................... 25

5结论 ......................................................................................................................... 32

5.1结论 ................................................................................................................... 32 5.2心得体会 ........................................................................................................... 32

参考文献 ................................................................................................................... 33 致 谢 ....................................................................................................................... 34 毕业设计(论文)知识产权声明 ................................................................... 35 毕业设计(论文)独创性声明 ........................................................................ 36 附录1 二进制线性分组码的差错控制仿真流程图 ................................. 37 附录2 二进制循环码的差错控制仿真流程图 .......................................... 38 附录3 相关绘图程序 .......................................................................................... 39

IV