Suzhou Electric Appliance Research Institute
期刊号: CN32-1800/TM| ISSN1007-3175

SUBSCRIPTION MANAGEMENT

发行征订

首页 >> 发行征订 >> 征订方式

供电综合保护器实时系统μC/OS-Ⅲ中断管理设计

来源:电工电气发布时间:2020-10-26 15:26浏览次数:639
供电综合保护器实时系统μC/OS-Ⅲ中断管理设计
 
冯冲1,吴尧辉1,曹聪2
(1 河南理工大学 电气工程与自动化学院,河南 焦作 454150;2 信阳师范学院 物理电子工程学院,河南 信阳 464000)
 
    摘 要:针对供电综合保护器对实时性的要求,结合μC/OS- Ⅲ实时操作系统对保护器中断任务进行中断管理设计。通过对μC/OS- Ⅲ系统中断管理机制分析,将中断任务分成内核对象参与和无内核对象参与,并对两种中断任务进行不同处理。为减少中断延迟时间,提高保护器系统对异常事件的响应速度,将数据采集、数据接收、数据存储等内核对象参与的中断任务选择延迟发布模式。仿真实验结果表明,中断关闭时间最高为3.35 ms,提高了系统对中断任务的快速响应和处理,保证了保护器的实时性和稳定性。
    关键词:供电综合保护;μC/OS- Ⅲ实时操作系统;中断管理;延迟发布模式;实时性
    中图分类号:TP273     文献标识码:A     文章编号:1007-3175(2020)10-0017-05
 
Design of Real-Time System μC/OS-III Interrupt Management Design in Power Supply Integrated Protector
 
FENG Chong1, WU Yao-hui1, CAO Cong2
(1 School of Electrical Engineering and Automation, Henan Polytechnic University, Jiaozuo 454150, China;
2 College of Physics and Electronic Engineering, Xinyang Normal University, Xinyang 464000, China)
 
    Abstract: Aiming at the real-time requirement of power supply comprehensive protection, combined with μC/OS-III real-time operating system, the interrupt management devise of the protector interrupt task is carried out. In this paper through the analysis of μC/OS-III system interrupt management mechanism, to divide the interrupt tasks into kernel object participation and non kernel object participation, and handle the two kinds of interrupt tasks differently. In order to reduce the interrupt delay time and improve the response speed of the protector system to the abnormal events, the delayed release mode is selected for the interrupt tasks involving data collection, data receiving, data storage and other kernel objects.The simulation experiment results show that the maximum interrupt closing time is 3.35 ms, which improves the system's rapid response and processing of interrupt tasks, and ensures the real-time and stability of the protector.
    Key words: integrated power supply protection; μC/OS-III real-time operating system; interrupt management; delayed release mode; real-time
 
参考文献
[1] 吴尧辉,刘思,吴昊珍,等. 基于μC/OS-Ⅲ的供电综合保护器设计[J]. 电力系统保护与控制,2018,46(12):122-127.
[2] 谌普江,龚光华,宫辉,等.μC/OS-Ⅲ为缩短中断关闭时间作出的改进[J]. 单片机与嵌入式系统应用,2013,13(1):78-81.
[3] 杨晓霞,刘荣兴. 嵌入式系统中断处理的分析和改进[J]. 计算机工程与设计,2006,27(12):2254-2255.
[4] 金浩, 韩江洪, 李阳铭. 基于ARM的嵌入式系统中断处理机制研究[J]. 现代电子技术,2005,28(22):1-3.
[5] 张勇,夏家莉,陈滨,等. 嵌入式实时操作系统μc/OS-Ⅲ应用技术:基于ARM Cortex-M3 LPC1788[M].北京:北京航空航天大学出版社,2013.
[6] 刘火良,杨森. STM32库开发实战指南[M]. 北京:机械工业出版社,2013.
[7] 吴尧辉,吴天博. 基于μC/OS-Ⅲ的供电保护数据采集处理系统设计[J]. 测控技术,2016,35(9):98-101.
[8] 卢涛,邢军辉,郑维,等. 基于μC/OS-Ⅱ和CAN总线的立体车库控制器设计[J]. 电工技术,2019(3):49-50.
[9] 吴兆芝. X86 平台UCOS+FatFS文件系统移植研究与实现[J]. 吉林师范大学学报( 自然科学版),2011,32(2):125-127.
[10] 袁志祥,甘正良. 基于μC/OS-Ⅲ的实时内核中断管理机制[J]. 计算机工程,2015,41(11):100-105.