当前位置:文档之家› 基于PLC的自动点胶机控制系统

基于PLC的自动点胶机控制系统

基于PLC的自动点胶机控制系统的研究与实现A Thesis in Mechanical EngineeringResearch and Implementation of Motion Control System of Automatic adhesive injectingmachine Based on PLC摘要随着信息产业的发展,电子封装的要求越来越严格,对点胶机数控系统的控制能力要求越来越高。

目前我国电子产品生产企业主要是沿海一些中小型企业,在经济省钱、操作简单、控制精确、更改方便的要求下,经济型的数控系统有极大的发展。

本文开发了一种基于PLC的自动点胶机运动控制系统,对于提高企业的生产效率和降低生产成本具有重要意义。

本文的主要工作包括以下内容:(1)通过详细分析企业对自动点胶机的要求以及各种类型运动控制系统的结构和应用特点,以及运动控制技术当前国内外发展状况,探讨了当前各种运动控制器的功能与优缺点。

(2)论证了采用PLC作为运动控制系统核心的主要优点,深入研究了松下FPX一C60T PLC的步进电机控制功能,建立了采用PC机编写运动程序和以PLC控制步进电机的开环平面运动控制系统。

(3)在分析了运动控制系统操作界面的功能要求的基础上,为使用户操作方便、简洁,设计了运动控制系统操作界面.通过触摸屏与PLC的通信,实现了点胶机的运动控制。

(4)根据逐点比较法插补原理,进行了基于PLC的直线插补、圆弧插补以及椭圆插补运动程序的开发。

使运动控制系统具有了平面点位运动控制和轨迹运动控制功能。

在客观上分析国内外成型产品的优缺点,并且考虑各种运动控制方案的经济性和可操作性,进而确定基于PLC的自动点胶机控制系统。

根据松下FP系列产品的编程习惯,并结合触摸屏编制出了一套操作简单的控制系统。

经过试验台实验,所开发的基于PLC的点胶机运动控制系统能够按照要求正常运行,经过进一步完善,可以在实际中加以应用。

关键词:自动点胶机;PLC;触摸屏;插补;运动控制Research and Implementation of Motion Control System of Automatic adhesive injecting machinebased on PLCAbstractBecause of the rapid development of information industry, requirements of electronic packaging are more strictly. At present, Chinese electronic product manufacturing enterprises are mainly small and medium along the coast. So the economic numerical control system must save money, operate simply and change procedures conveniently. This paper developed a program based on PLC to improve production efficiency and reduce production cost. This paper’s main work includes the following content:(1)The paper analyses the dispensing requirements of the enterprise and learn the structures and applications of various types of motion control system. Through dissertating the kinds of control systems and the developing status of control techniques in native and foreign countries,I find out the advantages and disadvantages of kinds of motion(2) Demonstrate the advantages of using PLC in this system, and Make deeply study of the control of stepping motor driving technique of FPX—C60T. Establish the hardware of new type open loop whose motion control system is based on PLC and the program is compiled on computer.(3) Discuss the requests of interface functions.In order to program concisely and conveniently, design the interface of control system based on touch screen. PLC can distinguish data from instructions via the interface.(4) Develop linear interpolation and arc interpolation programs according to point to point compare interpolation theory, make the system has point to point and track control functions.Objectively analyses the advantages and disadvantages of domestic and foreign molding products。

Take into account of all sorts of the economy and maneuverability of motion control scheme, then determines the automatic machine control system based on PLC . According to panasonic FP series products and combining touch-screen, draws up a set of simple operationcontrol system 。

After doing experiments on testbed .It prove that motion control system of the dispensing machine can meets the requirements.After further perfecting the normal operation, it can be applied in practical production.Key words:Automatic adhesive injecting machine; PLC; touch screen; interpolation; Motion control目录独创性声明 ................................................................... 错误!未定义书签。

摘要 .......................................................................................................... I I ABSTRACT .. (III)第一章绪论 (1)1.1背景 (1)1.2控制系统的内容 (3)1.3控制系统的分类 (4)1.3.1按位置控制原理分类 (4)1.3.2按被控量的性质和运动控制分类 (6)1.3.3按驱动方式不同分类 (6)1.4课题来源及研究目的 (7)1.4.1课题来源 (7)1.4.2论文的主要研究内容 (7)第二章点胶机的控制方案 (8)2.1点胶机简介 (8)2.2 点胶机的机械结构 (8)2.3运动控制系统的控制要求分析 (10)2.3.1点位运动 (10)2.3.2轮廓控制 (10)2.3.3系统操作界面要求 (11)2.4运动控制系统控制方案方案确定 (11)2.5松下FP系列PLC (13)2.5.1松下FPX特点 (13)2.5.2松下FP系列PLC的编程元件 (15)2.6小结 (16)第三章点胶机的驱动方案 (17)3.1 点胶机的传动方式 (17)3.2执行元件分析 (20)3.2.1步进电机 (21)3.2.2交流伺服电机 (22)3.2.3电机的脉冲控制 (23)3.3点胶机控制系统硬件 (25)第四章点胶机运动控制分析 (28)4.1点位控制 (28)4.2插补运动控制 (29)4.2.1插补概念与插补方法的选择 (29)4.2.2逐点比较法 (30)4. 3插补编程分析 (31)4.3.1直线插补 (31)4.3.2圆弧插补 (36)4.3.3椭圆插补 (40)第五章软件编程和界面开发 (46)5.1PLC程序分析 (46)5.1.1点位控制 (46)5.1.2插补程序 (47)5.2操作界面设计 (49)5.2.1界面分析 (49)5.2.2触摸屏编程 (50)5.3 PLC和触摸屏编程要注意的问题 (54)5.3.1运算错误 (54)5.3.2语法错误 (56)5.3.3设置错误 (56)5.3.4方案错误 (56)第六章结论与展望 (58)6.1结论 (58)6.2展望 (58)参考文献 (59)致谢 ............................................................................... 错误!未定义书签。

第一章绪论1.1背景随着科学技术的发展,人类社会已经进入了信息时代,集成电路产业是信息社会经济发展的基石,而集成电路相关制造装备是信息产业发展的驱动力和重要组成部分。

当前,无论是个人电脑,信息产业还是汽车电子以及消费类电子产业,还有军事、航空、航天领域都对电子产品的电路封装具有越来越高的要求,这就使得点胶机的应用越来越广泛[1]。

相关主题