CN110504730B - Lithium battery USB socket power supply method, storage medium and device - Google Patents

Lithium battery USB socket power supply method, storage medium and device Download PDF

Info

Publication number
CN110504730B
CN110504730B CN201910823617.6A CN201910823617A CN110504730B CN 110504730 B CN110504730 B CN 110504730B CN 201910823617 A CN201910823617 A CN 201910823617A CN 110504730 B CN110504730 B CN 110504730B
Authority
CN
China
Prior art keywords
current
information
lithium battery
electric quantity
usb socket
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.)
Active
Application number
CN201910823617.6A
Other languages
Chinese (zh)
Other versions
CN110504730A (en
Inventor
陈芳芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Weijia Software Technology Co ltd
Original Assignee
Ningbo Weijia Software Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ningbo Weijia Software Technology Co ltd filed Critical Ningbo Weijia Software Technology Co ltd
Priority to CN201910823617.6A priority Critical patent/CN110504730B/en
Publication of CN110504730A publication Critical patent/CN110504730A/en
Application granted granted Critical
Publication of CN110504730B publication Critical patent/CN110504730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention relates to a power supply method, a storage medium and a device for a lithium battery USB socket, relating to the technical field of new energy, solving the problem that a USB interface can lose power after a USB data line is pulled out carelessly, so that power cannot be supplied in time when the USB data line is repeatedly and continuously plugged, and comprising the steps of obtaining the current state detection information of the current lithium battery USB socket; controlling the on-off of the power supply of the lithium battery USB socket according to the current state detection information; if the USB socket of the current lithium battery is inserted into the USB data line, the power supply of the USB socket of the lithium battery is started; if the USB data line is pulled out of the current lithium battery USB socket, the power supply of the lithium battery USB socket is kept in the preset first time reference information; and if the preset first time reference information is reached, disconnecting the power supply of the lithium battery USB socket. The invention supplies power automatically after the USB data line is inserted; after the USB data line is pulled out, power is supplied for a period of time, so that the effects of no-interval power supply and convenience in use are achieved.

Description

Lithium battery USB socket power supply method, storage medium and device
Technical Field
The invention relates to the technical field of new energy, in particular to a power supply method, a storage medium and a device for a lithium battery USB socket.
Background
Lithium batteries are a type of battery using a nonaqueous electrolyte solution with lithium metal or a lithium alloy as a negative electrode material. The lithium battery is used as an energy supply and storage device, is generally used in life and is loved by people.
The lithium battery is provided with a charging port and a plurality of USB interfaces, and the charging port are connected through an external charger so as to charge the lithium battery; the power supply device is connected with the USB interface through an external USB data line so as to supply power.
The above prior art solutions have the following drawbacks: when the USB plug is used, the USB data line needs to be manually inserted into the USB interface, and once the USB data line is accidentally pulled out, the USB interface loses power, so that power cannot be timely supplied when the USB plug is repeatedly and continuously plugged, and the USB plug also has an improved space.
Disclosure of Invention
The first purpose of the invention is to provide a power supply method for a lithium battery USB socket, which automatically supplies power after a USB data line is inserted; after the USB data line is pulled out, power is supplied for a period of time to realize gapless power supply, and the USB data line is convenient to use.
The above object of the present invention is achieved by the following technical solutions:
a power supply method for a lithium battery USB socket comprises the following steps:
acquiring current state detection information of a current lithium battery USB socket;
controlling the on-off of the power supply of the lithium battery USB socket according to the current state detection information;
if the USB socket of the current lithium battery is inserted into the USB data line, the power supply of the USB socket of the lithium battery is started;
if the USB data line is pulled out of the current lithium battery USB socket, the power supply of the lithium battery USB socket is kept in the preset first time reference information;
and if the preset first time reference information is reached, disconnecting the power supply of the lithium battery USB socket.
By adopting the technical scheme, the plug-in state of the USB interface is judged, and the plug-in state and the non-plug-in state are adopted, so that the power supply of the USB interface is controlled, and meanwhile, when the USB interface detects that the plug-in state is converted into the pull-out state, the power is continuously obtained in the first time reference information, and the gapless power supply is realized.
The invention is further configured to: the method comprises the following steps:
acquiring current electric quantity state information of a current load to be charged;
controlling the on-off of the power supply of the lithium battery USB socket according to the comparison condition between the current electric quantity state information and the electric quantity reference information corresponding to the preset near full-charge state;
and if the current electric quantity state information is larger than the electric quantity reference information, controlling the lithium battery USB socket to disconnect the power supply of the lithium battery USB socket after the preset second time reference information.
Through adopting above-mentioned technical scheme, through detecting the electric quantity of the load of waiting to charge at present, in case detect full-charge the back, can continuously let the USB interface get electric for a period to the in-process that the pulse was charged lets the USB interface be in the state that intermittent type nature switched on, reduces the loss to spare part and the load of waiting to charge, and the practicality is strong.
The invention is further configured to: the method comprises the following steps:
acquiring current charging loop detection information of a current lithium battery USB socket;
and if the USB data line is inserted into the USB socket of the current lithium battery, the indicator lamp is controlled to be turned on and off and abnormal information is fed back according to the detection information of the current charging loop.
Through adopting above-mentioned technical scheme, through detecting current USB's charging circuit, in case detect that there is the USB data line to insert in the USB socket, do not constitute charging circuit simultaneously, will carry out the suggestion of pilot lamp.
The invention is further configured to: the method comprises the following steps:
acquiring current electric quantity information of a current load to be charged and current residual electric quantity information of a current lithium battery;
and displaying the electric quantity according to the current electric quantity information and the current residual electric quantity information.
By adopting the technical scheme, the residual electric quantity of the current load to be charged and the current lithium battery is detected, so that the current electric quantity is displayed, and the current electric quantity is conveniently observed.
The invention is further configured to: the method comprises the following steps:
acquiring current supplementary electric quantity information of the electric quantity left by the current load to be charged after a preset unit time;
obtaining current charging amount information according to the current supplementary electric quantity information and the current electric quantity information;
according to the comparison relationship between the current charging amount information and the preset charging amount reference information, the output voltage grade is improved;
and if the current charging amount information is larger than the charging amount reference information, the grade of the first-level output voltage is improved.
Through adopting above-mentioned technical scheme, in unit interval, treat the electric quantity that the load that charges has filled and examine, in case the electric quantity that fills into is few, then deems that the voltage is not enough, steps up through the voltage class this moment to satisfy different charging voltage.
The invention is further configured to: the method comprises the following steps:
judging the lifting condition of the voltage level;
if the voltage level is increased, performing secondary acquisition on the current electric quantity information of the current load to be charged, and performing secondary acquisition on the current supplementary electric quantity information of the residual electric quantity of the current load to be charged after a preset unit time so as to update the current charging quantity information;
according to the comparison relationship between the updated current charging amount information and the preset charging amount reference information, the output voltage grade is improved;
if the updated current charging amount information is consistent with the preset charging amount reference information, directly maintaining the current voltage level;
and if the updated current charging amount information is smaller than the preset charging amount reference information, repeatedly adjusting the voltage level until the current charging amount information is consistent with the preset charging amount reference information.
Through adopting above-mentioned technical scheme, after the regulation of a voltage level, when still not satisfying the demand, carry out the regulation to the voltage level many times to satisfy the demand of charging of waiting to charge the load, in order to improve the flexibility of using.
The invention is further configured to: the method comprises the following steps:
obtaining the current charge amount information of the current load to be charged according to the current electric quantity information of the current load to be charged and the preset total electric quantity information of the current load to be charged;
obtaining current actual charging information according to the comparison condition between the current charging amount information and the current residual electric quantity information;
acquiring current charging information according to the current voltage grade;
obtaining current charging rate information according to the comparison condition between the current charging demand information and the current charging information;
if the current charging amount information is larger than the current residual electric quantity information, calculating and displaying the charging information according to the current charging rate information and the current residual electric quantity information;
and if the current charging demand information is less than or equal to the current residual electric quantity information, calculating full charge information according to the current charging rate information and the current charging demand information and displaying the full charge information.
By adopting the technical scheme, the residual electric quantity of the current load to be charged is detected, the total electric quantity of the load to be charged is obtained, so that the electric quantity to be charged is calculated, the residual electric quantity of the lithium battery is judged when the lithium battery is electrified, and the state information of two types of full charge and full charge is judged by matching with the starting grade of the voltage grade.
The invention is further configured to: the method comprises the following steps:
and if the current charging amount information is less than the current residual electric quantity information, calculating full charge information according to the current charging rate information and the current charging amount information, and closing the power supply of the lithium battery USB socket.
By adopting the technical scheme, after charging is finished, once the lithium battery has electric energy, the USB interface is closed for saving energy, so that the phenomenon of continuous charging of the load to be charged is reduced, and the service life of the load to be charged is prolonged.
A second object of the present invention is to provide a storage medium that is automatically powered after a USB data line is inserted; after the USB data line is pulled out, power is supplied for a period of time to realize gapless power supply, and the USB data line is convenient to use.
The above object of the present invention is achieved by the following technical solutions:
a storage medium includes a program capable of being loaded and executed by a processor to implement the lithium battery USB socket power supply method.
By adopting the technical scheme, the plug-in state of the USB interface is judged, and the plug-in state and the non-plug-in state are adopted, so that the power supply of the USB interface is controlled, and meanwhile, when the USB interface detects that the plug-in state is converted into the pull-out state, the power is continuously obtained in the first time reference information, and the gapless power supply is realized.
The third purpose of the invention is to provide a lithium battery USB socket power supply device, which automatically supplies power after a USB data line is inserted; after the USB data line is pulled out, power is supplied for a period of time to realize gapless power supply, and the USB data line is convenient to use.
The above object of the present invention is achieved by the following technical solutions:
a lithium battery USB socket power supply device comprises:
a processor for loading and executing a set of instructions; and
the storage medium described above.
By adopting the technical scheme, the plug-in state of the USB interface is judged, and the plug-in state and the non-plug-in state are adopted, so that the power supply of the USB interface is controlled, and meanwhile, when the USB interface detects that the plug-in state is converted into the pull-out state, the power is continuously obtained in the first time reference information, and the gapless power supply is realized.
In conclusion, the beneficial technical effects of the invention are as follows:
1. the charging can be carried out by directly inserting the USB interface;
2, continuously supplying power for a period of time after the USB interface is pulled out;
3. the charging voltage is regulated.
Drawings
Fig. 1 is a schematic diagram of a method for determining the socket state of a lithium battery USB socket.
Fig. 2 is a schematic diagram of a power supply mode of a lithium battery USB socket after a load to be charged is fully charged.
Fig. 3 is a schematic diagram illustrating abnormal state recognition of a USB socket of a lithium battery.
Fig. 4 is a schematic diagram of a method for displaying the remaining capacity of the lithium battery and the load to be charged.
Fig. 5 is a schematic diagram of a method for turning on and off a voltage level.
Fig. 6 is a schematic diagram of a method of voltage level adjustment switching.
Fig. 7 is a schematic diagram of a method for charging a load to be charged.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, in the embodiment of the power supply method for a USB socket of a lithium battery disclosed by the present invention, the lithium battery is used as an output, electric energy stored in the lithium battery is output by discharging, and the lithium battery can also be charged by a charger. The load to be charged can be electronic products needing to be charged, such as computers, mobile phones and the like.
The lithium battery transmits electric energy through the lithium battery USB socket and the USB data line, so that the insertion state of the lithium battery USB socket is judged, and the judgment method comprises the following steps:
acquiring current state detection information of a current lithium battery USB socket;
controlling the on-off of the power supply of the lithium battery USB socket according to the current state detection information;
if the USB socket of the current lithium battery is inserted into the USB data line, the power supply of the USB socket of the lithium battery is started;
if the USB data line is pulled out of the current lithium battery USB socket, the power supply of the lithium battery USB socket is kept in the preset first time reference information;
and if the preset first time reference information is reached, disconnecting the power supply of the lithium battery USB socket.
The current state detection information is used for judging whether a USB data line is inserted or not, and when the current state detection information is detected, the current state detection information can be detected through pressure so as to judge whether the USB data line is inserted or not, and the current state detection information can also be used for detecting by infrared ray receiving and transmitting and judging whether the USB data line cuts off an infrared emission signal or not.
The first time reference information is time preset by a user, the first time reference information can be 30S or 1min, and the first time reference information is set by the user according to actual requirements.
Referring to fig. 2, before the load to be charged is fully charged, the power supply to the USB socket is controlled, so as to avoid the situation that the load to be charged is not charged when charging is performed after the charging is completed, and the control manner is as follows:
acquiring current electric quantity state information of a current load to be charged;
controlling the on-off of the power supply of the lithium battery USB socket according to the comparison condition between the current electric quantity state information and the electric quantity reference information corresponding to the preset near full-charge state;
and if the current electric quantity state information is larger than the electric quantity reference information, controlling the lithium battery USB socket to disconnect the power supply of the lithium battery USB socket after the preset second time reference information.
The near full-charge state is 99% of the electric quantity of the load to be charged, and the near full-charge state can be adjusted to 97% -99% according to the actual state. The second time reference information is the time for continuously supplying power and can be adjusted along with the voltage level, and the time reference information can be 1-5 min and is adjusted by a worker according to the actual state.
Referring to fig. 3, when the USB data line is inserted into the USB socket, it is determined whether a power supply loop is formed, and the determining method is as follows:
acquiring current charging loop detection information of a current lithium battery USB socket;
and if the USB data line is inserted into the USB socket of the current lithium battery, the indicator lamp is controlled to be turned on and off and abnormal information is fed back according to the detection information of the current charging loop.
When the USB data line is not completely inserted or the USB data line is disconnected, the USB data line is judged to be charged or not.
Once a charging loop is not formed, the indicating lamp is controlled to indicate, and meanwhile, abnormal information is fed back, and can be bound with a mobile phone of a user, so that remote prompt is performed.
Referring to fig. 4, in the charging process, the remaining capacity of the current lithium battery and the load to be charged are detected and displayed, and the display method is as follows:
acquiring current electric quantity information of a current load to be charged and current residual electric quantity information of a current lithium battery;
and displaying the electric quantity according to the current electric quantity information and the current residual electric quantity information.
Referring to fig. 5, during the charging process, once the voltage is not enough, the voltage is raised in the following manner:
acquiring current supplementary electric quantity information of the electric quantity left by the current load to be charged after a preset unit time;
obtaining current charging amount information according to the current supplementary electric quantity information and the current electric quantity information;
according to the comparison relationship between the current charging amount information and the preset charging amount reference information, the output voltage grade is improved;
and if the current charging amount information is larger than the charging amount reference information, the grade of the first-level output voltage is improved.
The unit time is a set time, which may be 10s-1min in this embodiment, and may be adjusted according to the actual state. The current supplementary electric quantity information is the electric quantity left after the unit time of charging and the current electric quantity information is the electric quantity before charging, so that the current electric quantity information is obtained, and the current charging quantity information is the electric quantity information charged in the unit time.
The charging amount reference information is an amount of electricity charged in a unit time in a normal charging state, the amount of electricity is a range, and the current charging amount information is compared with the charging amount reference information, so that the voltage level is increased once, that is, the output voltage level is increased one level. The voltage boosting mode can adopt a booster circuit, a booster chip and the like.
Referring to fig. 6, after once adjustment, secondary detection is performed on whether the load to be charged is matched, and the detection manner is as follows:
judging the lifting condition of the voltage level;
if the voltage level is increased, performing secondary acquisition on the current electric quantity information of the current load to be charged, and performing secondary acquisition on the current supplementary electric quantity information of the residual electric quantity of the current load to be charged after a preset unit time so as to update the current charging quantity information;
according to the comparison relationship between the updated current charging amount information and the preset charging amount reference information, the output voltage grade is improved;
if the updated current charging amount information is consistent with the preset charging amount reference information, directly maintaining the current voltage level;
and if the updated current charging amount information is smaller than the preset charging amount reference information, repeatedly adjusting the voltage level until the current charging amount information is consistent with the preset charging amount reference information.
Once the current voltage level is judged to be improved, the current electric quantity information is acquired again, and the residual electric quantity is acquired again, so that new current charging quantity information is obtained.
And comparing the current charging amount information with the charging amount reference information, judging the consistency of the current charging amount information and the charging amount reference information, judging normal charging when the current charging amount information is consistent with the charging amount reference information, keeping the current voltage level, and recovering the initial power supply level after the power supply of the USB interface is cut off.
When the current charging amount information is smaller than the charging amount reference information, the voltage level is repeatedly adjusted, namely, secondary boosting is performed, the detection is repeated until the current charging amount information is consistent with the preset charging amount reference information, and at this time, the current boosting level is kept.
The boost level is a fixed voltage, the voltage is: 1.2V, 1.5V, 2.4V, 3.6V, 5V, 12V, 24V, 36V etc. can increase and decrease according to the country and the difference of battery charging outfit, and fixed voltage level conveniently adjusts and switches.
Referring to fig. 7, when the lithium battery charges the load to be charged, time display is performed on the full charge and full charge states of the load to be charged, and the display method is as follows:
obtaining the current charge amount information of the current load to be charged according to the current electric quantity information of the current load to be charged and the preset total electric quantity information of the current load to be charged;
acquiring current charging information according to the current voltage grade;
obtaining current charging rate information according to the comparison condition between the current charging demand information and the current charging information;
if the current charging amount information is larger than the current residual electric quantity information, calculating and displaying the charging information according to the current charging rate information and the current residual electric quantity information;
if the current charging demand information is less than or equal to the current residual electric quantity information, calculating full charge information according to the current charging rate information and the current charging demand information and displaying the full charge information;
and if the current charging amount information is less than the current residual electric quantity information, calculating full charge information according to the current charging rate information and the current charging amount information, and closing the power supply of the lithium battery USB socket.
The current load to be charged total electric quantity information is the total capacity of the load to be charged, and the current electric quantity information is the residual electric quantity condition of the current load to be charged. The current charging demand information is the total capacity minus the current electric quantity information.
The current charging information corresponds to the current voltage, and the current charging information is different due to different charging voltages, so that adaptive adjustment is required.
The current charge rate information is related to the current charge demand information and the current charge information.
When the remaining electric quantity of the lithium battery is larger than the capacity required by the load to be charged, the load to be charged can be fully charged, and when the remaining electric quantity of the lithium battery is smaller than or equal to the capacity required by the load to be charged, the electric quantity in the lithium battery can be fully charged. And meanwhile, displaying when the liquid is filled.
Once, when the preceding required charge volume information is less than current remaining capacity information, then indicate to be full of, unnecessary electric quantity still has simultaneously, closes the power supply of lithium cell USB socket this moment to play the effect of energy saving.
Based on the same inventive concept, embodiments of the present invention provide a storage medium, which can be loaded and executed by a processor, including the steps in the flowcharts of fig. 1-7.
Computer storage media include, for example: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Based on the same inventive concept, the embodiment of the invention provides a lithium battery USB socket power supply device, which comprises: a processor for loading and executing a set of instructions; and the storage medium described above.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
The embodiments of the present invention are preferred embodiments of the present invention, and the scope of the present invention is not limited by these embodiments, so: all equivalent changes made according to the structure, shape and principle of the invention are covered by the protection scope of the invention.

Claims (9)

1. A power supply method for a lithium battery USB socket is characterized by comprising the following steps:
acquiring current state detection information of a current lithium battery USB socket;
controlling the on-off of the power supply of the lithium battery USB socket according to the current state detection information;
if the USB socket of the current lithium battery is inserted into the USB data line, the power supply of the USB socket of the lithium battery is started;
if the USB data line is pulled out of the current lithium battery USB socket, the power supply of the lithium battery USB socket is kept in the preset first time reference information;
if the preset first time reference information is reached, the power supply of the lithium battery USB socket is cut off;
the method comprises the following steps:
acquiring current electric quantity state information of a current load to be charged;
controlling the on-off of the power supply of the lithium battery USB socket according to the comparison condition between the current electric quantity state information and the electric quantity reference information corresponding to the preset near full-charge state;
and if the current electric quantity state information is larger than the electric quantity reference information, controlling the lithium battery USB socket to disconnect the power supply of the lithium battery USB socket after the preset second time reference information.
2. The power supply method for the lithium battery USB socket according to claim 1, characterized in that: the method comprises the following steps:
acquiring current charging loop detection information of a current lithium battery USB socket;
and if the USB data line is inserted into the USB socket of the current lithium battery, the indicator lamp is controlled to be turned on and off and abnormal information is fed back according to the detection information of the current charging loop.
3. The power supply method for the lithium battery USB socket according to claim 1, characterized in that: the method comprises the following steps:
acquiring current electric quantity information of a current load to be charged and current residual electric quantity information of a current lithium battery;
and displaying the electric quantity according to the current electric quantity information and the current residual electric quantity information.
4. The power supply method for the lithium battery USB socket according to claim 3, characterized in that: the method comprises the following steps:
acquiring current supplementary electric quantity information of the electric quantity left by the current load to be charged after a preset unit time;
obtaining current charging amount information according to the current supplementary electric quantity information and the current electric quantity information;
according to the comparison relationship between the current charging amount information and the preset charging amount reference information, the output voltage grade is improved;
and if the current charging amount information is larger than the charging amount reference information, the grade of the first-level output voltage is improved.
5. The power supply method for the lithium battery USB socket according to claim 4, characterized in that: the method comprises the following steps:
judging the lifting condition of the voltage level;
if the voltage level is increased, performing secondary acquisition on the current electric quantity information of the current load to be charged, and performing secondary acquisition on the current supplementary electric quantity information of the residual electric quantity of the current load to be charged after a preset unit time so as to update the current charging quantity information;
according to the comparison relationship between the updated current charging amount information and the preset charging amount reference information, the output voltage grade is improved;
if the updated current charging amount information is consistent with the preset charging amount reference information, directly maintaining the current voltage level;
and if the updated current charging amount information is smaller than the preset charging amount reference information, repeatedly adjusting the voltage level until the current charging amount information is consistent with the preset charging amount reference information.
6. The power supply method for the lithium battery USB socket according to claim 4, characterized in that: the method comprises the following steps:
obtaining the current charge amount information of the current load to be charged according to the current electric quantity information of the current load to be charged and the preset total electric quantity information of the current load to be charged;
obtaining current actual charging information according to the comparison condition between the current charging amount information and the current residual electric quantity information;
acquiring current charging information according to the current voltage grade;
obtaining current charging rate information according to the comparison condition between the current charging demand information and the current charging information;
if the current charging amount information is larger than the current residual electric quantity information, calculating and displaying the charging information according to the current charging rate information and the current residual electric quantity information;
and if the current charging demand information is less than or equal to the current residual electric quantity information, calculating full charge information according to the current charging rate information and the current charging demand information and displaying the full charge information.
7. The power supply method for the lithium battery USB socket according to claim 6, characterized in that: the method comprises the following steps:
and if the current charging amount information is less than the current residual electric quantity information, calculating full charge information according to the current charging rate information and the current charging amount information, and closing the power supply of the lithium battery USB socket.
8. A storage medium, characterized by: the power supply method comprises a program which can be loaded and executed by a processor to realize the power supply method of the lithium battery USB socket according to any one of claims 1 to 7.
9. The utility model provides a lithium cell USB socket power supply unit which characterized in that: the method comprises the following steps:
a processor for loading and executing a set of instructions; and
the storage medium of claim 8.
CN201910823617.6A 2019-09-02 2019-09-02 Lithium battery USB socket power supply method, storage medium and device Active CN110504730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910823617.6A CN110504730B (en) 2019-09-02 2019-09-02 Lithium battery USB socket power supply method, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910823617.6A CN110504730B (en) 2019-09-02 2019-09-02 Lithium battery USB socket power supply method, storage medium and device

Publications (2)

Publication Number Publication Date
CN110504730A CN110504730A (en) 2019-11-26
CN110504730B true CN110504730B (en) 2021-09-10

Family

ID=68590987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910823617.6A Active CN110504730B (en) 2019-09-02 2019-09-02 Lithium battery USB socket power supply method, storage medium and device

Country Status (1)

Country Link
CN (1) CN110504730B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007116830A (en) * 2005-10-20 2007-05-10 Canon Inc Power controlling method
CN101997240A (en) * 2009-08-12 2011-03-30 吴伟萍 Self-power off power socket of electric vehicle charger
CN201789170U (en) * 2010-09-09 2011-04-06 温怀疆 Power supply socket for computer
CN106527642A (en) * 2016-11-26 2017-03-22 北京小米移动软件有限公司 Power supply control method and device for extension socket, and extension socket
CN109494829A (en) * 2018-10-26 2019-03-19 六安市同心畅能电子科技有限公司 5 V USB Power Adapters are standby to automatically power off control circuit
CN109980733A (en) * 2019-04-03 2019-07-05 六安市同心畅能电子科技有限公司 Laptop electric power direct current output charging connection wire circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208690972U (en) * 2018-09-04 2019-04-02 深圳古月科技有限公司 A kind of charger convenient for safe handling

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007116830A (en) * 2005-10-20 2007-05-10 Canon Inc Power controlling method
CN101997240A (en) * 2009-08-12 2011-03-30 吴伟萍 Self-power off power socket of electric vehicle charger
CN201789170U (en) * 2010-09-09 2011-04-06 温怀疆 Power supply socket for computer
CN106527642A (en) * 2016-11-26 2017-03-22 北京小米移动软件有限公司 Power supply control method and device for extension socket, and extension socket
CN109494829A (en) * 2018-10-26 2019-03-19 六安市同心畅能电子科技有限公司 5 V USB Power Adapters are standby to automatically power off control circuit
CN109980733A (en) * 2019-04-03 2019-07-05 六安市同心畅能电子科技有限公司 Laptop electric power direct current output charging connection wire circuit

Also Published As

Publication number Publication date
CN110504730A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN104467062B (en) Battery charging method and battery charging system
CA2642153C (en) Power supply for battery powered devices
US8841798B2 (en) Method, apparatus for emergency power supply and device associated thereto
US20080284370A1 (en) Portable Battery Operated Power Supply
US20090026842A1 (en) Power supply unit
US20140300311A1 (en) Portable power bank and battery booster
US20060145659A1 (en) Battery pack system and method for waking up a charge control circuit of a mobile communication device
CN105656118B (en) The device for supporting electricity consumption/powering mode to automatically switch and the equipment comprising the device
CN101272057B (en) Portable mobile charging power supply
CN114448013A (en) Charging and discharging control system and method and battery pack
US6154010A (en) Battery charging docking cradle for a mobile computer
CN107359689A (en) A kind of intelligent solar charging system
CN110994769A (en) Double-battery system and mobile terminal equipment
CN110504730B (en) Lithium battery USB socket power supply method, storage medium and device
CN2935483Y (en) External battery bag of portable digital equipment
CN103746423A (en) Novel mobile power supply and preparing method thereof
US11114868B2 (en) Supplemental capacitor based battery charging system
US9837681B2 (en) Low capacity, low area-specific resistance battery cell for electronic devices
KR101613058B1 (en) Battery pack pouch apparatus with charger and discharger for moible phone
EP2852021B1 (en) Charging circuit and control method therefor
CN112531848B (en) Battery pack and control method thereof
CN217589271U (en) Direct current power supply
CN115441723A (en) Power supply conversion device
CN103746424A (en) Application of lithium iron phosphate battery in mobile power supply
CN110504729B (en) Lithium battery power supply method, storage medium and device

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
GR01 Patent grant
GR01 Patent grant