A control method, control circuit and electronic device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LENOVO BEIJING INFORMATION TECH CO LTD
- Filing Date
- 2026-05-29
- Publication Date
- 2026-08-07
AI Technical Summary
[0016]所述控制器,所述控制器的第一端口与所述第一控制开关的输入端电连接,第二端口与所述至少一个电源支路的输出端电连接,用于基于所述至少一个电源支路中第一控制开关的输入端的电参数和所述至少一个电源支路的输出端的电参数,输出控制信号;所述控制信号用于控制控制通路的工作状态,所述控制通路的工作状态包括导通和关闭,所述控制通路能够在开关驱动单元控制所述第一控制开关处于第一工作状态时,控制所述第一控制开关出于第二工作状态。
Smart Images

Figure CN122526089A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power supply technology, and in particular to a control method, a control circuit, and an electronic device. Background Technology
[0002] In server systems, the continuity and reliability of power supply are fundamental to ensuring stable system operation. To effectively manage the power supply path, the system typically has at least one power branch supplying power to the load. Within this power supply architecture, how to effectively control the power branch directly affects the system's power quality. Therefore, how to achieve power supply control has become a research direction in this field. Summary of the Invention
[0003] A control method, applied to a controller, the control method comprising:
[0004] The electrical parameters of the input terminal of the first control switch in at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch are obtained; wherein the at least one power supply branch can supply power to the load connected to the output terminal of the at least one power supply branch through the first control switch.
[0005] Based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, a control signal is output; the control signal is used to control the working state of the control path, and the working state of the control path includes on and off;
[0006] The control path can control the first control switch to a second working state when the switch driving unit controls the first control switch to a first working state, and the working state of the first control switch includes on and off.
[0007] A control circuit, comprising:
[0008] At least one power supply branch, the power supply branch including a power supply and a first control switch, one end of the first control switch being electrically connected to the power supply and the other end being electrically connected to the output terminal of the at least one power supply branch;
[0009] A control path, the control path including a second control switch, one end of the control path being electrically connected to the control terminal of the first control switch, the other end receiving a preset voltage, and the control terminal being electrically connected to the controller;
[0010] A switch driving unit is electrically connected to the first control switch and is used to output a driving signal based on the electrical parameters of the input and output terminals of the first control switch. The driving signal is used to control the working state of the first control switch, and the working state of the first control switch includes on and off.
[0011] The controller has a first port electrically connected to the input terminal of the first control switch and a second port electrically connected to the output terminal of the at least one power supply branch. It is used to output a control signal based on the electrical parameters of the input terminal of the first control switch in the at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch. The control signal is used to control the operating state of the control path, which includes being on and off. The control path can control the first control switch to a second operating state when the switch driving unit controls the first control switch to a first operating state.
[0012] An electronic device includes a control circuit, the control circuit comprising:
[0013] At least one power supply branch, the power supply branch including a power supply and a first control switch, one end of the first control switch being electrically connected to the power supply and the other end being electrically connected to the output terminal of the at least one power supply branch;
[0014] A control path, the control path including a second control switch, one end of the control path being electrically connected to the control terminal of the first control switch, the other end receiving a preset voltage, and the control terminal being electrically connected to the controller;
[0015] A switch driving unit is electrically connected to the first control switch and is used to output a driving signal based on the electrical parameters of the input and output terminals of the first control switch. The driving signal is used to control the working state of the first control switch, and the working state of the first control switch includes on and off.
[0016] The controller has a first port electrically connected to the input terminal of the first control switch and a second port electrically connected to the output terminal of the at least one power supply branch. It outputs a control signal based on the electrical parameters of the input terminal of the first control switch in the at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch. The control signal controls the operating state of the control path, which includes being on and off. The control path can control the first control switch to be in a second operating state when the switch driving unit controls the first control switch to be in a first operating state. Attached Figure Description
[0017] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0018] Figure 1 A flowchart of a control method provided in this application;
[0019] Figure 2 A flowchart of another control method provided in this application;
[0020] Figure 3 A flowchart of another control method provided in this application;
[0021] Figure 4 A flowchart of another control method provided in this application;
[0022] Figure 5 This is a schematic diagram of a control circuit provided in one embodiment of this application;
[0023] Figure 6 This is a schematic diagram of an electronic device provided according to one embodiment of this application. Detailed Implementation
[0024] The embodiments of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0025] The terminology used in the embodiments section of this application is only for explaining specific embodiments of this application and is not intended to limit this application. Various modifications and variations can be made to this application without departing from its spirit or scope. Moreover, with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of this application are equally applicable to similar technical problems, which is obvious to those skilled in the art. Therefore, this application is intended to cover modifications and variations of this application that fall within the scope of the corresponding claims (the claimed technical solutions) and their equivalents. It should be noted that the embodiments provided in this application can be combined with each other without contradiction.
[0026] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0027] As described in the background section, how to achieve power supply control has become a research direction in this field.
[0028] With the continuous development of the server industry, complete systems are increasingly required to adopt a multi-node architecture, with each node needing to support independent maintenance. However, during node maintenance, certain critical functions of the system must continue to operate normally and cannot be affected by the maintenance. To ensure the continuity and reliability of power supply, an ORING solution can be used to achieve seamless switching between multiple input power sources.
[0029] Specifically, the ORING solution can employ an ORING chip in conjunction with an external MOSFET. In this solution, the ORING chip monitors the instantaneous voltage difference between each input power supply and the output terminal, and controls the MOSFET to turn on or off based on the magnitude of the instantaneous voltage difference. However, in practical applications, when the input power supply ripple is large, the external MOSFET connected to the ORING chip will repeatedly switch on and off due to the monitored fluctuations in the instantaneous voltage difference between the output and input, resulting in unstable output voltage and affecting the normal operation of the load.
[0030] Increasing the internal comparison voltage threshold of the ORING chip, allowing it to tolerate larger input ripple, can reduce the frequent switching of the MOSFET to some extent. However, this also reduces the system's sensitivity to reverse current surges. When reverse current surges actually occur, a larger reverse voltage difference is required to trigger shutdown, leading to a significant increase in reverse current and potentially impacting the front-end power supply.
[0031] In view of this, embodiments of this application provide a control method, such as... Figure 1 As shown, the control method includes:
[0032] S1: Obtain the electrical parameters of the input terminal of the first control switch in at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch; wherein, the at least one power supply branch can supply power to the load connected to the output terminal of the at least one power supply branch through the first control switch; optionally, the first control switch may be a MOSFET or other type of controllable switching device, the input terminal of which refers to the end into which current flows, and the output terminal of which refers to the end into which current flows to supply the load.
[0033] It should be noted that, in this embodiment, the electrical parameters of the output terminal of at least one power branch are the electrical parameters of the overall output terminal of the at least one power branch. For example, when at least one power branch includes one power branch, the electrical parameters of the output terminal of the at least one power branch are the electrical parameters of the output terminal of that power branch; when at least one power branch includes at least two power branches, the electrical parameters of the output terminal of the at least one power branch refer to the electrical parameters of the overall output terminal after all the power branches are combined, rather than the electrical parameters of the output terminals of individual power branches.
[0034] Specifically, when at least one power supply branch includes at least two power supply branches, each power supply branch can supply power to the load through its own first control switch. That is, the input terminal of the first control switch of each power supply branch is connected to its own power supply, and the output terminal of each first control switch is connected to a common output terminal, which is used to supply power to the load.
[0035] Optionally, in one embodiment of this application, the load can be a core chip on the motherboard, such as a CPU (Central Processing Unit) or memory, or it can be the input terminal of a secondary power supply module within a server node. This application does not limit this and the specific choice depends on the circumstances.
[0036] S2: Based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, a control signal is output; the control signal is used to control the working state of the control path, the working state of the control path includes on and off, the control path can control the first control switch to be in a second state when the switch driving unit controls the first control switch to be in a first state, specifically, the control path can control the first control switch to be off when the switch driving unit controls the first control switch to be on, or the control path can control the first control switch to be on when the switch driving unit controls the first control switch to be off.
[0037] Optionally, in one embodiment of this application, the switch driving unit may employ an ORING chip, which monitors the instantaneous voltage difference between the input and output terminals of the first control switch and outputs a driving signal to turn the first control switch on or off.
[0038] Specifically, one end of the control path is electrically connected to the control terminal (i.e., the gate of the MOSFET) of the first control switch, and the other end is input with a preset voltage. The control terminal is electrically connected to the controller and can receive the control signal output by the controller. The preset voltage is determined according to the type of the first control switch.
[0039] Specifically, in one application scenario of this application, the first working state is the on state and the second working state is the off state. The control path can control the first control switch to turn off when the switch driving unit controls the first control switch to turn on. In this embodiment, if the first control switch is a PMOS and the preset voltage is high (such as the driving voltage VCC), the control path will pull up the voltage of the control terminal of the first control switch when it is on, so that the first control switch is off; when the first control switch is an NMOS and the preset voltage is low (such as GND), the control path will pull down the control terminal of the first control switch when it is on, so that the first control switch is off.
[0040] In this embodiment, when the switch drive unit is mistakenly triggered to output an incorrect conduction signal due to differential pressure conditions (such as a large internal differential pressure comparison threshold), the controller can still forcibly shut down the first control switch through the control path.
[0041] In another application scenario of this application, the first working state is the off state and the second working state is the on state. The control path can control the first control switch to be on when the switch driving unit controls the first control switch to be off. In this embodiment, if the first control switch is a PMOS and the preset voltage is low (such as GND), the control path pulls down the voltage of the control terminal of the first control switch when it is on, so that the first control switch is on. When the first control switch is an NMOS and the preset voltage is high (such as the driving voltage VCC), the control path pulls up the control terminal of the first control switch when it is on, so that the first control switch is on.
[0042] In this embodiment, when the switch drive unit is mistakenly triggered to output an incorrect shutdown signal due to differential pressure conditions (such as a small internal differential pressure comparison threshold), the controller can still force the first control switch to turn on through the control path.
[0043] Therefore, the control method provided in this application embodiment outputs a control signal based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch. This control signal is used to control the conduction and shutdown of the control path. The control path can control the first control switch to a second working state when the switch driving unit controls the first control switch to a first working state. By introducing a controller, a comprehensive judgment is made based on the input electrical parameters and the overall output terminal electrical parameters to reduce the switching frequency of the first control switch and promptly identify the reverse current phenomenon in the power supply branch. When an abnormality is detected (such as reverse current, voltage abnormality, etc.), the first control switch can be turned off by controlling the working state of the control path to avoid power backflow, short circuit or device damage caused by the switch driving unit erroneously outputting a conduction signal, thus protecting the power supply and load. When no abnormality is detected, the first control switch can be turned on by controlling the working state of the control path to avoid a high switching frequency of the first control switch caused by the switch driving unit erroneously outputting a shutdown signal, thereby improving the continuity and stability of power supply.
[0044] Moreover, this application does not change the device layout of at least one power supply branch, nor does it change the connection relationship between the switch drive unit and the first control switch, making it simple to implement and low in cost.
[0045] The control methods provided in the embodiments of this application are described below in conjunction with different application scenarios.
[0046] Optionally, in one embodiment of this application, the control path can control the first control switch to close when the switch driving unit controls the first control switch to turn on. In this embodiment, the control process of the first control switch includes: when the switch driving unit detects that the instantaneous voltage difference between the input terminal and the output terminal of the first control switch is less than its internal voltage difference comparison threshold, the drive signal output by the switch driving unit is a turn-on signal. At this time, if the control method determines that the first control switch should remain on based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, then a control signal is output to control the control path to disconnect, and the first control switch turns on in response to the drive signal output by the switch driving unit. If the control method determines that the first control switch should be turned off based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, then a control signal is output to control the control path to turn on, and a preset voltage is applied to the control terminal of the first control switch, so that the first control switch switches to the off state.
[0047] In one application scenario, the first control switch is a PMOS. The PMOS is turned on when the gate voltage is low (lower than the source voltage) and turned off when the gate voltage is high. In this embodiment, one end of the control path is electrically connected to the gate of the PMOS, and the other end is input with a preset voltage. The control terminal is electrically connected to the controller. When the drive signal output by the switch drive unit is an on signal, if the controller determines that the first control switch needs to be turned off, the controller controls the control path to be turned on, so that the control path outputs a high-level voltage (such as VCC), which is applied to the gate of the PMOS, turning off the PMOS. If the controller determines that the first control switch needs to be turned on, it controls the control path to be turned off, and the gate voltage of the PMOS is determined by the on signal output by the switch drive unit.
[0048] In another application scenario, the first control switch is an NMOS. The NMOS is turned on when the gate voltage is high (the gate voltage is higher than the source voltage) and turned off when the gate voltage is low. In this embodiment, one end of the control path is electrically connected to the gate of the NMOS, and the other end is input with a preset voltage. The control terminal is electrically connected to the controller. When the drive signal output by the switch drive unit is an on signal, if the controller determines that the first control switch needs to be turned off, the controller controls the control path to be turned on, so that the control path outputs a low-level voltage (such as GND), which is applied to the gate of the NMOS, causing the NMOS to turn off; if the controller determines that the first control switch needs to be turned on, the controller controls the control path to be turned off, and the gate voltage of the NMOS is determined by the on signal output by the switch drive unit.
[0049] In another embodiment of this application, the control path can control the first control switch to be turned on when the switch driving unit controls the first control switch to be turned off. In this embodiment, the control process of the first control switch includes: when the switch driving unit detects that the instantaneous voltage difference between the input terminal and the output terminal of the first control switch is greater than its internal voltage difference comparison threshold, the drive signal output by the switch driving unit is a turn-off signal. At this time, if the control method determines that the first control switch should be turned on based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, then a control signal is output to control the control path to be turned on, and a preset voltage is applied to the control terminal of the first control switch so that the working state of the first control switch is maintained in the on state. If the control method determines that the first control switch should be turned off based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, then a control signal is output to control the control path to be turned off, and the first control switch is turned off in response to the drive signal output by the switch driving unit.
[0050] In one application scenario, the first control switch is a PMOS. The PMOS is turned on when the gate voltage is low (lower than the source voltage) and turned off when the gate voltage is high. In this embodiment, one end of the control path is electrically connected to the gate of the PMOS, and the other end is input with a preset voltage. The control terminal is electrically connected to the controller. When the drive signal output by the switch drive unit is a turn-off signal, if the controller determines that the first control switch needs to be turned on, the controller controls the control path to turn on, causing the control path to output a low-level voltage (such as GND), which is applied to the PMOS gate to turn on the PMOS. If the controller determines that the first control switch needs to be turned off, it controls the control path to turn off, and the gate voltage of the PMOS is determined by the turn-off signal output by the switch drive unit.
[0051] In another application scenario, the first control switch is an NMOS. The NMOS is turned on when the gate voltage is high (the gate voltage is higher than the source voltage) and turned off when the gate voltage is low. In this embodiment, one end of the control path is electrically connected to the gate of the NMOS, and the other end is input with a preset voltage. The control terminal is electrically connected to the controller. When the drive signal output by the switch drive unit is a turn-off signal, if the controller determines that the first control switch needs to be turned on, the controller controls the control path to be turned on, so that the control path outputs a high-level voltage (such as VCC), which is applied to the gate of the NMOS, turning the NMOS on. If the controller determines that the first control switch needs to be kept off, the controller controls the control path to be turned off, and the gate voltage of the NMOS is determined by the turn-off signal output by the switch drive unit.
[0052] It should be noted that, in the embodiments of this application, the electrical parameters can be current, voltage, or both voltage and current. This application does not limit this and it depends on the specific circumstances.
[0053] The following description uses an example where the first control switch is an NMOS transistor, and the control path can control the first control switch to close when the switch driving unit controls the first control switch to turn on. The control method provided in the embodiments of this application will be described in conjunction with specific circumstances.
[0054] Optionally, in one embodiment of this application, the electrical parameters include at least current. In this embodiment, based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, the output control signal includes: based on the current of the input terminal of each of the first control switches in at least two power supply branches and the current of the output terminal of the at least two power supply branches (i.e., the current of the load output terminal), the output control signal is used to control the working state of the control path, that is, the control signal is used to control the conduction and shutdown of the control path.
[0055] like Figure 2 As shown, in this embodiment, the control method first acquires the current value at the input terminal of each first control switch in at least two power supply branches. Specifically, for a system including a first power supply branch and a second power supply branch, the control method acquires the current value I1 at the input terminal of the first control switch in the first power supply branch and the current value I2 at the input terminal of the first control switch in the second power supply branch. The current detection position is set at the output terminal of the current source, i.e., before the input terminal of the first control switch in each power supply branch. Simultaneously, the control method acquires the current value at the output terminal of the at least two power supply branches, i.e., the total current value I_load supplied to the load after the power supply branches are combined. After acquiring the above current values, the control method outputs a corresponding control signal based on the current at the input terminal of each first control switch and the total current at the output terminal.
[0056] In this embodiment, the core judgment logic of the control method includes: under normal power supply conditions, the sum of the currents at the input terminals of all power supply branches equals the total load current. At this time, the input current of each first control switch will not exceed the total load current. Specifically, for a system containing a first power supply branch and a second power supply branch, I1 + I2 = I_load. When a reverse current occurs in a power supply branch, the current direction of that power supply branch reverses (the current flows back from the output terminal to the input terminal), causing the sum of the input currents of the remaining normal branches to be greater than the total load current. Since the sign of the current value cannot be directly obtained when detecting the current value, this control method determines whether reverse current exists by analyzing the numerical relationship between the input current and the total output current, and outputs a corresponding control signal. By controlling the conduction or disconnection of the control path, the state of the first control switch is intervened.
[0057] Since reverse current flow is essentially the reverse flow of current, the control method provided in this application directly obtains the current at the input terminal of the first control switch of each power supply branch and the total current at the output terminal, and judges the reverse current phenomenon based on this. It selectively intervenes in the state of the first control switch. The differential voltage comparison threshold set inside the switch drive unit can be relatively large, thereby reducing the probability of the first control switch frequently switching due to large input power supply ripple. This improves the stability of the output voltage of at least one power supply branch, thereby improving power supply stability and timely identifying reverse current, reducing the impact of reverse current on the front-end power supply, and protecting the front-end power supply.
[0058] Specifically, when the switch drive unit outputs a turn-on signal because it detects that the instantaneous voltage difference between the input and output terminals is less than the internal voltage difference comparison threshold, the control method makes an independent judgment based on the acquired current data: if the relationship between the input current and the total output current indicates that there is no real reverse current (e.g., the sum of all input currents equals the total output current and all input currents are positive), the control method outputs a control signal to disconnect the control path, causing the first control switch to turn on in response to the drive signal output by the switch drive unit, thereby avoiding a voltage drop in the output voltage of at least one power supply branch or an interruption in the load power supply due to erroneous turn-off. Only when the control method determines based on the current data that there is indeed a serious reverse current (e.g., the input current of a certain branch is negative and causes the current in other branches to increase abnormally), does it control the control path to turn on, apply a preset voltage to the control terminal of the first control switch, and forcibly turn off the first control switch to avoid the reverse current from impacting the front-end power supply and protect the front-end power supply. Through this mechanism, this application retains the fast response of the switch drive unit while adding accurate current-based judgment as the final decision basis, which avoids frequent false shutdowns caused by ripple and can implement protection in the event of actual reverse injection.
[0059] Based on the above embodiments, in one embodiment of this application, the following continues... Figure 2 As shown, based on the current at the input terminal of each of the first control switches in at least two power supply branches and the current at the output terminal of the at least two power supply branches, the output control signal includes:
[0060] Based on the current at the input terminals of the first control switches in each of the two power supply branches, a first current value is determined. This first current value is the maximum value among the currents at the input terminals of the first control switches. For example, if the system includes a first power supply branch and a second power supply branch, and the control method obtains that the current flowing through the first power supply branch is I1 = 50A and the current flowing through the second power supply branch is I2 = 30A, then the first current value I_max is 50A; if I1 = 30A and I2 = 55A, then the first current value I_max is 55A. The purpose of this step is to identify the power supply branch with the largest current input.
[0061] If the first current value is greater than the current value at the output terminals of the at least two power supply branches, a control signal is output based on the first current value and the current value at the output terminals of the at least two power supply branches.
[0062] Specifically, in this embodiment, the control method compares the first current value with the current values at the output terminals of the at least two power supply branches. As mentioned earlier, the output current value is the total current I_load flowing into the load. In this embodiment, the comparison logic of the control method is as follows:
[0063] When the system is working normally, the current at the input terminals of all power supply branches is positive (current flows from the power supply to the load), and the sum of all input currents equals the total load current. Since the input current of each first control switch is positive and their sum equals I_load, no single input current can be greater than I_load, that is, the first current value is less than the output current value (I_max < I_load).
[0064] When reverse current occurs in a power supply branch, the current direction of that branch reverses, and the input current becomes negative. In order to maintain Kirchhoff's Current Law (the sum of the input currents equals the total load current), the sum of the input currents of the other power supply branches that are in normal operating condition must be greater than the output current value I_load.
[0065] If at least one power supply branch includes two power supply branches, when reverse current occurs in one of the power supply branches, the input current of the normally operating power supply branch exceeds I_load, that is, the first current value corresponding to the power supply branch with the largest input current is greater than the output current value (I_max > I_load). The relationship between the first current value and the output current value directly reflects whether reverse current exists in the system: I_max > I_load indicates that reverse current exists in the system. In the application scenario where the control path can control the first control switch to be turned on when the switch drive unit controls the first control switch to be turned off, the control method can directly output a control signal based on the first current value and the output current value of the at least two power supply branches. This control signal is used to determine whether the control path is turned on or off when the switch drive unit outputs a turn-on signal, thereby determining whether the first control switch is turned on or off.
[0066] Specifically, in one embodiment of this application, the following continues... Figure 2 As shown, the at least one power supply branch includes a first power supply branch and a second power supply branch; if the first current value is greater than the current value at the output terminals of the at least two power supply branches, based on the first current value and the current values at the output terminals of the at least two power supply branches, the output control signal includes:
[0067] Based on the first current value and the current values at the output terminals of the at least two power supply branches, a second current value is determined. The second current value is the difference between the first current value and the current values at the output terminals of the at least two power supply branches. The first current value is the current value at the input terminal of the first control switch in the second power supply branch.
[0068] If the second current value is greater than the first threshold, a first control signal is output to control the working state of the control path so that the working state of the first control switch in the first power supply branch is closed.
[0069] It should be noted that in the application scenario where the control path can control the first control switch to be turned on when the switch driving unit controls the first control switch to be turned off, the first control signal is used to control the first control path to be turned on so that the first control switch in the first power supply branch is in the off state.
[0070] The following description continues with an example of the control path being able to control the first control switch to close when the switch driving unit controls the first control switch to be turned on, to illustrate the control method provided in the embodiments of this application.
[0071] In this embodiment, the control method first determines a second current value based on a first current value I_max and the current values (i.e., the total load current) I_load at the output terminals of the two power supply branches. This second current value is defined as the difference between the first current value and the output terminal current value, i.e., I_diff = I_max - I_load. Then, the calculated second current value (i.e., the difference I_diff) is compared with a first threshold, and a control signal is output based on the comparison result. By setting the first threshold, the method distinguishes between "tolerable slight backflow or ripple interference" and "severe backflow that needs to be shut down," thereby further improving the stability of the voltage output at the output terminal of at least one power supply branch and enhancing power supply stability while protecting the front-end power supply.
[0072] Specifically, in one embodiment of this application, the first current value is defined as the current value at the input terminal of the first control switch in the second power supply branch. When the second current value is less than or equal to the first threshold (i.e., I_max - I_load ≤ the first threshold), it indicates that the current state of the first power supply branch has not reached the severity required to be turned off. At this time, the control method outputs a control signal to close the control path, so that the first control switch is in the conducting state in response to the conduction signal output by the switch driving unit, so as to ensure the continuity of power supply.
[0073] When the second current value is greater than the first threshold (i.e., I_max-I_load>first threshold), it indicates that the current state of the first power supply branch is abnormally severe. The control method outputs a control signal to conduct the control path, applies a preset voltage to the control terminal of the first control switch, and closes the first control switch to block the reverse current path and protect the front-end power supply.
[0074] It should be noted that the above embodiment uses the current flowing through the second power supply branch as the first current value, and the operating state of the first control switch in the first power supply branch is determined based on the comparison result of the second current value and the first threshold. However, this application does not limit this. In other embodiments of this application, the first current value may also be the current value flowing through the first power supply branch, and the operating state of the first control switch in the second power supply branch may be determined based on the comparison result of the second current value and the first threshold, depending on the specific circumstances.
[0075] If at least one power supply branch includes at least three power supply branches, there may be two situations: one is that the input current of at least one normally operating power supply branch exceeds I_load, i.e., I_max > I_load, indicating that there is reverse power supply in the system; the other is that the input current of any power supply branch does not exceed I_load, but the sum of the input currents of at least two normally operating power supply branches exceeds I_load, i.e., I_max ≤ I_load. In this case, reverse power supply may also exist in the system.
[0076] For cases where the at least one power supply branch includes at least three power supply branches, and the input current of at least one normally operating power supply branch exceeds I_load; or, where the at least one power supply branch includes at least three power supply branches, and the input current of any power supply branch does not exceed I_load, but the sum of the input currents of at least two normally operating power supply branches exceeds I_load, this control method can output a control signal based on the voltage at the input terminal of each of the first control switches and the voltage at the output terminals of the at least two power supply branches. This control signal is used to determine whether the control path is turned on or off when the switch drive unit outputs a conduction signal, thereby determining whether the first control switch is turned on or off. This allows for a larger differential voltage comparison threshold set within the switch drive unit, reducing the probability of output voltage drops or load power interruptions due to erroneous turn-off of the first control switch. Furthermore, it enables timely identification of reverse current, cutting off the reverse current path, and protecting the front-end power supply.
[0077] In another embodiment of this application, the electrical parameters include voltage. In this embodiment, based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, the output control signal includes: based on the voltage of the input terminal of the first control switch in at least one power supply branch and the voltage of the output terminal of the at least one power supply branch, the output control signal is used to control the working state of the control path, and the working state of the control path includes on and off.
[0078] It should be noted that, compared to outputting a control signal based on the voltage at the input terminal of the first control switch in at least one power supply branch and the voltage at the output terminal of the at least one power supply branch, the judgment of the output control signal based on the current at the input terminal of each of the first control switches in at least two power supply branches and the current at the output terminal of the at least two power supply branches is more accurate and direct. However, in cases where the current at the input terminal of each of the first control switches in at least two power supply branches and the current at the output terminal of the at least two power supply branches cannot be directly obtained, the control signal can be output based on the voltage at the input terminal of the first control switch in at least one power supply branch and the voltage at the output terminal of the at least one power supply branch.
[0079] Optionally, based on any of the above embodiments, in one embodiment of this application, the output control signal, based on the voltage at the input terminal of the first control switch in at least one power supply branch and the voltage at the output terminal of the at least one power supply branch, includes:
[0080] Based on the voltage at the input terminal of the first control switch, determine the first voltage value corresponding to the first control switch;
[0081] A second voltage value is determined based on the voltage at the output terminal of the at least one power supply branch;
[0082] Based on the first voltage value and the second voltage value corresponding to the first control switch, a control signal is output.
[0083] It should be noted that, in this application, the first voltage value can characterize the input voltage of the first control switch and is used to reflect the steady-state or overall level of the input voltage over time. Specifically, the first voltage value can be the average value, median, mode, filtered DC component, RMS value, or other characterizing value that can eliminate instantaneous fluctuation interference of the input voltage. This application does not limit this value and it depends on the specific circumstances.
[0084] Similarly, the second voltage value can characterize the output voltage of at least one power supply branch, reflecting the steady-state or overall level of the output voltage over time. Specifically, the second voltage value can be the average, median, mode, filtered DC component, RMS value, or other characteristic value that can eliminate instantaneous fluctuation interference of the output voltage. This application does not limit this, and it depends on the specific situation. It should be noted that, in this embodiment, the output terminal refers to the common node to which the output terminals of the first control switches of each power supply branch are connected, and the voltage of this node is the voltage supplied to the load.
[0085] It should also be noted that when at least one power supply branch contains multiple power supply branches, the control method can compare the first voltage value of the first control switch input terminal in each power supply branch (i.e., the characteristic value of the input terminal voltage of each power supply branch) with the second voltage value of the common output terminal (i.e., the characteristic value of the output terminal voltage) one by one to determine whether there is reverse power flow in each power supply branch.
[0086] It should be noted that, compared to the switch driving unit controlling the working state of the first control switch based on the real-time voltage difference between the input terminal and the output terminal of the first control switch, the control method provided in this application embodiment outputs a control signal based on a first voltage value that reflects the steady-state or overall level of the input terminal voltage of the first control switch over time and a second voltage value that reflects the steady-state or overall level of the output terminal voltage over time. This reduces the probability of the first control switch frequently switching due to large ripple on the input voltage, improves the stability of the output voltage of at least one power supply branch, and promptly identifies reverse current, switches the reverse current path, and protects the front-end power supply.
[0087] Based on any of the above embodiments, in one embodiment of this application, obtaining the electrical parameters of the input terminal of the first control switch in at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch includes: obtaining the voltage of the input terminal of the first control switch in at least one power supply branch and the voltage of the output terminal of the at least one power supply branch at a first frequency; wherein, the first voltage value is the average value of the voltage of the input terminal of the first control switch obtained at the first frequency, so as to characterize the voltage input to the input terminal of the first control switch using the average value of the input voltage of the first control switch; and the second voltage value is the average value of the voltage of the output terminal of the at least one power supply branch obtained at the first frequency, so as to characterize the voltage output to the output terminal of the at least one power supply branch using the average value of the output voltage of the at least one power supply branch.
[0088] Optionally, in this embodiment, the first frequency is related to the reference frequency of the ripple signal superimposed on the power output signal in the at least one power supply branch. For example, the first frequency is 3-5 times the reference frequency of the ripple signal superimposed on the power output signal in the at least one power supply branch. This allows multiple samples such as troughs, medians, and peaks to be collected in each ripple signal cycle, so that the voltage characterization value obtained after processing reflects the steady-state level of the voltage and eliminates the interference of ripple on the instantaneous voltage. This prevents the control method from misjudging the voltage difference direction due to ripple signal fluctuations, and avoids occupying too many resources of the controller executing the control method due to excessively high sampling frequency. A balance is achieved between resource consumption and accuracy without increasing hardware costs.
[0089] Optionally, in one embodiment of this application, outputting the control signal based on the first voltage value and the second voltage value corresponding to the first control switch includes:
[0090] Based on the first voltage value and the second voltage value corresponding to the first control switch, the current value and current direction flowing through the first control switch are determined;
[0091] If the direction of the current flowing through the first control switch is from the input terminal of the first control switch to the output terminal of the first control switch, a second control signal is output. The second control signal is used to control the working state of the control path so that the working state of the first control switch is on.
[0092] If the direction of the current flowing through the first control switch is from the output terminal of the first control switch to the input terminal of the first control switch, and the current value of the current flowing through the first control switch is less than or equal to the first threshold, the second control signal is output so that the first control switch is in the on state.
[0093] If the direction of the current flowing through the first control switch is from the output terminal of the first control switch to the input terminal of the first control switch, and the current value of the current flowing through the first control switch is greater than the first threshold, a first control signal is output. The first control signal is used to control the working state of the control path so that the working state of the first control switch is closed.
[0094] It should be noted that in application scenarios where the control path can control the first control switch to be turned on when the switch driving unit controls the first control switch to be turned on, the first control signal is used to control the control path to be turned on, and the second control signal is used to control the control path to be turned off; in application scenarios where the control path can control the first control switch to be turned on when the switch driving unit controls the first control switch to be turned off, the first control signal is used to control the control path to be turned off, and the second control signal is used to control the control path to be turned on.
[0095] The following description continues with an example of the control path being able to control the first control switch to close when the switch driving unit controls the first control switch to be turned on, to illustrate the control method provided in the embodiments of this application.
[0096] like Figure 3 As shown, in this embodiment, based on the first voltage value and the second voltage value corresponding to the first control switch, the output control signal includes:
[0097] Based on the first voltage value and the second voltage value corresponding to the first control switch, the current value and current direction flowing through the first control switch are determined;
[0098] If the direction of the current flowing through the first control switch is from the input terminal of the first control switch to the output terminal of the first control switch (i.e., the current direction is positive), it indicates that the power supply branch where the first control switch is located is working normally. At this time, the control method outputs a second control signal, which is used to control the control path to close, so that the first control switch remains in the conducting state in response to the conduction signal output by the switch drive unit.
[0099] If the current flowing through the first control switch is directed from its output terminal to its input terminal, it indicates that the current direction in the power supply branch containing the first control switch is reversed, resulting in reverse current flow. In this case, it is further determined whether the current value flowing through the first control switch is greater than a first threshold to assess the degree of reverse current flow. Specifically,
[0100] If the current value flowing through the first control switch is less than or equal to the first threshold, it indicates that the backflow phenomenon is mild. The control method outputs the second control signal to control the control path to close, so that the first control switch remains in the conducting state in response to the conduction signal output by the switch drive unit, thereby reducing the switching frequency of the first control switch and improving the stability of the output voltage at the output terminal.
[0101] If the current value flowing through the first control switch is greater than the first threshold, it indicates that the reverse current phenomenon is serious. The first control signal is output to control the control path to be turned on, and a preset voltage is applied to the control terminal of the first control switch to forcibly turn off the first control switch, switch the reverse current path, and protect the front-end power supply.
[0102] Optionally, in one embodiment of this application, determining the current value and direction flowing through the first control switch based on the first voltage value and the second voltage value corresponding to the first control switch includes: obtaining the difference between the first voltage value and the second voltage value based on the first voltage value and the second voltage value corresponding to the first control switch; and dividing the difference between the first voltage value and the second voltage value by the resistance of the first control switch to obtain the current value and direction flowing through the first control switch. It should be noted that the resistance value of the first control switch can be obtained based on its parameter settings and is a known parameter.
[0103] In another embodiment of this application, based on the first voltage value and the second voltage value corresponding to the first control switch, the output control signal includes:
[0104] When the first voltage value corresponding to the first control switch is greater than the second voltage value, it indicates that the power supply branch where the first control switch is located is working normally. At this time, the control method outputs a second control signal to control the working state of the control path, so that the working state of the first control switch is on.
[0105] When the first voltage value corresponding to the first control switch is less than the second voltage value, it indicates that there is a reverse voltage difference in the power supply branch where the first control switch is located, the current direction is reversed, and reverse flow has occurred. The first control signal is output to control the working state of the control path, so that the working state of the first control switch is closed.
[0106] Taking the control path being able to control the first control switch to close when the switch driving unit controls the first control switch to turn on as an example, in this embodiment, based on the first voltage value and the second voltage value corresponding to the first control switch, the output control signal includes:
[0107] When the first voltage value corresponding to the first control switch is greater than the second voltage value, it indicates that the power supply branch where the first control switch is located is working normally. At this time, the control method outputs a second control signal to control the control path to close, so that the first control switch remains in the conducting state in response to the conduction signal output by the switch drive unit.
[0108] When the first voltage value corresponding to the first control switch is less than the second voltage value, it indicates that there is a reverse voltage difference in the power supply branch where the first control switch is located, the current direction is reversed, and reverse current has occurred. The first control signal is output to control the control path to be turned on, and the preset voltage is applied to the control terminal of the first control switch to forcibly turn off the first control switch and switch the reverse current path.
[0109] In another embodiment of this application, based on the first voltage value and the second voltage value corresponding to the first control switch, the output control signal includes:
[0110] If the second voltage value is greater than the first voltage value corresponding to the first control switch, obtain the difference between the second voltage value and the first voltage value corresponding to the first control switch;
[0111] If the difference between the second voltage value and the first voltage value corresponding to the first control switch is greater than the second threshold, a first control signal is output. The first control signal is used to control the working state of the control path so that the working state of the first control switch is closed.
[0112] Taking the control path being able to control the first control switch to close when the switch driving unit controls the first control switch to be turned on as an example, such as... Figure 4 As shown, in this embodiment, based on the first voltage value and the second voltage value corresponding to the first control switch, the output control signal includes:
[0113] When the first voltage value corresponding to the first control switch is greater than the second voltage value, it indicates that the power supply branch where the first control switch is located is working normally. At this time, the control method outputs a second control signal to control the control path to close, so that the first control switch remains in the conducting state in response to the conduction signal output by the switch drive unit.
[0114] When the first voltage value corresponding to the first control switch is less than the second voltage value, it indicates that there is a reverse voltage difference in the power supply branch where the first control switch is located, and the current direction is reversed, resulting in reverse flow. At this time, it is further determined whether the difference between the second voltage value and the first voltage value is greater than the second threshold to assess the degree of reverse flow. Specifically, if the difference between the second voltage value and the first voltage value is less than or equal to the second threshold, it indicates that the reverse flow phenomenon is mild. The control method outputs a second control signal to control the control path to close, so that the first control switch remains in the conducting state in response to the conduction signal output by the switch drive unit, thereby reducing the switching frequency of the first control switch and improving the stability of the output voltage at the output terminal.
[0115] If the difference between the second voltage value and the first voltage value is greater than the second threshold, it indicates that the backflow phenomenon is serious. The first control signal is output to control the control path to be turned on, and the preset voltage is applied to the control terminal of the first control switch to forcibly turn off the first control switch and switch the backflow current path.
[0116] In summary, the control method provided in this application embodiment can output a control signal based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch. This control signal is used to control the conduction and shutdown of the control path. The control path can control the first control switch to a second working state when the switch driving unit controls the first control switch to a first working state. Thus, through a control path independent of the switch driving unit, the control method can actively intervene in the state of the first control switch when necessary. This not only reduces the switching frequency of the first control switch and improves the stability of the output voltage of the at least one power supply branch, but also promptly identifies the reverse current phenomenon in the power supply branch, cuts off the reverse current path, and protects the front-end power supply.
[0117] Accordingly, embodiments of this application also provide a control circuit, such as... Figure 5 As shown, the control circuit includes:
[0118] At least one power branch 10, the power branch 10 includes a power supply 11 and a first control switch 12, one end of the first control switch 12 is electrically connected to the power supply 11, and the other end is electrically connected to the output terminal Vout of the at least one power branch;
[0119] Control path 20, the control path 20 includes a second control switch, one end of the control path 20 is electrically connected to the control terminal of the first control switch 12, the other end is input with a preset voltage V0, and the control terminal is electrically connected to the controller 30;
[0120] A switch driving unit 40 is electrically connected to the first control switch 12 and is used to output a driving signal based on the electrical parameters of the input and output terminals of the first control switch 12. The driving signal is used to control the working state of the first control switch 12, and the working state of the first control switch 12 includes on and off.
[0121] The first port of the controller 30 is electrically connected to the input terminal of the first control switch 12, and the second port is electrically connected to the output terminal Vout of the at least one power supply branch. It is used to output a control signal based on the electrical parameters of the input terminal of the first control switch 12 in the at least one power supply branch 10 and the electrical parameters of the output terminal Vout of the at least one power supply branch 10. The control signal is used to control the working state of the control path 20. The working state of the control path 20 includes being on and off. The control path 20 can control the first control switch 12 to be in a second working state when the switch driving unit 30 controls the first control switch 12 to be in a first working state.
[0122] Specifically, in this embodiment, when the switch drive unit outputs an incorrect drive signal due to a pressure difference condition, the controller can still control the working state of the first control switch through the control path.
[0123] Optionally, in one embodiment of this application, when the switch drive unit erroneously outputs an incorrect turn-on signal due to differential voltage conditions (such as a large internal differential voltage comparison threshold), the controller can still shut down the first control switch through the control path. In this embodiment, the controller's sensitivity to reverse current can be higher than that of the switch drive unit. That is, if a reverse current exists in a power supply branch, the controller outputs a signal to shut down the first control switch before the switch drive unit, so as to identify the reverse current in time, cut off the reverse current path, and protect the power supply in the power supply branch. It should be noted that in this embodiment, the switch drive unit has a lower sensitivity to reverse current, which allows the switch drive unit to tolerate larger input ripple, reduce the switching frequency of the first control switch, and improve the stability of the output voltage of at least one power supply branch.
[0124] Optionally, in one embodiment of this application, the comparison voltage threshold set inside the switch driving unit is relatively large, so that the switch driving unit can tolerate large input ripple, reduce the switching frequency of the first control switch, and improve the stability of the output voltage of at least one power supply branch; however, this application does not limit this, and it depends on the specific situation.
[0125] In another embodiment of this application, when the switch driving unit erroneously outputs an incorrect shutdown signal due to differential voltage conditions (such as a small internal differential voltage comparison threshold), the controller can still turn on the first control switch through the control path. Optionally, in one embodiment of this application, the first control switch can be a MOSFET or other type of controllable switching device, whose input terminal refers to the end where current flows in, and whose output terminal refers to the end where current flows out to supply the load; the second control switch can be a MOSFET or other type of controllable switching device, whose input terminal is electrically connected to a preset voltage, whose output terminal is electrically connected to the control terminal of the first control switch, and whose control terminal is electrically connected to the controller, so that under the control of the controller, the preset voltage is applied to the control terminal of the first control switch.
[0126] It should be noted that, in this embodiment, the electrical parameters of the output terminal of at least one power branch are the electrical parameters of the overall output terminal of the at least one power branch. For example, when at least one power branch includes one power branch, the electrical parameters of the output terminal of the at least one power branch are the electrical parameters of the output terminal of that power branch; when at least one power branch includes at least two power branches, the electrical parameters of the output terminal of the at least one power branch refer to the electrical parameters of the overall output terminal after all the power branches are combined, rather than the electrical parameters of the output terminals of individual power branches.
[0127] Specifically, when at least one power supply branch includes at least two power supply branches, each power supply branch can supply power to the load through its own first control switch. That is, the input terminal of the first control switch of each power supply branch is connected to its own power supply, and the output terminal of each first control switch is connected to a common output terminal, which is used to supply power to the load.
[0128] Optionally, in one embodiment of this application, the switch driving unit may be an ORING chip, but this application does not limit this and it depends on the specific circumstances.
[0129] It should be noted that, in this embodiment, one end of the control path is electrically connected to the control terminal (i.e., the gate of the MOSFET) of the first control switch, and the other end receives a preset voltage. The control terminal is electrically connected to the controller to receive the control signal output by the controller. In this embodiment, the preset voltage is determined according to the type of the first control switch.
[0130] Specifically, in one embodiment of this application, the control path can control the first control switch to close when the switch driving unit controls the first control switch to be turned on. In this embodiment, if the first control switch is a PMOS and the preset voltage is high (such as the driving voltage VCC), when the control path is turned on, it pulls up the voltage of the control terminal of the first control switch, causing the first control switch to close. When the first control switch is an NMOS and the preset voltage is low (such as GND), when the control path is turned on, it provides a discharge path for the high-level signal output by the switch driving unit, pulls down the control terminal of the first control switch, and causes the first control switch to close.
[0131] In another embodiment of this application, when the switch driving unit controls the first control switch to close, it controls the first control switch to turn on. In this embodiment, if the first control switch is a PMOS, the preset voltage is low (e.g., GND). When the control path is on, the voltage of the control terminal of the first control switch is pulled low, so that the first control switch turns on. When the first control switch is an NMOS, the preset voltage is high (e.g., drive voltage VCC). When the control path is on, the voltage of the control terminal of the first control switch is pulled high, so that the first control switch turns on.
[0132] Optionally, in one embodiment of this application, the controller is a CPLD (Programmable Logic Device). The first port of the controller is electrically connected to the input terminal of the first control switch, and the second port is electrically connected to the output terminal of the at least one power supply branch. The controller is used to output a control signal based on the electrical parameters of the input terminal of the first control switch in at least one power supply branch of the power chip and the electrical parameters of the output terminal of the at least one power supply branch.
[0133] Optionally, in one embodiment of this application, the electrical parameters include current or voltage. In this embodiment, the control circuit includes N power supply branches, the first port includes N first sub-ports, each of the first sub-ports corresponds one-to-one with a power supply branch and is electrically connected to the input terminal of the first control switch in its corresponding power supply branch, and the second port includes a second sub-port, which is electrically connected to the common terminal of the output terminals of the N power supply branches, where N is a positive integer.
[0134] In another embodiment of this application, the electrical parameters include current and voltage. In this embodiment, the control circuit includes N power supply branches. The first port includes N first sub-ports and N third sub-ports. Each first sub-port corresponds to one of the power supply branches and is electrically connected to the input terminal of the first control switch in its corresponding power supply branch, acquiring the current input to the input terminal of the first control switch in the power supply branch corresponding to the acquirer. Each third sub-port corresponds to one of the power supply branches and is electrically connected to the input terminal of the first control switch in its corresponding power supply branch, acquiring the voltage input to the input terminal of the first control switch in the power supply branch corresponding to the acquirer. The second port includes a second sub-port and a fourth sub-port. The second sub-port is electrically connected to the common terminal of the output terminals of the N power supply branches to acquire the voltage of the common terminal. The fourth sub-port is electrically connected to the common terminal of the output terminals of the N power supply branches to acquire the current of the common terminal, where N is a positive integer.
[0135] Based on any of the above embodiments, in one embodiment of this application, when the control circuit includes N power supply branches, the control circuit includes N control paths, each control path corresponding to one of the power supply branches, and is used to control the working state of the first control switch in its corresponding power supply branch; correspondingly, the controller has a third port, the third port including multiple sub-output ports, each sub-output port corresponding to one of the control paths, and is used to provide control signals to its corresponding control path.
[0136] It should be noted that in this embodiment, the controller can execute the control method provided in any of the above embodiments. Since the relevant content of the control method has been described in detail in the above embodiments, it will not be repeated here.
[0137] In addition, such as Figure 6 As shown, this application embodiment also provides an electronic device, which includes the control circuit provided in any of the above embodiments, the control circuit including:
[0138] At least one power supply branch, the power supply branch including a power supply and a first control switch, one end of the first control switch being electrically connected to the power supply and the other end being electrically connected to the output terminal of the at least one power supply branch;
[0139] A control path, the control path including a second control switch, one end of the control path being electrically connected to the control terminal of the first control switch, the other end receiving a preset voltage, and the control terminal being electrically connected to the controller;
[0140] A switch driving unit is electrically connected to the input terminal of the first control switch and is used to output a driving signal based on the electrical parameters of the input and output terminals of the first control switch. The driving signal is used to control the working state of the first control switch, and the working state of the first control switch includes on and off.
[0141] The controller's first port is electrically connected to the input terminal of the first control switch, and its second port is electrically connected to the output terminal of the at least one power supply branch. It is used to output a control signal based on the electrical parameters of the input terminal of the first control switch in the at least one power supply branch and the electrical parameters of the output terminal of the power chip. The control signal is used to control the operating state of the control path, which includes being on and off. The control path can control the first control switch to a second operating state when the switch driving unit controls the first control switch to a first operating state.
[0142] Since the relevant details of the control circuit have been described in the above embodiments, this application will not repeat them here.
[0143] Optionally, in one embodiment of this application, the controller is further configured to control the power-on and power-off paths of the electronic device, thereby increasing the electrical connection between the original controller in the electronic device and the input terminal of the first control switch and the output terminal of at least one power supply branch, reusing the original controller in the electronic device to output control signals based on the electrical parameters of the input terminal of the first control switch in the at least one power supply branch and the electrical parameters of the output terminal of the power chip, simplifying the structure of the electronic device and reducing the cost of the electronic device.
[0144] Optionally, in one embodiment of this application, the electronic device may be a mobile phone, tablet computer, wearable device, in-vehicle device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc. This application embodiment does not limit this, and it depends on the specific situation.
[0145] In summary, the control circuit and electronic device provided in this application embodiment, wherein the controller outputs a control signal based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, the control signal being used to control the conduction and shutdown of the control path, the control path being able to control the first control switch to a second working state when the switch driving unit controls the first control switch to a first working state, thereby setting a control path independent of the switch driving unit and increasing the communication connection between the control path and the controller, enabling the controller to make a comprehensive judgment based on the input electrical parameters and the overall output terminal electrical parameters, thereby reducing the switching frequency of the first control switch and timely identifying the reverse current phenomenon in the power supply branch, when an abnormality (such as reverse current, voltage abnormality, etc.) is detected, the first control switch can be forcibly shut down through the control path, avoiding power backflow, short circuit or device damage caused by the switch driving unit erroneously outputting a conduction signal, thus protecting the power supply and load.
[0146] Moreover, the control circuit and electronic equipment provided in this application embodiment do not change the device layout of at least one power supply branch, nor do they change the connection relationship between the switch driving unit and the first control switch. They are simple to implement and have low cost.
[0147] The various embodiments in this specification are described in a progressive, parallel, or combined manner. Each embodiment focuses on its differences from other embodiments, and similar or identical parts between embodiments can be referred to interchangeably. For the apparatuses disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.
[0148] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
Claims
1. A control method applied to a controller, the control method comprising: The electrical parameters of the input terminal of the first control switch in at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch are obtained; wherein the at least one power supply branch can supply power to the load connected to the output terminal of the at least one power supply branch through the first control switch. Based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, a control signal is output; the control signal is used to control the working state of the control path, and the working state of the control path includes on and off; The control path can control the first control switch to a second working state when the switch driving unit controls the first control switch to a first working state, and the working state of the first control switch includes on and off.
2. The control method according to claim 1, based on the electrical parameters of the input terminal of the first control switch and the electrical parameters of the output terminal of the at least one power supply branch, the output control signal includes at least one of the following: Based on the current at the input terminal of each of the first control switches in at least two power supply branches and the current at the output terminal of the at least two power supply branches, a control signal is output, which is used to control the working state of the control path. Based on the voltage at the input terminal of the first control switch in at least one power supply branch and the voltage at the output terminal of the at least one power supply branch, a control signal is output, which is used to control the working state of the control path.
3. The control method according to claim 2, wherein the output control signal, based on the current at the input terminal of each of the first control switches in at least two power supply branches and the current at the output terminal of the at least two power supply branches, includes: Based on the current at the input terminal of each of the first control switches in the two power supply branches, a first current value is determined, wherein the first current value is the maximum value among the currents at the input terminals of each of the first control switches. If the first current value is greater than the current value at the output terminals of the at least two power supply branches, the control signal is output based on the first current value and the current value at the output terminals of the at least two power supply branches.
4. The control method according to claim 3, wherein the at least one power supply branch includes a first power supply branch and a second power supply branch; If the first current value is greater than the current value at the output terminals of the at least two power supply branches, based on the first current value and the current values at the output terminals of the at least two power supply branches, the control signal is output, including: Based on the first current value and the current values at the output terminals of the at least two power supply branches, a second current value is determined. The second current value is the difference between the first current value and the current values at the output terminals of the at least two power supply branches. The first current value is the current value at the input terminal of the first control switch in the second power supply branch. If the second current value is greater than the first threshold, a first control signal is output. The first control signal is used to control the working state of the control path so that the working state of the first control switch in the first power supply branch is closed.
5. The control method according to claim 2 or 3, wherein the output control signal, based on the voltage at the input terminal of the first control switch in at least one power supply branch and the voltage at the output terminal of the at least one power supply branch, includes: Based on the voltage at the input terminal of the first control switch, determine the first voltage value corresponding to the first control switch; A second voltage value is determined based on the voltage at the output terminal of the at least one power supply branch; The control signal is output based on the first voltage value and the second voltage value corresponding to the first control switch.
6. The control method according to claim 5, wherein obtaining the electrical parameters of the input terminal of the first control switch in at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch includes: The voltage at the input terminal of the first control switch in at least one power supply branch and the voltage at the output terminal of the at least one power supply branch are obtained at a first frequency, wherein the first frequency is related to the reference frequency of the ripple signal superimposed on the power output signal in the power supply branch. The first voltage is the average value of the voltage at the input terminal of the first control switch obtained at the first frequency, and the second voltage is the average value of the voltage at the output terminal of the at least one power supply branch obtained at the first frequency.
7. The control method according to claim 5, wherein outputting the control signal based on the first voltage value and the second voltage value corresponding to the first control switch includes: Based on the first voltage value and the second voltage value corresponding to the first control switch, the current value and current direction flowing through the first control switch are determined; If the direction of the current flowing through the first control switch is from the input terminal of the first control switch to the output terminal of the first control switch, a second control signal is output. The second control signal is used to control the working state of the control path so that the working state of the first control switch is on. If the direction of the current flowing through the first control switch is from the output terminal of the first control switch to the input terminal of the first control switch, and the current value of the current flowing through the first control switch is less than or equal to the first threshold, the second control signal is output so that the first control switch is in the on state. If the direction of the current flowing through the first control switch is from the output terminal of the first control switch to the input terminal of the first control switch, and the current value of the current flowing through the first control switch is greater than the first threshold, a first control signal is output. The first control signal is used to control the working state of the control path so that the working state of the first control switch is closed.
8. The control method according to claim 5, wherein the output control signal based on the first voltage value and the second voltage value corresponding to the first control switch includes: If the second voltage value is greater than the first voltage value corresponding to the first control switch, obtain the difference between the second voltage value and the first voltage value corresponding to the first control switch; If the difference between the second voltage value and the first voltage value corresponding to the first control switch is greater than the second threshold, a first control signal is output. The first control signal is used to control the working state of the control path so that the working state of the first control switch is closed.
9. A control circuit, comprising: At least one power supply branch, the power supply branch including a power supply and a first control switch, one end of the first control switch being electrically connected to the power supply and the other end being electrically connected to the output terminal of the at least one power supply branch; A control path, the control path including a second control switch, one end of the control path being electrically connected to the control terminal of the first control switch, the other end receiving a preset voltage, and the control terminal being electrically connected to the controller; A switch driving unit is electrically connected to the first control switch and is used to output a driving signal based on the electrical parameters of the input and output terminals of the first control switch. The driving signal is used to control the working state of the first control switch, and the working state of the first control switch includes on and off. The controller has a first port electrically connected to the input terminal of the first control switch and a second port electrically connected to the output terminal of the at least one power supply branch. It is used to output a control signal based on the electrical parameters of the input terminal of the first control switch in the at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch. The control signal is used to control the operating state of the control path, which includes being on and off. The control path can control the first control switch to a second operating state when the switch driving unit controls the first control switch to a first operating state.
10. An electronic device, comprising a control circuit, the control circuit comprising: At least one power supply branch, the power supply branch including a power supply and a first control switch, one end of the first control switch being electrically connected to the power supply and the other end being electrically connected to the output terminal of the at least one power supply branch; A control path, the control path including a second control switch, one end of the control path being electrically connected to the control terminal of the first control switch, the other end receiving a preset voltage, and the control terminal being electrically connected to the controller; A switch driving unit is electrically connected to the first control switch and is used to output a driving signal based on the electrical parameters of the input and output terminals of the first control switch. The driving signal is used to control the working state of the first control switch, and the working state of the first control switch includes on and off. The controller has a first port electrically connected to the input terminal of the first control switch and a second port electrically connected to the output terminal of the at least one power supply branch. It is used to output a control signal based on the electrical parameters of the input terminal of the first control switch in the at least one power supply branch and the electrical parameters of the output terminal of the at least one power supply branch. The control signal is used to control the operating state of the control path, which includes being on and off. The control path can control the first control switch to a second operating state when the switch driving unit controls the first control switch to a first operating state.