摘要
针对传统测角仪器采用分体设计,具有体积庞大、读数困难的问题,设计了一种新型的便携式倾角传感器.利用C8051单片机的P2.0口采集传感器的输出电压,经过单片机自带的模数转换模块进行模数转换,转换后的数字量首先通过一次平均值滤波处理,然后将其转化为角度,最后通过液晶显示器输出测量角度,同时还设计了RS-232通信模块,用于和上位机进行通信.系统采用了模块化设计的思想,具有重量轻、体积小、电池供电、使用方便等特点.实验结果表明:在0-90°的范围内,系统的最小分辨率为0.1°,灵敏度为0.02 V/°,具有比较好的重复性和线性度.
In view of huge physical volume and receiving data difficultly of traditional tilt sensor, a kind of portable inclinometer was designed. The output voltage of the sensor was collected via p3.3 port by C8051 single chip computer, then the voltage was converted to digital form by digital analog conversion. The angle was displayed by liquid crystal display after average filtering. RS-232 communication module was designed to communicate with computer. The inclinometer has features of light weight, small size, battery-powered, easy- to-use due to modular design. The experiment results show that the system has resolution of O. 1 in the range of 0 - 90 , with the sensitivity 0.02 V/, and has better repeatability and linearity
出处
《武汉工程大学学报》
CAS
2012年第9期75-78,共4页
Journal of Wuhan Institute of Technology
基金
湖北省自然科学基金项目(2010CHB01301)
武汉工程大学科学研究项目(15106032)