CN105896677B - The management method and device of battery charging - Google Patents

The management method and device of battery charging Download PDF

Info

Publication number
CN105896677B
CN105896677B CN201610391366.5A CN201610391366A CN105896677B CN 105896677 B CN105896677 B CN 105896677B CN 201610391366 A CN201610391366 A CN 201610391366A CN 105896677 B CN105896677 B CN 105896677B
Authority
CN
China
Prior art keywords
battery
charging
state
usb socket
current
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
CN201610391366.5A
Other languages
Chinese (zh)
Other versions
CN105896677A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610391366.5A priority Critical patent/CN105896677B/en
Publication of CN105896677A publication Critical patent/CN105896677A/en
Application granted granted Critical
Publication of CN105896677B publication Critical patent/CN105896677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • 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
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00302Overcharge protection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The disclosure is directed to the management methods and device of a kind of charging of battery.The described method includes: determining whether the present charge state of battery is preset state when for battery charging, wherein the electricity that the preset state is used to identify the battery is greater than default power threshold;If the present charge state is preset state, controls the USB socket and stop being that the battery charges.The problem of over-charging of battery when not having dedicated lithium battery charging management circuit in electronic equipment in the related technology can be effectively prevented in disclosed technique scheme, improves the experience that user uses USB socket.

Description

The management method and device of battery charging
Technical field
This disclosure relates to technical field of electronic equipment more particularly to the management method and device of a kind of charging of battery.
Background technique
Lithium battery is widely used in the every field such as mobile phone, computer, wearable device, is charged to lithium battery as people day The thing often often done in life, but when lithium battery overcharges, can lead to lithium battery and the danger such as denaturation, leakage occur, and then give User brings financial losses.
In the related technology, can in electronic product design specialized lithium battery charging management circuit, to prevent over-charging of battery, The technical solution can lead to electronic equipment peripheral cell and increase, increased costs;In addition, there are also do not have in many electronic products at present The lithium battery charging management circuit of design specialized, therefore lithium battery may still occur and overcharge problem and then lithium battery is caused to become The danger such as property, leakage.
Summary of the invention
To overcome the problems in correlation technique, the embodiment of the present disclosure provides the management method and dress of a kind of battery charging It sets, to effectively prevent over-charging of battery phenomenon.
According to the first aspect of the embodiments of the present disclosure, a kind of management method of battery charging is provided, it may include:
When for battery charging, determine whether the present charge state of battery is preset state, wherein the preset state Electricity for identifying the battery is greater than default power threshold;
If the present charge state is preset state, controls the USB socket and stop being that the battery charges.
In one embodiment, whether the present charge state of the determining battery is preset state, it may include:
Determine whether the variation of the charging current of the battery matches with default variable condition;
If the variation of the charging current of the battery is matched with default variable condition, it is determined that the battery currently fills Electricity condition is preset state;
If the variation of the charging current of the battery and default variable condition mismatch, it is determined that the battery it is current Charged state is not preset state.
In one embodiment, the method may also include that
If it is determined that the present charge state of the battery is not the preset state, it is determined that when the charging of the battery Between whether be more than preset time;
If the charging time of the battery is more than the preset time, executes the control USB socket and stop The step of charging for the battery.
In one embodiment, the method may also include that
It is that each of USB socket USB is inserted according to the operation that user triggers in charging time set interface A preset time is arranged in hole.
In one embodiment, the method may also include that
Generate the prompt information of the battery charging complete;
The prompt information is released, is the electricity so that user determines that the USB socket stops according to the prompt information Pond charging.
It is in one embodiment, described to release the prompt information, it may include:
If the prompt information is auditory tone cues information, the auditory tone cues information is played;
If the prompt information is light prompt information, the optical signal of preset kind is discharged;
If the prompt information is vibration prompt information, vibration instruction is issued according to predeterminated frequency.
In one embodiment, the method may also include that
Determine the output electric current of the USB socket whether more than the first predetermined current threshold;
If the output electric current of the USB socket is more than predetermined current threshold, the maximum output of the USB socket is adjusted Electric current.
In one embodiment, the method may also include that
Determine whether the output electric current for the jack that the battery is inserted into is less than second predetermined current threshold;
If the output electric current for the jack that the electric current is inserted into be less than second predetermined current threshold, adjustment described in The output electric current for the jack that battery is inserted into.
According to the second aspect of an embodiment of the present disclosure, a kind of managing device of battery charging is provided, it may include:
Charged state determining module, be configured as battery charging when, determine battery present charge state whether be Preset state, wherein the electricity that the preset state is used to identify the battery is greater than default power threshold;
Stop charging module, if being configured as the charged state determining module determines that the present charge state is pre- If state, then controls the USB socket and stop being that the battery charges.
In one embodiment, the charged state determining module includes:
Matched sub-block, be configured to determine that the charging current of the battery variation whether with default variable condition Match;
First determines submodule, if being configured as the variation that the matched sub-block determines the charging current of the battery It is matched with default variable condition, it is determined that the present charge state of the battery is preset state;
Second determines submodule, if being configured as the variation that the matched sub-block determines the charging current of the battery It is mismatched with default variable condition, it is determined that the present charge state of the battery is not preset state.
In one embodiment, described device may also include that
Charging time determining module, if being configured as the charged state determining module determines currently filling for the battery Electricity condition is not the preset state, it is determined that whether the charging time of the battery is more than preset time;If the battery Charging time be more than the preset time, then it is institute that the stoppings charging module, which executes the control USB socket stopping, The step of stating battery charging.
In one embodiment, described device may also include that
Presetting module is configured as in charging time set interface, according to the operation that user triggers, is inserted for the USB A preset time is arranged in each of seat USB jack.
In one embodiment, described device may also include that
Generation module is configurable to generate the prompt information of the battery charging complete;
Module is released, is configured as releasing the prompt information that the generation module generates, so that user is according to described It is that the battery charges that prompt information, which determines that the USB socket stops,.
In one embodiment, the release module can include:
Submodule is played, if being configured as the prompt information that the generation module generates is auditory tone cues information, Then play the auditory tone cues information;
Submodule is discharged, if being configured as the prompt information that the generation module generates is light prompt information, Discharge the optical signal of preset kind;
Submodule is vibrated, if being configured as the prompt information that the generation module generates is vibration prompt information, Then vibration instruction is issued according to predeterminated frequency.
In one embodiment, described device may also include that
Whether the first electric current determining module is configured to determine that the output electric current of the USB socket more than the first default electricity Flow threshold value;
The first adjustment module, if being configured as the output electricity that the first electric current determining module determines the USB socket Stream is more than predetermined current threshold, then adjusts the maximum output current of the USB socket.
In one embodiment, described device may also include that
Second electric current determining module, is configured to determine that whether the output electric current for the jack that the battery is inserted into is less than institute State the second predetermined current threshold;
Second adjustment module, if being configured as the second electric current determining module determines the jack that the electric current is inserted into Output electric current be less than second predetermined current threshold, then adjust the output electric current for the jack that the battery is inserted into.
According to the third aspect of an embodiment of the present disclosure, a kind of managing device of battery charging is provided, it may include:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When for battery charging, determine whether the present charge state of battery is preset state, wherein the preset state Electricity for identifying the battery is greater than default power threshold;
If the present charge state is preset state, controls the USB socket and stop being that the battery charges.
According to a fourth aspect of embodiments of the present disclosure, a kind of USB socket is provided, it may include the management dress of above-mentioned battery charging It sets;
Wherein, the USB socket is configured as executing the management method of above-mentioned battery charging.
The technical scheme provided by this disclosed embodiment can include the following benefits: the battery in electronic equipment passes through When USB socket charges, it may be determined that whether the present charge state of battery is preset state, such as the state that electricity is full of, and Stop being that battery charges when present charge state is preset state, effectively prevent not dedicated in electronic equipment in the related technology Lithium battery charging management circuit when over-charging of battery the problem of, improve user using USB socket be battery charging experience.
Also, whether is matched with default variable condition by the variation for the charging current for determining battery, can determine battery Present charge state whether be preset state, for example, if the variation of the charging current of battery be change from big to small, and Charging current as low as predetermined current threshold when tend to be steady, then can determine charging current variation and default variable condition Match, and then determines that the present charge state of battery is preset state, it is possible thereby to the current electric quantity of rechargeable battery is accurately determined, And then determine the time stopped as battery charging, improve the effect of battery charging.
By when present charge state is not preset state, when can further determine that whether the charging time is more than default Between, then stop charging for battery if it is preset time, realizes and provide preset time according to the battery that is set in advance as of user Charging service, can prevent battery charge time it is too long caused by superheating phenomenon, and then more effectively protect battery, mention High user uses the experience of USB socket.
By generating prompt information in battery charging complete, battery charging complete may remind the user that, so that user will Battery is removed from USB socket, further protects battery.
By the maximum output electricity for when the output electric current for determining USB socket is more than the first predetermined current threshold, adjusting USB Stream, it is ensured that the equipment being plugged on USB socket is fully charged, avoids more in the equipment being plugged on USB socket In the case of, since battery charging is slow or other equipment currently in use can not be normal caused by USB socket output electric current is small The problem of work.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Figure 1A is the flow chart of the management method of battery charging shown according to an exemplary embodiment.
Figure 1B is the application scenarios schematic diagram of the management method of battery charging shown according to an exemplary embodiment.
Fig. 2 is the flow chart according to the management method of the battery charging shown in an exemplary embodiment one.
Fig. 3 is the flow chart according to the management method of the battery charging shown in an exemplary embodiment two.
Fig. 4 is the flow chart according to the management method of the battery charging shown in an exemplary embodiment three.
Fig. 5 is a kind of block diagram of the managing device of battery charging shown according to an exemplary embodiment.
Fig. 6 is the block diagram of the managing device of another battery charging shown according to an exemplary embodiment.
Fig. 7 is the block diagram of the managing device of another battery charging shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of managing device suitable for battery charging shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Figure 1A is the flow chart of the management method of battery charging shown according to an exemplary embodiment, and Figure 1B is according to one The application scenarios schematic diagram of the management method of battery charging shown in exemplary embodiment;The management method of battery charging can be with It applies on the socket for including USB jack, can also apply on electronic equipment (such as: smart phone, tablet computer), such as scheme Shown in 1A, the battery charging management method the following steps are included:
In a step 101, when for battery charging, determine whether the present charge state of battery is preset state, if The charged state of battery is preset state, thens follow the steps 102.
In one embodiment, the electricity that preset state is used to identify battery is greater than default power threshold, can be used for indicating electricity The state of pond charging complete.
In one embodiment, in the electronic equipment charging to be plugged into USB jack, electronics is set USB socket in order to prevent Standby battery is damaged because of overcharging, and can detect whether battery present charge state is preset state.
In one embodiment, when electronic equipment charges in the USB jack for being plugged into USB socket, electronics is set in order to prevent Standby battery is damaged because of overcharging, and can detect whether battery present charge state is preset state.
In a step 102, control USB socket stops being that battery charges.
In one embodiment, USB socket can be to realize stopping by controlling the output electric current for the jack that battery is inserted into Battery charging.
In one embodiment, electronic equipment can control USB socket by charge management circuit and stop being that battery charges;Again In one embodiment, electronic equipment can also be sent to USB socket stops charging instruction message to indicate that USB socket passes through control battery The output electric current for the jack being inserted into stops charging for battery to realize.
In an exemplary scene, as shown in Figure 1B, USB socket 110 has more than one USB jack, can also have There are the jacks such as other two holes, three holes, when electronic equipment 120 (such as smart phone) is connected to USB socket by USB data line When 110 USB jack, the current monitoring circuit inside USB socket 110 can monitor the charging electricity of the battery of electronic equipment 120 The situation of change of stream, and determine according to charging current situation of change the charged state of the battery of electronic equipment 120;Electronic equipment 120 also can detect the present charge state of battery.Generally, if the electricity of battery is less, the charging current of battery just compares It is larger;After battery is full of fastly, charging current can obviously become smaller, and when battery capacity is full of, charging current drops to predetermined current Held stationary when threshold value.Therefore, the disclosure can determine the charged state of battery by monitoring the charging current of battery, if battery Charging current variation be from big to small variation and the held stationary when predetermined current threshold will be arrived, then illustrate working as battery Preceding charged state is preset state, can be stopped as battery charging.
In the present embodiment, when the battery in electronic equipment is charged by USB socket, it may be determined that the present charge state of battery Whether it is preset state, such as the state that electricity is full of, and stops being that battery charges when charged state is preset state, it is effectively anti- The problem of having stopped over-charging of battery when not having dedicated lithium battery charging management circuit in electronic equipment in the related technology, improves use Family uses the experience of USB socket.
In one embodiment, whether the present charge state for determining battery is preset state, it may include:
Determine whether the variation of the charging current of battery matches with default variable condition;
If the variation of the charging current of battery is matched with default variable condition, it is determined that the present charge state of battery is Preset state;
If the variation of the charging current of battery and default variable condition mismatch, it is determined that the present charge state of battery It is not preset state.
In one embodiment, method may also include that
If it is determined that the present charge state of battery is not preset state, it is determined that whether the charging time of battery is more than pre- If the time;
If the charging time of battery is more than preset time, executes control USB socket and stop being the step of battery charges.
In one embodiment, method may also include that
It is each of USB socket jack setting one according to the operation that user triggers in charging time set interface A preset time.
In one embodiment, method may also include that
Generate the prompt information of battery charging complete;
Prompt information is released, is that battery charges so that user determines that USB socket stops according to prompt information.
In one embodiment, prompt information is released, it may include:
If prompt information is auditory tone cues information, auditory tone cues information is played;
If prompt information is light prompt information, the optical signal of preset kind is discharged;
If prompt information is vibration prompt information, vibration instruction is issued according to predeterminated frequency.
In one embodiment, method may also include that
Determine the output electric current of USB socket whether more than the first predetermined current threshold;
If the output electric current of USB socket is more than predetermined current threshold, the maximum output current of USB socket is adjusted.
In one embodiment, method may also include that
Determine the output electric current for the jack that battery is inserted into whether less than the second predetermined current threshold;
If the output electric current for the jack that electric current is inserted into adjusts what battery was inserted into less than the second predetermined current threshold The output electric current of jack.
Specifically how battery charging is managed, please refers to subsequent embodiment.
So far, the above method that the embodiment of the present disclosure provides may be implemented the management of battery charging, effectively prevent correlation When there is no dedicated lithium battery charging management circuit in technology in electronic equipment the problem of over-charging of battery, user's use is improved USB socket is the experience of electronic equipment charging.
The technical solution of embodiment of the present disclosure offer is provided below with specific embodiment.
Fig. 2 is the flow chart according to the management method of the battery charging shown in an exemplary embodiment one;The present embodiment benefit The above method provided with the embodiment of the present disclosure realizes that battery fills by monitoring charging current with USB socket or electronic equipment The management of electricity illustrates, as shown in Fig. 2, including the following steps:
In step 201, determine whether the variation of the charging current of battery matches with default variable condition, if battery The variation of charging current is matched with default variable condition, thens follow the steps 204, if the variation of the charging current of battery and default Variable condition mismatches, and thens follow the steps 202.
In one embodiment, default variable condition can be, the charging current of battery from big to small and electric current is small arrives The variable condition to tend to be steady when predetermined current threshold.For example, the charging current of battery was initially 400mA, in charging one hour Afterwards, charging current is slowly reduced to 20mA from 400mA, and keeps the charging current of 20mA, it is determined that the charging current of battery Variation matched with default variable condition.
In step 202, the present charge state for determining battery is not preset state.
In step 203, whether the charging time for determining battery is more than preset time, if the charging time is more than default Between, 205 are thened follow the steps, if the charging time is no more than preset time, continues to charge.
In one embodiment, the operation that USB socket can be triggered according to user is that each USB jack of USB socket is arranged One preset time.In one embodiment, user can be instructed by the control panel trigger action of USB socket, every to be arranged A jack is the charging time of electronic equipment charging;In another embodiment, user can be by mobile device, on smart phone APP charging time set interface be arranged preset time, and to USB socket send operational order, so that USB socket is each The preset time of USB jack setting charging.
In one embodiment, for the battery of certain electronic equipments, if the charging time is too long, it may result in charger Overheat, it is also possible to will lead to electronic equipment overheat, especially in hot environment, therefore user does not surpass in the settable charging time Cross preset time, when charging between reach preset time when, stop for electronic equipment battery charge.For example, inside workshop When charging for electronic equipment, since workshop interior environment temperature is high, if charging may damage electronic equipment for a long time, It is then settable to charge 2 hours to electronic equipment, even if electric device battery electricity is not filled after 2 hours, also stop It is only equipment charge.
In step 204, the present charge state for determining battery is preset state.
In step 205, control USB socket stops being that battery charges.
In one embodiment, USB socket can be to realize stopping by controlling the output electric current for the jack that battery is inserted into Battery charging.
In one embodiment, electronic equipment can control USB socket by charge management circuit and stop being that battery charges;Again In one embodiment, electronic equipment can also be sent to USB socket stops charging instruction message to indicate that USB socket passes through control battery The output electric current for the jack being inserted into stops charging for battery to realize.
In step 206, the prompt information of battery charging complete is generated.
In one embodiment, which can be auditory tone cues information;In another embodiment, which can Think light prompt information;In another embodiment, which can be vibration prompt information;It, should in another embodiment Prompt information can be any two or more combined prompts in auditory tone cues information, light prompt information, vibration prompt information Information.
In step 207, prompt information is released, so that user determines that USB socket stopping is filled for battery according to prompt information Electricity.
In one embodiment, if prompt information is auditory tone cues information, auditory tone cues information is played, for example, can be with Text-to-speech information is played, or plays music tip sound;If prompt information is light prompt information, preset kind is discharged Optical signal, such as discharge the optical signal of strong light or the optical signal etc. of release flashing;If prompt information is vibration prompt information, Vibration instruction then is issued according to predeterminated frequency, such as issued vibration in one time one second every 1 second or is held every sending in one second Vibration in continuous three seconds.
In one embodiment, USB socket can release prompt information through the above way;In another embodiment, user Hand-held electronic equipment can also release prompt information through the above way, to remind user that battery has been filled with.
In the present embodiment, by that whether can further determine that the charging time when present charge state is not preset state More than preset time, then stops charging for battery if it is preset time, realize and mentioned according to the battery that is set in advance as of user For the charging service of preset time, the too long caused superheating phenomenon of battery charge time can be prevented, and then more effectively Battery is protected, the experience that user uses USB socket is improved;In addition, by generating prompt information in battery charging complete, it can To remind user's battery charging complete further to protect battery so that user removes battery from USB socket.
Fig. 3 is according to the flow chart of the management method of the battery charging shown in an exemplary embodiment two, the present embodiment benefit The above method provided with the embodiment of the present disclosure is realized with USB socket or electronic equipment by adjusting the output electric current of socket The management of battery charging illustrates, as shown in figure 3, including the following steps:
In step 301, determine the output electric current of USB socket whether more than the first predetermined current threshold.
For example, if the current maximum output current of USB socket is 1A, when the charged electrical of institute's grafting on USB socket is set When more for quantity, the output electric current of 1A possibly can not ensure that all electronic equipments are fully charged, then can determine in USB socket When output electric current is more than the first preset threshold (such as 0.98A), step 302 is executed.
In one embodiment, USB socket can send the output electric current of USB socket to the electronic equipment accessed.
In step 302, if the output electric current of USB socket is more than the first predetermined current threshold, USB socket is adjusted most Big output electric current is the first predetermined current.
For example, determining that output electric current is more than first in USB socket if the current maximum output current of USB socket is 1A When preset threshold (such as 0.98A), can control USB socket adjustment maximum output current is the second predetermined current (such as 2A), guarantees to set Standby charging rate.
In the present embodiment, by adjusting USB when the output electric current for determining USB socket is more than the first predetermined current threshold Maximum output current, it is ensured that the equipment being plugged on USB socket is fully charged, avoids on being plugged on USB socket Equipment it is more in the case where, since battery charging is slow or other are currently in use caused by USB socket output electric current is small The problem of equipment can not work normally.
Fig. 4 is according to the flow chart of the management method of the battery charging shown in an exemplary embodiment three, the present embodiment benefit The above method provided with the embodiment of the present disclosure, with USB socket or electronic equipment by adjusting the defeated of the be inserted into jack of battery Electric current realization out illustrates the Charge Management of battery, as shown in figure 4, including the following steps
In step 401, determine the output electric current for the jack that battery is inserted into whether less than the second predetermined current threshold.
For example, if USB socket determines that the output electric current for the jack that battery is inserted into is 50mA, less than the second of the jack Step 402 then can be performed in predetermined current threshold, such as 150mA.
In one embodiment, when the USB jack of electronic equipment access USB socket, it can detect the output electric current of USB jack.
In step 402, if the output electric current for the jack that electric current is inserted into is adjusted less than the second predetermined current threshold The output electric current for the jack that battery is inserted into is the second predetermined current.
It in one embodiment, can be by adjusting the maximum output current of USB socket, to realize jack that battery is inserted into Export electric current.
In the present embodiment, by when determining the output electric current of the be inserted into jack of battery less than the second predetermined current threshold, Adjust the output electric current of jack, it is ensured that the equipment of the grafting jack is fully charged, avoids the output electric current due to jack Battery charges slow problem caused by small.
It will be appreciated by persons skilled in the art that the technical solution of Fig. 2, Fig. 3 and Fig. 4 can be applied simultaneously in the disclosure In the same device or the same USB socket or electronic equipment, each technical solution be can be combined with using to realize The management of battery charging.
Fig. 5 is a kind of block diagram of the managing device of battery charging shown according to an exemplary embodiment, as shown in figure 5, Battery charging managing device include:
Charged state determining module 510, be configured as battery charging when, determine battery present charge state whether For preset state, wherein the electricity that preset state is used to identify battery is greater than default power threshold;
Stop charging module 520, if being configured as charged state determining module 510 determines that present charge state is default State then controls USB socket and stops being that battery charges.
Fig. 6 is the block diagram of the managing device of another battery charging shown according to an exemplary embodiment, such as Fig. 6 institute Show, on the basis of above-mentioned embodiment illustrated in fig. 5, in one embodiment, charged state determining module 510 includes:
Matched sub-block 511, is configured to determine that whether the variation of the charging current of battery matches with default variable condition;
First determine submodule 512, if be configured as matched sub-block 511 determine battery charging current variation with Default variable condition matching, it is determined that the present charge state of battery is preset state;
Second determine submodule 513, if be configured as matched sub-block 511 determine battery charging current variation with Default variable condition mismatches, it is determined that the present charge state of battery is not preset state.
In one embodiment, device may also include that
Charging time determining module 530, if being configured as the current charging that charged state determining module 510 determines battery State is not preset state, it is determined that whether the charging time of battery is more than preset time;If the charging time of battery is more than Preset time then stops charging module 520 and executes the step of control USB socket stopping is battery charging.
In one embodiment, device may also include that
Presetting module 540 is configured as in charging time set interface, is USB socket according to the operation that user triggers Each of USB jack be arranged a preset time
In one embodiment, device may also include that
Generation module 550 is configurable to generate the prompt information of battery charging complete;
Module 560 is released, is configured as releasing the prompt information that generation module 550 generates, so that user believes according to prompt It ceases and determines that USB socket stops charging for battery.
In one embodiment, module is released can include:
Submodule 561 is played, if the prompt information for being configured as the generation of generation module 550 is auditory tone cues information, Play auditory tone cues information;
Submodule 562 is discharged, if the prompt information for being configured as the generation of generation module 550 is light prompt information, is released Put the optical signal of preset kind;
Submodule 563 is vibrated, if the prompt information for being configured as the generation of generation module 550 is vibration prompt information, Vibration instruction is issued according to predeterminated frequency.
Fig. 7 is the block diagram of the managing device of another battery charging shown according to an exemplary embodiment, such as Fig. 7 institute Show, on the basis of above-mentioned Fig. 5 or embodiment illustrated in fig. 6, in one embodiment, device may also include that
Whether the first electric current determining module 570 is configured to determine that the output electric current of USB socket more than the first predetermined current Threshold value;
The first adjustment module 580, if being configured as the output electric current that the first electric current determining module 570 determines USB socket More than predetermined current threshold, then the maximum output current of USB socket is adjusted.
In one embodiment, device may also include that
Whether the second electric current determining module 590 is configured to determine that the output electric current for the jack that battery is inserted into less than Two predetermined current thresholds;
Second adjustment module 600, if being configured as the jack that the second electric current determining module 590 determines that electric current is inserted into Electric current is exported less than the second predetermined current threshold, then adjusts the output electric current for the jack that battery is inserted into.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein being used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound In the case that the property made is worked, it can understand and implement.
The disclosure additionally provides a kind of USB socket, which includes the device of embodiment described in Fig. 5-Fig. 7, can hold The technical solution of embodiment described in above-mentioned Figure 1A, Fig. 2-Fig. 4 of row, the function of USB socket and the realization process of effect are specifically detailed in The realization process of step is corresponded in the above method, details are not described herein.
Fig. 8 is a kind of block diagram of managing device suitable for battery charging shown according to an exemplary embodiment.For example, Device 800 can be USB socket or electronic equipment (such as: smart phone, tablet computer etc.).
Referring to Fig. 8, device 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, voice played, data communication and note Record operates associated operation.Processing element 802 may include one or more processors 820 to execute instruction, on completing The all or part of the steps for the method stated.In addition, processing component 802 may include one or more modules, it is convenient for processing component Interaction between 802 and other assemblies.For example, processing component 802 may include multi-media module, to facilitate multimedia component Interaction between 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application or method for operating on device 800, message, picture etc..Memory 804 can be with It is realized by any kind of volatibility or non-volatile memory device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM) may be programmed Read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between device 800 and user.In some realities It applies in example, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch screen, to receive input signal from the user.Touch panel include one or more touch sensors with Sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and And also detect duration and pressure relevant to touch or slide.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, the relative positioning of component, such as component For the display and keypad of device 800, sensor module 814 can be with the position of 800 1 components of detection device 800 or device Set change, the existence or non-existence that user contacts with device 800, the temperature in 800 orientation of device or acceleration/deceleration and device 800 Variation.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for answering in imaging With middle use.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic Sensor, distance-sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WIFI, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 816 further includes near-field communication (NFC) module, to promote short range communication.For example, Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light Data storage device etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (16)

1. a kind of management method of battery charging, which is characterized in that the described method includes:
When for battery charging, determine whether the present charge state of battery is preset state, wherein the preset state is used for The electricity for identifying the battery is greater than default power threshold;
If the present charge state is preset state, controls USB socket and stop being that the battery charges;
Whether the present charge state of the determining battery is preset state, comprising:
Determine whether the variation of the charging current of the battery matches with default variable condition, the default variable condition is electricity The charging current in pond from big to small and electric current it is small to predetermined current threshold when the variable condition that tends to be steady;
If the variation of the charging current of the battery is matched with default variable condition, it is determined that the current charging shape of the battery State is preset state;
If the variation of the charging current of the battery and default variable condition mismatch, it is determined that the current charging of the battery State is not preset state.
2. the method according to claim 1, wherein the method also includes:
If it is determined that the present charge state of the battery is not the preset state, it is determined that the charging time of the battery is No is more than preset time;
If the charging time of the battery is more than the preset time, executes the control USB socket and stop as institute The step of stating battery charging.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
In charging time set interface, according to the operation that user triggers, set in advance for each of USB socket jack Set a preset time.
4. the method according to claim 1, wherein the method also includes:
Generate the prompt information of the battery charging complete;
The prompt information is released, is that the battery fills so that user determines that the USB socket stops according to the prompt information Electricity.
5. according to the method described in claim 4, it is characterized in that, described release the prompt information, comprising:
If the prompt information is auditory tone cues information, the auditory tone cues information is played;
If the prompt information is light prompt information, the optical signal of preset kind is discharged;
If the prompt information is vibration prompt information, vibration instruction is issued according to predeterminated frequency.
6. the method according to claim 1, wherein the method also includes:
Determine the output electric current of the USB socket whether more than the first predetermined current threshold;
If the output electric current of the USB socket is more than the first predetermined current threshold, the maximum output of the USB socket is adjusted Electric current.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
Determine the output electric current for the jack that the battery is inserted into whether less than the second predetermined current threshold;
If the output electric current for the jack that the battery is inserted into is less than second predetermined current threshold, the battery is adjusted The output electric current for the jack being inserted into.
8. a kind of managing device of battery charging, which is characterized in that described device includes:
Charged state determining module is configured as determining whether the present charge state of battery is default when for battery charging State, wherein the electricity that the preset state is used to identify the battery is greater than default power threshold;
Stop charging module, if being configured as the charged state determining module determines that the present charge state is default shape State then controls USB socket and stops being that the battery charges;
The charged state determining module includes:
Matched sub-block, is configured to determine that whether the variation of the charging current of the battery matches with default variable condition, institute Stating default variable condition is, the charging current of battery from big to small and electric current it is small to predetermined current threshold when the change that tends to be steady Change state;
First determines submodule, if being configured as the matched sub-block determines the variation of charging current of the battery and pre- If variable condition matches, it is determined that the present charge state of the battery is preset state;
Second determines submodule, if being configured as the matched sub-block determines the variation of charging current of the battery and pre- If variable condition mismatches, it is determined that the present charge state of the battery is not preset state.
9. device according to claim 8, which is characterized in that described device further include:
Charging time determining module, if being configured as the current charging shape that the charged state determining module determines the battery State is not the preset state, it is determined that whether the charging time of the battery is more than preset time;If the battery fills The electric time is more than the preset time, then the stopping charging module executing the control USB socket and stops being the electricity The step of pond is charged.
10. device according to claim 9, which is characterized in that described device further include:
Presetting module is configured as in charging time set interface, is in the USB socket according to the operation that user triggers Each USB jack be arranged a preset time.
11. device according to claim 8, which is characterized in that described device further include:
Generation module is configurable to generate the prompt information of the battery charging complete;
Module is released, is configured as releasing the prompt information that the generation module generates, so that user is according to the prompt It is that the battery charges that information, which determines that the USB socket stops,.
12. device according to claim 11, which is characterized in that the release module includes:
Submodule is played, if being configured as the prompt information that the generation module generates is auditory tone cues information, is broadcast Put the auditory tone cues information;
Submodule is discharged, if being configured as the prompt information that the generation module generates is light prompt information, is discharged The optical signal of preset kind;
Submodule is vibrated, if being configured as the prompt information that the generation module generates is vibration prompt information, is pressed Vibration instruction is issued according to predeterminated frequency.
13. device according to claim 8, which is characterized in that described device further include:
Whether the first electric current determining module is configured to determine that the output electric current of the USB socket more than the first predetermined current threshold Value;
The first adjustment module, if being configured as the first electric current determining module determines that the output electric current of the USB socket is super Predetermined current threshold is crossed, then adjusts the maximum output current of the USB socket.
14. device according to claim 8, which is characterized in that described device further include:
Second electric current determining module is configured to determine that whether the output electric current for the jack that the battery is inserted into is pre- less than second If current threshold;
Second adjustment module, if being configured as the defeated of the jack that the second electric current determining module determines that the battery is inserted into Electric current is less than second predetermined current threshold out, then adjusts the output electric current for the jack that the battery is inserted into.
15. a kind of managing device of battery charging, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When for battery charging, determine whether the present charge state of battery is preset state, wherein the preset state is used for The electricity for identifying the battery is greater than default power threshold;
If the present charge state is preset state, controls USB socket and stop being that the battery charges;
Whether the present charge state of the determining battery is preset state, comprising:
Determine whether the variation of the charging current of the battery matches with default variable condition, the default variable condition is electricity The charging current in pond from big to small and electric current it is small to predetermined current threshold when the variable condition that tends to be steady;
If the variation of the charging current of the battery is matched with default variable condition, it is determined that the current charging shape of the battery State is preset state;
If the variation of the charging current of the battery and default variable condition mismatch, it is determined that the current charging of the battery State is not preset state.
16. a kind of USB socket, which is characterized in that the USB socket includes that any battery of the claims 8-14 fills The managing device of electricity;
Wherein, the USB socket is configured as executing the management method of any battery charging of the claims 1-7.
CN201610391366.5A 2016-06-03 2016-06-03 The management method and device of battery charging Active CN105896677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610391366.5A CN105896677B (en) 2016-06-03 2016-06-03 The management method and device of battery charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610391366.5A CN105896677B (en) 2016-06-03 2016-06-03 The management method and device of battery charging

Publications (2)

Publication Number Publication Date
CN105896677A CN105896677A (en) 2016-08-24
CN105896677B true CN105896677B (en) 2019-01-04

Family

ID=56710035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610391366.5A Active CN105896677B (en) 2016-06-03 2016-06-03 The management method and device of battery charging

Country Status (1)

Country Link
CN (1) CN105896677B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527642A (en) * 2016-11-26 2017-03-22 北京小米移动软件有限公司 Power supply control method and device for extension socket, and extension socket
CN106785136A (en) * 2016-12-22 2017-05-31 深圳市金立通信设备有限公司 The method and terminal of a kind of safe charging
US10840721B2 (en) * 2017-06-20 2020-11-17 Hubbell Incorporated System and method for controlling an electrical receptacle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882257A (en) * 2012-10-13 2013-01-16 李良杰 Intelligent cell phone charger
CN203932527U (en) * 2014-06-19 2014-11-05 嘉兴职业技术学院 Wall socket with USB socket
CN205051099U (en) * 2015-09-14 2016-02-24 舒樟华 Many sockets intelligence power adapter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050055255A (en) * 2003-12-06 2005-06-13 삼성전자주식회사 Charge circuit for USB device in image forming device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882257A (en) * 2012-10-13 2013-01-16 李良杰 Intelligent cell phone charger
CN203932527U (en) * 2014-06-19 2014-11-05 嘉兴职业技术学院 Wall socket with USB socket
CN205051099U (en) * 2015-09-14 2016-02-24 舒樟华 Many sockets intelligence power adapter

Also Published As

Publication number Publication date
CN105896677A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN110413134B (en) Wearing state detection method and related equipment
US10116157B2 (en) Method and device for charging batteries in mobile devices
CN108574123B (en) Battery charging control method and device and battery
CN104578372B (en) The method and device of control terminal equipment charge
CN110783652B (en) Battery charging method, battery charging device and storage medium
CN104267795B (en) Electric quantity managing method, power management device and electronic equipment
CN109525012B (en) Charging device, charging control method, charging control system, and storage medium
CN105896677B (en) The management method and device of battery charging
CN105720644A (en) Charging control method and device and terminal device
CN104111719A (en) Method and device for controlling battery to be disconnected from main equipment
CN104779420A (en) Battery charging method and device
CN104486490A (en) Method and device for notifying battery capacity
CN106230066A (en) Charge prompting method and apparatus
CN108091808A (en) Battery, equipment, charge control method and device
CN111211595A (en) Charging method and device, electronic equipment and storage medium
CN108267972A (en) Control method of electronic device and device
CN104991625A (en) Electronic device and reset method and apparatus thereof
CN106325454A (en) Power supply control device and method, and electronic equipment
CN105573471A (en) Information processing method and device
CN106231133B (en) Alarm method and device
CN105630354A (en) Application control method and device
CN109149669A (en) Battery modules and its control method, charging adapter and its control method
CN104202470B (en) Terminal supplying power control method and device
CN113451669A (en) Charging method and device, electronic device and storage medium
CN107528098B (en) Charging method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant