电子科技 ›› 2020, Vol. 33 ›› Issue (7): 1-5.doi: 10.16180/j.cnki.issn1007-7820.2020.07.001

• •    下一篇

基于μC/OS-Ⅲ的供电综保数据采集处理系统设计

郭亚楠1,2,吴尧辉1,2,吴昊珍3   

  1. 1.河南理工大学 电气工程与自动化学院,河南 焦作 454150
    2.河南理工大学-许继电气股份有限公司煤矿井下智能供电系统实验室,河南 焦作 454150
    3.郑州工商学院,河南 郑州 451400
  • 收稿日期:2019-04-19 出版日期:2020-07-15 发布日期:2020-07-15
  • 作者简介:郭亚楠(1992-),女,硕士研究生。研究方向:微机嵌入式综保技术。|吴尧辉(1964-),男,高级工程师。研究方向:嵌入式应用开发。
  • 基金资助:
    国家自然科学基金(61340015);教育部协同育人实践条件建设项目(201702064052);河南省教育厅自然bepaly手机下载计划项目(2010A470003);教育部协同育人创新创业联合基金(201802060039)

Design of Data Acquisition and Processing System for Power Supply Integrated Protector Based on μC/OS-Ⅲ

GUO Yanan1,2,WU Yaohui1,2,WU Haozhen3   

  1. 1. School of Electrical Engineering and Automation,Henan Polytechnic University,Jiaozuo 454000,China
    2. Intelligent Power Supply System for Underground Coal Mine,Jiaozuo 454000,China
    3. Zhengzhou Technology and Business University,Zhengzhou 451400,China
  • Received:2019-04-19 Online:2020-07-15 Published:2020-07-15
  • Supported by:
    National Natural Science Foundation of China(61340015);Ministry of Education Collaborative Education Practical Conditions Construction(201702064052);Henan Provincial Department of Education Natural Science Research(2010A470003);Joint Funds of Cooperative Education Innovation and Entrepreneurship of Ministry of Education(201802060039)

摘要:

针对供电综保数据采集处理系统多任务、实时可靠的需求,文中结合M3内核芯片,利用μC/OS-Ⅲ实时操作系统进行供电综保数据采集处理系统设计。通过对数据采集处理系统功能分析,将系统划分为5个优先级不同的任务,根据应用任务特点及需求进行了操作系统的规划设计,通过信号量和事件标志组实现了任务同步,通过消息队列和互斥型信号量实现了任务通信与资源管理。使用μC/Probe对系统运行进行检测,应用任务堆栈利用率均小于70%,CPU利用率为52.35%,中断关闭时间最高为3.31 ms,验证了该系统能够实时可靠运行。

关键词: 数据采集处理, M3芯片, μC/OS-Ⅲ实时操作系统, 多任务, 运行管理, μC/Probe检测

Abstract:

Aiming at the demand of multitask, real-time and reliable operation of the data acquisition and processing system of power supply integrated protector, combined with the M3 core chip,using μC/OS-III real-time operating system to design the data acquisition and processing system of power supply integrated protector. By analyzing the functions of the data acquisition and processing system, the system was divided into five tasks with different priorities,the planning and design of the operating system was based on the characteristics and requirements of the application tasks, task synchronization was realized by semaphores and event flag groups, task communication and resource sharing were realized through message queues and mutex semaphore. System operation was detected using μC/Probe, the application tasks Stack Usage was less than 70%, the CPU Usage was 52.35% ,and the Interrupt Disable Time was up to 3.31 ms, verified that the system could run reliably in real time。

Key words: data acquisition and processing, M3 chip, μC/OS-Ⅲ real-time operating system, multitasking, operation management, μC/Probe detection

中图分类号: 

  • TP39