基于ULPI协议的USB接口的FPGA实现
发布时间:2018-07-24 13:42
【摘要】:近年来,因为体感输入技术掀起了人机交互技术第三次革命,并有巨大的市场价值,所以对体感输入技术进行研究的人越来越多。体感输入技术的核心是模式识别技术,涉及了大量图像算法,我们采用的方案是FPGA和ARM相配合,利用FPGA并行处理的速度优势和ARM对图像处理的特殊算法优化的优势,来实现体感输入的动作手势模式识别。 在体感输入设备产品化的过程中,FPGA和ARM,上位机之间需要交互大量数据,这就需要一个标准的数据总线接口。USB总线技术以其在实时性,通信速率,可靠性等方面的优势,使其目前在商业上的应用已经十分广泛。经过综合考虑,在我们的项目中,FPGA与外界通信时也采用USB协议。 本文就是针对USB协议中的ULPI协议,提出了相应的硬件电路与FPGA实现的解决方案。论文首先简单介绍了USB总线发展历程,总线的拓扑结构和电气物理特性。然后重点分析了ULPI协议的规范,ULPI接口的信号说明和工作方式,并说明了采用ULPI的PHY芯片的依据,同时介绍了相关硬件平台。最后重点论述了FPGA如何实现ULPI协议,及各个功能模块的分析,并从设备枚举开始,详细说明了各模块的具体工作流程,并对设备进行了实际通信测试。 本文所设计系统现在已经应用于实际工程中,实际测试结果表明,该实现方案使得数据通讯传输稳定,效率高。由于是纯逻辑设计,后期也可用于产品化,能够满足项目中的实际需求,对USB设备的接口FPGA实现与Soc集成有着指导和借鉴意义。
[Abstract]:In recent years, because of the third revolution of human-computer interaction technology and great market value, more and more people have studied the technology of perception input. The core of somatosensory input technology is pattern recognition technology, which involves a large number of image algorithms. The scheme we adopt is the cooperation of FPGA and ARM, the speed advantage of FPGA parallel processing and the advantage of ARM in optimizing special image processing algorithms. In order to realize the recognition of motion gesture pattern of somatosensory input. In the process of production of body sensation input equipment, FPGA and ARM need to exchange a large amount of data between host computer, which requires a standard data bus interface. USB bus technology has the advantages of real-time, communication rate, reliability and so on. It is now widely used in business. After comprehensive consideration, we also adopt USB protocol when communicating with the outside world in our project. Aiming at the ULPI protocol in USB protocol, this paper puts forward the corresponding hardware circuit and the solution of FPGA implementation. Firstly, the paper introduces the development of USB bus, its topology and physical properties. Then, the signal description and working mode of ULPI protocol specification are analyzed, and the basis of PHY chip using ULPI is explained, and the related hardware platform is also introduced. In the end, how to implement ULPI protocol in FPGA and the analysis of each function module are discussed, and the detailed workflow of each module is explained from the point of equipment enumeration, and the actual communication test is carried out. The system designed in this paper has been applied to practical engineering now. The actual test results show that this scheme makes the data communication stable and efficient. Because it is pure logic design and can be used for production in the later stage, it can meet the actual requirements of the project. It has guidance and reference significance for the FPGA implementation of USB device interface and Soc integration.
【学位授予单位】:大连海事大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP334.7;TP336
本文编号:2141564
[Abstract]:In recent years, because of the third revolution of human-computer interaction technology and great market value, more and more people have studied the technology of perception input. The core of somatosensory input technology is pattern recognition technology, which involves a large number of image algorithms. The scheme we adopt is the cooperation of FPGA and ARM, the speed advantage of FPGA parallel processing and the advantage of ARM in optimizing special image processing algorithms. In order to realize the recognition of motion gesture pattern of somatosensory input. In the process of production of body sensation input equipment, FPGA and ARM need to exchange a large amount of data between host computer, which requires a standard data bus interface. USB bus technology has the advantages of real-time, communication rate, reliability and so on. It is now widely used in business. After comprehensive consideration, we also adopt USB protocol when communicating with the outside world in our project. Aiming at the ULPI protocol in USB protocol, this paper puts forward the corresponding hardware circuit and the solution of FPGA implementation. Firstly, the paper introduces the development of USB bus, its topology and physical properties. Then, the signal description and working mode of ULPI protocol specification are analyzed, and the basis of PHY chip using ULPI is explained, and the related hardware platform is also introduced. In the end, how to implement ULPI protocol in FPGA and the analysis of each function module are discussed, and the detailed workflow of each module is explained from the point of equipment enumeration, and the actual communication test is carried out. The system designed in this paper has been applied to practical engineering now. The actual test results show that this scheme makes the data communication stable and efficient. Because it is pure logic design and can be used for production in the later stage, it can meet the actual requirements of the project. It has guidance and reference significance for the FPGA implementation of USB device interface and Soc integration.
【学位授予单位】:大连海事大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP334.7;TP336
【参考文献】
相关期刊论文 前10条
1 杨波 ,刘延波;具有USB2.0接口的高速数据采集卡设计[J];单片机与嵌入式系统应用;2004年04期
2 谭安菊;龚彬;;USB2.0控制器CY7C68013与FPGA接口的Verilog HDL实现[J];电子工程师;2007年07期
3 周德新,樊智勇;基于USB的ARINC429总线接口设计与实现[J];电子器件;2005年02期
4 杨志坤;曾博;汤国文;;基于FPGA的嵌入式系统USB接口设计[J];电子设计工程;2010年01期
5 陈姚节,邵平凡;USB接口的虚拟仪器硬件设计与实现[J];武汉理工大学学报(交通科学与工程版);2004年05期
6 莫林利;基于FPGA模式的USB接口数据加密系统的设计与实现[J];计算机与现代化;2005年02期
7 梁颖,游磊,饶蜀华,匡顺兰,王俭勤;基于USB接口数据采集卡的设计与实现[J];计算机测量与控制;2005年04期
8 倪明辉;周军;杨庚;;USB在FPGA控制的高速数据采集系统中的应用[J];计算机测量与控制;2006年02期
9 吕超;张玉霞;王立欣;;USB接口高速数据传输的实现[J];计算机测量与控制;2009年05期
10 齐洪喜;周大水;;基于FPGA&ASIC的专用USB接口设计与实现[J];山东大学学报(工学版);2006年03期
,本文编号:2141564
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2141564.html