Vehicle Control Unit Software Update via Sector-Based Difference Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing difference update technology is difficult to apply to vehicle control units due to their low-specification CPU and low-capacity memory, particularly because of the characteristics of flash memory used for storing software or information.
Innovation Solution
A method is developed to generate raw difference data by comparing old and new versions, then divide this data into sector-specific difference data, allowing for efficient updating by using a low-capacity memory, such as SRAM, and optimizing the order of difference release to accommodate the limitations of flash memory.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If general difference update technology is applied, then update efficiency is improved, but it cannot be implemented due to low-specification CPU and low-capacity memory in vehicle control units
Solution Approach 1:
The patent divides the flash memory into multiple sectors and processes difference data sector by sector rather than loading entire difference data at once. This segmentation allows the update process to work within the constraints of low-capacity memory (SRAM) by handling only small portions of data at each step, making difference update technology applicable to vehicle control units with limited resources.
2Loss of information
If entire difference data is loaded into memory, then complete update information is available, but memory capacity is exceeded in low-capacity memory systems
Solution Approach 1:
The patent performs preliminary actions by calculating and storing the starting addresses of each sector in the old version data before the actual update process. This preparation allows the system to sequentially access and process difference data sector by sector from flash memory without needing to load all difference data into SRAM simultaneously, thus completing the update while respecting memory capacity constraints.
3Quantity of substance
If difference update is performed sequentially sector by sector, then memory usage is reduced, but update time increases
Solution Approach 1:
The patent implements continuous useful action by systematically processing each sector in sequence without idle time. The controller continuously calculates starting addresses, loads difference data from flash memory to SRAM, and performs updates in a continuous pipeline manner. This approach minimizes idle time between operations while maintaining low memory usage, achieving a balance between update speed and memory constraints.
Data Source
AI summary
Disclosed is a method of updating a control unit for a vehicle, the method including: generating raw difference data by comparing an old version of data with a new version of data; generating divided difference data by dividing the raw difference data for each memory sector; and updating the old version to the new version by using the divided difference data.


