Sensor Data Recorder Buffer Region for Lower Write Amplification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Sensor data recorders in autonomous vehicles experience increased write amplification, reduced endurance, and increased data latency when storing data via a file system, which affects the reliability and efficiency of data retention.
Innovation Solution
A buffer region and file system region are configured in non-volatile memory, where sensor data is cyclically stored in the buffer region and transferred to the file system upon a triggering event, minimizing write amplification and optimizing data access.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If sensor data is stored via a file system in non-volatile memory, then data accessibility and organization are improved, but write amplification increases and memory endurance decreases
Solution Approach 1:
The non-volatile memory is divided into two distinct regions: a buffer region for cyclic storage of recent sensor data and a file system region for organized data storage. This segmentation allows the buffer region to handle frequent write operations with minimal amplification while the file system region provides structured data organization, thereby resolving the contradiction between ease of operation and memory endurance.
Solution Approach 2:
The buffer region acts as an intermediary between the sensor data input and the file system. It receives sensor data cyclically and transfers it to the file system region only when needed, reducing the direct write load on the file system and minimizing write amplification while maintaining data accessibility through the file system structure.
2Reliability
If sensor data is cyclically stored in a buffer region, then write amplification is reduced, but data organization and access complexity increase
Solution Approach 1:
By segmenting memory into buffer and file system regions, the patent simplifies data organization: the buffer region handles cyclic storage with simple overwrite operations, while the file system region provides structured organization. This division reduces the complexity of managing cyclic buffers while maintaining low write amplification.
3Reliability
If sensor data is continuously written to maintain recent data availability, then data freshness is improved, but memory wear and write amplification increase
Solution Approach 1:
The buffer region is dedicated to cyclic storage of recent sensor data, allowing continuous data freshness without frequent writes to the file system. The file system region stores historical data with minimal write operations, thereby extending memory lifespan while maintaining data freshness through the buffer's cyclic mechanism.
Solution Approach 2:
The buffer region pre-stores recent sensor data in a cyclic manner before events occur. When events happen, the data is already organized and ready for transfer to the file system, reducing the need for intensive write operations and extending memory lifespan while maintaining data freshness.
Data Source
AI summary
A system including sensors of an advanced driver assistance system and a data recorder. The data recorder has: a volatile memory; a non-volatile memory configured with a file system region and a buffer region; and a processor configured to implement a file system mounted in the file system region. The data recorder records outputs from the sensors via the volatile memory into the buffer region in a cyclic way and, in response to an event, retrieve sensor data from the buffer region and store the sensor data into files organized under the file system mounted in the file system region.


