WO2023000814A1 - Power adapter and charging control method - Google Patents

Power adapter and charging control method Download PDF

Info

Publication number
WO2023000814A1
WO2023000814A1 PCT/CN2022/095252 CN2022095252W WO2023000814A1 WO 2023000814 A1 WO2023000814 A1 WO 2023000814A1 CN 2022095252 W CN2022095252 W CN 2022095252W WO 2023000814 A1 WO2023000814 A1 WO 2023000814A1
Authority
WO
WIPO (PCT)
Prior art keywords
output port
power
adapter
protocol chip
charging
Prior art date
Application number
PCT/CN2022/095252
Other languages
French (fr)
Chinese (zh)
Inventor
黄锦赞
汤厚涛
Original Assignee
深圳英集芯科技股份有限公司
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 深圳英集芯科技股份有限公司 filed Critical 深圳英集芯科技股份有限公司
Publication of WO2023000814A1 publication Critical patent/WO2023000814A1/en

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

Definitions

  • the present application relates to the field of electronic technology, in particular to a power adapter and a charging control method.
  • USB power delivery USB PD
  • USB PD USB power delivery
  • USB PD USB power delivery
  • the application demand for multi-USB interface charging equipment is also increasing.
  • the most typical application is the PD charger with dual USB-C interfaces.
  • Traditional dual USB-C interface PD chargers usually use a dual-channel transformer solution. Each transformer independently controls one USB PD power output, and its power control is not flexible enough. Therefore, how to improve the dual USB-C interface PD charger The problem of flexibility needs to be solved urgently.
  • Embodiments of the present application provide a power adapter and a charging control method, which can improve the flexibility of a PD charger with dual USB-C interfaces.
  • an embodiment of the present application provides a power adapter, the power adapter includes: a rectifier circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a shunt switch, and a first output port , the second output port, where,
  • the rectification circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip; the second adapter is connected to the second PD protocol chip; A PD protocol chip is connected to the first output port; the second PD protocol chip is connected to the second output port; the first adapter is connected to the second adapter through the shunt switch; the first PD protocol The chip is connected to the second PD protocol chip; both the first PD protocol chip and the second PD protocol chip are connected to the shunt switch.
  • the embodiment of the present application provides a charging control method, which is applied to the power adapter as described in the first aspect, and the method includes:
  • the working power of the first output port is set as the total power
  • the working power of the second output port is set as the total power.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured by the above Executed by a processor, the above program includes instructions for executing the steps in the second aspect of the embodiments of the present application, or, the electronic device includes the power adapter.
  • the embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the computer to execute Some or all of the steps described in one aspect.
  • the embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the program as implemented in the present application. Some or all of the steps described in the first aspect.
  • the computer program product may be a software installation package.
  • the power adapter described in the embodiment of this application includes: a rectifier 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 rectifier circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip, the second adapter is connected to the second PD protocol chip, the first PD protocol chip is connected to the first output port, and the second The PD protocol chip is connected to the second output port, the first adapter is connected to the second adapter through the shunt switch, the first PD protocol chip is connected to the second PD protocol chip, the first PD protocol chip and the second PD protocol chip are both connected to the shunt switch, and the second PD protocol chip is detected.
  • the access situation of the first output port when only the first output port is connected to the first electrical equipment, set the working power of the first output port as the total power, and detect the access status of the second output port, and when only the second output port is connected
  • the port is connected to the second electrical device, set the working power of the second output port as the total power.
  • the first adapter through the communication mechanism between the first PD protocol chip and the second PD protocol chip, the first adapter, Inform the other party of the working status of the second adapter and the access conditions of the first output port and the second output port.
  • the PD control strategy between the first PD protocol chip and the second PD protocol chip can be used to pass the shunt
  • the switch realizes the shunt operation to ensure that the single-port output can be charged with the total power of the power adapter, which in turn can improve the flexibility of the PD charger with dual USB-C ports.
  • 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 provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a charging control method provided in an embodiment of the present application.
  • Fig. 4 is a schematic flowchart of another charging control method provided by the embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of another power adapter provided by an embodiment of the present application.
  • Figure 1 is a schematic structural diagram of a power adapter provided by an embodiment of the present application, the power adapter includes: a rectifier circuit, a first adapter, a second adapter, a first PD protocol chip, and a second PD protocol chip , shunt switch, first output port, second output port, wherein,
  • the rectification circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip; the second adapter is connected to the second PD protocol chip; A PD protocol chip is connected to the first output port; the second PD protocol chip is connected to the second output port; the first adapter is connected to the second adapter through the shunt switch; the first PD protocol The chip is connected to the second PD protocol chip; both the first PD protocol chip and the second PD protocol chip are connected to the shunt switch.
  • the rectification circuit may be electromagnetic interference (EMI) filtering and bridge rectification, and the rectification circuit may be connected to an external power supply, for example, the conversion of alternating current to direct current may be realized through the rectification circuit.
  • the external power supply can be AC/DC power supply, DC/DC power supply, regulated power supply, communication power supply, module power supply, variable frequency power supply, inverter power supply, AC regulated power supply, DC regulated power supply, etc. limited.
  • the first output port is used to connect the first USB data line, and the first USB data line is used to connect the first electric equipment; the second output port is used to connect the second USB data line, and the second USB data line is used to connect Second electrical equipment.
  • both the first power-consuming device and the second power-consuming device may include, but are not limited to: smartphones, tablet computers, smart robots, smart elevators, vehicle-mounted devices, wearable devices, smart home devices, computing devices, or connected to wireless modems Other processing equipment, as well as various forms of user equipment (user equipment, UE), mobile station (mobile station, MS), terminal equipment (terminal device) and so on.
  • the first power-consuming device can be understood as any device connected to the first outlet for charging
  • the second power-consuming device can be understood as any device connected to the second outlet for charging.
  • the first PD protocol chip is used to obtain the first charging parameter of the first electric device through the first output port, and the first charging parameter may include at least one of the following: charging voltage, charging current, charging mode, charging power, etc. , is not limited here.
  • the first PD protocol chip can be used to detect whether the first output port is connected to the first electric device.
  • the first PD protocol chip can be connected to the first output port through the pins CC1 and CC2.
  • the second PD protocol chip is used to obtain the second charging parameter of the second electric device through the second output port, and the second charging parameter may include at least one of the following: charging voltage, charging current, charging mode, charging power, etc. , is not limited here.
  • the second PD protocol chip can be used to detect whether the second output port is connected to the second electric device.
  • the second PD protocol chip is connected to the second output port through the pins CC1 and CC2.
  • the first PD protocol chip can also communicate with the second PD protocol chip through the offload communication interface.
  • the first PD protocol chip can inform the second PD protocol chip of the charging parameters applied by the first electric device, and the second PD protocol chip can also inform the first PD protocol chip of the charging parameters applied by the second electric device.
  • the first PD protocol chip can obtain output parameters of the first adapter, where the output parameters include output voltage values and/or output current values.
  • the second PD protocol chip can obtain output parameters of the second adapter, where the output parameters include output voltage values and/or output current values.
  • the first PD protocol chip and the second PD protocol chip can adjust the operating voltage or operating current of the first adapter or the second adapter through a preset PD control strategy.
  • the above current distribution communication interface implements the current sharing function, it may also be referred to as a current sharing communication interface.
  • the shunt switch can be used to adjust the working current of the first adapter and the second adapter.
  • the shunt switch can be made of MOS transistors.
  • first adapter and the second adapter may be the same or different; the function of the first output port may be the same as that of the second output port, or different.
  • FIG. 2 is another schematic structural diagram of a power adapter provided by an embodiment of the present application, wherein,
  • the first adapter may include: a first AC-DC control chip, a first main power switch circuit, a first high-frequency transformer, and a first rectifier module, wherein the first main power switch circuit is connected to the rectifier circuit, The first AC-DC control chip and the first high-frequency transformer, the first high-frequency transformer is connected to the first rectification module, the first rectification module is connected to the first PD protocol chip, the The first PD protocol chip is connected to the first AC-DC control chip.
  • the first PD protocol chip communicates with the first AC-DC control chip through the I2C communication interface, and the first PD protocol chip is used to set the working parameters of the first AC-DC control chip, and the working parameters may include at least one of the following : Working voltage, working current, working power, etc. are not limited here.
  • the first PD protocol chip can also obtain the current value of the first adapter.
  • the power adapter further includes a first switch, wherein the first rectification module is connected to the first switch, and the first switch is connected to the first PD protocol chip and the first output port.
  • the first switch can be a MOS tube.
  • the first switch is used to realize that under the default condition of the C port, no voltage is output.
  • the SINK terminal access of the first output port is detected, Only when the first switch is turned on, the voltage of 5V is output.
  • the second adapter includes: a second AC-DC control chip, a second main power switch circuit, a second high-frequency transformer, and a second rectifier module, wherein the second main power switch circuit is connected to the A rectifier circuit, the second AC-DC control chip, and the second high-frequency transformer, the second high-frequency transformer is connected to the second rectifier module, and the second rectifier module is connected to the second PD protocol chip , the second PD protocol chip is connected to the second AC-DC control chip.
  • the second PD protocol chip communicates with the second AC-DC control chip through the I2C communication interface, and the second PD protocol chip is used to set the working parameters of the second AC-DC control chip, and the working parameters may include at least one of the following : Working voltage, working current, working power, etc. are not limited here.
  • the second PD protocol chip can also obtain the current value of the second adapter.
  • the power adapter further includes a second switch, wherein,
  • the second rectification module is connected to the second switch, and the second switch is connected to the second PD protocol chip and the second output port.
  • the second switch can be a MOS tube.
  • the second switch is used to realize that under the default condition of the C port, no voltage is output.
  • the second switch is turned on to output 5V voltage.
  • the first rectification module is connected to the shunt switch, and the second rectification module is connected to the shunt switch.
  • the first rectification module is used for filtering and rectifying the output current of the first adapter.
  • the second rectification module is used for filtering and rectifying the output current of the second adapter.
  • the shunt switch can know the output current of the first adapter and the output current of the second adapter.
  • the shunt switch can be composed of 2 MOS transistors, and the 2 MOS transistors can be used to adjust the current of the first adapter and the second adapter respectively, and realize the current sharing function when the currents of the first adapter and the second adapter are almost equal.
  • both the first PD protocol chip and the second PD protocol chip can be built-in microcontroller unit (microcontroller unit, MCU) type protocol integrated circuit (integrated circuit, IC) of model IP2726, IP2723T, IP2712, INNO3PRO, etc. It can be other types of system-on-chip (SOC).
  • microcontroller unit microcontroller unit, MCU
  • integrated circuit integrated circuit, IC
  • SOC system-on-chip
  • the first PD protocol chip is used to detect the access of the first output port; when only the first output port is connected to the first electrical device, the working power of the first output port is set to total power;
  • the second PD protocol chip is used to detect the access of the second output port; when only the second output port is connected to the second electrical device, the working power of the second output port is set to the total power.
  • the first PD protocol chip is configured to obtain a first charging parameter applied by the first electric device, where the first charging parameter includes 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 electric device
  • the second PD protocol chip is used to control the second AC-DC control chip to work with preset working parameters, the preset working parameters include working voltage and working current, the working voltage and the first The charging voltages are equal, and the operating current is determined by the first charging current, the first charging parameter corresponding to the first output port, and the second charging parameter corresponding to the second output port;
  • the shunt switch is used for shunting operation.
  • the first adapter is configured to obtain a first current value output by the first adapter; the second adapter is configured to obtain a second current value output by the second adapter; the first PD protocol chip, used for the first comparison result between the first current value and the second current value; and when the first comparison result is not in the preset range, determine according to the first comparison result A target voltage adjustment parameter; the first AC-DC control chip is configured to adjust the operating voltage of the first AC-DC control chip according to the target voltage adjustment parameter.
  • the first adapter is configured to acquire a third current value of the first adapter; the second adapter is configured to acquire a fourth current value of the second adapter; the first PD protocol A chip configured to determine a second comparison result between the third current value and the fourth current value; and determine that the shunt operation is successful when the second comparison result is within the preset range.
  • the first PD protocol chip is used to obtain the first output the first charging parameter corresponding to the port; the second PD protocol chip is used to obtain the second charging parameter corresponding to the second output port; the first PD protocol chip is used to obtain the second charging parameter corresponding to the second output port;
  • the second charging parameter determines the first working power of the first outlet and the second working power of the second outlet, and the sum of the first working power and the second working power is the power supply
  • the total power of the adapter; the first PD protocol chip is used to control the first output port to work with the first working power; the second PD protocol chip is used to control the second output port to work with the The second working power works.
  • the first A PD protocol chip is specifically used for:
  • the first working power and the second working power are determined according to the following formula:
  • P a is the total power
  • S 1 is the first charging parameter
  • S 2 is the second charging parameter
  • P 1 is the first working power
  • P 2 is the second working power.
  • the total power may be the maximum power of the power adapter.
  • the power adapter described in the embodiment of this application includes: a rectifier 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 rectifier circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip, the second adapter is connected to the second PD protocol chip, the first PD protocol chip is connected to the first output port, and the second The PD protocol chip is connected to the second output port, the first adapter is connected to the second adapter through the shunt switch, the first PD protocol chip is connected to the second PD protocol chip, the first PD protocol chip and the second PD protocol chip are both connected to the shunt switch, and the second PD protocol chip is detected.
  • the access situation of the first output port when only the first output port is connected to the first electrical equipment, set the working power of the first output port as the total power; detect the access status of the second output port, When the port is connected to the second electrical device, set the working power of the second output port as the total power.
  • the first adapter through the communication mechanism between the first PD protocol chip and the second PD protocol chip, the first adapter, Inform the other party of the working status of the second adapter and the access conditions of the first output port and the second output port.
  • the PD control strategy between the first PD protocol chip and the second PD protocol chip can be used to pass the shunt
  • the switch realizes the shunt operation to ensure that the single-port output can be charged with the total power of the power adapter, which in turn can improve the flexibility of the PD charger with dual USB-C ports.
  • FIG. 3 is a schematic flowchart of a charging control method provided by an embodiment of the present application, which is applied to the power adapter shown in FIG. 1 or FIG. 2 . As shown in Figure 3, the method includes the following steps:
  • the first PD protocol chip can be used to detect the connection status of the first output port
  • the second PD protocol chip can be used to detect the connection status of the second output port
  • the working power of the first output port can be set as the total power through the first PD protocol chip.
  • the total power is the total power of the power adapter.
  • the working power of the second output port can be set as the total power through the second PD protocol chip.
  • the first charging parameters requested by the first electric device through the first PD protocol chip include a first charging voltage and a first charging current
  • the preset working parameters include working voltage and working current, and the working voltage and the first The charging voltages are equal, and the operating current is determined by the first charging current, the first charging parameter corresponding to the first output port, and the second charging parameter corresponding to the second output port;
  • the first PD protocol chip can communicate with the first electric device, and then, can obtain the first charging parameter of the first electric device, and the first charging parameter can include at least one of the following: charging voltage, charging Current, charging mode, charging power, etc. are not limited here.
  • the first charging parameter may include at least one of the following: rated voltage, rated current, voltage required by electrical equipment, current required by electrical equipment, power required by electrical equipment, etc., which are not limited here.
  • the charging parameters may include at least one of the following: rated voltage, rated current, voltage required by the electrical device, current required by the electrical device, power required by the electrical device, etc., which are not limited herein.
  • the first charging parameter may be a charging parameter in a different mode
  • the second charging parameter may also be a charging parameter in a different mode.
  • the first charging parameter may include any of the following: charging parameters in a normal charging mode, The charging parameters in the fast charging mode and the charging parameters in the super fast charging mode are not limited here.
  • the second charging parameters can include any of the following: charging parameters in the normal charging mode, charging in the fast charging mode parameters, charging parameters in super fast charging mode.
  • the charging mode corresponding to the first outlet may be the same as or different from the charging mode corresponding to the second outlet.
  • the shunt switch is used to achieve a certain ratio between the output current of the first adapter and the output current of the second adapter, for example, the output current of the first adapter is equal to the output current of the second adapter.
  • the first charging parameter applied by the first electric device can be obtained through the first PD protocol chip.
  • the first charging parameter can include the first charging voltage and the first charging current, and the first PD protocol chip can also be used to notify the first charging parameter
  • the second PD protocol chip controls the second AC-DC control chip to work with preset working parameters, which can include 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, the first charging parameter and the second charging parameter, and the specific calculation method is as follows:
  • Working current first charging current * (first charging parameter / (first charging parameter + second charging parameter))
  • the shunt operation can be performed through the shunt switch, and the shunt operation can be used to adjust the current difference between the first adapter and the second adapter.
  • A6 Determine a first comparison result between the first current value and the second current value
  • A8 Adjust the working voltage of the first AC-DC control chip according to the target adjustment parameter.
  • the preset range may be preset or defaulted by the system.
  • the electronic device can obtain the first current value of the first adapter through the first PD protocol chip, and obtain the second current value of the second adapter through the second PD protocol chip, and can also determine the first current value and the second current value
  • the first comparison result between values for example, the first comparison result can be the difference between the first current value and the second current value, or the first comparison result can be the difference between the first current value and the second current value ratio between.
  • the target voltage adjustment parameter can be determined according to the first comparison result.
  • the mapping relationship between the comparison result and the voltage adjustment parameter can be pre-stored in the power adapter, and then Determine the target voltage adjustment parameter corresponding to the first comparison result according to the mapping relationship.
  • the target voltage adjustment parameter can be a specific voltage adjustment value, for example, 10mV; the target voltage adjustment parameter can also be a proportional coefficient, and the value range can be -1 ⁇ 1 Between -1 and 0 is to lower the voltage, and between 0 and 1 is to increase the voltage.
  • the target voltage adjustment parameter can be fed back to the first AC-DC control chip through the first PD protocol chip, and the operating voltage of the first AC-DC control chip is adjusted according to the target voltage adjustment parameter to adjust the operating voltage of the first adapter to achieve regulation
  • the purpose of the output current of the first adapter is to make the current relationship between the first adapter and the second adapter satisfy a preset range.
  • A10 Determine a second comparison result between the third current value and the fourth current value
  • the third current value of the first adapter can be obtained through the first PD protocol chip
  • the fourth current value of the second adapter can be obtained through the second PD protocol chip, and then the difference between the third current value and the fourth current value can be determined.
  • the second comparison result can be the difference between the first current value and the second current value
  • the second comparison result can be the difference between the first current value and the second current value ratio.
  • B2. Determine 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, the first operating power and the The sum of the second working power is the total power of the power adapter;
  • the first charging parameter corresponding to the first output port can be obtained through the first PD protocol chip, and the first charging parameter corresponding to the first output port can be obtained through the The second PD protocol chip obtains the second charging parameter corresponding to the second output port, and then the first working of the first output port can be determined according to the first charging parameter and the second charging parameter through the first PD protocol chip or the second PD protocol chip power and the second working power of the output port, the sum of the first working power and the second working power is the total power of the power adapter, and then, the first output port is controlled to work at the first working power, and the second output port is controlled to work at the first working power. Two working power to work.
  • 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 as follows way to implement:
  • the first working power and the second working power are determined according to the following formula:
  • P a is the total power
  • S 1 is the first charging parameter
  • S 2 is the second charging parameter
  • P 1 is the first working power
  • P 2 is the second working power.
  • the parallel shunt technology proposed in the embodiment of the present application adopts a digital control method to realize the shunt of two AC-DC power converters. It can make the output current of each power part basically consistent, so as to achieve the effect of shunting.
  • the parallel shunt technology is introduced, so that without increasing the hardware cost, the dual USB PD application adapter can realize the shunt of the dual-channel AC-DC converter in the case of single-port application, and at the same time can output in the case of single-port access.
  • the maximum power of the device in addition, also improves the efficiency of single-port output.
  • only one-stage power converter is used to realize the total power for charging.
  • the charging control method described in the embodiment of the present application through the communication mechanism between the first PD protocol chip and the second PD protocol chip, can realize the working status of the first adapter and the second adapter And inform the other party of the access status of the first output port and the second output port.
  • the PD control strategy between the first PD protocol chip and the second PD protocol chip can be used to realize the shunt operation through the shunt switch, ensuring In the case of single-port output, the charging operation can be performed with the total power of the power adapter, which in turn can improve the flexibility of the PD charger with dual USB-C ports.
  • the specific control strategy can refer to the The relevant description of the control strategy when an output port is connected to the first electric device will not be repeated here.
  • step S3 Judging whether the first outlet is connected, if connected, execute step S4, otherwise execute step S5.
  • step S11 After the current sharing starts, the current sharing communication port notifies the other party in real time of the real-time current value and voltage value of the current port. Execute step S12.
  • step S13 Adjusting the current sharing voltage and current sharing phases. This process compares the current value of the current port with that of the opposite port. If the current current is greater than the current of the opposite port, the voltage of the current output port is reduced by 10mV; otherwise, the current of the current port is lower than the current of the opposite port, and the voltage of the current port is increased by 10mV. It is judged whether the current current is equal to the current of the opposite port, if they are equal, execute step S14, otherwise continue to execute step S13.
  • step S15 Idle (Idle) state. In this state, it marks the end of a process. Continue to execute from step S1.
  • the digital parallel current sharing technology is adopted. From the control strategy, the introduction of the current sharing technology can effectively solve the problem that the whole machine cannot output all the power in the case of a single port. The maximum output power of the device under single-port application is greatly improved.
  • FIG. 5 is a schematic structural diagram of a power adapter with dual USB ports in the related art.
  • Table 1 it is a strategy for power allocation that can be realized in the related art.
  • the power distribution in the related art is not intelligent and flexible enough.
  • the two-way AC-DC converter has a fixed output power P MAX /2. When a single port is plugged in, the total output power is only P MAX /2, which is only half of the total power provided by the device, which cannot make full use of the power provided by the device, and its power Some cannot be adjusted in real time, and there are certain limitations in the application.
  • the control strategy proposed in this application is shown in Table 2, and the output power of the output ports is allocated in real time according to the connection and withdrawal states of the first output port and the second output port.
  • the output power is P MAX
  • the output power of the two ports is P MAX /2 respectively.
  • the control strategy provided by the embodiment of this application can double the output power in a single-port application. In any application scenario, it can provide the maximum output power of the device. .
  • the invention can solve the defect that the device power cannot be effectively utilized in the related art.
  • the digital parallel current sharing technology is adopted. From the control strategy, the shortcoming of the inability to flexibly adjust the output power in the related technology is solved. All power issues. The maximum output power of the device under single-port application is greatly improved.
  • the power adapter may also include more than two adapters, and each adapter may correspond to one output port.
  • the specific control strategy may refer to the situation of the above two output ports, which will not be repeated here.
  • An embodiment of the present application also provides 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 power bank or a charger.
  • the electronic device can also be used to execute the charging control method shown in FIG. 3 or FIG. 4 .
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments , the above computer includes a power adapter.
  • the power adapter may also include a memory for storing the above-mentioned computer program.
  • An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute any one of the methods described in the above method embodiments. Some or all steps of the method.
  • the computer program product may be a software installation package, and the above computer includes a power adapter.
  • the disclosed device can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the above units is only a logical function division.
  • there may be other division methods for example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable memory.
  • the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory.
  • a computer device which may be a personal computer, server or network device, etc.
  • the aforementioned memory includes: various media that can store program codes such as U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk.

Abstract

A power adapter and a charging control method. The power adapter comprises: a rectifier circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a flow distribution switch, a first output port, and a second output port; the rectifier circuit is separately connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip; the second adapter is connected to the second PD protocol chip; the first PD protocol chip is connected to the first output port; the second PD protocol chip is connected to the second output port; the first adapter is connected to the second adapter by means of the flow distribution switch; the first PD protocol chip is connected to the second PD protocol chip; the first PD protocol chip and the second PD protocol chip are both connected to the flow distribution switch.

Description

电源适配器及充电控制方法Power adapter and charging control method
本申请要求于2021年07月23日提交中国专利局、申请号为202110839217.1、申请名称为“电源适配器及充电控制方法的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110839217.1 and the application title "power adapter and charging control method" submitted to the China Patent Office on July 23, 2021, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及电子技术领域,具体涉及一种电源适配器及充电控制方法。The present application relates to the field of electronic technology, in particular to a power adapter and a charging control method.
背景技术Background technique
随着功率传输协议(USB power delivery,USB PD)快充技术的迅速发展和普及,越来越多的充电设备都支持USB PD快充技术。特别是在大功率USB PD应用场合,对多USB接口充电设备的应用需求也越来越大。其中,最为典型的应用是双USB-C接口的PD充电器场合。而传统的双USB-C接口的PD充电器通常采用双路变压器的方案,每路变压器单独控制一路USB PD功率输出,其功率控制不够灵活,因此,如何提升双USB-C接口的PD充电器的灵活性的问题亟待解决。With the rapid development and popularization of USB power delivery (USB PD) fast charging technology, more and more charging devices support USB PD fast charging technology. Especially in high-power USB PD applications, the application demand for multi-USB interface charging equipment is also increasing. Among them, the most typical application is the PD charger with dual USB-C interfaces. Traditional dual USB-C interface PD chargers usually use a dual-channel transformer solution. Each transformer independently controls one USB PD power output, and its power control is not flexible enough. Therefore, how to improve the dual USB-C interface PD charger The problem of flexibility needs to be solved urgently.
发明内容Contents of the invention
本申请实施例提供了一种电源适配器及充电控制方法,能够提升双USB-C接口的PD充电器的灵活性。Embodiments of the present application provide a power adapter and a charging control method, which can improve the flexibility of a PD charger with dual USB-C interfaces.
第一方面,本申请实施例提供一种电源适配器,所述电源适配器包括:整流电路、第一适配器、第二适配器、第一PD协议芯片、第二PD协议芯片、分流开关、第一输出口、第二输出口,其中,In the first aspect, an embodiment of the present application provides a power adapter, the power adapter includes: a rectifier circuit, a first adapter, a second adapter, a first PD protocol chip, a second PD protocol chip, a shunt switch, and a first output port , the second output port, where,
所述整流电路分别与所述第一适配器、所述第二适配器连接;所述第一适配器连接所述第一PD协议芯片;所述第二适配器连接所述第二PD协议芯片;所述第一PD协议芯片连接所述第一输出口;所述第二PD协议芯片连接所述第二输出口;所述第一适配器通过所述分流开关连接所述第二适配器;所述第一PD协议芯片连接所述第二PD协议芯片;所述第一PD协议芯片、所述第二PD协议芯片均连接所述分流开关。The rectification circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip; the second adapter is connected to the second PD protocol chip; A PD protocol chip is connected to the first output port; the second PD protocol chip is connected to the second output port; the first adapter is connected to the second adapter through the shunt switch; the first PD protocol The chip is connected to the second PD protocol chip; both the first PD protocol chip and the second PD protocol chip are connected to the shunt switch.
第二方面,本申请实施例提供一种充电控制方法,应用于如第一方面所述的电源适配器,所述方法包括:In the second aspect, the embodiment of the present application provides a charging control method, which is applied to the power adapter as described in the first aspect, and the method includes:
检测所述第一输出口以及所述第二输出口的接入情况;Detecting the connection status of the first output port and the second output port;
在只有所述第一输出口接入第一用电设备时,设置所述第一输出口的工作功率为总功率;When only the first output port is connected to the first electric device, the working power of the first output port is set as the total power;
在只有所述第二输出口接入第二用电设备时,设置所述第二输出口的工作功率为所述总功率。When only the second output port is connected to the second electric device, the working power of the second output port is set as the total power.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第二方面中的步骤的指令,或者,所述 电子设备包括所述电源适配器。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured by the above Executed by a processor, the above program includes instructions for executing the steps in the second aspect of the embodiments of the present application, or, the electronic device includes the power adapter.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the computer to execute Some or all of the steps described in one aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, the embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the program as implemented in the present application. Some or all of the steps described in the first aspect. The computer program product may be a software installation package.
实施本申请实施例,具备如下有益效果:Implementing the embodiment of the present application has the following beneficial effects:
可以看出,本申请实施例中所描述的电源适配器包括:整流电路、第一适配器、第二适配器、第一PD协议芯片、第二PD协议芯片、分流开关、第一输出口、第二输出口,其中,整流电路分别与第一适配器、第二适配器连接;第一适配器连接第一PD协议芯片,第二适配器连接第二PD协议芯片,第一PD协议芯片连接第一输出口,第二PD协议芯片连接第二输出口,第一适配器通过分流开关连接第二适配器,第一PD协议芯片连接第二PD协议芯片,第一PD协议芯片、第二PD协议芯片均连接分流开关,检测第一输出口的接入情况,在只有第一输出口接入第一用电设备时,设置第一输出口的工作功率为总功率,检测第二输出口的接入情况,在只有第二输出口接入第二用电设备时,设置第二输出口的工作功率为总功率,一方面,通过第一PD协议芯片与第二PD协议芯片之间的通信机制,可以实现将第一适配器、第二适配器的工作状况以及第一输出口、第二输出口的接入情况告知对方,另一方面,可以通过第一PD协议芯片与第二PD协议芯片之间的PD控制策略用于通过分流开关实现分流操作,保证单口输出的情况下,能够以电源适配器的总功率进行充电操作,进而,能够提升双USB-C接口的PD充电器的灵活性。It can be seen that the power adapter described in the embodiment of this application includes: a rectifier 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. port, wherein the rectifier circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip, the second adapter is connected to the second PD protocol chip, the first PD protocol chip is connected to the first output port, and the second The PD protocol chip is connected to the second output port, the first adapter is connected to the second adapter through the shunt switch, the first PD protocol chip is connected to the second PD protocol chip, the first PD protocol chip and the second PD protocol chip are both connected to the shunt switch, and the second PD protocol chip is detected. The access situation of the first output port, when only the first output port is connected to the first electrical equipment, set the working power of the first output port as the total power, and detect the access status of the second output port, and when only the second output port is connected When the port is connected to the second electrical device, set the working power of the second output port as the total power. On the one hand, through the communication mechanism between the first PD protocol chip and the second PD protocol chip, the first adapter, Inform the other party of the working status of the second adapter and the access conditions of the first output port and the second output port. On the other hand, the PD control strategy between the first PD protocol chip and the second PD protocol chip can be used to pass the shunt The switch realizes the shunt operation to ensure that the single-port output can be charged with the total power of the power adapter, which in turn can improve the flexibility of the PD charger with dual USB-C ports.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本申请实施例提供的一种电源适配器的结构示意图;FIG. 1 is a schematic structural diagram of a power adapter provided in an embodiment of the present application;
图2是本申请实施例提供的一种电源适配器的另一结构示意图;Fig. 2 is another schematic structural diagram of a power adapter provided by an embodiment of the present application;
图3是本申请实施例提供的一种充电控制方法的流程示意图;FIG. 3 is a schematic flowchart of a charging control method provided in an embodiment of the present application;
图4是本申请实施例提供的另一种充电控制方法的流程示意图;Fig. 4 is a schematic flowchart of another charging control method provided by the embodiment of the present application;
图5是本申请实施例提供的另一种电源适配器的结构示意图。Fig. 5 is a schematic structural diagram of another power adapter provided by an embodiment of the present application.
具体实施方式detailed description
为了本技术领域人员更好理解本申请的技术方案,下面结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请的部分实施例,而并非全部的实施例。基于本申请实施例的描述,本领域技术人员在没有 做出创造性劳动前提下所获得的所有其他实施例,都属于本申请所保护的范围。In order for those skilled in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application are clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only the present invention. Some, but not all, embodiments of the application. Based on the description of the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work belong to the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如,包含了一系列步骤或单元的过程、方法、软件、产品或设备没有限定于已列出的步骤或单元,而是还包括没有列出的步骤或单元,或还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, software, product, or device that includes a series of steps or units is not limited to the listed steps or units, but also includes steps or units that are not listed, or includes , other steps or units inherent in the product or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。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 present application. The occurrences of this 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 understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
下面结合附图对本申请实施例进行介绍,附图中相交导线的交叉处有圆点表示导线相接,交叉处无圆点表示导线不相接。The following describes the embodiments of the present application in conjunction with the accompanying drawings. In the drawings, dots at the intersections of intersecting conductors indicate that the conductors are connected, and no dots at the intersections indicate that the conductors are not connected.
请参阅图1,图1是本申请实施例提供的一种电源适配器的结构示意图,所述电源适配器包括:整流电路、第一适配器、第二适配器、第一PD协议芯片、第二PD协议芯片、分流开关、第一输出口、第二输出口,其中,Please refer to Figure 1, Figure 1 is a schematic structural diagram of a power adapter provided by an embodiment of the present application, the power adapter includes: a rectifier circuit, a first adapter, a second adapter, a first PD protocol chip, and a second PD protocol chip , shunt switch, first output port, second output port, wherein,
所述整流电路分别与所述第一适配器、所述第二适配器连接;所述第一适配器连接所述第一PD协议芯片;所述第二适配器连接所述第二PD协议芯片;所述第一PD协议芯片连接所述第一输出口;所述第二PD协议芯片连接所述第二输出口;所述第一适配器通过所述分流开关连接所述第二适配器;所述第一PD协议芯片连接所述第二PD协议芯片;所述第一PD协议芯片、所述第二PD协议芯片均连接所述分流开关。The rectification circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip; the second adapter is connected to the second PD protocol chip; A PD protocol chip is connected to the first output port; the second PD protocol chip is connected to the second output port; the first adapter is connected to the second adapter through the shunt switch; the first PD protocol The chip is connected to the second PD protocol chip; both the first PD protocol chip and the second PD protocol chip are connected to the shunt switch.
其中,整流电路可以为电磁干扰(electromagnetic interference,EMI)滤波和桥式整流,整流电路可以接入外部电源,例如,可以通过整流电路可以实现交流电转换为直流电。外部电源可以是AC/DC电源、DC/DC电源、稳压电源、通信电源、模块电源、变频电源、逆变电源、交流稳压电源、直流稳压电源等,本申请实施例对此不做限定。Wherein, the rectification circuit may be electromagnetic interference (EMI) filtering and bridge rectification, and the rectification circuit may be connected to an external power supply, for example, the conversion of alternating current to direct current may be realized through the rectification circuit. The external power supply can be AC/DC power supply, DC/DC power supply, regulated power supply, communication power supply, module power supply, variable frequency power supply, inverter power supply, AC regulated power supply, DC regulated power supply, etc. limited.
其中,第一输出口用于连接第一USB数据线,第一USB数据线用于连接第一用电设备;第二输出口用于连接第二USB数据线,第二USB数据线用于连接第二用电设备。Among them, the first output port is used to connect the first USB data line, and the first USB data line is used to connect the first electric equipment; the second output port is used to connect the second USB data line, and the second USB data line is used to connect Second electrical equipment.
其中,第一用电设备、第二用电设备均可以包括但不仅限于:智能手机、平板电脑、智能机器人、智能电梯、车载设备、可穿戴设备、智能家居设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)等等。第一用电设备可以理解为任一接入第一输出口进行充电的设备,第二用电设备可以理解为任一接入第二输出口进行充电的设备。Wherein, both the first power-consuming device and the second power-consuming device may include, but are not limited to: smartphones, tablet computers, smart robots, smart elevators, vehicle-mounted devices, wearable devices, smart home devices, computing devices, or connected to wireless modems Other processing equipment, as well as various forms of user equipment (user equipment, UE), mobile station (mobile station, MS), terminal equipment (terminal device) and so on. The first power-consuming device can be understood as any device connected to the first outlet for charging, and the second power-consuming device can be understood as any device connected to the second outlet for charging.
其中,第一PD协议芯片用于通过第一输出口获取第一用电设备的第一充电参数,第一充电参数可以包括以下至少一种:充电电压、充电电流、充电模式、充电功率等等,在此不作限定。第一PD协议芯片可以用于检测第一输出口是否接入第一用电设备。第一PD协议芯片可以通过引脚CC1、CC2与第一输出口进行连接。Wherein, the first PD protocol chip is used to obtain the first charging parameter of the first electric device through the first output port, and the first charging parameter may include at least one of the following: charging voltage, charging current, charging mode, charging power, etc. , is not limited here. The first PD protocol chip can be used to detect whether the first output port is connected to the first electric device. The first PD protocol chip can be connected to the first output port through the pins CC1 and CC2.
其中,第二PD协议芯片用于通过第二输出口获取第二用电设备的第二充电参数,第 二充电参数可以包括以下至少一种:充电电压、充电电流、充电模式、充电功率等等,在此不作限定。第二PD协议芯片可以用于检测第二输出口是否接入第二用电设备。第二PD协议芯片通过引脚CC1、CC2与第二输出口进行连接。Wherein, the second PD protocol chip is used to obtain the second charging parameter of the second electric device through the second output port, and the second charging parameter may include at least one of the following: charging voltage, charging current, charging mode, charging power, etc. , is not limited here. The second PD protocol chip can be used to detect whether the second output port is connected to the second electric device. The second PD protocol chip is connected to the second output port through the pins CC1 and CC2.
其中,第一PD协议芯片还可以通过分流通信接口与第二PD协议芯片之间进行通信。第一PD协议芯片可以将第一用电设备申请的充电参数告知第二PD协议芯片,第二PD协议芯片也可以将第二用电设备申请的充电参数告知第一PD协议芯片。第一PD协议芯片可以获取第一适配器的输出参数,该输出参数包括输出电压值,和/或,输出电流值。第二PD协议芯片可以获取第二适配器的输出参数,该输出参数包括输出电压值,和/或,输出电流值。第一PD协议芯片、第二PD协议芯片可以通过预先设置的PD控制策略调节第一适配器或者第二适配器的工作电压或者工作电流。上述分流通信接口在实现均流功能时,也可以称为均流通信接口。Wherein, the first PD protocol chip can also communicate with the second PD protocol chip through the offload communication interface. The first PD protocol chip can inform the second PD protocol chip of the charging parameters applied by the first electric device, and the second PD protocol chip can also inform the first PD protocol chip of the charging parameters applied by the second electric device. The first PD protocol chip can obtain output parameters of the first adapter, where the output parameters include output voltage values and/or output current values. The second PD protocol chip can obtain output parameters of the second adapter, where the output parameters include output voltage values and/or output current values. The first PD protocol chip and the second PD protocol chip can adjust the operating voltage or operating current of the first adapter or the second adapter through a preset PD control strategy. When the above current distribution communication interface implements the current sharing function, it may also be referred to as a current sharing communication interface.
其中,分流开关可以用于调节第一适配器和第二适配器的工作电流。分流开关可以由MOS管构成。Wherein, the shunt switch can be used to adjust the working current of the first adapter and the second adapter. The shunt switch can be made of MOS transistors.
其中,第一适配器、第二适配器的结构可以相同,也可以不同;第一输出口的功能与第二输出口的功能可以相同,也可以不同。Wherein, the structures of the first adapter and the second adapter may be the same or different; the function of the first output port may be the same as that of the second output port, or different.
进一步地,请参阅图2,图2是本申请实施例提供的一种电源适配器的另一结构示意图,其中,Further, please refer to FIG. 2. FIG. 2 is another schematic structural diagram of a power adapter provided by an embodiment of the present application, wherein,
所述第一适配器可以包括:第一AC-DC控制芯片、第一主功率开关电路、第一高频变压器、第一整流模块,其中,所述第一主功率开关电路连接所述整流电路、所述第一AC-DC控制芯片以及所述第一高频变压器,所述第一高频变压器连接所述第一整流模块,所述第一整流模块连接所述第一PD协议芯片,所述第一PD协议芯片连接所述第一AC-DC控制芯片。The first adapter may include: a first AC-DC control chip, a first main power switch circuit, a first high-frequency transformer, and a first rectifier module, wherein the first main power switch circuit is connected to the rectifier circuit, The first AC-DC control chip and the first high-frequency transformer, the first high-frequency transformer is connected to the first rectification module, the first rectification module is connected to the first PD protocol chip, the The first PD protocol chip is connected to the first AC-DC control chip.
其中,第一PD协议芯片与第一AC-DC控制芯片通过I2C通信接口进行通信,第一PD协议芯片用于设置第一AC-DC控制芯片的工作参数,该工作参数可以包括以下至少一种:工作电压、工作电流、工作功率等等,在此不作限定。第一PD协议芯片还可以获取第一适配器的电流值。Wherein, the first PD protocol chip communicates with the first AC-DC control chip through the I2C communication interface, and the first PD protocol chip is used to set the working parameters of the first AC-DC control chip, and the working parameters may include at least one of the following : Working voltage, working current, working power, etc. are not limited here. The first PD protocol chip can also obtain the current value of the first adapter.
可选的,所述电源适配器还包括第一开关,其中,所述第一整流模块连接所述第一开关,所述第一开关连接所述第一PD协议芯片以及所述第一输出口。Optionally, the power adapter further includes a first switch, wherein the first rectification module is connected to the first switch, and the first switch is connected to the first PD protocol chip and the first output port.
其中,第一开关可以为MOS管,在Type-c协议下,第一开关用于实现在C口规定默认情况下,不输出电压,当第一输出口的SINK端接入被检测到时,才打开第一开关,输出5V电压。Among them, the first switch can be a MOS tube. Under the Type-c protocol, the first switch is used to realize that under the default condition of the C port, no voltage is output. When the SINK terminal access of the first output port is detected, Only when the first switch is turned on, the voltage of 5V is output.
可选的,所述第二适配器包括:第二AC-DC控制芯片、第二主功率开关电路、第二高频变压器、第二整流模块,其中,所述第二主功率开关电路连接所述整流电路、所述第二AC-DC控制芯片以及所述第二高频变压器,所述第二高频变压器连接所述第二整流模块,所述第二整流模块连接所述第二PD协议芯片,所述第二PD协议芯片连接所述第二AC-DC控制芯片。Optionally, the second adapter includes: a second AC-DC control chip, a second main power switch circuit, a second high-frequency transformer, and a second rectifier module, wherein the second main power switch circuit is connected to the A rectifier circuit, the second AC-DC control chip, and the second high-frequency transformer, the second high-frequency transformer is connected to the second rectifier module, and the second rectifier module is connected to the second PD protocol chip , the second PD protocol chip is connected to the second AC-DC control chip.
其中,第二PD协议芯片与第二AC-DC控制芯片通过I2C通信接口进行通信,第二PD协议芯片用于设置第二AC-DC控制芯片的工作参数,该工作参数可以包括以下至少一种: 工作电压、工作电流、工作功率等等,在此不作限定。第二PD协议芯片还可以获取第二适配器的电流值。Wherein, the second PD protocol chip communicates with the second AC-DC control chip through the I2C communication interface, and the second PD protocol chip is used to set the working parameters of the second AC-DC control chip, and the working parameters may include at least one of the following : Working voltage, working current, working power, etc. are not limited here. The second PD protocol chip can also obtain the current value of the second adapter.
可选的,所述电源适配器还包括第二开关,其中,Optionally, the power adapter further includes a second switch, wherein,
所述第二整流模块连接所述第二开关,所述第二开关连接所述第二PD协议芯片以及所述第二输出口。The second rectification module is connected to the second switch, and the second switch is connected to the second PD protocol chip and the second output port.
其中,第二开关可以为MOS管,在Type-c协议下,第二开关用于实现在C口规定默认情况下,不输出电压,当第二输出口的SINK端接入被检测到时,才打开第二开关,输出5V电压。Among them, the second switch can be a MOS tube. Under the Type-c protocol, the second switch is used to realize that under the default condition of the C port, no voltage is output. When the SINK terminal access of the second output port is detected, The second switch is turned on to output 5V voltage.
可选的,所述第一整流模块连接所述分流开关,所述第二整流模块连接所述分流开关。Optionally, the first rectification module is connected to the shunt switch, and the second rectification module is connected to the shunt switch.
其中,第一整流模块用于对第一适配器的输出电流进行滤波、整流。第二整流模块用于对第二适配器的输出电流进行滤波、整流。通过第一整流模块连接分流开关,第二整流模块连接分流开关,则分流开关便可以知晓第一适配器的输出电流以及第二适配器的输出电流。分流开关可以由2个MOS管构成,2个MOS管可以分别用于调节第一适配器、第二适配器的电流,在第一适配器、第二适配器的电流几乎相等时,则实现均流功能。Wherein, the first rectification module is used for filtering and rectifying the output current of the first adapter. The second rectification module is used for filtering and rectifying the output current of the second adapter. By connecting the first rectification module to the shunt switch and the second rectification module to the shunt switch, the shunt switch can know the output current of the first adapter and the output current of the second adapter. The shunt switch can be composed of 2 MOS transistors, and the 2 MOS transistors can be used to adjust the current of the first adapter and the second adapter respectively, and realize the current sharing function when the currents of the first adapter and the second adapter are almost equal.
其中,第一PD协议芯片、第二PD协议芯片均可以是型号为IP2726、IP2723T、IP2712、INNO3PRO等的内置微控制单元(microcontroller unit,MCU)类型的协议集成电路(integrated circuit,IC),也可以是其他类型系统级芯片(system on chip,SOC)。Wherein, both the first PD protocol chip and the second PD protocol chip can be built-in microcontroller unit (microcontroller unit, MCU) type protocol integrated circuit (integrated circuit, IC) of model IP2726, IP2723T, IP2712, INNO3PRO, etc. It can be other types of system-on-chip (SOC).
基于上述电源适配器,可以用于实现如下功能:Based on the above power adapter, it can be used to realize the following functions:
所述第一PD协议芯片,用于检测所述第一输出口的接入情况;在只有所述第一输出口接入第一用电设备时,设置所述第一输出口的工作功率为总功率;The first PD protocol chip is used to detect the access of the first output port; when only the first output port is connected to the first electrical device, the working power of the first output port is set to total power;
所述第二PD协议芯片,用于检测所述第二输出口的接入情况;在只有所述第二输出口接入第二用电设备时,设置所述第二输出口的工作功率为所述总功率。The second PD protocol chip is used to detect the access of the second output port; when only the second output port is connected to the second electrical device, the working power of the second output port is set to the total power.
可选的,在只有所述第一输出口接入所述第一用电设备时;Optionally, when only the first output port is connected to the first electric device;
所述第一PD协议芯片,用于获取所述第一用电设备申请的第一充电参数,所述第一充电参数包括第一充电电压和第一充电电流;The first PD protocol chip is configured to obtain a first charging parameter applied by the first electric device, where the first charging parameter includes a first charging voltage and a first charging current;
所述第一PD协议芯片,用于通知所述第二PD协议芯片所述第一用电设备的所述第一充电参数;The first PD protocol chip is configured to notify the second PD protocol chip of the first charging parameter of the first electric device;
所述第二PD协议芯片,用于控制所述第二AC-DC控制芯片以预设工作参数进行工作,所述预设工作参数包括工作电压和工作电流,所述工作电压与所述第一充电电压相等,所述工作电流由所述第一充电电流、所述第一输出口对应的第一充电参数和所述第二输出口对应的第二充电参数确定;The second PD protocol chip is used to control the second AC-DC control chip to work with preset working parameters, the preset working parameters include working voltage and working current, the working voltage and the first The charging voltages are equal, and the operating current is determined by the first charging current, the first charging parameter corresponding to the first output port, and the second charging parameter corresponding to the second output port;
所述分流开关,用于进行分流操作。The shunt switch is used for shunting operation.
可选的,所述第一适配器,用于获取所述第一适配器输出的第一电流值;所述第二适配器,用于获取所述第二适配器输出的第二电流值;所述第一PD协议芯片,用于所述第一电流值与所述第二电流值之间的第一比较结果;以及在所述第一比较结果不处于预设范围时,根据所述第一比较结果确定目标电压调节参数;所述第一AC-DC控制芯片,用于根据所述目标电压调节参数调节所述第一AC-DC控制芯片的工作电压。Optionally, the first adapter is configured to obtain a first current value output by the first adapter; the second adapter is configured to obtain a second current value output by the second adapter; the first PD protocol chip, used for the first comparison result between the first current value and the second current value; and when the first comparison result is not in the preset range, determine according to the first comparison result A target voltage adjustment parameter; the first AC-DC control chip is configured to adjust the operating voltage of the first AC-DC control chip according to the target voltage adjustment parameter.
可选的,所述第一适配器,用于获取所述第一适配器的第三电流值;所述第二适配器, 用于获取所述第二适配器的第四电流值;所述第一PD协议芯片,用于确定所述第三电流值与所述第四电流值之间的第二比较结果;以及在所述第二比较结果处于所述预设范围时,确定分流操作成功。Optionally, the first adapter is configured to acquire a third current value of the first adapter; the second adapter is configured to acquire a fourth current value of the second adapter; the first PD protocol A chip configured to determine a second comparison result between the third current value and the fourth current value; and determine that the shunt operation is successful when the second comparison result is within the preset range.
可选的,在所述第一输出口接入第一用电设备且所述第二输出口接入第二用电设备时;所述第一PD协议芯片,用于获取所述第一输出口对应的第一充电参数;所述第二PD协议芯片,用于获取所述第二输出口对应的第二充电参数;所述第一PD协议芯片,用于根据所述第一充电参数和所述第二充电参数确定所述第一输出口的第一工作功率和所述第二输出口的第二工作功率,所述第一工作功率与所述第二工作功率之和为所述电源适配器的总功率;所述第一PD协议芯片,用于控制所述第一输出口以所述第一工作功率进行工作;所述第二PD协议芯片,用于控制所述第二输出口以所述第二工作功率进行工作。Optionally, when the first output port is connected to the first electric device and the second output port is connected to the second electric device; the first PD protocol chip is used to obtain the first output the first charging parameter corresponding to the port; the second PD protocol chip is used to obtain the second charging parameter corresponding to the second output port; the first PD protocol chip is used to obtain the second charging parameter corresponding to the second output port; The second charging parameter determines the first working power of the first outlet and the second working power of the second outlet, and the sum of the first working power and the second working power is the power supply The total power of the adapter; the first PD protocol chip is used to control the first output port to work with the first working power; the second PD protocol chip is used to control the second output port to work with the The second working power works.
可选的,在所述根据所述第一充电参数和所述第二充电参数确定所述第一输出口的第一工作功率和所述第二输出口的第二工作功率方面,所述第一PD协议芯片具体用于:Optionally, in terms 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 A PD protocol chip is specifically used for:
按照如下公式确定所述第一工作功率以及所述第二工作功率:The first working power and the second working power are determined according to the following formula:
P 1=P a*(S 1/(S 1+S 2)) P 1 =P a *(S 1 /(S 1 +S 2 ))
P 2=P a-P 1 P 2 =P a -P 1
其中,P a为总功率,S 1为第一充电参数,S 2为第二充电参数,P 1为第一工作功率,P 2为第二工作功率。总功率可以为电源适配器的最大功率。 Wherein, P a is the total power, S 1 is the first charging parameter, S 2 is the second charging parameter, P 1 is the first working power, and P 2 is the second working power. The total power may be the maximum power of the power adapter.
可以看出,本申请实施例中所描述的电源适配器包括:整流电路、第一适配器、第二适配器、第一PD协议芯片、第二PD协议芯片、分流开关、第一输出口、第二输出口,其中,整流电路分别与第一适配器、第二适配器连接;第一适配器连接第一PD协议芯片,第二适配器连接第二PD协议芯片,第一PD协议芯片连接第一输出口,第二PD协议芯片连接第二输出口,第一适配器通过分流开关连接第二适配器,第一PD协议芯片连接第二PD协议芯片,第一PD协议芯片、第二PD协议芯片均连接分流开关,检测第一输出口的接入情况,在只有第一输出口接入第一用电设备时,设置第一输出口的工作功率为总功率;检测第二输出口的接入情况,在只有第二输出口接入第二用电设备时,设置第二输出口的工作功率为总功率,一方面,通过第一PD协议芯片与第二PD协议芯片之间的通信机制,可以实现将第一适配器、第二适配器的工作状况以及第一输出口、第二输出口的接入情况告知对方,另一方面,可以通过第一PD协议芯片与第二PD协议芯片之间的PD控制策略用于通过分流开关实现分流操作,保证单口输出的情况下,能够以电源适配器的总功率进行充电操作,进而,能够提升双USB-C接口的PD充电器的灵活性。It can be seen that the power adapter described in the embodiment of this application includes: a rectifier 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. port, wherein the rectifier circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip, the second adapter is connected to the second PD protocol chip, the first PD protocol chip is connected to the first output port, and the second The PD protocol chip is connected to the second output port, the first adapter is connected to the second adapter through the shunt switch, the first PD protocol chip is connected to the second PD protocol chip, the first PD protocol chip and the second PD protocol chip are both connected to the shunt switch, and the second PD protocol chip is detected. The access situation of the first output port, when only the first output port is connected to the first electrical equipment, set the working power of the first output port as the total power; detect the access status of the second output port, When the port is connected to the second electrical device, set the working power of the second output port as the total power. On the one hand, through the communication mechanism between the first PD protocol chip and the second PD protocol chip, the first adapter, Inform the other party of the working status of the second adapter and the access conditions of the first output port and the second output port. On the other hand, the PD control strategy between the first PD protocol chip and the second PD protocol chip can be used to pass the shunt The switch realizes the shunt operation to ensure that the single-port output can be charged with the total power of the power adapter, which in turn can improve the flexibility of the PD charger with dual USB-C ports.
请参阅图3,图3为本申请实施例提供的一种充电控制方法的流程示意图,应用于如图1或图2所示的电源适配器。如图3所示,该方法包括如下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a charging control method provided by an embodiment of the present application, which is applied to the power adapter shown in FIG. 1 or FIG. 2 . As shown in Figure 3, the method includes the following steps:
301、检测所述第一输出口以及所述第二输出口的接入情况。301. Detect the connection status of the first output port and the second output port.
其中,第一PD协议芯片可以用于检测第一输出口的接入情况,第二PD协议芯片可以用于检测第二输出口的接入情况。Wherein, the first PD protocol chip can be used to detect the connection status of the first output port, and the second PD protocol chip can be used to detect the connection status of the second output port.
302、在只有所述第一输出口接入第一用电设备时,设置所述第一输出口的工作功率为总功率。302. When only the first output port is connected to the first electric device, set the working power of the first output port as the total power.
具体实现中,在只有第一输出口接入第一用电设备时,则可以通过第一PD协议芯片设置第一输出口的工作功率为总功率。本申请实施例中,总功率为电源适配器的总功率。In a specific implementation, when only the first output port is connected to the first electric device, the working power of the first output port can be set as 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、在只有所述第二输出口接入第二用电设备时,设置所述第二输出口的工作功率为所述总功率。303. When only the second output port is connected to the second electric device, set the working power of the second output port to the total power.
具体实现中,在只有第二输出口接入第二用电设备时,则可以通过第二PD协议芯片设置第二输出口的工作功率为总功率。In a specific implementation, when only the second output port is connected to the second electric device, the working power of the second output port can be set as the total power through the second PD protocol chip.
可选的,在只有所述第一输出口接入第一用电设备时,还可以包括如下步骤:Optionally, when only the first output port is connected to the first electric device, the following steps may also be included:
A1、通过所述第一PD协议芯片获取所述第一用电设备申请的第一充电参数,所述第一充电参数包括第一充电电压和第一充电电流;A1. Obtain the first charging parameters requested by the first electric device through the first PD protocol chip, and the first charging parameters include a first charging voltage and a first charging current;
A2、通过所述第一PD协议芯片通知所述第二PD协议芯片所述第一用电设备的所述第一充电参数;A2. Notifying the second PD protocol chip of the first charging parameter of the first electric device through the first PD protocol chip;
A3、通过所述第二PD协议芯片控制所述第二AC-DC控制芯片以预设工作参数进行工作,所述预设工作参数包括工作电压和工作电流,所述工作电压与所述第一充电电压相等,所述工作电流由所述第一充电电流、所述第一输出口对应的第一充电参数和所述第二输出口对应的第二充电参数确定;A3. Control the second AC-DC control chip to work with preset working parameters through the second PD protocol chip. The preset working parameters include working voltage and working current, and the working voltage and the first The charging voltages are equal, and the operating current is determined by the first charging current, the first charging parameter corresponding to the first output port, and the second charging parameter corresponding to the second output port;
A4、通过所述分流开关进行分流操作。A4. Perform a shunt operation through the shunt switch.
其中,第一PD协议芯片可以与第一用电设备之间进行通信,进而,可以获取第一用电设备的的第一充电参数,第一充电参数可以包括以下至少一种:充电电压、充电电流、充电模式、充电功率等等,在此不做限定。Wherein, the first PD protocol chip can communicate with the first electric device, and then, can obtain the first charging parameter of the first electric device, and the first charging parameter can include at least one of the following: charging voltage, charging Current, charging mode, charging power, etc. are not limited here.
其中,第一充电参数可以包括以下至少一种:额度电压、额定电流、用电设备需要的电压、用电设备需要的电流、用电设备需要的功率等等,在此不做限定,第二充电参数可以包括以下至少一种:额度电压、额定电流、用电设备需要的电压、用电设备需要的电流、用电设备需要的功率等等,在此不做限定。或者,第一充电参数可以为不同模式下的充电参数,第二充电参数也可以为不同模式下的充电参数,例如,第一充电参数可以包括以下任一种:普通充电模式下的充电参数、快充模式下的充电参数、超级快充模式下的充电参数,在此不作限定,又例如,第二充电参数可以包括以下任一种:普通充电模式下的充电参数、快充模式下的充电参数、超级快充模式下的充电参数。Wherein, the first charging parameter may include at least one of the following: rated voltage, rated current, voltage required by electrical equipment, current required by electrical equipment, power required by electrical equipment, etc., which are not limited here. The charging parameters may include at least one of the following: rated voltage, rated current, voltage required by the electrical device, current required by the electrical device, power required by the electrical device, etc., which are not limited herein. Alternatively, the first charging parameter may be a charging parameter in a different mode, and the second charging parameter may also be a charging parameter in a different mode. For example, the first charging parameter may include any of the following: charging parameters in a normal charging mode, The charging parameters in the fast charging mode and the charging parameters in the super fast charging mode are not limited here. For another example, the second charging parameters can include any of the following: charging parameters in the normal charging mode, charging in the fast charging mode parameters, charging parameters in super fast charging mode.
具体实现中,第一输出口对应的充电模式与第二输出口对应的充电模式可以一样或者不一样。In a specific implementation, the charging mode corresponding to the first outlet may be the same as or different from the charging mode corresponding to the second outlet.
其中,分流开关用于实现将第一适配器的输出电流和第二适配器的输出电流呈一定的比例,例如,第一适配器的输出电流与第二适配器的输出电流相等。Wherein, the shunt switch is used to achieve a certain ratio between the output current of the first adapter and the output current of the second adapter, for example, the output current of the first adapter is equal to the output current of the second adapter.
具体实现中,可以通过第一PD协议芯片获取第一用电设备申请的第一充电参数,第一充电参数可以包括第一充电电压和第一充电电流,还可以通过第一PD协议芯片通知第二PD协议芯片第一用电设备的第一充电参数,再通过第二PD协议芯片控制第二AC-DC控制芯片以预设工作参数进行工作,该预设工作参数可以包括工作电压和工作电流,工作电压与第一充电电压相等,工作电流由第一充电电流、第一充电参数和第二充电参数确定,具体计算方式如下:In a specific implementation, the first charging parameter applied by the first electric device can be obtained through the first PD protocol chip. The first charging parameter can include the first charging voltage and the first charging current, and the first PD protocol chip can also be used to notify the first charging parameter The second PD protocol chip controls the second AC-DC control chip to work with preset working parameters, which can include 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, the first charging parameter and the second charging parameter, and the specific calculation method is as follows:
工作电流=第一充电电流*(第一充电参数/(第一充电参数+第二充电参数))Working current = first charging current * (first charging parameter / (first charging parameter + second charging parameter))
进而,可以通过分流开关进行分流操作,分流操作可以用于调节第一适配器与第二适配器之间的电流差异。Furthermore, the shunt operation can be performed through the shunt switch, and the shunt operation can be used to adjust the current difference between the first adapter and the second adapter.
进一步的,还可以包括如下步骤:Further, the following steps may also be included:
A5、获取所述第一适配器的第一电流值和所述第二适配器的第二电流值;A5. Obtain the first current value of the first adapter and the second current value of the second adapter;
A6、确定所述第一电流值与所述第二电流值之间的第一比较结果;A6. Determine a first comparison result between the first current value and the second current value;
A7、在所述第一比较结果不处于预设范围时,根据所述第一比较结果确定目标电压调节参数;A7. When the first comparison result is not within a preset range, determine a target voltage adjustment parameter according to the first comparison result;
A8、根据所述目标调节参数调节所述第一AC-DC控制芯片的工作电压。A8. Adjust the working voltage of the first AC-DC control chip according to the target adjustment parameter.
其中,预设范围可以预先设置或者系统默认。Wherein, the preset range may be preset or defaulted by the system.
具体地,电子设备可以通过第一PD协议芯片获取第一适配器的第一电流值,以及通过第二PD协议芯片获取第二适配器的第二电流值,还可以确定第一电流值与第二电流值之间的第一比较结果,例如,第一比较结果可以为第一电流值与第二电流值之间的差值,或者,第一比较结果可以为第一电流值与第二电流值之间的比值。Specifically, the electronic device can obtain the first current value of the first adapter through the first PD protocol chip, and obtain the second current value of the second adapter through the second PD protocol chip, and can also determine the first current value and the second current value The first comparison result between values, for example, the first comparison result can be the difference between the first current value and the second current value, or the first comparison result can be the difference between the first current value and the second current value ratio between.
进一步的,在第一比较结果不处于预设范围时,可以根据第一比较结果确定目标电压调节参数,具体实现中,电源适配器中可以预先存储比较结果与电压调节参数之间的映射关系,再根据该映射关系确定第一比较结果对应的目标电压调节参数,目标电压调节参数可以为具体电压调节值,例如,10mV;目标电压调节参数也可以为比例系数,取值范围可以为-1~1之间,-1~0则是调低电压,0~1之间则是调高电压。通过第一PD协议芯片可以将目标电压调节参数反馈给第一AC-DC控制芯片,则根据目标电压调节参数调节第一AC-DC控制芯片的工作电压,以调节第一适配器的工作电压达到调节第一适配器的输出电流的目的,进而,让第一适配器与第二适配器的电流关系满足预设范围。Further, when the first comparison result is not within the preset range, the target voltage adjustment parameter can be determined according to the first comparison result. In specific implementation, the mapping relationship between the comparison result and the voltage adjustment parameter can be pre-stored in the power adapter, and then Determine the target voltage adjustment parameter corresponding to the first comparison result according to the mapping relationship. The target voltage adjustment parameter can be a specific voltage adjustment value, for example, 10mV; the target voltage adjustment parameter can also be a proportional coefficient, and the value range can be -1~1 Between -1 and 0 is to lower the voltage, and between 0 and 1 is to increase the voltage. The target voltage adjustment parameter can be fed back to the first AC-DC control chip through the first PD protocol chip, and the operating voltage of the first AC-DC control chip is adjusted according to the target voltage adjustment parameter to adjust the operating voltage of the first adapter to achieve regulation The purpose of the output current of the first adapter is to make the current relationship between the first adapter and the second adapter satisfy a preset range.
进一步的,可选的,可以包括如下步骤:Further, optionally, the following steps may be included:
A9、获取所述第一适配器的第三电流值和所述第二适配器的第四电流值;A9. Obtain the third current value of the first adapter and the fourth current value of the second adapter;
A10、确定所述第三电流值与所述第四电流值之间的第二比较结果;A10. Determine a second comparison result between the third current value and the fourth current value;
A11、在所述第二比较结果处于所述预设范围时,确定分流操作成功。A11. When the second comparison result is within the preset range, it is determined that the diversion operation is successful.
具体实现中,可以通过第一PD协议芯片获取第一适配器的第三电流值,以及通过第二PD协议芯片获取第二适配器的第四电流值,再确定第三电流值与第四电流值之间的第二比较结果,例如,第二比较结果可以为第一电流值与第二电流值之间的差值,或者,第二比较结果可以为第一电流值与第二电流值之间的比值。在第二比较结果处于预设范围时,确定分流操作成功。In a specific implementation, the third current value of the first adapter can be obtained through the first PD protocol chip, and the fourth current value of the second adapter can be obtained through the second PD protocol chip, and then the difference between the third current value and the fourth current value can be determined. For example, the second comparison result can be the difference between the first current value and the second current value, or the second comparison result can be the difference between the first current value and the second current value ratio. When the second comparison result is within the preset range, it is determined that the shunt operation is successful.
进一步的,可选的,还可以包括如下步骤:Further, optionally, the following steps may also be included:
B1、在所述第一输出口接入第一用电设备且所述第二输出口接入第二用电设备时,获取所述第一输出口对应的第一充电参数以及所述第二输出口对应的第二充电参数;B1. When the first output port is connected to the first electric device and the second output port is connected to the second electric device, obtain the first charging parameter corresponding to the first output port and the second The second charging parameter corresponding to the output port;
B2、根据所述第一充电参数和所述第二充电参数确定所述第一输出口的第一工作功率和所述第二输出口的第二工作功率,所述第一工作功率与所述第二工作功率之和为所述电源适配器的总功率;B2. Determine 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, the first operating power and the The sum of the second working power is the total power of the power adapter;
B3、控制所述第一输出口以所述第一工作功率进行工作;B3. Control the first output port to work at the first working power;
B4、控制所述第二输出口以所述第二工作功率进行工作。B4. Control the second output port to work at the second working power.
具体地,可以在第一输出口接入第一用电设备且第二输出口接入第二用电设备时,通过第一PD协议芯片获取第一输出口对应的第一充电参数,以及通过第二PD协议芯片获取第二输出口对应的第二充电参数,再可以通过第一PD协议芯片或者第二PD协议芯片根据第一充电参数和第二充电参数确定第一输出口的第一工作功率和输出口的第二工作功率,第一工作功率与第二工作功率之和为电源适配器的总功率,进而,控制第一输出口以第一工作功率进行工作,控制第二输出口以第二工作功率进行工作。Specifically, when the first output port is connected to the first electric device and the second output port is connected to the second electric device, the first charging parameter corresponding to the first output port can be obtained through the first PD protocol chip, and the first charging parameter corresponding to the first output port can be obtained through the The second PD protocol chip obtains the second charging parameter corresponding to the second output port, and then the first working of the first output port can be determined according to the first charging parameter and the second charging parameter through the first PD protocol chip or the second PD protocol chip power and the second working power of the output port, the sum of the first working power and the second working power is the total power of the power adapter, and then, the first output port is controlled to work at the first working power, and the second output port is controlled to work at the first working power. Two working power to work.
可选的,上述步骤B2,根据所述第一充电参数和所述第二充电参数确定所述第一输出口的第一工作功率和所述第二输出口的第二工作功率,可以按照如下方式实施:Optionally, in the above 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 as follows way to implement:
按照如下公式确定所述第一工作功率以及所述第二工作功率:The first working power and the second working power are determined according to the following formula:
P 1=P a*(S 1/(S 1+S 2)) P 1 =P a *(S 1 /(S 1 +S 2 ))
P 2=P a-P 1 P 2 =P a -P 1
其中,P a为总功率,S 1为第一充电参数,S 2为第二充电参数,P 1为第一工作功率,P 2为第二工作功率。 Wherein, P a is the total power, S 1 is the first charging parameter, S 2 is the second charging parameter, P 1 is the first working power, and P 2 is the second working power.
具体实现中,在第一适配器和第二适配器为相同功能、结构的适配器时,则P 1=P 2,第一工作功率、第二工作功率均为总功率的一半。在此情况下,本申请实施例,提出的并联分流技术,采用数字化控制方式来实现两路AC-DC功率变换器的分流。能够使得每路功率部分输出的电流基本一致,从而达到分流的效果。 In a specific implementation, when the first adapter and the second adapter are adapters with the same function and structure, then P 1 =P 2 , and both the first working power and the second working power are half of the total power. In this case, the parallel shunt technology proposed in the embodiment of the present application adopts a digital control method to realize the shunt of two AC-DC power converters. It can make the output current of each power part basically consistent, so as to achieve the effect of shunting.
本申请实施例,引入并联分流技术,使得在不增加硬件成本情况下,双USB PD应用适配器在单口应用情况下,能够实现双路AC-DC变换器分流,同时在单口接入情况下能够输出设备的最大功率,另外,也提高了单口输出的效率,在单口应用时,只采用了一级功率变换器,便可以实现总功率进行充电。In the embodiment of the present application, the parallel shunt technology is introduced, so that without increasing the hardware cost, the dual USB PD application adapter can realize the shunt of the dual-channel AC-DC converter in the case of single-port application, and at the same time can output in the case of single-port access. The maximum power of the device, in addition, also improves the efficiency of single-port output. In single-port application, only one-stage power converter is used to realize the total power for charging.
可以看出,本申请实施例中所描述的充电控制方法,一方面,通过第一PD协议芯片与第二PD协议芯片之间的通信机制,可以实现将第一适配器、第二适配器的工作状况以及第一输出口、第二输出口的接入情况告知对方,另一方面,可以通过第一PD协议芯片与第二PD协议芯片之间的PD控制策略用于通过分流开关实现分流操作,保证单口输出的情况下,能够以电源适配器的总功率进行充电操作,进而,能够提升双USB-C接口的PD充电器的灵活性。It can be seen that the charging control method described in the embodiment of the present application, on the one hand, through the communication mechanism between the first PD protocol chip and the second PD protocol chip, can realize the working status of the first adapter and the second adapter And inform the other party of the access status of the first output port and the second output port. On the other hand, the PD control strategy between the first PD protocol chip and the second PD protocol chip can be used to realize the shunt operation through the shunt switch, ensuring In the case of single-port output, the charging operation can be performed with the total power of the power adapter, which in turn can improve the flexibility of the PD charger with dual USB-C ports.
本申请实施例中,由于第一输出口为电源适配器中的任一输出口,因此,类似地,在只有第二输出口接入第二用电设备时,具体的控制策略可以参照在只有第一输出口接入第一用电设备时的控制策略的相关描述,在此不再赘述。In the embodiment of this application, since the first output port is any output port in the power adapter, similarly, when only the second output port is connected to the second electric device, the specific control strategy can refer to the The relevant description of the control strategy when an output port is connected to the first electric device will not be repeated here.
举例说明下,如图4所示,在第一适配器与第二适配器结构相同的情况下,则可以实现均流效果,本申请实施例可以按照如下步骤实施:For example, as shown in Figure 4, in the case where the first adapter and the second adapter have the same structure, the current sharing effect can be achieved, and the embodiment of the present application can be implemented according to the following steps:
S1、上电后初始化USB PD控制策略。S1. Initialize the USB PD control strategy after power-on.
S2、对当前状态双口接入状态进行判断,判断双口是否同时接入。如果同时接入则执行步骤S6,否则执行步骤S3。S2. Judging the current dual-port access status, and judging whether the dual-port access is simultaneous. If they are accessed at the same time, execute step S6; otherwise, execute step S3.
S3、判断第一输出口是否接入,如果接入则执行步骤S4,否则执行步骤S5。S3. Judging whether the first outlet is connected, if connected, execute step S4, otherwise execute step S5.
S4、设置第一输出口的输出功率为P,执行步骤S7。S4. Set the output power of the first output port as P, and execute step S7.
S5、设置第二输出口的输出功率为P,执行步骤S7。S5. Set the output power of the second output port as P, and execute step S7.
S6、双口都接入条件下,设置第一输出口和第二输出口输出功率分别为P/2。执行步骤15。S6. Under the condition that both ports are connected, set the output power of the first output port and the second output port to P/2 respectively. Go to step 15.
S7、获取用电设备申请的充电电压V和充电电流A。执行步骤S8。S7. Obtain the charging voltage V and charging current A applied by the electric device. Execute step S8.
S8、接入端口方通过均流通信接口,通知未接入端口,当前设备申请的电压V和电流值A。执行步骤S9。S8. The party connecting the port notifies the non-connected port of the voltage V and current value A currently applied by the device through the current sharing communication interface. Execute step S9.
S9、接入端接口和未接入端接口获取用电设备申请的电压V和电流A之后,通过I2C接口设置INNO3PRO的输出电压V,同时设置输出恒流值为A/2。执行步骤S10。S9. After the access terminal interface and the non-access terminal interface obtain the voltage V and current A applied by the electrical equipment, set the output voltage V of INNO3PRO through the I2C interface, and set the output constant current value to A/2. Execute step S10.
S10、打开均流MOS(分流开关),开始并联均流。执行步骤S11。S10, turn on the current sharing MOS (shunt switch), and start parallel current sharing. Execute step S11.
S11、开始均流后,均流通信端口实时告知对方,当前端口的实时电流值和电压值。执行步骤S12。S11. After the current sharing starts, the current sharing communication port notifies the other party in real time of the real-time current value and voltage value of the current port. Execute step S12.
S12、判断当前电流值和对方设备电流值是否相等。如果相等则执行步骤14,否则,执行步骤S13。S12. Judging whether the current current value is equal to the current value of the counterpart device. If they are equal, execute step 14, otherwise, execute step S13.
S13、调整均流电压和均流电流阶段。该过程比较当前端口和对方端口电流值大小,如果当前电流大于对方端口电流则降低当前输出端口电压10mV;否则,当前端口电流小于对方端口电流,升高当前端口电压10mV。判断当前电流和对方端口电流是否相等,如果相等则执行步骤S14,否则继续执行步骤S13。S13. Adjusting the current sharing voltage and current sharing phases. This process compares the current value of the current port with that of the opposite port. If the current current is greater than the current of the opposite port, the voltage of the current output port is reduced by 10mV; otherwise, the current of the current port is lower than the current of the opposite port, and the voltage of the current port is increased by 10mV. It is judged whether the current current is equal to the current of the opposite port, if they are equal, execute step S14, otherwise continue to execute step S13.
S14、均流成功,该状态下,软件会置起均流标志。执行状态S15。S14. The current sharing is successful. In this state, the software will set the current sharing flag. Execute state S15.
S15、空闲(Idle)状态,该状态下,标志一个流程结束。继续从步骤S1执行。S15. Idle (Idle) state. In this state, it marks the end of a process. Continue to execute from step S1.
本申请实施例中,采用了数字化并联均流技术,从控制策略上,均流技术的引入可以有效解决单口情况下,无法输出整机全部功率的问题。大大提高了单口应用下,设备输出的最大功率。In the embodiment of this application, the digital parallel current sharing technology is adopted. From the control strategy, the introduction of the current sharing technology can effectively solve the problem that the whole machine cannot output all the power in the case of a single port. The maximum output power of the device under single-port application is greatly improved.
举例说明下,如图5所示,图5为相关技术中的双USB口的电源适配器的结构示意图,相关技术中,如表1所示,为相关技术中能实现的功率分配的策略。相关技术中的功率分配不够智能和灵活。两路AC-DC变换器固定输出功率P MAX/2,当单口插入时,输出的总功率只有P MAX/2,只有设备提供的总功率的一半,无法充分利用设备提供的功率,且其功率部分不能实时调整,应用中存在一定的局限性。本申请提出的控制策略如表2所示,根据第一输出口和第二输出口的接入和拔出状态,实时分配输出口的输出功率。当单口接入时,输出功率为P MAX,当双口同时接入时,双口输出功率各自为P MAX/2。该应用方案的特点是能够实时调整输出功率,相比相关技术,单口应用时本申请实施例所提供控制策略可以使得输出功率加倍,在任意应用场景下,都能提供该设备能够输出的最大功率。能够解决相关技术中不能有效利用设备功率的缺陷。 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. In the related art, as shown in Table 1, it is a strategy for power allocation that can be realized in the related art. The power distribution in the related art is not intelligent and flexible enough. The two-way AC-DC converter has a fixed output power P MAX /2. When a single port is plugged in, the total output power is only P MAX /2, which is only half of the total power provided by the device, which cannot make full use of the power provided by the device, and its power Some cannot be adjusted in real time, and there are certain limitations in the application. The control strategy proposed in this application is shown in Table 2, and the output power of the output ports is allocated in real time according to the connection and withdrawal states of the first output port and the second output port. When a single port is connected, the output power is P MAX , and when two ports are connected at the same time, the output power of the two ports is P MAX /2 respectively. The feature of this application solution is that the output power can be adjusted in real time. Compared with related technologies, the control strategy provided by the embodiment of this application can double the output power in a single-port application. In any application scenario, it can provide the maximum output power of the device. . The invention can solve the defect that the device power cannot be effectively utilized in the related art.
表1 相关技术功率分配策略Table 1 Power allocation strategy of related technologies
Figure PCTCN2022095252-appb-000001
Figure PCTCN2022095252-appb-000001
Figure PCTCN2022095252-appb-000002
Figure PCTCN2022095252-appb-000002
表2 本申请实施例多口功率分配策略Table 2 Multi-port power allocation strategy in the embodiment of this application
Figure PCTCN2022095252-appb-000003
Figure PCTCN2022095252-appb-000003
本申请实施例中,采用了数字化并联均流技术,从控制策略上,解决了相关技术中无法灵活调整输出功率的缺点,同时,均流技术的引入可以有效解决单口情况下,无法输出整机全部功率的问题。大大提高了单口应用下,设备输出的最大功率。In the embodiment of this application, the digital parallel current sharing technology is adopted. From the control strategy, the shortcoming of the inability to flexibly adjust the output power in the related technology is solved. All power issues. The maximum output power of the device under single-port application is greatly improved.
具体实现中,电源适配器也可以包括两个以上的适配器,每一适配器可以对应一个输出口,具体的控制策略可以参照上述2个输出口的情形,在此不再赘述。In a specific implementation, the power adapter may also include more than two adapters, and each adapter may correspond to one output port. The specific control strategy may refer to the situation of the above two output ports, which will not be repeated here.
本申请实施例还提供一种电子设备,该电子设备可以包括如图1或者图2所描述的电源适配器,例如,电子设备可以为充电宝或者充电器。该电子设备还可以用于执行如图3或者图4所示的充电控制方法。An embodiment of the present application also provides 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 power bank or a charger. The electronic device can also be used to execute the charging control method shown in FIG. 3 or FIG. 4 .
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电源适配器。电源适配器还可以包括存储器,该存储器用于存储上述计算机程序。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments , the above computer includes a power adapter. The power adapter may also include a memory for storing the above-mentioned computer program.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电源适配器。An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute any one of the methods described in the above method embodiments. Some or all steps of the method. The computer program product may be a software installation package, and the above computer includes a power adapter.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可 以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the above-mentioned methods in various embodiments of the present application. The aforementioned memory includes: various media that can store program codes such as U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disc, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Those skilled in the art will have changes in specific implementation methods and application ranges based on the ideas of the present application. In summary, the contents of this specification should not be construed as limiting the present application.

Claims (18)

  1. 一种电源适配器,其特征在于,所述电源适配器包括:整流电路、第一适配器、第二适配器、第一PD协议芯片、第二PD协议芯片、分流开关、第一输出口、第二输出口,其中,A power adapter, characterized in that the power adapter includes: a rectifier 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 ,in,
    所述整流电路分别与所述第一适配器、所述第二适配器连接;所述第一适配器连接所述第一PD协议芯片;所述第二适配器连接所述第二PD协议芯片;所述第一PD协议芯片连接所述第一输出口;所述第二PD协议芯片连接所述第二输出口;所述第一适配器通过所述分流开关连接所述第二适配器;所述第一PD协议芯片连接所述第二PD协议芯片;所述第一PD协议芯片、所述第二PD协议芯片均连接所述分流开关;The rectification circuit is respectively connected to the first adapter and the second adapter; the first adapter is connected to the first PD protocol chip; the second adapter is connected to the second PD protocol chip; A PD protocol chip is connected to the first output port; the second PD protocol chip is connected to the second output port; the first adapter is connected to the second adapter through the shunt switch; the first PD protocol The chip is connected to the second PD protocol chip; the first PD protocol chip and the second PD protocol chip are both connected to the shunt switch;
    所述第一PD协议芯片,用于检测所述第一输出口的接入情况;在只有所述第一输出口接入第一用电设备时,设置所述第一输出口的工作功率为总功率;The first PD protocol chip is used to detect the access of the first output port; when only the first output port is connected to the first electrical device, the working power of the first output port is set to total power;
    所述第二PD协议芯片,用于检测所述第二输出口的接入情况;在只有所述第二输出口接入第二用电设备时,设置所述第二输出口的工作功率为所述总功率。The second PD protocol chip is used to detect the access of the second output port; when only the second output port is connected to the second electrical device, the working power of the second output port is set to the total power.
  2. 根据权利要求1所述的电源适配器,其特征在于,所述第一适配器包括:第一AC-DC控制芯片、第一主功率开关电路、第一高频变压器、第一整流模块,其中,所述第一主功率开关电路连接所述整流电路、所述第一AC-DC控制芯片以及所述第一高频变压器,所述第一高频变压器连接所述第一整流模块,所述第一整流模块连接所述第一PD协议芯片,所述第一PD协议芯片连接所述第一AC-DC控制芯片。The power adapter according to claim 1, wherein the first adapter 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 The first main power switch circuit is connected to the rectifier circuit, the first AC-DC control chip and the first high-frequency transformer, the first high-frequency transformer is connected to the first rectifier module, and the first The rectification module is connected to the first PD protocol chip, and the first PD protocol chip is connected to the first AC-DC control chip.
  3. 根据权利要求2所述的电源适配器,其特征在于,所述电源适配器还包括第一开关,其中,The power adapter according to claim 2, further comprising a first switch, wherein,
    所述第一整流模块连接所述第一开关,所述第一开关连接所述第一PD协议芯片以及所述第一输出口。The first rectification module is connected to the first switch, and the first switch is connected to the first PD protocol chip and the first output port.
  4. 根据权利要求3所述的电源适配器,其特征在于,所述第二适配器包括:第二AC-DC控制芯片、第二主功率开关电路、第二高频变压器、第二整流模块,其中,所述第二主功率开关电路连接所述整流电路、所述第二AC-DC控制芯片以及所述第二高频变压器,所述第二高频变压器连接所述第二整流模块,所述第二整流模块连接所述第二PD协议芯片,所述第二PD协议芯片连接所述第二AC-DC控制芯片。The power adapter according to claim 3, wherein the second adapter comprises: a second AC-DC control chip, a second main power switch circuit, a second high-frequency transformer, and a second rectification module, wherein the The second main power switch circuit is connected to the rectifier circuit, the second AC-DC control chip and the second high-frequency transformer, the second high-frequency transformer is connected to the second rectifier module, and the second The rectification module is connected to the second PD protocol chip, and the second PD protocol chip is connected to the second AC-DC control chip.
  5. 根据权利要求4所述的电源适配器,其特征在于,所述电源适配器还包括第二开关,其中,The power adapter according to claim 4, wherein the power adapter further comprises a second switch, wherein,
    所述第二整流模块连接所述第二开关,所述第二开关连接所述第二PD协议芯片以及所述第二输出口。The second rectification module is connected to the second switch, and the second switch is connected to the second PD protocol chip and the second output port.
  6. 根据权利要求5所述的电源适配器,其特征在于,所述第一整流模块连接所述分流开关,所述第二整流模块连接所述分流开关。The power adapter according to claim 5, wherein the first rectification module is connected to the shunt switch, and the second rectification module is connected to the shunt switch.
  7. 根据权利要求6所述的电源适配器,其特征在于,在只有所述第一输出口接入所述第一用电设备时;The power adapter according to claim 6, wherein when only the first output port is connected to the first electric device;
    所述第一PD协议芯片,用于获取所述第一用电设备申请的第一充电参数,所述第一充电参数包括第一充电电压和第一充电电流;The first PD protocol chip is configured to obtain a first charging parameter applied by the first electric device, where the first charging parameter includes a first charging voltage and a first charging current;
    所述第一PD协议芯片,用于通知所述第二PD协议芯片所述第一用电设备的所述第一充电参数;The first PD protocol chip is configured to notify the second PD protocol chip of the first charging parameter of the first electric device;
    所述第二PD协议芯片,用于控制所述第二AC-DC控制芯片以预设工作参数进行工作,所述预设工作参数包括工作电压和工作电流,所述工作电压与所述第一充电电压相等,所述工作电流由所述第一充电电流、所述第一输出口对应的第一充电参数和所述第二输出口对应的第二充电参数确定;The second PD protocol chip is used to control the second AC-DC control chip to work with preset working parameters, the preset working parameters include working voltage and working current, the working voltage and the first The charging voltages are equal, and the operating current is determined by the first charging current, the first charging parameter corresponding to the first output port, and the second charging parameter corresponding to the second output port;
    所述分流开关,用于进行分流操作。The shunt switch is used for shunting operation.
  8. 根据权利要求7所述的电源适配器,其特征在于,The power adapter according to claim 7, characterized in that,
    所述第一适配器,用于获取所述第一适配器输出的第一电流值;The first adapter is configured to obtain a first current value output by the first adapter;
    所述第二适配器,用于获取所述第二适配器输出的第二电流值;The second adapter is configured to obtain a second current value output by the second adapter;
    所述第一PD协议芯片,用于所述第一电流值与所述第二电流值之间的第一比较结果;以及在所述第一比较结果不处于预设范围时,根据所述第一比较结果确定目标电压调节参数;The first PD protocol chip is used for a first comparison result between the first current value and the second current value; and when the first comparison result is not within a preset range, according to the first comparison result a comparison result to determine the target voltage adjustment parameter;
    所述第一AC-DC控制芯片,用于根据所述目标电压调节参数调节所述第一AC-DC控制芯片的工作电压。The first AC-DC control chip is configured to adjust the operating voltage of the first AC-DC control chip according to the target voltage adjustment parameter.
  9. 根据权利要求8所述的电源适配器,其特征在于,The power adapter according to claim 8, characterized in that,
    所述第一适配器,用于获取所述第一适配器的第三电流值;The first adapter is configured to obtain a third current value of the first adapter;
    所述第二适配器,用于获取所述第二适配器的第四电流值;The second adapter is configured to obtain a fourth current value of the second adapter;
    所述第一PD协议芯片,用于确定所述第三电流值与所述第四电流值之间的第二比较结果;以及在所述第二比较结果处于所述预设范围时,确定分流操作成功。The first PD protocol chip is configured to determine a second comparison result between the third current value and the fourth current value; and when the second comparison result is within the preset range, determine the shunt Successful operation.
  10. 根据权利要求7-9任一项所述的电源适配器,其特征在于,在所述第一输出口接入第一用电设备且所述第二输出口接入第二用电设备时;The power adapter according to any one of claims 7-9, wherein when the first output port is connected to a first electric device and the second output port is connected to a second electric device;
    所述第一PD协议芯片,用于获取所述第一输出口对应的第一充电参数;The first PD protocol chip is used to obtain a first charging parameter corresponding to the first output port;
    所述第二PD协议芯片,用于获取所述第二输出口对应的第二充电参数;The second PD protocol chip is configured to obtain a second charging parameter corresponding to the second output port;
    所述第一PD协议芯片,用于根据所述第一充电参数和所述第二充电参数确定所述第一输出口的第一工作功率和所述第二输出口的第二工作功率,所述第一工作功率与所述第二工作功率之和为所述电源适配器的总功率;The first PD protocol chip is configured to determine the first working power of the first output port and the second working power of the second output port according to the first charging parameter and the second charging parameter, so The sum of the first working power and the second working power is the total power of the power adapter;
    所述第一PD协议芯片,用于控制所述第一输出口以所述第一工作功率进行工作;The first PD protocol chip is used to control the first output port to work at the first working power;
    所述第二PD协议芯片,用于控制所述第二输出口以所述第二工作功率进行工作。The second PD protocol chip is used to control the second output port to work at the second working power.
  11. 根据权利要求10所述的电源适配器,其特征在于,在所述根据所述第一充电参数和所述第二充电参数确定所述第一输出口的第一工作功率和所述第二输出口的第二工作功率方面,所述第一PD协议芯片具体用于:The power adapter according to claim 10, wherein the first working power of the first output port and the second output port are determined according to the first charging parameter and the second charging parameter. In terms of the second working power, the first PD protocol chip is specifically used for:
    按照如下公式确定所述第一工作功率以及所述第二工作功率:The first working power and the second working power are determined according to the following formula:
    P 1=P a*(S 1/(S 1+S 2)) P 1 =P a *(S 1 /(S 1 +S 2 ))
    P 2=P a-P 1 P 2 =P a -P 1
    其中,P a为总功率,S 1为第一充电参数,S 2为第二充电参数,P 1为第一工作功率,P 2为第二工作功率。 Wherein, P a is the total power, S 1 is the first charging parameter, S 2 is the second charging parameter, P 1 is the first working power, and P 2 is the second working power.
  12. 一种充电控制方法,其特征在于,应用于如权利要求1-11任一项所述的电源适配 器,所述方法包括:A charging control method, characterized in that it is applied to the power adapter according to any one of claims 1-11, said method comprising:
    检测所述第一输出口以及所述第二输出口的接入情况;Detecting the connection status of the first output port and the second output port;
    在只有所述第一输出口接入第一用电设备时,设置所述第一输出口的工作功率为总功率;When only the first output port is connected to the first electric device, the working power of the first output port is set as the total power;
    在只有所述第二输出口接入第二用电设备时,设置所述第二输出口的工作功率为所述总功率。When only the second output port is connected to the second electric device, the working power of the second output port is set as the total power.
  13. 根据权利要求12所述的方法,其特征在于,在只有所述第一输出口接入所述第一用电设备时,所述方法还包括:The method according to claim 12, wherein when only the first output port is connected to the first electric device, the method further comprises:
    通过所述第一PD协议芯片获取所述第一用电设备申请的第一充电参数,所述第一充电参数包括第一充电电压和第一充电电流;Obtaining a first charging parameter applied by the first electric device through the first PD protocol chip, where the first charging parameter includes a first charging voltage and a first charging current;
    通过所述第一PD协议芯片通知所述第二PD协议芯片所述第一用电设备的所述第一充电参数;Notifying the second PD protocol chip of the first charging parameter of the first powered device through the first PD protocol chip;
    通过所述第二PD协议芯片控制所述第二AC-DC控制芯片以预设工作参数进行工作,所述预设工作参数包括工作电压和工作电流,所述工作电压与所述第一充电电压相等,所述工作电流由所述第一充电电流、所述第一输出口对应的第一充电参数和所述第二输出口对应的第二充电参数确定;The second AC-DC control chip is controlled by the second PD protocol chip to work with preset working parameters, the preset working parameters include working voltage and working current, the working voltage and the first charging voltage equal, the operating current is determined by the first charging current, the first charging parameter corresponding to the first output port, and the second charging parameter corresponding to the second output port;
    通过所述分流开关进行分流操作。A shunt operation is performed through the shunt switch.
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method according to claim 13, further comprising:
    获取所述第一适配器的第一电流值和所述第二适配器的第二电流值;acquiring a first current value of the first adapter and a second current value of the second adapter;
    确定所述第一电流值与所述第二电流值之间的第一比较结果;determining a first comparison result between the first current value and the second current value;
    在所述第一比较结果不处于预设范围时,根据所述第一比较结果确定目标电压调节参数;When the first comparison result is not within a preset range, determine a target voltage adjustment parameter according to the first comparison result;
    根据所述目标电压调节参数调节所述第一AC-DC控制芯片的工作电压。and adjusting the operating voltage of the first AC-DC control chip according to the target voltage adjustment parameter.
  15. 根据权利要求14所述的方法,其特征在于,所述方法还包括:The method according to claim 14, characterized in that the method further comprises:
    获取所述第一适配器的第三电流值和所述第二适配器的第四电流值;Acquiring a third current value of the first adapter and a fourth current value of the second adapter;
    确定所述第三电流值与所述第四电流值之间的第二比较结果;determining a second comparison result between the third current value and the fourth current value;
    在所述第二比较结果处于所述预设范围时,确定分流操作成功。When the second comparison result is within the preset range, it is determined that the diversion operation is successful.
  16. 根据权利要求12-15任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 12-15, wherein the method further comprises:
    在所述第一输出口接入第一用电设备且所述第二输出口接入第二用电设备时,获取所述第一输出口对应的第一充电参数以及所述第二输出口对应的第二充电参数;When the first output port is connected to a first electric device and the second output port is connected to a second electric device, acquiring a first charging parameter corresponding to the first output port and the second output port the corresponding second charging parameter;
    根据所述第一充电参数和所述第二充电参数确定所述第一输出口的第一工作功率和所述第二输出口的第二工作功率,所述第一工作功率与所述第二工作功率之和为所述电源适配器的总功率;Determine 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, and the first operating power and the second The sum of the working power is the total power of the power adapter;
    控制所述第一输出口以所述第一工作功率进行工作;controlling the first output port to work at the first working power;
    控制所述第二输出口以所述第二工作功率进行工作。and controlling the second output port to work with the second working power.
  17. 根据权利要求16所述的方法,其特征在于,所述根据所述第一充电参数和所述第二充电参数确定所述第一输出口的第一工作功率和所述第二输出口的第二工作功率,包括:The method according to claim 16, wherein said 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 2. Working power, including:
    按照如下公式确定所述第一工作功率以及所述第二工作功率:The first working power and the second working power are determined according to the following formula:
    P 1=P a*(S 1/(S 1+S 2)) P 1 =P a *(S 1 /(S 1 +S 2 ))
    P 2=P a-P 1 P 2 =P a -P 1
    其中,P a为总功率,S 1为第一充电参数,S 2为第二充电参数,P 1为第一工作功率,P 2为第二工作功率。 Wherein, P a is the total power, S 1 is the first charging parameter, S 2 is the second charging parameter, P 1 is the first working power, and P 2 is the second working power.
  18. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求12-17任一项所述的方法的步骤。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 the computer to execute the method according to any one of claims 12-17 method steps.
PCT/CN2022/095252 2021-07-23 2022-05-26 Power adapter and charging control method WO2023000814A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2023000814A1 true WO2023000814A1 (en) 2023-01-26

Family

ID=77287191

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/095252 WO2023000814A1 (en) 2021-07-23 2022-05-26 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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380489A (en) * 2019-08-08 2019-10-25 珠海英集芯半导体有限公司 A kind of fast charge circuit that can automatically adjust power and method
US20190372366A1 (en) * 2017-05-26 2019-12-05 Shenzhen Legendary Technology Co., Ltd Power adaptor, control method and device
CN111404399A (en) * 2019-01-03 2020-07-10 台达电子工业股份有限公司 Power supply system
CN111628537A (en) * 2020-04-24 2020-09-04 杭州士兰微电子股份有限公司 Multi-path charging circuit and protocol control module and control method thereof
CN113285517A (en) * 2021-07-23 2021-08-20 深圳英集芯科技股份有限公司 Power adapter and charging control method

Family Cites Families (4)

* 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
CN208461525U (en) * 2017-12-29 2019-02-01 施耐德电气(澳大利亚)有限公司 Charger
CN110994960A (en) * 2019-12-06 2020-04-10 苏州浪潮智能科技有限公司 Power supply circuit and current sharing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190372366A1 (en) * 2017-05-26 2019-12-05 Shenzhen Legendary Technology Co., Ltd Power adaptor, control method and device
CN111404399A (en) * 2019-01-03 2020-07-10 台达电子工业股份有限公司 Power supply system
CN110380489A (en) * 2019-08-08 2019-10-25 珠海英集芯半导体有限公司 A kind of fast charge circuit that can automatically adjust power and method
CN111628537A (en) * 2020-04-24 2020-09-04 杭州士兰微电子股份有限公司 Multi-path charging circuit and protocol control module and control method thereof
CN113285517A (en) * 2021-07-23 2021-08-20 深圳英集芯科技股份有限公司 Power adapter and charging control method

Also Published As

Publication number Publication date
CN115693877A (en) 2023-02-03
CN113285517B (en) 2021-10-01
CN113285517A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
WO2023000814A1 (en) Power adapter and charging control method
WO2022068802A1 (en) Charger, and charging control method and apparatus
CN108604859B (en) System and method for providing output power
EP2991187B1 (en) Mobile terminal with multi-port charging control function
CN205544514U (en) Take DATA TRANSFER FUNCTIONS's integrated charger
US20200295581A1 (en) Charging device and a charging method thereof
WO2023274002A1 (en) Hybrid mode charge circuit, and charge method
WO2017088138A1 (en) Charging device for mobile terminal
US9559534B2 (en) Data cable for fast charging
CN108988431B (en) Multi-protocol charging device and multi-protocol charging method
TW201516637A (en) Hub device for universal serial bus and power management method therefore
WO2018127105A1 (en) Charging and mutual charging apparatus for combined intelligent devices, and charging method
KR20120127681A (en) High-speed charge supporting circuit, universal serial bus cable apparatus with the circuit and electronic equipment with the circuit
CN107294172A (en) Terminal device, power supply adaptor and charge control method
CN111917152B (en) Method for improving power efficiency, terminal, storage medium and charging device
JP3156053U (en) Power adapter
WO2021052188A1 (en) Rectifier chip and terminal device
CN110336351B (en) USB quick charging device with data transmission function
CN217388256U (en) Many types C interface developments supply circuit, device and display device
CN208188825U (en) A kind of USB interface expander
WO2022007668A1 (en) Power supply apparatus and charging control method
CN206743096U (en) Power adaptation equipment
CN209963779U (en) Power adapter
CN109066906B (en) Charging circuit and integral type head-mounted apparatus
CN208985101U (en) A kind of expanded circuit and its expanding unit of power supply adaptor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22844981

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE