CN111366851A - High-precision battery electric quantity indication method, battery and storage medium - Google Patents
High-precision battery electric quantity indication method, battery and storage medium Download PDFInfo
- Publication number
- CN111366851A CN111366851A CN202010305013.5A CN202010305013A CN111366851A CN 111366851 A CN111366851 A CN 111366851A CN 202010305013 A CN202010305013 A CN 202010305013A CN 111366851 A CN111366851 A CN 111366851A
- Authority
- CN
- China
- Prior art keywords
- electric quantity
- sub
- interval
- indication
- indicating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000005611 electricity Effects 0.000 claims abstract description 9
- 238000004590 computer program Methods 0.000 claims description 4
- 238000000638 solvent extraction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000010408 sweeping Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/371—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] with remote indication, e.g. on external chargers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/385—Arrangements for measuring battery or accumulator variables
- G01R31/387—Determining ampere-hour charge capacity or SoC
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention provides a high-precision battery electric quantity indicating method, a battery and a storage medium, wherein the battery is provided with at least 2 indicating lamps, and the high-precision battery electric quantity indicating method comprises the following steps: detecting the number N of indicator lights on the battery, wherein N is a positive integer greater than or equal to 2; according to the number N of the indicating lamps, the battery electric quantity is set to N electric quantity indicating intervals, each electric quantity indicating interval corresponds to 1 indicating lamp, and each electric quantity indicating interval indicatesThe amount of electricity of; detecting the actual electric quantity of the battery, and selecting an actual electric quantity indication interval according to the actual electric quantity; the indicating lamp corresponding to the actual electric quantity indicating interval is controlled to be periodically turned on and turned off, and the electric quantity indicating interval lower than the actual electric quantity indicating interval is controlled to correspond to the electric quantity indicating intervalThe indicating lamp is on constantly, and the indicating lamp corresponding to the electric quantity indicating interval higher than the actual electric quantity indicating interval is controlled to be turned off. And the indicating lamps corresponding to the electric quantity indicating intervals are set and controlled to be periodically turned on and off according to the number of the indicating lamps, so that the electric quantity is indicated at high precision, low cost and long distance.
Description
Technical Field
The invention relates to the technical field of batteries, in particular to a high-precision battery electric quantity indicating method, a battery and a storage medium.
Background
The battery is an indispensable mechanism of power equipment such as a mobile power supply, a sweeping robot, a notebook computer, an unmanned aerial vehicle power battery, an unmanned aerial vehicle remote controller, an electric fan which can be used off-grid, an electric toothbrush, an electric shaver, a flashlight with a built-in rechargeable battery, an electric remote control toy and the like; meanwhile, the indication of the residual quantity of the battery capacity is important data of the battery, a nixie tube, a liquid crystal screen or an electronic ink screen is usually arranged for achieving the indication of the battery capacity, but the indicating method often causes the problem of high cost, and the battery capacity is often not seen clearly after the battery and a user are increased for example (an unmanned aerial vehicle).
However, in some existing batteries, in order to achieve low cost and long distance indication of battery power, a plurality of power indicator lamps are usually configured for the battery, and the actual power is usually indicated by controlling the indicator lamps to light the number of the indicator lamps.
Therefore, how to provide a method for indicating the battery capacity with low cost, long distance and high precision is an urgent problem to be solved.
Disclosure of Invention
The present invention provides a high-precision battery power indication method, a battery and a storage medium, aiming at solving the problems of high cost, short distance and low precision of the battery power indication method in the prior art.
The technical scheme adopted by the invention for solving the technical problem is as follows: a high-precision battery power indication method is provided, wherein the battery is provided with at least 2 indicator lamps, and the method comprises the following steps:
detecting the number N of indicator lights on the battery, wherein N is a positive integer greater than or equal to 2;
according to the quantity N of the indicating lamps, the battery electric quantity is set to N electric quantity indicating intervals, each electric quantity indicating interval corresponds to 1 indicating lamp, and each electric quantity indicating interval indicatesThe amount of electricity of;
detecting the actual electric quantity of the battery, and selecting an actual electric quantity indication interval according to the actual electric quantity;
and controlling the indicating lamps corresponding to the actual electric quantity indication intervals to be periodically turned on and turned off, controlling the indicating lamps corresponding to the electric quantity indication intervals lower than the actual electric quantity indication intervals to be normally turned on, and controlling the indicating lamps corresponding to the electric quantity indication intervals higher than the actual electric quantity indication intervals to be turned off.
Further, according to the number N of the indicating lamps, the battery electric quantity is set to be N electric quantity indicating intervals, each electric quantity indicating interval corresponds to 1 indicating lamp, and each electric quantity indicating interval indicatesThe electric quantity of (2) specifically includes:
By analogy, the N-1 electric quantity indication interval has the electric quantity indication range
Furthermore, M sub-electric quantity indication intervals are arranged in the electric quantity indication interval, M +1 sub-electric quantity indication points are arranged in the electric quantity indication interval, and the electric quantity indicated by the sub-electric quantity indication intervals isAn amount of electricity, wherein M is a positive integer.
Furthermore, M sub-electric quantity indication intervals are arranged in the electric quantity indication interval, M +1 sub-electric quantity indication points are arranged in the electric quantity indication interval, and the electric quantity indicated by the sub-electric quantity indication intervals isElectric quantity, wherein M is a positive integer, specifically includes:
the sub-electric quantity indication area of the 1 st electric quantity indication interval comprises:
The sub-electric quantity indication area of the 2 nd electric quantity indication interval comprises:
By analogy, the sub-electric quantity indication area of the M-1 electric quantity indication interval comprises:
The sub-electric quantity indication area of the Mth electric quantity indication interval comprises:
Further, the sub-electric quantity indication point includes:
the sub-electric quantity indication point of the 1 st electric quantity indication interval comprises: sub-electric quantity 1 indicating point 100%, sub-electric quantity 2 indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indication pointM-1 sub electric quantity indicating pointMth sub electric quantity indicating point
The sub-electric quantity indication point of the 2 nd electric quantity indication interval comprises: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indication pointM-1 sub electric quantity indicating pointMth sub electric quantity indicating point
By analogy, the sub-electric quantity indication points in the M-1 electric quantity indication interval comprise: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indicating pointM-2 sub electric quantity indicating pointMth sub electric quantity indicating point
The sub-electric quantity indication point of the Mth electric quantity indication interval comprises: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indicating pointM-2 sub electric quantity indicating pointThe mth sub-power indicates point 0.
Further, controlling the periodic lighting and light-off of the indicator light corresponding to the actual electric quantity indication interval specifically includes:
selecting an actual sub-electric quantity indication interval in the actual electric quantity indication interval according to the actual electric quantity;
when the actual sub-electric quantity indication interval is a 1 st sub-electric quantity indication interval, controlling the indicator lamp to be normally on;
when the actual sub-electric quantity indication interval is a 2 nd sub-electric quantity indication interval, controlling the indicator lamp to be turned on for M-1 seconds and turned off for 1 second within a period of M seconds;
by analogy, when the actual sub-electric quantity indication interval is the M-1 sub-electric quantity indication interval, controlling the indicator lamp to be on for 2 seconds and off for M-2 seconds within the period of M seconds;
and when the actual sub-electric quantity indication interval is the Mth sub-electric quantity indication interval, controlling the indicator lamp to be on for 1 second and off for M-1 second within the period of M seconds.
Further, controlling the periodic lighting and light-off of the indicator light corresponding to the actual electric quantity indication interval specifically includes:
selecting an actual sub-electric quantity indicating point in the actual electric quantity indicating interval according to the actual electric quantity;
when the actual sub-electric quantity indicating point is a first sub-electric quantity indicating point, controlling the indicating lamp to be normally on;
when the actual sub-electric quantity indication interval is a 2 nd sub-electric quantity indication point, controlling the indicator lamp to be turned on for M-1 seconds and turned off for 1 second within a period of M seconds;
by analogy, when the actual sub-electric quantity indication interval is the M-1 sub-electric quantity indication point, controlling the indicator light to be on for 1 second and off for M-1 second within the period of M seconds;
and when the actual sub-electric quantity indication interval is the Mth sub-electric quantity indication interval, controlling the indicator lamp to turn off the lamp.
Further, control the pilot lamp that the interval of actual electric quantity instruction corresponds periodically lights out, and control is less than the interval of actual electric quantity instruction and corresponds the pilot lamp that the interval of electric quantity instruction is often lighted, and control is higher than the interval of actual electric quantity instruction and corresponds the pilot lamp that the interval of electric quantity instruction is gone out, later still includes:
judging whether the actual electric quantity is smaller than a preset early warning threshold value or not;
and when the actual electric quantity is smaller than a preset early warning threshold value, controlling the color of the indicator light to change.
The invention adopts another technical scheme for solving the technical problem as follows: a battery comprising a memory, a processor and a high precision battery charge level indicating program stored on the memory and executable on the processor, the high precision battery charge level indicating program when executed by the processor implementing the steps of the high precision battery charge level indicating method as described above.
The invention adopts another technical scheme for solving the technical problem as follows: a storage medium, wherein the storage medium stores a computer program executable for implementing a high precision battery charge level indication method as described above.
Compared with the prior art, the invention provides a high-precision battery power indication method, a battery and a storage medium, wherein the battery is provided with at least 2 indicator lamps, and the battery comprises: detecting the number N of indicator lights on the battery, wherein N is a positive integer greater than or equal to 2; according to the quantity N of the indicating lamps, the battery electric quantity is set to N electric quantity indicating intervals, each electric quantity indicating interval corresponds to 1 indicating lamp, and each electric quantity indicating interval indicatesThe amount of electricity of; detection ofThe actual electric quantity of the battery is selected, and an actual electric quantity indication interval is selected according to the actual electric quantity; and controlling the indicating lamps corresponding to the actual electric quantity indication intervals to be periodically turned on and turned off, controlling the indicating lamps corresponding to the electric quantity indication intervals lower than the actual electric quantity indication intervals to be normally turned on, and controlling the indicating lamps corresponding to the electric quantity indication intervals higher than the actual electric quantity indication intervals to be turned off. The method for indicating the electric quantity of the high-precision battery comprises the steps of firstly detecting the number of indicator lamps configured for the battery, partitioning the electric quantity of the battery according to the number of the indicator lamps, configuring the electric quantity indicated by each indication interval, then detecting the actual electric quantity of the battery, selecting the corresponding actual electric quantity indication interval according to the actual electric quantity, controlling the indicator lamps corresponding to the actual electric quantity indication interval to be on and off periodically, controlling the indicator lamps corresponding to the electric quantity indication interval lower than the actual electric quantity indication interval to be on constantly, and controlling the indicator lamps corresponding to the electric quantity indication interval higher than the actual electric quantity indication interval to be off and on periodically. It can be understood that through control the pilot lamp that actual electric quantity instruction interval corresponds is bright going out periodically, and then realizes high accuracy, low cost and remote instruction battery power.
Drawings
Fig. 1 is a schematic flow chart of a high-precision battery power indication method provided by the present invention.
Fig. 2 is a schematic diagram of a corresponding relationship between an indicator light, an electric quantity indication interval and an electric quantity indication point in the high-precision battery electric quantity indication method provided by the invention.
Fig. 3 is a functional block diagram of a battery provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The battery is the indispensable equipment in daily life, especially portable power source, robot of sweeping the floor, notebook computer, unmanned aerial vehicle power battery, unmanned aerial vehicle remote controller, but electric fan, electric toothbrush, electronic razor, the flashlight of built-in rechargeable battery, electronic remote control toy etc. electrical equipment indispensable mechanism that the off-grid used. For the battery, the battery power is one of important data, in the prior art, in order to realize the indication of the battery power, a nixie tube, a liquid crystal screen or an electronic ink screen is arranged, but the indication method often causes the problem of high cost, and the battery power is often not seen clearly after the distance between the battery and a user is increased; however, although the indication method can indicate the battery power at a low cost and a long distance, the indication method is too fuzzy and rough, and the indication precision is too low. Based on the problems in battery power indication in the prior art, the invention provides a high-precision battery power indication method, a battery and a storage medium, thereby realizing low-cost, long-distance and high-precision battery power indication.
Referring to fig. 1, a first embodiment of the present invention provides a method for indicating battery power with high precision, wherein the battery is provided with at least 2 indicator lights, which includes:
step S11, detecting the number N of indicator lights on the battery, wherein N is a positive integer greater than or equal to 2;
step S12, according to the number N of the indicating lamps, the battery electric quantity is set to be N electric quantity indicating intervals, each electric quantity indicating interval corresponds to 1 indicating lamp, and each electric quantity indicating interval indicatesThe amount of electricity of;
step S13, detecting the actual electric quantity of the battery, and selecting an actual electric quantity indication interval according to the actual electric quantity;
and step S14, controlling the indicator light corresponding to the actual electric quantity indication interval to be periodically turned on and off, controlling the indicator light corresponding to the electric quantity indication interval lower than the actual electric quantity indication interval to be constantly turned on, and controlling the indicator light corresponding to the electric quantity indication interval higher than the actual electric quantity indication interval to be periodically turned on and off.
The method for indicating the electric quantity of the high-precision battery comprises the steps of firstly detecting the number of indicator lamps configured for the battery, partitioning the electric quantity of the battery according to the number of the indicator lamps, configuring the electric quantity indicated by each indication interval, then detecting the actual electric quantity of the battery, selecting the corresponding actual electric quantity indication interval according to the actual electric quantity, controlling the indicator lamps corresponding to the actual electric quantity indication interval to be on and off periodically, controlling the indicator lamps corresponding to the electric quantity indication interval lower than the actual electric quantity indication interval to be on constantly, and controlling the indicator lamps corresponding to the electric quantity indication interval higher than the actual electric quantity indication interval to be off and on periodically. It can be understood that through control the pilot lamp that actual electric quantity instruction interval corresponds is bright going out periodically, and then realizes high accuracy, low cost and remote instruction battery power.
In some specific embodiments, the step S12 specifically includes:
By analogy, the N-1 electric quantity indication interval has the electric quantity indication range
The high-precision battery electric quantity indicating method provided by the invention can be understood as dividing the electric quantity indicating interval of the battery according to the number of the indicating lamps of the battery, and enabling each indicating lamp to correspond to one electric quantity indicating interval, thereby providing effective guarantee for accurately indicating the electric quantity of the battery.
Referring to fig. 2, in some embodiments, the step S12 specifically includes:
in the 1 st electric quantity indication interval, the indicated electric quantity is 100% -75%;
in the 2 nd electric quantity indication interval, the indicated electric quantity is 75-50%;
in the 3 rd electric quantity indication interval, the indicated electric quantity is 50% -25%;
and in the 4 th electric quantity indication interval, the indicated electric quantity is 25% -0.
In some preferred embodiments, M sub-power indication intervals are disposed in the power indication interval, M +1 sub-power indication points are disposed in the power indication area, and the power indicated by the sub-power indication intervals isAn amount of electricity, wherein M is a positive integer.
The quantity of the indicating lamps is effectively reduced and the indicating precision of the battery electric quantity is guaranteed by setting the electric quantity indicating intervals to be a plurality of sub-electric quantity indicating intervals; thereby realizing low cost, high precision and long distance indication of battery electric quantity.
In some embodiments of the foot rest, M sub-electric quantity indication intervals are arranged in the electric quantity indication interval, M +1 sub-electric quantity indication points are arranged in the electric quantity indication interval, and the electric quantity indicated by the sub-electric quantity indication intervals isElectric quantity, wherein M is a positive integer, specifically includes:
the sub-electric quantity indication area of the 1 st electric quantity indication interval comprises:
The sub-electric quantity indication area of the 2 nd electric quantity indication interval comprises:
By analogy, the sub-electric quantity indication area of the M-1 electric quantity indication interval comprises:
The sub-electric quantity indication area of the Mth electric quantity indication interval comprises:
The quantity of the indicating lamps is effectively reduced, the cost is reduced, and meanwhile, the guarantee is provided for high-precision display of the battery electric quantity; thereby realizing low cost, high precision and long distance indication of battery electric quantity.
In some specific embodiments, the number N of the electric quantity indication intervals is set to 4, the number M of the sub-electric quantity indication intervals set in each electric quantity indication interval is set to 5, 6 sub-electric quantity indication points are set in the electric quantity indication intervals, the electric quantity indicated by the electric quantity indication intervals is set to 25%, and the electric quantity indicated by the sub-electric quantity indication intervals is 5%.
Specifically, the 1 st electric quantity indication interval is 100% -75% of the indicated electric quantity indication interval; the sub-electric quantity indication interval in the 1 st electric quantity indication interval comprises: the 1 st sub-electric quantity indication interval is 100-95%, the 2 nd sub-electric quantity indication interval is 95-90%, the 3 rd sub-electric quantity indication interval is 90-85%, the 4 th sub-electric quantity indication interval is 85-80%, and the 5 th sub-electric quantity indication interval is 80-75%;
in the 2 nd electric quantity indication interval, the indicated electric quantity indication interval is 75-50%; the sub-electric quantity indication interval in the 1 st electric quantity indication interval comprises: 75% -70% of the 1 st sub-electric quantity indication interval, 70% -65% of the 2 nd sub-electric quantity indication interval, 65% -60% of the 3 rd sub-electric quantity indication interval, 60% -55% of the 4 th sub-electric quantity indication interval and 55% -50% of the 5 th sub-electric quantity indication interval;
in the 3 rd electric quantity indication interval, the indicated electric quantity indication interval is 50% -25%; the sub-electric quantity indication interval in the 1 st electric quantity indication interval comprises: the 1 st sub-electric quantity indication interval is 50% -45%, the 2 nd sub-electric quantity indication interval is 45% -40%, the 3 rd sub-electric quantity indication interval is 40% -35%, the 4 th sub-electric quantity indication interval is 35% -30%, and the 5 th sub-electric quantity indication interval is 30% -25%;
in the 4 th electric quantity indication interval, the indicated electric quantity indication interval is 25-0 percent; the sub-electric quantity indication interval in the 1 st electric quantity indication interval comprises: the 1 st sub-electric quantity indication interval is 25% -20%, the 2 nd sub-electric quantity indication interval is 20% -15%, the 3 rd sub-electric quantity indication interval is 15% -10%, the 4 th sub-electric quantity indication interval is 10% -5%, and the 5 th sub-electric quantity indication interval is 5% -0.
The quantity of the indicating lamps is effectively reduced, the cost is reduced, and meanwhile, the guarantee is provided for high-precision display of the battery electric quantity; thereby realizing low cost, high precision and long distance indication of battery electric quantity.
In other specific embodiments, the number M of the sub-electric quantity indication intervals set in each electric quantity indication interval is 10, 11 sub-electric quantity indication points are set in each electric quantity indication interval, the number N of the electric quantity indication intervals is 4, the electric quantity indicated by each electric quantity indication interval is 25%, and the electric quantity indicated by each sub-electric quantity indication interval is 2.5%.
Specifically, the 1 st electric quantity indication interval is 100% -75% of the indicated electric quantity indication interval; the sub-electric quantity indication interval in the 1 st electric quantity indication interval comprises: the 1 st sub-electric quantity indication interval is 100% -97.5%, the 2 nd sub-electric quantity indication interval is 97.5% -95%, the 3 rd sub-electric quantity indication interval is 95% -92.5%, the 4 th sub-electric quantity indication interval is 92.5% -90%, the 5 th sub-electric quantity indication interval is 90% -87.5%, the 6 th sub-electric quantity indication interval is 87.5% -85%, the 7 th sub-electric quantity indication interval is 85% -82.5%, the 8 th sub-electric quantity indication interval is 82.5% -80%, the 9 th sub-electric quantity indication interval is 80% -77.5%, and the 10 th sub-electric quantity indication interval is 77.5% -75%;
in the 2 nd electric quantity indication interval, the indicated electric quantity indication interval is 75-50%; the sub-electric quantity indication interval in the 1 st electric quantity indication interval comprises: 75% -72.5% of the 1 st sub-electric quantity indication interval, 72.5% -70% of the 2 nd sub-electric quantity indication interval, 70% -67.5% of the 3 rd sub-electric quantity indication interval, 67.5% -65% of the 4 th sub-electric quantity indication interval, 65% -62.5% of the 5 th sub-electric quantity indication interval, 62.5% -60% of the 6 th sub-electric quantity indication interval, 60% -57.5% of the 7 th sub-electric quantity indication interval, 57.5% -55% of the 8 th sub-electric quantity indication interval, 55% -52.5% of the 9 th sub-electric quantity indication interval and 52.5% -50% of the 10 th sub-electric quantity indication interval;
in the 3 rd electric quantity indication interval, the indicated electric quantity indication interval is 50% -25%; the sub-electric quantity indication interval in the 1 st electric quantity indication interval comprises: the 1 st sub-electric quantity indication interval is 50% -47.5%, the 2 nd sub-electric quantity indication interval is 47.5% -45%, the 3 rd sub-electric quantity indication interval is 45% -42.5%, the 4 th sub-electric quantity indication interval is 42.5% -40%, the 5 th sub-electric quantity indication interval is 40% -37.5%, the 6 th sub-electric quantity indication interval is 37.5% -35%, the 7 th sub-electric quantity indication interval is 35% -32.5%, the 8 th sub-electric quantity indication interval is 32.5% -30%, the 9 th sub-electric quantity indication interval is 30% -27.5%, and the 10 th sub-electric quantity indication interval is 27.5% -25%;
in the 4 th electric quantity indication interval, the indicated electric quantity indication interval is 25-0 percent; the sub-electric quantity indication interval in the 1 st electric quantity indication interval comprises: the 1 st sub-electric quantity indication interval is 25% -22.5%, the 2 nd sub-electric quantity indication interval is 22.5% -20%, the 3 rd sub-electric quantity indication interval is 20% -17.5%, the 4 th sub-electric quantity indication interval is 17.5% -15%, the 5 th sub-electric quantity indication interval is 15% -12.5%, the 6 th sub-electric quantity indication interval is 12.5% -10%, the 7 th sub-electric quantity indication interval is 10% -7.5%, the 8 th sub-electric quantity indication interval is 7.5% -5%, the 9 th sub-electric quantity indication interval is 5% -2.5%, and the 10 th sub-electric quantity indication interval is 2.5% -0%.
The quantity of the indicating lamps is effectively reduced, the cost is reduced, and meanwhile, the guarantee is provided for high-precision display of the battery electric quantity; thereby realizing low cost, high precision and long distance indication of battery electric quantity.
In some preferred embodiments, the sub-electric quantity indicating point includes:
the sub-electric quantity indication point of the 1 st electric quantity indication interval comprises: sub-electric quantity 1 indicating point 100%, sub-electric quantity 2 indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indication pointM-1 sub electric quantity indicating pointMth sub electric quantity indicating point
The sub-electric quantity indication point of the 2 nd electric quantity indication interval comprises: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indication pointM-1 sub electric quantity indicating pointMth sub electric quantity indicating point
By analogy, the sub-electric quantity indication points in the M-1 electric quantity indication interval comprise: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indicating pointM-2 sub electric quantity indicating pointMth sub electric quantity indicating point
The sub-electric quantity indication point of the Mth electric quantity indication interval comprises: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indicating pointM-2 sub electric quantity indicating pointThe mth sub-power indicates point 0.
The quantity of the indicating lamps is effectively reduced, the cost is reduced, and meanwhile, the guarantee is provided for high-precision display of the battery electric quantity; thereby realizing low cost, high precision and long distance indication of battery electric quantity.
In some specific embodiments, the number N of the power indication intervals is set to 4, the number M of the sub power indication intervals set in each power indication interval is set to 10, the power indication intervals are provided with 6 sub power indication points, the power indicated by the power indication intervals is set to 25%, and the power indicated by the sub power indication intervals is 5%, which is specifically as follows:
the 1 st electric quantity indication interval is 100-75 percent; the sub-electric quantity indication point in the 1 st electric quantity indication interval comprises: a 1 st sub-electric quantity indicating point 100%, a 2 nd sub-electric quantity indicating point 97.5%, a 3 rd sub-electric quantity indicating point 95%, a 4 th sub-electric quantity indicating point 92.5%, a 5 th sub-electric quantity indicating point 90%, and a 6 th sub-electric quantity indicating point 87.5%; a 7 th sub power indication point 85%, an 8 th sub power indication point 82.5%, a 9 th sub power indication point 80%, a 10 th sub power indication point 77.5%, and an 11 th sub power indication point 75%; in the 2 nd electric quantity indication interval, the indicated electric quantity indication interval is 75-50%; the sub-electric quantity indication point in the 1 st electric quantity indication interval comprises: 75% of a 1 st sub-electric quantity indicating point, 72.5% of a 2 nd sub-electric quantity indicating point, 70% of a 3 rd sub-electric quantity indicating point, 67.5% of a 4 th sub-electric quantity indicating point, 65% of a 5 th sub-electric quantity indicating point and 62.5% of a 6 th sub-electric quantity indicating point; a 7 th sub power indication point 60%, an 8 th sub power indication point 57.5%, a 9 th sub power indication point 55%, a 10 th sub power indication point 52.5%, and an 11 th sub power indication point 50%;
in the 3 rd electric quantity indication interval, the indicated electric quantity indication interval is 50% -25%; the sub-electric quantity indication point in the 1 st electric quantity indication interval comprises: 50% of a 1 st sub-electric quantity indicating point, 47.5% of a 2 nd sub-electric quantity indicating point, 45% of a 3 rd sub-electric quantity indicating point, 42.5% of a 4 th sub-electric quantity indicating point, 40% of a 5 th sub-electric quantity indicating point and 37.5% of a 6 th sub-electric quantity indicating point; 35% of a 7 th sub-electric quantity indicating point, 32.5% of an 8 th sub-electric quantity indicating point, 30% of a 9 th sub-electric quantity indicating point, 27.5% of a 10 th sub-electric quantity indicating point and 25% of an 11 th sub-electric quantity indicating point;
in the 4 th electric quantity indication interval, the indicated electric quantity indication interval is 25-0 percent;
the sub-electric quantity indication point in the 1 st electric quantity indication interval comprises: 25% of a 1 st sub-electric quantity indicating point, 22.5% of a 2 nd sub-electric quantity indicating point, 20% of a 3 rd sub-electric quantity indicating point, 17.5% of a 4 th sub-electric quantity indicating point, 15% of a 5 th sub-electric quantity indicating point, 12.5% of a 6 th sub-electric quantity indicating point, 10% of a 7 th sub-electric quantity indicating point, 7.5% of an 8 th sub-electric quantity indicating point, 5% of a 9 th sub-electric quantity indicating point, 2.5% of a 10 th sub-electric quantity indicating point and 0% of a 11 th sub-electric.
The method has the advantages that the plurality of sub-electric quantity indicating points are arranged in the electric quantity indicating interval, so that a single indicating lamp indicates the plurality of sub-electric quantity indicating points, the number of the indicating lamps is effectively reduced, the cost is reduced, and meanwhile, the guarantee is provided for high-precision display of the electric quantity of the battery; thereby realizing low cost, high precision and long distance indication of battery electric quantity.
In other specific embodiments, the number N of the electric quantity indication intervals is set to 4, the number M of the sub-electric quantity indication intervals set in each electric quantity indication interval is set to 5, 6 sub-electric quantity indication points are set in the electric quantity indication intervals, the electric quantity indicated by the electric quantity indication intervals is set to 25%, and the electric quantity indicated by the sub-electric quantity indication intervals is 5%, which is specifically as follows:
the 1 st electric quantity indication interval is 100-75 percent; the sub-electric quantity indication point in the 1 st electric quantity indication interval comprises: a 1 st sub-electric quantity indicating point 100%, a 2 nd sub-electric quantity indicating point 95%, a 3 rd sub-electric quantity indicating point 90%, a 4 th sub-electric quantity indicating point 85%, a 5 th sub-electric quantity indicating point 80%, and a 6 th sub-electric quantity indicating point 75%;
in the 2 nd electric quantity indication interval, the indicated electric quantity indication interval is 75-50%;
the sub-electric quantity indication point in the 1 st electric quantity indication interval comprises: 75% of a 1 st sub-electric quantity indicating point, 70% of a 2 nd sub-electric quantity indicating point, 65% of a 3 rd sub-electric quantity indicating point, 60% of a 4 th sub-electric quantity indicating point, 55% of a 5 th sub-electric quantity indicating point and 50% of a 6 th sub-electric quantity indicating point;
in the 3 rd electric quantity indication interval, the indicated electric quantity indication interval is 50% -25%; the sub-electric quantity indication point in the 1 st electric quantity indication interval comprises: 50% of a 1 st sub-electric quantity indicating point, 45% of a 2 nd sub-electric quantity indicating point, 40% of a 3 rd sub-electric quantity indicating point, 35% of a 4 th sub-electric quantity indicating point, 30% of a 5 th sub-electric quantity indicating point and 25% of a 6 th sub-electric quantity indicating point;
in the 4 th electric quantity indication interval, the indicated electric quantity indication interval is 25-0 percent;
the sub-electric quantity indication point in the 1 st electric quantity indication interval comprises: 25% of the 1 st sub-electric quantity indicating point, 20% of the 2 nd sub-electric quantity indicating point, 15% of the 3 rd sub-electric quantity indicating point, 10% of the 4 th sub-electric quantity indicating point, 5% of the 5 th sub-electric quantity indicating point and 0% of the 6 th sub-electric quantity indicating point.
The method has the advantages that the plurality of sub-electric quantity indicating points are arranged in the electric quantity indicating interval, so that a single indicating lamp indicates the plurality of sub-electric quantity indicating points, the number of the indicating lamps is effectively reduced, the cost is reduced, and meanwhile, the guarantee is provided for high-precision display of the electric quantity of the battery; thereby realizing low cost, high precision and long distance indication of battery electric quantity.
In other embodiments, the controlling of the indicator light corresponding to the actual electric quantity indication interval to periodically turn on and turn off the light specifically includes:
selecting an actual sub-electric quantity indication interval in the actual electric quantity indication interval according to the actual electric quantity;
when the actual sub-electric quantity indication interval is a 1 st sub-electric quantity indication interval, controlling the indicator lamp to be normally on;
when the actual sub-electric quantity indication interval is a 2 nd sub-electric quantity indication interval, controlling the indicator lamp to be turned on for M-1 seconds and turned off for 1 second within a period of M seconds;
by analogy, when the actual sub-electric quantity indication interval is the M-1 sub-electric quantity indication interval, controlling the indicator lamp to be on for 2 seconds and off for M-2 seconds within the period of M seconds;
and when the actual sub-electric quantity indication interval is the Mth sub-electric quantity indication interval, controlling the indicator lamp to be on for 1 second and off for M-1 second within the period of M seconds.
It can be understood that in the high-precision battery power indication method provided by the invention, according to the detected actual power of the battery, the power indication interval corresponding to the actual power is controlled, that is, the actual power indication interval, and then according to the actual power control, the indicator light corresponding to the actual power indication interval periodically lights or lights the actual power of the battery, so as to realize low-cost indication of the battery power, improve the personalized specificity of the battery power indication, and realize remote high-precision indication of the battery power; it is emphasized that M is the number of indicator lights of the battery, that is, the value of the on/off period of the indicator lights is equal to the number of the indicator lights.
Furthermore, through setting up sub electric quantity instruction interval with electric quantity instruction interval to according to the sub electric quantity instruction interval that actual electric quantity discernment corresponds, actual sub electric quantity instruction interval promptly, then according to the interval control is instructed to actual sub electric quantity the pilot lamp that interval corresponds is instructed to actual electric quantity to control this pilot lamp periodicity and shine out, and then realize the high accuracy and instruct battery power.
In a specific embodiment, the number N of the indicator lights of the battery is set to 4, and the number M of the sub-electric quantity indication intervals in each electric quantity indication interval is set to 5, that is, the on-off period of the indicator lights of the battery is 5 seconds.
Further, when the actual electric quantity is 100%, the actual electric quantity indication interval is a 1 st electric quantity indication interval, the actual sub-electric quantity indication interval is a 1 st sub-electric quantity indication interval of the 1 st electric quantity indication interval, and all 4 indicator lights of the battery are kept normally on.
Further, when the actual electric quantity is 95%, the actual electric quantity indication interval is a 1 st electric quantity indication interval, the actual sub-electric quantity indication interval is a 2 nd sub-electric quantity indication interval of the 1 st electric quantity indication interval, 3 indicator lights of the battery are kept on constantly, and 1 indicator light is turned on every 5 seconds for 4 seconds to be turned off for 1 second.
Further, when the actual electric quantity is 60%, the actual electric quantity indication interval is a 2 nd electric quantity indication interval, the actual sub-electric quantity indication interval is a 4 th sub-electric quantity indication interval of the 2 nd electric quantity indication interval, 2 indicator lights of the battery are kept on normally, 1 indicator light is kept off, and 1 indicator light is turned on every 5 seconds and is turned off for 3 seconds.
Further, when the actual electric quantity is 40%, the actual electric quantity indication interval is a 3 rd electric quantity indication interval, the actual sub-electric quantity indication interval is a 3 rd sub-electric quantity indication interval of the 3 rd electric quantity indication interval, 2 indicator lights of the battery are kept turned off, 1 indicator light is kept normally on, and 1 indicator light is turned on every 5 seconds for 3 seconds and is turned off for 2 seconds.
Further, when the actual electric quantity is 5%, the actual electric quantity indication interval is a 4 th electric quantity indication interval, the actual sub-electric quantity indication interval is a 4 th sub-electric quantity indication interval of the 4 th electric quantity indication interval, 3 indicator lights of the battery keep off, and 1 indicator light is turned on for 1 second and turned off for 4 seconds every 5 seconds.
Further, when the actual electric quantity is 0, the actual electric quantity indication interval is a 4 th electric quantity indication interval, the actual sub-electric quantity indication interval is a 5 th sub-electric quantity indication interval of the 4 th electric quantity indication interval, and the 4 indicator lights of the battery are kept off.
It can be understood that in the high-precision battery power indication method provided by the invention, according to the detected actual power of the battery, the power indication interval corresponding to the actual power is controlled, that is, the actual power indication interval, and then according to the actual power control, the indicator light corresponding to the actual power indication interval periodically lights or lights the actual power of the battery, so as to realize low-cost indication of the battery power, improve the personalized specificity of the battery power indication, and realize remote high-precision indication of the battery power; it is emphasized that M is the number of indicator lights of the battery, that is, the value of the on/off period of the indicator lights is equal to the number of the indicator lights.
Furthermore, through setting up sub electric quantity instruction interval with electric quantity instruction interval to according to the sub electric quantity instruction interval that actual electric quantity discernment corresponds, actual sub electric quantity instruction interval promptly, then according to the interval control is instructed to actual sub electric quantity the pilot lamp that interval corresponds is instructed to actual electric quantity to control this pilot lamp periodicity and shine out, and then realize the high accuracy and instruct battery power.
In some preferred embodiments, the controlling the indicator lights corresponding to the actual electric quantity indication interval to turn on and off the lights periodically includes:
selecting an actual sub-electric quantity indicating point in the actual electric quantity indicating interval according to the actual electric quantity;
when the actual sub-electric quantity indicating point is a first sub-electric quantity indicating point, controlling the indicating lamp to be normally on;
when the actual sub-electric quantity indication interval is a 2 nd sub-electric quantity indication point, controlling the indicator lamp to be turned on for M-1 seconds and turned off for 1 second within a period of M seconds;
by analogy, when the actual sub-electric quantity indication interval is the M-1 sub-electric quantity indication point, controlling the indicator light to be on for 1 second and off for M-1 second within the period of M seconds;
and when the actual sub-electric quantity indication interval is the Mth sub-electric quantity indication interval, controlling the indicator lamp to turn off the lamp.
It can be understood that in the high-precision battery power indication method provided by the invention, according to the detected actual power of the battery, the power indication interval corresponding to the actual power is controlled, that is, the actual power indication interval, and then according to the actual power control, the indicator light corresponding to the actual power indication interval periodically lights or lights the actual power of the battery, so as to realize low-cost indication of the battery power, improve the personalized specificity of the battery power indication, and realize remote high-precision indication of the battery power; it is emphasized that M is the number of indicator lights of the battery, that is, the value of the on/off period of the indicator lights is equal to the number of the indicator lights.
Furthermore, through setting up sub electric quantity point of instructing the interval with the electric quantity to according to the sub electric quantity point of actual electric quantity discernment correspondence, actual sub electric quantity point of instructing promptly, then according to actual sub electric quantity point control the pilot lamp that actual electric quantity point corresponds to control this pilot lamp periodicity and go on and go out, and then realize the high accuracy and instruct battery electric quantity.
In some specific embodiments, the number N of the indicator lights is set to 4, the number M of the sub power indication intervals in each power indication interval is set to 5, that is, the number of the sub power indication points is 6, and the on-off period of the indicator lights is 5 seconds.
Further, when the actual electric quantity is 100%, the actual electric quantity indicating point is a 1 st sub-electric quantity indicating point in a 1 st electric quantity indicating interval, and all 4 indicating lamps of the battery are kept normally on.
Further, when the actual electric quantity is 95%, the actual electric quantity indicating point is a 2 nd electric quantity indicating point of a 1 st electric quantity indicating point, 3 indicating lamps of the battery are kept on constantly, and 1 indicating lamp is turned on every 5 seconds for 4 seconds and turned off for 1 second.
Further, when the actual electric quantity is 90%, the actual electric quantity indicating point is a 3 rd electric quantity indicating point of a 1 st electric quantity indicating point, 3 indicating lamps of the battery are kept on constantly, and the 1 indicating lamp is turned on for 3 seconds and turned off for 2 seconds every 5 seconds.
Further, when the actual electric quantity is 85%, the actual electric quantity indicating point is a 4 th electric quantity indicating point of the 1 st electric quantity indicating point, 3 indicating lamps of the battery are kept on constantly, and 1 indicating lamp is turned on for 2 seconds and turned off for 3 seconds every 5 seconds.
Further, when the actual electric quantity is 80%, the actual electric quantity indicating point is a 5 th electric quantity indicating point of the 1 st electric quantity indicating point, 3 indicating lamps of the battery are kept on constantly, and 1 indicating lamp is turned on for 1 second and turned off for 4 seconds every 5 seconds.
Further, when the actual electric quantity is 75%, the actual electric quantity indicating point is a 5 th electric quantity indicating point of the 1 st electric quantity indicating point, 2 indicating lamps of the battery are kept on normally, and 1 indicating lamp is kept off.
Further, when the actual electric quantity is 70%, the actual electric quantity indicating point is a 2 nd electric quantity indicating point of a 2 nd electric quantity indicating point, 2 indicating lamps of the battery are kept on constantly, 1 indicating lamp is kept off, and 1 indicating lamp is turned on for 4 seconds and turned off for 1 second every 5 seconds.
Further, when the actual electric quantity is 65%, the actual electric quantity indicating point is a 3 rd electric quantity indicating point of a 2 nd electric quantity indicating point, 2 indicating lamps of the battery are kept on constantly, 1 indicating lamp is kept off, and 1 indicating lamp is turned on for 3 seconds and turned off for 2 seconds every 5 seconds.
Further, when the actual electric quantity is 60%, the actual electric quantity indicating point is a 4 th electric quantity indicating point of a 2 nd electric quantity indicating point, 2 indicating lamps of the battery are kept on constantly, 1 indicating lamp is kept off, and 1 indicating lamp is turned on for 2 seconds and turned off for 3 seconds every 5 seconds.
Further, when the actual electric quantity is 55%, the actual electric quantity indicating point is a 5 th electric quantity indicating point of a 2 nd electric quantity indicating point, 2 indicating lamps of the battery are kept on constantly, 1 indicating lamp is kept off, and 1 indicating lamp is turned on for 1 second and turned off for 4 seconds every 5 seconds.
Further, when the actual electric quantity is 50%, the actual electric quantity indicating point is a 6 th electric quantity indicating point of a 2 nd electric quantity indicating point, 2 indicating lamps of the battery are kept on normally, and 2 indicating lamps are kept off.
Further, when the actual electric quantity is 45%, the actual electric quantity indicating point is a 2 nd electric quantity indicating point of a 3 rd electric quantity indicating point, 1 indicating lamp of the battery is kept on normally, 2 indicating lamps are kept off, and 1 indicating lamp is turned on for 4 seconds and turned off for 1 second every 5 seconds.
Further, when the actual electric quantity is 40%, the actual electric quantity indicating point is a 3 rd electric quantity indicating point of a 3 rd electric quantity indicating point, 1 indicating lamp of the battery is kept on normally, 2 indicating lamps are kept off, and 1 indicating lamp is turned on for 3 seconds and turned off for 2 seconds every 5 seconds.
Further, when the actual electric quantity is 35%, the actual electric quantity indicating point is a 4 th electric quantity indicating point of a 3 rd electric quantity indicating point, 1 indicating lamp of the battery is kept on normally, 2 indicating lamps are kept off, and 1 indicating lamp is turned on every 5 seconds and is turned off for 3 seconds every 2 seconds.
Further, when the actual electric quantity is 30%, the actual electric quantity indicating point is a 5 th electric quantity indicating point of a 3 rd electric quantity indicating point, 1 indicating lamp of the battery is kept on normally, 2 indicating lamps are kept off, and 1 indicating lamp is turned on for 1 second and turned off for 4 seconds every 5 seconds.
Further, when the actual electric quantity is 25%, the actual electric quantity indicating point is a 6 th electric quantity indicating point of a 3 rd electric quantity indicating point, 1 indicating lamp of the battery is kept on normally, and 3 indicating lamps are kept off.
Further, when the actual electric quantity is 20%, the actual electric quantity indicating point is a 2 nd electric quantity indicating point of a 4 th electric quantity indicating point, 3 indicating lamps of the battery keep off, and 1 indicating lamp is turned on for 4 seconds and turned off for 1 second every 5 seconds.
Further, when the actual electric quantity is 15%, the actual electric quantity indicating point is a 3 rd electric quantity indicating point of a 4 th electric quantity indicating point, 3 indicating lamps of the battery keep off, and 1 indicating lamp is turned on for 3 seconds and turned off for 2 seconds every 5 seconds.
Further, when the actual electric quantity is 10%, the actual electric quantity indicating point is a 4 th electric quantity indicating point of a 4 th electric quantity indicating point, 3 indicating lamps of the battery keep off, and 1 indicating lamp is turned on for 2 seconds and turned off for 3 seconds every 5 seconds.
Further, when the actual electric quantity is 5%, the actual electric quantity indicating point is a 5 th electric quantity indicating point of a 4 th electric quantity indicating point, 3 indicating lamps of the battery keep off, and 1 indicating lamp is turned on for 1 second and turned off for 4 seconds every 5 seconds.
Further, when the actual electric quantity is 0, the actual electric quantity indicating point is a 6 th electric quantity indicating point of a 4 th electric quantity indicating point, and all 4 indicating lamps of the battery are kept off.
It can be understood that in the high-precision battery power indication method provided by the invention, according to the detected actual power of the battery, the power indication interval corresponding to the actual power is controlled, that is, the actual power indication interval, and then according to the actual power control, the indicator light corresponding to the actual power indication interval periodically lights or lights the actual power of the battery, so as to realize low-cost indication of the battery power, improve the personalized specificity of the battery power indication, and realize remote high-precision indication of the battery power; it is emphasized that M is the number of indicator lights of the battery, that is, the value of the on/off period of the indicator lights is equal to the number of the indicator lights.
Furthermore, through setting up sub electric quantity point of instructing the interval with the electric quantity to according to the sub electric quantity point of actual electric quantity discernment correspondence, actual sub electric quantity point of instructing promptly, then according to actual sub electric quantity point control the pilot lamp that actual electric quantity point corresponds to control this pilot lamp periodicity and go on and go out, and then realize the high accuracy and instruct battery electric quantity.
In some preferred embodiments, the step S14 is followed by:
s15, judging whether the actual electric quantity is smaller than a preset early warning threshold value;
and S16, when the actual electric quantity is smaller than a preset early warning threshold value, controlling the color of the indicator light to change.
The high-precision battery power indication method provided by the invention can be understood that when the actual power of the battery is detected to be smaller than the preset early warning threshold value, the color of the corresponding indicator light is controlled to change, and then early warning information of low power is sent to a user to prompt the user to charge the battery; it should be noted that the indicator light emits white light when the electric quantity is normal, and when the actual electric quantity is smaller than a preset early warning threshold value, the light emitting color of the indicator light is changed into red or yellow, so as to effectively remind a user; meanwhile, the preset early warning threshold is set to any one of 15%, 10% or 5%.
Referring to fig. 3, the present invention further provides a battery, which includes a memory 20, a processor 10, and a high-precision battery power indication program stored in the memory 20 and executable on the processor 10, wherein when the high-precision battery power indication program is executed by the processor 10, the steps of the high-precision battery power indication method according to the above-mentioned embodiment of the present invention are implemented, as described above.
In some embodiments, the battery is applied to a mobile power supply, the mobile power supply is set as a small-capacity light and thin mobile power supply, and the battery in the invention is embedded in the mobile power supply, so that the mobile power supply can realize low-cost, long-distance and high-precision indication of the battery power.
Furthermore, the mobile power supply is also provided with a wireless charging module, and the wireless charging module is used for charging a battery in the mobile power supply.
Furthermore, the mobile power supply device comprises a plurality of sub mobile power supplies which are arranged in a separable mode, and each sub mobile power supply is provided with an input interface and an output interface; furthermore, each sub-mobile power supply is magnetically and electrically connected. It should be noted that the sub-mobile power supplies can be carried separately and charge other devices; that is to say, the user can carry the sub portable power source of different quantity according to actual demand, and then effectively avoids the too big problem of weight and thickness because of portable power source capacity is too big brings, has effectually made things convenient for the use of user to portable power source.
In other embodiments, a power-on button is disposed on the mobile power supply, and the power-on button is recessed relative to the surface of the mobile power supply, so as to effectively avoid mistaken touch on the mobile power supply.
Further, the mobile power supply is also provided with a low current output mode, and a user can set the running time of the low current mode in a user-defined mode according to requirements. And then satisfy and charge the equipment that needs the charging of low current mode.
The present invention also provides a storage medium in which a computer program is stored, the computer program being executable to implement the high-precision battery level indication method as described in the above-described embodiments of the invention, in particular as described above.
In summary, the present invention provides a high-precision battery power indication method, a battery and a storage medium, wherein the battery is provided with at least 2 indicator lights, and the method comprises: detecting the number N of indicator lights on the battery, wherein N is a positive integer greater than or equal to 2; according to the quantity N of the indicating lamps, the battery electric quantity is set to N electric quantity indicating intervals, each electric quantity indicating interval corresponds to 1 indicating lamp, and each electric quantity indicating interval indicatesThe amount of electricity of; detecting the actual electric quantity of the battery, and selecting an actual electric quantity indication interval according to the actual electric quantity; and controlling the indicating lamps corresponding to the actual electric quantity indication intervals to be periodically turned on and turned off, controlling the indicating lamps corresponding to the electric quantity indication intervals lower than the actual electric quantity indication intervals to be normally turned on, and controlling the indicating lamps corresponding to the electric quantity indication intervals higher than the actual electric quantity indication intervals to be turned off. The method for indicating the electric quantity of the high-precision battery comprises the steps of firstly detecting the number of indicator lamps configured for the battery, partitioning the electric quantity of the battery according to the number of the indicator lamps, configuring the electric quantity indicated by each indication interval, then detecting the actual electric quantity of the battery, selecting the corresponding actual electric quantity indication interval according to the actual electric quantity, controlling the indicator lamps corresponding to the actual electric quantity indication interval to be on and off periodically, controlling the indicator lamps corresponding to the electric quantity indication interval lower than the actual electric quantity indication interval to be on constantly, and controlling the indicator lamps corresponding to the electric quantity indication interval higher than the actual electric quantity indication interval to be off and on periodically. It can be understood that the corresponding indicator light in the actual electric quantity indication interval is periodically turned on and off through control, and high precision is achievedLow cost and long distance indication of battery charge.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.
Claims (10)
1. A high-precision battery power indication method is provided, wherein the battery is provided with at least 2 indicator lamps, and the method is characterized by comprising the following steps:
detecting the number N of indicator lights on the battery, wherein N is a positive integer greater than or equal to 2;
according to the quantity N of the indicating lamps, the battery electric quantity is set to N electric quantity indicating intervals, each electric quantity indicating interval corresponds to 1 indicating lamp, and each electric quantity indicating interval indicatesThe amount of electricity of;
detecting the actual electric quantity of the battery, and selecting an actual electric quantity indication interval according to the actual electric quantity;
and controlling the indicating lamps corresponding to the actual electric quantity indication intervals to be periodically turned on and turned off, controlling the indicating lamps corresponding to the electric quantity indication intervals lower than the actual electric quantity indication intervals to be normally turned on, and controlling the indicating lamps corresponding to the electric quantity indication intervals higher than the actual electric quantity indication intervals to be turned off.
2. The method according to claim 1, wherein the battery power is set to N power indication intervals according to the number N of the indicator lights, each power indication interval corresponds to 1 indicator light, and each power indication interval indicatesThe electric quantity of (2) specifically includes:
By analogy, the N-1 electric quantity indication interval has the electric quantity indication range
3. The method according to claim 2, wherein M sub-electric quantity indication sections are provided in the electric quantity indication section, M +1 sub-electric quantity indication points are provided in the electric quantity indication section, and the electric quantity indicated by the sub-electric quantity indication sections is the electric quantity indicated by the sub-electric quantity indication pointsAn amount of electricity, wherein M is a positive integer.
4. The method according to claim 3, wherein M sub-electric quantity indication intervals are provided in the electric quantity indication interval, M +1 sub-electric quantity indication points are provided in the electric quantity indication interval, and the electric quantity indicated by the sub-electric quantity indication intervals isElectric quantity, wherein M is a positive integer, specifically includes:
the sub-electric quantity indication area of the 1 st electric quantity indication interval comprises:
The sub-electric quantity indication area of the 2 nd electric quantity indication interval comprises:
By analogy, the sub-electric quantity indication area of the M-1 electric quantity indication interval comprises:
The sub-electric quantity indication area of the Mth electric quantity indication interval comprises:
5. The method of claim 4, wherein the sub power indication points comprise:
the sub-electric quantity indication point of the 1 st electric quantity indication interval comprises: sub-electric quantity 1 indicating point 100%, sub-electric quantity 2 indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indication pointM-1 sub electric quantity indicating pointMth sub electric quantity indicating point
The sub-electric quantity indication point of the 2 nd electric quantity indication interval comprises: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indication pointM-1 sub electric quantity indicating pointMth sub electric quantity indicating point
By analogy, the sub-electric quantity indication points in the M-1 electric quantity indication interval comprise: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indicating pointM-2 sub electric quantity indicating pointMth sub electric quantity indicating point
The sub-electric quantity indication point of the Mth electric quantity indication interval comprises: 1 st sub-electric quantity indicating pointSub-2 nd electric quantity indicating pointSub-3 rd electric quantity indicating pointBy analogy, the M-2 sub-electric quantity indicating pointM-2 sub electric quantity indicating pointThe mth sub-power indicates point 0.
6. The method according to claim 4, wherein the controlling of the indicator lights corresponding to the actual electric quantity indication interval to be periodically turned on and off specifically comprises:
selecting an actual sub-electric quantity indication interval in the actual electric quantity indication interval according to the actual electric quantity;
when the actual sub-electric quantity indication interval is a 1 st sub-electric quantity indication interval, controlling the indicator lamp to be normally on;
when the actual sub-electric quantity indication interval is a 2 nd sub-electric quantity indication interval, controlling the indicator lamp to be turned on for M-1 seconds and turned off for 1 second within a period of M seconds;
by analogy, when the actual sub-electric quantity indication interval is the M-1 sub-electric quantity indication interval, controlling the indicator lamp to be on for 2 seconds and off for M-2 seconds within the period of M seconds;
and when the actual sub-electric quantity indication interval is the Mth sub-electric quantity indication interval, controlling the indicator lamp to be on for 1 second and off for M-1 second within the period of M seconds.
7. The method according to claim 5, wherein the controlling of the indicator lights corresponding to the actual electric quantity indication interval to periodically turn on and off the lights specifically comprises:
selecting an actual sub-electric quantity indicating point in the actual electric quantity indicating interval according to the actual electric quantity;
when the actual sub-electric quantity indicating point is a first sub-electric quantity indicating point, controlling the indicating lamp to be normally on;
when the actual sub-electric quantity indication interval is a 2 nd sub-electric quantity indication point, controlling the indicator lamp to be turned on for M-1 seconds and turned off for 1 second within a period of M seconds;
by analogy, when the actual sub-electric quantity indication interval is the M-1 sub-electric quantity indication point, controlling the indicator light to be on for 1 second and off for M-1 second within the period of M seconds;
and when the actual sub-electric quantity indication interval is the Mth sub-electric quantity indication interval, controlling the indicator lamp to turn off the lamp.
8. The method for indicating battery power of high precision according to claim 1, wherein the method for controlling the indicator light corresponding to the actual power indication interval to periodically turn on and turn off the light, the method for controlling the indicator light corresponding to the power indication interval lower than the actual power indication interval to normally turn on, and the method for controlling the indicator light corresponding to the power indication interval higher than the actual power indication interval to turn off the light further comprises:
judging whether the actual electric quantity is smaller than a preset early warning threshold value or not;
and when the actual electric quantity is smaller than a preset early warning threshold value, controlling the color of the indicator light to change.
9. A battery comprising a memory, a processor, and a high accuracy battery charge indicator program stored on the memory and executable on the processor, the high accuracy battery charge indicator program when executed by the processor implementing the steps of the high accuracy battery charge indicator method of any of claims 1-8.
10. A storage medium storing a computer program executable to implement the high precision battery charge level indication method according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010305013.5A CN111366851A (en) | 2020-04-17 | 2020-04-17 | High-precision battery electric quantity indication method, battery and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010305013.5A CN111366851A (en) | 2020-04-17 | 2020-04-17 | High-precision battery electric quantity indication method, battery and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111366851A true CN111366851A (en) | 2020-07-03 |
Family
ID=71210872
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010305013.5A Pending CN111366851A (en) | 2020-04-17 | 2020-04-17 | High-precision battery electric quantity indication method, battery and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111366851A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112220415A (en) * | 2020-10-13 | 2021-01-15 | 广东美的厨房电器制造有限公司 | Control method and device for cleaning robot, cleaning robot and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894983A (en) * | 2010-07-15 | 2010-11-24 | 东风汽车有限公司 | Method and device for indicating working state of storage battery |
CN202424272U (en) * | 2012-02-17 | 2012-09-05 | 深圳市富士达工业有限公司 | Battery with electric quantity indication |
CN103344802A (en) * | 2013-06-27 | 2013-10-09 | 浙江联宜电机股份有限公司 | Novel electric quantity display circuit |
CN103529688A (en) * | 2012-07-06 | 2014-01-22 | 昆达电脑科技(昆山)有限公司 | Computer-keyboard timer |
CN104007392A (en) * | 2014-05-23 | 2014-08-27 | 无锡英诺浦斯微电子有限公司 | Battery electric quantity detecting and displaying method |
WO2015176554A1 (en) * | 2014-05-23 | 2015-11-26 | 无锡英诺浦斯微电子有限公司 | Battery power detection display method and device |
CN105699905A (en) * | 2016-01-25 | 2016-06-22 | 江苏美的清洁电器股份有限公司 | Method and device for indicating electric quantity of electric equipment, and electric equipment |
TW201633846A (en) * | 2015-03-04 | 2016-09-16 | 力鉅電子股份有限公司 | Light emitting diode circuit with low pin counts and electric quantity indicator |
CN107247238A (en) * | 2017-06-12 | 2017-10-13 | 无锡华阳科技有限公司 | A kind of detection display methods for battery of electric vehicle electricity |
CN108305582A (en) * | 2017-04-13 | 2018-07-20 | 深圳市三诺电子有限公司 | A kind of device and method being used to indicate electric quantity of power supply |
CN108649653A (en) * | 2018-06-08 | 2018-10-12 | 汉能移动能源控股集团有限公司 | Charging state indicating method, system, device and readable storage medium |
CN110071556A (en) * | 2019-06-04 | 2019-07-30 | 南京矽力杰半导体技术有限公司 | Battery capacity indication circuit and indicating means |
CN209329711U (en) * | 2018-11-16 | 2019-08-30 | 广州市金特电子科技有限公司 | A kind of battery and charging assembly |
CN110504504A (en) * | 2019-08-30 | 2019-11-26 | 苏州锐迪联电子科技有限公司 | A kind of battery capacity indicating circuit based on single-chip |
-
2020
- 2020-04-17 CN CN202010305013.5A patent/CN111366851A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894983A (en) * | 2010-07-15 | 2010-11-24 | 东风汽车有限公司 | Method and device for indicating working state of storage battery |
CN202424272U (en) * | 2012-02-17 | 2012-09-05 | 深圳市富士达工业有限公司 | Battery with electric quantity indication |
CN103529688A (en) * | 2012-07-06 | 2014-01-22 | 昆达电脑科技(昆山)有限公司 | Computer-keyboard timer |
CN103344802A (en) * | 2013-06-27 | 2013-10-09 | 浙江联宜电机股份有限公司 | Novel electric quantity display circuit |
CN104007392A (en) * | 2014-05-23 | 2014-08-27 | 无锡英诺浦斯微电子有限公司 | Battery electric quantity detecting and displaying method |
WO2015176554A1 (en) * | 2014-05-23 | 2015-11-26 | 无锡英诺浦斯微电子有限公司 | Battery power detection display method and device |
TW201633846A (en) * | 2015-03-04 | 2016-09-16 | 力鉅電子股份有限公司 | Light emitting diode circuit with low pin counts and electric quantity indicator |
CN105699905A (en) * | 2016-01-25 | 2016-06-22 | 江苏美的清洁电器股份有限公司 | Method and device for indicating electric quantity of electric equipment, and electric equipment |
CN108305582A (en) * | 2017-04-13 | 2018-07-20 | 深圳市三诺电子有限公司 | A kind of device and method being used to indicate electric quantity of power supply |
CN107247238A (en) * | 2017-06-12 | 2017-10-13 | 无锡华阳科技有限公司 | A kind of detection display methods for battery of electric vehicle electricity |
CN108649653A (en) * | 2018-06-08 | 2018-10-12 | 汉能移动能源控股集团有限公司 | Charging state indicating method, system, device and readable storage medium |
CN209329711U (en) * | 2018-11-16 | 2019-08-30 | 广州市金特电子科技有限公司 | A kind of battery and charging assembly |
CN110071556A (en) * | 2019-06-04 | 2019-07-30 | 南京矽力杰半导体技术有限公司 | Battery capacity indication circuit and indicating means |
CN110504504A (en) * | 2019-08-30 | 2019-11-26 | 苏州锐迪联电子科技有限公司 | A kind of battery capacity indicating circuit based on single-chip |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112220415A (en) * | 2020-10-13 | 2021-01-15 | 广东美的厨房电器制造有限公司 | Control method and device for cleaning robot, cleaning robot and storage medium |
CN112220415B (en) * | 2020-10-13 | 2022-05-20 | 广东美的厨房电器制造有限公司 | Control method and device for cleaning robot, cleaning robot and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6967647B2 (en) | Method of controlling display brightness of portable information device, and portable information device | |
US6172478B1 (en) | Power distribution in a portable device | |
US6806684B2 (en) | Battery pack | |
US8922156B2 (en) | Solar power-generating equipment | |
AU2012100431A4 (en) | Portable illuminating and charging device with touch switch | |
CN1618177A (en) | Special battery reserve of portable electronic devices for emergency use | |
CN210922619U (en) | Laser demarcation device | |
TW200518372A (en) | Charging device and portable electronic equipment comprising same | |
CN111366851A (en) | High-precision battery electric quantity indication method, battery and storage medium | |
EP3439435B1 (en) | A lighting system | |
JP4971966B2 (en) | Guide light device and guide light fixture | |
KR101567048B1 (en) | Portable auxiliary battery apparatus | |
US20230103194A1 (en) | Charger, charge indicator, and associated methods | |
KR20050037534A (en) | Portable charger which has standard usb interface and battery display | |
CN207588473U (en) | A kind of car emergency power supply | |
CN213817292U (en) | Wireless charging device | |
CN216591431U (en) | Dual-purpose emergency lamp adopting DOB design | |
CN209930575U (en) | Solar LED lamp | |
KR101355219B1 (en) | Apparatus for power suppely with apparatus for proterble emergency flashlight | |
KR200409905Y1 (en) | Control circuit of lighting lamp | |
CN114552682A (en) | Wireless charging device | |
CN112857331A (en) | Laser demarcation device | |
KR20130006413U (en) | Portable illuminating and charging device with touch switch | |
JP5977411B1 (en) | Lighting control device | |
KR200338372Y1 (en) | Travel charger |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200703 |
|
RJ01 | Rejection of invention patent application after publication |