基于LPC1766的票據(jù)打印系統(tǒng)設(shè)計(jì)及實(shí)現(xiàn)
發(fā)布時(shí)間:2019-06-01 12:13
【摘要】:票據(jù)打印機(jī)是一種特殊的打印機(jī),和噴墨、激光打印機(jī)都存在很大的差異,而票據(jù)打印機(jī)的這種差異是其它類(lèi)型的打印機(jī)不能取代的,正是因?yàn)槿绱,票?jù)打印機(jī)一直都有著自己的獨(dú)特的市場(chǎng)份額,服務(wù)于一些特殊的行業(yè)用戶(hù)。目前在很多場(chǎng)合有著廣泛的使用,比如商場(chǎng)超市打印小票、發(fā)票,還有各公司用的打印增值稅發(fā)票、工資單、支票等等,政府部門(mén)現(xiàn)場(chǎng)打印執(zhí)法文書(shū),電信部門(mén)及公用事業(yè)單位打印繳費(fèi)通知單或者發(fā)票等等。特別是隨著打印技術(shù)的不斷發(fā)展,票據(jù)打印機(jī)與我們的日常生活越來(lái)越密切。但是老一代的票據(jù)打印機(jī)無(wú)論是在速度上還是方便性上都顯得力所不及,在節(jié)假日我們經(jīng)?匆(jiàn)商場(chǎng)超市的付款的柜臺(tái)前排滿了長(zhǎng)隊(duì),有時(shí)候電信及公用事業(yè)單位繳費(fèi)的地方也需要等待很長(zhǎng)的時(shí)間,這種打印的業(yè)務(wù)量的增加,就需要開(kāi)發(fā)打印速度快,可靠穩(wěn)定方便的票據(jù)打印機(jī)。 本文首先概述該課題的研究背景,參考了國(guó)內(nèi)外大量研究現(xiàn)狀和成果。其次,通過(guò)對(duì)票據(jù)打印機(jī)的控制特點(diǎn)以及主控芯片硬件資源深入分析的基礎(chǔ)上,基于簡(jiǎn)化系統(tǒng)設(shè)計(jì),方便系統(tǒng)開(kāi)發(fā)的原則,確定了打印驅(qū)動(dòng)的硬件設(shè)計(jì)方案,主要包括USB接口電路模塊[1],狀態(tài)檢測(cè)電路模塊,電機(jī)驅(qū)動(dòng)電路模塊,打印針頭保護(hù)模塊等組成。在硬件選型上,選用高主頻的LPC1766作為主控芯片,,該主控芯片在很短的時(shí)間內(nèi)完成狀態(tài)監(jiān)測(cè),數(shù)據(jù)傳輸?shù)裙ぷ。在軟件平臺(tái)選擇上,選擇RealViewMDK作為開(kāi)發(fā)工具,RealView MDK集成了業(yè)內(nèi)最領(lǐng)先的技術(shù),融合了中國(guó)多數(shù)軟件開(kāi)發(fā)工程師所需的特點(diǎn)和功能。軟件設(shè)計(jì)中采用模塊化的設(shè)計(jì)方法,對(duì)數(shù)據(jù)接收,狀態(tài)檢測(cè),電機(jī)控制等模塊進(jìn)行了編程和調(diào)試。 最后結(jié)合硬件電路和軟件功能,對(duì)系統(tǒng)進(jìn)行整機(jī)測(cè)試。測(cè)試結(jié)果表明,本文所設(shè)計(jì)的基于LPC1766的票據(jù)打印機(jī)可打印漢字,字符,打印速度與老一代票據(jù)打印機(jī)相比速度提高了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.
【學(xué)位授予單位】:上海師范大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類(lèi)號(hào)】:TP334.88
本文編號(hào):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.
【學(xué)位授予單位】:上海師范大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類(lèi)號(hào)】:TP334.88
【參考文獻(xiàn)】
相關(guān)期刊論文 前3條
1 徐卓農(nóng),張永忠;單片機(jī)系統(tǒng)中的漢字顯示[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2001年07期
2 張會(huì)生;基于77E58的高速行式熱敏打印機(jī)控制板的研制[J];電子技術(shù)應(yīng)用;2004年01期
3 萬(wàn)芳瑛;微型打印機(jī)應(yīng)用系統(tǒng)字符點(diǎn)陣格式轉(zhuǎn)換技術(shù)[J];湖南工程學(xué)院學(xué)報(bào)(自然科學(xué)版);2004年01期
相關(guān)碩士學(xué)位論文 前4條
1 何先波;嵌入式系統(tǒng)軟件開(kāi)發(fā)環(huán)境中調(diào)試器的設(shè)計(jì)與實(shí)現(xiàn)[D];四川大學(xué);2001年
2 李星宇;USB總線接口技術(shù)及應(yīng)用研究[D];南京航空航天大學(xué);2003年
3 鄭鴻彥;基于ARM9的嵌入式系統(tǒng)和通信協(xié)議的研究[D];華中科技大學(xué);2007年
4 潘濤;基于嵌入式系統(tǒng)的步進(jìn)電機(jī)控制方法的分析與研究[D];武漢科技大學(xué);2009年
本文編號(hào):2490259
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2490259.html
最近更新
教材專(zhuān)著