| 注册
首页|期刊导航|软件导刊|基于FreeRTOS优化的嵌入式实时操作系统设计

基于FreeRTOS优化的嵌入式实时操作系统设计

魏杰 尹力 曹晋豪 李凤岐 王德广

软件导刊2026,Vol.25Issue(3):107-114,8.
软件导刊2026,Vol.25Issue(3):107-114,8.DOI:10.11907/rjdk.242054

基于FreeRTOS优化的嵌入式实时操作系统设计

Design of Embedded Real-Time Operating System Based on FreeRTOS Optimization

魏杰 1尹力 2曹晋豪 1李凤岐 1王德广1

作者信息

  • 1. 大连交通大学 轨道智能工程学院
  • 2. 大连交通大学 机械工程学院,辽宁 大连 116028
  • 折叠

摘要

Abstract

Aiming at the problem that the real-time performance of current embedded operating systems does not match the requirements of embedded systems,the performance bottleneck of the FreeRTOS embedded real operating system kernel is deeply analyzed,and a series of in-novative strategies for kernel performance optimization are proposed accordingly.Based on FreeRTOS,a polling scheduling mechanism and a priority-based preemptive scheduling algorithm are combined to schedule tasks to improve the real-time performance of the system;a two-lev-el segmented free list(TLSF)algorithm and a memory pool mechanism are introduced to dynamically allocate and recycle memory,reducing memory fragmentation while achieving fast memory allocation and recycling;a task direct notification communication mechanism is added to enhance the real-time response capability of the system.Based on the above innovative strategies,a Cortex-M-based embedded operating sys-tem CMRTOS is designed.The system architecture adopts a layered design to realize basic and efficient kernel functions.Hardware simulation and example verification show that compared with FreeRTOS,CMRTOS shows significant improvements in memory resource utilization effi-ciency,real-time performance and stability.

关键词

嵌入式操作系统/内核功能/任务调度/内存分配/通信机制/实时性

Key words

embedded operating system/kernel functionality/task scheduling/memory allocation/communication mechanism/real-time

分类

信息技术与安全科学

引用本文复制引用

魏杰,尹力,曹晋豪,李凤岐,王德广..基于FreeRTOS优化的嵌入式实时操作系统设计[J].软件导刊,2026,25(3):107-114,8.

基金项目

辽宁省国际科技合作计划项目(2022JH2/10700012) (2022JH2/10700012)

辽宁省应用基础研究计划项目(2023JH2/101300188) (2023JH2/101300188)

辽宁省教育厅基础研究项目(JYTMS20230011) (JYTMS20230011)

辽宁省科研基金项目(LJKQZ20222447) (LJKQZ20222447)

软件导刊

1672-7800

访问量14
|
下载量0
段落导航相关论文