CN110176792B - Multi-port quick-charging mobile power supply circuit and control method thereof - Google Patents

Multi-port quick-charging mobile power supply circuit and control method thereof Download PDF

Info

Publication number
CN110176792B
CN110176792B CN201910222863.6A CN201910222863A CN110176792B CN 110176792 B CN110176792 B CN 110176792B CN 201910222863 A CN201910222863 A CN 201910222863A CN 110176792 B CN110176792 B CN 110176792B
Authority
CN
China
Prior art keywords
port
usb
charging
external equipment
state
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
CN201910222863.6A
Other languages
Chinese (zh)
Other versions
CN110176792A (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.)
Zhuhai Zhirong Technology Co.,Ltd.
Original Assignee
Zhuhai Smart Ware 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=67689192&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN110176792(B) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Zhuhai Smart Ware Technology Co ltd filed Critical Zhuhai Smart Ware Technology Co ltd
Priority to CN201910222863.6A priority Critical patent/CN110176792B/en
Publication of CN110176792A publication Critical patent/CN110176792A/en
Application granted granted Critical
Publication of CN110176792B publication Critical patent/CN110176792B/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/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • 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

Abstract

The invention discloses a multi-port quick-charging mobile power circuit which comprises an input detection module, an output detection module, a channel control module and a charging and discharging module, wherein the channel control module is respectively connected with the input detection module, the output detection module and the charging and discharging module, the input detection module is connected with at least two USB input ports and is used for detecting a power bus VBUS signal and a protocol signal of the USB input ports, the output detection module is connected with at least two USB output ports and is used for detecting the power bus VBUS signal, the protocol signal and an external output control signal of the USB output ports, each USB input port and each USB output port are respectively connected with the charging and discharging module through a switch element, and a control end of the switch element is connected with the channel control module. According to the invention, through controlling the switch time sequence of the access, the problems that the multi-port quick-charging mobile power supply not only influences the quick-charging experience, but also has potential safety hazards are solved.

Description

Multi-port quick-charging mobile power supply circuit and control method thereof
Technical Field
The invention relates to the technical field of charging equipment, in particular to a multi-port quick-charging mobile power supply circuit and a control method thereof.
Background
Along with the popularization of portable mobile devices such as mobile phones and tablet computers, products such as mobile power supplies, vehicle-mounted chargers and adapters are increasing around the mobile phones, and particularly the mobile power supplies supporting the quick charging function can supplement power to the mobile devices at any time and greatly shorten the charging time. At present, interfaces of mobile devices, chargers and USB cables are more and more diversified, such as a Type-A port, a Type-C port, a Micro-B port and a Lightning port. In addition, the battery capacity of mobile equipment is increasing, the battery capacity of a mobile power supply is also increasing, and a bidirectional quick charging function is urgently needed for accelerating the charging speed and reducing the charging time. Based on the application requirements, the multi-input/output port and bidirectional quick charging function become the development trend of mobile power supply products.
For the quick charging mobile power supply with multiple input and output ports, the quick charging mobile power supply can be used for charging common 5V equipment, can also be used for charging quick charging equipment, can also be used for simultaneously charging a plurality of equipment, and needs to prevent the damage of high voltage to the common equipment when the quick charging is carried out. Meanwhile, the mobile power supply needs to be charged while the mobile power supply is charged, namely, the mobile power supply needs to be charged and discharged simultaneously. In order to meet the requirements, effective access and moving-out detection needs to be carried out on a plurality of input and output ports, and control of the multi-port access switch is carried out, so that better quick charging experience is obtained on the premise of ensuring safety.
At present, a multi-port quick-charging mobile power supply has problems in the aspects of multi-port access and removal detection, access switch control and quick-charging response, such as failure of access detection, overlong response time or even failure of removal detection, potential safety hazard caused by the fact that access switch control is not switched under safe voltage, and the like, and some mobile power supplies do not support charging and discharging, so that the quick-charging experience is influenced, and the potential safety hazard is even caused.
Disclosure of Invention
Aiming at the defects in the prior art, one of the purposes of the invention is to provide a multi-port quick-charging mobile power supply circuit, which is used for solving the problems that the existing multi-port quick-charging mobile power supply not only influences the quick-charging experience, but also has potential safety hazards.
The invention comprises the following contents:
the utility model provides a many mouthfuls of portable power source circuits that fill soon, includes input detection module, output detection module, route control module and charge-discharge module, route control module respectively with the output of input detection module, the output of output detection module with the input of charge-discharge module is connected its characterized in that: the input end of the input detection module is connected with at least two USB input ports and is used for detecting a power bus VBUS signal and a protocol signal of the USB input ports, the input end of the output detection module is connected with at least two USB output ports, the charging and discharging module comprises a charging module and a discharging module which are respectively connected with the access control module, each USB input port and each USB output port are respectively connected with the charging and discharging module through a switch element, the control end of each switch element is connected with the access control module, the charging and discharging module is connected with the ground through a discharging module, and the access control module is used for switching or maintaining the access state according to the detection signals of the input detection module and the output detection module and controlling the charging and discharging module to perform charging and discharging management.
The second purpose of the present invention is to provide a control method for a multi-port fast charging mobile power supply circuit, which is used to solve the problem that the existing multi-port fast charging mobile power supply not only affects the fast charging experience, but also has potential safety hazard.
A control method of a multi-port quick-charging mobile power supply circuit comprises the following steps:
s1, detecting whether external equipment is accessed or moved out;
s2, switching or maintaining the access state according to the access or removal condition of the external equipment;
the access state comprises a shutdown state, a single-port input state, a single-port output state, a charging and discharging state and a multi-port output state;
when the single port is switched to the multiple ports, namely the single port input state is switched to the charging and discharging state, the single port output state is switched to the charging and discharging state, or the single port output state is switched to the multiple port output state, the access control module executes the following steps:
11) controlling the charge-discharge module to reduce the voltage to a common voltage value;
12) opening a discharge module to discharge the path capacitor;
13) detecting whether the voltage drops to a safety threshold value, if so, opening a corresponding access switch, and otherwise, continuing to detect;
14) the method comprises the steps that a quick charge voltage is not applied to a USB input port, a quick charge voltage request of a USB output port is not responded, and a charge-discharge module is controlled to enter a common charge-discharge mode;
when switching from a multi-port state to a single-port state, namely, switching from a charging and discharging state to a single-port output state, switching from a charging and discharging state to a single-port input state or switching from a multi-port output state to a single-port output state, the access control module executes the following steps:
if the switch is made to the single input port state,
21) closing the output path switch; and delaying for a preset time;
22) applying for a quick charging voltage to the USB input port, if the application is successful, controlling the charging module to enter a quick charging mode, otherwise, entering a common charging mode;
if the state is switched to the single output port state,
31) closing switches of the discharging module and the input and output channel, and delaying for a preset time;
32) opening the discharge module and the switch of the output path to electrify the external equipment again;
33) and responding to the quick charge voltage request of the USB output port, if the response is successful, controlling the discharge module to enter a quick charge and discharge mode, otherwise, entering a common discharge mode.
Preferably, the method for detecting whether an external device is accessed or removed in step S1 includes:
the USB input port is connected with external equipment for detection: detecting whether the voltage value of the power bus VBUS of the USB input port exceeds a threshold value or not, or detecting whether the current value of the power bus VBUS of the USB input port exceeds the threshold value or not, or detecting whether the protocol signal of the USB input port is successfully connected or not, if any one of the two is true, then the USB input port has external equipment access, and if not, then the USB input port has no external equipment access;
and (3) detecting the shift of the USB input port out of the external equipment: detecting whether the voltage value of the VBUS of the power bus of the USB input port is lower than a threshold value, or detecting whether the current value of the VBUS of the power bus of the USB input port is lower than the threshold value, or detecting whether a protocol signal of the USB input port is disconnected or disconnected, if any one of the two is true, external equipment is moved out of the USB input port, and if not, no external equipment is moved out of the USB input port;
the USB output port is connected with external equipment for detection: detecting whether the voltage value of a power bus VBUS of a USB output port is pulled down by a preset amplitude value or not, or detecting whether a DP signal or a DM signal of the USB output port is pulled down by the preset amplitude value or not, or detecting whether a protocol signal of the USB output port is successfully connected or detecting whether an external output control signal exists or not, if any one of the signals is established, then the USB output port has external equipment access, and if not, then the USB output port does not have external equipment access;
detecting that the USB output port is moved out of the external equipment: detecting whether the current value of a power bus VBUS of a USB output port is lower than a threshold value and lasting for a preset time, or detecting whether a protocol signal of the USB output port is disconnected or disconnected, or detecting whether an external output control signal exists, if any one of the protocol signal and the external output control signal exists, then the USB output port has external equipment to be moved out, and if not, then the USB output port has no external equipment to be moved out;
the protocol signals comprise CC1/CC2 signals of a Type-C protocol and/or DP/DM signals of a quick charging protocol.
Preferably, in the shutdown state, neither the USB input port nor the USB output port is connected to an external device;
in the single-port input state, at least one USB input port is connected with external equipment, no USB output port is connected with the external equipment, a quick charging voltage is applied to the USB input port, if the application is successful, the charging module is controlled to enter a quick charging mode, and otherwise, the charging module enters a common charging mode;
in the single-port output state, no USB input port is connected with external equipment, only one USB output port is connected with the external equipment, the fast charging voltage request of the USB output port is responded, if the response is successful, the discharging module is controlled to enter a fast charging and discharging mode, otherwise, the discharging module enters a common discharging mode;
in the charging and discharging state, at least one USB input port is connected with external equipment, at least one USB output port is connected with the external equipment, the USB input port is not applied for a quick charging voltage, the quick charging voltage request of the USB output port is not responded, and the charging module is controlled to enter a common charging mode;
in the multi-port output state, no USB input port is connected with external equipment, at least two USB output ports are connected with the external equipment, the quick charging voltage request of the USB output ports is not responded, and the discharging module is controlled to enter a common discharging mode;
the method for switching or maintaining the access state according to the access or removal condition of the external device in step S2 is as follows:
in a shutdown state, if the USB input port is detected to have external equipment access, switching to a single-port input state; if detecting that the external equipment is accessed to the USB output port, switching to a single-port output state;
under the single-port input state, if the external equipment access of more than one USB input port is detected, the current state is maintained; if detecting that external equipment is connected to the USB output port, switching to a charging and discharging state; if detecting that the external equipment is moved out of the USB input port, switching to a shutdown state;
under the single-port output state, if the USB input port is detected to have external equipment access, switching to a charging and discharging state; if detecting that more than one output port has external equipment access, switching to a multi-port output state; if detecting that the external equipment is moved out, switching to a power-off state;
under the state of charging and discharging, if detecting that more than one USB input port or more than one USB output port has external equipment to be accessed, maintaining the current state; if the external equipment is detected to be moved out from the USB input port, whether more than one USB output ports have the external equipment to be accessed is detected, if so, the multi-port output state is switched, and if not, the single-port output state is switched; if the external equipment is detected to be moved out of the USB output ports, whether the external equipment is accessed into at least one USB output port is detected, if so, the current state is maintained, and if not, the single-port input state is switched to;
under the multi-port output state, if the USB input port is detected to have external equipment access, switching to a charging and discharging state; if the external equipment is detected to be moved out of the USB output ports, whether more than one USB output ports have the external equipment to be accessed is detected, if yes, the current state is maintained, and if not, the single-port output state is switched to.
Preferably, the switching of the single-port input state to the charging and discharging state includes the following steps:
a1. the access control module controls the charging module to enter a common charging mode;
a2. applying for common voltage to the USB input port and opening a bleeder circuit to discharge the path capacitor;
a3. detecting whether the voltage of the USB input port drops to a safety threshold value, if so, executing a step a4, otherwise, continuing the detection;
a4. and the channel connected with the USB output port of the external equipment is conducted to supply power to the external equipment, and the quick charging request from the USB output port is not responded.
Preferably, the switching of the single-port output state to the charging and discharging state includes the following steps:
b1. the path control module closes the discharging module and disconnects a path of a USB output port connected to external equipment, opens the discharging module to discharge the path capacitor, and delays preset time;
b2. the access control module opens the charging module and conducts the access of the USB input port and the USB output port which are connected with the external equipment;
b3. the channel control module does not make a quick charging request to the USB input port and does not respond to the quick charging request from the USB output port;
b4. and the access control module controls the charging module to enter a common charging mode.
Preferably, the switching of the single-port output state to the multi-port output state includes the following steps:
c1. the path control module closes the discharging module and disconnects a path of a USB output port connected to external equipment, opens the discharging module to discharge the path capacitor, and delays preset time;
c2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment;
c3. the channel control module receives but does not respond to the quick charging request from the USB output port;
c4. and the passage control module controls the discharging module to enter a common discharging mode.
Preferably, the state of charging and discharging is switched to the single-port output state, and the method comprises the following steps:
d1. the path control module closes the charging module, disconnects the path of the USB input port accessed to the external equipment and disconnects the path of the USB output port accessed to the external equipment, and delays preset time;
d2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment, and supplies power to the connected external equipment;
d3. the channel control module responds to the quick charge request from the USB output port, if the response is successful, the channel control module controls the discharge module to enter a quick charge and discharge mode, and otherwise, the channel control module enters a common discharge mode.
Preferably, the state of charging and discharging is switched to the single-port input state, and the method comprises the following steps:
e1. the path control module closes the charging module, disconnects the path of the USB input port accessed to the external equipment and disconnects the path of the USB output port accessed to the external equipment, and delays preset time;
e2. the access control module opens the charging module and conducts an access which is accessed to a USB input port of the external equipment;
e3. the channel control module applies for quick charging to the USB input port, if the application is successful, the channel control module controls the charging module to enter a quick charging mode, and otherwise, the channel control module enters a common charging mode.
Preferably, the switching of the multi-port output state to the single-port output state includes the following steps:
f1. the path control module closes the discharging module and a path switch connected to a USB output port of the external equipment, and delays preset time;
f2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment, and supplies power to the connected external equipment;
f3. the channel control module responds to the quick charge request from the USB output port, if the response is successful, the channel control module controls the discharge module to enter a quick charge and discharge mode, and otherwise, the channel control module enters a common discharge mode.
The invention has the beneficial effects that: according to the invention, through controlling the switch time sequence of the access, the problems that the multi-port quick-charging mobile power supply not only influences the quick-charging experience, but also has potential safety hazards are solved.
Drawings
Fig. 1 is a schematic block diagram of an implementation circuit of the multi-port fast-charging mobile power supply circuit of the present invention;
FIG. 2 is a functional block diagram of a power bus detection method according to an embodiment of the present invention;
FIG. 3 is a functional block diagram of a protocol signal detection method according to an embodiment of the present invention;
fig. 4 is a diagram illustrating a path state switching process according to an embodiment of the invention.
Detailed Description
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Referring to fig. 1, a control method of a multi-port fast-charging mobile power circuit is disclosed in this embodiment, the realization circuit comprises an input detection module 1, an output detection module 2, a channel control module 3 and a charge and discharge module 4, wherein the input end of the input detection module 1 is connected with at least two USB input ports, the input end of the output detection module 2 is connected with at least two USB output ports, the channel control module 3 is respectively connected with the output end of the input detection module 1 and the output end of the output detection module 2, the charge and discharge module 4 comprises a charge module and a discharge module which are respectively connected with the channel control module 3, each USB input port and each USB output port are respectively connected with the charge and discharge module 4 through a switch element, the control end of the switch element is connected with the channel control module 3, the charge and discharge module 4 is connected with the ground through a discharge module 5, and the channel control module 3 adopts a single chip.
A control method of a multi-port quick-charging mobile power supply circuit comprises the following steps:
s1, detecting whether external equipment is accessed or moved out;
s2, switching or maintaining the access state according to the access or removal condition of the external equipment;
wherein the pass state includes
In the shutdown state, the USB input port and the USB output port are not connected with external equipment;
in the single-port input state, at least one USB input port is connected with external equipment, no USB output port is connected with the external equipment, a quick charging voltage is applied to the USB input port, if the application is successful, the charging module is controlled to enter a quick charging mode, and if the application is not successful, the charging module enters a common (5V) charging mode;
in the single-port output state, no USB input port is connected with external equipment, only one USB output port is connected with the external equipment, the fast charging voltage request of the USB output port is responded, if the response is successful, the discharging module is controlled to enter a fast charging and discharging mode, otherwise, the discharging module enters a common (5V) discharging mode;
in the charging and discharging state, at least one USB input port is connected with external equipment, at least one USB output port is connected with the external equipment, the USB input port is not applied for a quick charging voltage, the quick charging voltage request of the USB output port is not responded, and the charging module is controlled to enter a common (5V) charging mode;
and in the multi-port output state, no USB input port is connected with external equipment, at least two USB output ports are connected with the external equipment, the quick charging voltage request of the USB output ports is not responded, and the discharging module is controlled to enter a common (5V) discharging mode.
When the single port is switched to the multiple ports, namely the single port input state is switched to the charging and discharging state, the single port output state is switched to the charging and discharging state, or the single port output state is switched to the multiple port output state, the access control module executes the following steps:
11) controlling the charge-discharge module to reduce the voltage to a common voltage value;
12) opening a discharge module to discharge the path capacitor;
13) detecting whether the voltage drops to a safety threshold value, if so, opening a corresponding access switch, and otherwise, continuing to detect;
14) the method comprises the steps that a quick charge voltage is not applied to a USB input port, a quick charge voltage request of a USB output port is not responded, and a charge-discharge module is controlled to enter a common charge-discharge mode;
when switching from a multi-port state to a single-port state, namely, switching from a charging and discharging state to a single-port output state, switching from a charging and discharging state to a single-port input state or switching from a multi-port output state to a single-port output state, the access control module executes the following steps:
if the switch is made to the single input port state,
21) closing the output path switch; and delaying for a preset time;
22) applying for a quick charging voltage to the USB input port, if the application is successful, controlling the charging module to enter a quick charging mode, otherwise, entering a common charging mode;
if the state is switched to the single output port state,
31) closing switches of the discharging module and the input and output channel, and delaying for a preset time;
32) opening the discharge module and the switch of the output path to electrify the external equipment again;
33) and responding to the quick charge voltage request of the USB output port, if the response is successful, controlling the discharge module to enter a quick charge and discharge mode, otherwise, entering a common discharge mode.
The method for detecting whether an external device is accessed or removed in step S1 includes:
the USB input port is connected with external equipment for detection: detecting whether the voltage value of the VBUS of the power bus of the USB input port exceeds a threshold value, or detecting whether the current value of the VBUS of the power bus of the USB input port exceeds the threshold value, or detecting whether the connection of a protocol signal of the USB input port is successful, and if any one of the values is true, accessing external equipment to the USB input port;
and (3) detecting the shift of the USB input port out of the external equipment: detecting whether the voltage value of the VBUS of the power bus of the USB input port is lower than a threshold value, or detecting whether the current value of the VBUS of the power bus of the USB input port is lower than the threshold value, or detecting whether a protocol signal of the USB input port is disconnected or disconnected, and if any one of the two is true, moving out external equipment from the USB input port;
the USB output port is connected with external equipment for detection: detecting whether the voltage value of a power bus VBUS of a USB output port is pulled down by a preset amplitude value or not, or detecting whether a DP signal or a DM signal of the USB output port is pulled down by the preset amplitude value or not, or detecting whether a protocol signal of the USB output port is successfully connected or detecting whether an external output control signal exists or not, if any one of the signals is established, then the USB output port has external equipment access, and if not, then the USB output port does not have external equipment access;
detecting that the USB output port is moved out of the external equipment: detecting whether the current value of a power bus VBUS of the USB output port is lower than a threshold value or not, and continuing for a preset time, or detecting whether a protocol signal of the USB output port is disconnected or whether an external output control signal exists or not, if any one of the protocol signal and the external output control signal is established, then the USB output port is moved out by external equipment, and if not, then the USB output port is not moved out by the external equipment.
The protocol signals comprise CC1/CC2 signals of a Type-C protocol and/or DP/DM signals of a quick charging protocol.
In the embodiment, a plurality of mechanisms (such as voltage and current detection and protocol signal detection of a power bus VBUS of a USB port) are adopted to comprehensively detect the access and the removal of the external equipment, so that the detection failure of a single detection means under a specific condition is avoided, and better rapid charging experience is provided for a user.
Wherein, the USB delivery outlet inserts external equipment and detects: the principle of detecting whether the voltage value of the power bus VBUS of the USB output port is pulled down by a preset amplitude value is as follows:
referring to fig. 2, a voltage value of the power bus VBUS and a first reference voltage are respectively applied to two input terminals of a comparator, the power bus VBUS voltage of the USB output port is pulled up to an amplitude higher than the first reference voltage through a first weak pull-up module, when the USB output port is not connected to an external device, an output of the comparator is low, when the USB output port is connected to the external device, because an input capacitor and a bleeder resistor are arranged inside the power bus of the external device, the input capacitor of the external device and an output capacitor of the USB output port perform charge sharing, and discharging is performed through the bleeder resistor, the voltage of the power bus VBUS is pulled down to be higher than the first reference voltage, and the output of the comparator is changed from low to high. When a power consuming cable is connected to the USB output port, for example, a Type-a to lighting (Type-a to lighting) line of the apple inc, since the first weak pull-up module cannot pull up the voltage of the power bus VBUS to a level higher than the first reference voltage, a failure of the external device connection detection may occur, and another detection method is required.
The USB output port is connected with external equipment for detection: the principle of detecting whether the DP signal or the DM signal of the USB output port is pulled down by a preset amplitude is as follows:
referring to fig. 3, the voltage DP/DM and the second reference voltage after the pin DP and the pin DM of the USB output port are shorted together are respectively applied to two input terminals of the comparator, the voltage DP/DM is pulled up to an amplitude higher than the second reference voltage by the second weak pull-up module, and the output of the comparator is low. When the USB output port is connected to external equipment, the voltage DP/DM is pulled down to be lower than the second reference voltage because the pin DP and the pin DM of the external equipment both have earth leakage resistors, and the output of the comparator is changed from low to high.
Referring to fig. 4, the method for switching or maintaining the access status according to the access or removal status of the external device in step S2 includes:
in a shutdown state, if the USB input port is detected to have external equipment access, switching to a single-port input state; if detecting that the external equipment is accessed to the USB output port, switching to a single-port output state;
under the single-port input state, if the external equipment access of more than one USB input port is detected, the current state is maintained; if detecting that external equipment is connected to the USB output port, switching to a charging and discharging state; if detecting that the external equipment is moved out of the USB input port, switching to a shutdown state;
under the single-port output state, if the USB input port is detected to have external equipment access, switching to a charging and discharging state; if detecting that more than one output port has external equipment access, switching to a multi-port output state; if detecting that the external equipment is moved out, switching to a power-off state;
under the state of charging and discharging, if detecting that more than one USB input port or more than one USB output port has external equipment to be accessed, maintaining the current state; if the external equipment is detected to be moved out from the USB input port, whether more than one USB output ports have the external equipment to be accessed is detected, if so, the multi-port output state is switched, and if not, the single-port output state is switched; if the external equipment is detected to be moved out of the USB output ports, whether the external equipment is accessed into at least one USB output port is detected, if so, the current state is maintained, and if not, the single-port input state is switched to;
under the multi-port output state, if the USB input port is detected to have external equipment access, switching to a charging and discharging state; if the external equipment is detected to be moved out of the USB output ports, whether more than one USB output ports have the external equipment to be accessed is detected, if yes, the current state is maintained, and if not, the single-port output state is switched to.
The following further describes the method for switching the single-port input state to the simultaneous charging and discharging state, the single-port output state to the simultaneous charging and discharging state, or the single-port output state to the multi-port output state in step S2,
the method for switching the single-port input state to the charging and discharging state comprises the following steps:
a1. the access control module controls the charging module to enter a common (5V) charging mode;
a2. applying a common (5V) voltage to the USB input port and opening a bleeder circuit to discharge the path capacitor;
a3. detecting whether the voltage of the USB input port drops to a safety threshold value, if so, executing a step a4, otherwise, continuing the detection;
a4. and the channel connected with the USB output port of the external equipment is conducted to supply power to the external equipment, and the quick charging request from the USB output port is not responded.
The method for switching the single-port output state to the charging and discharging state comprises the following steps:
b1. the path control module closes the discharging module and disconnects a path of a USB output port connected to external equipment, opens the discharging module to discharge the path capacitor, and delays preset time;
b2. the access control module opens the charging module and conducts the access of the USB input port and the USB output port which are connected with the external equipment;
b3. the channel control module does not make a quick charging request to the USB input port and does not respond to the quick charging request from the USB output port;
b4. and the access control module controls the charging module to enter a common (5V) charging mode.
The switching of the single-port output state to the multi-port output state comprises the following steps:
c1. the path control module closes the discharging module and disconnects a path of a USB output port connected to external equipment, opens the discharging module to discharge the path capacitor, and delays preset time;
c2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment;
c3. the channel control module receives but does not respond to the quick charging request from the USB output port;
c4. the passage control module controls the discharging module to enter a common (5V) discharging mode.
The following further describes the method of switching the discharge state to the single-port output state while charging, switching the discharge state to the single-port input state while charging, or switching the multi-port output state to the single-port output state in step S2,
the method for switching the state of charging and discharging to the state of single-port output comprises the following steps:
d1. the path control module closes the charging module, disconnects the path of the USB input port accessed to the external equipment and disconnects the path of the USB output port accessed to the external equipment, and delays preset time;
d2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment, and supplies power to the connected external equipment;
d3. the channel control module responds to the quick charge request from the USB output port, if the response is successful, the channel control module controls the discharge module to enter a quick charge and discharge mode, and otherwise, the channel control module enters a common (5V) discharge mode.
The method for switching the charging and discharging state to the single-port input state comprises the following steps:
e1. the path control module closes the charging module, disconnects the path of the USB input port accessed to the external equipment and disconnects the path of the USB output port accessed to the external equipment, and delays preset time;
e2. the access control module opens the charging module and conducts an access which is accessed to a USB input port of the external equipment;
e3. the channel control module applies for quick charging to the USB input port, if the application is successful, the channel control module controls the charging module to enter a quick charging mode, and otherwise, the channel control module enters a common (5V) charging mode.
The multi-port output state is switched to the single-port output state, and the method comprises the following steps:
f1. the path control module closes the discharging module and a path switch connected to a USB output port of the external equipment, and delays preset time;
f2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment, and supplies power to the connected external equipment;
f3. the channel control module responds to the quick charge request from the USB output port, if the response is successful, the channel control module controls the discharge module to enter a quick charge and discharge mode, and otherwise, the channel control module enters a common (5V) discharge mode.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and the present invention shall fall within the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means. The invention is capable of other modifications and variations in its technical solution and/or its implementation, within the scope of protection of the invention.

Claims (9)

1. A control method of a multi-port quick-charging mobile power supply circuit is characterized by comprising the following steps:
s1, detecting whether external equipment is accessed or moved out;
s2, switching or maintaining the access state according to the access or removal condition of the external equipment;
the access state comprises a shutdown state, a single-port input state, a single-port output state, a charging and discharging state and a multi-port output state;
when the single port is switched to the multiple ports, namely the single port input state is switched to the charging and discharging state, the single port output state is switched to the charging and discharging state, or the single port output state is switched to the multiple port output state, the access control module executes the following steps:
11) controlling the charge-discharge module to reduce the voltage to a common voltage value;
12) opening a discharge module to discharge the path capacitor;
13) detecting whether the voltage drops to a safety threshold value, if so, opening a corresponding access switch, and otherwise, continuing to detect;
14) the method comprises the steps that a quick charge voltage is not applied to a USB input port, a quick charge voltage request of a USB output port is not responded, and a charge-discharge module is controlled to enter a common charge-discharge mode;
when switching from a multi-port state to a single-port state, namely, switching from a charging and discharging state to a single-port output state, switching from a charging and discharging state to a single-port input state or switching from a multi-port output state to a single-port output state, the access control module executes the following steps:
if the switch is made to the single input port state,
21) closing the output path switch; and delaying for a preset time;
22) applying for a quick charging voltage to the USB input port, if the application is successful, controlling the charging module to enter a quick charging mode, otherwise, entering a common charging mode;
if the state is switched to the single output port state,
31) closing switches of the discharging module and the input and output channel, and delaying for a preset time;
32) opening the discharge module and the switch of the output path to electrify the external equipment again;
33) and responding to the quick charge voltage request of the USB output port, if the response is successful, controlling the discharge module to enter a quick charge and discharge mode, otherwise, entering a common discharge mode.
2. The method for controlling a multi-port fast-charging mobile power supply circuit according to claim 1, wherein the method for detecting whether an external device is connected or removed in step S1 comprises:
the USB input port is connected with external equipment for detection: detecting whether the voltage value of the power bus VBUS of the USB input port exceeds a threshold value or not, or detecting whether the current value of the power bus VBUS of the USB input port exceeds the threshold value or not, or detecting whether the protocol signal of the USB input port is successfully connected or not, if any one of the two is true, then the USB input port has external equipment access, and if not, then the USB input port has no external equipment access;
and (3) detecting the shift of the USB input port out of the external equipment: detecting whether the voltage value of the VBUS of the power bus of the USB input port is lower than a threshold value, or detecting whether the current value of the VBUS of the power bus of the USB input port is lower than the threshold value, or detecting whether a protocol signal of the USB input port is disconnected or disconnected, if any one of the two is true, external equipment is moved out of the USB input port, and if not, no external equipment is moved out of the USB input port;
the USB output port is connected with external equipment for detection: detecting whether the voltage value of a power bus VBUS of a USB output port is pulled down by a preset amplitude value or not, or detecting whether a DP signal or a DM signal of the USB output port is pulled down by the preset amplitude value or not, or detecting whether a protocol signal of the USB output port is successfully connected or detecting whether an external output control signal exists or not, if any one of the signals is established, then the USB output port has external equipment access, and if not, then the USB output port does not have external equipment access;
detecting that the USB output port is moved out of the external equipment: detecting whether the current value of a power bus VBUS of a USB output port is lower than a threshold value and lasting for a preset time, or detecting whether a protocol signal of the USB output port is disconnected or disconnected, or detecting whether an external output control signal exists, if any one of the protocol signal and the external output control signal exists, then the USB output port has external equipment to be moved out, and if not, then the USB output port has no external equipment to be moved out;
the protocol signals comprise CC1/CC2 signals of a Type-C protocol and/or DP/DM signals of a quick charging protocol.
3. The control method of the multi-port fast-charging mobile power supply circuit according to claim 1, characterized in that:
in the shutdown state, the USB input port and the USB output port are not connected with external equipment;
in the single-port input state, at least one USB input port is connected with external equipment, no USB output port is connected with the external equipment, a quick charging voltage is applied to the USB input port, if the application is successful, the charging module is controlled to enter a quick charging mode, and otherwise, the charging module enters a common charging mode;
in the single-port output state, no USB input port is connected with external equipment, only one USB output port is connected with the external equipment, the fast charging voltage request of the USB output port is responded, if the response is successful, the discharging module is controlled to enter a fast charging and discharging mode, otherwise, the discharging module enters a common discharging mode;
in the charging and discharging state, at least one USB input port is connected with external equipment, at least one USB output port is connected with the external equipment, the USB input port is not applied for a quick charging voltage, the quick charging voltage request of the USB output port is not responded, and the charging module is controlled to enter a common charging mode;
in the multi-port output state, no USB input port is connected with external equipment, at least two USB output ports are connected with the external equipment, the quick charging voltage request of the USB output ports is not responded, and the discharging module is controlled to enter a common discharging mode;
the method for switching or maintaining the access state according to the access or removal condition of the external device in step S2 is as follows:
in a shutdown state, if the USB input port is detected to have external equipment access, switching to a single-port input state; if detecting that the external equipment is accessed to the USB output port, switching to a single-port output state;
under the single-port input state, if the external equipment access of more than one USB input port is detected, the current state is maintained; if detecting that external equipment is connected to the USB output port, switching to a charging and discharging state; if detecting that the external equipment is moved out of the USB input port, switching to a shutdown state;
under the single-port output state, if the USB input port is detected to have external equipment access, switching to a charging and discharging state; if detecting that more than one output port has external equipment access, switching to a multi-port output state; if detecting that the external equipment is moved out, switching to a power-off state;
under the state of charging and discharging, if detecting that more than one USB input port or more than one USB output port has external equipment to be accessed, maintaining the current state; if the external equipment is detected to be moved out from the USB input port, whether more than one USB output ports have the external equipment to be accessed is detected, if so, the multi-port output state is switched, and if not, the single-port output state is switched; if the external equipment is detected to be moved out of the USB output ports, whether the external equipment is accessed into at least one USB output port is detected, if so, the current state is maintained, and if not, the single-port input state is switched to;
under the multi-port output state, if the USB input port is detected to have external equipment access, switching to a charging and discharging state; if the external equipment is detected to be moved out of the USB output ports, whether more than one USB output ports have the external equipment to be accessed is detected, if yes, the current state is maintained, and if not, the single-port output state is switched to.
4. The control method of the multi-port fast-charging mobile power supply circuit as claimed in claim 1 or 3, wherein the switching of the single-port input state to the charging-discharging-while-charging state comprises the following steps:
a1. the access control module controls the charging module to enter a common charging mode;
a2. applying for common voltage to the USB input port and opening a bleeder circuit to discharge the path capacitor;
a3. detecting whether the voltage of the USB input port drops to a safety threshold value, if so, executing a step a4, otherwise, continuing the detection;
a4. and the channel connected with the USB output port of the external equipment is conducted to supply power to the external equipment, and the quick charging request from the USB output port is not responded.
5. The control method of the multi-port fast-charging mobile power supply circuit as claimed in claim 1 or 3, wherein the switching of the single-port output state to the charging-discharging state comprises the following steps:
b1. the path control module closes the discharging module and disconnects a path of a USB output port connected to external equipment, opens the discharging module to discharge the path capacitor, and delays preset time;
b2. the access control module opens the charging module and conducts the access of the USB input port and the USB output port which are connected with the external equipment;
b3. the channel control module does not make a quick charging request to the USB input port and does not respond to the quick charging request from the USB output port;
b4. and the access control module controls the charging module to enter a common charging mode.
6. The control method of the multi-port fast-charging mobile power supply circuit as claimed in claim 1 or 3, wherein the switching of the single-port output state to the multi-port output state comprises the following steps:
c1. the path control module closes the discharging module and disconnects a path of a USB output port connected to external equipment, opens the discharging module to discharge the path capacitor, and delays preset time;
c2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment;
c3. the channel control module receives but does not respond to the quick charging request from the USB output port;
c4. and the passage control module controls the discharging module to enter a common discharging mode.
7. The control method of the multi-port fast-charging mobile power supply circuit as claimed in claim 1 or 3, wherein the state of charging and discharging is switched to the state of single-port output, comprising the steps of:
d1. the path control module closes the charging module, disconnects the path of the USB input port accessed to the external equipment and disconnects the path of the USB output port accessed to the external equipment, and delays preset time;
d2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment, and supplies power to the connected external equipment;
d3. the channel control module responds to the quick charge request from the USB output port, if the response is successful, the channel control module controls the discharge module to enter a quick charge and discharge mode, and otherwise, the channel control module enters a common discharge mode.
8. The control method of the multi-port fast-charging mobile power supply circuit as claimed in claim 1 or 3, wherein the state of charging and discharging is switched to the state of single-port input, comprising the steps of:
e1. the path control module closes the charging module, disconnects the path of the USB input port accessed to the external equipment and disconnects the path of the USB output port accessed to the external equipment, and delays preset time;
e2. the access control module opens the charging module and conducts an access which is accessed to a USB input port of the external equipment;
e3. the channel control module applies for quick charging to the USB input port, if the application is successful, the channel control module controls the charging module to enter a quick charging mode, and otherwise, the channel control module enters a common charging mode.
9. The control method of the multi-port fast-charging mobile power supply circuit as claimed in claim 1 or 3, wherein the switching of the multi-port output state to the single-port output state comprises the following steps:
f1. the path control module closes the discharging module and a path switch connected to a USB output port of the external equipment, and delays preset time;
f2. the access control module opens the access of the open electric module and the USB output port which is connected with the external equipment, and supplies power to the connected external equipment;
f3. the channel control module responds to the quick charge request from the USB output port, if the response is successful, the channel control module controls the discharge module to enter a quick charge and discharge mode, and otherwise, the channel control module enters a common discharge mode.
CN201910222863.6A 2019-03-22 2019-03-22 Multi-port quick-charging mobile power supply circuit and control method thereof Active CN110176792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910222863.6A CN110176792B (en) 2019-03-22 2019-03-22 Multi-port quick-charging mobile power supply circuit and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910222863.6A CN110176792B (en) 2019-03-22 2019-03-22 Multi-port quick-charging mobile power supply circuit and control method thereof

Publications (2)

Publication Number Publication Date
CN110176792A CN110176792A (en) 2019-08-27
CN110176792B true CN110176792B (en) 2020-07-07

Family

ID=67689192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910222863.6A Active CN110176792B (en) 2019-03-22 2019-03-22 Multi-port quick-charging mobile power supply circuit and control method thereof

Country Status (1)

Country Link
CN (1) CN110176792B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111157813B (en) * 2019-12-31 2022-09-09 Oppo广东移动通信有限公司 Method and device for determining charging current
CN111614143B (en) * 2020-06-10 2021-05-04 深圳市猿人创新科技有限公司 Single-port adjustable charge-discharge circuit
CN114172223A (en) * 2020-09-11 2022-03-11 深圳英集芯科技股份有限公司 Quick charging protection method
CN114256943B (en) * 2020-09-22 2024-02-09 深圳英集芯科技股份有限公司 Quick charging charger and quick charging chip
CN111900780A (en) * 2020-09-29 2020-11-06 深圳英集芯科技有限公司 Mobile power supply quick charging protocol conversion device and control method thereof
CN114336814A (en) * 2020-09-30 2022-04-12 深圳英集芯科技股份有限公司 Multi-port charging control circuit, charging chip and power supply equipment
CN112165140B (en) * 2020-10-14 2022-06-07 维沃移动通信有限公司 Charging and discharging control method and device and power supply equipment
CN113541254B (en) * 2021-07-19 2023-04-07 珠海智融科技股份有限公司 Discharge circuit with prevent thermal damage function
CN116505627A (en) * 2023-06-28 2023-07-28 珠海智融科技股份有限公司 Multi-port quick-charging system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013006753A1 (en) * 2011-07-07 2013-01-10 Voxx International Corporation Current selectable usb charger
US20130043827A1 (en) * 2011-08-10 2013-02-21 Nathan Daniel Weinstein Portable power charger
CN205863990U (en) * 2016-07-20 2017-01-04 深圳派立通科技有限公司 A kind of multi-functional multiplex roles charger
CN206834767U (en) * 2017-02-25 2018-01-02 吴钰淳 Random fast charging device
CN206742938U (en) * 2017-05-11 2017-12-12 山东新康威电子有限公司 Two-way USB intelligent rapid chargers based on USB PD agreements
CN207868847U (en) * 2018-03-15 2018-09-14 厦门广开电子有限公司 A kind of mobile power
CN109462266A (en) * 2018-12-28 2019-03-12 合肥市芯海电子科技有限公司 A kind of circuit and method based on single channel fast charge protocol chip control multichannel USB port

Also Published As

Publication number Publication date
CN110176792A (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN110176792B (en) Multi-port quick-charging mobile power supply circuit and control method thereof
CN103219770B (en) Mobile terminal with multi-port charging control function
CN105978093B (en) A kind of mobile terminal
US9509160B2 (en) Fast charging terminal
CN111917163B (en) Multi-port charging control circuit and method, charging chip and power supply equipment
EP3287905B1 (en) Circuit, method and apparatus for usb interface sharing
CN102820682A (en) Device and method for communicating through universal serial bus (USB) interface and charging external device
CN201781310U (en) Battery charge control circuit
CN204304549U (en) Charger and charge management circuit
CN110417085A (en) A kind of system and method whether being inserted into for detecting apple equipment
CN203722283U (en) Charging cable and charging system
CN106655316A (en) Charging circuit and terminal equipment
CN201039411Y (en) A mobile phone with self-adapted charging device
CN108556669A (en) A kind of onboard charger and its control device
CN110797950A (en) Automatic switching method based on Type-C and AC charging and mobile terminal thereof
CN107994627A (en) A kind of mobile power control device based on TypeC agreements and PD agreements
CN106549463A (en) A kind of USB TYPE C PD bypass charging circuit
CN103403643A (en) Charging and discharging management device and mobile terminal
CN202978308U (en) Movable power supply device
CN107134819B (en) The charging/discharging thereof of mobile power, charge-discharge system and charge-discharge system
CN100362354C (en) Cell on-position detecting method for terminal device
CN109344108A (en) A kind of Type-C interface equipment, communication means and communication system
CN205811601U (en) Charging control circuit, charging device and mobile terminal
CN105071489A (en) Charging method and apparatus of terminal having data exchange function
CN104753132A (en) Power supply system and charging and discharging 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
CP03 Change of name, title or address

Address after: 519000 room 1401-1405, building 4, No. 101, University Road, Tangjiawan Town, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Zhirong Technology Co.,Ltd.

Address before: 519000 a401, Tsinghua Science Park, No. 101, University Road, Tangjiawan, high tech Zone, Zhuhai, Guangdong

Patentee before: ZHUHAI SMART WARE TECHNOLOGY CO.,LTD.

CP03 Change of name, title or address