CN115693877A - Power adapter, charging control method, and related medium and program product - Google Patents

Power adapter, charging control method, and related medium and program product Download PDF

Info

Publication number
CN115693877A
CN115693877A CN202111226126.7A CN202111226126A CN115693877A CN 115693877 A CN115693877 A CN 115693877A CN 202111226126 A CN202111226126 A CN 202111226126A CN 115693877 A CN115693877 A CN 115693877A
Authority
CN
China
Prior art keywords
adapter
power
output port
protocol chip
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111226126.7A
Other languages
Chinese (zh)
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 Injoinic Technology Co Ltd
Original Assignee
Shenzhen Injoinic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Injoinic Technology Co Ltd filed Critical Shenzhen Injoinic Technology Co Ltd
Priority to CN202111226126.7A priority Critical patent/CN115693877A/en
Publication of CN115693877A publication Critical patent/CN115693877A/en
Pending legal-status Critical Current

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/02Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters
    • H02J7/04Regulation of charging current or voltage
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • 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/20Charging or discharging characterised by the power electronics converter

Abstract

The application provides a power adapter, a charging control method, a related medium and a program product, wherein the power adapter comprises: the system comprises a rectifying circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a shunt switch, a first output port and a second output port, wherein the rectifying circuit is respectively connected with the first adapter and the second adapter; the first adapter is connected with the first PD protocol chip; the second adapter is connected with the second PD protocol chip; the first PD protocol chip is connected with the first output port; the second PD protocol chip is connected with the second output port; the first adapter is connected with the second adapter through the shunt switch; the first PD protocol chip is connected with the second PD protocol chip; the first PD protocol chip and the second PD protocol chip are both connected with the shunt switch. By the adoption of the method and the device, the flexibility of the PD charger with the double USB-C interfaces is improved.

Description

Power adapter, charging control method, and related medium and program product
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a power adapter, a charging control method, a related medium, and a program product.
Background
With the rapid development and popularization of a power transfer protocol (USB PD) fast charging technology, more and more charging devices support the USB PD fast charging technology. Especially in the application occasion of high-power USB PD, the application demand of charging equipment with multiple USB interfaces is increasing. Of these, the most typical application is the PD charger scenario with dual USB-C interfaces. However, the conventional PD charger with dual USB-C interfaces usually adopts a scheme of two-way transformers, each way of transformer independently controls one way of USB PD power output, and the power control is not flexible enough, so the problem of how to improve the flexibility of the PD charger with dual USB-C interfaces is urgently needed to be solved.
Disclosure of Invention
The embodiment of the application provides a power adapter and a charging control method, which can improve the flexibility of a PD charger with double USB-C interfaces.
In a first aspect, an embodiment of the present application provides a power adapter, where the power adapter includes: a rectification circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a shunt switch, a first output port and a second output port,
the rectifying circuit is respectively connected with the first adapter and the second adapter; the first adapter is connected with the first PD protocol chip; the second adapter is connected with the second PD protocol chip; the first PD protocol chip is connected with the first output port; the second PD protocol chip is connected with the second output port; the first adapter is connected with the second adapter through the shunt switch; the first PD protocol chip is connected with the second PD protocol chip; the first PD protocol chip and the second PD protocol chip are both connected with the shunt switch.
In a second aspect, an embodiment of the present application provides a charging control method applied to the power adapter according to the first aspect, where the method includes:
detecting the access conditions of the first output port and the second output port;
when only the first output port is connected to the first electric equipment, setting the working power of the first output port as the total power;
and when only the second output port is connected to the second electric equipment, setting the working power of the second output port as the total power.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the second aspect of the embodiment of the present application, or the electronic device includes the power adapter.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that the power adapter described in the embodiments of the present application includes: the device comprises a rectifying circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a shunt switch, a first output port and a second output port, wherein the rectifying circuit is respectively connected with the first adapter and the second adapter; the first adapter is connected with a first PD protocol chip, the second adapter is connected with a second PD protocol chip, the first PD protocol chip is connected with a first output port, the second PD protocol chip is connected with a second output port, the first adapter is connected with the second adapter through a shunt switch, the first PD protocol chip and the second PD protocol chip are both connected with the shunt switch, the access condition of the first output port is detected, when only the first output port is accessed into first electric equipment, the working power of the first output port is set to be the total power, the access condition of the second output port is detected, when only the second output port is accessed into second electric equipment, the working power of the second output port is set to be the total power, on one hand, the working conditions of the first PD protocol chip and the second PD protocol chip and the access condition of the first output port and the second output port can be informed to the opposite party through a communication mechanism between the first PD protocol chip and the second PD protocol chip, on the other hand, the PD control strategy between the PD protocol chip and the PD protocol chip can be used for realizing shunt operation of a single PD port, and the charger can be operated under the condition of single PD-single port, and the charger can be further improved in the charging interface of a charger.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a power adapter provided in an embodiment of the present application;
fig. 2 is another schematic structural diagram of a power adapter according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a charging control method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another charging control method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of another power adapter provided in an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions of the present application, the following description is given for clarity and completeness in conjunction with the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step on the basis of the description of the embodiments of the present application belong to the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, software, product, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements recited, but may also include other steps or elements not expressly listed or inherent to such process, method, product, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiments of the present application will be described with reference to the drawings, in which a dot at the intersection of intersecting wires indicates that the wires are connected, and a dot-free intersection indicates that the wires are not connected.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a power adapter provided in an embodiment of the present application, where the power adapter includes: a rectification circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a shunt switch, a first output port and a second output port,
the rectifying circuit is respectively connected with the first adapter and the second adapter; the first adapter is connected with the first PD protocol chip; the second adapter is connected with the second PD protocol chip; the first PD protocol chip is connected with the first output port; the second PD protocol chip is connected with the second output port; the first adapter is connected with the second adapter through the shunt switch; the first PD protocol chip is connected with the second PD protocol chip; the first PD protocol chip and the second PD protocol chip are both connected with the shunt switch.
The rectifying circuit may be an electromagnetic interference (EMI) filter and a bridge rectifier, and the rectifying circuit may be connected to an external power supply, for example, the rectifying circuit may convert ac power into dc power. The external power supply may be an AC/DC power supply, a DC/DC power supply, a regulated power supply, a communication power supply, a modular power supply, a variable frequency power supply, an inverter power supply, an AC regulated power supply, a DC regulated power supply, etc., which is not limited in the embodiments of the present application.
The first output port is used for connecting a first USB data line, and the first USB data line is used for connecting first electric equipment; the second output port is used for connecting a second USB data line, and the second USB data line is used for connecting a second electrical device.
The first electrical device and the second electrical device may include, but are not limited to: smart phones, tablets, smart robots, smart elevators, vehicle devices, wearable devices, smart home devices, computing devices or other processing devices connected to a wireless modem, as well as various forms of User Equipment (UE), mobile Stations (MS), terminal devices (terminating device), and the like. The first electrical device may be understood as any device that is connected to the first outlet for charging, and the second electrical device may be understood as any device that is connected to the second outlet for charging.
The first PD protocol chip is configured to obtain a first charging parameter of the first powered device through the first output port, where the first charging parameter may include at least one of: a charging voltage, a charging current, a charging mode, a charging power, etc., without limitation. The first PD protocol chip may be configured to detect whether the first powered device is connected to the first outlet. The first PD protocol chip may be connected to the first output port via pins CC1 and CC 2.
The second PD protocol chip is configured to obtain a second charging parameter of the second electrical device through the second output port, where the second charging parameter may include at least one of: charging voltage, charging current, charging mode, charging power, etc., without limitation. The second PD protocol chip may be configured to detect whether the second electrical device is connected to the second outlet. The second PD protocol chip is connected to the second output port via pins CC1 and CC 2.
The first PD protocol chip can also communicate with the second PD protocol chip through the shunt communication interface. The first PD protocol chip may notify the second PD protocol chip of the charging parameter applied by the first electrical device, and the second PD protocol chip may also notify the first PD protocol chip of the charging parameter applied by the second electrical device. The first PD protocol chip may obtain an output parameter of the first adapter, the output parameter including an output voltage value, and/or an output current value. The second PD protocol chip may obtain output parameters of the second adapter, the output parameters including an output voltage value, and/or an output current value. The first PD protocol chip and the second PD protocol chip can adjust the working voltage or the working current of the first adapter or the second adapter through a preset PD control strategy. When the current sharing function is realized, the shunt communication interface can also be called a current sharing communication interface.
Wherein the shunt switch may be used to regulate the operating current of the first adapter and the second adapter. The shunt switch can be formed by MOS tubes.
The structures of the first adapter and the second adapter can be the same or different; the function of the first outlet may be the same as or different from the function of the second outlet.
Further, referring to fig. 2, fig. 2 is another schematic structural diagram of a power adapter according to an embodiment of the present application, wherein,
the first adapter may include: the power supply comprises a first AC-DC control chip, a first main power switch circuit, a first high-frequency transformer and a first rectification module, wherein the first main power switch circuit is connected with the rectification circuit, the first AC-DC control chip and the first high-frequency transformer, the first high-frequency transformer is connected with the first rectification module, the first rectification module is connected with the first PD protocol chip, and the first PD protocol chip is connected with the first AC-DC control chip.
The first PD protocol chip is in communication with the first AC-DC control chip through an I2C communication interface, and the first PD protocol chip is configured to set an operating parameter of the first AC-DC control chip, where the operating parameter may include at least one of: operating voltage, operating current, operating power, etc., without limitation. The first PD protocol chip may also obtain a current value of the first adapter.
Optionally, the power adapter further includes a first switch, where the first rectifying module is connected to the first switch, and the first switch is connected to the first PD protocol chip and the first output port.
Wherein, first switch can be the MOS pipe, and under Type-C agreement, first switch is used for realizing not exporting voltage at the default condition of C mouth regulation, just opens first switch when the SINK end access of first delivery outlet is detected, outputs 5V voltage.
Optionally, the second adapter includes: the second AC-DC control chip, a second main power switch circuit, a second high-frequency transformer and a second rectification module, wherein the second main power switch circuit is connected with the rectification circuit, the second AC-DC control chip and the second high-frequency transformer, the second high-frequency transformer is connected with the second rectification module, the second rectification module is connected with the second PD protocol chip, and the second PD protocol chip is connected with the second AC-DC control chip.
The second PD protocol chip is in communication with the second AC-DC control chip through the I2C communication interface, and the second PD protocol chip is configured to set an operating parameter of the second AC-DC control chip, where the operating parameter may include at least one of: operating voltage, operating current, operating power, etc., without limitation. The second PD protocol chip may also obtain a current value of the second adapter.
Optionally, the power adapter further comprises a second switch, wherein,
the second rectifying module is connected with the second switch, and the second switch is connected with the second PD protocol chip and the second output port.
The second switch can be an MOS (metal oxide semiconductor) tube, under a Type-C protocol, the second switch is used for realizing that voltage is not output under the specified default condition of the port C, and when the SINK end access of the second output port is detected, the second switch is turned on to output 5V voltage.
Optionally, the first rectifying module is connected to the shunt switch, and the second rectifying module is connected to the shunt switch.
The first rectifying module is used for filtering and rectifying the output current of the first adapter. The second rectifying module is used for filtering and rectifying the output current of the second adapter. Connect shunt switch through first rectifier module, shunt switch is connected to second rectifier module, then shunt switch alright know the output current of first adapter and the output current of second adapter. The shunt switch can be formed by 2 MOS pipes, and 2 MOS pipes can be respectively used for adjusting the currents of the first adapter and the second adapter, and when the currents of the first adapter and the second adapter are almost equal, the current equalizing function is realized.
The first PD protocol chip and the second PD protocol chip may be Integrated Circuits (ICs) of a Micro Controller Unit (MCU) type with models of IP2726, IP2723T, IP2712, INNO3PRO, and the like, or may be other types of System On Chips (SOCs).
Based on the power adapter, the following functions can be realized:
the first PD protocol chip is used for detecting the access condition of the first output port; when only the first output port is connected to the first electric equipment, setting the working power of the first output port as the total power;
the second PD protocol chip is used for detecting the access condition of the second output port; and when only the second output port is connected to the second electric equipment, setting the working power of the second output port as the total power.
Optionally, when only the first output port is connected to the first electric device;
the first PD protocol chip is used for acquiring a first charging parameter applied by the first electric equipment, and the first charging parameter comprises a first charging voltage and a first charging current;
the first PD protocol chip is configured to notify the second PD protocol chip of the first charging parameter of the first powered device;
the second PD protocol chip is configured to control the second AC-DC control chip to operate according to a preset operating parameter, where the preset operating parameter includes an operating voltage and an operating current, the operating voltage is equal to the first charging voltage, and the operating current is determined by the first charging current, a first charging parameter corresponding to the first output port, and a second charging parameter corresponding to the second output port;
and the shunt switch is used for performing shunt operation.
Optionally, the first adapter is configured to obtain a first current value output by the first adapter; the second adapter is used for acquiring a second current value output by the second adapter; the first PD protocol chip is used for a first comparison result between the first current value and the second current value; when the first comparison result is not in a preset range, determining a target voltage adjusting parameter according to the first comparison result; and the first AC-DC control chip is used for adjusting the working voltage of the first AC-DC control chip according to the target voltage adjusting parameter.
Optionally, the first adapter is configured to obtain a third current value of the first adapter; the second adapter is used for obtaining a fourth current value of the second adapter; the first PD protocol chip is used for determining a second comparison result between the third current value and the fourth current value; and when the second comparison result is in the preset range, determining that the shunting operation is successful.
Optionally, when the first output port is connected to a first electrical device and the second output port is connected to a second electrical device; the first PD protocol chip is used for acquiring a first charging parameter corresponding to the first output port; the second PD protocol chip is configured to obtain a second charging parameter corresponding to the second output port; the first PD protocol chip is configured to determine, according to the first charging parameter and the second charging parameter, a first operating power of the first output port and a second operating power of the second output port, where a sum of the first operating power and the second operating power is a total power of the power adapter; the first PD protocol chip is used for controlling the first output port to work at the first working power; and the second PD protocol chip is used for controlling the second output port to work at the second working power.
Optionally, in the aspect that the first operating power of the first output port and the second operating power of the second output port are determined according to the first charging parameter and the second charging parameter, the first PD protocol chip is specifically configured to:
determining the first operating power and the second operating power according to the following formula:
P 1 =P a *(S 1 /(S 1 +S 2 ))
P 2 =P a -P 1
wherein, P a Is the total power, S 1 Is a first charging parameter, S 2 Is the second charging parameter, P 1 Is the first operating power, P 2 Is the second operating power. The total power may be the maximum power of the power adapter.
It can be seen that the power adapter described in the embodiments of the present application includes: the device comprises a rectification circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a shunt switch, a first output port and a second output port, wherein the rectification circuit is respectively connected with the first adapter and the second adapter; the first adapter is connected with a first PD protocol chip, the second adapter is connected with a second PD protocol chip, the first PD protocol chip is connected with a first output port, the second PD protocol chip is connected with a second output port, the first adapter is connected with the second adapter through a shunt switch, the first PD protocol chip is connected with the second PD protocol chip, the first PD protocol chip and the second PD protocol chip are both connected with the shunt switch, the access condition of the first output port is detected, and when only the first output port is accessed into the first electric equipment, the working power of the first output port is set to be the total power; the access condition of the second output port is detected, when only the second output port is accessed into the second electrical device, the working power of the second output port is set to be the total power, on one hand, the working conditions of the first adapter and the second adapter and the access conditions of the first output port and the second output port can be informed to the other party through a communication mechanism between the first PD protocol chip and the second PD protocol chip, on the other hand, the shunt operation can be realized through a shunt switch through a PD control strategy between the first PD protocol chip and the second PD protocol chip, the charging operation can be carried out through the total power of the power adapter under the condition that the single-port output is ensured, and further, the flexibility of the PD charger with double USB-C interfaces can be improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a charging control method according to an embodiment of the present disclosure, and is applied to the power adapter shown in fig. 1 or fig. 2. As shown in fig. 3, the method comprises the steps of:
301. and detecting the access conditions of the first output port and the second output port.
The first PD protocol chip may be configured to detect an access condition of the first egress port, and the second PD protocol chip may be configured to detect an access condition of the second egress port.
302. And when only the first output port is connected to the first electric equipment, setting the working power of the first output port as the total power.
In a specific implementation, when only the first output port is connected to the first electrical device, the working power of the first output port may be set to be the total power through the first PD protocol chip. In the embodiment of the present application, the total power is the total power of the power adapter.
303. And when only the second output port is connected to second electric equipment, setting the working power of the second output port as the total power.
In a specific implementation, when only the second output port is connected to the second electrical device, the working power of the second output port may be set to be the total power through the second PD protocol chip.
Optionally, when only the first output port is connected to the first electrical device, the method may further include the following steps:
a1, acquiring a first charging parameter applied by the first electric equipment through the first PD protocol chip, wherein the first charging parameter comprises a first charging voltage and a first charging current;
a2, informing the second PD protocol chip of the first charging parameter of the first electric equipment through the first PD protocol chip;
a3, controlling the second AC-DC control chip to work according to preset working parameters through the second PD protocol chip, wherein the preset working parameters comprise working voltage and working current, the working voltage is equal to the first charging voltage, and the working current is determined by the first charging current, first charging parameters corresponding to the first output port and second charging parameters corresponding to the second output port;
and A4, carrying out shunt operation through the shunt switch.
The first PD protocol chip may communicate with the first electrical device, and further may obtain a first charging parameter of the first electrical device, where the first charging parameter may include at least one of: charging voltage, charging current, charging mode, charging power, etc., without limitation.
Wherein the first charging parameter may include at least one of: the rated voltage, the rated current, the voltage required by the electric device, the current required by the electric device, the power required by the electric device, and the like, which are not limited herein, the second charging parameter may include at least one of the following: the rated voltage, rated current, voltage required by the electric equipment, current required by the electric equipment, power required by the electric equipment, and the like, which are not limited herein. Alternatively, the first charging parameter may be a charging parameter in different modes, and the second charging parameter may also be a charging parameter in different modes, for example, the first charging parameter may include any one of the following: the charging parameter in the normal charging mode, the charging parameter in the fast charging mode, and the charging parameter in the super fast charging mode are not limited herein, and for example, the second charging parameter may include any one of the following: the charging parameters under the ordinary charging mode, the charging parameters under the fast charging mode and the charging parameters under the super fast charging mode.
In specific implementation, the charging mode corresponding to the first output port may be the same as or different from the charging mode corresponding to the second output port.
The shunt switch is used for enabling the output current of the first adapter and the output current of the second adapter to be in a certain proportion, for example, the output current of the first adapter is equal to the output current of the second adapter.
In specific implementation, a first charging parameter applied by a first electrical device may be obtained through a first PD protocol chip, the first charging parameter may include a first charging voltage and a first charging current, the first PD protocol chip may also notify a second PD protocol chip of the first charging parameter of the first electrical device, and then the second PD protocol chip controls the second AC-DC control chip to operate according to a preset working parameter, the preset working parameter may include a working voltage and a working current, the working voltage is equal to the first charging voltage, the working current is determined by the first charging current, the first charging parameter and the second charging parameter, and a specific calculation manner is as follows:
operating current = first charging current (first charging parameter/(first charging parameter + second charging parameter))
Further, a shunt operation may be performed by the shunt switch, and the shunt operation may be used to adjust a current difference between the first adapter and the second adapter.
Further, the method can also comprise the following steps:
a5, acquiring a first current value of the first adapter and a second current value of the second adapter;
a6, determining a first comparison result between the first current value and the second current value;
a7, when the first comparison result is not in a preset range, determining a target voltage regulation parameter according to the first comparison result;
and A8, adjusting the working voltage of the first AC-DC control chip according to the target adjusting parameter.
The preset range can be preset or default by the system.
Specifically, the electronic device may obtain a first current value of the first adapter through the first PD protocol chip and obtain a second current value of the second adapter through the second PD protocol chip, and may also determine a first comparison result between the first current value and the second current value, for example, the first comparison result may be a difference between the first current value and the second current value, or the first comparison result may be a ratio between the first current value and the second current value.
Further, when the first comparison result is not within the preset range, the target voltage adjustment parameter may be determined according to the first comparison result, in a specific implementation, a mapping relationship between the comparison result and the voltage adjustment parameter may be stored in the power adapter in advance, and then the target voltage adjustment parameter corresponding to the first comparison result is determined according to the mapping relationship, where the target voltage adjustment parameter may be a specific voltage adjustment value, for example, 10mV; the target voltage adjusting parameter can also be a proportionality coefficient, the value range can be-1, the voltage is decreased when-1-0, and the voltage is increased when 0-1. The target voltage adjusting parameter can be fed back to the first AC-DC control chip through the first PD protocol chip, and then the working voltage of the first AC-DC control chip is adjusted according to the target voltage adjusting parameter so as to adjust the working voltage of the first adapter to achieve the purpose of adjusting the output current of the first adapter, and further, the current relation between the first adapter and the second adapter meets the preset range.
Further, optionally, the method may include the following steps:
a9, acquiring a third current value of the first adapter and a fourth current value of the second adapter;
a10, determining a second comparison result between the third current value and the fourth current value;
and A11, when the second comparison result is in the preset range, determining that the shunting operation is successful.
In a specific implementation, a third current value of the first adapter may be obtained by the first PD protocol chip, a fourth current value of the second adapter may be obtained by the second PD protocol chip, and a second comparison result between the third current value and the fourth current value is determined, for example, the second comparison result may be a difference between the first current value and the second current value, or the second comparison result may be a ratio between the first current value and the second current value. And when the second comparison result is in the preset range, determining that the shunting operation is successful.
Further, optionally, the method may further include the following steps:
b1, when the first output port is connected to first electric equipment and the second output port is connected to second electric equipment, acquiring a first charging parameter corresponding to the first output port and a second charging parameter corresponding to the second output port;
b2, determining a first working power of the first output port and a second working power of the second output port according to the first charging parameter and the second charging parameter, wherein the sum of the first working power and the second working power is the total power of the power adapter;
b3, controlling the first output port to work at the first working power;
and B4, controlling the second output port to work at the second working power.
Specifically, when the first output port is connected to the first electrical device and the second output port is connected to the second electrical device, the first charging parameter corresponding to the first output port is obtained through the first PD protocol chip, the second charging parameter corresponding to the second output port is obtained through the second PD protocol chip, the first working power of the first output port and the second working power of the output port are determined according to the first charging parameter and the second charging parameter through the first PD protocol chip or the second PD protocol chip, and the sum of the first working power and the second working power is the total power of the power adapter, so that the first output port is controlled to work at the first working power, and the second output port is controlled to work at the second working power.
Optionally, in the step B2, determining the first operating power of the first output port and the second operating power of the second output port according to the first charging parameter and the second charging parameter may be implemented as follows:
determining the first operating power and the second operating power according to the following formula:
P 1 =P a *(S 1 /(S 1 +S 2 ))
P 2 =P a -P 1
wherein, P a Is the total power, S 1 Is a first charging parameter, S 2 Is the second charging parameter, P 1 Is a first operating power, P 2 Is the second operating power.
In a specific implementation, when the first adapter and the second adapter are adapters with the same function and structure, then P is 1 =P 2 The first working power and the second working power are both half of the total power. Under the condition, the parallel shunt technology provided by the embodiment of the application adopts a digital control mode to realize the shunt of the two-way AC-DC power converter. The current output by each power part can be basically consistent, and thus the shunting effect is achieved.
According to the embodiment of the application, the parallel shunt technology is introduced, so that under the condition that the hardware cost is not increased, the double-USB PD application adapter can realize shunt of a double-path AC-DC converter under the condition of single-port application, and meanwhile, the maximum power of equipment can be output under the condition of single-port access.
It can be seen that, in the charging control method described in the embodiment of the present application, on one hand, through a communication mechanism between the first PD protocol chip and the second PD protocol chip, the working conditions of the first adapter and the second adapter and the access conditions of the first output port and the second output port can be notified to each other, and on the other hand, a PD control policy between the first PD protocol chip and the second PD protocol chip can be used to implement a shunt operation through the shunt switch, so that the charging operation can be performed with the total power of the power adapter under the condition of ensuring single-port output, and further, the flexibility of a PD charger with dual USB-C interfaces can be improved.
In this embodiment of the application, since the first output port is any output port in the power adapter, similarly, when only the second output port is accessed to the second electrical device, the specific control policy may refer to the related description of the control policy when only the first output port is accessed to the first electrical device, and is not described herein again.
For example, as shown in fig. 4, under the condition that the first adapter and the second adapter have the same structure, a current sharing effect may be achieved, and the embodiment of the present application may be implemented according to the following steps:
s1, initializing a USB PD control strategy after power-on.
And S2, judging the double-port access state in the current state, and judging whether the double ports are accessed simultaneously. And if the access is carried out at the same time, executing the step S6, otherwise, executing the step S3.
And S3, judging whether the first output port is accessed, if so, executing the step S4, and otherwise, executing the step S5.
And S4, setting the output power of the first output port as P, and executing the step S7.
And S5, setting the output power of the second output port as P, and executing the step S7.
S6, under the condition that both ports are accessed, the output powers of the first output port and the second output port are set to be P/2 respectively. Step 15 is performed.
And S7, acquiring the charging voltage V and the charging current A applied by the electric equipment. Step S8 is performed.
And S8, the access port side informs the non-access port of the voltage V and the current value A applied by the current equipment through the current sharing communication interface. Step S9 is performed.
And S9, after the voltage V and the current A applied by the electric equipment are acquired by the access terminal interface and the non-access terminal interface, the output voltage V of the INNO3PRO is set through the I2C interface, and meanwhile, the output constant current value is set to be A/2. Step S10 is performed.
And S10, turning on a current-sharing MOS (shunt switch) and starting to share current in parallel. Step S11 is performed.
And S11, after current sharing is started, the current sharing communication port informs the opposite side of the current value and the voltage value of the current port in real time. Step S12 is performed.
And S12, judging whether the current value is equal to the current value of the opposite equipment or not. If equal, step 14 is performed, otherwise, step S13 is performed.
And S13, adjusting the current-sharing voltage and current. The process compares the current values of the current port and the opposite port, and reduces the voltage of the current output port by 10mV if the current value is larger than the current value of the opposite port; otherwise, the current of the current port is smaller than that of the opposite port, and the voltage of the current port is increased by 10mV. And judging whether the current is equal to the current of the opposite port, if so, executing a step S14, otherwise, continuing to execute a step S13.
S14, current sharing is successful, and in the state, the software sets a current sharing mark. State S15 is executed.
S15, idle (Idle) state, in which a flow is marked to end. Execution continues from step S1.
In the embodiment of the application, a digital parallel current sharing technology is adopted, and the introduction of the current sharing technology can effectively solve the problem that the whole power of the whole machine cannot be output under the condition of a single port on the aspect of a control strategy. The maximum power output by the equipment under the single-port application is greatly improved.
For example, as shown in fig. 5, fig. 5 is a schematic structural diagram of a power adapter with dual USB ports in the related art, and as shown in table 1, the power adapter in the related art is a strategy for power distribution that can be implemented in the related art. The power allocation in the related art is not intelligent and flexible enough. Two-way AC-DC converter fixed output power P MAX 2, when the single port is inserted, the total output power is only P MAX And 2, only half of the total power provided by the equipment cannot be fully utilized, and the power part cannot be adjusted in real time, so that certain limitation exists in application. The control strategy provided by the application is shown in table 2, and the output power of the output port is distributed in real time according to the access and extraction states of the first output port and the second output port. When the single port is accessed, the output power is P MAX When the dual ports are accessed simultaneously, the output power of the dual ports is P MAX /2. Compared with the prior art, the application scheme has the characteristics that the output power can be adjusted in real time, the control strategy provided by the embodiment of the application can double the output power during single-port application, and the maximum power which can be output by the equipment can be provided under any application scene. The defect that the power of the equipment cannot be effectively utilized in the related art can be overcome.
TABLE 1 related art Power distribution strategy
Figure BDA0003314387140000141
Table 2 multi-port power allocation strategy in this embodiment of the present application
Figure BDA0003314387140000142
Figure BDA0003314387140000151
In the embodiment of the application, a digital parallel current sharing technology is adopted, so that the defect that the output power cannot be flexibly adjusted in the related technology is overcome in the aspect of control strategy, and meanwhile, the problem that the whole power of the whole machine cannot be output under the condition of a single port can be effectively solved by introducing the current sharing technology. The maximum power output by the equipment under the single-port application is greatly improved.
In specific implementation, the power adapter may also include more than two adapters, each adapter may correspond to one output port, and the specific control strategy may refer to the situation of the 2 output ports, which is not described herein again.
Embodiments of the present application also provide an electronic device, which may include a power adapter as described in fig. 1 or fig. 2, for example, the electronic device may be a charger or a charger. The electronic device may also be used to execute the charging control method as shown in fig. 3 or fig. 4.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute a part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a power adapter. The power adapter may further comprise a memory for storing the computer program described above.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods as set out in the above method embodiments. The computer program product may be a software installation package, the computer comprising a power adapter.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the above-described units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above methods of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A power adapter, comprising: a rectification circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a shunt switch, a first output port and a second output port,
the rectifying circuit is respectively connected with the first adapter and the second adapter; the first adapter is connected with the first PD protocol chip; the second adapter is connected with the second PD protocol chip; the first PD protocol chip is connected with the first output port; the second PD protocol chip is connected with the second output port; the first adapter is connected with the second adapter through the shunt switch; the first PD protocol chip is connected with the second PD protocol chip; the first PD protocol chip and the second PD protocol chip are both connected with the shunt switch;
the first PD protocol chip is used for detecting the access condition of the first output port; when the first output port is connected to first electric equipment, setting the working power of the first output port as the total power;
the second PD protocol chip is configured to detect an access condition of the second output port; and when the second output port is connected to second electric equipment, setting the working power of the second output port to be the total power.
2. The power adapter as claimed in claim 1, wherein the first adapter comprises: the power supply comprises a first AC-DC control chip, a first main power switch circuit, a first high-frequency transformer and a first rectification module, wherein the first main power switch circuit is connected with the rectification circuit, the first AC-DC control chip and the first high-frequency transformer, the first high-frequency transformer is connected with the first rectification module, the first rectification module is connected with the first PD protocol chip, and the first PD protocol chip is connected with the first AC-DC control chip.
3. The power adapter as claimed in claim 2, wherein the second adapter comprises: the second AC-DC control chip, a second main power switch circuit, a second high-frequency transformer and a second rectification module, wherein the second main power switch circuit is connected with the rectification circuit, the second AC-DC control chip and the second high-frequency transformer, the second high-frequency transformer is connected with the second rectification module, the second rectification module is connected with the second PD protocol chip, and the second PD protocol chip is connected with the second AC-DC control chip.
4. The power adapter as claimed in any one of claims 1 to 3 wherein, when only the first outlet is connected to the first electrical device;
the first PD protocol chip is used for acquiring a first charging parameter applied by the first electric equipment, and the first charging parameter comprises a first charging voltage and a first charging current;
the first PD protocol chip is configured to notify the second PD protocol chip of the first charging parameter of the first powered device;
the second PD protocol chip is configured to control the second AC-DC control chip to operate according to a preset operating parameter, where the preset operating parameter includes an operating voltage and an operating current, the operating voltage is equal to the first charging voltage, and the operating current is determined by the first charging current, a first charging parameter corresponding to the first output port, and a second charging parameter corresponding to the second output port;
and the shunt switch is used for performing shunt operation.
5. The power adapter as recited in claim 4,
the first adapter is used for acquiring a first current value output by the first adapter;
the second adapter is used for acquiring a second current value output by the second adapter;
the first PD protocol chip is used for a first comparison result between the first current value and the second current value; when the first comparison result is not in a preset range, determining a target voltage adjusting parameter according to the first comparison result;
and the first AC-DC control chip is used for adjusting the working voltage of the first AC-DC control chip according to the target voltage adjusting parameter.
6. The power adapter as recited in claim 5 wherein when the first outlet is coupled to a first electrical device and the second outlet is coupled to a second electrical device;
the first PD protocol chip is used for acquiring a first charging parameter corresponding to the first output port;
the second PD protocol chip is configured to obtain a second charging parameter corresponding to the second output port;
the first PD protocol chip is configured to determine, according to the first charging parameter and the second charging parameter, a first operating power of the first output port and a second operating power of the second output port, where a sum of the first operating power and the second operating power is a total power of the power adapter;
the first PD protocol chip is used for controlling the first output port to work at the first working power;
and the second PD protocol chip is used for controlling the second output port to work at the second working power.
7. The power adapter as claimed in claim 6, wherein in the aspect of determining the first operating power of the first outlet and the second operating power of the second outlet according to the first charging parameter and the second charging parameter, the first PD protocol chip is specifically configured to:
determining the first operating power and the second operating power according to the following formula:
P 1 =P a *(S 1 /(S 1 +S 2 ))
P 2 =P a -P 1
wherein, P a Is the total power, S 1 Is a first charging parameter, S 2 Is the second charging parameter, P 1 Is a first operating power, P 2 Is the second operating power.
8. A charging control method applied to the power adapter according to any one of claims 1 to 7, the method comprising:
detecting the access conditions of the first output port and the second output port;
when only the first output port is connected to the first electric equipment, setting the working power of the first output port as the total power;
and when only the second output port is connected to second electric equipment, setting the working power of the second output port as the total power.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method of claim 8.
10. A computer program product, characterized in that the computer program product causes a computer to perform the method as claimed in claim 8.
CN202111226126.7A 2021-07-23 2021-07-23 Power adapter, charging control method, and related medium and program product Pending CN115693877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111226126.7A CN115693877A (en) 2021-07-23 2021-07-23 Power adapter, charging control method, and related medium and program product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111226126.7A CN115693877A (en) 2021-07-23 2021-07-23 Power adapter, charging control method, and related medium and program product
CN202110839217.1A CN113285517B (en) 2021-07-23 2021-07-23 Power adapter and charging control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202110839217.1A Division CN113285517B (en) 2021-07-23 2021-07-23 Power adapter and charging control method

Publications (1)

Publication Number Publication Date
CN115693877A true CN115693877A (en) 2023-02-03

Family

ID=77287191

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110839217.1A Active CN113285517B (en) 2021-07-23 2021-07-23 Power adapter and charging control method
CN202111226126.7A Pending CN115693877A (en) 2021-07-23 2021-07-23 Power adapter, charging control method, and related medium and program product

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110839217.1A Active CN113285517B (en) 2021-07-23 2021-07-23 Power adapter and charging control method

Country Status (2)

Country Link
CN (2) CN113285517B (en)
WO (1) WO2023000814A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113285517B (en) * 2021-07-23 2021-10-01 深圳英集芯科技股份有限公司 Power adapter and charging control method
CN116632953A (en) * 2022-02-11 2023-08-22 深圳英集芯科技股份有限公司 Adapter device and related electronic device
CN114614552B (en) * 2022-05-11 2022-08-26 深圳市微源半导体股份有限公司 Charging voltage control method, device, equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7453171B2 (en) * 2004-01-15 2008-11-18 Comarco Wireless Technologies, Inc DC power source determination circuitry for use with an adapter
TWI487234B (en) * 2011-03-23 2015-06-01 Aopen Inc Power management device
CN106972736B (en) * 2017-05-26 2023-06-30 深圳市乐得瑞科技有限公司 Power supply adapting device, control method and device
CN208461525U (en) * 2017-12-29 2019-02-01 施耐德电气(澳大利亚)有限公司 Charger
CN111404399B (en) * 2019-01-03 2021-11-02 台达电子工业股份有限公司 Power supply system
CN110380489A (en) * 2019-08-08 2019-10-25 珠海英集芯半导体有限公司 A kind of fast charge circuit that can automatically adjust power and method
CN110994960A (en) * 2019-12-06 2020-04-10 苏州浪潮智能科技有限公司 Power supply circuit and current sharing method
CN111628537B (en) * 2020-04-24 2022-07-29 杭州士兰微电子股份有限公司 Multi-path charging circuit and protocol control module and control method thereof
CN113285517B (en) * 2021-07-23 2021-10-01 深圳英集芯科技股份有限公司 Power adapter and charging control method

Also Published As

Publication number Publication date
WO2023000814A1 (en) 2023-01-26
CN113285517B (en) 2021-10-01
CN113285517A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN113285517B (en) Power adapter and charging control method
WO2022068802A1 (en) Charger, and charging control method and apparatus
JP6516380B2 (en) Charging method, mobile device, charging device, and charging system
CN108604859B (en) System and method for providing output power
US11398741B2 (en) Charging device and a charging method thereof
US10411490B2 (en) Voltage regulator systems configured to control input voltage
WO2018127105A1 (en) Charging and mutual charging apparatus for combined intelligent devices, and charging method
CN106849270A (en) Terminal and charging method
CN111917152B (en) Method for improving power efficiency, terminal, storage medium and charging device
WO2019242020A1 (en) Charging device, mobile terminal, and charging control method
CN112260348B (en) Charging control circuit and charging equipment
WO2019033033A1 (en) Systems for battery charging using a wireless charging signal
CN107979474A (en) The network equipment and method of supplying power to
CN210074886U (en) High integration linear charging voltage stabilizing circuit and charging circuit for low power device
US11880253B2 (en) Smartphone and add-on device power delivery system
WO2022007668A1 (en) Power supply apparatus and charging control method
EP3258567B1 (en) Self-loop detection method and apparatus for charging device
CN209963779U (en) Power adapter
CN208985101U (en) A kind of expanded circuit and its expanding unit of power supply adaptor
CN111106633A (en) Mobile power supply and charging method thereof
CN211183781U (en) Power adapter
CN215498357U (en) Quick charging circuit, quick charging circuit framework and terminal equipment
EP4120539A1 (en) Power conversion device and charging control method
CN115053201B (en) Smart phone and additional equipment power supply system
CN220586025U (en) Power distribution circuit and power supply equipment with same

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