Power comparison module and adapter

By designing a power comparison module and using the method of magnitude comparison of pull current, the problem that the prior art cannot effectively compare the power gaps of each output branch in multiple output branch power supplies is solved, and the accurate judgment of the branch with the largest power gap is achieved and the effective connection of the power stage output is improved, and the power density of the adapter is improved.

CN119727393APending Publication Date: 2025-03-28HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311257375.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing power judgment circuit cannot effectively compare the power gaps in each output branch in the power supply of multiple output branches, especially when the loop integrated with the Protocol IC uses a current source output.

Method used

A power comparison module is designed to obtain the pull current of the loops of each branch, and compare the pull current of the loops of multiple branches to determine the relative size of the power gap of the loops of each branch, and to judge the branch with the largest power gap. The module can be implemented with a current mirror and resistor or differential comparator to ensure accuracy and cost-effectiveness.

Benefits of technology

Accurate comparison and judgment of the power gaps of each output branch in multiple output branch power supply is achieved, ensuring that the power stage output is connected to the branch with the largest power gap, and improving the power density and competitiveness of the adapter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119727393A_ABST
    Figure CN119727393A_ABST
Patent Text Reader

Abstract

The invention discloses a power comparison module and an adapter, the power comparison module is used for determining target information corresponding to loops of a plurality of branches in the adapter, and the target information is used for representing the magnitude of a pull current output by the loop of each branch; and determining the branch with the maximum power gap according to the target information. The pull current of the output end of the loop of the branch circuit can accurately represent the power gap of each output branch circuit, so that the branch circuit with the maximum power gap can be accurately determined, and the power comparison module can meet the application requirements of the existing adapter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and more specifically, to a power comparison module and an adapter. Background Art

[0002] In the current terminal adapters, the multi-port adapter includes a single charging head and can simultaneously meet the charging needs of multiple terminal devices. Obviously, since multi-ports are popular for their portability, further improving the power density of multi-port adapters can further improve product competitiveness.

[0003] At present, the adapter adopts a TDM time division multiplexing control architecture, that is, the output of the converter power level is connected to the output branch by MUX, and the former connects each output branch in time periods and replenishes energy to it. The specific control method is: a power judgment circuit is provided in the converter, which judges the power gap required to be supplemented by each output branch. According to the judgment result, the MUX is controlled to connect the path that needs to be supplemented with the power level output, and the loop output result of the path is input to the PWM IC.

[0004] In the TDM architecture, the power judgment circuit plays a key role in arbitration and allocation between different output branches and is the core component of the TDM circuit.

[0005] At present, the power judgment circuit can be Figure 1 As shown in , its working principle is as follows: the power judgment circuit reads the output of the loop amplifier of each output branch; from the working principle of the loop circuit based on the amplifier, it can be seen that the larger the output voltage of the op amp, the larger the power gap, so the power distribution circuit compares the output of each loop op amp, and the branch corresponding to the larger output is the branch that needs to be supplemented. The output branch with a larger op amp output voltage, that is, the larger power gap; the power judgment circuit sends the output voltage of its loop op amp to the feedback end of the PWM IC of the power stage through a diode (the diodes corresponding to other branches are reverse biased), so that its loop obtains the power stage control right; at the same time, the input end of its power part is connected to the output of the power stage through the MUX, so that the power stage output is the power output of the output branch.

[0006] However, this circuit can only be used in loops where the power gap can be represented by a level. In order to adapt to the primary and secondary isolation control, the Protocol IC of most current fast charging circuits uses a current source output for its integrated loop. The specific circuit diagram is as follows: Figure 2 shown.

[0007] In this circuit, the anode of the light-emitting diode of the Protocol IC optocoupler is connected to the output bus, and its cathode is connected to the current source, with an impedance network in series in the middle; the controller characterizes the output power through the current source of the Protocol IC, and transmits the control signal to the PWM IC through the optocoupler to achieve closed-loop control. It is not difficult to understand that in a power supply with multiple output branches, if the output voltages of the output branches are different, then obviously the level of the loop port of the Protocol IC cannot be the same when the current source is the same, so the level of the loop port of the Protocol IC of each output branch cannot be used for direct comparison.

[0008] In summary, the current power judgment circuit does not meet the application requirements of this occasion. Summary of the invention

[0009] In a first aspect, the present application provides a power comparison module, which is used to determine target information corresponding to the loops of multiple branches in an adapter, wherein the target information is used to represent the magnitude of the source current output by the loop of each branch; based on the target information, determine the branch with the largest power gap.

[0010] In the embodiment of the present application, the power comparison module can determine the relative size of the power gap of the loop of each branch by obtaining the size of the pull current of the loop of each branch, and by comparing the size of the pull current of the loop of multiple branches, so as to judge the branch with the largest power gap, and then connect it to the branch by controlling the power level output (that is, controlling the power level output to output power to the output branch). Since the pull current at the output end of the loop of the branch can accurately represent the power gap of each output branch, the branch with the largest power gap can be accurately determined, so that the power comparison module can meet the application requirements of the existing adapter.

[0011] In a possible implementation, the power comparison module is further configured to connect the power stage output in the adapter to the branch with the largest power gap by controlling the multiplexer.

[0012] In a possible implementation, the power comparison module is specifically configured to mirror the source current output by the loop of each branch, transmit the mirrored source current to the resistor, and the target information is represented by a voltage drop across the resistor.

[0013] In the above implementation, the source current information is losslessly converted into the voltage drop information of the common ground resistor, which is relatively direct and convenient and does not affect the work of the Protocol IC.

[0014] In a possible implementation, the power comparison module includes a current mirror and a resistor;

[0015] The power comparison module is used for mirroring the source current of the loop output of the branch through the current mirror, and transmitting the mirrored current to the resistor.

[0016] In a possible implementation, the power comparison module is specifically used to determine the voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch, and the target information is represented by the voltage difference.

[0017] In a possible implementation, the power comparison module is specifically configured to determine the voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch through a differential comparator.

[0018] In the above manner, no current mirror is required, and the relative size of the power gap of each output branch can be obtained by comparing the difference between the output voltage of each output branch and the voltage at the output end of the Protocol IC loop, thereby reducing the cost.

[0019] In a possible implementation, the loop of the branch is a control loop whose output is a controllable current source. For example, the loop of the branch is a Protocol IC loop.

[0020] In a possible implementation, the power comparison module is also used to mirror the pull current of the branch with the largest power gap when the power level output in the adapter is connected to the branch with the largest power gap, and transmit it to the optocoupler light emitting diode of the adapter through a diode.

[0021] In the above manner, the pull current of the feedback end of the loop controller of each output branch is mirrored by the current mirror, and the mirrored current is input to the control end of the power stage in a time-sharing manner. The original Protocol IC operation is not affected, and smooth and seamless switching can be achieved.

[0022] In a second aspect, the present application provides an adapter, comprising:

[0023] Multiple branch loops, power stage outputs, and

[0024] A power comparison module as described in any one of the first aspects.

[0025] In a third aspect, the present application provides a power comparison method, the method comprising:

[0026] Determine target information corresponding to loops of multiple branches in the adapter, where the target information is used to indicate the magnitude of the source current output by the loop of each branch;

[0027] A branch with the largest power gap is determined according to the target information.

[0028] In a possible implementation, the method further includes:

[0029] By controlling the multiplexer, the power stage output in the adapter is connected to the branch with the largest power gap.

[0030] In a possible implementation, determining target information corresponding to loops of multiple branches in the adapter includes:

[0031] The source current of the loop output of each branch is mirrored, and the mirrored source current is transmitted to the resistor, and the target information is represented by the voltage drop across the resistor.

[0032] In a possible implementation, determining target information corresponding to loops of multiple branches in the adapter includes:

[0033] The voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch is determined, and the target information is represented by the voltage difference. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of a circuit of an adapter;

[0035] Figure 2 A schematic diagram of a circuit of an adapter;

[0036] Figure 3 A schematic diagram of a power comparison method provided in an embodiment of the present application;

[0037] Figure 4 A schematic diagram of a circuit of an adapter;

[0038] Figure 5 A schematic diagram of a circuit of an adapter;

[0039] Figure 6 A schematic diagram of a circuit of an adapter. DETAILED DESCRIPTION

[0040] The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention. The terms used in the implementation mode of the present invention are only used to explain the specific embodiments of the present invention, and are not intended to limit the present invention.

[0041] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0042] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0043] As used herein, the terms "substantially," "about," and the like are used as terms of approximation, not as terms of degree, and are intended to take into account the inherent deviations of measurements or calculations that one of ordinary skill in the art would know. In addition, the use of "may" when describing embodiments of the present invention means "one or more possible embodiments." As used herein, the terms "use," "using," and "used" may be considered synonymous with the terms "utilize," "utilizing," and "utilized," respectively. In addition, the term "exemplary" is intended to refer to an example or illustration.

[0044] Next, some concepts involved in this application are explained:

[0045] (1) Adapter: refers to a device that has a voltage conversion function and is used to power electronic equipment (also known as terminal equipment). It is also called a charger, a switching power supply, a charger, or a power converter.

[0046] (2) Super Charger: refers to an adapter or charger that can charge a battery-powered device such as a mobile phone or computer quickly and shorten the charging time. It is also commonly called a Super Charger, a rapid charger, a fast charge, or a quick charge.

[0047] (3) Half-bridge: refers to an electrical topology structure in which two power switching tubes work alternately to achieve power transmission in a switching power supply. The main switching bridge is also called the main tube or the first switch; the auxiliary switching bridge is also called the radial tube or the second switch.

[0048] (4) Asymmetric half bridge: The duty cycle of the upper bridge and the lower bridge is not 50% symmetrical.

[0049] (5) Controller IC: refers to the control unit of the product, which implements waveform detection and action logic.

[0050] (6) Transformer: A device in a switching power supply that is responsible for transmitting power and converting voltage.

[0051] (7) Auxiliary winding: The winding in the transformer that is not responsible for power transmission, such as the VCC winding.

[0052] (8) Primary winding: The winding placed on the primary side of the transformer responsible for input voltage and current.

[0053] (9) Secondary winding: The winding placed on the secondary side of the transformer responsible for output voltage and current.

[0054] (10) Power controller (PWM IC): refers to the power control unit of the switching power supply. It directly controls the high-frequency switching of the controllable semiconductor inside the switching power supply between the low-resistance state and the high-resistance state by emitting high-frequency pulses according to the set control logic, thereby chopping the input energy so that the inductor and capacitor can process the chopped energy.

[0055] (11) Protocol controller (Protocol IC): refers to the protocol control unit of the fast charging product, which is responsible for handshaking with the terminal device, obtaining the voltage and current that the Adapter needs to output, and modifying the reference voltage value of the loop, thereby changing the loop output and ultimately controlling the work of the PWM IC; most protocol controllers are integrated with a loop control unit to complete the change of the loop reference voltage value and the loop output inside the IC. The protocol controller in the embodiment of the present application includes two modules: protocol control and loop control. It is not limited to a single integrated IC, but can also refer to a combination of a protocol control IC and a loop control circuit.

[0056] (12) Power stage: In the embodiments of the present application, it refers to the part of the switching power supply circuit that can convert input energy into rectified but unfiltered energy according to the control signal; specifically, it includes input and filtering circuits, high-frequency chopper circuits, transformers and their secondary rectification circuits, energy storage inductors (integrated with transformers in some topologies such as flyback and LLC) and PWM ICs, etc.

[0057] (13) Output branch: in the embodiments of the present application, refers to multiple output paths of the converter, each output branch including its own filter capacitor and its corresponding protocol controller.

[0058] (14) Multiplexer (MUX): In the embodiments of the present application, it refers to a circuit or device that selectively connects the secondary rectifier output port of the transformer to the input ports of each output branch according to a control signal; if a branch needs to be replenished with energy, it needs to be connected to the secondary rectifier output port of the transformer through a multiplexer.

[0059] (15) Time-division multiplexing (TDM): In the embodiments of the present application, it refers to a multi-channel control method in which each output branch is connected to a power stage in time periods according to a control signal to receive energy supplemented by the power stage.

[0060] (16) Energy Packet: In the embodiments of the present application, it refers to the combination of energy output by a power level within a number of pulses.

[0061] (17) Power gap: In the embodiments of the present application, it refers to the size of the energy packet that each branch needs to be supplemented by the power level, which is represented by the loop output.

[0062] In the current terminal adapters, the multi-port adapter includes a single charging head and can simultaneously meet the charging needs of multiple terminal devices. Obviously, since multi-ports are popular for their portability, further improving the power density of multi-port adapters can further improve product competitiveness.

[0063] At present, the adapter adopts a TDM time division multiplexing control architecture, that is, the output of the converter power stage is connected to the output branch by MUX, and the former connects each output branch in time periods and replenishes energy to it. The specific control method is: a power judgment circuit is set in the converter, which judges the power gap that needs to be supplemented in each output branch. According to the judgment result, the MUX controls the path that needs to be supplemented to connect with the power stage output, and inputs the loop output result of the path to the PWM IC. The typical circuit diagram of this architecture is shown in the figure Figure 1 shown.

[0064] In the TDM architecture, the power judgment circuit plays a key role in arbitration and allocation between different output branches and is the core component of the TDM circuit.

[0065] At present, the power judgment circuit can be Figure 1As shown in , its working principle is as follows: the power judgment circuit reads the output voltage of the loop amplifier of each output branch; from the working principle of the loop circuit based on the amplifier, it can be seen that the larger the output voltage of the op amp, the larger the power gap, so the power distribution circuit compares the outputs of the loop op amps of each channel, and the branch corresponding to the larger output is the branch that needs to be supplemented. The output branch with a larger op amp output voltage, that is, the larger power gap; the power judgment circuit sends the output voltage of its loop op amp to the feedback end of the PWM IC of the power stage through a diode (the diodes corresponding to other branches are reverse biased), so that its loop obtains the power stage control right; at the same time, the input end of its power part is connected to the output of the power stage through the MUX, so that the power stage outputs power for the output branch.

[0066] However, this circuit can only be used in loops where the power gap can be represented by a level. In order to adapt to the primary and secondary isolation control, the Protocol IC of most current fast charging circuits uses a current source output for its integrated loop. The specific circuit diagram is as follows: Figure 2 shown.

[0067] In this circuit, the anode of the light-emitting diode of the Protocol IC optocoupler is connected to the output bus, and its cathode is connected to the current source, with an impedance network in series in the middle; the controller characterizes the output power through the current source of the Protocol IC, and transmits the control signal to the PWM IC through the optocoupler to achieve closed-loop control. It is not difficult to understand that in a power supply with multiple output branches, if the output voltages of the output branches are different, then obviously the level of the loop port of the Protocol IC cannot be the same when the current source is the same, so the level of the loop port of the Protocol IC of each output branch cannot be used for direct comparison.

[0068] In summary, the current power judgment circuit does not meet the application requirements of this occasion.

[0069] Figure 3 is a schematic diagram of a power comparison module 100 provided in an embodiment of the present application, including:

[0070] S310, determining target information corresponding to loops of multiple branches in the adapter, wherein the target information is used to indicate the magnitude of a source current output by the loop of each branch; and determining a branch with a maximum power gap based on the target information.

[0071] The embodiments of the present application can be applied to terminal device adapters, and can also be applied to power supplies such as industrial power supplies and auxiliary power supplies of new energy systems.

[0072] Taking the application to an adapter as an example, in a possible implementation, the adapter may include a loop of multiple branches, for example, the loop of the branches is a control loop whose output is a controllable current source, such as a Protocol IC loop.

[0073] In the existing implementation, the power comparison module in the adapter can obtain the output voltage of the loop of each branch, and determine which output branch to connect the power level output to based on the comparison of the output voltage of the loop of each branch. However, in order to adapt to the primary and secondary isolation control, the Protocol IC of most current fast charging circuits uses a current source output for its integrated loop. In this circuit, the anode of the light-emitting diode of the Protocol IC optocoupler is connected to the output bus, and its cathode is connected to the pull current source, with an impedance network connected in series in the middle; the controller characterizes the output power through the pull current of the Protocol IC, and transmits the control signal to the PWM IC through the optocoupler to achieve closed-loop control. It is not difficult to understand that in a power supply with multiple output branches, if the output voltage of the output branch is different, then it is obvious that when the pull current is the same, the level of the loop port of the Protocol IC cannot be the same, so the level of the loop port of the Protocol IC of each output branch cannot be used for direct comparison.

[0074] In the embodiment of the present application, the power comparison module can determine the relative size of the power gap of the loop of each branch by obtaining the size of the pull current of the loop of each branch, and by comparing the size of the pull current of the loop of multiple branches, so as to judge the branch with the largest power gap, and then connect it to the branch by controlling the power level output (that is, controlling the power level output to output power to the output branch). Since the pull current at the output end of the loop of the branch can accurately represent the power gap of each output branch, the branch with the largest power gap can be accurately determined, so that the power comparison module can meet the application requirements of the existing adapter.

[0075] Next, several methods of obtaining the output current of the branch loop are introduced.

[0076] Method 1: Through current mirror.

[0077] In a possible implementation, the power comparison module is specifically configured to mirror the source current output by the loop of each branch, transmit the mirrored source current to the resistor, and the target information is represented by a voltage drop across the resistor.

[0078] In a possible implementation, the power comparison module includes a current mirror and a resistor; the power comparison module is used to mirror the source current of the loop output of the branch through the current mirror, and transmit the mirrored current to the resistor.

[0079] An example of a power determination circuit disclosed in the embodiment of the present application can be as follows: Figure 4 As shown in the dotted line (MUX_CTRL) box, specifically, the light-emitting diode of the optocoupler in the existing single-port loop can be replaced with a transistor in a triode-based current mirror, the BC pole of the triode is short-circuited, the controller pulls the current through the current mirror, and the current mirror is output to a resistor Rcomp to generate a voltage drop. It is not difficult to understand that if the gain ratio of the current mirror connected to the two outputs is K, then when the corresponding resistances Rcomp1:Rcomp2=1 / K, the comparison of the voltage drop on each branch resistance is directly equivalent to the pull current size of each branch, so that the judgment circuit can obtain the power gap information of each branch, and connect the output branch with the largest power gap to the power stage output through MUX.

[0080] In the above implementation, the source current information is losslessly converted into the voltage drop information of the common ground resistor, which is relatively direct and convenient and does not affect the work of the Protocol IC.

[0081] Method 2: Implementation through a differential comparator.

[0082] In a possible implementation, the power comparison module is specifically used to determine the voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch, and the target information is represented by the voltage difference.

[0083] In a possible implementation, the power comparison module is specifically configured to determine the voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch through a differential comparator.

[0084] An example of a power determination circuit disclosed in the embodiment of the present application can be as follows: Figure 5 As shown, where and Figure 4 In comparison, the current mirror and resistor of the comparison stage are replaced by a differential comparator, whose input is the output bus and the output end of the Protocol IC loop. Obviously, when the output branches are symmetrical and the loop parameters are the same, the voltage difference between the output bus and the output end of the Protocol IC loop can represent the source current of the output end of the Protocol IC loop.

[0085] In the above manner, no current mirror is required, and the relative size of the power gap of each output branch can be obtained by comparing the difference between the output voltage of each output branch and the voltage at the output end of the Protocol IC loop, thereby reducing the cost.

[0086] In addition, to avoid the impact of the switching process on the loop controller, in a possible implementation, the power comparison module is also used to mirror the pull current of the branch with the largest power gap when the power level output in the adapter is connected to the branch with the largest power gap, and transmit it to the optocoupler light emitting diode of the adapter through a diode.

[0087] Figure 6 It is a schematic diagram of the loop output stage circuit diagram of the power judgment circuit disclosed in the embodiment of the present application. In order to avoid the influence of the switching process on the loop controller, the pull current of each output branch ProtocolIC is mirrored again through a current mirror; when a certain output branch controls the power level to replenish its energy, the pull current mirror of the branch is connected to the optocoupler light emitting diode through a diode, while the pull current mirrors of other output branches flow to the control ground through the turned-on MOS.

[0088] In the above manner, the pull current of the feedback end of the loop controller of each output branch is mirrored by the current mirror, and the mirrored current is input to the control end of the power stage in a time-sharing manner. The original Protocol IC operation is not affected, and smooth and seamless switching can be achieved.

[0089] In addition, the present application provides a power comparison module, which is used to determine the target information corresponding to the loops of multiple branches in the adapter, and the target information is used to represent the size of the source current output by the loop of each branch; based on the target information, determine the branch with the largest power gap.

[0090] The power comparison module can also be described as a power comparison circuit, which can be applied to power supply devices such as adapters or power supplies.

[0091] For a detailed introduction to the power comparison module, please refer to Figure 3 The corresponding embodiments and the description of the related drawings are not repeated here for the similarities.

[0092] In a possible implementation, the power comparison module is further used to connect the power level output in the adapter to the branch with the largest power gap by controlling the multiplexer. In a possible implementation, the power comparison module is specifically used to mirror the source current of the loop output of each branch, transmit the mirrored source current to the resistor, and the target information is represented by the voltage drop across the resistor.

[0093] In a possible implementation, the power comparison module includes a current mirror and a resistor; the power comparison module is used to mirror the source current of the loop output of the branch through the current mirror, and transmit the mirrored current to the resistor.

[0094] In a possible implementation, the power comparison module is specifically used to determine the voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch, and the target information is represented by the voltage difference.

[0095] In a possible implementation, the power comparison module is specifically configured to determine the voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch through a differential comparator.

[0096] In a possible implementation, the loop of the branch is a control loop whose output is a controllable current source.

[0097] In a possible implementation, the loop of the branch is a Protocol IC loop.

[0098] In a possible implementation, the power comparison module is also used to mirror the pull current of the branch with the largest power gap when the power level output in the adapter is connected to the branch with the largest power gap, and transmit it to the optocoupler light emitting diode of the adapter through a diode.

[0099] It should also be noted that the device embodiments described above are merely schematic, wherein the units described 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 they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0100] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0101] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0102] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

Claims

1. A power comparison module, characterized in that: The power comparison module is used to determine the target information corresponding to the loops of the multiple branches in the adapter, and the target information is used to indicate the magnitude of the source current output by the loop of each branch; A branch with the largest power gap is determined according to the target information.

2. The power comparison module according to claim 1, characterized in that: The power comparison module is also used to connect the power level output in the adapter to the branch with the largest power gap by controlling the multiplexer.

3. The power comparison module according to claim 1 or 2, characterized in that: The power comparison module is specifically used to mirror the source current of the loop output of each branch, transmit the mirrored source current to the resistor, and the target information is represented by the voltage drop across the resistor.

4. The power comparison module according to claim 3, characterized in that: The power comparison module includes a current mirror and a resistor; The power comparison module is used for mirroring the source current of the loop output of the branch through the current mirror, and transmitting the mirrored current to the resistor.

5. The power comparison module according to claim 1 or 2, characterized in that: The power comparison module is specifically used to determine the voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch, and the target information is represented by the voltage difference.

6. The power comparison module according to claim 5, characterized in that: The power comparison module is specifically used to determine the voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch through a differential comparator.

7. The power comparison module according to any one of claims 1 to 6, characterized in that: The loop of the branch is a control loop whose output is a controllable current source.

8. The power comparison module according to any one of claims 1 to 7, characterized in that: The power comparison module is also used to mirror the pull current of the branch with the largest power gap when the power level output in the adapter is connected to the branch with the largest power gap, and transmit it to the optocoupler light emitting diode of the adapter through a diode.

9. An adapter, comprising: Multiple branch loops, power stage outputs, and A power comparison module as claimed in any one of claims 1 to 8.

10. A power comparison method, characterized in that: The method comprises: Determine target information corresponding to loops of multiple branches in the adapter, where the target information is used to indicate the magnitude of the source current output by the loop of each branch; A branch with the largest power gap is determined according to the target information.

11. The method according to claim 10, characterized in that The method further comprises: By controlling the multiplexer, the power stage output in the adapter is connected to the branch with the largest power gap.

12. The method according to claim 10 or 11, characterized in that: The step of determining target information corresponding to loops of multiple branches in the adapter includes: The source current of the loop output of each branch is mirrored, and the mirrored source current is transmitted to the resistor, and the target information is represented by the voltage drop across the resistor.

13. The method according to claim 10 or 11, characterized in that: The step of determining target information corresponding to loops of multiple branches in the adapter includes: The voltage difference between the voltage of the adapter output bus and the voltage of the loop output of the branch is determined, and the target information is represented by the voltage difference.