Circular Buffer Adaptive Compression Sensor Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Mobile electronic devices face challenges in efficiently buffering sensor data while the host processor is in a low-power mode, requiring effective data storage and compression to prevent data loss and enable subsequent higher-level processing.
Innovation Solution
A circular data buffer with adaptive compression techniques is employed by the sensor processing unit to store and manage sensor data, allowing for efficient buffering and processing even when the host processor is in a low-power mode, ensuring data integrity and reducing power consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Use of energy by moving object
If the host processor remains in low-power mode to reduce energy consumption, then power efficiency is improved, but sensor data cannot be processed at higher levels
Solution Approach 1:
The system segments processing tasks between a low-power sensor processing unit (SPU) that handles continuous sensor data buffering and a host processor that performs higher-level processing only when triggered. This segmentation allows the host processor to remain in sleep mode most of the time while the SPU maintains data readiness, resolving the contradiction between power efficiency and processing capability.
Solution Approach 2:
The sensor processing unit performs preliminary actions by continuously buffering sensor data in a circular buffer and monitoring for triggering events before the host processor wakes up. This preliminary data preparation ensures that when the host processor does wake, data is already ready for immediate higher-level processing, eliminating the need for continuous host processor operation.
2Reliability
If a circular data buffer is used to store sensor data, then data loss is prevented, but memory resources are consumed
Solution Approach 1:
The circular buffer implementation is dynamic in that it automatically overwrites oldest data when full, and its effective size is adjusted based on triggering event frequency. The buffer maintains only the necessary amount of data to ensure no triggering events are lost, adapting to different operational conditions rather than allocating fixed maximum memory.
Solution Approach 2:
The system changes the parameter of buffer allocation by using a fixed-size circular buffer structure that循环利用 memory space. Instead of allocating separate memory for each data segment, the same memory space is reused in a cyclic manner, reducing total memory requirements while maintaining data integrity for triggering events.
3Speed
If the sensor processing unit continuously monitors data for triggering events, then response time is reduced, but power consumption increases
Solution Approach 1:
The sensor processing unit maintains continuous monitoring of sensor data in the circular buffer, which is a useful action that enables immediate detection of triggering events. This continuous action is necessary and acceptable because the SPU is designed for low-power operation, and the monitoring only consumes minimal power compared to the alternative of waking the high-power host processor continuously.
Data Source
AI summary
In a method of adaptive buffering in a mobile device having a host processor and a sensor processor coupled with the host processor, the sensor processor is used to buffer data received from a sensor that is operated by the sensor processor, wherein the data is buffered by the sensor processor into a circular data buffer. In response to the sensor processor detecting triggering data within the received data: the sensor processor sets a start-end marker in the circular data buffer; and a command is sent from the sensor processor to a second processor.


