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

Article retrieval

文章檢索

首頁 >> 文章檢索 >> 往年索引

供電綜合保護(hù)器實時系統(tǒng)μC/OS-Ⅲ中斷管理設(shè)計

來源:電工電氣發(fā)布時間:2020-10-26 15:26 瀏覽次數(shù):774
供電綜合保護(hù)器實時系統(tǒng)μC/OS-Ⅲ中斷管理設(shè)計
 
馮沖1,吳堯輝1,曹聰2
(1 河南理工大學(xué) 電氣工程與自動化學(xué)院,河南 焦作 454150;2 信陽師范學(xué)院 物理電子工程學(xué)院,河南 信陽 464000)
 
    摘 要:針對供電綜合保護(hù)器對實時性的要求,結(jié)合μC/OS- Ⅲ實時操作系統(tǒng)對保護(hù)器中斷任務(wù)進(jìn)行中斷管理設(shè)計。通過對μC/OS- Ⅲ系統(tǒng)中斷管理機制分析,將中斷任務(wù)分成內(nèi)核對象參與和無內(nèi)核對象參與,并對兩種中斷任務(wù)進(jìn)行不同處理。為減少中斷延遲時間,提高保護(hù)器系統(tǒng)對異常事件的響應(yīng)速度,將數(shù)據(jù)采集、數(shù)據(jù)接收、數(shù)據(jù)存儲等內(nèi)核對象參與的中斷任務(wù)選擇延遲發(fā)布模式。仿真實驗結(jié)果表明,中斷關(guān)閉時間最高為3.35 ms,提高了系統(tǒng)對中斷任務(wù)的快速響應(yīng)和處理,保證了保護(hù)器的實時性和穩(wěn)定性。
    關(guān)鍵詞:供電綜合保護(hù);μC/OS- Ⅲ實時操作系統(tǒng);中斷管理;延遲發(fā)布模式;實時性
    中圖分類號:TP273     文獻(xiàn)標(biāo)識碼: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
 
參考文獻(xiàn)
[1] 吳堯輝,劉思,吳昊珍,等. 基于μC/OS-Ⅲ的供電綜合保護(hù)器設(shè)計[J]. 電力系統(tǒng)保護(hù)與控制,2018,46(12):122-127.
[2] 諶普江,龔光華,宮輝,等.μC/OS-Ⅲ為縮短中斷關(guān)閉時間作出的改進(jìn)[J]. 單片機與嵌入式系統(tǒng)應(yīng)用,2013,13(1):78-81.
[3] 楊曉霞,劉榮興. 嵌入式系統(tǒng)中斷處理的分析和改進(jìn)[J]. 計算機工程與設(shè)計,2006,27(12):2254-2255.
[4] 金浩, 韓江洪, 李陽銘. 基于ARM的嵌入式系統(tǒng)中斷處理機制研究[J]. 現(xiàn)代電子技術(shù),2005,28(22):1-3.
[5] 張勇,夏家莉,陳濱,等. 嵌入式實時操作系統(tǒng)μc/OS-Ⅲ應(yīng)用技術(shù):基于ARM Cortex-M3 LPC1788[M].北京:北京航空航天大學(xué)出版社,2013.
[6] 劉火良,楊森. STM32庫開發(fā)實戰(zhàn)指南[M]. 北京:機械工業(yè)出版社,2013.
[7] 吳堯輝,吳天博. 基于μC/OS-Ⅲ的供電保護(hù)數(shù)據(jù)采集處理系統(tǒng)設(shè)計[J]. 測控技術(shù),2016,35(9):98-101.
[8] 盧濤,邢軍輝,鄭維,等. 基于μC/OS-Ⅱ和CAN總線的立體車庫控制器設(shè)計[J]. 電工技術(shù),2019(3):49-50.
[9] 吳兆芝. X86 平臺UCOS+FatFS文件系統(tǒng)移植研究與實現(xiàn)[J]. 吉林師范大學(xué)學(xué)報( 自然科學(xué)版),2011,32(2):125-127.
[10] 袁志祥,甘正良. 基于μC/OS-Ⅲ的實時內(nèi)核中斷管理機制[J]. 計算機工程,2015,41(11):100-105.