没有合适的资源?快使用搜索试试~ 我知道了~
光纤通信系统5b6b码译码的设计与仿真-毕业论文.doc
0 下载量 66 浏览量
2023-07-02
19:05:37
上传
评论
收藏 326KB DOC 举报
温馨提示
试读
35页
光纤通信系统5b6b码译码的设计与仿真-毕业论文.doc
资源推荐
资源详情
资源评论
I
光纤通信系统 5B6B 码译码的设计与仿真
中文摘要
在电力系统通信中,数字光纤通信由于其本身的优点得到越来越广泛的应
用。在数字光纤通信系统中,从电端机传输过来的电信号均要结合数字光纤通
信传输的特点经过线路码型的转换。通过线路码型的转变平衡数字码流中的
“0”和“1”码字,从而避免码流中出现长“0”或者长“1”的现象。在数字
光纤通信系统中比较常用的线路码型就是 mBnB 码型,mBnB 线路码型的最大优
点是最大相同码元连码数少、定时信息丰富、且有简单成熟的误码监测与码组
同步的方法。
5B6B 码编码是将自己编写的数据按照一定的规律,编成 6B 码流后输出;
而译码则是将传输到接收机的 6B 码流,翻译成 5B 码流后输出。5B6B 码译码
的过程是编码的逆过程,本文主要涉及到的是译码的过程,译码部分由序列产
生模块、缓冲模块以及译码模块构成。这篇论文重要介绍了光纤通信系统的优
缺点,组成以及发
展趋势;常见的线
路码型;Quartus2 软件的介绍;5B6B 码的译码原理和设计,最后对程序以及
电路译码的仿真,最终得到正确的结果。
关键词:5B6B 码译码;FPGA;VHDL 语言;Quartus2 软件;波形仿真
II
5B6B Code Decoding of Optical Fiber Communication
System Design and Simulation
ABSTRACT
In power system communication, digital optical fiber communication
because of its advantages to get itself more and more widely used. In the
digital optical fiber communication system, from the electric machine
transmission to come over to the electrical signals to combine the
characteristics of the digital optical fiber communication transmission via the
line type conversion. Through balance the digital stream line type "0" and "1"
in the code word, thus avoiding stream in "0" or "1" long. Are frequently used
in the digital optical fiber communication system in the line type is mBnB type,
the biggest advantage of this type is the same biggest mBnB line element
even less yards, timing, abundant information, simple and mature method of
error monitoring and synchronization code group.
5B6B code coding is to write your own data, according to certain rules
into after 6B stream output; The decoding is 6B stream will be transmitted to
the receiver, after translated into 5B stream output. 5B6B code decoding is
the process of the inverse process of coding, this paper mainly involves is the
III
process of decoding, decoding part produced by sequence module and buffer
module and decoding module. This paper the advantages and disadvantages
of important optical fiber communication system are introduced, the
composition and development trend; Common line type; The introduction of
Quartus2 software; 5B6B code decoding principle and design, finally, the
decoding process and circuit simulation, finally get the correct result.
KEY WORD:5B6B decoding; FPGA; VHDL language; Quartus2
software; Waveform simulation
I
目录
第一章 光纤通信系统......................................................................................................................1
1.1 光纤通信的优点与缺点......................................................................................................1
1.2 光纤通信系统的组成..........................................................................................................2
1.3 光纤通信的发展趋势..........................................................................................................2
第二章 光纤通信中的线路编码......................................................................................................4
2.1 线路扰码..............................................................................................................................4
2.2mBnB 码 ...............................................................................................................................5
2.3 插入码..................................................................................................................................5
第三章 Quartus2 软件的简单介绍 ...................................................................................................6
3.1 创建工程文件 .....................................................................................................................6
3.2 设计输入 .............................................................................................................................6
3.3 设计项目编译 ....................................................................................................................7
3.4 项目的仿真 .........................................................................................................................7
3.5 编程下载 ............................................................................................................................7
第四章 5B6B 码译码.........................................................................................................................9
4.1 5B6B 码译码原理 ...............................................................................................................9
4.2 5B6B 码译码的设计 .........................................................................................................10
4.3 译码电路的电路模块划分 ...............................................................................................10
4.3.1 序列产生模块 ........................................................................................................11
4.3.2 译码模块 ................................................................................................................11
4.4 5B6B 码译码的 VHDL 程序设计 ....................................................................................12
4.4.1 序列产生模块的设计与仿真................................................................................12
4.4.2 缓冲电路模块的设计与仿真................................................................................15
4.4.3 译码模块的设计与仿真........................................................................................17
4.4.4 顶层原理图的设计与仿真....................................................................................20
4.5 禁码的还原........................................................................................................................22
4.6 5B6B 码译码设计与仿真总结 .........................................................................................23
第五章 结束语.................................................................................................................................24
参考文献..........................................................................................................................................25
致谢..................................................................................................................................................26
附录 1:图表目录 .............................................................................................................................I
附录 2:5B6B 码码码表..................................................................................................................II
附录 3:序列产生模块 make_6b 代码 ..........................................................................................III
附录 4:缓冲电路的程序代码 ......................................................................................................IV
附录 5:译码模块 decode_change6bto5b 代码 .............................................................................IV
II
剩余34页未读,继续阅读
资源评论
yyyyyyhhh222
- 粉丝: 415
- 资源: 6万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功