WU Yaohui, GUO Yanan, WU Haozhen. Design of real-time system μC/OS-Ⅲ multitask interrupt management in power supply integrated protector[J]. 2020, (11): 99-102. DOI: 10.13873/J.1000-9787(2020)11-0099-04.
供电综合保护器实时系统μC/OS-Ⅲ多任务中断管理设计
摘要
针对供电综合保护器任务多且前后台系统实时性差的问题
以STM32库开发方式
结合μC/OS—Ⅲ实时操作系统中断管理机制对保护器进行多任务中断管理设计。根据保护器功能特点
对保护器进行多任务划分
通过开启延迟发布模式
对数据采集、数据接收、数据存储等任务进行中断管理设计
提高了任务对事件的响应和处理
并且使用实时内核对象实现任务间的运行管理。通过μC/Probe对系统软件进行运行检测
验证了基于μC/OS—Ⅲ的多任务中断管理能够可靠运行和提高系统的实时性。
Abstract
Aiming at the problems of multiple tasks of power supply integrated protector and poor real-time performance of front-background system
developed in STM32 library with μC/OS-III real-time operating system interrupt management mechanism
the multitask interrupt management design of the protector is carried out.According to the functional characteristics of the protector
the protector is divided into multiple tasks
by opening the delayed release mode
the interrupt processing design is carried out for data acquisition
data reception
data storage and other tasks
improve the response and processing of tasks to events
and use real-time kernel objects to achieve tasks operation management. The system software is tested by the μC/Probe
and the multi-interrupt processing mechanism based on the μC/OS-III is verified to be able to run reliably and improve the real-time performance of the system.