本文主要为广大网友提供“V带测长磨削机控制系统软件设计”,希望对需要V带测长磨削机控制系统软件设计网友有所帮助,学习一下!
机械设计制造及其自动化论文,论文编号:JX1118 论文字数:32258.页数:103
摘 要
V带是传动带中产量最大、品种最多、用途最广的一种产品。而目前我国的V带磨削机主要存在两个问题。一、磨削精度方面,目前国内的许多磨削机是人工测量的,只是将一些精度达不到要求的V型带略微加工下,磨削精度不是很高;二、在线测长方面,由于目前国内的磨削机大多都是测量—加工—测量的加工过程,还没有可以使测量与磨削同时进行的在线测长磨削机,无法做到磨削的同时可以随时测长。在这种需求背景下,研制一种新型的较高精度的在线测长的V带磨削机应该会有很好的应用前景。
本论文介绍了该种新型V带测长磨削机的控制系统软件设计过程。该磨削机控制系统以ADUC812单片机为控制核心,三菱触摸屏为人机界面,软件设计采用模块化结构和汇编语言进行编程。该控制系统的软件设计现已全部完成,并已在实验室模拟现场的硬件设备上调试成功。
本论文共分五章。第一章是绪论,主要介绍了V带测长磨削机的国内外现状并分析了对该种设备需求的发展趋势,明确了本次毕业设计内容的工程应用背景。
第二章的主要内容是对磨削机的工艺流程进行了详细的介绍。此外,还对V带测长磨削机的整机、硬件结构及控制系统的总体方案进行了介绍。
第三章介绍了该磨削机的控制系统硬件组成,包括以单片机为核心的主控板部分、触摸屏、电动机及传感器等。
第四章是本篇论文的重点。文中对该V带测长磨削机控制系统的软件进行设计,包括控制程序的主程序及其他功能模块程序设计。并对单片机与触摸屏的设计、测量数据采集和流程设计及可编程控制器-按键输入程序进行了介绍。
第五章是控制系统软件的调试过程中碰到的问题及所采取的解决方法。程序调试是软件设计中一个非常重要而关键的步骤,可以很好的学习编程的方法技巧以及出现问题时的解决能力。最后是结束语,及对本次毕业设计课题的完成情况及主要的收获进行了总结。
关键词:测长 磨削 机电一体化 ADμC812
Abstract
V-belt output most heavy, variety most large, use widest first product in the drive belt.Conveying with V-belt is one of the conveying ways which are mostly applied. And V-belt of our country is it rub person who sharpen for two questions to take at present. First, rub and pare the precision, domestic rubing the paring machine is artificial measurement at present, just take and process some precision unqualified V-belt type slightly, it is not very high to rub the precision of paring; Second, examine the long respect online, because rubing paring machines at home is mostly all measurement - processed at present - the processing course that measure, can make measurement and rub pare at the same time carrying on examine long to rub person who pare online yet, it is unable to accomplish can examine to rub long. Under these kind of demand background, there should be very good application prospects more than examining long V-belt to lead and rub the paring machine online of high accuracy to develop a kind of new-type one.
This thesis has recommended this kind of new-type V-belt and led and examined the long control systems soft ware design process of rubing the paring machine. It''s time to rub the control system of the paring machine and regard ADUC812 one-chip computer as the core of controlling, Mitsubishi touch-sensitive screen interface machine, software design adopt module structure and assembler language carry on programming. The software design of this control system has already been all finished now, and has already debugged successfully on the hardware equipment of the simulation scene of the laboratory.
This thesis divides into five chapters altogether. Chapter one the introduction, introduce V-belt is it examine long to rub domestic and international current situation of person who pare and analyse to the development trend, equipment of demand to take mainly, have defined the project of this graduation project content uses the background.
Chapter two main content to be introduce the detailed one to lasting technological process of sharpening. In addition, have made an introduction to that V-belt led and examined the long complete machine, structure of the hardware and overall scheme of the control system of rubing the paring machine even.
Is it should rub control system hardware of person who sharpen make up, including taking one-chip computer as the core top management board part, touch-sensitive screen, motor and sensor,etc. to recommend.
Chapter four a focal point of this page thesis. Lead and examine the long software which rubs the control system of the paring machine to design to this V-belt in the article, including the main program of the control procedure and other functions module design program. And has gathered and made an introduction with procedure designing and the programmable controller - the input program of the button to the design, measurement of the one-chip computer and touch-sensitive screen.
Chapter five problem met in the debugging course of controlling the systems soft ware and solutions taken. It is a very important and key step in software design that the procedure debugs, the study programming method skill that it can be very good and settlement ability while going wrong. It is a conclusion finally, and performance to this graduation project subject and main harvest have been summarized.
Keyword: measure;polish;mechanical and electronic intergration;ADμC812
目 录
摘 要 I
Abstract II
第1章 绪 论 1
1.1 引言 1
1.2 国内外现状及发展趋势 1
第2章 系统分析和方案设计 3
2.1 控制系统设计的原则 3
2.2 V带测长磨削机的工艺流程 3
2.3 V带测长磨削机控制系统的总体方案 5
第3章 控制系统硬件组成 7
3.1 系统基本配置 7
3.1.1 主控板 7
3.1.2 触摸屏 7
3.1.3 传感器 8
3.1.4 电动机 8
3.2 ADμC812芯片简介 9
3.2.1 ADμC812处理器的主要性能特点 9
3.2.2 ADμC812芯片AD/DA转换部分和扩展功能 10
3.2.3 ADμC812处理器的功能方块图 10
3.2.4 ADμC812处理器的选型理由及其主要功能 11
3.3 操作面板界面设计 11
第4章 控制系统软件设计 13
4.1 V带测长磨削机主程序 13
4.2 其它功能模块程序 16
4.2.1 返回零位流程设计 16
4.2.2 定长函数流程设计 17
4.2.3 正反磨函数流程设计 19
4.2.4零点确认 27
4.2.5 复位 27
4.3单片机与触摸屏通信函数设计 27
4.3.1 触摸屏的通讯地址 27
4.3.2 触摸屏的通讯规约 28
4.4 测量数据采集流程设计 32
4.5 可编程控制器-按键输入程序设计 32
第5章 调试问题及解决方案 35
结 论 36
致 谢 37
参考文献 38
附录 程序清单 39
外文翻译