传感器与微系统
傳感器與微繫統
전감기여미계통
TRANSDUCER AND MICROSYSTEM TECHNOLOGY
2009年
12期
83-85
,共3页
汤国锋%刘猛%黄卫佳%杨永才
湯國鋒%劉猛%黃衛佳%楊永纔
탕국봉%류맹%황위가%양영재
AVR单片机%双轴%倾斜传感器%数据采集
AVR單片機%雙軸%傾斜傳感器%數據採集
AVR단편궤%쌍축%경사전감기%수거채집
AVR microcontroller%dual-axis%tiIt sensor%data acquisition
为提高双轴倾斜角度测量系统的测量精度和系统线性度,设计了一种由AVR单片机作为处理器的电解液式高精度双轴倾斜度传感器数据采集与处理系统.利用Atmega 8系列单片机的PC1口和PC2口采集由小角度发生器调节的传感器倾斜角度信息,经过单片机自带的A/D转换模块进行A/D转换,再通过一次平均值滤波处理,最后输出传感器的倾斜角度.实验结果表明:系统能够在±4'范围内以1"的最小分辨率输出仪器倾斜角度数据,灵敏度达到0.2mV/(").具有比较好的重复性和线性度.
為提高雙軸傾斜角度測量繫統的測量精度和繫統線性度,設計瞭一種由AVR單片機作為處理器的電解液式高精度雙軸傾斜度傳感器數據採集與處理繫統.利用Atmega 8繫列單片機的PC1口和PC2口採集由小角度髮生器調節的傳感器傾斜角度信息,經過單片機自帶的A/D轉換模塊進行A/D轉換,再通過一次平均值濾波處理,最後輸齣傳感器的傾斜角度.實驗結果錶明:繫統能夠在±4'範圍內以1"的最小分辨率輸齣儀器傾斜角度數據,靈敏度達到0.2mV/(").具有比較好的重複性和線性度.
위제고쌍축경사각도측량계통적측량정도화계통선성도,설계료일충유AVR단편궤작위처리기적전해액식고정도쌍축경사도전감기수거채집여처리계통.이용Atmega 8계렬단편궤적PC1구화PC2구채집유소각도발생기조절적전감기경사각도신식,경과단편궤자대적A/D전환모괴진행A/D전환,재통과일차평균치려파처리,최후수출전감기적경사각도.실험결과표명:계통능구재±4'범위내이1"적최소분변솔수출의기경사각도수거,령민도체도0.2mV/(").구유비교호적중복성화선성도.
A data acquisition and processing system composed of dual-axis electrolytic tilt sensor is designed to increase the measurement accuracy and system linearity.The AVR SCM is used as controller in the system for the purpose of low-cost and high-precision.The PC1 and PC2 ports are used to acquire sensor data.The A/D conversion is achieved by the SCM's ADC module.Then filtered by average.The system is able to figure out the tilting angle which changed by the small-angle generator.Experimental results show that the system Can output the data of sensor tilting angle in the range of±4'with minimum resolution 1" and the sensitivity is 0.2mV/(").The whole system has a relatively good repeatability and linearity.