摘要
设计了一种气象数据采集系统,该系统能采集温度、湿度、气压、风速4个气象要素,采集的原始数据保存在本地SD卡中,同时对采集数据进行数据处理,处理后的数据打包成气象数据包,使用GPRS模块将数据包通过GSM网络上传到上位机。采集系统主控制器使用基于Cortex-M3内核的STM32处理器,在处理器上移植μc/os-II实时操作系统作为软件平台,保证了数据采集中较好的实时性和稳定性。在数据处理方面,参考地面观测规范对温度、湿度、气压采用筛除大小值取算术平均的算法,对风速测量数据采用滑动平均算法。经实验验证,系统正常运行,测量精度达到设计要求,具有成本低廉,精度高,具有较好的实时性和稳定性。
This paper introduces a design of meteorological data collection system, the system can collect four key meteorological elements, temperature, humidity, air pressure, and wind speed.The measured data are stored into the local SD card. The system will process the measured data, and the processed data is packaged into meteorological data package, and the data packages are uploaded to the PC computer through GSM network using GPRS module. The master controller of the data acquisition system uses STM32 processor based on latest Cortex- M3 core. On the processor, u c/os-II real time operation system is ported as the software platform, thereby ensuring better real-time performance and stability in data acquisition. In the aspect of data processing, the algorithm that eliminates maximum and minimum values and takes arithmetical average is adopted for temperature, humidity, air pressure while referencing to ground observation specification; and the moving average algorithm is used for wind speed measurement data. Experimental demonstration shows that the system operation is normal, the measurement precision achieves design requirements, and features low cost, high precision, better real-time performance and stability.
出处
《电子技术(上海)》
2012年第8期70-72,66,共4页
Electronic Technology