摘要
针对在传统的以单片机为核心的智能家居系统开发过程中,存在"程序陷入死循环后耗时分析"等问题,将嵌入式实时操作系统应用到智能家居中。在分析了多种实时操作系统之后,提出了一种基于MQX实时操作系统的智能家居系统实现方案。该方案以飞思卡尔32位单片机MK60DN512VLQ10为硬件平台,结合MQX实时操作系统的实时性,实现了对家居环境温湿度、光照强度和常见燃气浓度等状况的实时数据采集,同时基于LabVIEW软件开发的上位机控制平台程序,实现了数据的实时监控。在搭建的实验平台上对系统进行了测试。测试结果表明,系统运行稳定、数据采集准确、对嵌入式实时操作系统应用到智能家居系统中的课题具有探索意义。
Aiming at the problems of the development in traditional smart home system based on single-chip microcomputer always falling in a dead cycle, which is the time-consuming analysis, thus embedded real-time OS was applied to smart home. After the analysis of varieties real- time OS, an implementation scheme of smart home system based on MQX real-time OS was presented. The scheme, which was realized on the platform of Freescale 32-bit microcontroller MK60DNS12VLQ10 hardware and combined with MQX Real-Time OS, was implemented with the ac- quisition of temperature, humidity, light intensity and the concentration of common gas. At the same time, the LabVIEW software was used for PC control platform program to realize data real-time monitoring. At last, the system was tested on the experiment platform. The results indicate that the system runs stably, collects data accurately and has exploring significance for embedded real-time OS applied to smart home system.
出处
《机电工程》
CAS
2013年第11期1435-1439,1444,共6页
Journal of Mechanical & Electrical Engineering
基金
浙江省自然科学基金资助项目(LY12F03021)
宁波自然科学基金资助项目(2011A610128)