首页 | 本学科首页   官方微博 | 高级检索  
     

MPU多任务系统模型下的有限状态机应用
引用本文:蒋纬洋,王卓然,刘满禄.MPU多任务系统模型下的有限状态机应用[J].国外电子测量技术,2012,31(4):83-86.
作者姓名:蒋纬洋  王卓然  刘满禄
作者单位:1. 西南科技大学工程技术中心智能机器人创新实践班 绵阳 621010
2. 上海Atmel公司 上海200000
3. 西南科技大学工程技术中心 绵阳 621010
摘    要:在基于嵌入式系统和单片机开发出来的控制系统中,随着外设数量和程序规模的不断扩大,系统对代码的实时性和有限的MPU运算效率提出了更高的要求。为解决系统实时性问题,提高MPU运算效率,防止浪费MPU时间、空间资源,在考虑MPU多任务系统程序执行的前提下,结合单片机UART通信模块提出了一种基于有限状态机的外设控制机制,并建立状态图,说明并验证了有限状态机应用于单片机编程的绝对优越性。

关 键 词:有限状态机  系统实时性  单片机  状态图  外设控制

Finite state machine based none-OS mutiple-task environment
Jiang Weiyang , Wang Zhuoran , Liu Manlu.Finite state machine based none-OS mutiple-task environment[J].Foreign Electronic Measurement Technology,2012,31(4):83-86.
Authors:Jiang Weiyang  Wang Zhuoran  Liu Manlu
Affiliation:Jiang Weiyang Wang Zhuoran Liu Manlu(1.Innovation Practice Class,Engineering technology center,Southwest University of Science and Technology,Mianyang 621010,China;2.Shanghai Atmel company,Shanghai 200000,China;3.Engineering technology center,Southwest University of Science and Technology,Mianyang 621010,China)
Abstract:In MPU control system and embedded system,it had a very higher request on real-time capability,along with the expansion of peripheral number and the system scale.To solve the problem and prevent MPU wasting it's time and space,it took system programming mode into consideration.Under the use of MPU uart communication module,it put forward a control mechanism based on the finite state machine controlled system,establish a state chart,explain and verify the absolute superiority in which the finite state machine was applied in the microcontroller programming.
Keywords:finite state machine  real-time system  MPU  state chart  peripherals control
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号