节点文献

基于嵌入式Linux的自动焊机监控系统的设计与实现

【作者】 刘桂方

【导师】 付虹;

【作者基本信息】 长春工业大学 , 测试计量技术及仪器, 2010, 硕士

【摘要】 随着工业技术的发展,自动焊接技术也日益成熟。发达国家的微机控制电子弧焊机已经进入实用化阶段,并朝着多功能、多参数控制、波形控制以及智能化控制的方向发展。而国内的自动焊接设备,特别是自动焊接控制系统正处于刚刚起步阶段,不能满足国家生产建设的需要。针对我国的这种现状,国内某焊接设备技术有限责任公司着手研发了自动焊接控制系统的新平台。这对加速传统技术的改造,制造可靠、实用和经济的自动焊接控制系统具有重要的现实意义。本课题即来源于此项目。自动焊接控制系统新平台主要由上位机、中位机(监控系统)以及下位机(DSP检测控制系统)组成。上位机主要负责远程监控,中位机主要负责整体的焊接流程、通信以及人机界面,下位机负责具体参数的采集与控制。其中,监控系统是本文研究的主要内容。它包括人机界面(键盘,LCD显示)、调试接口(JTAG, RS232接口)、与下位机通信(CAN总线)以及与上位机通信(以太网接口)。本文首先概述了国内自动焊接领域的现状以及焊机的发展方向,通过对自动焊机平台系统的分析,确立了该系统的基本架构,并划分了各部分的主要功能。其次,文中设计并研究了以S3C2440为核心的嵌入式硬件电路系统(IIC总线电路、RS232接口电路、以太网控制器电路和基于SPI的CAN总线电路)。本系统采用了先进的JTAG调试方式,并以RS232接口为辅助调试通道,从而加强了调试维护的便利性。同时,将工业现场总线CAN(控制局域网络)总线应用于焊机的方案中,并结合处理器的SPI接口,设计了基于SPI接口的CAN总线电路,在实测中体现出了良好的抗干扰性。由于需要满足实时性与可扩展性的要求,实时操作系统选择了Linux操作系统,并对Linux进行了裁剪和移植。结合硬件电路和Linux操作系统研究了Linux的驱动程序,同时给出了具体的开发流程,符合监控系统控制的实时性与可维护性的要求。系统中的人机界面研究了640*480点阵的彩色液晶显示器与S3C2440的配合应用,并对S3C2440内置的LCD控制器进行了配置,本文以启动画面为例说明了人机界面的实用性。与上位机的通信部分研究了基于TCP/IP协议的以太网硬件电路和软件配置,使远程监控与组网十分容易。在课题进行时,对CAN总线做了抗干扰性实验;对人机界面做了启动画面操作及显示的实验;对Linux进行了裁剪与移植实验。实验结果表明:监控系统的软硬件系统工作可靠,功能模块装卸方便,信号传输抗干扰性以及实时性均满足实际应用。

【Abstract】 Along with the development of technology, automatic welding technology matures. Developed countries of the microcomputer control electronics welder has entered into practical phase, and toward multi-function, many parameters controlling, control and intelligent control of wave direction. While the automatic welding equipment, especially the control system of automatic welding is just the start stage, cannot satisfy the needs of the construction of national production.Aiming at this kind of situation, a welding equipment technology Co., LTD to developed automatic welding system of the new control platform for welding. To accelerate the transformation of traditional technology, the reliable, practical and economical automatic welding control system has the important practical significance. This topic is derived from the project.The new control platform, mainly by computer, Intermediate machine (monitoring system) and the test control system (DSP). The computer is mainly responsible for remote monitoring the station of the welding equipment, and the Intermediate machine is mainly responsible for the whole process of welding, communication and man-machine interface, the test control system responsible for the specific parameters for the acquisition and control. Among them, the emphasis of the study is the monitoring system. It includes man-machine interface (keyboard, LCD display), debugging interface (JTAG,RS232 interface), and the communication (the CAN bus) and computer communications (the Ethernet interface).This paper summarized the domestic automatic welding machine. It established the basic framework of the welding system by the analysis of automatic welding machine platform system.Secondly, designed and researched the embedded hardware circuit system use the core like S3C2440.its included IIC bus circuit and RS232 interface circuit and Ethernet controller based on SPI circuit and the CAN bus circuit. The circuit of the monitoring system adopted advanced JTAG debug mode, and with RS232 interface for auxiliary debugging channel, it make maintenance convenient. And the CAN bus also use in the monitoring system. The CAN bus designed base on the SPI of S3C2440, and then the good anti-jamming measured in the can bus.This program should satisfy the requirement of real-time and expansibility. The paper choose the operating system with real-time like Linux, which have been cut and transplanted into the S3C2440. The paper studied the driver for Linux combined with the hardware circuit. In this case, it also presented the details of process of the development, and obtained good results of controllability and maintainability in the real-time monitoring system. The man-machine interface study the cooperation application about chromatic LCD of 640X480 dot and S3C2440, and the paper configures the LCD controller of built-in S3C2440, and illustrates the practicability of the man-machine by the example of the startup display. In the part of communication with the computer studied hardware circuit and software configuration of Ethernet which based on TCP/IP protocol, and made it much easier to remote monitoring and networking.Studying the thesis, these experiments were made like anti-interference on the CAN bus; operation and display for human-machine interface; cut and transplanted for Linux system. The results show that hardware and software of monitoring system is reliable, and it is convenient about loading and unloading of functional modules. It meets the requirements about anti-interference of signal transmission, and reaches the application level of real time.

【关键词】 嵌入式Linux自动焊机S3C2440
【Key words】 EmbeddedLinuxautomatic welding machineS3C2440
节点文献中: