CN104617615B - Charging method and electronic equipment - Google Patents

Charging method and electronic equipment Download PDF

Info

Publication number
CN104617615B
CN104617615B CN201510024697.0A CN201510024697A CN104617615B CN 104617615 B CN104617615 B CN 104617615B CN 201510024697 A CN201510024697 A CN 201510024697A CN 104617615 B CN104617615 B CN 104617615B
Authority
CN
China
Prior art keywords
charging current
current
interim
charger
limit
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
CN201510024697.0A
Other languages
Chinese (zh)
Other versions
CN104617615A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510024697.0A priority Critical patent/CN104617615B/en
Publication of CN104617615A publication Critical patent/CN104617615A/en
Application granted granted Critical
Publication of CN104617615B publication Critical patent/CN104617615B/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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • HELECTRICITY
    • H01BASIC ELECTRIC 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
    • H01M10/446Initial charging measures
    • 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
    • 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

Abstract

The invention discloses a charging method and electronic equipment. The charging method includes that detecting the type of a connected charger when the electronic equipment is connected with the charger; setting preset first base charging current corresponding to the charger type as casual upper limit charging current, and controlling the charging current of the charger to enable the charging current to be lower than or equal to the casual upper limit charging current; performing stepping current promoting based on the first base charging current, and controlling the charging current of the charger to enable the charging current to be lower than or equal to the casual upper limit charging current after each stepping type promoting; controlling the charging current of the charger to enable the charging current to be lower than or equal to the preset first current threshold till the casual upper limit charging current arrives at the preset first current threshold.

Description

A kind of charging method and electronic equipment
Technical field
The present invention relates to intelligent electronic device technical field, more particularly to a kind of charging method and electronic equipment.
Background technology
With the development of intelligent electronic device, multi-core processor, high definition (HD, High Definition) and overall height (FHD, Full High Definition) screen is gradually popularized clearly.Function with intelligent electronic device is stronger and stronger, consumption Electricity is consequently increased, and industry it is also proposed higher requirement to the battery capacity of intelligent electronic device.With battery capacity Lifted, the charging interval also lengthens therewith.And how to shorten the charging interval as far as possible in the case where safety is ensured, and reach most as far as possible Excellent charging effect, is current problem demanding prompt solution.
The content of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of charging method and electronic equipment.
On the one hand, a kind of charging method is embodiments provided, electronic equipment is applied to, methods described includes:
When the electronic equipment is connected with charger, the type of the charger of connection is detected;
Default first foundation charging current corresponding with the type of the charger is set as into that the interim upper limit charges electric Stream, controls the charging current of the charger without departing from the interim upper limit charging current;
Step-type current boost is carried out on the basis of the first foundation charging current, filling for the charger is controlled Electric current is without departing from the interim upper limit charging current after the lifting of each step-by-step movement;Reach up to the interim upper limit charging current pre- During fixed first current threshold, the charging current of the charger is controlled without departing from the first predetermined current threshold.
It is in such scheme, described that step-type current boost is carried out on the basis of first foundation charging current, including:
After the first foundation charging current is set as interim upper limit charging current, the output of the charger is detected Voltage CV and output current CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, ought Front interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;Judging to be unsatisfactory for During the first condition, the interim upper limit charging current for keeping current is constant, and continues to fill described in detection after waiting the scheduled time The CV and CC of electrical equipment, judges again;
Through the lifting of the interim upper limit charging current at least one times, reach the interim upper limit charging current predetermined The first current threshold.
In such scheme, methods described also includes:When the type of charger of connection cannot be detected, second is obtained basic Described second basic charging current is set as interim upper limit charging current by charging current, controls the charging electricity of the charger Stream is without departing from the interim upper limit charging current;
Step-type current boost is carried out on the basis of the described second basic charging current, filling for the charger is controlled Electric current is without departing from the interim upper limit charging current after the lifting of each step-by-step movement;Reach up to the interim upper limit charging current pre- During fixed second current threshold, the charging current of the charger is controlled without departing from the second predetermined current threshold.
It is in such scheme, described to carry out step-type current boost on the basis of the second basic charging current, including:
After the described second basic charging current is set as interim upper limit charging current, detect the charger CV and CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, ought Front interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;Judging to be unsatisfactory for During the first condition, the interim upper limit charging current for keeping current is constant, and continues to fill described in detection after waiting the scheduled time The CV and CC of electrical equipment, judges again;
Through the lifting of the interim upper limit charging current at least one times, reach the interim upper limit charging current predetermined The second current threshold.
In such scheme, methods described also includes:Control the charging current of the charger all the time without departing from it is default with The corresponding first acquiescence charging current of type of the charger.
On the other hand, the embodiment of the present invention additionally provides a kind of electronic equipment, including:
Kind detecting unit, for when the electronic equipment is connected with charger, detecting the charger of connection Type;
Charging control unit, according to the type of the charger, is getting corresponding with the type of the charger During one basic charging current, the first foundation charging current is set as into interim upper limit charging current, controls the charger Charging current without departing from the interim upper limit charging current;Step-by-step movement is carried out on the basis of the first foundation charging current Current boost, control the charging current of the charger without departing from the interim upper limit charging current after the lifting of each step-by-step movement; Until when the interim upper limit charging current reaches the first predetermined current threshold, the charging current for controlling the charger does not surpass Go out the first predetermined current threshold.
In such scheme, the charging control unit is further used for,
After the first foundation charging current is set as interim upper limit charging current, the output of the charger is detected Voltage CV and output current CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, ought Front interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;Judging to be unsatisfactory for During the first condition, the interim upper limit charging current for keeping current is constant, and continues to fill described in detection after waiting the scheduled time The CV and CC of electrical equipment, judges again;
Through the lifting of the interim upper limit charging current at least one times, reach the interim upper limit charging current predetermined The first current threshold.
In such scheme, the charging control unit is further used for, and cannot detect connection in the kind detecting unit Charger type when, obtain the second basic charging current, the described second basic charging current be set as into that the interim upper limit is filled Electric current, controls the charging current of the charger without departing from the interim upper limit charging current;
Step-type current boost is carried out on the basis of the described second basic charging current, filling for the charger is controlled Electric current is without departing from the interim upper limit charging current after the lifting of each step-by-step movement;Reach up to the interim upper limit charging current pre- During fixed second current threshold, the charging current of the charger is controlled without departing from the second predetermined current threshold.
In such scheme, the charging control unit is further used for,
After the described second basic charging current is set as interim upper limit charging current, detect the charger CV and CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, ought Front interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;Judging to be unsatisfactory for During the first condition, the interim upper limit charging current for keeping current is constant, and continues to fill described in detection after waiting the scheduled time The CV and CC of electrical equipment, judges again;
Through the lifting of the interim upper limit charging current at least one times, reach the interim upper limit charging current predetermined The second current threshold.
In such scheme, the charging control unit is further used for, according to the type of the charger, get with When the type corresponding first of the charger gives tacit consent to charging current, the charging current of the charger is controlled all the time without departing from institute State the first acquiescence charging current.
A kind of charging method and electronic equipment that the embodiment of the present invention is provided, by the charging for detecting electronic equipment connection Device type, when it is determined that the charger type is adapted to step-type current boost scheme, obtains and the charger type phase Corresponding first foundation charging current, and interim upper limit charging electricity is carried out using step-type current boost scheme on this basis The lifting of stream, until interim upper limit charging current reaches the first predetermined current threshold.The step-by-step movement electric current of the embodiment of the present invention Lifting scheme, shortens the charging interval of electronic equipment as far as possible, has reached preferably charging effect in the case where safety is guaranteed.
Description of the drawings
Charging method flow charts of the Fig. 1 for the embodiment of the present invention one;
Composition structural representations of the Fig. 2 for the electronic equipment of the embodiment of the present invention two;
Charging method flow charts of the Fig. 3 for the embodiment of the present invention three.
Specific embodiment
The technical solution of the present invention is further elaborated with specific embodiment below in conjunction with the accompanying drawings.
Embodiment one
To realize shortening the charging interval of electronic equipment in the case where safety is ensured as far as possible, and filling of being optimal as far as possible Electric effect, a kind of charging method that the embodiment of the present invention one is provided, as shown in figure 1, the method mainly includes:
Step 101, when electronic equipment is connected with charger, detects the type of the charger of connection.
The type detection method of charger has various, such as:The type of charger is detected according to the output signal of charger, or Person, detects type of charger etc. according to the pin voltage of charger interface.Embodiment of the present invention type not to charger Detection method is limited, and in practical application, every detection method that electronic equipment can be made to obtain charger type all should belong to In the protection domain of the embodiment of the present invention.
Charger type in practical application also has various, such as:Exchange Electric adapter (AC adapter, Alternating Current adapter), USB special charging port (USB-DCP, Universal Serial Bus- Dedicated Charging Port), universal serial bus standard downlink port (USB-SDP, Universal Serial Bus-Standard Downstream Port) etc., the embodiment of the present invention is not enumerated.
Wherein, electronic equipment is connected to the USB port of charger 5 lead-foot-lines, and this is 5 with including D+ numbers in lead-foot-line According to wire pin (also referred to as data wire positive pole) and D- data wire pins (also referred to as data wire negative pole);If electronic equipment detects D+ and D- Short circuit, then judge connect charger type for USB-DCP, if detect D+ and D- it is not short-circuit, and D+ and D- on have voltage, The charger type for connecting is judged for USB-SDP, if detecting, D+ and D- is short-circuit, and upper no-voltages of D+ and D-, judgement company The charger type for connecing is unknown (i.e. charger type is unknown).
Default first foundation charging current corresponding with the type of charger is set as that the interim upper limit is filled by step 102 Electric current, controls the charging current of charger without departing from interim upper limit charging current.
In the embodiment of the present invention, the first foundation charging current of correspondence difference charger type is pre-set, wherein, correspondence The first foundation charging current of different charger types can be different from, or, the first base of correspondence difference charger type Plinth charging current can also part it is identical or all identical.That is, charger type and first are preset with electronic equipment The mapping relations of basic charging current value, save corresponding with each default charger type in the mapping relations The value of one basic charging current, the value of the first foundation charging current of the different charger type of correspondence can also may be used with identical With difference.
Electronic equipment by searching the mapping relations, can be obtained after the charger type that detection obtains current connection Obtain and the first foundation charging current corresponding to the charger type for being obtained, so as to the first foundation charging current of acquisition is set It is set to current interim upper limit charging current, and controls the charging current of charger and charges without departing from the interim upper limit of current setting Electric current.Such as:Assume that the first foundation charging current that electronic equipment is obtained is 500mA (milliampere), then electronic equipment can control to flow into The charging current of electronic equipment without departing from 500mA, electronic equipment can by its internal charge integrated circuit (IC, Integrated Circuit) control of the realization to inflow current.
Step 103, carries out step-type current boost on the basis of first foundation charging current, controls filling for charger Electric current is without departing from the interim upper limit charging current after the lifting of each step-by-step movement;Reach up to interim upper limit charging current predetermined During the first current threshold, the charging current of charger is controlled without departing from the first predetermined current threshold.
Wherein, so-called step-type current boost refers to, multiple phase is carried out on the basis of first foundation charging current Same amplitude (or claiming step value) or the current boost of different amplitudes, for example:First foundation charging current is 500mA, predetermined the One current threshold is 1000mA, and the amplitude for being lifted on the basis of 500mA every time is 100mA, then needed on the basis of 500mA On can reach 1000mA through the current boost of 5 times.
It is so-called control charger charging current without departing from each step-by-step movement lifting after interim upper limit charging current refer to, Control flows into the interim upper limit charging current after the charging current of electronic equipment is lifted less than each step-by-step movement, for example: On the basis of one basic charging current 500mA, the interim upper limit charging current after being lifted for the first time is 600mA, then this time control System flows into the charging current of electronic equipment and is less than 600mA;The follow-up interim upper limit on the basis of 600mA after lifting charges electric Rheology is 700mA, then now control flows into the charging current of electronic equipment and is less than 700mA;The rest may be inferred.
When interim upper limit charging current reaches the first predetermined current threshold 1000mA, now control flows into electronic equipment Charging current be less than 1000mA.
That is, the step-by-step movement with interim upper limit charging current is lifted, the charging current that electronic equipment is allowed flow into The upper limit also lifted therewith, with reach it is step-type control charger charging current purpose.
In one embodiment, it is described that step-type current boost, bag are carried out on the basis of first foundation charging current Include:
After the first foundation charging current is set as interim upper limit charging current, the output of the charger is detected Voltage (CV) and output current (CC);
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, ought Front interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;Judging to be unsatisfactory for During the first condition, the interim upper limit charging current for keeping current is constant, and continues to fill described in detection after waiting the scheduled time The CV and CC of electrical equipment, judges again;
Through the lifting of the interim upper limit charging current at least one times, reach the interim upper limit charging current predetermined The first current threshold.
Wherein, the first condition can be:The CV of detection gained is higher than default voltage threshold, and detects the CC of gained Reach current interim upper limit charging current.The voltage threshold can according to actual needs (such as distinct electronic apparatuses itself Hardware parameter requirement etc.) set, such as:Voltage threshold is selected between 4.5V~4.7V, it is preferred that voltage threshold is set as 4.6V.It is required that the CV of detection gained is higher than default voltage threshold, be in order to ensure charging voltage symbol requirement.Require detection institute The CC for obtaining reaches current interim upper limit charging current, is in order to ensure having the ability to lift the current interim upper limit in CC During charging current, the further lifting of interim upper limit charging current is just carried out.
Electronic equipment after every time lifting obtains new interim upper limit charging current, can all continue to detect the CV of charger and CC, if the CV and CC of detection gained meet first condition, continues to lift up current interim upper limit charging current, if detection The CV and CC of gained is unsatisfactory for first condition, then the interim upper limit charging current for keeping current is constant;Thus, until described interim Upper limit charging current reaches the first predetermined current threshold.First current threshold is according to actual needs (such as distinct electronic apparatuses The hardware parameter requirement of itself or safety coefficient etc. are required) set, such as:The first electric current is selected between 500mA-1200mA Threshold value, preferential, the first current threshold is set as 800mA.
In one embodiment, methods described also includes:When the type of charger of connection cannot be detected, second is obtained Described second basic charging current is set as interim upper limit charging current, controls filling for the charger by basic charging current Electric current is without departing from the interim upper limit charging current;
Step-type current boost is carried out on the basis of the described second basic charging current, filling for the charger is controlled Electric current is without departing from the interim upper limit charging current after the lifting of each step-by-step movement;Reach up to the interim upper limit charging current pre- During fixed second current threshold, the charging current of the charger is controlled without departing from the second predetermined current threshold.
Wherein, the type of the charger that cannot detect connection, i.e., the type detection result of aforesaid charger is unknown.By mapping relationship searching to the corresponding with unknown second basic charging current, charge electricity on second basis The value of stream can be identical with the value of aforementioned first foundation charging current, it is also possible to different.
Wherein, it is described to carry out step-type current boost on the basis of the second basic charging current, including:
After the described second basic charging current is set as interim upper limit charging current, detect the charger CV and CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, ought Front interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;Judging to be unsatisfactory for During the first condition, the interim upper limit charging current for keeping current is constant, and continues to fill described in detection after waiting the scheduled time The CV and CC of electrical equipment, judges again;
Through the lifting of the interim upper limit charging current at least one times, reach the interim upper limit charging current predetermined The second current threshold.
The first condition can be:The CV of detection gained is higher than default voltage threshold, and detects that the CC of gained reaches Current interim upper limit charging current.The voltage threshold can according to actual needs (such as the hardware of distinct electronic apparatuses itself Parameter request etc.) set, such as:Voltage threshold is selected between 4.5V~4.7V, it is preferred that voltage threshold is set as 4.6V。
Based on the step-by-step movement current boost process of the second basic charging current, with aforementioned based on first foundation charging current Step-by-step movement current boost process is similar to, and here is omitted.
In one embodiment, methods described also includes:The charging current of the charger is controlled all the time without departing from default It is corresponding with the type of the charger first acquiescence charging current.
The embodiment of the present invention is not suitable for the charger type of step-by-step movement charging current lifting for some, is also preset with described The mapping relations of charger type and the first acquiescence charging current;When electronic equipment obtains the charger class of current connection in detection After type, after searching mapping relations acquisition the first acquiescence charging current, electronic equipment thinks that the charger type is uncomfortable Close step-by-step movement charging current to be lifted, so as to control the charging current of the charger all the time without departing from the described first acquiescence charging electricity Stream, i.e., control the charging current output of the charger with a fixed charging current upper limit.
Such as:It is USB-SDP that electronic equipment detection obtains the charger type of current connection, due to having preset USB- SDP is not suitable for the lifting of step-by-step movement charging current, therefore obtains corresponding first acquiescence charging current by searching mapping relations, So as to control the charging current of charger all the time without departing from the described first acquiescence charging current.
In another embodiment, electronic equipment is when detecting the type of charger of connection, it is also possible to do not adopt Aforementioned step-type current boost mode, and it is charger type setting the second acquiescence charging current of unknown, and control institute State the charging current of charger all the time without departing from the described second acquiescence charging current, i.e., with a fixed charging current upper limit come Control the charging current output of the charger.
The embodiment of the present invention one, by the charger type for detecting electronic equipment connection, when it is determined that the charger type When being adapted to step-type current boost scheme, the acquisition first foundation charging current corresponding with the charger type, and The lifting of interim upper limit charging current is carried out on the basis of this using step-type current boost scheme, the electricity until the interim upper limit charges Stream reaches the first predetermined current threshold.The step-by-step movement current boost scheme of the embodiment of the present invention one, is guaranteeing safe situation In the lower charging interval for shortening electronic equipment as far as possible, preferably charging effect is reached.
Embodiment two
The charging method of the correspondence embodiment of the present invention one, the embodiment of the present invention two provides a kind of electronic equipment, such as Fig. 2 institutes Show, the electronic equipment mainly includes:
Kind detecting unit 10, for when the electronic equipment is connected with charger, detecting the charger of connection Type;
Charging control unit 20, it is according to the type of the charger, corresponding with the type of the charger getting During first foundation charging current, the first foundation charging current is set as into interim upper limit charging current, controls the charging The charging current of device is without departing from the interim upper limit charging current;Stepping is carried out on the basis of the first foundation charging current The current boost of formula, the interim upper limit charging after the charging current of the control charger is lifted without departing from each step-by-step movement are electric Stream;Until when the interim upper limit charging current reaches the first predetermined current threshold, controlling the charging current of the charger Without departing from the first predetermined current threshold.
In the embodiment of the present invention, the first foundation charging current of correspondence difference charger type is pre-set, wherein, correspondence The first foundation charging current of different charger types can be different from, or, the first base of correspondence difference charger type Plinth charging current can also part it is identical or all identical.That is, charger type and first are preset with electronic equipment The mapping relations of basic charging current value, save corresponding with each default charger type in the mapping relations The value of one basic charging current, the value of the first foundation charging current of the different charger type of correspondence can also may be used with identical With difference.The mapping relations can be preserved by memory cell, charger type of the charging control unit 20 according to acquisition, Corresponding first foundation charging current is obtained by the mapping relations searched in memory cell.
In one embodiment, charging control unit 20 is further used for,
After the first foundation charging current is set as interim upper limit charging current, detect the charger CV and CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, ought Front interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;Judging to be unsatisfactory for During the first condition, the interim upper limit charging current for keeping current is constant, and continues to fill described in detection after waiting the scheduled time The CV and CC of electrical equipment, judges again;
Through the lifting of the interim upper limit charging current at least one times, reach the interim upper limit charging current predetermined The first current threshold.
Wherein, the first condition can be:The CV of detection gained is higher than default voltage threshold, and detects the CC of gained Reach current interim upper limit charging current.It is required that the CV of detection gained is higher than default voltage threshold, be in order to ensure charging Voltage sign is required.It is required that the CC of detection gained reaches current interim upper limit charging current, be in order to ensure having the ability in CC When lifting the current interim upper limit charging current, the further lifting of interim upper limit charging current is just carried out.
Charging control unit 20, all can notification type detection list after lifting obtains new interim upper limit charging current every time Unit 10 continues the CV and CC of detection charger, if the CV and CC of detection gained meet first condition, charging control unit 20 Current interim upper limit charging current is continued to lift up, if the CV and CC of detection gained are unsatisfactory for first condition, charge control The interim upper limit charging current that unit 20 keeps current is constant;Thus, reaching up to the interim upper limit charging current predetermined First current threshold.
In one embodiment, charging control unit 20 is further used for, and cannot detect in the kind detecting unit 10 During the type of the charger of connection, the second basic charging current is obtained, the described second basic charging current is set as on interim Limit charging current, controls the charging current of the charger without departing from the interim upper limit charging current;
Step-type current boost is carried out on the basis of the described second basic charging current, filling for the charger is controlled Electric current is without departing from the interim upper limit charging current after the lifting of each step-by-step movement;Reach up to the interim upper limit charging current pre- During fixed second current threshold, the charging current of the charger is controlled without departing from the second predetermined current threshold.
Wherein, the type of the charger that cannot detect connection, i.e., the type detection result of aforesaid charger is unknown.The value of the described second basic charging current can be identical with the value of aforementioned first foundation charging current, it is also possible to It is different.
Charging control unit 20 is further used for, perform on the basis of the second basic charging current below step-type electricity Stream lifting process:
After the described second basic charging current is set as interim upper limit charging current, detect the charger CV and CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, ought Front interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;Judging to be unsatisfactory for During the first condition, the interim upper limit charging current for keeping current is constant, and continues to fill described in detection after waiting the scheduled time The CV and CC of electrical equipment, judges again;
Through the lifting of the interim upper limit charging current at least one times, reach the interim upper limit charging current predetermined The second current threshold.
The first condition can be:The CV of detection gained is higher than default voltage threshold, and detects that the CC of gained reaches Current interim upper limit charging current.
Based on the step-by-step movement current boost process of the second basic charging current, with aforementioned based on first foundation charging current Step-by-step movement current boost process is similar to, and here is omitted.
In one embodiment, charging control unit 20 is further used for, and according to the type of the charger, is getting During the first acquiescence charging current corresponding with the type of the charger, control the charging current of the charger all the time without departing from The first acquiescence charging current.
The embodiment of the present invention is not suitable for the charger type of step-by-step movement charging current lifting for some, is also preset with described The mapping relations of charger type and the first acquiescence charging current;When electronic equipment obtains the charger class of current connection in detection After type, after searching mapping relations acquisition the first acquiescence charging current, electronic equipment thinks that the charger type is uncomfortable Close step-by-step movement charging current to be lifted, so as to control the charging current of the charger all the time without departing from the described first acquiescence charging electricity Stream, i.e., control the charging current output of the charger with a fixed charging current upper limit.
In another embodiment, when the type of charger of connection cannot be detected in kind detecting unit 10, control of charging Unit processed 20 can not also adopt aforementioned step-type current boost mode, and be the charger type setting second of unknown Acquiescence charging current, and control the charging current of the charger all the time without departing from the described second acquiescence charging current, i.e., with one The charging current upper limit of individual fixation is exported come the charging current for controlling the charger.
It should be noted that the above-mentioned type detector unit 10 and charging control unit 20 can be by the centres of electronic equipment Reason device (CPU, Central Processing Unit), microprocessor (MPU, Micro Processing Unit), charging collection Into circuit (IC, Integrated Circuit) chip, digital signal processor (DSP, Digital Signal Processor) or programmable logic array (FPGA, Field-Programmable Gate Array) realize.
The embodiment of the present invention two, by the charger type for detecting electronic equipment connection, when it is determined that the charger type When being adapted to step-type current boost scheme, the acquisition first foundation charging current corresponding with the charger type, and The lifting of interim upper limit charging current is carried out on the basis of this using step-type current boost scheme, the electricity until the interim upper limit charges Stream reaches the first predetermined current threshold.The step-by-step movement current boost scheme of the embodiment of the present invention two, is guaranteeing safe situation In the lower charging interval for shortening electronic equipment as far as possible, preferably charging effect is reached.
The charging method and electronic equipment of the embodiment of the present invention are further described in conjunction with specific example below.
Embodiment three
The embodiment of the present invention three provides the charging solution under a kind of practical application scene, in the embodiment of the present invention three First foundation charging current is identical with the value of the second basic charging current, for convenience of describing, is referred to as in the embodiment of the present invention three For first foundation charging current;As shown in figure 3, its charging method mainly includes:
Step 301, electronic equipment connection charger.
Step 302, electronic equipment detection connection charger type, type be AC adapter, USB-DCP or During unknown, execution step 303;When type is USB-SDP, execution step 308.
The type detection method of charger has various, such as:The type of charger is detected according to the output signal of charger, or Person, detects type of charger etc. according to the pin voltage of charger interface.The embodiment of the present invention is not repeated.
Step 303, when it is determined that the charger type of connection is one of AC adapter, USB-DCP, unknown, By searching default mapping relations, first foundation charging current corresponding with charger type, and first for obtaining are obtained Basic charging current is set as interim upper limit charging current, controls the charging current of charger without departing from interim upper limit charging electricity Stream.
Such as:When the first foundation charging current of acquisition is 500mA, interim upper limit charging current is set to into 500mA, and is controlled The charging current of charger processed is without departing from 500mA.
Step 304, detection obtain the CV and CC of charger.
Whether step 305, judge to detect the CV for obtaining higher than default voltage threshold (such as 4.6V), if it is, performing step Rapid 306;Otherwise, wait return to step 304 after Preset Time.
Step 306, judges to detect whether the CC for obtaining reaches current interim upper limit charging current (such as 500mA), if Reach, execution step 307;Otherwise wait for return to step 304 after Preset Time.
Current interim upper limit charging current is lifted a step value by step 307, obtains new interim upper limit charging electricity Stream, and the output current of the charger is limited with new interim upper limit charging current.
After execution step 307, return to step 304 continues to obtain current CV and CC, and continues to judge and lifted temporarily Upper limit charging current, so through multiple circulations, and after experienced repeatedly the lifting of interim upper limit charging current, makes described interim Upper limit charging current reaches the first predetermined current threshold;When the interim upper limit charging current reaches the first current threshold, The output current of the charger is limited with first current threshold.
Step 308, when the type that detection obtains charger is USB-SDP, by searching default mapping relations, obtains It is corresponding with charger type USB-SDP first acquiescence charging current, and with described first acquiescence charging current limit described in fill The output current of electrical equipment.
The embodiment of the present invention three, by the charger type for detecting electronic equipment connection, when it is determined that the charger type When being adapted to step-type current boost scheme, the acquisition first foundation charging current corresponding with the charger type, and The lifting of interim upper limit charging current is carried out on the basis of this using step-type current boost scheme, the electricity until the interim upper limit charges Stream reaches the first predetermined current threshold;When it is determined that the charger type is not suitable for step-type current boost scheme, obtain The first acquiescence charging current corresponding with the charger type is obtained, and limits the output current of the charger according to this.This The step-by-step movement current boost scheme of inventive embodiments two, when shortening the charging of electronic equipment as far as possible in the case where safety is guaranteed Between, reach preferably charging effect.
In several embodiments provided by the present invention, it should be understood that disclosed method, device and electronic equipment, Can realize by another way.Apparatus embodiments described above are only schematic, and for example, the unit is drawn Point, only a kind of division of logic function can have other dividing mode, such as when actually realizing:Multiple units or component can To combine, or another system is desirably integrated into, or some features can be ignored, or do not performed.In addition, shown or discussed The coupling each other of each part or direct-coupling or communication connection can be by some interfaces, equipment or unit INDIRECT COUPLING or communication connection, can be electrical, machinery or other forms.
The above-mentioned unit as separating component explanation can be, or may not be it is physically separate, it is aobvious as unit The part for showing can be, or may not be physical location, you can with local positioned at one, it is also possible to be distributed to multiple network lists In unit;Part or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, also may be used Being each unit individually as a unit, it is also possible to which two or more units are integrated in a unit;It is above-mentioned Integrated unit both can be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in a computer read/write memory medium the related hardware of programmed instruction, the program Upon execution, perform the step of including said method embodiment;And aforesaid storage medium includes:It is movable storage device, read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the embodiment of the present invention is realized using in the form of software function module and as independently Production marketing or use when, it is also possible to be stored in a computer read/write memory medium.Based on such understanding, this The part that the technical scheme of bright embodiment is substantially contributed to prior art in other words can in the form of software product body Reveal and, the computer software product is stored in a storage medium, use so that a computer sets including some instructions Standby (can be personal computer, server or network equipment etc.) performs the whole of each embodiment methods described of the invention Or part.And aforesaid storage medium includes:Movable storage device, read-only storage (ROM, Read-Only Memory), with Machine access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.

Claims (8)

1. a kind of charging method, is applied to electronic equipment, and methods described includes:
When the electronic equipment is connected with charger, the type of the charger of connection is detected;
Default first foundation charging current corresponding with the type of the charger is set as into interim upper limit charging current, is controlled The charging current of the charger is made without departing from the interim upper limit charging current;On the basis of the first foundation charging current On carry out step-type current boost, on interim after controlling the charging current of the charger without departing from the lifting of each step-by-step movement Limit charging current;Until when the interim upper limit charging current reaches the first predetermined current threshold, controlling the charger Charging current is without departing from the first predetermined current threshold;
Wherein, methods described includes:When the type of charger of connection cannot be detected, the second basic charging current is obtained, will Described second basic charging current is set as interim upper limit charging current, controls the charging current of the charger without departing from described Interim upper limit charging current;Step-type current boost is carried out on the basis of the described second basic charging current, control is described The charging current of charger is without departing from the interim upper limit charging current after the lifting of each step-by-step movement;Until the interim upper limit charges When electric current reaches the second predetermined current threshold, the charging current of the charger is controlled without departing from the second predetermined electric current Threshold value.
2. charging method according to claim 1, it is characterised in that described to carry out on the basis of first foundation charging current Step-type current boost, including:
After the first foundation charging current is set as interim upper limit charging current, the output voltage of the charger is detected CV and output current CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, will be current Interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;It is unsatisfactory in judgement described During first condition, the interim upper limit charging current for keeping current is constant, and continues the detection charger after waiting the scheduled time CV and CC, judge again;
Through the lifting of the interim upper limit charging current at least one times, the interim upper limit charging current is made to reach predetermined One current threshold.
3. charging method according to claim 1, it is characterised in that described to carry out on the basis of the second basic charging current Step-type current boost, including:
After the described second basic charging current is set as interim upper limit charging current, the output voltage of the charger is detected CV and output current CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, will be current Interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;It is unsatisfactory in judgement described During first condition, the interim upper limit charging current for keeping current is constant, and continues the detection charger after waiting the scheduled time CV and CC, judge again;
Through the lifting of the interim upper limit charging current at least one times, the interim upper limit charging current is made to reach predetermined Two current thresholds.
4. the charging method according to any one of claims 1 to 3, it is characterised in that methods described also includes:Fill described in control The charging current of electrical equipment is all the time without departing from default the first acquiescence charging current corresponding with the type of the charger.
5. a kind of electronic equipment, including:
Kind detecting unit, for when the electronic equipment is connected with charger, detecting the type of the charger of connection;
Charging control unit, according to the type of the charger, is getting the first base corresponding with the type of the charger During plinth charging current, the first foundation charging current is set as into interim upper limit charging current, controls filling for the charger Electric current is without departing from the interim upper limit charging current;Step-type electricity is carried out on the basis of the first foundation charging current Stream is lifted, and controls the charging current of the charger without departing from the interim upper limit charging current after the lifting of each step-by-step movement;Until When the interim upper limit charging current reaches the first predetermined current threshold, the charging current of the charger is controlled without departing from institute State the first predetermined current threshold;
The charging control unit is further used for, and the type of the charger of connection cannot be detected in the kind detecting unit When, the second basic charging current being obtained, the described second basic charging current is set as into interim upper limit charging current, control is described The charging current of charger is without departing from the interim upper limit charging current;Carry out on the basis of the described second basic charging current Step-type current boost, the charging current for controlling the charger are charged without departing from the interim upper limit after the lifting of each step-by-step movement Electric current;Until when the interim upper limit charging current reaches the second predetermined current threshold, controlling the charging electricity of the charger Stream is without departing from the second predetermined current threshold.
6. electronic equipment according to claim 5, it is characterised in that the charging control unit is further used for,
After the first foundation charging current is set as interim upper limit charging current, the output voltage of the charger is detected CV and output current CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, will be current Interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;It is unsatisfactory in judgement described During first condition, the interim upper limit charging current for keeping current is constant, and continues the detection charger after waiting the scheduled time CV and CC, judge again;
Through the lifting of the interim upper limit charging current at least one times, the interim upper limit charging current is made to reach predetermined One current threshold.
7. electronic equipment according to claim 5, it is characterised in that the charging control unit is further used for,
After the described second basic charging current is set as interim upper limit charging current, the output voltage of the charger is detected CV and output current CC;
Judge whether the CV and CC that detect gained meet first condition, and when judging to meet the first condition, will be current Interim upper limit charging current lifts at least one step value, obtains new interim upper limit charging current;It is unsatisfactory in judgement described During first condition, the interim upper limit charging current for keeping current is constant, and continues the detection charger after waiting the scheduled time CV and CC, judge again;
Through the lifting of the interim upper limit charging current at least one times, the interim upper limit charging current is made to reach predetermined Two current thresholds.
8. the electronic equipment according to any one of claim 5 to 7, it is characterised in that the charging control unit is further used According to the type of the charger, when the first acquiescence charging current corresponding with the type of the charger is got, control The charging current of the charger is made all the time without departing from the described first acquiescence charging current.
CN201510024697.0A 2015-01-19 2015-01-19 Charging method and electronic equipment Active CN104617615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510024697.0A CN104617615B (en) 2015-01-19 2015-01-19 Charging method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510024697.0A CN104617615B (en) 2015-01-19 2015-01-19 Charging method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104617615A CN104617615A (en) 2015-05-13
CN104617615B true CN104617615B (en) 2017-03-22

Family

ID=53151952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510024697.0A Active CN104617615B (en) 2015-01-19 2015-01-19 Charging method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104617615B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105552979B (en) * 2015-09-28 2018-05-15 宇龙计算机通信科技(深圳)有限公司 A kind of method and terminal of the output current for detecting charger
CN106100025B (en) * 2016-06-24 2019-04-19 青岛海信移动通信技术股份有限公司 A kind of charge protector, charge protection method and mobile terminal
CN106208213A (en) * 2016-08-04 2016-12-07 广东欧珀移动通信有限公司 The method of a kind of PID regulation charging current and terminal
CN108092363B (en) * 2017-12-27 2019-12-03 深圳市泰衡诺科技有限公司 Charging method and device
CN108711905B (en) * 2018-05-31 2021-04-27 北京小米移动软件有限公司 Output voltage control method and device of charging equipment
CN109066885B (en) * 2018-09-04 2021-05-14 深圳市蓝禾技术有限公司 Charger and charging method of the charger

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2984622B1 (en) * 2011-12-19 2014-05-16 Schneider Electric Ind Sas METHOD FOR CONTROLLING AND OPTIMIZING THE OPERATION OF A LOADING TERMINAL OF AN ELECTRIC VEHICLE AND LOADING TERMINAL FOR CARRYING OUT SAID METHOD
CN103001290A (en) * 2012-11-28 2013-03-27 惠州Tcl移动通信有限公司 Self-adaption charging circuit and corresponding mobile terminal

Also Published As

Publication number Publication date
CN104617615A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN104617615B (en) Charging method and electronic equipment
CN106532882B (en) A kind of charge control method and device
CN103427460B (en) A kind of power supply terminal, charge control method and device
CN106230070B (en) Charging method and device
CN104201727A (en) Rapid charging method and device
CN106329627A (en) Charging method and device
CN106655343B (en) A kind of charging method and device of mobile terminal
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN103616551B (en) The terminal and cell voltage acquisition methods of cell voltage can be accurately obtained when charging
CN105048018B (en) The charging method and device of a kind of terminal with data exchanging function
CN105826962B (en) Poewr control method and device in a kind of charging process
CN106329654A (en) Electronic device and charging method thereof
CN106208213A (en) The method of a kind of PID regulation charging current and terminal
CN106329628B (en) A kind of charging method and device
CN106300549A (en) Electronic installation and charging method thereof
CN106300533B (en) A kind of charging method and device
CN106329630B (en) A kind of charging method and device
CN106325453A (en) Configuration method of output current and terminal
CN106329625B (en) charging method and device
CN207743706U (en) Terminal device and power supply adaptor
CN104767241B (en) A kind for the treatment of method and apparatus of terminal charger
CN105490319B (en) A kind of information processing method and electronic equipment
CN106300551A (en) Electronic installation and charging method thereof
CN104852412B (en) A kind of charging current control method and electronic equipment
CN106329631B (en) A kind of charging method and device

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model