Design Method of Timer Based on FreeRTOS Real-Time Embedded Operating System

Given the current situation that various kinds of real-time communication protocols and real-time control systems running on modern industrial control equipment need many types of high-precision timing services, a design method of timer based on FreeRTOS real-time embedded operating system is proposed. Using the deterministic real-time task management mechanism of FreeRTOS real-time embedded operating system, the timing service addition, timer counting, and timing service function operation are managed by special thread tasks, which solves the problem of large cumulative error caused by the deep coupling of the above operations. Based on stm32f407, a test platform is built to test the timer’s timing error and timing delay duration. The experimental results show that the timing error is within 5us, and the timing delay duration is within 30us, which meets the requirements of timing service accuracy in most cases.

Authors

Institutions

Publication Details

Published
2025-03-21
DOI
https://doi.org/10.1109/iscait64916.2025.11010702
Primary Topic
Advanced Sensor and Control Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design Method of Timer Based on FreeRTOS Real-Time Embedded Operating System

Jiao Yang, Mingxu Gang
Advanced Sensor and Control Systems
article

Design Method of Timer Based on FreeRTOS Real-Time Embedded Operating System

Jiao Yang, Mingxu Gang
article en

Abstract

Given the current situation that various kinds of real-time communication protocols and real-time control systems running on modern industrial control equipment need many types of high-precision timing services, a design method of timer based on FreeRTOS real-time embedded operating system is proposed. Using the deterministic real-time task management mechanism of FreeRTOS real-time embedded operating system, the timing service addition, timer counting, and timing service function operation are managed by special thread tasks, which solves the problem of large cumulative error caused by the deep coupling of the above operations. Based on stm32f407, a test platform is built to test the timer’s timing error and timing delay duration. The experimental results show that the timing error is within 5us, and the timing delay duration is within 30us, which meets the requirements of timing service accuracy in most cases.

Shenyang Institute of Automation (CN), Chinese Academy of Sciences (CN)
Affordable and clean energy
Openalex Percentile: Top 87%
Advanced Sensor and Control Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Design Method of Timer Based on FreeRTOS Real-Time Embedded Operating System — Jiao Yang, Mingxu Gang · (2025) | TGRS Research Map | TGRS