CN107124012A - Charging method, device, charger, terminal and system - Google Patents
Charging method, device, charger, terminal and system Download PDFInfo
- Publication number
- CN107124012A CN107124012A CN201610104442.XA CN201610104442A CN107124012A CN 107124012 A CN107124012 A CN 107124012A CN 201610104442 A CN201610104442 A CN 201610104442A CN 107124012 A CN107124012 A CN 107124012A
- Authority
- CN
- China
- Prior art keywords
- terminal
- charger
- voltage
- vbus pins
- indication information
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The disclosure is directed to a kind of charging method, device, charger, terminal and system, belong to power supply technique field.Methods described includes:Charger sends the configuration information of charger by VBUS pins to terminal;Output indication information is received from terminal by VBUS pins, the output indication information is determined by terminal according to the current state parameter of configuration information and the battery of terminal;Circuit for providing voltage and VBUS pins are connected, the electric energy for the battery charging for terminal is exported to terminal according to output indication information control voltage offer circuit.The disclosure realizes that charger is recognized using VBUS pins, data transfer is realized using DP pins and DM pins, there is bifurcated in the transmission path for fundamentally avoiding the data wire of connection DP pins and DM pins, and then improve the success rate of charger identification, it is ensured that signal quality when carrying out data transmission between USB master-slave equipments.
Description
Technical field
This disclosure relates to power supply technique field, more particularly to a kind of charging method, device, charger, terminal
And system.
Background technology
At present, such as the terminal of mobile phone, tablet personal computer etc generally using USB (Universal Serial Bus,
USB) interface charged and data transfer.
USB interface includes VBUS (voltage bus) pin, DP (Digital Positive, data are just) and drawn
Pin (also referred to as D+ pins), DM (Digital Minus, data minus) pin (also referred to as D- pins) and
GND (Ground, ground wire) pin.In the related art, DP pins and DM pins respectively with terminal
The charging IC (Integrated Circuit, integrated circuit) that puts is electrically connected with, terminal by USB interface with
In the case that charger is connected, charging IC is communicated by DP pins and DM pins with charger, real
Now charger is identified.In addition, CPU (the Central of DP pins and DM pins also respectively with terminal
Processing Unit, central processing unit) it is electrically connected with, it is connected in terminal by USB interface with other terminals
In the case of, CPU is communicated by DP pins and DM pins with other terminals, realizes USB principals and subordinates
Data transfer between equipment.
Therefore, in the related art, the transmission path of the data wire of connection DP pins and DM pins, which exists, divides
Fork, wherein one is connected to charging IC, another is connected to CPU.On the one hand above-mentioned connected mode can influence
To charger identification, there is the hidden danger of charger identification mistake, on the other hand also influence whether that USB principals and subordinates set
Signal quality when carrying out data transmission between standby.
The content of the invention
In order to overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of charging method, dress
Put, charger, terminal and system.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure there is provided a kind of charging method, the control applied to charger
In coremaking piece, the charger includes:Circuit for providing voltage, the control chip and USB interface;Wherein,
The control chip and the circuit for providing voltage are electrically connected with, the control chip also with the USB interface
VBUS pins and GND pin be electrically connected with;
Methods described includes:
The configuration information of the charger is sent to terminal by the VBUS pins;
By the VBUS pins from the terminal receive output indication information, the output indication information by
The terminal is determined according to the current state parameter of the configuration information and the battery of the terminal;
The circuit for providing voltage and the VBUS pins are connected, institute is controlled according to the output indication information
State circuit for providing voltage and the electric energy charged for the battery for the terminal is exported to the terminal.
Alternatively, the configuration information for sending the charger to terminal by the VBUS pins, bag
Include:
The configuration information of the charger is obtained, the configuration information at least includes maximum output voltage and maximum
Output current;
It is determined that the level signal for representing the configuration information;
The level signal is sent to the terminal by the VBUS pins.
Alternatively, methods described also includes:
In charging process, the output indication after regulation is received from the terminal by the VBUS pins and is believed
Breath, the output indication information after the regulation is determined by the terminal according to present charge state, described current
Charged state is any one in trickle charge state, constant-current charge state and constant-voltage charge state;
Control the circuit for providing voltage to export to the terminal according to the output indication information after the regulation to use
In the electric energy of the battery charging for the terminal.
Alternatively, methods described also includes:
The circuit for providing voltage and the VBUS pins in an ON state under, pass through the VBUS
Pin exports default voltage to the terminal;
After the pulling operation corresponding to voltage on the VBUS pins is detected, disconnect the voltage and carry
The connection powered between road and the VBUS pins;
After the connection between the circuit for providing voltage and the VBUS pins is disconnected, perform described logical
Cross the VBUS pins to terminal send the configuration information of the charger the step of.
Alternatively, methods described also includes:
After the configuration information is sent to the terminal, if not received within first scheduled time described
The first of terminal feedback confirms response, then sends the first prompt message;
Wherein, described first confirms that response is used to indicate that the terminal has been properly received the configuration information.
Alternatively, methods described also includes:
After the output indication information is received from the terminal, send second to the terminal and confirm to respond,
Described second confirms that response is used to indicate that the charger has been properly received the output indication information;
After the upper pulling process corresponding to voltage on the VBUS pins is detected, the connection institute is performed
Circuit for providing voltage and the VBUS pins are stated, controls the voltage to provide according to the output indication information
The step of circuit exports the electric energy for the battery charging for the terminal to the terminal.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of charging method, the control applied to terminal
In chip, the terminal includes:Battery, PMIC (Power Management Integrated Circuit, electricity
Source control integrated circuit), the control chip and USB interface;Wherein, the battery and the PMIC
Be electrically connected with, the control chip and the PMIC are electrically connected with, the control chip also with the USB
The VBUS pins and GND pin of interface are electrically connected with;
Methods described includes:
The configuration information that charger is sent is received by the VBUS pins;
According to the current state parameter of the configuration information and battery, output indication information is determined;
The output indication information is sent to the charger by the VBUS pins;
The electric energy provided by the charger according to the output indication information is received by the VBUS pins;
The VBUS pins and the PMIC are connected, the electric energy is used for the electricity by the PMIC
Charge in pond.
It is alternatively, described that the output indication information is sent to the charger by the VBUS pins,
Including:
It is determined that the level signal for representing the output indication information;Wherein, the output indication information is extremely
It is few to include specifying output voltage and specified output current;
The level signal is sent to the charger by the VBUS pins.
Alternatively, methods described also includes:
In charging process, present charge state is determined by the PMIC, the present charge state is
Any one in trickle charge state, constant-current charge state and constant-voltage charge state;
Output indication information after regulation is determined according to the present charge state;
Output indication information after the regulation is sent to the charger by the VBUS pins.
Alternatively, methods described also includes:
When having the default voltage of the charger output on the VBUS pins are detected, execution corresponds to
The pulling operation of voltage on the VBUS pins, to cause the charger detecting the pulling operation
Afterwards, the connection between the circuit for providing voltage and VBUS pins of the charger is disconnected, and it is backward described
Terminal sends the configuration information.
Alternatively, methods described also includes:
After the output indication information is sent to the charger, if being received not within second scheduled time
Confirm response to the charger feeds back second, then send the second prompt message;
Wherein, described second confirms that response is used to indicate that the charger has been properly received the output indication letter
Breath.
Alternatively, methods described also includes:
After the second confirmation response that the charger is sent is received, perform and correspond to the VBUS
The upper pulling process of voltage on pin, to cause the charger detecting on described after pulling process, is connected
The circuit for providing voltage and VBUS pins of the charger, then control institute according to the output indication information
State circuit for providing voltage and provide the electric energy to the terminal.
Alternatively, methods described also includes:
After the electric energy that the charger is provided is received, detect that voltage is on the VBUS pins
It is no to be more than maximum charging voltage;
If on the VBUS pins voltage be less than or equal to the maximum charging voltage, perform described in connect
Lead to the VBUS pins and the PMIC, use the electric energy to be charged for the battery by the PMIC
The step of.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of charging device, the control applied to charger
In coremaking piece, the charger includes:Circuit for providing voltage, the control chip and USB interface;Wherein,
The control chip and the circuit for providing voltage are electrically connected with, the control chip also with the USB interface
VBUS pins and GND pin be electrically connected with;
Described device includes:
Sending module, is configured as matching somebody with somebody confidence to the terminal transmission charger by the VBUS pins
Breath;
Receiving module, is configured as receiving output indication information from the terminal by the VBUS pins,
The output indication information is by current state of the terminal according to the configuration information and the battery of the terminal
Parameter is determined;
Output module, is configured as connecting the circuit for providing voltage and the VBUS pins, according to described
The output indication information control circuit for providing voltage is exported to the terminal to be filled for the battery for the terminal
The electric energy of electricity.
Alternatively, the sending module, including:Acquisition submodule, determination sub-module and sending submodule;
The acquisition submodule, is configured as obtaining the configuration information of the charger, the configuration information is extremely
Include maximum output voltage and maximum output current less;
The determination sub-module, is configured to determine that the level signal for representing the configuration information;
The sending submodule, is configured as sending the level to the terminal by the VBUS pins
Signal.
Alternatively, the receiving module, is additionally configured in charging process, passes through the VBUS pins
The output indication information after regulation is received from the terminal, the output indication information after the regulation is by the end
End determines that the present charge state is trickle charge state, constant-current charge state according to present charge state
With any one in constant-voltage charge state;
The output module, is additionally configured to control the voltage according to the output indication information after the regulation
Circuit is provided the electric energy charged for the battery for the terminal is exported to the terminal.
Alternatively, described device also includes:
Give tacit consent to output module, be configured as being in the VBUS pins in the circuit for providing voltage and connect
Under state, default voltage is exported to the terminal by the VBUS pins;
Connection disconnects module, is configured as detecting the drop-down behaviour corresponding to voltage on the VBUS pins
After work, the connection between the circuit for providing voltage and the VBUS pins is disconnected;
The sending module, be additionally configured to disconnect the circuit for providing voltage and the VBUS pins it
Between connection after, the configuration information of the charger is sent to terminal by the VBUS pins.
Alternatively, described device also includes:
Reminding module, is configured as after the configuration information is sent to the terminal, if not pre- first
First that the terminal feedback is received in fixing time confirms response, then sends the first prompt message;
Wherein, described first confirms that response is used to indicate that the terminal has been properly received the configuration information.
Alternatively, described device also includes:
Respond module, was configured as after the output indication information is received from the terminal, to the end
End transmission second confirms response, and described second confirms response for indicating that it is described that the charger has been properly received
Output indication information;
The output module, is additionally configured to detecting the pull-up corresponding to voltage on the VBUS pins
After operation, the circuit for providing voltage and the VBUS pins are connected, according to the output indication information
The circuit for providing voltage is controlled to export the electric energy for the battery charging for the terminal to the terminal.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of charging device, the control applied to terminal
In chip, the terminal includes:Battery, PMIC, the control chip and USB interface;Wherein, it is described
Battery is electrically connected with the PMIC, and the control chip is electrically connected with the PMIC, the control core
Piece is also electrically connected with the VBUS pins and GND pin of the USB interface;
Described device includes:
Receiving module, is configured as receiving the configuration information that charger is sent by the VBUS pins;
Determining module, is configured as the current state parameter according to the configuration information and battery, it is determined that output
Configured information;
Sending module, is configured as sending the output indication to the charger by the VBUS pins
Information;
Acquisition module, is configured as obtaining by the charger according to the output by the VBUS pins
The electric energy that configured information is provided;
Charging module, is configured as connecting the VBUS pins and the PMIC, is adopted by the PMIC
Charged with the electric energy for the battery.
Alternatively, the sending module, including:Determination sub-module and sending submodule;
The determination sub-module, is configured to determine that the level signal for representing the output indication information;
Wherein, the output indication information at least includes specifying output voltage and specified output current;
The sending submodule, is configured as sending the electricity to the charger by the VBUS pins
Ordinary mail number.
Alternatively, described device also includes:
State determining module, is configured as in charging process, and current charging shape is determined by the PMIC
State, the present charge state is times in trickle charge state, constant-current charge state and constant-voltage charge state
Meaning is a kind of;
Determining module is adjusted, is configured as determining the output indication letter after regulation according to the present charge state
Breath;
The sending module, is additionally configured to send described adjust to the charger by the VBUS pins
Output indication information after section.
Alternatively, described device also includes:
Module is pulled down, the acquiescence for having the charger output on the VBUS pins are detected is configured as
During voltage, the pulling operation for corresponding to voltage on the VBUS pins is performed, to cause the charger to exist
After detecting the pulling operation, between the circuit for providing voltage and VBUS pins that disconnect the charger
Connection, and after send the configuration information to the terminal.
Alternatively, described device also includes:
Reminding module, is configured as after the output indication information is sent to the charger, if not existing
Second that the charger feedback is received in second scheduled time confirms response, then sends the second prompt message;
Wherein, described second confirms that response is used to indicate that the charger has been properly received the output indication letter
Breath.
Alternatively, described device also includes:
Module is pulled up, is configured as after the second confirmation response that the charger is sent is received,
The upper pulling process for corresponding to voltage on the VBUS pins is performed, to cause the charger detecting
State after pulling process, the circuit for providing voltage and VBUS pins of the charger are connected, then according to institute
Stating output indication information controls the circuit for providing voltage to provide the electric energy to the terminal.
Alternatively, described device also includes:
Detection module, is configured as after the electric energy that the charger is provided is received, detection is described
Whether voltage is more than maximum charging voltage on VBUS pins;
The charging module, be additionally configured on the VBUS pins voltage be less than or equal to it is described most
In the case of big charging voltage, the VBUS pins and the PMIC are connected, is used by the PMIC
The electric energy charges for the battery.
According to the 5th of the embodiment of the present disclosure the aspect there is provided a kind of charger, for the battery in terminal
Charging, the charger includes:Circuit for providing voltage, control chip and USB interface;Wherein, the control
Coremaking piece and the circuit for providing voltage are electrically connected with, the control chip also with the USB interface
VBUS pins and GND pin are electrically connected with;
The control chip includes:Processor and for the memory for the executable instruction for storing the processor;
The processor, is configured as:
The configuration information of the charger is sent to terminal by the VBUS pins;
By the VBUS pins from the terminal receive output indication information, the output indication information by
The terminal is determined according to the current state parameter of the configuration information and the battery of the terminal;
The circuit for providing voltage and the VBUS pins are connected, institute is controlled according to the output indication information
State circuit for providing voltage and the electric energy charged for the battery for the terminal is exported to the terminal.
According to the 6th of the embodiment of the present disclosure the aspect there is provided a kind of terminal, the terminal includes:Battery,
PMIC, control chip and USB interface;Wherein, the battery is electrically connected with the PMIC, the control
Coremaking piece is electrically connected with the PMIC, VBUS pin of the control chip also with the USB interface
It is electrically connected with GND pin;
The control chip includes:Processor and for the memory for the executable instruction for storing the processor;
The processor, is configured as:
The configuration information that charger is sent is received by the VBUS pins;
According to the current state parameter of the configuration information and battery, output indication information is determined;
The output indication information is sent to the charger by the VBUS pins;
The electric energy provided by the charger according to the output indication information is received by the VBUS pins;
The VBUS pins and the PMIC are connected, the electric energy is used for the electricity by the PMIC
Charge in pond.
According to the 7th of the embodiment of the present disclosure the aspect there is provided a kind of charging system, the charging system includes:
Charger, USB connecting lines and terminal;Wherein, the charger passes through the USB connecting lines and the end
End is connected;
The charger is the charger as described in terms of the 5th;
The terminal is the terminal as described in terms of the 6th.
The technical scheme that the embodiment of the present disclosure is provided can include the following benefits:
Charger sends the configuration information of charger by VBUS pins to terminal, and passes through VBUS pins
Output indication information is received from terminal, circuit for providing voltage and VBUS pins is then connected, is referred to according to output
Show that information control voltage provides circuit and the electric energy charged for the battery for terminal is exported to terminal;Solve phase
The connected mode that pass technology is provided, on the one hand influences whether that charger is recognized, there is charger identification mistake
Hidden danger, signal quality when on the other hand also influencing whether to carry out data transmission between USB master-slave equipments is asked
Topic;Realize that charger is recognized using VBUS pins, data transfer realized using DP pins and DM pins,
There is bifurcated, Jin Erti in the transmission path for fundamentally avoiding the data wire of connection DP pins and DM pins
The success rate of high charger identification, it is ensured that signal quality when carrying out data transmission between USB master-slave equipments.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory,
The disclosure can not be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows and meets the disclosure
Embodiment, and be used to together with specification to explain the principle of the disclosure.
Figure 1A is a kind of schematic diagram of charging system according to an exemplary embodiment;
Figure 1B is a kind of schematic diagram of charging system according to another exemplary embodiment;
Fig. 2 is a kind of flow chart of charging method according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of charging method according to another exemplary embodiment;
Fig. 4 A are a kind of flow charts of charging method according to another exemplary embodiment;
Fig. 4 B are a kind of flow charts of charging method according to another exemplary embodiment;
Fig. 5 is a kind of block diagram of charging device according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of charging device according to another exemplary embodiment;
Fig. 7 is a kind of block diagram of charging system according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following retouches
State when being related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.
Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure
Formula.On the contrary, they be only be described in detail in such as appended claims, disclosure some in terms of phase one
The example of the apparatus and method of cause.
Figure 1A is a kind of schematic diagram of charging system according to an exemplary embodiment.As shown in Figure 1A,
The charging system includes:Charger 10, USB connecting lines 20 and terminal 30.Wherein, charger 10 passes through
USB connecting lines 20 are connected with terminal 30.
Charger 10 is also referred to as power supply adaptor, for being charged for the battery 32 in terminal 30.Charger 10
Including:Circuit for providing voltage 12, control chip 14 and usb 16.Wherein, control chip 14 with
Circuit for providing voltage 12 is electrically connected with.VBUS pin and GND of the control chip 14 also with usb 16
Pin is electrically connected with.
Circuit for providing voltage 12 is used to being converted to input supply voltage into the DC voltage available for charging.Logical
In the case of often, with reference to Figure 1B is referred to, circuit for providing voltage 12 includes AC/DC (ac/dc) and converts electricity
Road 121 and reduction voltage circuit 122.The input of AC/DC translation circuits 121 is connected with AC power, AC/DC
The output end of translation circuit 121 is connected with the input of reduction voltage circuit 122, and AC/DC translation circuits 121 are used
In the alternating current of input is converted into direct current.Reduction voltage circuit 122 is also referred to as Buck-converter, decompression electricity
The input on road 122 is connected with the output end of AC/DC translation circuits 121, the output end of reduction voltage circuit 122
It is connected with control chip 14, reduction voltage circuit 122 is used for the direct current exported to AC/DC translation circuits 121
Pressure is depressured, DC voltage of the output available for charging.
With reference to Figure 1B is referred to, control chip 14 includes:Control assembly 141, sending assembly 142, reception group
Part 143 and power supply module 144.Power supply module 144 is used to provide power supply needed for control chip 14, Ye Jiyong
Electricity needed for control assembly 141, sending assembly 142 and the receiving unit 143 in control chip 14 are provided
Source.Sending assembly 142 and receiving unit 143 are respectively used to send and receive data.Control assembly 141 is used
In control sending assembly 142 and receiving unit 143, and possess data processing and store function.
Terminal 30 can be the electricity such as mobile phone, tablet personal computer, multimedia play equipment, E-book reader
Sub- equipment.Terminal 30 includes:Battery 32, PMIC34, control chip 36 and USB interface 38.Wherein,
Battery 32 and PMIC34 is electrically connected with.Control chip 36 and PMIC34 is electrically connected with.Control chip 36
VBUS pins and GND pin also with USB interface 38 are electrically connected with.
With reference to Figure 1B is referred to, control chip 36 includes:Control assembly 361, sending assembly 362, reception group
Part 363 and power supply module 364.Power supply module 364 is used to provide power supply needed for control chip 36, Ye Jiyong
Electricity needed for control assembly 361, sending assembly 362 and the receiving unit 363 in control chip 36 are provided
Source.Sending assembly 362 and receiving unit 363 are respectively used to send and receive data.Control assembly 361 is used
In control sending assembly 362 and receiving unit 363, and possess data processing and store function.In practical application
In, the control chip 36 in control chip 14 and terminal 30 in charger 10 can use identical hardware
Structure, difference is the Firmware (firmware) that burning control chip is distinguished in production, to control core
Piece realizes corresponding different function.
In addition, with reference to Figure 1B is referred to, terminal 30 also includes CPU39.CPU39 respectively with USB interface
38 DP pins and DM pins is electrically connected with, so as to realize the data transfer between USB master-slave equipments.
USB connecting lines 20 are used to connect the usb 16 of charger 10 and the USB interface of terminal 30
38.USB connecting lines 20 at least include VBUS connecting lines and GND connecting lines.Wherein, VBUS connections
One end of line is connected with the VBUS pins of the usb 16 of charger 10, the other end and terminal 30
The VBUS pins of USB interface 38 are connected.One end of GND connecting lines and the USB interface of charger 10
16 GND pin is connected, and the other end is connected with the GND pin of the USB interface 38 of terminal 30.
In the embodiment of the present disclosure, the USB interface technology used can be based on USB2.0 agreements, or be based on down
Generation USB communication protocol.By taking USB2.0 agreements as an example, the type of corresponding USB interface includes Micro
USB, Mini USB and standard USB etc. are a variety of.USB interface generally include VBUS pins, DP pins,
DM pins and GND pin, part USB interface also include ID (Identity, identity) pin.With phase
Pass technology using DP pins and DM pins realize charger recognize except that, carried in the embodiment of the present disclosure
In the technical scheme of confession, realize that charger is recognized using VBUS pins, fundamentally to overcome correlation technique
The problems of.
Below, the technical scheme provided by several embodiments the disclosure is introduced and illustrated.
Fig. 2 is a kind of flow chart of charging method according to an exemplary embodiment, and this method can be applied
In the control chip 14 of charger 10 in charging system shown in Figure 1A and Figure 1B.This method can be wrapped
Include following several steps.
In step 202., the configuration information of charger is sent to terminal by VBUS pins.
In step 204, output indication information, output indication letter are received from terminal by VBUS pins
Breath is determined by terminal according to the current state parameter of configuration information and the battery of terminal.
In step 206, circuit for providing voltage and VBUS pins are connected, is controlled according to output indication information
Circuit for providing voltage exports the electric energy for the battery charging for terminal to terminal.
In summary, the method that the present embodiment is provided, charger is sent by VBUS pins to terminal to charge
The configuration information of device, and output indication information is received from terminal by VBUS pins, then connect voltage and carry
Power supply road and VBUS pins, provide circuit according to output indication information control voltage and are exported to terminal for being
The electric energy of the battery charging of terminal;The connected mode of correlation technique offer is provided, on the one hand influences whether to fill
Electrical equipment recognize, exist charger identification mistake hidden danger, on the other hand also influence whether USB master-slave equipments it
Between signal quality when carrying out data transmission the problem of;Realize that charger is recognized using VBUS pins, use
DP pins and DM pins realize data transfer, fundamentally avoids connection DP pins and DM pins
There is bifurcated in the transmission path of data wire, and then improve the success rate of charger identification, it is ensured that USB principals and subordinates set
Signal quality when carrying out data transmission between standby.
Fig. 3 is a kind of flow chart of charging method according to another exemplary embodiment, and this method can be answered
In control chip 36 for the terminal 30 in charging system shown in Figure 1A and Figure 1B.This method can be wrapped
Include following several steps.
In step 302, the configuration information that charger is sent is received by VBUS pins.
In step 304, according to the current state parameter of configuration information and battery, output indication information is determined.
Within step 306, output indication information is sent to charger by VBUS pins.
In step 308, the electricity provided by charger according to output indication information is received by VBUS pins
Energy.
In the step 310, VBUS pins and PMIC are connected, above-mentioned electric energy is used for battery by PMIC
Charging.
In summary, the method that the present embodiment is provided, terminal receives what charger was sent by VBUS pins
Configuration information, and output indication information is fed back to charger by VBUS pins, and then drawn by VBUS
Pin receives the electric energy provided by charger according to output indication information, connects VBUS pins and PMIC, passes through
PMIC uses above-mentioned electric energy to be charged for battery;The connected mode of correlation technique offer is provided, on the one hand can shadow
Ring to charger identification, there is the hidden danger of charger identification mistake, on the other hand also influence whether USB principals and subordinates
The problem of signal quality when carrying out data transmission between equipment;Realize that charger is recognized using VBUS pins,
Data transfer is realized using DP pins and DM pins, connection DP pins is fundamentally avoided and DM draws
There is bifurcated in the transmission path of the data wire of pin, and then improve the success rate of charger identification, it is ensured that USB master
Signal quality when carrying out data transmission between slave unit.
Fig. 4 A are a kind of flow charts of charging method according to another exemplary embodiment, the present embodiment with
This method is illustrated applied to charging system shown in Figure 1A and Figure 1B.This method can include as follows
Several steps.
In step 401, charger circuit for providing voltage and VBUS pins in an ON state under,
Charger exports default voltage by VBUS pins to terminal.
Default Connected State between the circuit for providing voltage and VBUS pins of charger can be to turn on state,
Namely the default switch state of the switch S1 in the control chip of charger shown in Figure 1B is closure state.
Charger connects terminal and after plugging in by USB connecting lines, the control chip control voltage of charger
Circuit output default voltage is provided, and default voltage is exported to terminal by VBUS pins.In normal conditions
Under, default voltage is 5V.
In step 402, when terminal has the default voltage that charger is exported on VBUS pins are detected,
Perform the pulling operation for corresponding to voltage on VBUS pins.
, will be silent when the control chip of terminal has the default voltage that charger is exported on VBUS pins are detected
Recognize voltage and be pulled down to 0V, continue the first scheduled duration, then by voltage on VBUS pins from 0V recover to
Default voltage.Wherein, the first scheduled duration can be preset according to the actual requirements, such as 1ms or 50ms
Deng.Terminal performs pulling operation, for informing that both chargers are successfully established connection.
In step 403, charger is after the pulling operation corresponding to voltage on VBUS pins is detected,
Off voltage provides the connection between circuit and VBUS pins.
With reference to Figure 1B is referred to, the control chip of charger is being detected corresponding under voltage on VBUS pins
After pulling process, switch S1 is disconnected so that voltage is changed into 0V on VBUS pins, then performs following steps
Rapid 404.
In step 404, after the connection that off voltage provides between circuit and VBUS pins, charging
Device sends the configuration information of charger by VBUS pins to terminal.
The configuration information of charger is used for the type for indicating charger.The configuration information of charger is at least included most
Big output voltage and maximum output current.Alternatively, the configuration information of charger also includes:Maximum work output
Rate, for indicating whether charger is supported in the configured information and check value of dynamic regulation power output at least
One.Wherein, verification mode can use odd or even parity check, and the present embodiment is not construed as limiting to this.
In the disclosed embodiments, the single-wire communication protocol based on VBUS pins is built, realizes that charger is known
Not.This step includes following several sub-steps:
1st, charger obtains the configuration information of itself;
2nd, charger determines the level signal for representing above-mentioned configuration information;
3rd, above-mentioned level signal is sent to terminal by VBUS pins.
In a kind of possible embodiment, the above-mentioned level signal for being used to represent the configuration information of charger
Length is 1 byte, namely 8bit (bit).Wherein, 2 bits are used to indicate the maximum defeated of charger
Go out power, 2 bits are used for the maximum output voltage for indicating charger, and 2 bits are used to indicate to charge
The maximum output current of device, 1 bit is used to indicate whether charger supports dynamic regulation power output, 1
Individual bit is used to indicate check value.
For example, from BIT0 to BIT7 totally 8 bits, the information such as following table -1 indicated by each bit
It is shown:
Table -1
Assuming that it is that 9V, maximum output current are that the peak power output of charger, which is 18W, maximum output voltage,
2A, charger do not support dynamic regulation power output and verification mode uses odd, then for representing above-mentioned
The level signal of configuration information is 00010101.Certainly, the data protocol form shown in above-mentioned table -1 only shows
Example property and explanatory, is not used to limit the disclosure.
In addition, the configuration information of charger also includes start bit and stop position.In a kind of possible embodiment
In, start bit is used and represented by 0V to default voltage rising edge, and stop position is used by default voltage to 0V
Trailing edge represent.In alternatively possible embodiment, start bit is used under default voltage to 0V
Drop is used and represented by 0V to default voltage rising edge along expression, stop position.
In addition, the scope of the output voltage corresponding to high level signal can be 3V to 3.3V, should in the range of
Voltage representative value be 3.3V;The scope of output voltage corresponding to low level signal can be 1.62V extremely
1.98V, the voltage representative value in the range of this is 1.8V.Therefore, in one example, represented using 3.3V
High level signal, low level signal is represented using 1.8V, the control chip of charger by VBUS pins according to
Sequence exports logic level signal, realizes the configuration information that charger is sent to terminal.
Correspondingly, the control chip of terminal receives the configuration information that charger is sent by VBUS pins.
In step 405, terminal sends first true after configuration information is received from charger to charger
Recognize response.
First confirms that response has been properly received configuration information for instruction terminal.
Charger is to after terminal send configuration information, if it is anti-not receive terminal within first scheduled time
The first of feedback confirms response, then sends the first prompt message.Wherein, first scheduled time can be according to actual need
Ask and preset, such as 50ms.First prompt message is used to point out the connection between user's charger and terminal to deposit
In problem, user can plug connection charger and the USB line of terminal again accordingly, to attempt to recover normally to connect
Connect.In the present embodiment, the type to the first prompt message is not construed as limiting, such as text prompt, voice message
Or sound and light alarm prompting etc..For example, charger sends the first prompt message by flashing red light.
In a step 406, terminal determines output indication according to the current state parameter of configuration information and battery
Information.
The current state for the battery that the control chip of terminal is obtained according to the configuration information and PMIC received is joined
Number, determines output indication information.Wherein, the current state parameter of battery is used for the current state for indicating battery,
The parameters such as including but not limited to current cell voltage, battery temperature, battery core type.Output indication information is used
In the output voltage and output current of specifying charger.Output indication information at least include specify output voltage and
Output current is specified, it is optional also to include specifying power output.
In step 407, terminal sends output indication information by VBUS pins to charger.
The control chip of terminal sends output indication information by VBUS pins to charger.
Similar with above-mentioned steps 404, this step includes following several sub-steps:
1st, terminal determines the level signal for representing output indication information;
2nd, terminal sends above-mentioned level signal by VBUS pins to charger.
Still by taking the agreement regulation shown in above-mentioned table -1 as an example, it is assumed that specify power output for 10W, specify defeated
Go out voltage to be 5V and specify output current to be 2A, then for representing the level signal of above-mentioned output indication information
For 10100100.
Correspondingly, the control chip of charger receives output indication information by VBUS pins from terminal.
In a step 408, charger sends second after output indication information is received from terminal to terminal
Confirm response.
Second confirms that response is used to indicate that charger has been properly received output indication information.
Terminal is filled after output indication information is sent to charger if not received within second scheduled time
The second of electrical equipment feedback confirms response, then sends the second prompt message.Wherein, second scheduled time can basis
Actual demand is preset, such as 50ms.Second prompt message is used to point out between user's charger and terminal
There is problem in connection, user can plug connection charger and the USB line of terminal again accordingly, to attempt to recover
Normal connection.In the present embodiment, the type to the second prompt message is not construed as limiting, such as text prompt, language
Sound is pointed out or sound and light alarm is pointed out etc..For example, terminal shows corresponding text prompt.
In step 409, terminal performs correspondence after receive charger transmission second confirms response
In the upper pulling process of voltage on VBUS pins.
The control chip of terminal is confirmed in receive charger transmission second after response, by VBUS pins
Upper voltage is pulled to default voltage from 0V, continues the second scheduled duration, then by voltage on VBUS pins from
Default voltage is recovered to 0V.Wherein, the second scheduled duration can be preset according to the actual requirements, such as 1ms or
Person 50ms etc..Terminal performs upper pulling process, for informing that charger terminal has carried out the preparation of reception electric energy,
The exportable electric energy for being used to be charged for the battery of terminal of charger.
In step 410, charger is after the upper pulling process corresponding to voltage on VBUS pins is detected,
The circuit for providing voltage and VBUS pins of charger are connected, electricity is provided according to output indication information control voltage
Road direction terminal exports the electric energy for the battery charging for terminal.
With reference to Figure 1B is referred to, the control chip of charger is being detected on above-mentioned after pulling process, closure switch
S1, control voltage provides circuit according to the specified output voltage and specified output current needed for terminal from VBUS
Pin exports electric energy.
Correspondingly, the control chip of terminal is received by charger according to output indication information by VBUS pins
The electric energy of offer.
In step 411, terminal is after the electric energy of charger offer is received, on detection VBUS pins
Whether voltage is more than maximum charging voltage.
Alternatively, in order to provide charging security, the control chip of terminal is receiving the electricity of charger offer
After energy, whether voltage is more than maximum charging voltage on detection VBUS pins.Wherein, maximum charging voltage
It can preset according to the actual requirements.
In step 412, if voltage is less than or equal to maximum charging voltage, terminal on VBUS pins
The VBUS pins and PMIC of terminal are connected, uses above-mentioned electric energy to be charged for battery by PMIC.
If voltage is less than or equal to maximum charging voltage on VBUS pins, the control chip of terminal is connected
Switch S4 in the VBUS pins and PMIC of terminal, such as closure Figure 1B, above-mentioned electricity is used by PMIC
Can be battery charging.In addition, if voltage is more than maximum charging voltage on VBUS pins, terminal sends report
Alert information, points out the output voltage of user's charger too high with this.
Hereafter, the PMIC of terminal is being detected after battery electric quantity is full of, and notifies the control chip of terminal to break
The charging path between the VBUS pins of terminal and PMIC is opened, whole charging process terminates.
In summary, the method that the present embodiment is provided, charger is sent by VBUS pins to terminal to charge
The configuration information of device, and output indication information is received from terminal by VBUS pins, then connect voltage and carry
Power supply road and VBUS pins, provide circuit according to output indication information control voltage and are exported to terminal for being
The electric energy of the battery charging of terminal;The connected mode of correlation technique offer is provided, on the one hand influences whether to fill
Electrical equipment recognize, exist charger identification mistake hidden danger, on the other hand also influence whether USB master-slave equipments it
Between signal quality when carrying out data transmission the problem of;Realize that charger is recognized using VBUS pins, use
DP pins and DM pins realize data transfer, fundamentally avoids connection DP pins and DM pins
There is bifurcated in the transmission path of data wire, and then improve the success rate of charger identification, it is ensured that USB principals and subordinates set
Signal quality when carrying out data transmission between standby.
In another embodiment provided based on Fig. 4 A illustrated embodiments, as shown in Figure 4 B, above-mentioned steps 412
Also include following several steps afterwards, to realize that the power output to charger in charging process enters Mobile state
Regulation.
In step 413, in charging process, terminal determines present charge state by PMIC.
In charging process, the control chip of terminal determines present charge state by PMIC.Current charging
State is any one in trickle charge state, constant-current charge state and constant-voltage charge state.
In the case of cell voltage relatively low (as being less than 2.9V), using trickle charge mode, i.e., using small
Electric current charges, it is to avoid heavy current impact brings infringement to inside battery structure, to play the purpose of protection battery.
In the case of cell voltage higher (as being higher than 2.9V), using constant-current charge mode, i.e., using high current
Charging, to play the purpose for saving the charging interval.With the progress of charging, cell voltage gradually rises, when
Cell voltage reaches or during close to full voltage (such as 4.2V), using constant voltage charging method, keeps charging electricity
Pressure is basically unchanged, and is gradually reduced charging current, to play the purpose for avoiding overcharging.
In step 414, terminal determines the output indication information after regulation according to present charge state.
Output indication information after regulation is still using the above-mentioned defined single line communication association based on VBUS pins
View, charger is sent to by VBUS pins in the form of logic level signal.Output indication after regulation
Information at least includes the specified output voltage after regulation and the specified output current after regulation, optional also to include adjusting
Specified power output after section.
In step 415, terminal sends the output indication information after regulation to charger by VBUS pins.
Correspondingly, charger receives the output indication information after regulation from terminal by VBUS pins.
In step 416, charger provides circuit to end according to the output indication information control voltage after regulation
End output is used for the electric energy charged for the battery of terminal.
The control chip control voltage of charger provides circuit according to the specified output electricity after the regulation needed for terminal
Specified output current after pressure and regulation, exports electric energy from VBUS pins and is charged for the battery of terminal, so that
Realize the dynamic regulation of the power output in charging process.
In summary, the method that the present embodiment is provided, by the way that in charging process, terminal is according to current charging
State dynamic regulation output indication information, to cause charger dynamically to be adjusted according to the output indication information after regulation
Whole output voltage and/or output current, so as to realize the dynamic regulation of power output, are favorably improved charging effect
Rate.
Can it should be noted that in above-mentioned Fig. 4 A and Fig. 4 B illustrated embodiments, the step of relevant charger
It can be implemented separately as eventually with being implemented separately the step of the charging method for turning into charger side, relevant terminal
Hold the charging method of side.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.For the disclosure
The details not disclosed in device embodiment, refer to method of disclosure embodiment.
Fig. 5 is a kind of block diagram of charging device according to an exemplary embodiment, and the device can be applied to
In the control chip 14 of charger 10 in charging system shown in Figure 1A and Figure 1B.The device can include:
Sending module 510, receiving module 520 and output module 530.
Sending module 510, is configured as sending the configuration information of charger to terminal by VBUS pins.
Receiving module 520, is configured as receiving output indication information, the output from terminal by VBUS pins
Configuration information and the current state ginseng of the battery of terminal that configured information is sent by terminal according to sending module 510
Number is determined.
Output module 530, is configured as connecting circuit for providing voltage and VBUS pins, according to receiving module
The 520 output indication information control voltages received provide circuit and exported to terminal for the battery charging for terminal
Electric energy.
In summary, the device that the present embodiment is provided, charger is sent by VBUS pins to terminal to charge
The configuration information of device, and output indication information is received from terminal by VBUS pins, then connect voltage and carry
Power supply road and VBUS pins, provide circuit according to output indication information control voltage and are exported to terminal for being
The electric energy of the battery charging of terminal;The connected mode of correlation technique offer is provided, on the one hand influences whether to fill
Electrical equipment recognize, exist charger identification mistake hidden danger, on the other hand also influence whether USB master-slave equipments it
Between signal quality when carrying out data transmission the problem of;Realize that charger is recognized using VBUS pins, use
DP pins and DM pins realize data transfer, fundamentally avoids connection DP pins and DM pins
There is bifurcated in the transmission path of data wire, and then improve the success rate of charger identification, it is ensured that USB principals and subordinates set
Signal quality when carrying out data transmission between standby.
Fig. 6 is a kind of block diagram of charging device according to another exemplary embodiment, and the device can be applied
In the control chip 36 of terminal 30 in charging system shown in Figure 1A and Figure 1B.The device can include:
Receiving module 610, determining module 620, sending module 630, acquisition module 640 and charging module 650.
Receiving module 610, is configured as receiving the configuration information that charger is sent by VBUS pins.
Determining module 620, is configured as the current shape of the configuration information and battery received according to receiving module 610
State parameter, determines output indication information.
Sending module 630, is configured as sending what determining module 620 was determined to charger by VBUS pins
Output indication information.
Acquisition module 640, is configured as obtaining by charger according to sending module 630 by VBUS pins
The electric energy that the output indication information of transmission is provided.
Charging module 650, is configured as connecting VBUS pins and PMIC, by PMIC using acquisition mould
The electric energy that block 640 is obtained charges for battery.
In summary, the device that the present embodiment is provided, terminal receives what charger was sent by VBUS pins
Configuration information, and output indication information is fed back to charger by VBUS pins, and then drawn by VBUS
Pin receives the electric energy provided by charger according to output indication information, connects VBUS pins and PMIC, passes through
PMIC uses above-mentioned electric energy to be charged for battery;The connected mode of correlation technique offer is provided, on the one hand can shadow
Ring to charger identification, there is the hidden danger of charger identification mistake, on the other hand also influence whether USB principals and subordinates
The problem of signal quality when carrying out data transmission between equipment;Realize that charger is recognized using VBUS pins,
Data transfer is realized using DP pins and DM pins, connection DP pins is fundamentally avoided and DM draws
There is bifurcated in the transmission path of the data wire of pin, and then improve the success rate of charger identification, it is ensured that USB master
Signal quality when carrying out data transmission between slave unit.
Fig. 7 is a kind of block diagram of charging system according to an exemplary embodiment.The charging system includes:
Charger 500, USB connecting lines and terminal 600.Wherein, charger 500 passes through USB connecting lines and end
End 600 is connected.
Charger 500 includes charging device, and the device can be applied in the control chip of charger 500.Should
Device can include:Sending module 510, receiving module 520 and output module 530.
Sending module 510, is configured as sending the configuration of charger 500 to terminal 600 by VBUS pins
Information.
Receiving module 520, is configured as receiving output indication information from terminal 600 by VBUS pins, should
Configuration information and the battery of terminal 600 that output indication information is sent by terminal 600 according to sending module 510
Current state parameter determine.
Output module 530, is configured as connecting circuit for providing voltage and VBUS pins, according to receiving module
The 520 output indication information control voltages received provide circuit and exported to terminal 600 for the electricity for terminal 600
The electric energy of pond charging.
Alternatively, sending module 510, including:Acquisition submodule 510a, determination sub-module 510b and transmission
Submodule 510c.
Acquisition submodule 510a, is configured as obtaining the configuration information of charger 500, the configuration information is at least
Including maximum output voltage and maximum output current.
Determination sub-module 510b, is configured to determine that for representing the configuration information that acquisition submodule 510a is obtained
Level signal.
Sending submodule 510c, is configured as sending determination sub-module 510b to terminal 600 by VBUS pins
The level signal of determination.
Alternatively, receiving module 520, are additionally configured in charging process, by VBUS pins from terminal
600 receive the output indication information after regulation, and the output indication information after the regulation is by terminal 600 according to current
Charged state is determined.Present charge state is trickle charge state, constant-current charge state and constant-voltage charge state
In any one.
Output module 530, is additionally configured to the output indication information after the regulation according to the reception of receiving module 520
Control voltage provides circuit and the electric energy charged for the battery for terminal 600 is exported to terminal 600.
Alternatively, the device also includes:Give tacit consent to output module 502 and connection disconnects module 504.
Give tacit consent to output module 502, be configured as in circuit for providing voltage and VBUS pins in an ON state
Under, default voltage is exported to terminal 600 by VBUS pins.
Connection disconnects module 504, is configured as detecting the pulling operation corresponding to voltage on VBUS pins
Afterwards, off voltage provides the connection between circuit and VBUS pins.
Sending module 510, be additionally configured to off voltage provide connection between circuit and VBUS pins it
Afterwards, the configuration information of charger 500 is sent to terminal 600 by VBUS pins.
Alternatively, the device also includes:Respond receiving module 512.
Receiving module 512 is responded, is configured as in sending module 510 to after the send configuration information of terminal 600,
The first confirmation response that receiving terminal 600 is sent.Wherein, first confirms that response has been used for instruction terminal 600
It is properly received configuration information.
Alternatively, the device also includes:Reminding module 514.
Reminding module 514, is configured as in sending module 510 to after the send configuration information of terminal 600, if
Do not receive the feedback of terminal 600 within first scheduled time first confirms response, then sends the first prompting letter
Breath.
Alternatively, the device also includes:Respond module 522.
Respond module 522, is configured as in receiving module 520 after terminal 600 receives output indication information,
Second is sent to terminal 600 and confirms response, and second confirms that response is used to indicate that charger 500 has been properly received
Output indication information.
Output module 530, be additionally configured to detect corresponding to voltage on VBUS pins upper pulling process it
Afterwards, circuit for providing voltage and VBUS pins are connected, according to output indication information control voltage provide circuit to
Terminal 600 exports the electric energy for the battery charging for terminal 600.Wherein, upper pulling process is by terminal 600
Performed after the second confirmation response is received.
Terminal 600 includes charging device, and the device can be applied in the control chip of terminal 600.The device
It can include:Receiving module 610, determining module 620, sending module 630, acquisition module 640 and charging
Module 650.
Receiving module 610, is configured as receiving the configuration information that charger 500 is sent by VBUS pins.
Determining module 620, is configured as the current shape of the configuration information and battery received according to receiving module 610
State parameter, determines output indication information.
Sending module 630, is configured as sending determining module 620 to charger 500 by VBUS pins
The output indication information of determination.
Acquisition module 640, is configured as obtaining by charger 500 according to sending module by VBUS pins
The electric energy that the 630 output indication information sent are provided.
Charging module 650, is configured as connecting VBUS pins and PMIC, by PMIC using acquisition mould
The electric energy that block 640 is obtained charges for battery.
Alternatively, sending module 630, including:Determination sub-module 630a and sending submodule 630b.
Determination sub-module 630a, is configured to determine that for representing the output indication letter that determining module 620 is determined
The level signal of breath.Wherein, output indication information at least includes specifying output voltage and specified output current.
Sending submodule 630b, is configured as sending determination sub-module to charger 500 by VBUS pins
The level signal that 630a is determined.
Alternatively, the device also includes:State determining module 660 and regulation determining module 670.
State determining module 660, is configured as in charging process, and present charge state is determined by PMIC,
Present charge state is any one in trickle charge state, constant-current charge state and constant-voltage charge state.
Adjust determining module 670, be configured as according to state determining module 660 determine present charge state it is true
The output indication information seted the tone after saving.
Sending module 630, is additionally configured to send regulation determining module to charger 500 by VBUS pins
Output indication information after 670 regulations.
Alternatively, the device also includes:Pull down module 602.
Module 602 is pulled down, the acquiescence electricity for having charger 500 to export on VBUS pins are detected is configured as
During pressure, the pulling operation for corresponding to voltage on VBUS pins is performed, to cause charger 500 detecting
After pulling operation, the connection between the circuit for providing voltage and VBUS pins of charger 500 is disconnected, and
The backward send configuration information of terminal 600.
Alternatively, the device also includes:Respond receiving module 632.
Receiving module 632 is responded, is configured as after output indication information is sent to charger 500, receives
The second confirmation response that charger 500 feeds back.Wherein, second confirms that response is used to indicate charger 500
It is properly received output indication information.
Alternatively, the device also includes:Reminding module 634.
Reminding module 634, is configured as after output indication information is sent to charger 500, if not the
Second that charger feedback is received in two scheduled times confirms response, then sends the second prompt message.
Alternatively, the device also includes:Pull up module 636.
Module 636 is pulled up, is configured as after receive the transmission of charger 500 second confirms response, holds
Row corresponds to the upper pulling process of voltage on VBUS pins, to cause the pulling process on detecting of charger 500
Afterwards, the circuit for providing voltage and VBUS pins of charger 500 are connected, then according to output indication information
Control voltage provides circuit and provides electric energy to terminal 600.
Alternatively, the device also includes:Detection module 642.
Detection module 642, is configured as after the electric energy of the offer of charger 500 is received, and detects VBUS
Whether voltage is more than maximum charging voltage on pin.
Charging module 650, be additionally configured to detection module 642 detect on VBUS pins voltage be less than or
In the case that person is equal to maximum charging voltage, VBUS pins and PMIC are connected, electric energy is used by PMIC
Charged for battery.
Alternatively, the device also includes:Respond module 612.
Respond module 612, is configured as in receiving module 610 after charger 500 receives configuration information,
First is sent to charger 500 and confirms response, and first confirms that response has been properly received for instruction terminal 600
Configuration information.
In summary, the system that the present embodiment is provided, charger is sent by VBUS pins to terminal to charge
The configuration information of device, and output indication information is received from terminal by VBUS pins, then connect voltage and carry
Power supply road and VBUS pins, provide circuit according to output indication information control voltage and are exported to terminal for being
The electric energy of the battery charging of terminal;The connected mode of correlation technique offer is provided, on the one hand influences whether to fill
Electrical equipment recognize, exist charger identification mistake hidden danger, on the other hand also influence whether USB master-slave equipments it
Between signal quality when carrying out data transmission the problem of;Realize that charger is recognized using VBUS pins, use
DP pins and DM pins realize data transfer, fundamentally avoids connection DP pins and DM pins
There is bifurcated in the transmission path of data wire, and then improve the success rate of charger identification, it is ensured that USB principals and subordinates set
Signal quality when carrying out data transmission between standby.
In addition, also by the way that in charging process, terminal is believed according to the output indication of present charge state dynamic regulation
Breath, to cause charger dynamically to adjust output voltage and/or output current according to the output indication information after regulation,
So as to realize the dynamic regulation of power output, charge efficiency is favorably improved.
It should be noted is that, the device that above-described embodiment is provided is when realizing its function, only with above-mentioned each
The division progress of individual functional module, can be according to actual needs and by above-mentioned work(for example, in practical application
It can distribute and be completed by different functional modules, i.e., the content structure of equipment is divided into different functional modules,
To complete all or part of function described above.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation relevant
It is described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
The exemplary embodiment of the disclosure one additionally provides a kind of charger, for the battery charging in terminal.
Charger includes:Circuit for providing voltage, control chip and USB interface.Wherein, control chip is carried with voltage
Power supply road is electrically connected with, and control chip is also electrically connected with the VBUS pins and GND pin of USB interface.
Control chip can realize the charging method for the charger side that the disclosure is provided.Control chip includes:Place
Manage device and for the memory for the executable instruction for storing processor.Wherein, processor is configured as:
The configuration information of the charger is sent to terminal by the VBUS pins;
By the VBUS pins from the terminal receive output indication information, the output indication information by
The terminal is determined according to the current state parameter of the configuration information and the battery of the terminal;
The circuit for providing voltage and the VBUS pins are connected, institute is controlled according to the output indication information
State circuit for providing voltage and the electric energy charged for the battery for the terminal is exported to the terminal.
Alternatively, processor is configured as:
The configuration information of the charger is obtained, the configuration information at least includes maximum output voltage and maximum
Output current;
It is determined that the level signal for representing the configuration information;
The level signal is sent to the terminal by the VBUS pins.
Alternatively, processor is additionally configured to:
In charging process, the output indication after regulation is received from the terminal by the VBUS pins and is believed
Breath, the output indication information after the regulation is determined by the terminal according to present charge state, described current
Charged state is any one in trickle charge state, constant-current charge state and constant-voltage charge state;
Control the circuit for providing voltage to export to the terminal according to the output indication information after the regulation to use
In the electric energy of the battery charging for the terminal.
Alternatively, processor is additionally configured to:
The circuit for providing voltage and the VBUS pins in an ON state under, pass through the VBUS
Pin exports default voltage to the terminal;
After the pulling operation corresponding to voltage on the VBUS pins is detected, disconnect the voltage and carry
The connection powered between road and the VBUS pins;
After the connection between the circuit for providing voltage and the VBUS pins is disconnected, by described
VBUS pins send the configuration information of the charger to terminal.
Alternatively, processor is additionally configured to:
After the configuration information is sent to the terminal, if not received within first scheduled time described
The first of terminal feedback confirms response, then sends the first prompt message;
Wherein, described first confirms that response is used to indicate that the terminal has been properly received the configuration information.
Alternatively, processor is additionally configured to:
After the output indication information is received from the terminal, send second to the terminal and confirm to respond,
Described second confirms that response is used to indicate that the charger has been properly received the output indication information;
After the upper pulling process corresponding to voltage on the VBUS pins is detected, connect the voltage and carry
Power supply road and the VBUS pins, the circuit for providing voltage is controlled to institute according to the output indication information
State terminal and export the electric energy charged for the battery for the terminal.
The exemplary embodiment of the disclosure one additionally provides a kind of terminal, and the terminal includes:Battery, PMIC, control
Coremaking piece and USB interface.Wherein, battery is electrically connected with PMIC, and control chip electrically connects with PMIC
Connect, control chip is also electrically connected with the VBUS pins and GND pin of USB interface.
Control chip can realize the charging method for the end side that the disclosure is provided.Control chip includes:Processing
Device and for the memory for the executable instruction for storing processor.Wherein, processor is configured as:
The configuration information that charger is sent is received by the VBUS pins;
According to the current state parameter of the configuration information and battery, output indication information is determined;
The output indication information is sent to the charger by the VBUS pins;
The electric energy provided by the charger according to the output indication information is received by the VBUS pins;
The VBUS pins and the PMIC are connected, the electric energy is used for the electricity by the PMIC
Charge in pond.
Alternatively, processor is configured as:
It is determined that the level signal for representing the output indication information;Wherein, the output indication information is extremely
It is few to include specifying output voltage and specified output current;
The level signal is sent to the charger by the VBUS pins.
Alternatively, processor is additionally configured to:
In charging process, present charge state is determined by the PMIC, the present charge state is
Any one in trickle charge state, constant-current charge state and constant-voltage charge state;
Output indication information after regulation is determined according to the present charge state;
Output indication information after the regulation is sent to the charger by the VBUS pins.
Alternatively, processor is additionally configured to:
When having the default voltage of the charger output on the VBUS pins are detected, execution corresponds to
The pulling operation of voltage on the VBUS pins, to cause the charger detecting the pulling operation
Afterwards, the connection between the circuit for providing voltage and VBUS pins of the charger is disconnected, and it is backward described
Terminal sends the configuration information.
Alternatively, processor is additionally configured to:
After the output indication information is sent to the charger, if being received not within second scheduled time
Confirm response to the charger feeds back second, then send the second prompt message;
Wherein, described second confirms that response is used to indicate that the charger has been properly received the output indication letter
Breath.
Alternatively, processor is additionally configured to:
After the second confirmation response that the charger is sent is received, perform and correspond to the VBUS
The upper pulling process of voltage on pin, to cause the charger detecting on described after pulling process, is connected
The circuit for providing voltage and VBUS pins of the charger, then control institute according to the output indication information
State circuit for providing voltage and provide the electric energy to the terminal.
Alternatively, processor is additionally configured to:
After the electric energy that the charger is provided is received, detect that voltage is on the VBUS pins
It is no to be more than maximum charging voltage;
In the case that voltage is less than or equal to the maximum charging voltage on the VBUS pins, connect
The VBUS pins and the PMIC, use the electric energy to be charged for the battery by the PMIC.
Fig. 8 is a kind of block diagram of device 800 according to an exemplary embodiment.For example, device 800
Can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat board
Equipment, Medical Devices, body-building equipment, the terminal such as personal digital assistant.
Reference picture 8, device 800 can include following one or more assemblies:Processing assembly 802, memory
804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, input/output (I/O) interface 812,
Sensor cluster 814, and communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, number
According to communication, the camera operation operation associated with record operation.Processing assembly 802 can include one or many
Individual processor 820 carrys out execute instruction, to complete all or part of step of above-mentioned method.In addition, processing
Component 802 can include one or more modules, be easy to the interaction between processing assembly 802 and other assemblies.
For example, processing assembly 802 can include multi-media module, to facilitate multimedia groupware 808 and processing assembly
Interaction between 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These
The example of data includes the instruction of any application program or method for being operated on device 800, contact person
Data, telephone book data, message, picture, video etc..Memory 804 can be by any kind of volatile
Property or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM),
Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM),
Programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory,
Disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include electricity
Management system, one or more power supplys, and other for device 800 with generating, managing and distributing electric power phase
The component of association.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user
Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).Such as
Fruit screen includes touch panel, and screen may be implemented as touch-screen, to receive the input signal from user.
Touch panel includes one or more touch sensors with the gesture on sensing touch, slip and touch panel.
The touch sensor can not only sensing touch or sliding action border, but also detection touches with described
Or slide related duration and pressure.In certain embodiments, multimedia groupware 808 includes one
Individual front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or video
During pattern, front camera and/or rear camera can receive the multi-medium data of outside.It is each preposition to take the photograph
As head and rear camera can be a fixed optical lens systems or with focal length and optical zoom energy
Power.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes
One microphone (MIC), when device 800 is in operator scheme, such as call model, logging mode and voice
During recognition mode, microphone is configured as receiving external audio signal.The audio signal received can be entered
One step is stored in memory 804 or sent via communication component 816.In certain embodiments, audio-frequency assembly
810 also include a loudspeaker, for exports audio signal.
I/O interfaces 812 are that interface, above-mentioned peripheral interface are provided between processing assembly 802 and peripheral interface module
Module can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, sound
Measure button, start button and locking press button.
Sensor cluster 814 includes one or more sensors, for providing various aspects for device 800
State estimation.For example, sensor cluster 814 can detect opening/closed mode of device 800, component
Relative positioning, such as described component be device 800 display and keypad, sensor cluster 814 also
It can be changed with the position of 800 1 components of detection means 800 or device, user and depositing that device 800 is contacted
Or be not present, the orientation of device 800 or acceleration/deceleration and the temperature change of device 800.Sensor cluster 814
Proximity transducer can be included, depositing for object near detection is configured in not any physical contact
.Sensor cluster 814 can also include optical sensor, and such as CMOS or ccd image sensor are used for
Used in imaging applications.In certain embodiments, the sensor cluster 814 can also include acceleration biography
Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the logical of wired or wireless way between device 800 and other equipment
Letter.Device 800 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or they
Combination.In one exemplary embodiment, communication component 816 is received from outside wide via broadcast channel
The broadcast singal or broadcast related information of broadcast management system.In one exemplary embodiment, the communication set
Part 816 also includes near-field communication (NFC) module, to promote junction service.For example, can in NFC module
Based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill
Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can by one or more application specific integrated circuits (ASIC),
Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD),
Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real
It is existing, the charging method for performing above-mentioned end side.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instructing is additionally provided
Matter, such as memory 804 including instruction, above-mentioned instruction can be performed with complete by the processor 820 of device 800
Into the charging method of above-mentioned end side.For example, the non-transitorycomputer readable storage medium can be
ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by device 800
Computing device when so that device 800 is able to carry out the charging method of above-mentioned end side.
Those skilled in the art will readily occur to this public affairs after considering specification and putting into practice invention disclosed herein
The other embodiments opened.The application is intended to any modification, purposes or the adaptations of the disclosure,
These modifications, purposes or adaptations follow the general principle of the disclosure and undisclosed including the disclosure
Common knowledge or conventional techniques in the art.Description and embodiments are considered only as exemplary
, the true scope and spirit of the disclosure are pointed out by following claim.
It should be appreciated that the accurate knot that the disclosure is not limited to be described above and is shown in the drawings
Structure, and various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only by appended
Claim is limited.
Claims (29)
1. a kind of charging method, it is characterised in that applied in the control chip of charger, the charger
Including:Circuit for providing voltage, the control chip and general-purpose serial bus USB interface;Wherein, the control
Coremaking piece is electrically connected with the circuit for providing voltage, voltage of the control chip also with the USB interface
Bus VBUS pins and ground wire GND pin are electrically connected with;
Methods described includes:
The configuration information of the charger is sent to terminal by the VBUS pins;
By the VBUS pins from the terminal receive output indication information, the output indication information by
The terminal is determined according to the current state parameter of the configuration information and the battery of the terminal;
The circuit for providing voltage and the VBUS pins are connected, institute is controlled according to the output indication information
State circuit for providing voltage and the electric energy charged for the battery for the terminal is exported to the terminal.
2. according to the method described in claim 1, it is characterised in that it is described by the VBUS pins to
Terminal sends the configuration information of the charger, including:
The configuration information of the charger is obtained, the configuration information at least includes maximum output voltage and maximum
Output current;
It is determined that the level signal for representing the configuration information;
The level signal is sent to the terminal by the VBUS pins.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
In charging process, the output indication after regulation is received from the terminal by the VBUS pins and is believed
Breath, the output indication information after the regulation is determined by the terminal according to present charge state, described current
Charged state is any one in trickle charge state, constant-current charge state and constant-voltage charge state;
Control the circuit for providing voltage to export to the terminal according to the output indication information after the regulation to use
In the electric energy of the battery charging for the terminal.
4. method according to claim 1 or 2, it is characterised in that methods described also includes:
The circuit for providing voltage and the VBUS pins in an ON state under, pass through the VBUS
Pin exports default voltage to the terminal;
After the pulling operation corresponding to voltage on the VBUS pins is detected, disconnect the voltage and carry
The connection powered between road and the VBUS pins;
After the connection between the circuit for providing voltage and the VBUS pins is disconnected, perform described logical
Cross the VBUS pins to terminal send the configuration information of the charger the step of.
5. method according to claim 1 or 2, it is characterised in that methods described also includes:
After the configuration information is sent to the terminal, if not received within first scheduled time described
The first of terminal feedback confirms response, then sends the first prompt message;
Wherein, described first confirms that response is used to indicate that the terminal has been properly received the configuration information.
6. method according to claim 1 or 2, it is characterised in that methods described also includes:
After the output indication information is received from the terminal, send second to the terminal and confirm to respond,
Described second confirms that response is used to indicate that the charger has been properly received the output indication information;
After the upper pulling process corresponding to voltage on the VBUS pins is detected, the connection institute is performed
Circuit for providing voltage and the VBUS pins are stated, controls the voltage to provide according to the output indication information
The step of circuit exports the electric energy for the battery charging for the terminal to the terminal.
7. a kind of charging method, it is characterised in that applied in the control chip of terminal, the terminal includes:
Battery, power management integrated circuit PMIC, the control chip and general-purpose serial bus USB interface;Its
In, the battery is electrically connected with the PMIC, and the control chip is electrically connected with the PMIC, institute
Voltage bus VBUS pin and ground wire GND pin of the control chip also with the USB interface is stated electrically to connect
Connect;
Methods described includes:
The configuration information that charger is sent is received by the VBUS pins;
According to the current state parameter of the configuration information and battery, output indication information is determined;
The output indication information is sent to the charger by the VBUS pins;
The electric energy provided by the charger according to the output indication information is received by the VBUS pins;
The VBUS pins and the PMIC are connected, the electric energy is used for the electricity by the PMIC
Charge in pond.
8. method according to claim 7, it is characterised in that it is described by the VBUS pins to
The charger sends the output indication information, including:
It is determined that the level signal for representing the output indication information;Wherein, the output indication information is extremely
It is few to include specifying output voltage and specified output current;
The level signal is sent to the charger by the VBUS pins.
9. the method according to claim 7 or 8, it is characterised in that methods described also includes:
In charging process, present charge state is determined by the PMIC, the present charge state is
Any one in trickle charge state, constant-current charge state and constant-voltage charge state;
Output indication information after regulation is determined according to the present charge state;
Output indication information after the regulation is sent to the charger by the VBUS pins.
10. the method according to claim 7 or 8, it is characterised in that methods described also includes:
When having the default voltage of the charger output on the VBUS pins are detected, execution corresponds to
The pulling operation of voltage on the VBUS pins, to cause the charger detecting the pulling operation
Afterwards, the connection between the circuit for providing voltage and VBUS pins of the charger is disconnected, and it is backward described
Terminal sends the configuration information.
11. the method according to claim 7 or 8, it is characterised in that methods described also includes:
After the output indication information is sent to the charger, if being received not within second scheduled time
Confirm response to the charger feeds back second, then send the second prompt message;
Wherein, described second confirms that response is used to indicate that the charger has been properly received the output indication letter
Breath.
12. method according to claim 11, it is characterised in that methods described also includes:
After the second confirmation response that the charger is sent is received, perform and correspond to the VBUS
The upper pulling process of voltage on pin, to cause the charger detecting on described after pulling process, is connected
The circuit for providing voltage and VBUS pins of the charger, then control institute according to the output indication information
State circuit for providing voltage and provide the electric energy to the terminal.
13. the method according to claim 7 or 8, it is characterised in that methods described also includes:
After the electric energy that the charger is provided is received, detect that voltage is on the VBUS pins
It is no to be more than maximum charging voltage;
If on the VBUS pins voltage be less than or equal to the maximum charging voltage, perform described in connect
Lead to the VBUS pins and the PMIC, use the electric energy to be charged for the battery by the PMIC
The step of.
14. a kind of charging device, it is characterised in that applied in the control chip of charger, the charging
Device includes:Circuit for providing voltage, the control chip and general-purpose serial bus USB interface;Wherein, it is described
Control chip is electrically connected with the circuit for providing voltage, electricity of the control chip also with the USB interface
Bus VBUS pins and ground wire GND pin is pressed to be electrically connected with;
Described device includes:
Sending module, is configured as matching somebody with somebody confidence to the terminal transmission charger by the VBUS pins
Breath;
Receiving module, is configured as receiving output indication information from the terminal by the VBUS pins,
The output indication information is by current state of the terminal according to the configuration information and the battery of the terminal
Parameter is determined;
Output module, is configured as connecting the circuit for providing voltage and the VBUS pins, according to described
The output indication information control circuit for providing voltage is exported to the terminal to be filled for the battery for the terminal
The electric energy of electricity.
15. device according to claim 14, it is characterised in that the sending module, including:Obtain
Take submodule, determination sub-module and sending submodule;
The acquisition submodule, is configured as obtaining the configuration information of the charger, the configuration information is extremely
Include maximum output voltage and maximum output current less;
The determination sub-module, is configured to determine that the level signal for representing the configuration information;
The sending submodule, is configured as sending the level to the terminal by the VBUS pins
Signal.
16. the device according to claims 14 or 15, it is characterised in that
The receiving module, is additionally configured in charging process, by the VBUS pins from the end
End receives the output indication information after regulation, and output indication information after the regulation is by the terminal according to ought
Preceding charged state determines that the present charge state is that trickle charge state, constant-current charge state and constant pressure are filled
Any one in electricity condition;
The output module, is additionally configured to control the voltage according to the output indication information after the regulation
Circuit is provided the electric energy charged for the battery for the terminal is exported to the terminal.
17. the device according to claims 14 or 15, it is characterised in that described device also includes:
Give tacit consent to output module, be configured as being in the VBUS pins in the circuit for providing voltage and connect
Under state, default voltage is exported to the terminal by the VBUS pins;
Connection disconnects module, is configured as detecting the drop-down behaviour corresponding to voltage on the VBUS pins
After work, the connection between the circuit for providing voltage and the VBUS pins is disconnected;
The sending module, be additionally configured to disconnect the circuit for providing voltage and the VBUS pins it
Between connection after, the configuration information of the charger is sent to terminal by the VBUS pins.
18. the device according to claims 14 or 15, it is characterised in that described device also includes:
Reminding module, is configured as after the configuration information is sent to the terminal, if not pre- first
First that the terminal feedback is received in fixing time confirms response, then sends the first prompt message;
Wherein, described first confirms that response is used to indicate that the terminal has been properly received the configuration information.
19. the device according to claims 14 or 15, it is characterised in that described device also includes:
Respond module, was configured as after the output indication information is received from the terminal, to the end
End transmission second confirms response, and described second confirms response for indicating that it is described that the charger has been properly received
Output indication information;
The output module, is additionally configured to detecting the pull-up corresponding to voltage on the VBUS pins
After operation, the circuit for providing voltage and the VBUS pins are connected, according to the output indication information
The circuit for providing voltage is controlled to export the electric energy for the battery charging for the terminal to the terminal.
20. a kind of charging device, it is characterised in that applied in the control chip of terminal, the terminal bag
Include:Battery, power management integrated circuit PMIC, the control chip and general-purpose serial bus USB interface;
Wherein, the battery is electrically connected with the PMIC, and the control chip is electrically connected with the PMIC,
Voltage bus VBUS pin and ground wire GND pin of the control chip also with the USB interface are electrical
Connection;
Described device includes:
Receiving module, is configured as receiving the configuration information that charger is sent by the VBUS pins;
Determining module, is configured as the current state parameter according to the configuration information and battery, it is determined that output
Configured information;
Sending module, is configured as sending the output indication to the charger by the VBUS pins
Information;
Acquisition module, is configured as obtaining by the charger according to the output by the VBUS pins
The electric energy that configured information is provided;
Charging module, is configured as connecting the VBUS pins and the PMIC, is adopted by the PMIC
Charged with the electric energy for the battery.
21. device according to claim 20, it is characterised in that the sending module, including:Really
Stator modules and sending submodule;
The determination sub-module, is configured to determine that the level signal for representing the output indication information;
Wherein, the output indication information at least includes specifying output voltage and specified output current;
The sending submodule, is configured as sending the electricity to the charger by the VBUS pins
Ordinary mail number.
22. the device according to claim 20 or 21, it is characterised in that described device also includes:
State determining module, is configured as in charging process, and current charging shape is determined by the PMIC
State, the present charge state is times in trickle charge state, constant-current charge state and constant-voltage charge state
Meaning is a kind of;
Determining module is adjusted, is configured as determining the output indication letter after regulation according to the present charge state
Breath;
The sending module, is additionally configured to send described adjust to the charger by the VBUS pins
Output indication information after section.
23. the device according to claim 20 or 21, it is characterised in that described device also includes:
Module is pulled down, the acquiescence for having the charger output on the VBUS pins are detected is configured as
During voltage, the pulling operation for corresponding to voltage on the VBUS pins is performed, to cause the charger to exist
After detecting the pulling operation, between the circuit for providing voltage and VBUS pins that disconnect the charger
Connection, and after send the configuration information to the terminal.
24. the device according to claim 20 or 21, it is characterised in that described device also includes:
Reminding module, is configured as after the output indication information is sent to the charger, if not existing
Second that the charger feedback is received in second scheduled time confirms response, then sends the second prompt message;
Wherein, described second confirms that response is used to indicate that the charger has been properly received the output indication letter
Breath.
25. device according to claim 24, it is characterised in that described device also includes:
Module is pulled up, is configured as after the second confirmation response that the charger is sent is received,
The upper pulling process for corresponding to voltage on the VBUS pins is performed, to cause the charger detecting
State after pulling process, the circuit for providing voltage and VBUS pins of the charger are connected, then according to institute
Stating output indication information controls the circuit for providing voltage to provide the electric energy to the terminal.
26. the device according to claim 20 or 21, it is characterised in that described device also includes:
Detection module, is configured as after the electric energy that the charger is provided is received, detection is described
Whether voltage is more than maximum charging voltage on VBUS pins;
The charging module, be additionally configured on the VBUS pins voltage be less than or equal to it is described most
In the case of big charging voltage, the VBUS pins and the PMIC are connected, is used by the PMIC
The electric energy charges for the battery.
27. a kind of charger, for the battery charging in terminal, it is characterised in that the charger bag
Include:Circuit for providing voltage, control chip and general-purpose serial bus USB interface;Wherein, the control chip
It is electrically connected with the circuit for providing voltage, voltage bus of the control chip also with the USB interface
VBUS pins and ground wire GND pin are electrically connected with;
The control chip includes:Processor and for the memory for the executable instruction for storing the processor;
The processor, is configured as:
The configuration information of the charger is sent to terminal by the VBUS pins;
By the VBUS pins from the terminal receive output indication information, the output indication information by
The terminal is determined according to the current state parameter of the configuration information and the battery of the terminal;
The circuit for providing voltage and the VBUS pins are connected, institute is controlled according to the output indication information
State circuit for providing voltage and the electric energy charged for the battery for the terminal is exported to the terminal.
28. a kind of terminal, it is characterised in that the terminal includes:Battery, power management integrated circuit PMIC,
Control chip and general-purpose serial bus USB interface;Wherein, the battery is electrically connected with the PMIC,
The control chip is electrically connected with the PMIC, voltage of the control chip also with the USB interface
Bus VBUS pins and ground wire GND pin are electrically connected with;
The control chip includes:Processor and for the memory for the executable instruction for storing the processor;
The processor, is configured as:
The configuration information that charger is sent is received by the VBUS pins;
According to the current state parameter of the configuration information and battery, output indication information is determined;
The output indication information is sent to the charger by the VBUS pins;
The electric energy provided by the charger according to the output indication information is received by the VBUS pins;
The VBUS pins and the PMIC are connected, the electric energy is used for the electricity by the PMIC
Charge in pond.
29. a kind of charging system, it is characterised in that the charging system includes:Charger, general serial
Bus USB connecting lines and terminal;Wherein, the charger passes through the USB connecting lines and the terminal phase
Even;
The charger is charger as claimed in claim 27;
The terminal is terminal as claimed in claim 28.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610104442.XA CN107124012B (en) | 2016-02-25 | 2016-02-25 | Charging method, device, charger, terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610104442.XA CN107124012B (en) | 2016-02-25 | 2016-02-25 | Charging method, device, charger, terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107124012A true CN107124012A (en) | 2017-09-01 |
CN107124012B CN107124012B (en) | 2020-02-07 |
Family
ID=59717697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610104442.XA Active CN107124012B (en) | 2016-02-25 | 2016-02-25 | Charging method, device, charger, terminal and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107124012B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019056319A1 (en) * | 2017-09-22 | 2019-03-28 | Oppo广东移动通信有限公司 | Power supply circuit, power supply device, and control method |
CN110460130A (en) * | 2019-08-26 | 2019-11-15 | 北京字节跳动网络技术有限公司 | Charging method, device, system, terminal and storage medium |
CN111030227A (en) * | 2019-12-20 | 2020-04-17 | 联想(北京)有限公司 | Information processing method, charging seat and electronic equipment |
WO2024051563A1 (en) * | 2022-09-07 | 2024-03-14 | 维沃移动通信有限公司 | Electronic device, charging device, and charging control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120139474A1 (en) * | 2010-12-02 | 2012-06-07 | Samsung Electronics Co., Ltd. | Method for charging external device and displaying apparatus using thereof |
CN104953678A (en) * | 2015-07-20 | 2015-09-30 | 广东欧珀移动通信有限公司 | Control method and system for mutual charging of mobile terminals |
CN104979886A (en) * | 2014-04-09 | 2015-10-14 | 黑莓有限公司 | Device, system and method for charging battery |
-
2016
- 2016-02-25 CN CN201610104442.XA patent/CN107124012B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120139474A1 (en) * | 2010-12-02 | 2012-06-07 | Samsung Electronics Co., Ltd. | Method for charging external device and displaying apparatus using thereof |
CN104979886A (en) * | 2014-04-09 | 2015-10-14 | 黑莓有限公司 | Device, system and method for charging battery |
CN104953678A (en) * | 2015-07-20 | 2015-09-30 | 广东欧珀移动通信有限公司 | Control method and system for mutual charging of mobile terminals |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019056319A1 (en) * | 2017-09-22 | 2019-03-28 | Oppo广东移动通信有限公司 | Power supply circuit, power supply device, and control method |
EP3540898A4 (en) * | 2017-09-22 | 2020-01-15 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Power supply circuit, power supply device, and control method |
US11258289B2 (en) | 2017-09-22 | 2022-02-22 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Power supply circuit and adaptor |
CN110460130A (en) * | 2019-08-26 | 2019-11-15 | 北京字节跳动网络技术有限公司 | Charging method, device, system, terminal and storage medium |
CN110460130B (en) * | 2019-08-26 | 2022-06-21 | 北京字节跳动网络技术有限公司 | Charging method, device, system, terminal and storage medium |
CN111030227A (en) * | 2019-12-20 | 2020-04-17 | 联想(北京)有限公司 | Information processing method, charging seat and electronic equipment |
WO2024051563A1 (en) * | 2022-09-07 | 2024-03-14 | 维沃移动通信有限公司 | Electronic device, charging device, and charging control method |
Also Published As
Publication number | Publication date |
---|---|
CN107124012B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106410303B (en) | Charging method and device | |
JP6083878B2 (en) | Method and apparatus for determining the direction of power supply | |
EP2879014B1 (en) | Tablet interface extension method and device | |
CN107465240A (en) | A kind of intelligent movable power supplies and carry out the method for usb data communication with it | |
CN106502939B (en) | USB adapter and data transmission equipment | |
CN105068958B (en) | Method for handover control and device | |
CN108988431B (en) | Multi-protocol charging device and multi-protocol charging method | |
CN106797127A (en) | Electronic installation, the method that charging is controlled by electronic installation and the method powered by electric supply installation | |
CN107707000B (en) | OTG power supply and wireless charging compatible circuit, related method and terminal equipment | |
CN107124012A (en) | Charging method, device, charger, terminal and system | |
CN105373464A (en) | Charging warning method and device of wearable equipment | |
TW200926629A (en) | Mobile terminal aware of external device and control method for the same | |
CN203813491U (en) | Charging adapter device | |
CN108964187A (en) | The charging method of terminal and terminal room | |
CN107482710A (en) | Wireless charging method and terminal | |
CN106067571A (en) | Method and electronic equipment for battery charging | |
CN105932729A (en) | Charger authentication method and device for electronic equipment and electronic equipment | |
CN104577235B (en) | For the method for portable set charging, the method, apparatus and system of control charging | |
CN104967174B (en) | Charge control method and device | |
CN107329520A (en) | USB interface connection method, equipment and the system of mobile terminal | |
CN106856289B (en) | Electronic equipment and circuit thereof, switching equipment and circuit thereof and signal processing system | |
CN106026232A (en) | Detecting method and apparatus for USB port type | |
CN207835120U (en) | A kind of intelligent Charge-control System and its charging adapter, data line, wireless contactless charging equipment | |
KR20190087419A (en) | Power supply control method, device and multi-tab | |
CN112018831B (en) | Charging control method, charging control device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |