摘要
在应用功能日益增加的嵌入式系统中,简单的前后台系统已经无法满足要求。而在51系列的单片机中由于资源有限,较为复杂的系统又无法移植。该文在基于51单片机的硬件资源中,在时间触发系统的基础上,增加了抢占式内核的特性,对单片机中多任务操作系统设计提出了具体方法,提高了对抢占任务处理的实时性,并将其成功应用在智能电表中。实际应用证明了可行性,且对系统的维护和移植工作提供了方便。
Application functions has been increasingly enhanced in the field of embedded system,the original fore- ground and background system has been unable to meet the requirements of the project. And besides,More sophisti- cated systems cannot transplant into the 51 series microcontroller due to the resources limitation. In this paper,based on 51-microcontroller and the hardware resources,increasing the characteristics of preemptive kernel on the basis of time trigger system,put forward the concrete methods of Multitasking operating system,improved the real-time features of preemptive process and successfully applied in the smart meters,which proved the feasibility and maintainability, and ease of transplant of practical engineering.
出处
《自动化与仪表》
北大核心
2014年第1期50-52,共3页
Automation & Instrumentation
关键词
嵌入式系统
单片机
多任务
智能电能表
embedded system
single-chip computer
multi-tasking
smart meters