Method and terminal for measuring electric quantity of battery
A battery power and measurement method technology, applied in the direction of measuring electricity, measuring devices, measuring electrical variables, etc., can solve problems such as limited scope of application, large complexity, and large measurement errors, so as to ensure stability and accuracy, and accurate battery status effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0131] Please refer to figure 1 , a method for measuring battery power, comprising the steps of:
[0132] S1. Determine the state of the battery, judge whether battery voltage sampling can be performed according to the state, if yes, execute step S2, otherwise, return to step S1;
[0133] Wherein, judging whether battery voltage sampling can be performed according to the state specifically includes:
[0134] S11. Preset the status of the battery, the status includes a normal status, a ready-to-collect status, a charge stabilization delay status, and a voltage ripple delay status;
[0135] S12. Judging whether the battery is in a ready-to-collect state, if so, battery voltage sampling can be performed; otherwise, turn on the setting of reducing the sampling voltage ripple, and set the state of the battery to a voltage ripple delay state;
[0136] S13. Determine whether there is an external power connection, if so, turn off battery charging, and set the state of the battery to...
Embodiment 2
[0172] The difference between the embodiment and the first embodiment is that the step S22 also includes:
[0173] Setting an alarm flag, if the sampling is unsuccessful, setting the alarm flag and performing an alarm prompt;
[0174] After determining the power consumed in the unit sampling time t according to the correction value, and calculating the current battery power, it is judged whether the alarm flag is set. If so, the correction value needs to be adjusted according to the current battery power, specifically:
[0175] Judging the charging status of the battery, if there is an external power connected, it is in a fully charged state, then judge whether the current battery power is greater than or equal to the total power of the standard battery, if so, adjust the correction value to 0; if there is an external power connected, it is in a fully charged state Status, to judge whether the current battery power is less than or equal to the total power of the standard batte...
Embodiment 3
[0178] The difference between the described embodiment and the first embodiment is that step S1 is executed at preset time intervals, wherein, for the determination of the sampling time period t, if there is an external power access, the sampling period t is 10s; if there is no external power access, Then the sampling period t is 2s.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


