电子技术
電子技術
전자기술
ELECTRONIC TECHNOLOGY
2012年
8期
70-72,66
,共4页
Cortex-M3%STM32%气象数据采集%μc/os-Ⅱ
Cortex-M3%STM32%氣象數據採集%μc/os-Ⅱ
Cortex-M3%STM32%기상수거채집%μc/os-Ⅱ
设计了一种气象数据采集系统,该系统能采集温度、湿度、气压、风速4个气象要素,采集的原始数据保存在本地SD卡中,同时对采集数据进行数据处理,处理后的数据打包成气象数据包,使用GPRS模块将数据包通过GSM网络上传到上位机.采集系统主控制器使用基于Cortex-M3内核的STM32处理器,在处理器上移植μ c/os-Ⅱ实时操作系统作为软件平台,保证了数据采集中较好的实时性和稳定性.在数据处理方面,参考地面观测规范对温度、湿度、气压采用筛除大小值取算术平均的算法,对风速测量数据采用滑动平均算法.经实验验证,系统正常运行,测量精度达到设计要求,具有成本低廉,精度高,具有较好的实时性和稳定性.
設計瞭一種氣象數據採集繫統,該繫統能採集溫度、濕度、氣壓、風速4箇氣象要素,採集的原始數據保存在本地SD卡中,同時對採集數據進行數據處理,處理後的數據打包成氣象數據包,使用GPRS模塊將數據包通過GSM網絡上傳到上位機.採集繫統主控製器使用基于Cortex-M3內覈的STM32處理器,在處理器上移植μ c/os-Ⅱ實時操作繫統作為軟件平檯,保證瞭數據採集中較好的實時性和穩定性.在數據處理方麵,參攷地麵觀測規範對溫度、濕度、氣壓採用篩除大小值取算術平均的算法,對風速測量數據採用滑動平均算法.經實驗驗證,繫統正常運行,測量精度達到設計要求,具有成本低廉,精度高,具有較好的實時性和穩定性.
설계료일충기상수거채집계통,해계통능채집온도、습도、기압、풍속4개기상요소,채집적원시수거보존재본지SD잡중,동시대채집수거진행수거처리,처리후적수거타포성기상수거포,사용GPRS모괴장수거포통과GSM망락상전도상위궤.채집계통주공제기사용기우Cortex-M3내핵적STM32처리기,재처리기상이식μ c/os-Ⅱ실시조작계통작위연건평태,보증료수거채집중교호적실시성화은정성.재수거처리방면,삼고지면관측규범대온도、습도、기압채용사제대소치취산술평균적산법,대풍속측량수거채용활동평균산법.경실험험증,계통정상운행,측량정도체도설계요구,구유성본저렴,정도고,구유교호적실시성화은정성.