Dynamic Power Switching Waiting Time for BIOS Update Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Forcing a computer system to shut down during BIOS updates can lead to abnormalities or damage due to incomplete updates or abnormal program terminations, causing boot failures and system instability.
Innovation Solution
An electronic device comprising a BIOS, an embedded controller, and a control chip that performs a handshake procedure to adjust the power switching waiting time, preventing accidental shutdowns during BIOS updates by extending the power switching waiting time when the update mode is in progress.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the power switching waiting time is kept short for quick shutdown, then the ease of operation is improved, but the reliability deteriorates when BIOS update is in progress
Solution Approach 1:
The power switching waiting time is made dynamic rather than fixed. The embedded controller adjusts the waiting time based on the current system state: using a first waiting time when BIOS update is in progress and a second waiting time when update is not in progress. This dynamic adjustment resolves the contradiction by adapting the shutdown response time to the operational context.
Solution Approach 2:
The embedded controller implements a feedback mechanism by monitoring the BIOS update state through handshake commands. The BIOS generates handshake commands that indicate whether an update is in progress, and the embedded controller uses this feedback information to determine the appropriate power switching waiting time, ensuring reliability during updates while maintaining ease of operation during normal states.
2Reliability
If the power switching waiting time is extended to prevent accidental shutdowns, then the reliability is improved, but the ease of operation deteriorates due to slower shutdown response
Solution Approach 1:
The system uses dynamic time adjustment based on operational state. Instead of a universally extended waiting time, the embedded controller applies a longer first waiting time only when BIOS update is detected via handshake commands, and a shorter second waiting time during normal operation. This resolves the contradiction by making the extended timing conditional rather than constant.
Solution Approach 2:
Different waiting time characteristics are applied to different operational states. The system implements local quality by having the embedded controller apply specific waiting time values based on the local state (update in progress or normal operation), rather than using a single uniform waiting time for all scenarios.
3Device complexity
If the system uses a fixed power switching waiting time, then the device complexity is reduced, but the adaptability deteriorates when different operational states require different waiting times
Solution Approach 1:
The system introduces feedback through handshake commands between BIOS and embedded controller. The BIOS provides state information about whether an update is in progress, enabling the embedded controller to adapt the power switching waiting time appropriately. This feedback mechanism adds minimal complexity while significantly improving adaptability to different operational states.
Solution Approach 2:
The embedded controller acts as an intermediary between the BIOS and the power switching unit. It receives handshake commands from the BIOS indicating the operational state, processes this information, and determines the appropriate waiting time before allowing power switching. This intermediary role enables adaptive behavior without requiring direct complex control in the BIOS or power switching unit.
Data Source
AI summary
An electronic device and a power switching control method are provided. The electronic device includes a basic input/output system (BIOS), an embedded controller, and a control chip. The BIOS is configured to generate a first handshake command when executing an update mode. The embedded controller is coupled to the BIOS and includes a general-purpose input-output (GPIO) pin. The embedded controller performs a handshake procedure with the BIOS according to the first handshake command, and determines a voltage level of the GPIO pin according to the first handshake command. The control chip is coupled to the GPIO pin of the embedded controller, and is configured to determine a power switching waiting time of a power switching unit according to the voltage level of the GPIO pin.


