Multi-Core Vehicle Control for Interrupt Response and Task Isolation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In vehicle control systems, interrupt processes often experience decreased responsiveness due to the need to wait for other processing tasks to complete their time windows, leading to inefficiencies and potential errors.
Innovation Solution
A vehicle control device utilizing a multi-core architecture where one core handles time division tasks and another core handles interrupt processes and inter-core communication, ensuring non-interference and high responsiveness through independent scheduling and timing management.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If time division design is used to ensure non-interference between software tasks, then reliability is improved, but interrupt process responsiveness deteriorates
Solution Approach 1:
The system is divided into multiple independent time windows (slots) within each cycle, where different tasks are assigned to specific slots. This segmentation allows interrupt processes to be handled in dedicated slots rather than waiting for other tasks to complete, thereby maintaining non-interference while improving responsiveness.
Solution Approach 2:
The system dynamically adjusts task scheduling by allowing higher-priority interrupt processes to preempt lower-priority tasks within the time division framework. This dynamic scheduling ensures that critical interrupt processes are handled immediately while maintaining the overall time division structure for non-interference.
2Reliability
If interrupt processes are assigned to specific time windows, then non-interference is ensured, but interrupt responsiveness deteriorates due to waiting for other tasks to complete
Solution Approach 1:
The system performs preliminary setup by pre-defining time windows and task assignments during system initialization. This allows the runtime system to quickly determine whether an interrupt can be handled immediately or must wait for its designated slot, reducing decision overhead and improving overall responsiveness.
Solution Approach 2:
A scheduling mechanism acts as an intermediary between interrupt requests and task execution. This mediator determines the appropriate time window for each interrupt process and manages the waiting queue, ensuring that interrupts are handled in the correct sequence while maintaining system reliability.
3Device complexity
If multiple tasks share the same CPU core, then device complexity is reduced, but task interference increases
Solution Approach 1:
The system implements periodic time windows (slots) within each cycle, where different tasks are executed in a predetermined sequence. This periodic structure ensures that tasks share the CPU core without interference, as each task has its designated time slot. The system maintains this periodic pattern while allowing dynamic adjustments for interrupt handling.
Data Source
Figure 1
Figure 2~3
Figure 4
AI summary
The present invention provides technology for achieving both high responsiveness to an interrupt process and non-interference between control software. This vehicle control device comprises a storage device that stores various programs for controlling a vehicle, and a plurality of computation devices that include a first computation device and a second computation device, and that read a program from the storage device and execute the same. In addition, the storage device includes a first type of computation processing program executed not by time division and a second type of computation processing program executed by time division. The first computation device is configured to execute the first type of computation processing program, and the second computation device is configured to execute the second type of computation processing program.