Microcontroller Peripheral Circuit Self-Healing Recovery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional methods for error handling in microcontrollers, especially in the automotive sector, are costly and complex, as they require redundant systems and significant software interaction to maintain system availability and safety, often interrupting operations during error detection and recovery.
Innovation Solution
A method for continuous operation of microcontroller peripheral circuits by generating recovery data before task execution and using a control point kernel to automatically attempt recovery, reducing the need for extensive software interaction and minimizing error detection configurations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If conventional failsafe procedures with comprehensive error detection and switching to safe state are used, then system safety is improved, but system cost and complexity increase due to expensive redundant systems
Solution Approach 1:
The peripheral circuit autonomously detects errors and executes recovery procedures without requiring external software intervention. The circuit generates recovery data, detects errors in its own operations, and automatically retries failed procedures, making the system self-healing and eliminating the need for complex redundant safety systems
Solution Approach 2:
Recovery data is generated in advance before the actual procedure execution. This preliminary preparation of recovery data enables the peripheral circuit to quickly restore operational state upon error detection, avoiding the need for complex real-time decision-making and redundant system activation
2Reliability
If error detection mechanisms with software reaction are implemented, then error detection capability is improved, but system availability deteriorates because the procedure is interrupted until software reaction occurs
Solution Approach 1:
The peripheral circuit independently handles error detection and recovery without pausing the overall procedure. The circuit monitors its own operations, detects errors autonomously, and executes recovery actions internally, allowing the main procedure to continue uninterrupted and maintaining high system availability
Solution Approach 2:
The procedure execution continues without interruption even when errors are detected. The peripheral circuit performs error detection and recovery operations in parallel with the main procedure flow, ensuring continuous useful action and preventing procedure pauses that would reduce system availability
3Reliability
If peripheral service is stopped after error detection until further instance decision, then error handling control is improved, but system productivity decreases due to service interruption
Solution Approach 1:
The peripheral circuit autonomously manages error recovery without requiring decisions from external software instances. The circuit generates recovery data, detects errors, and automatically retries procedures, eliminating the need to stop service for external decision-making and maintaining continuous peripheral operation
Solution Approach 2:
Recovery data is prepared in advance, enabling the peripheral circuit to immediately execute recovery actions upon error detection without waiting for external instructions. This preliminary preparation allows continuous service operation while maintaining proper error handling control
Data Source
AI summary
A method for operating a microcontroller, which includes a processor and a peripheral circuit on a common chip, the method including initiating a process in the peripheral circuit, in the peripheral circuit generating recovery data, executing the process, checking whether the process has been executed successfully and, in the event that the check reveals that the process has not been executed successfully, generating recovered data from the recovery data, and executing the process again.


