本科毕业论文:扭矩测量下位机接收系统设计_精品.doc
文本预览下载声明
扭矩测量下位机接收系统设计
摘要: MATLAB7.0的图形用户界面 (Graphical User Interface,GUI)设计功能较强,可以方便地实现图形化窗口界面的交互方式。利用这些用户界面,用户可以和计算机之间进行信息交流,并通过编写控件的回调函数(callback)完成特定的功能。
本文利用MATLAB7.0自带的通信类(SERIAL)开发出通信与数据采集软件,通过人机界面完成对扭矩、工具面角、井斜角、速度等数据的采集,设计出具有较强的数据处理能力的数据接收系统。使用MATLAB7.0的GUIDE设计出旋转导向钻井数据采集系统用户界面,设计了菜单,安排了串口选择、绘图、保存图形等控件,并进行相应的属性设计,为菜单、控件编写相应的回调函数(callback),实现了串口选择、串口参数选择、图形绘制、图形保存等功能,可以有效的监测和管理设备的运行。
关键词:MATLAB;GUI;数据采集;串口通信;回调函数
The Design of Torque Measurement Receiving System
Abstract: MATLAB7.0 GUI (Graphical User Interface, GUI) design function is powerfull, can easily achieve the graphical interface of the interactive window. Using these interfaces, users can exchange information with computers, and through program the callback function of the controls to complete a specific function.
In this paper, MATLAB7.0 own type of communication (SERIAL) developed a communications and data acquisition software, through the Man-machine interface to complete acquisiting the data of the torque, tool angle, deviation angle, speed , designed with a strongly data-processing capacity of the data receiving system. The use of GUIDE to design MATLAB7.0 Rotary Steerable Drilling data acquisition system user interface, designing menu, arranging the controls of serial selection, drawing, saveing of graphical ,and designing of the corresponding attributes ,programing the corresponding callback function for menu and controls which to complete the choosing of serial, serial parameters and rendering of graphics,saveing of graphics, etc.can be effective monitoring and management of the operation of equipment.
Keywords: MATLAB; GUI; data acquisition; serial communication; callback function
目 录
1 绪论………………………………………………………………………………..
1.1 课题的意义………………………………………………………………….
1.2 国内外研究现状…………………………………………………………….
1.3 旋转导向钻井技术简介…………………………………………………….
1.4 论文的主要工作…………………………………………………………….
2 GUI开发图形用户界面…………………………………………………………..
2.1 MATLAB GUI概述…………………………………………………………
2.1.1 GUI基本概念……………………………………
显示全部