Summary of the invention
Based on this, it is necessary to provide a kind of USB charging method and system that can be compatible with two or more quick charge modes.
A kind of charging method, for charging unit be intelligent terminal battery charge, the USB port of the charging unit with
The USB port of the intelligent terminal connects, and the intelligent terminal includes application processor and power management chip, and the intelligence is eventually
End further includes the first quick charge unit, the charging method the following steps are included:
The intelligent terminal identifies whether the USB port of the charging unit is dedicated fill according to preset charged standard criterion
Electric port;
If the USB port of the charging unit is special charging port, the intelligent terminal calling high-voltage charging process,
Application processor control power management chip is set to carry out high-voltage high-speed charging to battery;
If the USB port of the charging unit is not special charging port, the intelligent terminal calls low-voltage, high-current
Charging process, the first quick charge unit of starting carry out low-voltage, high-current quick charge to battery.
The preset charged standard criterion is USB BC1.2 specification in one of the embodiments,.
The intelligent terminal further includes first switch and the second switch in one of the embodiments, wherein described first
The differential signal end switched in the USB port for being switched on or switched off the intelligent terminal is quickly filled with application processor or first
The communication connection of electric unit, the second switch be used for the voltage end that is switched on or switched off in the USB port of the intelligent terminal with
The connection of power management chip or battery;Then the first quick charge unit of the starting quickly fills battery progress low-voltage, high-current
Electricity step include:
The differential signal end for connecting first switch in the USB port of the intelligent terminal and the first quick charge unit
Communication connection;
The connection of the voltage end and battery that connect second switch in the USB port of the intelligent terminal.
The intelligent terminal calls low-voltage, high-current charging process to carry out low-voltage, high-current fast in one of the embodiments,
Speed charging the step of include:
The the second quick charge unit for including in the first quick charge unit and charging unit carries out charging and shakes hands;
When shaking hands successfully, low-voltage, high-current quick charge is carried out.
In one of the embodiments, when the intelligent terminal calls high-voltage charging process to carry out high-voltage high-speed charging failure
When, call low-voltage, high-current charging process to carry out low-voltage, high-current quick charge.
In one of the embodiments, when the intelligent terminal calls low-voltage, high-current charging process to carry out low-voltage, high-current
When quick charge fails, commonly charged.
A kind of intelligent terminal, including USB port, application processor, power management chip and battery further include first quick
Charhing unit;
The USB port with the USB port of charging unit for connecting;
The application processor be used for according to preset charged standard criterion identify the charging unit USB port whether be
Special charging port if so, calling high-voltage charging process, and sends the first signal to the power management chip;If it is not, then
It calls low-voltage, high-current charging process and sends second signal to the first quick charge unit;
The power management chip carries out high-voltage high-speed charging to the battery according to first signal;
The first quick charge unit carries out low-voltage, high-current quick charge to the battery according to the second signal.
It in one of the embodiments, further include first switch and the second switch;
It is answered with described at the differential signal end that the first switch is used to be switched on or switched off in the USB port of the intelligent terminal
With the communication connection of processor or the first quick charge unit;
The voltage end and the power supply pipe that the second switch is used to be switched on or switched off in the USB port of the intelligent terminal
Manage the connection of chip or the battery.
The battery is carried out according to first signal in the power management chip in one of the embodiments, high
When pressing quick charge, the first switch is connected at the differential signal end in the USB port of the intelligent terminal and the application
The communication connection of device is managed, and the second switch connects voltage end and the power supply pipe in the USB port of the intelligent terminal
Manage the connection of chip;
Low-voltage, high-current is carried out to the battery according to the second signal in the first quick charge unit quickly to fill
When electric, the first switch connects the differential signal end in the USB port of the intelligent terminal and the first quick charge list
The communication connection of member, and the second switch connects the company of voltage end and the battery in the USB port of the intelligent terminal
It connects.
The application processor is also used to calling the progress of low-voltage, high-current charging process low in one of the embodiments,
When pressing high current quick charge failure, Xiang Suoshu power management chip sends third signal;
The power management chip is also used to commonly charge to the battery according to the third signal.
Above-mentioned charging method and intelligent terminal, intelligent terminal identify that connected charging fills according to preset charged standard criterion
Whether the USB port set is special charging port;If so, calling high-voltage charging process, application processor being made to control power supply pipe
It manages chip and high-voltage high-speed charging is carried out to battery;If it is not, then calling low-voltage, high-current charging process, the first quick charge list of starting
Member carries out low-voltage, high-current quick charge to battery, so that intelligent terminal can be compatible at least two fast charge modes.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, it charges below in conjunction with attached drawing to the present invention
Method and the specific embodiment of intelligent terminal are illustrated.It should be appreciated that specific embodiment described herein is only used to
It explains the present invention, is not intended to limit the present invention.
Battery of the charging method in each embodiment for charging unit to be intelligent terminal charges below.Charging unit
The connection of the USB port of (Universal Serial Bus, the universal serial bus) port USB and intelligent terminal.Intelligent terminal packet
Include application processor, power management chip and the first quick charge unit.Referring to Fig. 1, in one embodiment, which can
With including the following steps:
S101, intelligent terminal identify whether the USB port of charging unit is special charging according to preset charged standard criterion
Port.
Wherein, preset charged standard criterion can standardize for USB BC1.2.USB BC1.2 specification is a battery charging
(Battery Charging) agreement, the specification define three kinds of different types of ports: standard down port (SDP), dedicated
Charging port (DCP) and charging downlink port (CDP).In the present embodiment, intelligent terminal can pass through the difference of detection USB port
The voltage signal of signal end identifies the classification of the USB port of charging unit.It the differential signal end of USB port again can be with
The referred to as end D+/D-.Intelligent terminal knows the classification of charging unit by detecting the voltage signal at the end D+/D- of USB port
Not, it can be achieved by the prior art, therefore be not described in detail herein.
S102, if the USB port of charging unit is special charging port, intelligent terminal calls high-voltage charging process, makes
Application processor controls power management chip and carries out high-voltage high-speed charging to battery.
Wherein, high-voltage high-speed is carried out to battery to be charged as to be higher than the charging voltage of common charging voltage to battery and carry out fastly
Speed charging.For example, intelligent terminal is smart phone, the common charging voltage to smart phone is usually 5V.Then to smart phone
Carrying out high-voltage high-speed charging can be quickly to be filled with the charging voltage higher than 5V (for example, 9V, 12V or 15V etc.) to battery
Electricity.It and can be common charging current to the charging current of battery.The above numerical value in this section is given for example only explanation, can not
Protection scope of the present invention is defined according to above-mentioned numerical value.
Intelligent terminal can also include first switch and the second switch.Wherein, first switch is for being switched on or switched off intelligence
The communication connection at differential signal end and application processor or the first quick charge unit in the USB port of terminal.Second switch
The connection of voltage end and power management chip or battery for being switched on or switched off in the USB port of intelligent terminal.At application
When managing device control power management chip to battery progress high-voltage high-speed charging, it is also necessary to control first switch and connect intelligent terminal
The communication connection at differential signal end and application processor in USB port, and control second switch connect the USB of intelligent terminal
The connection of voltage end and power management chip in port.In this way, battery passes through the power end of power management chip and USB port
Connection.In high-voltage high-speed charging process, power management chip detects the parameter of battery, and is filled by application processor to charging
It sets and sends the first feedback signal.Charging unit can adjust the size of output voltage according to the first feedback signal.
In one embodiment, intelligent terminal calls high-voltage charging process, application processor is made to control power management chip pair
The step of battery progress high-voltage high-speed charging, can be realized by following procedure:
Intelligent terminal calls high-voltage charging process, and carries out high-voltage charging process with charging unit and shake hands.
After shaking hands successfully, application processor controls power management chip and carries out high-voltage high-speed charging to battery.By shaking hands,
Charging unit can determine its charging voltage and electric current, and be supplied to intelligent terminal.The generally compatible high pressure of power management chip is fast
The processing of speed charging.
Wherein, high-voltage charging process can be HVDCP (high voltage dedicated charger port, high pressure
Special charging port) process.
S103, if the USB port of charging unit is not special charging port, intelligent terminal calls low-voltage, high-current charging
Process, the first quick charge unit of starting carry out low-voltage, high-current quick charge to battery.
Wherein, carrying out low-voltage, high-current quick charge to battery is to be higher than the charging current of common charging current to battery
Carry out quick charge.For example, intelligent terminal is smart phone, the common charging current to smart phone is usually 500mA-
1000mA.Then carrying out low-voltage, high-current quick charge to smart phone can be for be higher than 1000mA (for example, 1.5A, 2A or 3A
Deng) charging current to battery carry out quick charge.It and can be common charging voltage to the charging voltage of battery.In this section
The above numerical value is given for example only explanation, can not be defined according to above-mentioned numerical value to protection scope of the present invention.
In one embodiment, the process that the first quick charge unit of starting carries out low-voltage, high-current quick charge to battery has
Body is as follows: the communication at the differential signal end and the first quick charge unit that connect first switch in the USB port of intelligent terminal
Connection;The connection of the voltage end and battery that connect second switch in the USB port of intelligent terminal.It is quickly filled in low-voltage, high-current
In electric process, the differential signal end in the USB port of the first quick charge unit and intelligent terminal is communicated to connect, and first quickly fills
Electric unit can detecte the parameter of battery, and send the second feedback signal to charging unit according to the parameter detected.Charging dress
Set the size according to the adjustable charging current of the second feedback signal.
In one embodiment, intelligent terminal calls low-voltage, high-current charging process, the first quick charge unit of starting to electricity
The step of pond progress low-voltage, high-current quick charge, can be realized by following procedure:
It is quick that the second quick charge unit for including in first quick charge unit and charging unit carries out low-voltage, high-current
Charging process is shaken hands;
When shaking hands successfully, the first quick charge unit of starting carries out low-voltage, high-current quick charge to battery.
As an embodiment, when intelligent terminal calls high-voltage charging process to carry out high-voltage high-speed charging failure,
Low-voltage, high-current charging process can be then called to carry out low-voltage, high-current quick charge, i.e. execution step S103.
Further, charging method can also include: when intelligent terminal calls low-voltage, high-current charging process, starting first
When quick charge unit carries out low-voltage, high-current quick charge failure to battery, commonly charged.Wherein, battery is carried out general
It is logical to be charged as charging the battery with common charging voltage and common charging voltage.For example, intelligent terminal is smart phone, it is right
The common charging current of smart phone is usually 500mA-1000mA, and common charging voltage is 5V.
Referring to fig. 2, in one embodiment, charging method can specifically include following steps:
S201, intelligent terminal are identified according to classification of the USB BC1.2 agreement to the USB port of charging unit.
S202 thens follow the steps S203 if the USB port of charging unit is DCP;Otherwise, step S206 is executed.
S203, intelligent terminal carry out HVDCP process with charging unit and shake hands.
S204, the success if HVDCP process is shaken hands, thens follow the steps S205;Otherwise, step S206 is executed.
S205, charging unit carry out high-voltage high-speed charging to the battery of intelligent terminal.
The second quick charge unit in S206, the first quick charge unit and charging unit carries out low-voltage, high-current charging
Process is shaken hands.
S207, the success if low-voltage, high-current charging process is shaken hands, thens follow the steps S208;Otherwise, step S209 is executed.
S208, charging unit carry out low-voltage, high-current quick charge to the battery of intelligent terminal.
S209, charging unit are that intelligent terminal is commonly charged.
Above-mentioned charging method, intelligent terminal according to preset charged standard criterion identify charging unit USB port whether be
Special charging port;If so, intelligent terminal calls high-voltage charging process, makes application processor control power management chip to electricity
Pond carries out high-voltage high-speed charging;If it is not, then intelligent terminal calls low-voltage, high-current charging process, the first quick charge unit of starting
Low-voltage, high-current quick charge is carried out to battery, so that intelligent terminal can be compatible at least two fast charge modes.
The present invention also proposes a kind of intelligent terminal, for corresponding by establishing between above-mentioned charging method and charging unit
Charging modes, overlaps will not be repeated.Referring to Fig. 3, in one embodiment, intelligent terminal 100 may include USB port, answer
With processor 110, power management chip 120 and battery 160 and the first quick charge unit 150.USB port is used for and fills
The USB port of electric installation connects.Application processor 110 is used to identify the end USB of charging unit according to preset charged standard criterion
Whether mouth is special charging port.If the USB port of charging unit is special charging port, application processor 110 calls height
Charging process is pressed, and sends the first signal to power management chip 120.If the USB port of charging unit is not special charging end
Mouthful, then application processor 110 calls low-voltage, high-current charging process and sends second signal to the first quick charge unit 150.
Power management chip 120 carries out high-voltage high-speed charging to battery 160 according to the first signal.First quick charge unit, 150 basis
Second signal carries out low-voltage, high-current quick charge to battery 130.
Referring to Fig. 3, in one embodiment, intelligent terminal 100 can also include first switch 130 and second switch 140.The
The differential signal end and application processor 110 or that one switch 130 is used to be switched on or switched off in the USB port of intelligent terminal 100
The communication connection of one quick charge unit 150.Second switch 140 is for being switched on or switched off in the USB port of intelligent terminal 100
The connection of voltage end and power management chip 120 or battery 160.
Wherein, when power management chip 120 carries out high-voltage high-speed charging to battery 160 according to the first signal, first is opened
The differential signal end in the USB port that 130 connect intelligent terminal 100 and the communication connection of application processor 110 are closed, and second opens
Close the connection of the voltage end and power management chip 120 in the USB port that 140 connect intelligent terminal 100.
When the first quick charge unit 150 carries out low-voltage, high-current quick charge to battery 160 according to second signal, the
The differential signal end and the first quick charge unit 150 that one switch 130 is connected in the USB port of intelligent terminal 100 communicate to connect,
And the voltage end that second switch is connected in the USB port of intelligent terminal 100 is connect with battery 160.
Further, application processor 110 is also used to calling low-voltage, high-current charging process progress low-voltage, high-current fast
When speed charging failure, third signal is sent to power management chip 120.Power management chip is also used to according to third signal to electricity
It is commonly charged in pond.
Referring to Fig. 3, in one embodiment, under high-voltage high-speed charge mode, first switch 130 connects application processor
110 and intelligent terminal 100 USB port differential signal end communication connection.Second switch 130 powers on managing chip
120 with the connection at the end VBUS of the USB port of intelligent terminal 100.The end VBUS of intelligent terminal 100 according to preset charged parameter to
Battery 160 charges.Power management chip 120 detects the parameter of battery 160 simultaneously, and adjustment is output to battery 160 when needed
Voltage.For example, the output voltage of power management chip 120 is biggish electricity when the electricity of battery 160 is less than default electricity
Pressure value.When the electricity of battery 160 is more than default electricity, 120 output voltage of power management chip is slightly smaller voltage value.
Referring to Fig. 3, in one embodiment, under normal charging mode, first switch 130 connects 110 He of application processor
The communication connection at the differential signal end of the USB port of intelligent terminal 100.Second switch 130 powers on managing chip 120 and intelligence
The connection at the end VBUS of the USB port of energy terminal 100.Power management chip 120 detects the parameter of battery 160 simultaneously, and adjusts
It is output to the voltage of battery 160.It should be noted that the voltage that power management chip 120 exports under normal charging mode, small
In the voltage that power management chip 120 exports under high-voltage high-speed charge mode.
Referring to fig. 4, in one embodiment, detecting that the port connecting with the USB port of intelligent terminal 100 is not DCP
When, the second quick charge unit 210 for including in the first quick charge unit 150 and charging unit 200 carries out low-voltage, high-current
Quick charge process is shaken hands.At this point, first switch 130 connects the end USB of the first quick charge unit 150 and intelligent terminal 100
The communication connection at the differential signal end of mouth.After shaking hands successfully, start low-voltage, high-current fast charge mode.Second switch 130 connects
The connection at the end VBUS of the USB port of energization pond 160 and intelligent terminal 100.The end VBUS of intelligent terminal 100 is according to preset charged
Parameter charges to battery 160.The parameter of the battery 160 of first quick charge unit 150 detection simultaneously, and adjustment output when needed
To the electric current of battery 160.For example, when the electricity of battery 160 is less than default electricity, the VBUS of the USB port of intelligent terminal 100
The output electric current at end is biggish current value.When the electricity of battery 160 is more than default electricity, the USB port of intelligent terminal 100
The end VBUS output electric current be slightly smaller current value.
Above-mentioned intelligent terminal, application processor according to preset charged standard criterion identify charging unit USB port whether
For special charging port;If so, calling high-voltage charging process, and the first signal is sent to power management chip;If it is not, then adjusting
Second signal is sent with low-voltage, high-current charging process, and to the first quick charge unit;Power management chip is according to the first letter
Number to battery carry out high-voltage high-speed charging;First quick charge unit is quick to battery progress low-voltage, high-current according to second signal
Charging, so that intelligent terminal can be compatible at least two fast charge modes.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.