基于USB2.0高速接口的气动打标机系统的开发
发布时间:2018-12-20 14:27
【摘要】:气动打标技术是用数控设备控制打印针头按照编辑好的字符或图形轨迹运动,同时气动设备控制高压气体高频冲击打印针,在工件表面形成由密集点阵组成的字符或图形的一种打标技术。气动打标机系统是由机械、电子和数控技术组成的产品,其在工业领域应用十分广泛。近年来,随着计算机技术的发展,USB2.0接口凭借其诸多优势已经普及,因此,开发基于USB2.0高速接口的气动打标机系统,提高企业产品竞争力成为必然。本文根据课题实际需要,提出并实施了一种基于USB2.0的高速接口的气动打标机系统方案。 本文依次从硬件和软件两方面介绍了系统的解决方案和实施技术。上位机客户端软件采用Visual Basic开发,USB功能驱动程序则采用DriverStudio工具软件来开发,并采用Visual C++来开发的动态链接库(DLL);使用Altium Designer软件制作印制电路板;采用CYPRESS公司生产的USB2.0芯片CY7C68013A来实现数据的传输;采用AT89S52单片机来完成数控插补运算及对步进电机的运动控制和I/O处理;在Keil uVision4开发环境下,用基于单片机的C51语言编写了CY7C68013A的数据通信软件和AT89S52的数控插补及I/O处理软件;最后对系统进行了联机调试。 该系统实用性强,采用自主设计的USB2.0接口系统与传统的并行接口相比,抗干扰能力强,硬件电路集成度高、功耗低、成本低,支持热插拔,即插即用、兼容性强。USB数据传输采用CY7C68013A的Slave FIFO模式,数据传输速度快,能稳定的完成数据的传输。USB2.0数据传输模块与PC机的通讯采用通用动态函数库封装,保证了该模块在不同编程平台下的通用性,易用性,便于系统的升级。
[Abstract]:Pneumatic marking technology is to use numerical control equipment to control the printing needle according to the edited characters or graphics track, while pneumatic equipment control high-pressure gas high-frequency impact printing needle, A marking technique for forming characters or graphics consisting of a dense lattice on the surface of a workpiece. Pneumatic marking machine system is composed of mechanical, electronic and numerical control technology, which is widely used in industry. In recent years, with the development of computer technology, USB2.0 interface has been popularized by virtue of its many advantages. Therefore, it is inevitable to develop pneumatic marking machine system based on USB2.0 high-speed interface to improve the competitiveness of enterprise products. In this paper, a pneumatic marking machine system based on high speed interface of USB2.0 is put forward and implemented according to the actual needs of the subject. This paper introduces the solution and implementation technology of the system from two aspects: hardware and software. The upper computer client software is developed by Visual Basic, the USB function driver is developed by DriverStudio tool software, and the dynamic link library (DLL); developed by Visual C uses Altium Designer software to make printed circuit board. The USB2.0 chip CY7C68013A produced by CYPRESS company is used to realize the data transmission, the AT89S52 single chip computer is used to complete the NC interpolation operation, the motion control of step motor and I / O processing. In the Keil uVision4 development environment, the data communication software of CY7C68013A and the NC interpolation and I / O processing software of AT89S52 are programmed with C51 language based on single chip computer. Finally, the on-line debugging of the system is carried out. Compared with the traditional parallel interface, the self-designed USB2.0 interface system has the advantages of strong anti-interference ability, high integration of hardware circuit, low power consumption, low cost, support for hot plug and play, plug and play. USB data transmission adopts the Slave FIFO mode of CY7C68013A, the data transmission speed is fast, and the data transmission can be completed stably. The communication between USB2.0 data transmission module and PC computer is encapsulated by general dynamic function library. This module is easy to use and easy to use in different programming platforms. It is easy to upgrade the system.
【学位授予单位】:重庆大学
【学位级别】:硕士
【学位授予年份】:2011
【分类号】:TH138.9
本文编号:2388127
[Abstract]:Pneumatic marking technology is to use numerical control equipment to control the printing needle according to the edited characters or graphics track, while pneumatic equipment control high-pressure gas high-frequency impact printing needle, A marking technique for forming characters or graphics consisting of a dense lattice on the surface of a workpiece. Pneumatic marking machine system is composed of mechanical, electronic and numerical control technology, which is widely used in industry. In recent years, with the development of computer technology, USB2.0 interface has been popularized by virtue of its many advantages. Therefore, it is inevitable to develop pneumatic marking machine system based on USB2.0 high-speed interface to improve the competitiveness of enterprise products. In this paper, a pneumatic marking machine system based on high speed interface of USB2.0 is put forward and implemented according to the actual needs of the subject. This paper introduces the solution and implementation technology of the system from two aspects: hardware and software. The upper computer client software is developed by Visual Basic, the USB function driver is developed by DriverStudio tool software, and the dynamic link library (DLL); developed by Visual C uses Altium Designer software to make printed circuit board. The USB2.0 chip CY7C68013A produced by CYPRESS company is used to realize the data transmission, the AT89S52 single chip computer is used to complete the NC interpolation operation, the motion control of step motor and I / O processing. In the Keil uVision4 development environment, the data communication software of CY7C68013A and the NC interpolation and I / O processing software of AT89S52 are programmed with C51 language based on single chip computer. Finally, the on-line debugging of the system is carried out. Compared with the traditional parallel interface, the self-designed USB2.0 interface system has the advantages of strong anti-interference ability, high integration of hardware circuit, low power consumption, low cost, support for hot plug and play, plug and play. USB data transmission adopts the Slave FIFO mode of CY7C68013A, the data transmission speed is fast, and the data transmission can be completed stably. The communication between USB2.0 data transmission module and PC computer is encapsulated by general dynamic function library. This module is easy to use and easy to use in different programming platforms. It is easy to upgrade the system.
【学位授予单位】:重庆大学
【学位级别】:硕士
【学位授予年份】:2011
【分类号】:TH138.9
【参考文献】
相关期刊论文 前10条
1 刘国永,陈杰平;单片机控制步进电机系统设计[J];安徽技术师范学院学报;2002年04期
2 何攀;严宏志;;气动打标系统动态特性分析[J];包装工程;2007年12期
3 周小鹏,谢普;工业气动标记机PCB板的设计[J];重庆工业高等专科学校学报;2000年02期
4 郭浩;黎福海;;高速USB2.0设备的PCB板设计[J];单片机与嵌入式系统应用;2006年05期
5 江卫华;基于PC计算机并行口气动标记机系统的设计[J];电气传动自动化;2002年01期
6 刘昌勇;;增强型气动打标机针头动力学模型分析[J];装备制造技术;2008年10期
7 崔霁阳;打标、识读技术在汽车制造业中的应用——访上海通友自动化科技有限公司张国夫先生[J];汽车与配件;2002年19期
8 宛杰魁,刘建新;气动标记机系统若干关键算法研究[J];四川工业学院学报;2004年04期
9 金朝辉;;采用CY7C68013芯片的USB2.0系统固件程序设计[J];世界电子元器件;2006年07期
10 陈永国,张新敏,李娜,王玉生;气动标记打印机打印头运动过程的分析[J];沈阳工业大学学报;2004年06期
相关硕士学位论文 前2条
1 杨鹏;基于单片机的便携式打标机的应用与研究[D];重庆大学;2007年
2 曹雏清;基于USB 2.0高速接口的机床振动实验系统的开发[D];重庆大学;2008年
,本文编号:2388127
本文链接:https://www.wllwen.com/kejilunwen/jixiegongcheng/2388127.html