[go: up one dir, main page]

CN117811143B - Charging control method, charging circuit and multi-port charger - Google Patents

Charging control method, charging circuit and multi-port charger Download PDF

Info

Publication number
CN117811143B
CN117811143B CN202311847017.6A CN202311847017A CN117811143B CN 117811143 B CN117811143 B CN 117811143B CN 202311847017 A CN202311847017 A CN 202311847017A CN 117811143 B CN117811143 B CN 117811143B
Authority
CN
China
Prior art keywords
interface
usb
power supply
supply voltage
voltage
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
CN202311847017.6A
Other languages
Chinese (zh)
Other versions
CN117811143A (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.)
Shenzhen Ohm Microelectronics Co ltd
Original Assignee
Shenzhen Ohm Microelectronics 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 Shenzhen Ohm Microelectronics Co ltd filed Critical Shenzhen Ohm Microelectronics Co ltd
Priority to CN202311847017.6A priority Critical patent/CN117811143B/en
Publication of CN117811143A publication Critical patent/CN117811143A/en
Application granted granted Critical
Publication of CN117811143B publication Critical patent/CN117811143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • 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
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

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

Abstract

本发明一种充电控制方法、充电电路、多口充电器,用于控制多口充电器与外接设备之间充电;其中多口充电器至少包括一个USB‑A接口和一个USB‑C接口,且多接口充电器支持快充,包括:检测USB‑C接口是否有设备插入;若否,则控制USB‑A接口耦接第一电源电压;若是,则检测USB‑A接口是否有设备插入;若检测到,则控制USB‑A接口和USB‑C接口均耦接第一电源电压;若未检测到,则检测USB‑C接口是否接收到快充协议;若未检测到快充协议,则控制USB‑A接口和USB‑C接口均耦接第一电源电压;若检测到快充协议,则控制USB‑A接口耦接至上拉电压,并控制USB‑C接口耦接至第二电源电压;其中,第二电源电压大于第一电源电压;上拉电压低于第一阈值,第一阈值用于表征充电线缆中芯片的欠压阈值。

The present invention provides a charging control method, a charging circuit, and a multi-port charger, which are used to control charging between the multi-port charger and an external device; wherein the multi-port charger includes at least one USB-A interface and one USB-C interface, and the multi-port charger supports fast charging, including: detecting whether a device is inserted into the USB-C interface; if not, controlling the USB-A interface to couple to a first power supply voltage; if so, detecting whether a device is inserted into the USB-A interface; if detected, controlling both the USB-A interface and the USB-C interface to couple to the first power supply voltage; if not detected, detecting whether the USB-C interface receives a fast charging protocol; if the fast charging protocol is not detected, controlling both the USB-A interface and the USB-C interface to couple to the first power supply voltage; if the fast charging protocol is detected, controlling the USB-A interface to couple to a pull-up voltage, and controlling the USB-C interface to couple to a second power supply voltage; wherein the second power supply voltage is greater than the first power supply voltage; and the pull-up voltage is lower than a first threshold value, and the first threshold value is used to characterize an undervoltage threshold value of a chip in a charging cable.

Description

Charging control method, charging circuit and multi-port charger
Technical Field
The present invention relates to the field of charging, and in particular, to a charging control method, a charging circuit, and a multi-port charger
Background
In the case of a single power supply to power multiple USB interfaces, for example, a multiple port charger, in order to ensure that a high voltage quick charge can be provided to a device if only one USB interface is plugged, and a 5V normal charge can be provided to all plugged devices if all USB interfaces are plugged, it is necessary to detect the plugging of the devices during the charging process. The USB-C interface can complete the plug detection of the equipment through a CC line (Configuration Channel) and a Type-C protocol. However, the USB-A interface has no CC line, and is not uniformly specified by Type-C protocol, so that A method for detecting plug of the USB-A interface needs to be customized.
The insertion detection of A conventional USB-A interface is often done by weak pull-up on VBUS. Specifically, the USB-A interface is connected to A pull-up voltage through A weak pull-up resistor to pull VBUS to A certain voltage. When A device is inserted into the USB-A interface, A load hung on the USB-A interface pulls down the weak driving voltage on the VBUS by the device to form A downward voltage pulse. The insertion of the device can be detected by detecting a voltage down pulse. The conventional detection of the pull-out of the USB-A interface is usually performed by detecting the current of the USB-A interface. Specifically, if the current at the USB-A interface is detected to be smaller than the set threshold value and lasts for A period of time, the USB-A interface is considered to be lightly loaded, and the device is pulled out.
However, the conventional method for detecting the insertion of the USB-A interface has the problems that when the USB-A interface is inserted into the cable with the chip, the weak driving voltage on the VBUS is pulled down by the pulling capacity of the chip itself, so that the multi-port charger mistakenly considers the insertion of the cable as the insertion of the device to be charged, and controls the USB-A interface to be connected with the power supply 5V, so that the devices of other end interfaces cannot continue high-voltage fast charging. And because the chip pull-load capability in the cable is typically weak, the current at the USB-A interface cannot exceed the set threshold. After A period of time, the USB-A interface is considered to be lightly loaded, and VBUS is switched back to the weak resistance pull-up again, resulting in A plunge-back cycle. However, under the set current of light load detection, besides the cable with the chip, some electronic devices with weak pulling capacity, such as smart watches, smart glasses and the like, are also possible. Under the constraint of chip cost, current detection cannot be very accurate, especially when the current is small. Therefore, if some methods are adopted to shield the cable from being inserted, the devices with weak pulling and loading capacity are likely to be shielded at the same time, so that the devices with weak pulling and loading capacity cannot be charged.
Therefore, providing A low-cost charging control method without considering the pulling capacity of the USB-A interface plug-in device has become A technical problem to be solved in the industry.
Disclosure of Invention
In order to solve the technical problems, the invention provides a charging control method, a charging circuit and a multi-port charger.
According to A first aspect of the present invention, there is provided A charging control method for controlling charging between A multi-port charger and an external device, wherein the multi-port charger includes at least one USB-A interface and one USB-C interface, and the multi-port charger supports fast charging, the method comprising:
Detecting whether the USB-C interface has equipment insertion or not, if not, controlling the USB-A interface to be coupled with the first power supply voltage, and if so, controlling the USB-A interface and the USB-C interface to be coupled with the first power supply voltage and detecting whether the USB-A interface has equipment insertion or not;
if the device insertion of the USB-A interface is detected, controlling the USB-A interface and the USB-C interface to be coupled with the first power supply voltage;
If the USB-C interface is detected to receive the fast charging protocol, the USB-A interface and the USB-C interface are controlled to be still coupled with the first power supply voltage, and if the USB-C interface is detected to receive the fast charging protocol, the USB-A interface is controlled to be coupled with the pull-up voltage and the USB-C interface is controlled to be coupled with the second power supply voltage, wherein the second power supply voltage is larger than the first power supply voltage, the pull-up voltage is lower than A first threshold, and the first threshold is used for representing an under-voltage threshold of A chip in A charging cable.
Optionally, after the USB-A interface is coupled to the pull-up voltage, controlling the USB-A interface to be re-coupled to the first power supply voltage and controlling the USB-C interface to be re-coupled to the first power supply voltage if the USB-A interface is detected to have A device inserted.
Optionally, after the USB-A interface is switched from being coupled to the pull-up voltage to being coupled to the first power voltage, the method further comprises controlling the USB-A interface to be re-coupled to the pull-up voltage and controlling the USB-C interface to be re-coupled to the second power voltage if the USB-A interface is detected to be lightly loaded in the first time.
Optionally, detecting that the USB-A interface has A device inserted after the USB-A interface is coupled to the pull-up voltage specifically includes detecting that A pull-down pulse is generated at the USB-A interface.
Optionally, detecting that the USB-A interface is lightly loaded after the USB-A interface is coupled to the first power voltage includes detecting that A current at the USB-A interface is lower than A second threshold.
Optionally, after the USB-C interface does not detect the device insertion, the method further includes detecting whether the USB-A interface has A device insertion, if not, controlling the USB-A interface to be coupled to the first power voltage, if not, detecting whether the USB-A interface receives the fast charging protocol, if not, controlling the USB-A interface to be still coupled to the first power voltage, and if so, controlling the USB-A interface to be coupled to the second power voltage.
Optionally, after the USB-A interface is coupled to the second power supply voltage, controlling the USB-A interface to be re-coupled to the first power supply voltage and controlling the USB-C interface to be coupled to the first power supply voltage if the device insertion of the USB-C interface is detected.
According to A second aspect of the invention, A charging control circuit is provided and applied to A multi-port charger, wherein the multi-port charger at least comprises A USB-A interface and A USB-C interface, and the multi-port charger supports quick charging and comprises an interface detection module and an interface control module;
The interface detection module is used for detecting whether the USB-C interface is inserted with equipment or not, if not, the interface control module controls the USB-A interface, if yes, the interface control module controls the USB-A interface and the USB-C interface to be both coupled to the first power supply voltage, and the interface detection module is also used for detecting whether the USB-A interface is inserted with equipment or not;
the interface control module is used for controlling the USB-A interface and the USB-C interface to be coupled with A first power supply voltage if the interface detection module detects that the USB-A interface has equipment insertion, and is also used for detecting whether the USB-C interface receives A fast charging protocol if the interface detection module does not detect that the USB-A interface has equipment insertion;
The interface control module is used for controlling the USB-A interface and the USB-C interface to be still coupled with A first power supply voltage if the interface detection module detects that the USB-C interface does not receive the fast charging protocol, and is also used for controlling the USB-A interface to be coupled with A pull-up voltage and controlling the USB-C interface to be coupled with A second power supply voltage if the interface detection module detects that the USB-C interface receives the fast charging protocol, wherein the second power supply voltage is larger than the first power supply voltage, the pull-up voltage is lower than A first threshold, and the first threshold is used for representing an under-voltage threshold of A chip in A charging cable.
Optionally, the USB-A interface is coupled to the first power voltage, and the interface detection module determines whether A device is inserted into the USB-A interface by detecting whether A current at the USB-A interface exceeds A second threshold, if so, then there is an insertion of the device, and if not, then there is no insertion of the device.
Optionally, the USB-A interface is coupled to the pull-up voltage, and the interface detection module determines whether the USB-A interface has A device inserted by detecting whether A pull-down pulse exists at the USB-A interface, if so, the device is inserted, and if not, no device is inserted.
According to a third aspect of the present invention there is provided a multi-port charger comprising the charge control circuit of the second aspect of the present invention and optionally provided.
According to the charging control method provided by the invention, on one hand, when the USB-C interface receives the quick charging protocol and the USB-A interface has no device to be charged, the USB-A interface is coupled to the pull-up voltage, and the USB-C interface is coupled to the second power voltage, so that the device inserted by the USB-C interface is quickly charged, meanwhile, because the pull-up voltage is very low, when the device inserted by the USB-C interface is quickly charged, if the cable with the chip is inserted by the USB-A interface, the quick charging of the USB-C interface is interrupted, and the cable with the chip can not be undervoltage due to insufficient pull-up voltage to support the power supply of the chip, so that the problem as in the prior art cannot occur, namely, the quick charging of the USB-C interface is not influenced after the cable with the chip inserted by the USB-A interface is interrupted once. On the other hand, when the USB-C interface does not receive the quick charging protocol, the USB-A interface is set to be coupled with the first power supply voltage no matter whether the USB-C interface is plugged into A device or not and no matter whether the USB-A interface is plugged into the device or not, so that the charging can be directly carried out without insertion detection when the USB-A interface is plugged into the device with weak pulling load capacity. Finally, the technical means corresponding to the technical effects of the two aspects are realized without changing the existing circuit architecture, so that the problems existing in the prior art are solved with low cost.
Drawings
The invention will be described in further detail with reference to the drawings and the detailed description.
Fig. 1 is a flowchart illustrating a charging control method according to a first embodiment of the present invention;
Fig. 2 is a second flowchart of a charging control method according to the first embodiment of the present invention;
fig. 3 is a third flowchart of a charging control method according to the first embodiment of the present invention;
fig. 4 is a schematic circuit diagram corresponding to a charging control method according to a first embodiment of the present invention.
Reference numerals:
a first switch-S1;
a second switch-S2;
a third switch-S3;
first resistor-Rd.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention. The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Before explaining the embodiments of the present invention, a brief explanation of the design idea of the present invention is given:
Because the USB-A interface in the prior art cannot perform insertion detection and cannot distinguish between A cable with A chip and equipment with the same pulling capacity, the USB-A interface has the problems that 1, the equipment with weaker pulling capacity cannot be charged. Insertion of A cable with A chip into the USB-A interface can affect the fast-charging of the USB-C interface device. In order to solve the problems, the inventor designs A scheme that when the USB-C interface has no quick charge requirement, the USB-A interface and the USB-C interface are connected to A5V power supply voltage in A communication mode, and therefore insertion detection of A cable with A chip and equipment with weak pulling capacity is not needed. When the cable with the chip is inserted, the 5V charging is directly carried out when the device with weaker pulling and loading capacity is inserted. When the USB-C interface has A fast charge requirement, the USB-A interface is coupled to A very low pull-up voltage through A weak pull-up resistor, and the USB-C interface is coupled to A power supply voltage capable of supporting fast charge, and can be coupled to 9V, 12V, 15V, 20V and the like according to the requirement. When the USB-C interface is used for fast charging the inserted equipment, if the USB-A interface is inserted into normal equipment, the USB-C interface stops fast charging, if the USB-A interface is inserted into A cable with A chip or equipment with weak pulling capacity, for example, A smart watch, A smart glasses, A smart bracelet and the like, under-voltage is caused by pulling up voltage, so that VBUS of the USB-A interface cannot be pulled down repeatedly. Therefore, after the quick charge of the USB-C interface is interrupted for the first time, the subsequent quick charge is not influenced.
Referring to fig. 1, A first embodiment of the present invention provides A charging control method for controlling charging between A multi-port charger and an external device, wherein the multi-port charger at least includes A USB-A interface and A USB-C interface, and the multi-port charger supports fast charging, the method includes:
S1, detecting whether equipment is inserted into the USB-C interface, if not, controlling the USB-A interface to be coupled with A first power supply voltage, and if so, jumping to S2.
S2, detecting whether equipment is inserted into the USB-A interface, if so, jumping to S4, and if not, jumping to S3.
S3, detecting whether the USB-C interface receives the quick charge protocol, if not, jumping to S4, and if yes, jumping to S5.
And S4, controlling the USB-A interface and the USB-C interface to be coupled with the first power supply voltage.
And S5, controlling the USB-A interface to be coupled to A pull-up voltage and controlling the USB-C interface to be coupled to A second power supply voltage, wherein the second power supply voltage is larger than the first power supply voltage, the pull-up voltage is lower than A first threshold value, and the first threshold value is used for representing an under-voltage threshold value of A chip in A charging cable.
It should be noted that, the present embodiment is suitable for a multi-port charger commonly found in the market, for example, a dual-port charger, a three-port charger, or a four-port charger with higher power, and may be specifically selected according to the requirement, which is not limited herein. But at least one USB-A interface and at least one USB-C interface. The fast charging protocols supported by the multi-port charger include Qualcomm Quick Charge, USB Power Delivery (USB-PD), superCharge and other mainstream fast charging protocols, and specific protocols are set according to actual requirements of the multi-port charger and are not limited herein. If the multi-port charger supports a certain fast charging protocol, the external device which needs to perform fast charging needs to support the fast charging protocol corresponding to the multi-port charger. For example, the multi-port charger supports the USB-PD protocol which is very common in the market, and the external device also supports the USB-PD protocol if it wants to perform fast charging.
The first embodiment of the present invention implements A low-cost charging control method without considering the load pulling capability of the USB-A interface plug-in device through the above technical solution. The principle is as follows:
Referring to fig. 1 and 4, fig. 1 is a flowchart corresponding to a charging control method provided in a first embodiment, and fig. 4 is a schematic circuit diagram corresponding to the charging control method provided in the first embodiment:
In case 1, when the first resistor Rd is not detected to be connected to the CC of the USB-C interface, the first switch S1 is controlled to be turned on, and the second switch S2 and the third switch S3 are controlled to be turned off, so that the USB-A interface is coupled with the first power supply voltage and the USB-C interface is not coupled with the power supply. In this case, the USB-A interface is kept in A charged state at any time, and when A device is plugged into the USB-A interface, the device can be directly charged without plug-in detection and without considering the pulling capacity of the device.
In case 2, when the first resistor Rd is detected to be connected to the CC of the USB-C interface, the USB-C interface is indicated to have equipment inserted, the first switch S1 and the third switch S3 are controlled to be turned on, and the second switch S2 is controlled to be turned off, so that the USB-A interface and the USB-C interface are coupled with the first power supply voltage. In this case, the device inserted in the USB-C interface cannot be charged quickly, and only the devices inserted in the USB-A interface and the USB-C interface can be charged normally.
Case 3 when the first resistor Rd is detected to be connected on the CC of the USB-C interface, and no device is inserted into the USB-A interface, but the inserted device does not support fast charging, the case is identical to case 2.
In case 4, when it is detected that the USB-C interface has A device inserted and supports fast charging, and the USB-A interface has no device inserted, the first switch S1 is controlled to be turned off, and the second switch S2 and the third switch S3 are controlled to be turned on, so that the USB-A interface is coupled to A pull-up voltage, and the USB-C interface is coupled to A second power supply voltage, where the second power supply voltage is greater than the first power supply voltage to support fast charging of the USB-C interface for the inserted device, and the first power supply voltage is switched to the second power supply voltage, specifically, the power supply is correspondingly set according to the requirement of the fast charging protocol, and the pull-up voltage is not obtained by performing resistance voltage division on the second power supply voltage. Wherein the pull-up voltage obtained needs to be lower than a first threshold value, which is used for representing an under-voltage threshold value of the chip in the charging cable. Thus, when the cable with the chip is inserted into the USB-A interface, the VBUS of the USB-A interface is pulled down to generate downward pulse, so that the quick charging of the USB-C interface is interrupted. However, the cable with the chip cannot generate enough current at the USB-A interface due to insufficient pulling capacity, so that the USB-A interface is lightly loaded and re-coupled to the pull-up voltage. And because the pull-up voltage is insufficient to maintain the working requirement of the chip, the chip in the cable cannot pull down the VBUS of the USB-A interface again, so that the cable with the chip cannot influence the quick-charging reconstruction of the USB-C interface.
Meanwhile, the charging control in the four conditions does not need to modify the existing circuit architecture, but only changes the connection strategy in the charging process, so that the charging control method with low cost is realized without considering the carrying capacity of the USB-A interface plug-in equipment.
It should be noted that, the threshold voltage at which the chip can normally operate is generally greater than 3V, so the first threshold is set to be about 3V. Of course, the specific value of the first threshold may be set according to the requirement, which is not limited herein. The first power supply voltage is specifically used for ordinary charging and is generally set to be 5V, the second power supply voltage is used for quick charging and can be set to be any one of 9V, 12V, 15V, 20V and the like, and the corresponding setting can be specifically performed according to different quick charging protocols, and the method is not limited herein.
Referring to fig. 4, as a supplementary explanation, the insertion detection of the USB-C interface in the Type-C protocol is determined by whether the first resistor Rd is detected on the CC, if the first resistor Rd is detected on the CC, it indicates that a device is inserted into the USB-C interface, and if the first resistor Rd is not detected on the CC, it indicates that no device is inserted into the USB-C interface.
Other matters of the charge control method are specifically described below:
referring to fig. 2, as an embodiment, after the USB-A interface is coupled to the pull-up voltage in S5, the method further includes:
s51, detecting whether A pulse voltage with downward voltage exists on the USB-A interface, if so, indicating that equipment insertion exists on the USB-A interface, and jumping to S53, and if not, jumping to S52.
S52, controlling the USB-A interface to be still coupled to the pull-up voltage and controlling the USB-C interface to be still coupled to the second power supply voltage.
And S53, controlling the USB-A interface to switch from being coupled to the pull-up voltage to being coupled to the first power supply voltage, and controlling the USB-C interface to switch from being coupled to the second power supply voltage to being coupled to the first power supply voltage.
S54, detecting whether the current at the USB-A interface exceeds A second threshold value in the first time, if so, then the USB-A interface is in A normal charging state, which means that the device inserted into the USB-A interface is A device with normal pulling capacity, such as A mobile phone, A sound box and the like, and jumping back to S53. If the current at the USB-A interface is lower than the second threshold, the USB-A interface is lightly loaded, indicating that the device inserted into the USB-A interface is A cable with A chip or A device with weak pulling capacity, such as A smart watch, smart glasses, smart bracelet, etc., and jumps back to S52. Meanwhile, because the chip in the cable or the device with weak pulling capacity can be undervoltage due to insufficient pulling voltage to support the normal operation of the device, the USB-A interface cannot generate downward pulse voltage again, so that the influence on the quick charging of the USB-C interface is ended.
Referring to fig. 3, as a specific embodiment, after the USB-C interface does not detect the device insertion in S1, the method further includes:
S11, detecting whether equipment is inserted into the USB-A interface, if not, jumping to S13, and if yes, jumping to S12.
S12, detecting whether the USB-A interface receives the quick charge protocol, if not, jumping to S13, and if yes, jumping to S14.
And S13, controlling the USB-A interface to be coupled with the first power supply voltage so as to carry out common charging on equipment inserted by the USB-A interface.
And S14, controlling the USB-A interface to be coupled to the second power supply voltage so as to perform quick charging on the equipment inserted by the USB-A interface.
It should be noted that, after the USB-A interface performs the fast charging on the plugged device, if it is detected that the USB-C interface has A device plug, the USB-A interface is controlled to be re-coupled to the first power supply voltage, and the USB-C interface is controlled to be re-coupled to the first power supply voltage, so as to perform the common charging on the device plugged by the USB-A interface and the device plugged by the USB-C interface together.
In summary, in the charge control method provided by the first embodiment of the present invention, on one hand, when the USB-C interface receives the fast charge protocol and the USB-A interface has no device to be charged inserted, the USB-A interface is set to be coupled to the pull-up voltage, and the USB-C interface is set to be coupled to the second power voltage, so as to implement fast charge of the device inserted by the USB-C interface, meanwhile, because the pull-up voltage is very low, when the device inserted by the USB-C interface is fast charged, if the cable with the chip is inserted by the USB-A interface, the fast charge of the USB-C interface is interrupted, and the cable with the chip is also not under-voltage due to insufficient pull-up voltage to support of the power supply of the chip, so that the same problem as in the prior art cannot occur, i.e., the fast charge of the USB-C interface is not affected after being interrupted once by the cable with the chip inserted by the USB-A cable inserted by the USB-A interface. On the other hand, when the USB-C interface does not receive the quick charging protocol, no matter whether the USB-C interface is plugged into A device or not, and no matter whether the USB-A interface is plugged into the device or not, the USB-C interface and the USB-A interface are both coupled with the first power supply voltage, so that when the USB-A interface is plugged into the device with weaker pulling and loading capacity, the charging can be directly performed without insertion detection. Finally, the technical means corresponding to the technical effects of the two aspects are realized without changing the existing circuit architecture, so that the problems existing in the prior art are solved with low cost.
The second embodiment of the invention provides A charging control circuit which is applied to A multi-port charger, wherein the multi-port charger at least comprises A USB-A interface and A USB-C interface, and the multi-port charger supports quick charging, and the charging circuit comprises an interface detection module and an interface control module;
The interface detection module is used for detecting whether the USB-C interface is inserted with equipment or not, if not, the interface control module controls the USB-A interface, if yes, the interface control module controls the USB-A interface and the USB-C interface to be both coupled to the first power supply voltage, and the interface detection module is also used for detecting whether the USB-A interface is inserted with equipment or not;
the interface control module is used for controlling the USB-A interface and the USB-C interface to be coupled with A first power supply voltage if the interface detection module detects that the USB-A interface has equipment insertion, and is also used for detecting whether the USB-C interface receives A fast charging protocol if the interface detection module does not detect that the USB-A interface has equipment insertion;
The interface control module is used for controlling the USB-A interface and the USB-C interface to be still coupled with A first power supply voltage if the interface detection module detects that the USB-C interface does not receive the fast charging protocol, and is also used for controlling the USB-A interface to be coupled with A pull-up voltage and controlling the USB-C interface to be coupled with A second power supply voltage if the interface detection module detects that the USB-C interface receives the fast charging protocol, wherein the second power supply voltage is larger than the first power supply voltage, the pull-up voltage is lower than A first threshold, and the first threshold is used for representing an under-voltage threshold of A chip in A charging cable.
As A specific implementation mode, the USB-A interface is coupled to the first power supply voltage, the interface detection module judges whether A device is inserted into the USB-A interface by detecting whether the current at the USB-A interface exceeds A second threshold value, if so, the device is inserted, and if not, no device is inserted.
As A specific implementation mode, the USB-A interface is coupled to the pull-up voltage, and the interface detection module judges whether the USB-A interface is inserted with A device by detecting whether A pull-down pulse exists at the USB-A interface, if so, the USB-A interface is inserted with the device, and if not, the USB-A interface is not inserted with the device.
It should be noted that, the charge control circuit provided in this embodiment corresponds to the charge control method provided in the first embodiment, so that the description in the first embodiment is omitted herein.
A third embodiment of the present invention provides a multi-port charger including the charge control circuit.
It should be noted that the above embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that the technical solution described in the above embodiments may be modified or some or all of the technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present invention.

Claims (11)

1.一种充电控制方法,用于控制多口充电器与外接设备之间的充电;其中所述多口充电器至少包括一个USB-A接口和一个USB-C接口,且所述多口充电器支持快充,其特征在于,该方法包括:1. A charging control method for controlling charging between a multi-port charger and an external device; wherein the multi-port charger comprises at least one USB-A interface and one USB-C interface, and the multi-port charger supports fast charging, characterized in that the method comprises: 检测USB-C接口是否有设备插入;若否,则控制USB-A接口耦接第一电源电压;若是,则控制USB-A接口和USB-C接口均耦接第一电源电压,并检测USB-A接口是否有设备插入;Detect whether a device is inserted into the USB-C interface; if not, control the USB-A interface to couple to the first power supply voltage; if so, control both the USB-A interface and the USB-C interface to couple to the first power supply voltage, and detect whether a device is inserted into the USB-A interface; 若检测到USB-A接口有设备插入,则控制USB-A接口和USB-C接口仍均耦接第一电源电压;若未检测到USB-A接口有设备插入,则检测USB-C接口是否接收到快充协议;If a device is detected to be plugged into the USB-A interface, the USB-A interface and the USB-C interface are controlled to still be coupled to the first power supply voltage; if no device is detected to be plugged into the USB-A interface, whether the USB-C interface receives the fast charging protocol is detected; 若检测USB-C接口未接收到快充协议,则控制USB-A接口和USB-C接口仍均耦接第一电源电压;若检测USB-C接口接收到快充协议,则控制USB-A接口耦接至上拉电压,并控制USB-C接口耦接至第二电源电压;其中,所述第二电源电压大于所述第一电源电压;所述上拉电压低于第一阈值,所述第一阈值用于表征充电线缆中芯片的欠压阈值。If it is detected that the USB-C interface has not received the fast charging protocol, the USB-A interface and the USB-C interface are controlled to still be coupled to the first power supply voltage; if it is detected that the USB-C interface has received the fast charging protocol, the USB-A interface is controlled to be coupled to the pull-up voltage, and the USB-C interface is controlled to be coupled to the second power supply voltage; wherein the second power supply voltage is greater than the first power supply voltage; the pull-up voltage is lower than a first threshold value, and the first threshold value is used to characterize the undervoltage threshold of the chip in the charging cable. 2.根据权利要求1所述的充电控制方法,其特征在于,在USB-A接口耦接至所述上拉电压后,还包括:若检测到USB-A接口有设备插入,则控制USB-A接口重新耦接至所述第一电源电压,并控制USB-C接口重新耦接至所述第一电源电压。2. The charging control method according to claim 1 is characterized in that after the USB-A interface is coupled to the pull-up voltage, it also includes: if it is detected that a device is inserted into the USB-A interface, the USB-A interface is controlled to be recoupled to the first power supply voltage, and the USB-C interface is controlled to be recoupled to the first power supply voltage. 3.根据权利要求2所述的充电控制方法,其特征在于,在USB-A接口从耦接所述上拉电压切换至耦接所述第一电源电压后,还包括:若检测到USB-A接口在第一时间内发生轻载,则控制USB-A接口重新耦接至所述上拉电压,USB-C接口重新耦接至所述第二电源电压。3. The charging control method according to claim 2 is characterized in that after the USB-A interface switches from coupling the pull-up voltage to coupling the first power supply voltage, it also includes: if it is detected that the USB-A interface is lightly loaded within the first time, the USB-A interface is controlled to be recoupled to the pull-up voltage and the USB-C interface is recoupled to the second power supply voltage. 4.根据权利要求2所述的充电控制方法,其特征在于,在USB-A接口耦接至所述上拉电压后检测到USB-A接口有设备插入,具体包括:检测到USB-A接口处产生下拉脉冲。4. The charging control method according to claim 2 is characterized in that, after the USB-A interface is coupled to the pull-up voltage, detecting that a device is inserted into the USB-A interface specifically comprises: detecting that a pull-down pulse is generated at the USB-A interface. 5.根据权利要求3所述的充电控制方法,其特征在于,在USB-A接口耦接至所述第一电源电压后检测到USB-A接口发生轻载,具体包括:检测到USB-A接口处的电流低于第二阈值。5. The charging control method according to claim 3 is characterized in that after the USB-A interface is coupled to the first power supply voltage, it is detected that the USB-A interface is lightly loaded, specifically comprising: detecting that the current at the USB-A interface is lower than a second threshold. 6.根据权利要求1所述的充电控制方法,其特征在于,在USB-C接口未检测到设备插入后,还包括:检测USB-A接口是否有设备插入;若否,则控制USB-A接口耦接第一电源电压;若是,则检测USB-A接口是否接收到快充协议;若否,则控制USB-A接口仍均耦接所述第一电源电压;若是,则控制USB-A接口耦接至所述第二电源电压。6. The charging control method according to claim 1 is characterized in that, after the USB-C interface does not detect the insertion of a device, it also includes: detecting whether a device is inserted into the USB-A interface; if not, controlling the USB-A interface to couple to a first power supply voltage; if so, detecting whether the USB-A interface receives a fast charging protocol; if not, controlling the USB-A interface to still couple to the first power supply voltage; if so, controlling the USB-A interface to couple to the second power supply voltage. 7.根据权利要求6所述的充电控制方法,其特征在于,在USB-A接口耦接至所述第二电源电压后,还包括:若检测到USB-C接口有设备插入,则控制USB-A接口重新耦接至所述第一电源电压,并控制USB-C接口耦接至所述第一电源电压。7. The charging control method according to claim 6 is characterized in that after the USB-A interface is coupled to the second power supply voltage, it also includes: if it is detected that a device is inserted into the USB-C interface, the USB-A interface is controlled to be recoupled to the first power supply voltage, and the USB-C interface is controlled to be coupled to the first power supply voltage. 8.一种充电控制电路,应用于多口充电器;其中所述多口充电器至少包括一个USB-A接口和一个USB-C接口,且所述多口充电器支持快充,其特征在于,包括接口检测模块和接口控制模块;8. A charging control circuit, applied to a multi-port charger; wherein the multi-port charger includes at least one USB-A interface and one USB-C interface, and the multi-port charger supports fast charging, characterized in that it includes an interface detection module and an interface control module; 所述接口检测模块用于检测USB-C接口是否有设备插入;若否,则所述接口控制模块控制USB-A接口耦接第一电源电压;若是,则所述接口控制模块控制USB-A接口和USB-C接口均耦接至第一电源电压,所述接口检测模块还用于检测USB-A接口是否有设备插入;The interface detection module is used to detect whether a device is inserted into the USB-C interface; if not, the interface control module controls the USB-A interface to couple to the first power supply voltage; if so, the interface control module controls both the USB-A interface and the USB-C interface to couple to the first power supply voltage, and the interface detection module is also used to detect whether a device is inserted into the USB-A interface; 若所述接口检测模块检测到USB-A接口有设备插入,则所述接口控制模块用于控制USB-A接口和USB-C接口均耦接第一电源电压;若所述接口检测模块未检测到USB-A接口有设备插入,则所述接口检测模块还用于检测USB-C接口是否接收到快充协议;If the interface detection module detects that a device is plugged into the USB-A interface, the interface control module is used to control both the USB-A interface and the USB-C interface to couple to the first power supply voltage; if the interface detection module does not detect that a device is plugged into the USB-A interface, the interface detection module is also used to detect whether the USB-C interface receives a fast charging protocol; 若所述接口检测模块检测USB-C接口未接收到快充协议,则所述接口控制模块用于控制USB-A接口和USB-C接口仍均耦接第一电源电压;若所述接口检测模块检测USB-C接口接收到快充协议,则所述接口控制模块还用于控制USB-A接口耦接至上拉电压,并控制USB-C接口耦接至第二电源电压;其中,所述第二电源电压大于所述第一电源电压;所述上拉电压低于第一阈值,所述第一阈值用于表征充电线缆中芯片的欠压阈值。If the interface detection module detects that the USB-C interface has not received the fast charging protocol, the interface control module is used to control the USB-A interface and the USB-C interface to still be coupled to the first power supply voltage; if the interface detection module detects that the USB-C interface has received the fast charging protocol, the interface control module is also used to control the USB-A interface to couple to the pull-up voltage, and control the USB-C interface to couple to the second power supply voltage; wherein the second power supply voltage is greater than the first power supply voltage; the pull-up voltage is lower than a first threshold value, and the first threshold value is used to characterize the undervoltage threshold of the chip in the charging cable. 9.根据权利要求8所述的充电控制电路,其特征在于,USB-A接口耦接至所述第一电源电压,所述接口检测模块通过检测USB-A接口处的电流是否超过第二阈值判断USB-A接口是否有设备插入;若超过,则有设备插入;若没超过,则无设备插入。9. The charging control circuit according to claim 8 is characterized in that the USB-A interface is coupled to the first power supply voltage, and the interface detection module determines whether there is a device inserted into the USB-A interface by detecting whether the current at the USB-A interface exceeds a second threshold; if it exceeds, there is a device inserted; if not, there is no device inserted. 10.根据权利要求8所述的充电控制电路,其特征在于,USB-A接口耦接至所述上拉电压,所述接口检测模块通过检测USB-A接口处是否有下拉脉冲判断USB-A接口是否有设备插入;若有,则有设备插入;若没超过,则无设备插入。10. The charging control circuit according to claim 8 is characterized in that the USB-A interface is coupled to the pull-up voltage, and the interface detection module determines whether there is a device inserted into the USB-A interface by detecting whether there is a pull-down pulse at the USB-A interface; if yes, there is a device inserted; if not, there is no device inserted. 11.一种多口充电器,其特征在于,包括权利要求8至10任一项所述的充电控制电路。11. A multi-port charger, characterized by comprising the charging control circuit according to any one of claims 8 to 10.
CN202311847017.6A 2023-12-28 2023-12-28 Charging control method, charging circuit and multi-port charger Active CN117811143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311847017.6A CN117811143B (en) 2023-12-28 2023-12-28 Charging control method, charging circuit and multi-port charger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311847017.6A CN117811143B (en) 2023-12-28 2023-12-28 Charging control method, charging circuit and multi-port charger

Publications (2)

Publication Number Publication Date
CN117811143A CN117811143A (en) 2024-04-02
CN117811143B true CN117811143B (en) 2025-03-04

Family

ID=90421423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311847017.6A Active CN117811143B (en) 2023-12-28 2023-12-28 Charging control method, charging circuit and multi-port charger

Country Status (1)

Country Link
CN (1) CN117811143B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774764A (en) * 2016-12-05 2017-05-31 青岛海信移动通信技术股份有限公司 The implementation method and USB power source of multiple feed USB interface
CN108599309A (en) * 2018-05-22 2018-09-28 昂宝电子(上海)有限公司 More mouthfuls of USB fast charge circuits

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9755449B2 (en) * 2014-09-25 2017-09-05 Intel Corporation Controlling power in a multi-port USB power delivery system
CN207281751U (en) * 2017-09-25 2018-04-27 珠海智融科技有限公司 A kind of access detection device of USB device
CN115733216A (en) * 2022-08-01 2023-03-03 深圳英集芯科技股份有限公司 Mobile power supply chip, related detection circuit and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774764A (en) * 2016-12-05 2017-05-31 青岛海信移动通信技术股份有限公司 The implementation method and USB power source of multiple feed USB interface
CN108599309A (en) * 2018-05-22 2018-09-28 昂宝电子(上海)有限公司 More mouthfuls of USB fast charge circuits

Also Published As

Publication number Publication date
CN117811143A (en) 2024-04-02

Similar Documents

Publication Publication Date Title
CN202308695U (en) Cable device
CN111697663B (en) Charging circuit and charging cable
US8949631B2 (en) USB power supply method and device, and end device and system using the same
CN101997253B (en) Connection apparatus
KR101717505B1 (en) Method for Charging External Device and Displaying Apparatus using thereof
CN202772364U (en) Connector and control chip
EP2584471A1 (en) Method and terminal for selecting internal circuit according to USB interface status
CN101415043B (en) Mobile terminal aware of externally connected device and control method for the same
CN111817373B (en) Charging management device, one-to-many charging wire, quick charging system and management method
CN102572352A (en) HDMI multiplexing method, HDMI, and equipped provided with HDMI
CN107302251A (en) A kind of intelligent movable power supplies and the method that usb data communication is carried out with it
CN102570520A (en) Charging circuit and charging method thereof
CN102694400B (en) Imput output circuit
US20160164327A9 (en) Method for detecting a type of charger coupled to an input-output circuit and input-output circuit therefor
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN101102119A (en) A charging detection circuit of appliance device and charging detection method
CN105453372A (en) Method and apparatus for fast battery charging with universal high power input source
KR101216145B1 (en) Method and apparatus for charging for battery of portable terminal
CN102981916B (en) A kind of mobile terminal and control method thereof and device
KR101477056B1 (en) Method and apparatus for checking device connecting with potable device
CN101694889A (en) Intelligent charging method and device
WO2008090378A1 (en) Battery connection unit
CN109599906B (en) Charging control method, related equipment and computer storage medium
CN107480084A (en) Type C mobile terminals charge and data transmission method, device and storage medium
CN115237235B (en) USB equipment shift-out identification circuit and method and power supply system

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