基于以太网的数字相机数据光纤传输技术研究
发布时间:2018-08-07 07:54
【摘要】:光纤传输利用新一代的光纤作为传输介质,具有传输速度快、数据带宽高、传输距离远、信号损耗很低等优点,适合大容量数据的远距离高速传输。而且在信息传输安全方面看,也比其他传输技术高的多。数字相机以CCD或CMOS作为成像介质,能将光信号有效的转换为电信号,便于后期的传输及处理,现已获得极大的应用。 以太网技术从一推出开始就显示出了强大的生命力并获得了巨大的发展,利用以太网带宽大的优势来传输高质量的图像数据变得越来越有诱惑力。其他传输协议与以太网相比起来,其带宽仍然相对较小,数据传输速率相对较低,无法满足高质量图像高速传输的要求。以太网技术可以很好的满足这一要求,实现了大量数据的高速传输。 本文正是利用千兆光纤以太网来传输数字相机数据,以获得数据的高速传输。同时采用FPGA来实现以太网协议,提高了系统的可移植性和灵活性,并为以后系统的升级带来了方便。本文首先介绍了数字相机的工作原理以及光纤传输的理论基础,其次完成了系统所用电路板的设计工作,介绍了电路板各个模块的电路原理图设计方法,包括所用器件的选择和使用,重点介绍了FPGA芯片和物理层芯片88E1111的原理和使用,利用硬件配置方法对88E1111芯片的工作模式进行了配置。再次,着重介绍了在FPGA中基于VHDL语言实现了以太网MAC层功能,并与88E1111通过GMII接口实现了通信。简单介绍了程序顶层模块的结构以及各个子模块的功能与实现方法,包括MAC模块、时钟产生模块、数据缓存FIFO模块等等。编译代码无误后,结合modelsim对程序进行了功能仿真,,验证了程序的正确性。最后,在PC机终端编写了基于WinPcap的VC++采集界面,对系统发送的数据包进行抓取,实现FPGA与PC机的通信,并验证数据的正确性。对FPGA PHY端口送出的信号以及PC机采集到的信号数据进行分析,表明系统实现了预定的功能且运行稳定。
[Abstract]:Optical fiber transmission uses the new generation of optical fiber as transmission medium, which has the advantages of high transmission speed, high data bandwidth, long transmission distance and low signal loss, etc. It is suitable for long-distance and high-speed transmission of large capacity data. And in terms of information transmission security, also higher than other transmission technology. With CCD or CMOS as imaging medium, digital camera can effectively convert optical signal into electrical signal, which is convenient for later transmission and processing, so it has been widely used. Ethernet technology has shown great vitality and great development from the beginning of its introduction. It becomes more and more attractive to use the advantage of Ethernet bandwidth to transmit high quality image data. Compared with Ethernet, the bandwidth of other transmission protocols is still relatively small, and the data transmission rate is relatively low, which can not meet the requirements of high quality image transmission. Ethernet technology can meet this requirement very well, realized the high-speed transmission of a lot of data. This paper uses gigabit fiber Ethernet to transmit digital camera data to obtain high-speed data transmission. At the same time, the Ethernet protocol is implemented by FPGA, which improves the portability and flexibility of the system, and brings convenience to the upgrade of the system in the future. This paper first introduces the working principle of digital camera and the theoretical basis of optical fiber transmission, then completes the design of the circuit board used in the system, and introduces the circuit schematic design method of each module of the circuit board. The principle and use of FPGA chip and physical layer chip 88E1111 are introduced, and the working mode of 88E1111 chip is configured by hardware configuration method. Thirdly, the function of Ethernet MAC layer based on VHDL language in FPGA is introduced, and the communication with 88E1111 through GMII interface is realized. This paper briefly introduces the structure of the top-level module of the program and the functions and implementation methods of each sub-module, including the MAC module, the clock generation module, the data cache FIFO module and so on. After compiling the code correctly, the program is simulated with modelsim to verify the correctness of the program. Finally, the VC acquisition interface based on WinPcap is written at the PC terminal, the data packet sent by the system is fetched, the communication between FPGA and PC is realized, and the correctness of the data is verified. By analyzing the signal from FPGA PHY port and the signal data collected by PC, it is shown that the system achieves the scheduled function and runs stably.
【学位授予单位】:中国科学院研究生院(西安光学精密机械研究所)
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.11
本文编号:2169370
[Abstract]:Optical fiber transmission uses the new generation of optical fiber as transmission medium, which has the advantages of high transmission speed, high data bandwidth, long transmission distance and low signal loss, etc. It is suitable for long-distance and high-speed transmission of large capacity data. And in terms of information transmission security, also higher than other transmission technology. With CCD or CMOS as imaging medium, digital camera can effectively convert optical signal into electrical signal, which is convenient for later transmission and processing, so it has been widely used. Ethernet technology has shown great vitality and great development from the beginning of its introduction. It becomes more and more attractive to use the advantage of Ethernet bandwidth to transmit high quality image data. Compared with Ethernet, the bandwidth of other transmission protocols is still relatively small, and the data transmission rate is relatively low, which can not meet the requirements of high quality image transmission. Ethernet technology can meet this requirement very well, realized the high-speed transmission of a lot of data. This paper uses gigabit fiber Ethernet to transmit digital camera data to obtain high-speed data transmission. At the same time, the Ethernet protocol is implemented by FPGA, which improves the portability and flexibility of the system, and brings convenience to the upgrade of the system in the future. This paper first introduces the working principle of digital camera and the theoretical basis of optical fiber transmission, then completes the design of the circuit board used in the system, and introduces the circuit schematic design method of each module of the circuit board. The principle and use of FPGA chip and physical layer chip 88E1111 are introduced, and the working mode of 88E1111 chip is configured by hardware configuration method. Thirdly, the function of Ethernet MAC layer based on VHDL language in FPGA is introduced, and the communication with 88E1111 through GMII interface is realized. This paper briefly introduces the structure of the top-level module of the program and the functions and implementation methods of each sub-module, including the MAC module, the clock generation module, the data cache FIFO module and so on. After compiling the code correctly, the program is simulated with modelsim to verify the correctness of the program. Finally, the VC acquisition interface based on WinPcap is written at the PC terminal, the data packet sent by the system is fetched, the communication between FPGA and PC is realized, and the correctness of the data is verified. By analyzing the signal from FPGA PHY port and the signal data collected by PC, it is shown that the system achieves the scheduled function and runs stably.
【学位授予单位】:中国科学院研究生院(西安光学精密机械研究所)
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.11
【参考文献】
相关期刊论文 前2条
1 潘锐捷;陈彪;刘西安;;可编程逻辑器件的历程与发展[J];电子与封装;2008年08期
2 张伟;王韬;潘艳辉;郝震华;;基于WinPcap的数据包捕获及应用[J];计算机工程与设计;2008年07期
本文编号:2169370
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2169370.html