基于ARM和WinCE的高解析喷码机的驱动程序的研究与开发

发布时间:2019-02-21 15:37
【摘要】:随着商品标识如生产日期、条形码、品牌图案等标识的广泛使用,使得能够喷印这些标识的喷码机成了许多企业必备的设备。然而,国内对喷码机的研究起步晚,开发时间短,技术方面又与国外有很大差距,,所以现在我国市场上很大一部分喷码机都是从国外进口的。由于我国对喷码机的市场需求不断增加,喷码机在我国拥有巨大的发展潜力,研究和开发具有自主知识产权的高质量喷码机迫在眉睫。现在,嵌入式技术的不断普及和应用为我国喷码机技术的自主开发提供了新的机遇,把嵌入式技术应用到喷码机系统中已是喷码机发展的大趋势。而在整个喷码机嵌入式系统中,驱动程序是连接操作系统和硬件之间的桥梁,其设计是否合理,运行是否稳健等因素都对整个喷码机系统有重要影响。本文以赛尔公司生产的XJ128喷头和三星公司的S3C2440A处理器为硬件基础,以Platform Builder5.0和Windows CE5.0为嵌入式软件平台,对基于ARM和WinCE的高解析喷码机的驱动程序进行了研究和开发。 本论文首先介绍了本课题的研究背景、国内外喷码机和嵌入式操作系统的研究现状以及喷码机整体的发展趋势。接下来按照开发驱动程序的三要素:硬件、目标操作系统下驱动的工作机制和驱动的模型依次展开。在硬件部分描述了主要涉及到的XJ128喷头和S3C2440A处理器中的SPI通信、PWM定时器模块,并设计了喷头与开发板的硬件连接方案;WinCE操作系统下驱动的工作机制部分主要讲述了WinCE的体系结构以及驱动程序的加载、中断的处理以及内存的使用,并针对本课题列出了部分关键程序的实现,还讲解了WinCE下的电源管理;驱动的模型部分主要讲述了流接口驱动的工作原理以及使用PB编写流驱动程序的方法、烧写镜像的步骤和关键函数的实现,还简单介绍了流接口驱动程序与应用程序的互动以及PWM驱动程序的实现。最后对所研究与开发的工作进行总结和展望。 最后,把编写的驱动程序经Platform Builder5.0编译生成镜像并烧写进开发板,并按照硬件连接设计对硬件进行连接,经示波器测量波形,得出所编写的驱动程序符合XJ128喷头的工作时序,上层应用程序能正确调用驱动程序。
[Abstract]:With the wide use of product logo such as production date, bar code, brand design and so on, the inkjet printer that can print these marks has become the necessary equipment for many enterprises. However, the domestic research on the inkjet printer started late, the development time is short, and there is a big gap between the technology and foreign countries, so now a large part of the inkjet printer is imported from abroad in our country market. Due to the increasing market demand for the inkjet printer in China, there is a great potential for the development of the inkjet printer in China, so it is urgent to research and develop the high-quality inkjet printer with independent intellectual property rights. At present, the continuous popularization and application of embedded technology provides a new opportunity for the independent development of the inkjet code machine technology in our country. The application of embedded technology to the inkjet code machine system has been the main trend of the development of the inkjet code machine. The driver is the bridge between the operating system and the hardware in the whole embedded system of the inkjet printer. Whether the design is reasonable or not and whether the operation is robust has an important impact on the whole system. In this paper, based on the XJ128 nozzle produced by Ser Company and the S3C2440A processor of Samsung, the driver of high resolution inkjet code machine based on ARM and WinCE is studied and developed based on the embedded software platform of Platform Builder5.0 and Windows CE5.0. This paper first introduces the research background of this topic, the domestic and foreign inkjet code machine and embedded operating system research status, as well as the overall development trend of the inkjet code machine. Then according to the three elements of developing driver: hardware, the working mechanism of driver under the target operating system and the model of driver. In the hardware part, the paper describes the SPI communication and PWM timer module of the XJ128 nozzle and S3C2440A processor, and designs the hardware connection scheme between the sprinkler and the development board. The working mechanism of driver under WinCE operating system mainly describes the architecture of WinCE, the loading of driver, the processing of interrupt and the use of memory, and lists the implementation of some key programs in this paper. The power management under WinCE is also explained. The driving model mainly describes the working principle of the stream interface driver, the method of using PB to write the stream driver, the steps of burning the mirror image and the realization of the key function. It also introduces the interaction between stream interface driver and application program and the implementation of PWM driver. Finally, the work of the research and development is summarized and prospected. Finally, the driver is compiled and generated by Platform Builder5.0 and burned into the development board, and the hardware is connected according to the hardware connection design. The waveform is measured by oscilloscope, and the working sequence of the driver is found to be in line with the working sequence of the XJ128 nozzle. The upper application can call the driver correctly.
【学位授予单位】:河北工业大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TS896;TP332

【参考文献】

相关期刊论文 前10条

1 王东;康忠健;;WinCE嵌入式系统下总线设备驱动程序设计[J];电气电子教学学报;2009年02期

2

本文编号:2427632


资料下载
论文发表

本文链接:https://www.wllwen.com/falvlunwen/zhishichanquanfa/2427632.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户2ad1e***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com