Real-Time Data Management in Embedded Systems Using a Circular Queue for Efficient Memory Utilization
Pragati Patil, Atharva Joshi, Aryan Wale, Tanushri Rajput, Minal S. Deshmukh, Anup Ingle · 2025
A very crucial factor for reliable performance in embedded systems with limited memory is the efficient management of real-time data. They usually incorporate a linear buffer as a traditional approach which is ineffective as it can create issues such as buffer redundancy, data loss or slow computer processing speeds. Thus, the proposed research employs a con- trolled overwriting circular queue which not only utilizes compact memory, but also securely contains equal amounts of data. This systemic approach safeguards against buffer overuse and promotes effective use of memory. In order to make use of UART communications effectively, the use of ring buffers together with error-checking enables accuracy of data and minimization of delays which in turn enhances the responsiveness of the system. Test results confirm the efficiency of such an approach, where the efficiency of data transferring is increased significantly together with the reliability aspect of data insertion speed which is 26.54 percent faster and the time requirement for the retrieval of such data of about 15.4 percent therefore making optical sensors fit well and hassle free within dynamic changing circumstances