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 withThe USB port of the intelligent terminal connects, and the intelligent terminal includes application processor and power management chip, and the intelligence is eventuallyEnd 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 criterionElectric 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-currentCharging 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 firstThe 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 firstThe 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 withThe connection of power management chip or battery;Then the first quick charge unit of the starting quickly fills battery progress low-voltage, high-currentElectricity step include:
The differential signal end for connecting first switch in the USB port of the intelligent terminal and the first quick charge unitCommunication 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 failureWhen, 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-currentWhen quick charge fails, commonly charged.
A kind of intelligent terminal, including USB port, application processor, power management chip and battery further include first quickCharhing 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 beSpecial charging port if so, calling high-voltage charging process, and sends the first signal to the power management chip;If it is not, thenIt 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 terminalWith 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 terminalManage 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, highWhen pressing quick charge, the first switch is connected at the differential signal end in the USB port of the intelligent terminal and the applicationThe 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 terminalManage 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 fillWhen electric, the first switch connects the differential signal end in the USB port of the intelligent terminal and the first quick charge listThe communication connection of member, and the second switch connects the company of voltage end and the battery in the USB port of the intelligent terminalIt 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 criterionWhether the USB port set is special charging port;If so, calling high-voltage charging process, application processor being made to control power supply pipeIt 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 startingMember 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 inventionMethod and the specific embodiment of intelligent terminal are illustrated.It should be appreciated that specific embodiment described herein is only used toIt 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 unitThe connection of the USB port of (Universal Serial Bus, the universal serial bus) port USB and intelligent terminal.Intelligent terminal packetInclude application processor, power management chip and the first quick charge unit.Referring to Fig. 1, in one embodiment, which canWith including the following steps:
S101, intelligent terminal identify whether the USB port of charging unit is special charging according to preset charged standard criterionPort.
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), dedicatedCharging port (DCP) and charging downlink port (CDP).In the present embodiment, intelligent terminal can pass through the difference of detection USB portThe 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 withThe 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 portNot, 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, makesApplication 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 fastlySpeed charging.For example, intelligent terminal is smart phone, the common charging voltage to smart phone is usually 5V.Then to smart phoneCarrying 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 batteryElectricity.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 notProtection 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 intelligenceThe communication connection at differential signal end and application processor or the first quick charge unit in the USB port of terminal.Second switchThe 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 applicationWhen 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 terminalThe communication connection at differential signal end and application processor in USB port, and control second switch connect the USB of intelligent terminalThe 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 portConnection.In high-voltage high-speed charging process, power management chip detects the parameter of battery, and is filled by application processor to chargingIt 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 pairThe 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 fastThe processing of speed charging.
Wherein, high-voltage charging process can be HVDCP (high voltage dedicated charger port, high pressureSpecial charging port) process.
S103, if the USB port of charging unit is not special charging port, intelligent terminal calls low-voltage, high-current chargingProcess, 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 batteryCarry 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 3ADeng) charging current to battery carry out quick charge.It and can be common charging voltage to the charging voltage of battery.In this sectionThe 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 hasBody 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 terminalConnection;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-currentIn 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 fillsElectric unit can detecte the parameter of battery, and send the second feedback signal to charging unit according to the parameter detected.Charging dressSet 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 electricityThe 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-currentCharging 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 firstWhen quick charge unit carries out low-voltage, high-current quick charge failure to battery, commonly charged.Wherein, battery is carried out generalIt 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 rightThe 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 chargingProcess 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 beSpecial charging port;If so, intelligent terminal calls high-voltage charging process, makes application processor control power management chip to electricityPond 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 startingLow-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 unitCharging modes, overlaps will not be repeated.Referring to Fig. 3, in one embodiment, intelligent terminal 100 may include USB port, answerWith processor 110, power management chip 120 and battery 160 and the first quick charge unit 150.USB port is used for and fillsThe USB port of electric installation connects.Application processor 110 is used to identify the end USB of charging unit according to preset charged standard criterionWhether mouth is special charging port.If the USB port of charging unit is special charging port, application processor 110 calls heightCharging process is pressed, and sends the first signal to power management chip 120.If the USB port of charging unit is not special charging endMouthful, 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 basisSecond 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.TheThe 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 100The 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 100The 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 openedThe 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 opensClose 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, theThe 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 fastWhen speed charging failure, third signal is sent to power management chip 120.Power management chip is also used to according to third signal to electricityIt is commonly charged in pond.
Referring to Fig. 3, in one embodiment, under high-voltage high-speed charge mode, first switch 130 connects application processor110 and intelligent terminal 100 USB port differential signal end communication connection.Second switch 130 powers on managing chip120 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 toBattery 160 charges.Power management chip 120 detects the parameter of battery 160 simultaneously, and adjustment is output to battery 160 when neededVoltage.For example, the output voltage of power management chip 120 is biggish electricity when the electricity of battery 160 is less than default electricityPressure 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 processorThe communication connection at the differential signal end of the USB port of intelligent terminal 100.Second switch 130 powers on managing chip 120 and intelligenceThe 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 adjustsIt 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, smallIn 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 DCPWhen, the second quick charge unit 210 for including in the first quick charge unit 150 and charging unit 200 carries out low-voltage, high-currentQuick 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 100The communication connection at the differential signal end of mouth.After shaking hands successfully, start low-voltage, high-current fast charge mode.Second switch 130 connectsThe 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 chargedParameter charges to battery 160.The parameter of the battery 160 of first quick charge unit 150 detection simultaneously, and adjustment output when neededTo 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 100The 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 100The 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 whetherFor 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 adjustingSecond 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 letterNumber 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 signalCharging, 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 simultaneouslyLimitations 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 artFor, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the inventionProtect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.