Battery Voltage Detection Circuit Hardware Interrupts
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for monitoring mobile phone battery voltage consume processor resources due to continuous software queries and are prone to errors related to Analog-Digital conversion, which requires clock cooperation.
Innovation Solution
A voltage indicating circuit with a battery voltage detection module having a hysteresis function that directly detects battery voltage using hardware, outputs interrupt signals to the mobile phone baseband module for quick and accurate voltage indication, reducing software burden and clock dependency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If A/D conversion method is used for battery voltage detection, then voltage detection can be implemented, but processor resources are consumed due to continuous software queries
Solution Approach 1:
The battery voltage detection module autonomously detects battery voltage and generates interrupt signals without requiring continuous software queries from the processor. The module serves itself by automatically monitoring voltage levels and triggering interrupts only when voltage thresholds are crossed, eliminating the need for processor-initiated polling and reducing CPU resource consumption.
Solution Approach 2:
The patent replaces the software-based polling mechanism (mechanical system) with a hardware-based interrupt generation system. The battery voltage detection module uses hardware comparators and interrupt logic to automatically detect voltage thresholds and generate interrupt signals, substituting the processor-intensive software query approach with an efficient hardware-driven alternative.
2Measurement precision
If A/D conversion is used for voltage detection, then voltage can be converted to digital quantity, but conversion errors are introduced due to clock dependency
Solution Approach 1:
The patent extracts the clock dependency and A/D conversion process from the voltage detection system. Instead of using A/D conversion that requires clock synchronization, the design directly compares analog voltage signals using hardware comparators and generates digital interrupt signals based on voltage threshold crossings, eliminating the source of conversion errors while preserving the ability to provide digital voltage status to the processor.
3Speed
If continuous software queries are used to acquire battery voltage, then real-time voltage monitoring is achieved, but processor resources are continuously consumed
Solution Approach 1:
The patent implements periodic action by having the battery voltage detection module continuously monitor voltage in the background and only interact with the processor when voltage thresholds are crossed through interrupt signals. This allows real-time monitoring capability while converting continuous processor engagement into event-driven periodic interaction, significantly reducing overall processor resource consumption.
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
The circuit effectively reduces processor resource consumption and minimizes conversion errors by providing direct hardware-based voltage detection and quick refresh of battery status indications without continuous software queries.
Implementation Method 1
the battery voltage detection module detects an output voltage of the anode of the battery and outputs a mobile phone battery voltage detection signal to the mobile phone baseband module
Data Source
Figure 1~2
Figure 3~4
AI summary
The present invention discloses a voltage indicating circuit for a mobile phone battery, comprising: a battery (303), and further comprising a mobile phone baseband module (301) and a battery voltage detection module (302), wherein power input terminals of the mobile phone baseband module (301) and battery voltage detection module (302) are coupled with an anode of the battery (303), and a detection signal output terminal of the battery voltage detection module (302) is coupled with a communication terminal of the mobile phone baseband module (301); the battery voltage detection module (302) detects an output voltage of the anode of the battery (303) and outputs a mobile phone battery voltage detection signal to the mobile phone baseband module (301) through the detection signal output terminal; and the mobile phone baseband module (301) receives the mobile phone battery voltage detection signal through the communication terminal and indicates a voltage of the battery (303) according to the mobile phone battery voltage detection signal. With this voltage indicating circuit for a mobile phone battery, the current voltage value of the battery can be acquired without the continuous query of software, so as to reduce the burden of the software.