Understanding Priority Inversion in FreeRTOS: What Is It and How to Solve It?

Understanding Priority Inversion in FreeRTOS: What Is It and How to Solve It?

Imagine a scenario in a busy office building waiting for an elevator: Low-Priority Person: A visitor in no hurry (low-priority task) enters the elevator and presses a button for a high floor. Medium-Priority Person: At this moment, a manager in a hurry for a meeting (medium-priority task) also enters the elevator. High-Priority Person: Suddenly, the … Read more

Industrial Robot Controller Research

Industrial Robot Controller Research

Research on Industrial Robot Controllers Just as the brain is to humans, the controller is also the most important component of a robot, defining its functions and behaviors. Many scholars have studied it or proposed design schemes[ 1 , 2 , 3 ] ^{[1,2,3]}[1,2,3], but there has been little discussion on the overall architecture and … Read more

Common Modular Design Methods in Embedded Systems

Common Modular Design Methods in Embedded Systems

Source: Technology Makes Dreams Greater Author: Li Xiaoyao Concept of Modular Design How to improve the flexibility and maintainability of embedded programming? This is believed to be a long-term learning process for us in embedded software development. The design of embedded systems requires high flexibility and maintainability. Modular design, as an important software engineering method, … Read more

Optimization and Implementation of Real-Time Task Scheduling Algorithms in Embedded Systems

Optimization and Implementation of Real-Time Task Scheduling Algorithms in Embedded Systems

1. Core Challenges of Real-Time Task Scheduling The real-time requirements of embedded systems dictate that tasks must be completed within strict time limits. This means that scheduling algorithms must consider not only the priority of tasks but also the deadline, execution time, and system resource utilization. Traditional scheduling algorithms such as Rate-Monotonic Scheduling (RMS) and … Read more

Ensuring Real-Time Performance in Linux Embedded Systems

Ensuring Real-Time Performance in Linux Embedded Systems

Click the blue text above to follow us In embedded systems, although Linux itself is not a real-time operating system, its real-time performance can be significantly improved by implementing PREEMPT-RT patches, rational scheduling, optimizing interrupt handling, limiting kernel interference, and leveraging hardware acceleration. 1 Using Real-Time Linux (PREEMPT-RT) PREEMPT-RT is a set of patches that … Read more

Embedded Time-Partitioned Real-Time System

Embedded Time-Partitioned Real-Time System

Introduction to AnOs AnOs is an embedded time-partitioned real-time system developed based on the ARM M4 series, modeled after the VxWorks653 approach. https://gitee.com/personal_chenjl/AnOs The development environment uses Keil uVersion5. The example program runs on the STM32F427 controller. The system aims to serve as an operating system application in high-security domains. Software Architecture The system consists … Read more

Understanding 4-Wire and 7-Wire SPI Protocols

Understanding 4-Wire and 7-Wire SPI Protocols

Hello everyone, in this article we will talk about a common communication protocol in embedded development – the SPI protocol. However, today we will not discuss its basic principles, but rather explore a detail that many may not have noticed: the 4-wire and 7-wire versions of the SPI protocol. You might wonder, isn’t SPI just … Read more

Digital Signal Processor (DSP) Overview

Digital Signal Processor (DSP) Overview

Click the blue text to follow us (The following content is organized by the Beijing Integrated Circuit Society) Definition and Basic Concepts A Digital Signal Processor (DSP) is a microprocessor specifically designed for digital signal processing. It primarily processes digital signals, which can be various forms of discrete-time signals such as audio, video, communication signals, … Read more

Discussing the Complexity of Embedded Programming

Discussing the Complexity of Embedded Programming

Embedded programming is a complex and challenging field, especially for developers transitioning from PC programming to embedded programming. In this process, it is crucial to understand and adapt to the unique mindset of embedded programming. This article will gradually delve into the essence of embedded programming from the perspective of PC programming, using practical examples … Read more

Research and Practice of 5G Virtualization PLC Technology

Research and Practice of 5G Virtualization PLC Technology

Author Introduction Zhang Yue Researcher in Frontier Technology at China Mobile Communications Corporation, mainly engaged in research on industrial protocols and real-time virtualization technologies. Liu Weizhe Chief Researcher at China Mobile Communications Corporation, mainly engaged in research on real-time operating systems and industrial control systems. Fang Zhengzheng Researcher in Frontier Technology at China Mobile Communications … Read more