CN104701937B - charging method, terminal device and adapter - Google Patents
charging method, terminal device and adapter Download PDFInfo
- Publication number
- CN104701937B CN104701937B CN201510082531.4A CN201510082531A CN104701937B CN 104701937 B CN104701937 B CN 104701937B CN 201510082531 A CN201510082531 A CN 201510082531A CN 104701937 B CN104701937 B CN 104701937B
- Authority
- CN
- China
- Prior art keywords
- charge
- charging
- terminal device
- waveform
- power supply
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
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
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present invention provides a kind of charging method, terminal device and adapters.The charging method is applied to the terminal device with first interface, including:Detect whether that charge power supply is connected to the first interface;When having detected that charge power supply is connected to the first interface, control charging current causes the size of the charging current to change according to the waveform of regulation;The size of charging current is detected according to the charging voltage after the waveform variation of regulation;And whether defined threshold is risen to according to the charging voltage, different charge parameters is set.Charging method according to the present invention, terminal device and adapter, can shaking hands between terminal device and adapter be realized according to the charging current that the waveform according to regulation changes between terminal device and adapter, so as to be configured at low cost to charge parameter, reduce because hardware fault leads to not the risk to charge.
Description
Technical field
The present invention relates to a kind of charging method, terminal device and adapters more particularly to can be according to according to regulation
The charging current of waveform variation realizes shaking hands between terminal device and adapter, so as to join at low cost to charging
Number is configured, and is reduced because hardware fault leads to not charging method, terminal device and the adapter of the risk to charge.
Background technology
With the rapid development of Information technology, the function of electronic product is stronger and stronger, it is necessary to battery using large capacity
The daily need of people could be met.However, the increase of battery capacity can cause the charging time elongated.Nowadays, occurred
Rapid nitriding is to be charged using the voltage of 9V or 12V than traditional 5V biggers, is charged so as to substantially reduce
Time.If however, charging to the terminal device for not supporting fast charge mode using high voltage, the terminal can be caused to set
Standby damage.Therefore before quick charge is carried out, need to carry out " shaking hands " between terminal device and adapter, so as to confirm two
Person supports fast charge mode.
In traditional handshake method, terminal device and adapter generally use UART (Universal
Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) it converses.Fig. 1 represents traditional
The sequence diagram of handshake method between terminal device and adapter.As shown in Figure 1, terminal device is switched to adapter first
UART pins, and the inquiry whether adapter supports fast charge mode is sent from terminal device to adapter.Work as adapter
When supporting fast charge mode, the response for representing to support fast charge mode is sent to terminal device, and switches to USB.When
When terminal device receives the response of the support fast charge mode from adapter, pin is switched to USB, so as to pass through
USB carries out quick charge.If terminal device does not support fast charge mode, inquiry would not be sent to adapter, therefore
It will not carry out quick charge.If adapter does not support fast charge mode, response will not be sent for the inquiry, therefore
It will not carry out quick charge.In this case, adapter will charge to terminal device according to 5V normal voltages.
However, being not difficult to find out, traditional handshake method needs terminal device and adapter be equipped with UART pins and
Switch unit between UART and USB.Such structure not only results in the increase of cost, the meeting when switch unit breaks down
Lead to not charge, there is higher failure risk.
The content of the invention
The present invention is in view of Yi Shang problem is completed, it is intended that providing a kind of charging method, terminal device and adaptation
Device can realize shaking hands between terminal device and adapter, so as to not according to the charging current that the waveform according to regulation changes
Only charge parameter can be configured at low cost, reduced because hardware fault leads to not the risk to charge.
One embodiment of the present of invention provides a kind of charging method, applied to the terminal device with first interface, wherein
Including:Detect whether that charge power supply is connected to the first interface;When having detected that charge power supply is connected to described first and connects
During mouth, control charging current causes the size of the charging current to change according to the waveform of regulation;Detect the size of charging current
According to the charging voltage after the waveform variation of regulation;And whether defined threshold is risen to according to the charging voltage, it sets not
Same charge parameter.
The embodiment of the present invention also provides a kind of charging method, and applied to adapter, the adapter can pass through first
Interface charges to terminal device, including:Detect the size of charging current;Whether the size of the detected charging current of judgement
Change according to the waveform of regulation;When the size for being judged as detected charging current changes according to the waveform of regulation, will charge
It is more than voltage increase to defined threshold.
The embodiment of the present invention also provides a kind of terminal device, has first interface, including:Interface detection module,
It configures to have detected whether that charge power supply is connected to the first interface;Charging current control module configures to control the electricity that charges
Stream is so that the size of the charging current changes according to the waveform of regulation;Charging voltage detection module, configuration are electric to detect charging
The size of stream is according to the charging voltage after the waveform variation of regulation;And charge parameter setup module, it configures and to fill according to
Whether piezoelectric voltage rises to defined threshold, sets different charge parameters.
The embodiment of the present invention also provides a kind of adapter, can be charged by first interface to terminal device, wherein wrapping
It includes:Current detection module configures to detect the size of charging current;Judgment module configures to judge detected charging current
Size whether according to regulation waveform change;And charging voltage setup module, configuration are judged as to work as the judgment module
When the size of the charging current detected changes according to the waveform of regulation, charging voltage is promoted to more than defined threshold.
It can be according to the electricity changed by specified waveform between charging method according to the present invention, terminal device and adapter
Stream is shaken hands to realize without UART is used to converse, thus can be omitted in terminal device and adapter USB with
Switch unit between UART or even UART modules can be not provided in adapter, so as to can not only be at low cost to filling
Electrical parameter is configured, additionally it is possible to be reduced because these cell failures lead to not the risk to charge.
Description of the drawings
Fig. 1 is the sequence diagram for representing the handshake method between traditional terminal device and adapter.
Fig. 2 is the flow chart of the charging method according to an embodiment of the invention applied to terminal device.
Fig. 3 is an exemplary figure of the charging current for representing the waveform variation according to regulation.
Fig. 4 is the flow chart of the charging method according to an embodiment of the invention applied to adapter.
Fig. 5 is the functional block diagram of electronic equipment according to an embodiment of the invention.
Fig. 6 is the functional block diagram of electronic equipment according to an embodiment of the invention.
Specific embodiment
To enable those skilled in the art to more fully understand technical scheme, below in conjunction with the accompanying drawings specifically
The specific embodiment of the charging method of the bright present invention, terminal device and adapter.Wherein, the present invention each provides application
In the terminal device of the present invention and the charging method of adapter.Terminal device for example can be tablet computer, laptop,
PDA, e-book, smart phone, portable phone, vehicle mounted guidance etc. are but it is also possible to be any equipment that can be charged.With
In lower explanation, said exemplified by selecting normal charging mode (such as 5V) or fast charge mode (such as 9V, 12V) charging
It is bright.But present invention can also apply to other different types of charge modes, charging voltage can also be beyond 5V, 9V, 12V
Voltage.
Certainly, the invention is not limited thereto, in those of ordinary skill in the art institute without creative efforts
The every other embodiment obtained, belongs to the scope of protection of the invention.
【Charging method applied to terminal device】
In the following, carry out the charging method applied to terminal device that the present invention will be described in detail with reference to attached drawing.Fig. 2 is according to this hair
The flow chart of the charging method applied to terminal device of bright embodiment.As shown in Fig. 2, this method includes:
First, detected whether that charge power supply is connected to the first interface (step S210).Terminal device can pass through
First interface charges, but first interface is not limited to be exclusively used in the interface to charge, can also be not only chargeable but also can transmit number
According to interface.Typically, first interface can be that USB interface, Mini-USB interfaces, Micro-USB interfaces, Lightning connect
Mouth is but it is also possible to be other any interfaces with charge function.(the step when not detecting that charge power supply is connected to interface
S210, no), continue to detect whether to be connected to first interface by charge power supply back to step S210.
It is (step S210, yes) when detecting that charge power supply is connected to first interface, you can start to charge up.At this point, terminal
The size that equipment can control charging current to cause charging current changes according to the waveform of regulation.In the following, description is according to regulation
One example of the electric current of waveform variation.In this example, the electric current changed according to the waveform of regulation is from the first current value rank
Ladder type increases to the second current value, then drops to first current value from the second current value step type.Fig. 3 is to represent
One exemplary figure of the charging current that the waveform according to regulation changes.In figure 3, abscissa represents the time, and ordinate represents
The size of electric current.As shown in figure 3, it is 200mA that first charging current can be controlled, stop 500ms after a period of time, with
Charging current is risen into 400mA afterwards and stops 500ms again after a period of time, and so on, often increase 200mA and pass through
Stop 500ms after a period of time, so as to which step type increases to 1800mA.Then control current value is stepped declines, and often declines
200mA and stop 500ms after a period of time, until charging current drops to 200mA.Obviously, become according to the waveform of regulation
The electric current of change is not limited to waveform shown in Fig. 3, but the ripple that curent change waveform when being preferably capable and charging normal distinguishes
Shape.
Then, the size of charging current is detected according to the charging voltage (step S230) after the waveform variation of regulation, and
Whether defined threshold is risen to according to the charging voltage, different charge parameters (step S240) is set.Specifically, at this
In invention, the above-mentioned waveform according to regulation, and adapter can be prestored in the adapter for supporting fast charge mode
When recognizing the electric current changed according to the waveform of regulation, charging voltage is risen to more than defined threshold.If terminal is set
The standby size for detecting charging current rises to defined threshold according to the charging voltage after the waveform variation of regulation, then can determine
The adapter supports quick charge, therefore can set charge parameter according to fast charge mode.On the contrary, if terminal device is examined
The size for measuring charging current does not rise to defined threshold according to the charging voltage after the waveform variation of regulation, then can determine
The adapter does not support quick charge, therefore can set charge parameter according to normal charging mode.
Preferably, after detecting that charge power supply is connected to first interface (step S210, yes), charging electricity can be first identified
The type in source.The type of charge power supply can include adapter, charger baby or other-end equipment.If charge power supply
Type is the charge power supply beyond adapter, it is determined that sets charge parameter according to normal charging mode.Due to charger baby, other
The charge power supply in addition to adapter such as terminal device is not suitable for charging using fast charge mode, therefore by knowing in advance
The type of other charge power supply can be judged as the type of charge power supply when being the charge power supply beyond adapter directly according to general
Logical charge mode sets charge parameter, and electric current is no longer controlled to change according to the waveform of regulation, this charging method is performed so as to save
Expense.
By above method, can be realized between terminal device and adapter according to the electric current changed by specified waveform
It shakes hands without UART is used to converse, therefore can be omitted in terminal device and adapter between USB and UART
Switch unit or even UART modules can be not provided in adapter, so as to be carried out at low cost to charge parameter
It sets, additionally it is possible to reduce because these cell failures lead to not the risk to charge.
Application according to the present invention is respectively illustrated above in multiple embodiments of the charging method of terminal device.Obviously,
Those skilled in the art above-described embodiment can be made without departing from the spirit and scope of the present invention it is various combination, modification or
Person deforms.Those of ordinary skill in the art's all other embodiments obtained without creative efforts, all
Belong to the scope of protection of the invention.
【Charging method applied to adapter】
In the following, carry out the charging method applied to adapter that the present invention will be described in detail with reference to attached drawing.The adapter can lead to
First interface is crossed to charge using the terminal device of from the second charge mode to the present invention.Fig. 4 is according to an embodiment of the invention
The charging method applied to adapter flow chart.As shown in figure 4, this method includes:
First, the size of charging current is detected, and judges whether the size of charging current changes according to the waveform of regulation
(step S410).Specifically, when adapter is connected to the first interface of terminal device, start to be filled to terminal device
Electricity.First interface is not limited to be exclusively used in the interface to charge, can also be interface that is not only chargeable but also can transmitting data.Typically,
First interface can be USB interface, Mini-USB interfaces, Micro-USB interfaces, Lightning interfaces but it is also possible to be other
Any interface with charge function.If terminal device supports fast charge mode, in terminal device by charging current
Size control is to change according to the defined waveform.At this point, adapter can by by the charging current detected with being adapted to
Pre-stored defined waveform is compared to judge whether terminal device supports fast charge mode in device.
An in the following, example of the electric current that description changes according to the waveform of regulation.In this example, according to the waveform of regulation
The electric current of variation is to increase to the second current value from the first current value step type, is then declined from second current value is stepped
To first current value.Fig. 3 is an exemplary figure of the charging current for representing the waveform variation according to regulation.In figure 3,
Abscissa represents the time, and ordinate represents the size of electric current.As shown in figure 3, it is 200mA that first charging current can be controlled,
Stop 500ms after a period of time, charging current is then risen into 400mA and is stopped again after a period of time
500ms, and so on, often increase 200mA and stop 500ms after a period of time, so as to which step type increases to 1800mA.With
It controls current value is stepped to decline afterwards, often declines 200mA and stop 500ms after a period of time, until charging current declines
To 200mA.Obviously, the electric current changed according to the waveform of regulation is not limited to waveform shown in Fig. 3, but is preferably capable with normally filling
The waveform that current waveform variation when electric distinguishes.
If the size of charging current according to the waveform variation (step S410, no) of regulation, then can not determine to connect
Terminal device do not support fast charge mode, therefore terminate to handle, i.e., continue to charge to terminal device according to current state.
If the size of charging current changes (step S410, yes) according to the waveform of regulation, then the terminal device branch of connection can be determined
Fast charge mode is held, therefore charging voltage is promoted to more than defined threshold (step S420), so as to inform that terminal device should
Adapter supports fast charge mode.After if terminal device detects that the size of charging current changes according to the waveform of regulation
Charging voltage rises to defined threshold, then can determine that the adapter supports fast charge mode, therefore can be according to quickly filling
Power mode sets charge parameter.On the contrary, after if terminal device detects that the size of charging current changes according to the waveform of regulation
Charging voltage do not rise to defined threshold, then can determine that the adapter does not support fast charge mode, therefore can be by
According to normal charging mode, charge parameter is set.
By above method, can be realized between terminal device and adapter according to the electric current changed by specified waveform
It shakes hands without UART is used to converse, therefore can be omitted in terminal device and adapter between USB and UART
Switch unit or even UART modules can be not provided in adapter, so as to be carried out at low cost to charge parameter
It sets, additionally it is possible to reduce because hardware fault leads to not the risk to charge.
Application according to the present invention is respectively illustrated above in multiple embodiments of the charging method of adapter.Obviously, originally
Field technology personnel above-described embodiment can be made without departing from the spirit and scope of the present invention it is various combination, modification or
Deformation.Those of ordinary skill in the art's all other embodiments obtained without creative efforts, all belong to
In the scope of protection of the invention.
【Terminal device】
In the following, terminal device according to the present invention is described in detail with reference to attached drawing.Terminal device according to the present invention has
For connecting the first interface of charge power supply, and application according to the present invention is performed in the charging method of terminal device.However,
First interface is not limited to be exclusively used in the interface to charge, can also be interface that is not only chargeable but also can transmitting data.Typically, first
Interface can be that USB interface, Mini-USB interfaces, Micro-USB interfaces, Lightning interfaces are any but it is also possible to be other
Interface with charge function.
Fig. 5 is the functional block diagram of electronic equipment according to an embodiment of the invention.As shown in figure 5, terminal device 500 includes
Interface detection module 501, charging current control module 502, charging voltage detection module 503 and charge parameter setup module
504。
Interface detection module 501 is for detecting whether there is charge power supply to be connected to the first interface.When not detecting
Charge power supply is connected to interface.
Charging current control module 502 is used for the size that charging current is controlled to cause charging current and becomes according to the waveform of regulation
Change.An in the following, example of the electric current that description changes according to the waveform of regulation.In this example, change according to the waveform of regulation
Electric current be from the first current value step type to increase to the second current value, then drop to institute from the second current value step type
State the first current value.Fig. 3 is an exemplary figure of the charging current for representing the waveform variation according to regulation.In figure 3, horizontal seat
Mark represents the time, and ordinate represents the size of electric current.As shown in figure 3, charging current can be controlled first as 200mA, process
Stop 500ms after a period of time, charging current is then risen into 400mA and stops 500ms again after a period of time, with
This analogizes, and often increases 200mA and stops 500ms after a period of time, so as to which step type increases to 1800mA.Then control electricity
Flow valuve is stepped to be declined, and is often declined 200mA and is stopped 500ms after a period of time, until charging current drops to 200mA.
Obviously, electricity when being not limited to waveform shown in Fig. 3 according to the electric current of the waveform variation of regulation, but being preferably capable and charge normal
The waveform that rheology waveform distinguishes.
Charging voltage detection module 503 is used to detect the size of charging current according to the charging electricity after the waveform variation of regulation
Pressure, and charge parameter setup module 504 is used to whether rise to defined threshold according to the charging voltage, sets different fill
Electrical parameter.Specifically, in the present invention it is possible to be prestored in the adapter for supporting fast charge mode above-mentioned according to rule
Fixed waveform, and charging voltage is risen to regulation by adapter when recognizing the electric current changed according to the waveform of regulation
It is more than threshold value.If terminal device detects that the size of charging current rises to according to the charging voltage after the waveform variation of regulation
Defined threshold can then determine that the adapter supports quick charge, therefore can set charge parameter according to fast charge mode.
On the contrary, if terminal device detects that the size of charging current does not rise to according to the charging voltage after the waveform variation of regulation
Defined threshold can then determine that the adapter does not support quick charge, therefore can set the ginseng that charges according to normal charging mode
Number.
Preferably, terminal installation 500 can also include power supply type identification module, for identifying the type of charge power supply.
After interface detection module 501 detects that charge power supply is connected to first interface, power supply type identification module, which can be identified first, to be filled
The type of power supply.The type of charge power supply includes adapter, charger baby or other-end equipment.If charge power supply
Type is the charge power supply beyond adapter, then charge parameter setup module 504 sets charge parameter according to normal charging mode.
Since the charge power supply in addition to adapter such as charger baby, other-end equipment is not suitable for being filled using fast charge mode
Electricity, therefore the type by identifying charge power supply in advance can be judged as that the type of charge power supply is filling beyond adapter
Charge parameter directly is set according to normal charging mode during power supply, electric current is no longer controlled to change according to the waveform of regulation, so as to
Save the operation expense of terminal device.
It, can be according to the electricity changed by specified waveform between terminal device and adapter by using more than terminal device
Stream is shaken hands to realize without UART is used to converse, therefore can be omitted cutting between USB and UART in terminal device
Unit is changed, so as to be configured at low cost to charge parameter, additionally it is possible to reduce because these cell failures cause nothing
The risk that method charges.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required hardware platform to realize, naturally it is also possible to all be implemented by hardware.Based on such understanding,
Technical scheme can be embodied in the form of software product in whole or in part to what background technology contributed,
The computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions making
Computer equipment (can be personal computer, server or the network equipment etc.) performs each embodiment of the present invention
Or the method described in some parts of embodiment.
Multiple embodiments of the terminal device of the present invention are explained above.Obviously, those skilled in the art are not departing from this
Various combinations, modification or deformation can be made in the spirit and scope of invention to above-described embodiment.Ordinary skill people
Member's all other embodiments obtained without creative efforts, belong to the scope of protection of the invention.
【Adapter】
In the following, adapter according to the present invention is described in detail with reference to attached drawing.The adapter can be made by first interface
It is charged with the terminal device of from the second charge mode to the present invention.However, first interface is not limited to be exclusively used in the interface to charge,
It can also be interface not only chargeable but also that data can be transmitted.Typically, first interface can be USB interface, Mini-USB interfaces,
Micro-USB interfaces, Lightning interfaces are but it is also possible to be other any interfaces with charge function.
Fig. 6 is the functional block diagram of adapter according to an embodiment of the invention.As shown in fig. 6, adapter 600 includes:Electricity
Flow detection module 601, judgment module 602 and charging voltage setup module 603.
Current detection module 601 is used to detect the size of charging current.
Judgment module 602 is used to judge whether the size of charging current to change according to the waveform of regulation.Specifically, when suitable
When orchestration 600 is connected to the first interface of terminal device, start to charge to terminal device.If terminal device is supported quick
The size control of charging current is then to change according to the defined waveform in terminal device by charge mode.At this point, judgment module
602 can be by the way that by the charging current detected and in adapter, pre-stored defined waveform is compared to judge eventually
Whether end equipment supports fast charge mode.
An in the following, example of the electric current that description changes according to the waveform of regulation.In this example, according to the waveform of regulation
The electric current of variation is to increase to the second current value from the first current value step type, is then declined from second current value is stepped
To first current value.Fig. 3 is an exemplary figure of the charging current for representing the waveform variation according to regulation.In figure 3,
Abscissa represents the time, and ordinate represents the size of electric current.As shown in figure 3, it is 200mA that first charging current can be controlled,
Stop 500ms after a period of time, charging current is then risen into 400mA and is stopped again after a period of time
500ms, and so on, often increase 200mA and stop 500ms after a period of time, so as to which step type increases to 1800mA.With
It controls current value is stepped to decline afterwards, often declines 200mA and stop 500ms after a period of time, until charging current declines
To 200mA.Obviously, the electric current changed according to the waveform of regulation is not limited to waveform shown in Fig. 3, but is preferably capable with normally filling
The waveform that current waveform variation when electric distinguishes.
If it is determined that module 602 is judged as that the size of charging current does not change according to the waveform of regulation, then can determine
The terminal device of connection does not support fast charge mode, therefore continues to charge to terminal device according to current state.If sentence
Disconnected module 602 is judged as that the size of charging current changes according to the waveform of regulation, then can determine that the terminal device of connection is supported
Fast charge mode, therefore charging voltage is promoted to more than defined threshold by charging voltage setup module 603, so as to inform terminal
The equipment adapter supports fast charge mode.If terminal device detects that the size of charging current becomes according to the waveform of regulation
Charging voltage after change rises to defined threshold, then can determine that the adapter supports fast charge mode, therefore can be according to
Fast charge mode sets charge parameter.On the contrary, if terminal device detects the size of charging current according to the waveform of regulation
Charging voltage after variation does not rise to defined threshold, then can determine that the adapter does not support fast charge mode, therefore
Can charge parameter be set according to normal charging mode.
It, can be according to the electric current changed by specified waveform between terminal device and adapter by using more than adapter
It shakes hands to realize without UART is used to converse, therefore can be omitted the switching list between USB and UART in adapter
Member or even UART modules are not provided in adapter, so as to be configured at low cost to charge parameter, additionally it is possible to
It reduces because hardware fault leads to not the risk to charge.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required hardware platform to realize, naturally it is also possible to all be implemented by hardware.Based on such understanding,
Technical scheme can be embodied in the form of software product in whole or in part to what background technology contributed,
The computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions making
Computer equipment (can be personal computer, server or the network equipment etc.) performs each embodiment of the present invention
Or the method described in some parts of embodiment.
Multiple embodiments of the adapter of the present invention are explained above.Obviously, those skilled in the art are not departing from this hair
Various combinations, modification or deformation can be made in bright spirit and scope to above-described embodiment.Those of ordinary skill in the art
All other embodiments obtained without creative efforts belong to the scope of protection of the invention.
Claims (8)
1. a kind of charging method, applied to the terminal device with first interface, including:
Detect whether that charge power supply is connected to the first interface;
When having detected that charge power supply is connected to the first interface, control charging current causes the size of the charging current
Change according to the waveform of regulation;
The size of charging current is detected according to the charging voltage after the waveform variation of regulation;And
Whether defined threshold is risen to according to the charging voltage, to determine whether the charge power supply supports quick charge mould
Formula, and different charge parameters is set according to the type of the charge power supply;
Wherein, after detecting that charge power supply is connected to the first interface, the type of the charge power supply is identified;It is filled when described
When power supply is the other kinds of charge power supply beyond adapter, charge parameter is set according to the first charge mode.
2. charging method as described in claim 1, wherein,
It is described that whether defined threshold is risen to according to the charging voltage, different charge parameters is set to include:
When the charging voltage rises to defined threshold, charge parameter is set according to the second charge mode,
When the charging voltage does not rise to defined threshold, charge parameter is set according to the first charge mode, wherein described
The charging voltage of first charge mode is less than the charging voltage of second charge mode.
3. charging method as described in claim 1, wherein,
The electric current that the waveform according to regulation changes is to increase to the second current value from the first current value step type, then from institute
It states the second current value step type and drops to first current value.
4. a kind of charging method, applied to adapter, the adapter can by first interface using the second charge mode to
Terminal device charges, including:
Detect the size of charging current;
Judge whether the size of detected charging current changes according to the waveform of regulation, to determine whether the terminal device props up
Hold fast charge mode;
When the size for being judged as detected charging current changes according to the waveform of regulation, determine that the terminal device is supported
Charging voltage is promoted to more than defined threshold by fast charge mode;
Wherein, the electric current that the waveform according to regulation changes is to increase to the second current value from the first current value step type, with
Drop to first current value from the second current value step type afterwards.
5. a kind of terminal device has first interface, including:
Interface detection module configures to have detected whether that charge power supply is connected to the first interface;
Charging current control module configures the size that charging current is controlled to cause the charging current and becomes according to the waveform of regulation
Change;
Charging voltage detection module configures to detect the size of charging current according to the charging voltage after the waveform variation of regulation;
Charge parameter setup module configures whether rise to defined threshold according to the charging voltage, to determine the charging
Whether power supply supports fast charge mode, and sets different charge parameters according to the type of the charge power supply;
Wherein further include:Power supply type identification module configures to identify the type of charge power supply, the charge parameter setup module
When the charge power supply for being connected to the terminal device of power supply type identification module identification is other classes beyond adapter
During the charge power supply of type, charge parameter is set according to the first charge mode.
6. terminal device as claimed in claim 5, wherein,
Charge parameter setup module is pressed when the charging voltage that the charging voltage detection module detects rises to defined threshold
Charge parameter is set according to the second charge mode, when the charging voltage that the charging voltage detection module detects does not rise to rule
When determining threshold value, charge parameter is set according to the first charge mode, wherein the charging voltage of first charge mode is less than described
The charging voltage of second charge mode.
7. terminal device as claimed in claim 5, wherein,
The electric current that the waveform according to regulation changes is to increase to the second current value from the first current value step type, then from institute
It states the second current value step type and drops to first current value.
8. a kind of adapter can be charged by first interface using the second charge mode to terminal device, including:
Current detection module configures to detect the size of charging current;
Judgment module, configures to judge whether the size of detected charging current changes according to the waveform of regulation, to determine institute
State whether terminal device supports fast charge mode;
Charging voltage setup module, configuration are judged as the size of detected charging current according to the rules to work as the judgment module
Waveform variation when, determine that the terminal device supports fast charge mode, charging voltage be promoted to more than defined threshold;
Wherein, the electric current that the waveform according to regulation changes is to increase to the second current value from the first current value step type, with
Drop to first current value from the second current value step type afterwards.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510082531.4A CN104701937B (en) | 2015-02-15 | 2015-02-15 | charging method, terminal device and adapter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510082531.4A CN104701937B (en) | 2015-02-15 | 2015-02-15 | charging method, terminal device and adapter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104701937A CN104701937A (en) | 2015-06-10 |
CN104701937B true CN104701937B (en) | 2018-06-01 |
Family
ID=53348800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510082531.4A Active CN104701937B (en) | 2015-02-15 | 2015-02-15 | charging method, terminal device and adapter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104701937B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104993182B (en) | 2015-08-05 | 2018-01-09 | 青岛海信移动通信技术股份有限公司 | A kind of mobile terminal, can directly charge source adapter and charging method |
CN104993562B (en) * | 2015-08-05 | 2017-12-05 | 青岛海信移动通信技术股份有限公司 | Can directly be charged source adapter |
WO2017063192A1 (en) | 2015-10-16 | 2017-04-20 | 广东欧珀移动通信有限公司 | Charging method, mobile terminal, and charging device |
CN105428741B (en) * | 2015-12-01 | 2017-12-29 | 中航锂电(洛阳)有限公司 | A kind of method of charging lithium-ion battery |
EP3214723B1 (en) | 2016-01-05 | 2018-11-28 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Rapid charging method, mobile terminal and adapter |
CN107204636A (en) * | 2016-03-16 | 2017-09-26 | 德业科技股份有限公司 | Cell voltage is detected in charging process to adjust the charging method of supply current |
CN107959072B (en) * | 2017-11-17 | 2020-03-24 | 珠海市魅族科技有限公司 | Charging method and device, computer equipment and readable storage medium |
CN111525201B (en) * | 2020-04-28 | 2023-03-14 | 江西凯马百路佳客车有限公司 | Charging control method for new energy vehicle assembled with lithium iron phosphate battery |
CN111478833B (en) * | 2020-04-30 | 2022-03-01 | Oppo广东移动通信有限公司 | User terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102570546A (en) * | 2011-12-28 | 2012-07-11 | 中兴通讯股份有限公司 | Mobile terminal and charge device and method thereof |
CN103378378A (en) * | 2012-04-28 | 2013-10-30 | 联想(北京)有限公司 | Charging method and charging device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880271A (en) * | 2011-07-15 | 2013-01-16 | 宏碁股份有限公司 | Electronic device and method for judging maximum output power |
JP2014103752A (en) * | 2012-11-19 | 2014-06-05 | Toyota Industries Corp | Switching power supply device |
-
2015
- 2015-02-15 CN CN201510082531.4A patent/CN104701937B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102570546A (en) * | 2011-12-28 | 2012-07-11 | 中兴通讯股份有限公司 | Mobile terminal and charge device and method thereof |
CN103378378A (en) * | 2012-04-28 | 2013-10-30 | 联想(北京)有限公司 | Charging method and charging device |
Also Published As
Publication number | Publication date |
---|---|
CN104701937A (en) | 2015-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104701937B (en) | charging method, terminal device and adapter | |
US10666072B2 (en) | Power adapter and method for handling impedance anomaly in charging loop | |
JP6709004B2 (en) | Hub with combined power supply | |
CA2552785C (en) | Battery charger for portable devices and related methods | |
EP2278668B1 (en) | Power supply device, portable electronic apparatus and related method for determining types of a power supply device | |
RU2587159C2 (en) | Mobile terminal and interface connection method therefor | |
CN106571663B (en) | Charging method, terminal and charging adapter | |
CN108988431B (en) | Multi-protocol charging device and multi-protocol charging method | |
CN105429245A (en) | Charging control method and charging control device | |
CN104967200A (en) | Quick-charging method and mobile terminal | |
CN105829990A (en) | Method and apparatus for charging electronic device with USB connection | |
CN106374581A (en) | Voltage output method for charger and charger | |
CN104505552A (en) | Charging method and charging device | |
CN107783630A (en) | Electronic installation and its control method and computer-readable recording medium | |
US20090267567A1 (en) | Systems and methods for supplying power to an electronic device | |
CN112688373A (en) | Charging method and device and data line | |
CN115237235B (en) | USB equipment shift-out identification circuit and method and power supply system | |
CN105048018B (en) | The charging method and device of a kind of terminal with data exchanging function | |
CN104659867A (en) | Power supply device and method for modulating charging current of power supply device of portable device | |
CN109256825B (en) | Charging method and electronic device | |
CN104617643A (en) | Charging method, equipment to be charged, power supply equipment and charging system | |
JP5613135B2 (en) | Battery unit for portable terminal device and power supply method | |
TWI559125B (en) | Power bank apparatus and power control method thereof | |
CN112018831A (en) | Charging control method, charging control device and electronic equipment | |
CN106972558B (en) | Charging control method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |