微型机与应用
微型機與應用
미형궤여응용
MICROCOMPUTER & ITS APPLICATIONS
2014年
6期
64-67
,共4页
BMP085%气压传感器%线性插值法%高度测量
BMP085%氣壓傳感器%線性插值法%高度測量
BMP085%기압전감기%선성삽치법%고도측량
BMP085%pressure sensor%linear interpolation method%altitude measurement
设计了一种基于气压传感器 BMP085的高度测量系统。该系统以 STM32F103RCT6嵌入式芯片为主控制器,采用 I2C 硬件接口的方式读取 BMP085测量的气压值,并用温度值对气压值进行补偿,然后根据大气压强与海拔高度的关系,利用线性插值法计算绝对高度,进而获取相对高度。实验结果表明,该系统测量的相对高度误差为0.4 m,能够达到高精度的要求。
設計瞭一種基于氣壓傳感器 BMP085的高度測量繫統。該繫統以 STM32F103RCT6嵌入式芯片為主控製器,採用 I2C 硬件接口的方式讀取 BMP085測量的氣壓值,併用溫度值對氣壓值進行補償,然後根據大氣壓彊與海拔高度的關繫,利用線性插值法計算絕對高度,進而穫取相對高度。實驗結果錶明,該繫統測量的相對高度誤差為0.4 m,能夠達到高精度的要求。
설계료일충기우기압전감기 BMP085적고도측량계통。해계통이 STM32F103RCT6감입식심편위주공제기,채용 I2C 경건접구적방식독취 BMP085측량적기압치,병용온도치대기압치진행보상,연후근거대기압강여해발고도적관계,이용선성삽치법계산절대고도,진이획취상대고도。실험결과표명,해계통측량적상대고도오차위0.4 m,능구체도고정도적요구。
This paper designs a kind of height measurement system based on BMP085 pressure sensor . With STM32F103RCT6 embedded chip as the main controller for the system , use the way of I 2C hardware interface to read the pressure data that the BMP085 measures , and do compensation to the pressure data with the temperature data . Then adopt linear interpolation method to calculate the absolute height based on the relationship of atmospheric pressure and altitude . Thereby acquire the relative height . The experimental result shows that the relative height measurement error of this system is 0 . 4 m , thus can achieve high precision re-quirement .