基于嵌入式Linux的喷码机底层软件的研究与开发
发布时间:2018-03-02 20:10
本文选题:喷码机 切入点:嵌入式Linux移植 出处:《河北工业大学》2013年硕士论文 论文类型:学位论文
【摘要】:作为产品质量监管的重要手段,喷印标识技术逐渐受到社会的关注。然而作为标识环节的执行主体,国内喷码机设备的性能指标却一直低于国际水平,导致市场占有率偏低。嵌入式技术的发展为喷码机产业带来了新的发展机遇,在嵌入式系统中,,底层软件系统的配置是否合理既关系到硬件电路的设计又影响应用程序的稳定性和执行效率,因此在整个系统设计中有着重要的地位。本文以高解析喷码机设备为研究背景,研发基于ARM平台和嵌入式Linux系统的底层软件系统,涉及Bootloader的移植、Linux内核实时性改进及移植、设备驱动程序开发、根文件系统的构建等内容。 首先,本文从系统整体的角度介绍高解析喷码机的软硬件配置,对喷头设备的工作原理和嵌入式Linux系统的优缺点进行了详细的分析,接着从代码的角度完整叙述引导加载程序U-Boot的移植过程,并提供了运行信息。 第二,以Linux-2.6.30.4内核作为底层软件系统的核心,从时钟中断机制的角度对嵌入式Linux系统的实时性进行了分析,在对典型实时性改进方法进行分析的基础上,结合高解析喷码机的设备特点,借鉴KURT-Linux的实时性改进思想,在保留Linux系统周期性时钟中断的同时增加了one-shot时钟中断模式,即将原来只能在时钟中断点进行进程执行和调度的方式之外增加了可随时中断的时钟中断模式,使得系统对实时进程的响应精度提高到了微秒级别。 第三,完成了内核的移植,以字符型设备USB摄像头为例介绍了Linux设备驱动程序开发的过程,最后基于yaffs2文件系统制作了根文件系统。实验表明底层软件系统运行稳定,实时性有了显著提高。
[Abstract]:As an important means of product quality supervision, jet printing marking technology has gradually attracted the attention of the society. However, as the main executive of the marking link, the performance index of domestic inkjet printer equipment has always been lower than the international level. The development of embedded technology brings a new development opportunity for the inkjet code machine industry. Whether the configuration of the underlying software system is reasonable or not is not only related to the design of hardware circuit, but also affects the stability and efficiency of the application program, so it plays an important role in the whole system design. A software system based on ARM platform and embedded Linux system is developed, which involves the real-time improvement and transplantation of Bootloader kernel, the development of device driver, the construction of root file system and so on. First of all, this paper introduces the hardware and software configuration of the high resolution inkjet code machine from the whole system angle, and analyzes the working principle of the nozzle equipment and the advantages and disadvantages of the embedded Linux system in detail. Then the porting process of the boot loader U-Boot is described from the point of view of code, and the running information is provided. Secondly, taking the Linux-2.6.30.4 kernel as the core of the underlying software system, the real-time performance of the embedded Linux system is analyzed from the point of view of the clock interrupt mechanism, and based on the analysis of the typical real-time improvement methods. Combined with the equipment characteristics of high resolution inkjet printer and using the idea of real-time improvement of KURT-Linux for reference, the periodic clock interrupt of Linux system is retained and the one-shot clock interrupt mode is added at the same time. Besides the way of executing and scheduling the process at the breakpoint in the clock, the interruptible mode of the clock is added, which makes the response precision of the system to the real-time process improved to the microsecond level. Thirdly, the kernel transplantation is completed. Taking the USB camera of the character device as an example, the development process of the Linux device driver is introduced. Finally, the root file system is made based on the yaffs2 file system. The experiment shows that the underlying software system runs stably. Real-time has been greatly improved.
【学位授予单位】:河北工业大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP316.81;TP334.8
【参考文献】
相关期刊论文 前10条
1 李小虎;王宝生;;浅谈喷码机的使用和维护[J];包装与食品机械;2006年05期
2 付冰;喷墨打印技术的进展和发展趋势(一)[J];信息记录材料;2002年03期
3 李立;;喷码技术应用浅析[J];广告大观(标识版);2007年03期
4 毛晓波;刘国栋;陈铁军;黄云峰;;嵌入式机器视觉系统中ARM与DSP的数据通信方法[J];电子设计工程;2010年10期
5 曹喜军;;43S喷码机工作原理及日常故障分析[J];黑龙江科技信息;2008年21期
6 林建民;嵌入式操作系统技术发展趋势[J];计算机工程;2001年10期
7 程晓宇;毕笃彦;蔡晔;;μC/OS在龙芯处理器上的移植及性能分析[J];计算机工程;2009年01期
8 胡强;蔡自兴;;一种基于改造时钟系统的Linux实时化方案[J];计算机工程;2009年11期
9 郑立;黄世震;;支持多种闪存启动的U-Boot的实现[J];计算机工程;2010年14期
10 谭良;周明天;;带时间特性的自主访问控制政策及其在Linux上的设计与实现[J];计算机应用;2006年12期
本文编号:1557991
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1557991.html