摘要为了便于测量双旋弹丸在飞行过程中的参数,本文搭建了基于虚拟仪器的双旋弹转速及力矩控制的机电系统,用于模拟弹丸飞行过程。系统包括力矩模拟和转速模拟,通过编写基于LabVIEW的上位机程序对力矩电机的力矩和高速电机的转速进行DA控制。同时通过上位机程序采集高速电机的转速,并将数据实时显示和保存。另外编写了基于LabVIEW的无线数据采集程序,进行近距离的数据读取和发送,并进行了无线数据采集试验。30137
关键词 LabVIEW 数据采集 DA控制 串口通讯 毕业论文设计说明书外文摘要
Title Research on the control system of the half physical simulation platform of the dual rotating projectile
Abstract
In order to measure the parameters of the two rotating projectiles during flight, in this paper, a mechanical and electrical system for the speed and torque control of the dual rotating projectile based on virtual instrument is built. This system is used to simulate the projectile flight process. The system includes moment simulation and speed simulation. DA control of the torque motor torque and the speed of the high speed motor are carried out by writing the program of the upper computer program based on LabVIEW. At the same time, the speed of the high-speed motor is acquired by the computer program and displayed and saved in real time. In addition, a serial communication program based on LabVIEW is written, which is read and transmitted in short distance data, and the wireless data acquisition test was carried out.
Keywords LabVIEW data acquisition DA control serial communication
目 次
1 绪论 1
1.1 课题背景 1
1.2 研究现状 1
1.3 课题任务和要求 2
2 系统总体设计 3
2.1 功能需求分析 3
2.2 硬件构成 3
2.3 虚拟仪器 6
2.4 程序开发流程 7
2.5 本章小结 7
3 转速及力矩模拟系统设计 8
3.1 数据采集模块设计 8
3.2 DA控制模块设计 12
3.3 本章小结 14
4 无线采集系统设计 16
4.1 VISA简介 16
4.2 串口通讯基本流程 16
4.3 VISA函数 16
4.4 串口通信程序设计 17
4.5 本章小结 19
5 试验与调试 20
5.1 数据采集系统试验 20
5.2 DA控制系统试验 22
5.3 串口通讯系统试验 24
5.4 本章小结 25
结 论 26
致 谢 27
参考文献28
1 绪论
本文旨在设计一种基于虚拟仪器的双旋弹丸转速及力矩控制的机电系统,实现对力矩电机力矩和高速电机转速的控制,最终能够模拟双旋弹丸的飞行过程。对两台电机的控制是通过数据采集卡发出的模拟电压信号实现的,数据采集卡与上位机相连,上位机的程序是用LabVIEW编写的DA控制程序。此外,上位机中基于LabVIEW的数据采集程序可用于测量电机的转速,并且能够显示和存储,可实时地了解电机的运转状态。另外,基于LabVIEW的无线数据采集程序可实现从串口中读取和发送数据的功能,可用于近距离的数据传输。