您好,欢迎来到佳博论文网!

面向数控装备的嵌入式测控系统的软件系统研究

论文编号:CK074论文字数:16869,页数:36

摘 要

随着计算机软硬件技术的迅速发展,嵌入式系统技术日趋成熟和完善。其系统结构精简、功耗低等特点能弥补传统数控系统的不足,使工业装备朝着数字化、集成化、低功耗、低成本方向发展。采用嵌入式系统可以缩短产品研发周期,提高系统的可靠性和性价比,因而在数控领域中获得了广泛的应用。

数控装备弯管机可对管材在冷态下进行一个弯曲半径(单模)或两个弯曲半径(双模)的缠绕式弯曲,广泛使用于汽车、空调等行业的各种管件和线材的弯曲。其控制系统包括对执行部件液压泵和伺服电机的控制,本文在其硬件系统的基础上,针对伺服系统中一个C轴伺服电机进行嵌入式测控系统的软件系统研究,需完成对C轴各项基本功能的模块化测试。

本文软件系统研究的主要内容包括软件开发理论与规范和具体到C轴功能的软件开发实践两部分。其中软件开发理论与规范涉及到软件工程中的相关知识的学习与应用;具体到C轴电机的软件开发实践主要包括对系统中板卡的接口函数和驱动、实现各种功能的应用程序和人机交互界面三个层面的研究和实践。

关键词:数控弯管机、嵌入式系统、伺服电机、软件系统研究

Abstract

With the rapid development of computer hardware and software technologies, embedded systems technology has matured and improved. The system is lean, and low power consumption to make up the deficiency of traditional CNC systems, it can help the industrial equipment development towards the digital, integrated, low power and low-cost direction. Embedded systems can shorten product development cycles, increase system reliability and cost-effective, and therefore it has a wide access to the CNC applications.

CNC pipe bending machine equipment can make a bending radius (single mode) or two bend radius (mode) of the winding bend under the cold, widely used in automobiles, air-conditioning industries of the various tubes and wires bending. The control system includes the hydraulic pump and servo motor control of the implementation of components. In this paper, it has a embedded control system software study on servo system for a C axis servo motor based on the hardware system, need to complete all the basic modular functions test of the C-axis.

This software system mainly covers two parts for the theory and specification of the software development and the software development practices specific to the C-axis function. Including software development theories and norms related to learning and application of software engineering knowledge. Specific to software development practices of the C-axis motor, it includes three levels research and practice: the interface functions and drivers, the applications to achieve the various functions and the human-machine interface.

Keywords: CNC Tube Bender, embedded systems, servo motors, software system research

目 录

摘 要Ⅰ

AbstractⅡ

目 录Ⅲ

1. 绪 论1

1.1 课题的来源1

1.2 研究的主要内容1

1.3 国内外弯管机研究现状1

1.4 软件及软件系统的研究方法2

1.5 研究的目的及意义3

2. 系统设计与伺服电机参数的选择5

2.1 总体设计方案5

2.2 伺服电机简介及参数设置6

2.2.1伺服电机工作原理6

2.2.2三菱通用MELSERVO-J3系列伺服放大器7

2.2.3 伺服电机相关参数设置8

3. 研华板卡选择和设备驱动程序的设计11

3.1 研华数字输入输出板卡11

3.2 研华PCI-1784编码器和计数器卡11

3.3 设备驱动概述及驱动函数11

3.4运动控制卡15

3.4.1 PCI-1240运动控制卡15

3.4.2 PCI-1240部分功能函数16

4. 系统软件的开发与实现18

4.1 C++语言及特点18

4.2 VC++6.0软件及MSDN概述18

4.3 基于对话框的MFC应用程序设计20

4.3.1 Windows 消息机制和MFC介绍20

4.3.2 建立基于对话框的Windows应用程序基本框架22

4.4 应用程序的实现24

5. 人机交互界面设计28

6. 系统的调试30

7. 总结与展望31

致 谢32

参考文献33

面向数控装备的嵌入式测控系统的软件系统研究......