基于ARM和WinCE的高解析噴碼機(jī)的驅(qū)動(dòng)程序的研究與開發(fā)
發(fā)布時(shí)間:2019-02-21 15:37
【摘要】:隨著商品標(biāo)識(shí)如生產(chǎn)日期、條形碼、品牌圖案等標(biāo)識(shí)的廣泛使用,使得能夠噴印這些標(biāo)識(shí)的噴碼機(jī)成了許多企業(yè)必備的設(shè)備。然而,國內(nèi)對噴碼機(jī)的研究起步晚,開發(fā)時(shí)間短,技術(shù)方面又與國外有很大差距,,所以現(xiàn)在我國市場上很大一部分噴碼機(jī)都是從國外進(jìn)口的。由于我國對噴碼機(jī)的市場需求不斷增加,噴碼機(jī)在我國擁有巨大的發(fā)展?jié)摿Γ芯亢烷_發(fā)具有自主知識(shí)產(chǎn)權(quán)的高質(zhì)量噴碼機(jī)迫在眉睫,F(xiàn)在,嵌入式技術(shù)的不斷普及和應(yīng)用為我國噴碼機(jī)技術(shù)的自主開發(fā)提供了新的機(jī)遇,把嵌入式技術(shù)應(yīng)用到噴碼機(jī)系統(tǒng)中已是噴碼機(jī)發(fā)展的大趨勢。而在整個(gè)噴碼機(jī)嵌入式系統(tǒng)中,驅(qū)動(dòng)程序是連接操作系統(tǒng)和硬件之間的橋梁,其設(shè)計(jì)是否合理,運(yùn)行是否穩(wěn)健等因素都對整個(gè)噴碼機(jī)系統(tǒng)有重要影響。本文以賽爾公司生產(chǎn)的XJ128噴頭和三星公司的S3C2440A處理器為硬件基礎(chǔ),以Platform Builder5.0和Windows CE5.0為嵌入式軟件平臺(tái),對基于ARM和WinCE的高解析噴碼機(jī)的驅(qū)動(dòng)程序進(jìn)行了研究和開發(fā)。 本論文首先介紹了本課題的研究背景、國內(nèi)外噴碼機(jī)和嵌入式操作系統(tǒng)的研究現(xiàn)狀以及噴碼機(jī)整體的發(fā)展趨勢。接下來按照開發(fā)驅(qū)動(dòng)程序的三要素:硬件、目標(biāo)操作系統(tǒng)下驅(qū)動(dòng)的工作機(jī)制和驅(qū)動(dòng)的模型依次展開。在硬件部分描述了主要涉及到的XJ128噴頭和S3C2440A處理器中的SPI通信、PWM定時(shí)器模塊,并設(shè)計(jì)了噴頭與開發(fā)板的硬件連接方案;WinCE操作系統(tǒng)下驅(qū)動(dòng)的工作機(jī)制部分主要講述了WinCE的體系結(jié)構(gòu)以及驅(qū)動(dòng)程序的加載、中斷的處理以及內(nèi)存的使用,并針對本課題列出了部分關(guān)鍵程序的實(shí)現(xiàn),還講解了WinCE下的電源管理;驅(qū)動(dòng)的模型部分主要講述了流接口驅(qū)動(dòng)的工作原理以及使用PB編寫流驅(qū)動(dòng)程序的方法、燒寫鏡像的步驟和關(guān)鍵函數(shù)的實(shí)現(xiàn),還簡單介紹了流接口驅(qū)動(dòng)程序與應(yīng)用程序的互動(dòng)以及PWM驅(qū)動(dòng)程序的實(shí)現(xiàn)。最后對所研究與開發(fā)的工作進(jìn)行總結(jié)和展望。 最后,把編寫的驅(qū)動(dòng)程序經(jīng)Platform Builder5.0編譯生成鏡像并燒寫進(jìn)開發(fā)板,并按照硬件連接設(shè)計(jì)對硬件進(jìn)行連接,經(jīng)示波器測量波形,得出所編寫的驅(qū)動(dòng)程序符合XJ128噴頭的工作時(shí)序,上層應(yīng)用程序能正確調(diào)用驅(qū)動(dòng)程序。
[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.
【學(xué)位授予單位】:河北工業(yè)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TS896;TP332
[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.
【學(xué)位授予單位】:河北工業(yè)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TS896;TP332
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 王東;康忠健;;WinCE嵌入式系統(tǒng)下總線設(shè)備驅(qū)動(dòng)程序設(shè)計(jì)[J];電氣電子教學(xué)學(xué)報(bào);2009年02期
2
本文編號(hào):2427632
本文鏈接:http://sikaile.net/falvlunwen/zhishichanquanfa/2427632.html
最近更新
教材專著