Embedded Controller Rotation Detection via Interrupt Signals
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Computer systems, particularly portable devices like tablet PCs, lack the ability to automatically adjust operations based on their rotation state, leading to suboptimal user experience and functionality.
Innovation Solution
A control method that utilizes an embedded controller (EC), BIOS, and operating system (OS) to identify the rotation state through interrupt signals and internal communication schemes, establishing a data structure with virtual scan codes and rotation parameters to execute related operations, such as adjusting screen orientation and microphone configurations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the computer system automatically executes operations based on rotation state, then user convenience and functionality are improved, but system complexity increases due to additional sensors and control mechanisms
Solution Approach 1:
The system automatically detects rotation state through motion sensors and executes corresponding operations without user intervention. The EC identifies rotation state and automatically triggers appropriate actions, allowing the system to serve itself rather than requiring manual configuration by the user.
Solution Approach 2:
The motion sensor serves multiple functions: detecting rotation state, determining orientation, and triggering various operations. The same hardware component supports diverse operational modes (portrait/landscape rotation, screen orientation adjustment, application behavior changes), reducing the need for separate dedicated sensors for each function.
2Adaptability or versatility
If motion sensors and automatic rotation detection are added, then adaptability to different rotation states is improved, but device complexity and manufacturing cost increase
Solution Approach 1:
The EC acts as an intermediary between the motion sensor and the OS, managing the complex communication and coordination. The EC receives raw sensor data, interprets rotation state, and communicates with the OS through standardized interfaces, simplifying the overall system architecture despite the added complexity of automatic rotation detection.
Solution Approach 2:
The system pre-establishes correspondence relationships between rotation states and operations. When rotation is detected, the system already has predefined actions ready to execute, eliminating the need for complex real-time decision-making algorithms and reducing computational complexity during operation.
3Speed
If the system uses interrupt signals and internal communication schemes for rotation detection, then response speed is improved, but system complexity and difficulty of implementation increase
Solution Approach 1:
The system uses periodic interrupt signals from the motion sensor to detect rotation events. Rather than continuous monitoring, the sensor generates interrupts at specific intervals or upon detecting state changes, providing timely response while reducing computational overhead and simplifying the implementation of rotation detection.
Data Source
AI summary
A computer system and a control method thereof are provided, wherein the computer system comprises an embedded controller (EC), a basic input/output system (BIOS), and an operating system (OS). In the method, when the computer system is rotated, the EC makes the BIOS identify a present rotation state of the computer system by an interrupt signal and an internal communication scheme. Then, the BIOS establishes a data structure in accordance with a virtual scan code and the rotation state, and then transmits the data structure to the OS. After that, the OS controls a program installed in the computer system to execute a related operation of the rotation state according to the data structure.


