当前位置:主页 > 科技论文 > 自动化论文 >

空中手写轨迹检测系统的研究与设计

发布时间:2018-12-12 12:30
【摘要】:计算机的信息输入方式有很多种,现在人们越来越喜爱手写输入,并且随着智能设备的不断发展,手写输入方式出现在生活的方方面面。最普遍的手写输入方式是利用手写笔在固定的手写平面进行书写,通过采集手写平面书写的轨迹或者数据信息,然后将该数据传送至终端设备进行处理,这属于二维空间信息的输入。本论文主要研究的是在三维空间中的数据输入。目前,三维空间的轨迹跟踪系统广泛应用于虚拟现实的人机交互领域,主要包括磁追踪系统、激光追踪系统和基于三维计算机视觉的追踪系统。这些追踪系统都具有较高的精度,但是其缺点有:成本高、体积大、不易携带,不适合三维空中手写轨迹检测系统的研究。而本论文设计了一种基于MEMS加速度传感器的运动轨迹检测系统,该系统具有成本低、体积小、易携带等优点,符合空中手写轨迹检测系统的研究。本论文主要使用高精度的六轴传感器MPU6050检测手写笔在空中运动过程的加速度和角速度信息,根据牛顿第二定律对检测的加速度数据的一次积分得到速度,然后对速度的一次积分就可以得到位移数据。由于在手写的过程中会发生方向的变化,所以需要通过角速度计算出旋转矩阵,再进行坐标转换将加速度数据固定到同一坐标系中,然后利用牛顿第二定律进行两次积分就可以计算出位移,并将这些计算出的位移点连接起来就可以获得空中手写的运动轨迹。但是在测量过程中,由于外部环境的变化会引入随机误差,或者传感器本身的原因使测得的加速度和角速度数据存在误差,或者手的抖动引起的误差,都会导致最终的运动轨迹显示不正确。本文中为了降低这些随机误差和测量误差,设计并实现了kalman滤波器来降低随机误差,并根据零速度补偿算法和多轴动态开关算法的原理设计并实现了对检测到的加速度进行补偿,并对积分过程产生误差的累加做出了补偿。系统总体可以分为两个模块:数据检测模块和上位机处理模块。数据检测模块主要是检测手部运动的加速度和角速度数据;上位机处理模块就是通过相关的算法进行处理,包括坐标转换、滤波、数据的积分及补偿等,最后就是将计算出的位移信息显示出来。在硬件实现方面,主要使用MPU6050模块检测手写运动过程的加速度和角速度信息,然后通过USB转TTL电平的串口模块将MPU6050与计算机相连接,并将检测到的信息上传至上位机,保存为txt文件;软件实现方面,软件实现的全部算法都在计算机的MATLAB上进行处理,包括坐标转换、kalman滤波、误差补偿、积分等。论文最后叙述了该系统的实验过程,并展示了部分实验结果。实验结果表明该系统空中轨迹测量误差小于15%,可满足简单的空中轨迹识别。此外,依据实验结果及其分析结果,论文对系统提出了改进意见,并对将来的研究工作进行了展望。
[Abstract]:There are many kinds of information input methods in computer. Nowadays, people are more and more fond of handwriting input, and with the development of intelligent devices, handwriting input appears in every aspect of life. The most common form of handwriting input is to use the stylus to write on a fixed handwriting plane, by collecting the trace or data information of the handwriting plane, and then transmitting the data to the terminal device for processing. This is the input of two-dimensional spatial information. In this paper, data input in three-dimensional space is studied. At present, 3D trajectory tracking system is widely used in the field of virtual reality human-computer interaction, including magnetic tracking system, laser tracking system and 3D computer vision based tracking system. These tracking systems all have high accuracy, but their disadvantages are high cost, large volume and difficult to carry, so they are not suitable for the research of 3D aerial handwritten trajectory detection system. In this paper, a motion trajectory detection system based on MEMS acceleration sensor is designed. The system has the advantages of low cost, small volume and easy to carry. It is in line with the research of aerial handwritten trajectory detection system. In this paper, the acceleration and angular velocity information of the stylus in the process of air motion is detected by using the high-precision six-axis sensor MPU6050, and the velocity is obtained by the integration of the acceleration data measured by Newton's second law. Then the displacement data can be obtained by the first integral of the velocity. Because of the change of direction in the handwritten process, it is necessary to calculate the rotation matrix through angular velocity, and then fix the acceleration data to the same coordinate system by coordinate transformation. Then the displacement can be calculated by twice integrating Newton's second law and the handwritten motion track can be obtained by connecting the calculated displacement points together. However, in the measurement process, random errors may be introduced due to changes in the external environment, or errors exist in the measured acceleration and angular velocity data due to the sensor itself, or errors caused by the jitter of the hand. Will cause the final motion trajectory to show incorrectly. In order to reduce these random errors and measurement errors, a kalman filter is designed and implemented to reduce the random errors. According to the principle of zero-velocity compensation algorithm and multi-axis dynamic switching algorithm, the detected acceleration compensation is designed and realized, and the accumulation of errors in the integration process is compensated. The system can be divided into two modules: data detection module and PC processing module. The data detection module mainly detects the acceleration and angular velocity data of the hand motion. The upper computer processing module is processed by related algorithms, including coordinate transformation, filtering, data integration and compensation, etc. Finally, the calculated displacement information is displayed. In the aspect of hardware realization, MPU6050 module is mainly used to detect the acceleration and angular velocity information of handwritten motion process, then the MPU6050 is connected to the computer through the serial port module of USB to TTL level, and the detected information is uploaded to the upper computer. Save as txt file; In the aspect of software realization, all the algorithms are processed on the computer MATLAB, including coordinate conversion, kalman filter, error compensation, integration and so on. Finally, the experiment process of the system is described, and some experimental results are presented. The experimental results show that the measurement error of the system is less than 15. In addition, according to the experimental results and their analysis results, the paper puts forward some suggestions for improvement of the system, and prospects for future research work.
【学位授予单位】:成都理工大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP391.41;TP212

【参考文献】

相关期刊论文 前8条

1 王巍;;惯性技术研究现状及发展趋势[J];自动化学报;2013年06期

2 何方;;人机交互的进化[J];科技创业;2011年11期

3 黄声明;刘序俨;梁全强;季颖锋;李华;;坐标系的物理基础及其空间性质[J];大地测量与地球动力学;2011年S1期

4 刘宇;鞠文斌;刘羽熙;;加速度传感器的检测应用研究进展[J];计量与测试技术;2010年10期

5 杨清;陈岭;陈根才;;基于单加速度传感器的行走距离估计[J];浙江大学学报(工学版);2010年09期

6 许其义;;基于MATLAB的仪表通信控件的设计[J];工业控制计算机;2009年07期

7 亢春梅,曹金名,刘光辉;国外MEMS技术的现状及其在军事领域中的应用[J];传感器技术;2002年06期

8 刘晓光,谢玲,戴亚平,陈家斌,张鸿业;捷联式惯性导航系统误差处理技术的新进展[J];火力与指挥控制;2001年04期

相关博士学位论文 前1条

1 何昆鹏;MEMS惯性器件参数辨识及系统误差补偿技术[D];哈尔滨工程大学;2009年

相关硕士学位论文 前7条

1 王荣;可穿戴传感网络中异质传感器数据融合算法研究[D];南京邮电大学;2013年

2 马启洪;廊坊供电公司GPS车辆定位监测项目策划与实施[D];华北电力大学;2012年

3 张斌;基于MIMU的捷联惯性导航系统数据采集与处理技术研究[D];哈尔滨工程大学;2010年

4 崔璐璐;基于MEMS器件的姿态测量系统研究与实现[D];大连理工大学;2009年

5 高靓;基于BP神经网络的手写英文字母识别[D];中北大学;2009年

6 张义悦;基于机器视觉的三位检测定位理论研究[D];昆明理工大学;2008年

7 冯颖;无线传感器网络的移动目标跟踪算法研究[D];湖南大学;2007年



本文编号:2374553

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/zidonghuakongzhilunwen/2374553.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户d1f7e***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com