网学网为需要自动化专业的朋友们搜集整理了伺服电机实验数据采集程序相关资料,希望对各位网友有所帮助!
论文编号:ZD1137 论文字数:23409,页数:67
摘 要
本论文介绍了一个实用的数据采集系统,为了检查出厂电机的运行情况,更好地保证伺服电机的质量,需要对伺服电机的转矩、转速等参数进行采集、存储、显示。分析了转矩转速测量原理,并通过软硬件技术结合,实现了对伺服电机的模拟量进行信号的采集与处理。本系统充分发挥了采集系统的优势,采用模块化设计软件方法,设计出独立于设备类型应用软件。通过它可方便精确地测量转矩、转速,并检测其伺服控制系统的准确度。试验表明,该采集系统精度高、抗干扰能力强、操作简单。
本文还介绍了伺服电机的工作原理、分类、特点及其优势,通过对其主要性能的分析,确定电机测试的主要参数。介绍了一种数据采集系统的实现,该系统采用数据采集模块结合数据接口卡作为专用硬件辅助设备,通过PCI总线扩展到微机上,在视窗操作系统环境下使用软件编程的方法,以微机作为采集控制单元经总线对硬件辅助设备进行配置和操作,实现了高采样率的数据采集、控制和双向通讯功能。
本次开发数据采集系统分为硬件设计和软件设计,本文主要介绍了系统软件结构的设计,尤其是采集卡的选择。并且用VB编译出物理实验室数据采集平台,介绍了其操作界面和主要功能,最后对采集过程中可能产生的误差进行具体分析。
关键词: 伺服电机 数据采集 测试 误差分析
Abstract
This paper describes a practical data collection system. In order to check the operation of the delivery motor, servo motor should be ensure the quality to need for servo motor torque, speed and other parameters for collection, storage and display better. Analyzing of the measuring principle of torque and speed, and through software and hardware technologies, to realize the analog servo motor for signal acquisition and processing. The system put into great play advantage of acquisition system ,use the design of modular of software, and design independent of the type of device applications. It can be easily adopted to accurately measure the torque, speed, and test its accuracy servo control system. Test show that the acquisition system of high precision, strong anti-interference ability, simple operation.
This article also describes the working principle, classification, characteristics and advantages of the servo motor. To determine the main parameters of motor tests by analyzing the main performance. It also introduces a data acquisition system. And this system combines data acquisition module with data interface card hardware as dedicated auxiliary equipment, through the PCI bus extended to the microcomputer. And software programming is in the windows operating system. PC in used as bus in the Acquisition Control Unit, to control Hardware accessories. To achieve a high sampling rate of data acquisition, control and two-way communication.
The development of data acquisition system can be divided into hardware and software design. This paper describes the design of software architecture, in particular the choice of capture card. It establishes a data platform of a physics laboratory with VB , and introduces its user interface and main functions, at last analyze the error .
Keywords: Servo motor Data acquisition Test Error analysis
目录
第一章 绪论 1
1.1选题的背景 1
1.3 选题的意义 1
1.3研究内容 1
1.4 本章小结 2
第二章 伺服驱动系统 3
2.1 伺服系统概况 3
2.2 伺服系统主要的特点 3
2.3 伺服电机 4
2.3.1 伺服电机工作原理与分类 4
2.3.2 伺服电机特点及其优势 4
2.3.3 伺服电机的主要性能 5
2.4 伺服电机性能测试 6
第三章 数据采集系统 8
3.1 数据采集系统概况 8
3.2 传感器的选用 9
3.3 数据采集卡的选择 10
3.4 信号调理 13
第四章 数据采集软件设计 15
4.1 数据采集驱动程序 15
4.1.1 采集参数的确定 15
4.1.2 底层程序设计 15
4.2 软件总体框图 17
4.3功能界面设计 18
第五章 伺服电机实验数据采集系统的误差分析 22
5.1传感器的误差 22
5.2调理电路的误差 23
5.2.1 放大器误差 23
5.2.2 滤波器误差 23
5.3 数据采集系统的误差 24
5.3.1 多路模拟开关引起的误差 24
5.3.2 采样误差 25
5.3.3 A/D 转换器误差 26
第六章 总 结 28
参考文献 29
致 谢 30
附 录 程序 31