CN107147168B - Charging device and terminal equipment - Google Patents

Charging device and terminal equipment Download PDF

Info

Publication number
CN107147168B
CN107147168B CN201710393103.2A CN201710393103A CN107147168B CN 107147168 B CN107147168 B CN 107147168B CN 201710393103 A CN201710393103 A CN 201710393103A CN 107147168 B CN107147168 B CN 107147168B
Authority
CN
China
Prior art keywords
voltage
switch
input port
power input
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710393103.2A
Other languages
Chinese (zh)
Other versions
CN107147168A (en
Inventor
张�林
谭琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710393103.2A priority Critical patent/CN107147168B/en
Publication of CN107147168A publication Critical patent/CN107147168A/en
Application granted granted Critical
Publication of CN107147168B publication Critical patent/CN107147168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0088
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/40Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries adapted for charging from various sources, e.g. AC, DC or multivoltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent protection

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a charging device and terminal equipment, which can comprise a switch module and a battery module, wherein the switch module is provided with a first power input port and a second power input port, and the battery module comprises: a first charging path connected through the first power input port and a second charging path connected through the second power input port are arranged between the switch module and the battery module; the switch module is configured to switch on the first charging path or the second charging path between the switch module and the battery module according to a first voltage at the first power input port and a second voltage at the second power input port. Compared with the prior art, the charging device in the embodiment of the invention can automatically switch the first charging path and the second charging path without depending on the control of a controller, thereby improving the flexibility and safety of charging.

Description

Charging device and terminal equipment
Technical Field
The invention relates to the technical field of charging, in particular to a charging device and terminal equipment.
Background
In order to solve the charging problem of the terminal device, the charging modes on the market can be mainly divided into a wired charging mode and a wireless charging mode. The wired charging mode has the advantages of high charging efficiency and high charging speed; the wireless charging mode has the advantage of high charging convenience. Therefore, in the industry, the two charging methods are often combined to design a compatible charging method compatible with a wired charging method/a wireless charging method.
However, in all the common compatible charging methods, a switch unit is added to the terminal device to select different charging methods according to different charging scenarios. However, the switch unit usually needs to rely on the control of the controller in the terminal device, and the controller does not operate from the power supply of the battery in the terminal device, so when the power of the terminal device is too low to support the power-on operation of the controller, the switch unit may have a misjudgment situation, and further, the safety of charging and the flexibility of charging control may be reduced.
That is, the conventional charging device has problems of low flexibility and safety.
Disclosure of Invention
The embodiment of the invention provides a charging device, which is used for solving the problems of lower flexibility and lower safety of the conventional charging device.
The embodiment of the invention provides a charging device, which comprises a switch module and a battery module, wherein the switch module is provided with a first power input port and a second power input port, and the battery module is provided with: a first charging path connected through the first power input port and a second charging path connected through the second power input port are arranged between the switch module and the battery module;
the switch module is configured to switch on the first charging path or the second charging path between the switch module and the battery module according to a first voltage at the first power input port and a second voltage at the second power input port.
Correspondingly, the embodiment of the invention also provides terminal equipment which comprises the charging device in the embodiment of the invention.
The invention has the following beneficial effects:
an embodiment of the present invention provides a charging device, which may include a switch module having a first power input port and a second power input port, and a battery module, wherein: a first charging path connected through the first power input port and a second charging path connected through the second power input port are arranged between the switch module and the battery module; the switch module is configured to switch on the first charging path or the second charging path between the switch module and the battery module according to a first voltage at the first power input port and a second voltage at the second power input port. Compared with the prior art, the charging device in the embodiment of the invention can automatically switch the first charging path and the second charging path without depending on the control of a controller, thereby improving the flexibility and safety of charging.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a charging device according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a possible practical structure of a charging device provided in an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an internal structure of a switch module according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example (b):
in order to solve the problems of poor flexibility and poor safety of the conventional charging device, an embodiment of the present invention provides a charging device, as shown in fig. 1, which is a schematic structural diagram of the charging device according to the embodiment of the present invention. Specifically, as shown in fig. 1, the charging device according to the embodiment of the present invention may include a switch module 11 having a first power input port and a second power input port, and a battery module 12, wherein: the switch module 11 and the battery module 12 include a first charging path connected through the first power input port and a second charging path connected through the second power input port;
the switch module 11 is configured to switch on the first charging path or the second charging path between the switch module 11 and the battery module 12 according to a first voltage at the first power input port and a second voltage at the second power input port.
That is, in an embodiment of the present invention, the charging device may include a switch module having a first power input port and a second power input port, and a battery module, wherein: a first charging path connected through the first power input port and a second charging path connected through the second power input port are arranged between the switch module and the battery module; the switch module is configured to switch on the first charging path or the second charging path between the switch module and the battery module according to a first voltage at the first power input port and a second voltage at the second power input port. Compared with the prior art, the charging device in the embodiment of the invention can automatically switch the first charging path and the second charging path without depending on the control of the controller, so that misoperation and missing operation of the switch module caused by insufficient electric quantity of the controller can be avoided, and the flexibility and safety of charging can be effectively improved.
It should be noted that, the charging device described in the embodiment of the present invention may be integrated in the corresponding terminal device (or power bank) as an integrated device, or may be independently disposed outside the corresponding terminal device (or power bank) as an independent device, which is not described herein again.
The first power input port may include a plurality of first power input sub-ports, and the second power input port may include a plurality of second power input sub-ports, which is not limited in this embodiment of the present invention.
Specifically, the switch module 11 is specifically configured to, if it is determined that the first voltage is greater than a preset voltage threshold, turn on the first charging path, so that a first adapter connected to the first power input port charges the battery module; and if the first voltage is not larger than the voltage threshold and the second voltage of the second power supply input port is larger than the voltage threshold, the second charging path is conducted so that a second adapter connected with the second power supply input port charges the battery module.
It should be noted that the preset voltage threshold may be flexibly set according to actual situations, for example, the preset voltage threshold may be set to 0V, 1V, 2V, and the like, which is not limited in this embodiment of the present invention.
For example, assuming that the voltage threshold may be 0V, the voltages at the two power input ports of the switch module 11 are determined first, and if it is determined that the first voltage at the first power input port is 4.0V and the second voltage at the second power input port is 0V, it is determined that the adapter is connected to the first power input port of the switch module 11, that is, the battery module 12 in the charging device may be charged through the first charging path.
It should be noted that when it is determined that the first voltage is greater than the voltage threshold, it may not be determined whether the second voltage at the second power input port is greater than the voltage threshold, that is, as long as the first voltage is greater than the voltage threshold, the first power input port and the battery module 12 may be directly turned on, which is not described in detail herein;
if it is determined that the first voltage at the first power input port is 0V and the second voltage at the second power input port is 4.8V, it is determined that the adapter is connected to the second power input port of the switch module 11, that is, the battery module 12 in the charging device can be charged through the second charging path.
It should be noted that when it is determined that the second voltage is greater than the voltage threshold, it is also determined whether the first voltage is not greater than the voltage threshold, and if so, the second power input port and the battery module 12 may be turned on, which is not described in detail herein.
Preferably, the first power input port may be a wired power input port, and the second power input port may be a wireless power input port. Of course, it should be noted that the first power input port may also be a wireless power input port, and the second power input port may also be a wired power input port, which is not described in detail in this embodiment of the present invention.
Further, when the first power input port is a wired power input port and the second power input port is a wireless power input port, the first adapter may be a wired adapter and the second adapter may be a wireless adapter; when the first power input port is a wireless power input port and the second power input port is a limited power input port, the first adapter may be a wireless adapter and the second adapter may be a wired adapter, which is not described in detail herein.
For example, if the first power input port is a wired power input port and the second power input port is a wireless power input port, the first power input port may be a corresponding USB Micro-B interface, USB Type-C interface, or the like, as long as the connection can be established with a corresponding wired adapter through a data line.
Similarly, the second power input port may be coupled to a power receiving unit that may be configured to receive power transmitted by the wireless adapter. Specifically, the power receiving unit may be configured to receive power transmitted by the wireless adapter through its own power transmitting unit.
Wherein the Power receiving Unit may be generally disposed inside the switch module 11 of the charging device, such as a PRU (Power Receiver Unit); the Power transmitting Unit may be generally provided in the wireless adapter, such as a PTU (Power Transfer Unit). It should be noted that, when the PRU and the PTU are within the effective charging range, the electric energy may be transmitted, which is not described herein again.
In addition, it should be noted that, when sufficient electric energy has been charged in The charging device, The charging device may also be used as a power supply device capable of performing reverse power output, at this time, The wired power input port (i.e. The aforementioned first power input port) may also be used as a corresponding reverse power output port to implement an OTG (On-The-Go) function of The charging device, and The OTG technology implements data transmission between devices without a main device, and is used for connection between various devices or mobile devices to perform data exchange, in particular, PAD, mobile phone, and consumer device.
Specifically, if the first power input port only includes one first power input sub-port, and the second power input port only includes one second power input sub-port, the structure of the charging device may also be as shown in fig. 2, which is a schematic diagram of a possible practical structure of the charging device in the embodiment of the present invention. Specifically, as shown in fig. 2, the charging device according to the embodiment of the present invention may include a switch module 11 having a first power input port Vin1 and a second power input port Vin2, a battery module 12 including a power management chip 121 and a battery 122, and a controller 13. It should be noted that, when the battery 122 is discharged excessively, the controller 13 is not powered on to operate.
When the voltage at Vin1 is greater than a preset voltage threshold (no matter whether the voltage at Vin2 is greater than the preset voltage threshold), the switch module 11 may automatically turn on the first charging path without depending on the control of the controller 13, so that the first adapter connected to Vin1 can charge the battery module 12 through the first charging path; when the voltage at Vin2 is greater than the preset voltage threshold and the voltage at Vin1 is not greater than the preset voltage threshold, the switch module 11 may automatically turn on the second charging path without depending on the control of the controller 13, so that the second adapter connected to Vin2 can charge the battery module 12 through the second charging path.
In addition, it should be noted that the battery management chip 121 may be configured to control the power input into the battery 122, and control the battery 122 to provide the corresponding controller 13 with power sufficient for the controller 13 to operate normally (when there is sufficient power in the battery 122), and perform appropriate protection on the battery 122, such as performing overcurrent protection, overvoltage protection, and the like.
The controller 13 may be an AP (Application Processor), a CPU (Central Processing Unit), an MCU (micro controller Unit), or the like in a terminal device corresponding to the charging apparatus, and the terminal device corresponding to the charging apparatus generally refers to a terminal device including the charging apparatus or a terminal device connected to the charging apparatus, and is not described in detail herein.
Further, as shown in fig. 2, when the amount of charging power is sufficient to support the controller 13 to operate, the switch module 11 may be further configured to send charging information (Vin _ sel shown in fig. 2) to the controller 13, so that the controller 13 determines the current charging state of the charging device based on the charging information.
For example, it may be determined, through the charging information, that the adapter currently used for charging the charging device is a wired adapter or a wireless adapter, and that the current charging voltage is 4V, the charging current is 3A, and the like, which is not described herein again.
Furthermore, the controller 13 may also determine corresponding charging adjustment information according to the current charging state, and may feed back the charging adjustment information to a corresponding adapter, so that the adapter adjusts the charging current or the charging voltage, thereby shortening the charging time of the charging device, improving the efficiency, and the like. If the charging voltage is adjusted, the charging device may operate in the CC mode as much as possible, which is not described herein.
Specifically, as shown in fig. 3, it is a schematic structural diagram of the switch module 11 according to the embodiment of the present invention. Specifically, as shown in fig. 3, the switch module 11 according to the embodiment of the present invention may include an overvoltage protection unit 111, a comparison unit 112, a first switch 113, a second switch 114, a reference unit 115, and a driving unit 116, wherein:
the overvoltage protection unit 111 is configured to determine a corresponding control instruction according to the first voltage and the second voltage, and output the control instruction to the driving unit 116;
the comparing unit 112 is configured to determine a larger voltage between the first voltage and the second voltage, and supply power to the overvoltage protection unit 111, the reference unit 115, and the driving unit 116 using the determined voltage.
The reference unit 115 may be configured to send a reference voltage and a threshold voltage to the driving unit 116;
the driving unit 116 is configured to determine the first switch 113 or the second switch 114 that needs to be turned on according to the control instruction, determine a turn-on voltage for turning on the first switch 113 or the second switch 114 based on the reference voltage and the threshold voltage, and output the turn-on voltage to the first switch 113 or the second switch 114.
The first switch 113 is configured to turn on the first power input port and the battery module 12 when receiving a turn-on voltage capable of turning on the first switch 113;
the second switch 114 is configured to turn on the second power input port and the battery module 12 when receiving a turn-on voltage capable of turning on the second switch 114.
For example, taking the first power input port as Vin1 and the second power input port as Vin2 as an example, assuming that Vin1 is 4.2V and Vin2 is 0V, the comparing unit 112 may compare a larger voltage between the first voltage and the second voltage, such as the first voltage Vin1, and output the first voltage to each sub-unit in the switch module 11 to supply power to each sub-unit in the switch module 11, so as to ensure normal operation of each sub-unit in the switch module 11.
After each subunit in the switch module 11 is powered on, each subunit may perform the following operations:
specifically, the overvoltage protection unit 111 may be specifically configured to determine a corresponding control instruction according to the first voltage, the second voltage, a preset effective voltage threshold, and a preset overvoltage protection threshold.
The preset effective voltage threshold and the preset overvoltage protection threshold can be flexibly set according to actual conditions, for example, the preset effective voltage threshold and the preset overvoltage protection threshold can be set to be 4V, 12V and the like. Preferably, the preset effective voltage threshold may be calculated by the reference voltage, which is not limited in this embodiment of the present invention.
It should be noted that the control command may be a command capable of informing the driving unit 116 of which switch to turn on, and a specific format thereof may be flexibly set, which is not described herein.
Specifically, the overvoltage protection unit 111 is specifically configured to generate a first control instruction for instructing the driving unit 116 to turn on the first switch 113 if it is determined that the first voltage is greater than a preset effective voltage threshold and is not greater than a preset overvoltage protection threshold (hereinafter referred to as a first condition); if it is determined that the first voltage is smaller than the effective voltage threshold, and the second voltage is greater than the effective voltage threshold and not greater than the over-voltage protection threshold (hereinafter referred to as a second condition), generating a second control instruction for instructing the driving unit 116 to turn on the second switch 114;
the driving unit 116 is specifically configured to, if the first control instruction is received, calculate a first turn-on voltage for turning on the first switch 113 based on the reference voltage and the threshold voltage, and send the first turn-on voltage to the first switch 113; if the second control instruction is received, a second conduction voltage for conducting the second switch 114 is calculated based on the reference voltage and the threshold voltage, and the second channel voltage is sent to the second switch 114.
It should be noted that, if the first voltage and the second voltage do not satisfy the first condition and the second condition, it may be considered that the overvoltage protection unit 111 does not receive a valid voltage, that is, the charging device is not connected to any available adapter (not connected or damaged), and therefore, no conducting voltage is sent to the first switch 113 and the second switch 114, which is not described in detail herein.
That is to say, the charging device in the embodiment of the present invention is compatible with two power input modes, namely, a wired power input mode and a wireless power input mode, so that the compatibility and flexibility of the charging device can be improved; in addition, in the embodiment of the present invention, since the switch module 11 can automatically switch between the two charging paths, the control of the controller is not required, and therefore, when the electric quantity of the controller is insufficient, the charging paths can still be switched, so that erroneous judgment does not occur, and the charging safety is improved.
Specifically, the reference unit 115 may be further configured to determine temperature information of the charging device, generate a corresponding temperature control instruction according to the temperature information, and send the temperature control instruction to the driving unit 116;
the driving unit 116 may be further configured to not send a turn-on voltage to the first switch 113 and the second switch 114 if it is determined that the charging device is in the over-temperature state according to the temperature control instruction.
Specifically, the reference unit 115 is specifically configured to acquire temperature information of the charging device, and if it is determined that the temperature information is higher than a preset temperature threshold, generate a first temperature control instruction; if the temperature information is determined not to be higher than a preset temperature threshold value, generating a second temperature control instruction;
the driving module 116 is specifically configured to determine that the charging device is in an over-temperature state if the first temperature control instruction is received; and if the second temperature control instruction is received, determining that the charging device is in a non-over-temperature state.
The preset temperature threshold may be flexibly set according to an actual situation, for example, may be set to 60 ℃, 80 ℃, and the like, which is not limited in this embodiment of the present invention.
Further, the driving module 116 is further specifically configured to stop sending the corresponding on-voltage to the first switch 113 and the second switch 114 when it is determined that the charging device is in the over-temperature state, which is not described herein again.
In summary, no matter according to the first voltage, the second voltage and the temperature control command, the switch module 11 can achieve the on/off of the first switch 113 and the second switch 114 without depending on the controller 13, so that when the charging device has low electric quantity and is not enough to support the controller 13 to work, the switch module 11 can still accurately select the first charging path and the second charging path, and the situation of misoperation or missing operation cannot occur, thereby improving the flexibility and safety of charging.
Specifically, the comparing unit 112 may be a voltage comparator.
It should be noted that, the comparator may be implemented by using a corresponding logic control program besides being built by using existing hardware, which is not limited in any way.
Specifically, the first switch 113 and the second switch 114 may be transistors.
Preferably, the transistor may be a triode or a field effect transistor. The triode may be a P-type triode, an N-type triode, or the like, and the field effect transistor may be a P-type field effect transistor, an N-type field effect transistor, or the like, which is not limited in this embodiment of the present invention.
Of course, it should be noted that the first switch 113 and the second switch 114 may also be corresponding hardware switches or logic control programs, as long as they can be turned on at corresponding turn-on voltages, which is not described herein again.
Correspondingly, an embodiment of the present invention further provides a terminal device, as shown in fig. 4, which is a schematic structural diagram of the terminal device described in the embodiment of the present invention. Specifically, as can be seen from fig. 4, the terminal device may include the charging device 41 in the embodiment of the present invention.
In addition, it should be noted that, the embodiment of the present invention further provides a power bank, which includes the charging device in the embodiment of the present invention.
The embodiment of the invention provides a charging device, a terminal device and a charger, which can comprise a switch module and a battery module, wherein the switch module is provided with a first power input port and a second power input port, and the battery module comprises: a first charging path connected through the first power input port and a second charging path connected through the second power input port are arranged between the switch module and the battery module; the switch module is configured to switch on the first charging path or the second charging path between the switch module and the battery module according to a first voltage at the first power input port and a second voltage at the second power input port. Compared with the prior art, the charging device in the embodiment of the invention can automatically switch the first charging path and the second charging path without depending on the control of a controller, thereby improving the flexibility and safety of charging.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.

Claims (9)

1. A charging device comprising a switch module having a first power input port and a second power input port, and a battery module, wherein: a first charging path connected through the first power input port and a second charging path connected through the second power input port are arranged between the switch module and the battery module;
the switch module is configured to switch on the first charging path or the second charging path between the switch module and the battery module according to a first voltage at the first power input port and a second voltage at the second power input port;
wherein, the switch module includes overvoltage protection unit, comparing element, first switch, second switch, reference cell and drive unit, wherein:
the overvoltage protection unit is used for determining a corresponding control instruction according to the first voltage and the second voltage and outputting the control instruction to the driving unit;
the comparison unit is used for determining a larger voltage between the first voltage and the second voltage and supplying power to the overvoltage protection unit, the reference unit and the driving unit by adopting the determined voltage;
the reference unit is used for sending a reference voltage and a threshold voltage to the driving unit;
the driving unit is used for determining a first switch or a second switch which needs to be conducted according to the control instruction, determining a conducting voltage for conducting the first switch or the second switch based on the reference voltage and the threshold voltage, and outputting the conducting voltage to the first switch or the second switch;
the first switch is used for conducting the first power input port and the battery module when receiving conducting voltage capable of conducting the first switch;
the second switch is configured to turn on the second power input port and the battery module when receiving a turn-on voltage that can turn on the second switch.
2. A charging arrangement as claimed in claim 1,
the switch module is specifically configured to, if it is determined that the first voltage is greater than a preset voltage threshold, turn on the first charging path to charge the battery module through a first adapter connected to the first power input port; and if the first voltage is not larger than the voltage threshold and the second voltage of the second power supply input port is larger than the voltage threshold, the second charging path is conducted so that a second adapter connected with the second power supply input port charges the battery module.
3. A charging arrangement as claimed in claim 1,
the overvoltage protection unit is specifically configured to generate a first control instruction for instructing the driving unit to turn on the first switch if it is determined that the first voltage is greater than a preset effective voltage threshold and not greater than a preset overvoltage protection threshold; if the first voltage is determined to be smaller than the effective voltage threshold, and the second voltage is greater than the effective voltage threshold and not greater than the overvoltage protection threshold, generating a second control instruction for instructing the driving unit to conduct the second switch;
the driving unit is specifically configured to calculate a first turn-on voltage for turning on the first switch based on the reference voltage and the threshold voltage and send the first turn-on voltage to the first switch if the first control instruction is received; if the second control instruction is received, calculating a second breakover voltage for conducting the second switch based on the reference voltage and the threshold voltage, and sending the second breakover voltage to the second switch.
4. A charging arrangement as claimed in claim 1,
the reference unit is further used for determining temperature information of the charging device, generating a corresponding temperature control instruction according to the temperature information, and sending the temperature control instruction to the driving unit;
the driving unit is further configured to not send a turn-on voltage to the first switch and the second switch if it is determined that the charging device is in an over-temperature state according to the temperature control instruction.
5. The charging device of claim 1, wherein the comparison unit is a voltage comparator.
6. The charging device of claim 1, wherein the first switch and the second switch are transistors.
7. The charging device of claim 2, wherein the first adapter is a wired adapter and the second adapter is a wireless adapter.
8. The charging device of claim 7, wherein the second power input port is coupled to a power receiving unit coupled to receive power transmitted by the wireless adapter.
9. A terminal device comprising the charging device according to any one of claims 1 to 8.
CN201710393103.2A 2017-05-27 2017-05-27 Charging device and terminal equipment Active CN107147168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710393103.2A CN107147168B (en) 2017-05-27 2017-05-27 Charging device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710393103.2A CN107147168B (en) 2017-05-27 2017-05-27 Charging device and terminal equipment

Publications (2)

Publication Number Publication Date
CN107147168A CN107147168A (en) 2017-09-08
CN107147168B true CN107147168B (en) 2020-02-07

Family

ID=59779928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710393103.2A Active CN107147168B (en) 2017-05-27 2017-05-27 Charging device and terminal equipment

Country Status (1)

Country Link
CN (1) CN107147168B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707000B (en) * 2017-11-16 2022-01-28 珠海市魅族科技有限公司 OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN110797950A (en) * 2020-01-06 2020-02-14 深圳微步信息股份有限公司 Automatic switching method based on Type-C and AC charging and mobile terminal thereof
CN115425720B (en) * 2022-10-09 2023-12-22 南京微智新科技有限公司 Power supply loop and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516014A (en) * 2012-06-19 2014-01-15 三星电子株式会社 Battery charging method and electronic device
CN103972931A (en) * 2013-01-25 2014-08-06 万国半导体(开曼)股份有限公司 Input line selector for battery charger
JP2017093047A (en) * 2015-11-04 2017-05-25 旭化成エレクトロニクス株式会社 Protection circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516014A (en) * 2012-06-19 2014-01-15 三星电子株式会社 Battery charging method and electronic device
CN103972931A (en) * 2013-01-25 2014-08-06 万国半导体(开曼)股份有限公司 Input line selector for battery charger
JP2017093047A (en) * 2015-11-04 2017-05-25 旭化成エレクトロニクス株式会社 Protection circuit

Also Published As

Publication number Publication date
CN107147168A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
US11451077B2 (en) Electronic equipment, charger and charging method
US9904267B2 (en) Method and apparatus for determining direction of power delivery
CN203813481U (en) Mobile power source capable of automatically recognizing terminals to charge terminals and adapting to OTG systems of terminals
EP2677625B1 (en) Battery charging method and electronic device
US8949631B2 (en) USB power supply method and device, and end device and system using the same
US10574073B2 (en) Electronic device and method for controlling power supply
US20150145468A1 (en) Device and chip for controlling charging, and user terminal
EP2854253B1 (en) Charger, charging terminal, charging system and control method for charging
WO2018205684A1 (en) Charging device, terminal device, charging method, charging monitoring method
CN107147168B (en) Charging device and terminal equipment
US10203736B2 (en) Detachable computing system having bi-directional power flow
US20160099608A1 (en) Power adapter with built-in battery and power storage and supply method thereof
US10651661B2 (en) Regulating charging port attach and detach
CN106557445B (en) Bus interface with unpowered end
EP3543827A1 (en) Electronic device, charger, charging system and charging method
WO2023000732A1 (en) Charging/discharging circuit and electronic device
JP2017528104A5 (en)
JP5330348B2 (en) Motherboard adapted for fast charging of portable multimedia devices
CN107643998B (en) System for realizing OTG and charging dual functions based on intelligent module
US9841796B2 (en) Preventing dark current in battery management system
EP3148039A1 (en) Fast charging method, power source adapter and mobile terminal
US20180278082A1 (en) Electronic device and charging method thereof
WO2021217310A1 (en) Charging control circuit, charging control method and device, and storage medium
US20190165428A1 (en) Battery device and program executed therein
CN105226754A (en) Battery charge/discharge control circuit and control method thereof

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