基于LPC1766的票据打印系统设计及实现
发布时间:2019-06-01 12:13
【摘要】:票据打印机是一种特殊的打印机,和喷墨、激光打印机都存在很大的差异,而票据打印机的这种差异是其它类型的打印机不能取代的,正是因为如此,票据打印机一直都有着自己的独特的市场份额,服务于一些特殊的行业用户。目前在很多场合有着广泛的使用,比如商场超市打印小票、发票,还有各公司用的打印增值税发票、工资单、支票等等,政府部门现场打印执法文书,电信部门及公用事业单位打印缴费通知单或者发票等等。特别是随着打印技术的不断发展,票据打印机与我们的日常生活越来越密切。但是老一代的票据打印机无论是在速度上还是方便性上都显得力所不及,在节假日我们经常看见商场超市的付款的柜台前排满了长队,有时候电信及公用事业单位缴费的地方也需要等待很长的时间,这种打印的业务量的增加,就需要开发打印速度快,可靠稳定方便的票据打印机。 本文首先概述该课题的研究背景,参考了国内外大量研究现状和成果。其次,通过对票据打印机的控制特点以及主控芯片硬件资源深入分析的基础上,基于简化系统设计,方便系统开发的原则,确定了打印驱动的硬件设计方案,主要包括USB接口电路模块[1],状态检测电路模块,电机驱动电路模块,打印针头保护模块等组成。在硬件选型上,选用高主频的LPC1766作为主控芯片,,该主控芯片在很短的时间内完成状态监测,数据传输等工作。在软件平台选择上,选择RealViewMDK作为开发工具,RealView MDK集成了业内最领先的技术,融合了中国多数软件开发工程师所需的特点和功能。软件设计中采用模块化的设计方法,对数据接收,状态检测,电机控制等模块进行了编程和调试。 最后结合硬件电路和软件功能,对系统进行整机测试。测试结果表明,本文所设计的基于LPC1766的票据打印机可打印汉字,字符,打印速度与老一代票据打印机相比速度提高了10%。
[Abstract]:Bill printer is a special printer, and inkjet, laser printer are very different, and the bill printer this difference can not be replaced by other types of printers, because of this, Bill printers have always had their own unique market share, serving some special industry users. At present, it is widely used in many occasions, such as printing small tickets and invoices in shopping malls and supermarkets, printing VAT invoices, payroll, cheques and so on used by companies, and printing law enforcement documents on the spot by government departments. The telecommunications department and the public utility unit prints the payment notice or the invoice and so on. Especially with the continuous development of printing technology, bill printer and our daily life more and more close. But the older generation of bill printers are not as capable as they are in terms of speed and convenience. During holidays, we often see long lines of payment counters in shopping malls and supermarkets. Sometimes it takes a long time for telecommunications and utilities to pay their fees. With the increase in the volume of printing business, it is necessary to develop a fast, reliable, stable and convenient bill printer. This paper first summarizes the research background of the subject, referring to a large number of domestic and foreign research status and results. Secondly, based on the deep analysis of the control characteristics of the bill printer and the hardware resources of the main control chip, based on the principle of simplified system design and convenient system development, the hardware design scheme of print driver is determined. It mainly includes USB interface circuit module, state detection circuit module, motor drive circuit module, print needle protection module and so on. In the hardware selection, the high main frequency LPC1766 is selected as the main control chip, which completes the condition monitoring and data transmission in a very short time. In the choice of software platform, RealViewMDK is selected as the development tool. RealViewMDK integrates the leading technology in the industry and integrates the characteristics and functions needed by most software development engineers in China. In the software design, the modularization design method is used to program and debug the modules such as data receiving, state detection, motor control and so on. Finally, combined with hardware circuit and software function, the whole system is tested. The test results show that the bill printer based on LPC1766 can print Chinese characters and characters, and the printing speed is 10% faster than that of the old generation bill printer.
【学位授予单位】:上海师范大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP334.88
本文编号:2490259
[Abstract]:Bill printer is a special printer, and inkjet, laser printer are very different, and the bill printer this difference can not be replaced by other types of printers, because of this, Bill printers have always had their own unique market share, serving some special industry users. At present, it is widely used in many occasions, such as printing small tickets and invoices in shopping malls and supermarkets, printing VAT invoices, payroll, cheques and so on used by companies, and printing law enforcement documents on the spot by government departments. The telecommunications department and the public utility unit prints the payment notice or the invoice and so on. Especially with the continuous development of printing technology, bill printer and our daily life more and more close. But the older generation of bill printers are not as capable as they are in terms of speed and convenience. During holidays, we often see long lines of payment counters in shopping malls and supermarkets. Sometimes it takes a long time for telecommunications and utilities to pay their fees. With the increase in the volume of printing business, it is necessary to develop a fast, reliable, stable and convenient bill printer. This paper first summarizes the research background of the subject, referring to a large number of domestic and foreign research status and results. Secondly, based on the deep analysis of the control characteristics of the bill printer and the hardware resources of the main control chip, based on the principle of simplified system design and convenient system development, the hardware design scheme of print driver is determined. It mainly includes USB interface circuit module, state detection circuit module, motor drive circuit module, print needle protection module and so on. In the hardware selection, the high main frequency LPC1766 is selected as the main control chip, which completes the condition monitoring and data transmission in a very short time. In the choice of software platform, RealViewMDK is selected as the development tool. RealViewMDK integrates the leading technology in the industry and integrates the characteristics and functions needed by most software development engineers in China. In the software design, the modularization design method is used to program and debug the modules such as data receiving, state detection, motor control and so on. Finally, combined with hardware circuit and software function, the whole system is tested. The test results show that the bill printer based on LPC1766 can print Chinese characters and characters, and the printing speed is 10% faster than that of the old generation bill printer.
【学位授予单位】:上海师范大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP334.88
【参考文献】
相关期刊论文 前3条
1 徐卓农,张永忠;单片机系统中的汉字显示[J];单片机与嵌入式系统应用;2001年07期
2 张会生;基于77E58的高速行式热敏打印机控制板的研制[J];电子技术应用;2004年01期
3 万芳瑛;微型打印机应用系统字符点阵格式转换技术[J];湖南工程学院学报(自然科学版);2004年01期
相关硕士学位论文 前4条
1 何先波;嵌入式系统软件开发环境中调试器的设计与实现[D];四川大学;2001年
2 李星宇;USB总线接口技术及应用研究[D];南京航空航天大学;2003年
3 郑鸿彦;基于ARM9的嵌入式系统和通信协议的研究[D];华中科技大学;2007年
4 潘涛;基于嵌入式系统的步进电机控制方法的分析与研究[D];武汉科技大学;2009年
本文编号:2490259
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2490259.html