The embodiments relate to the field of power supply technologies, and to a multi-input power supply circuit and an electronic device.
An electronic device includes a power supply circuit and a load. The power supply circuit is configured to receive an input voltage provided by an external power supply, process the input voltage, and then provide an output voltage for the load, to drive the load to operate.
A multi-input power supply circuit is a power supply circuit that can simultaneously receive a plurality of input voltages. The multi-input power supply circuit receives the plurality of input voltages respectively through a plurality of input interfaces, and provides an output voltage for the load based on one of the input voltages. The multi-input power supply circuit further includes a sampling circuit and a control circuit. The sampling circuit includes isolators such as optocouplers, isolated power supplies that supply power to the isolators, and the like. The isolator may sample voltage values of the plurality of input voltages, and send feedback signals to the control circuit. The control circuit controls, based on the feedback signal, an input interface of one of the input voltages to be connected to the power conversion circuit, so that the power conversion circuit processes the input voltage and then provides an output voltage for the load.
However, in the conventional technology, complexity of a structure of the multi-input power supply circuit is high.
The embodiments provide a multi-input power supply circuit and an electronic device, to resolve a problem of high complexity of a structure of a multi-input power supply circuit in the conventional technology.
A first aspect of the embodiments provides a multi-input power supply circuit, including a plurality of input interfaces, a first switch, a power conversion circuit, a sampling circuit, and a control circuit. The sampling circuit includes at least one resistor. The at least one resistor is configured to: provide a voltage feedback signal for the control circuit based on voltage values of input voltages of the plurality of input interfaces; and provide a function of isolation between the control circuit and the input interfaces. The control circuit controls the first switch based on the voltage feedback signals. For example, the control circuit controls an input end of the first switch to be connected to an output end, so that the power conversion circuit provides an output voltage for a load based on the input voltages provided by the input interfaces. In the multi-input power supply circuit provided in this embodiment, the sampling circuit may implement functions of input voltage sampling and isolation by using the at least one resistor. Therefore, complexity of a circuit structure of the sampling circuit is low, thereby reducing the complexity and costs of the circuit structure of the multi-input power supply circuit. In addition, in the multi-input power supply circuit provided in this embodiment, the at least one resistor in the sampling circuit does not introduce more interference, and overall reliability of the multi-input power supply circuit can also be improved.
In an embodiment of the first aspect, the sampling circuit includes a plurality of sampling subcircuits, and each sampling subcircuit includes a plurality of resistors that are connected in series. An input end of the plurality of resistors that are connected in series may be configured to connect to a positive electrode or a negative electrode of one input interface, and an output end of the plurality of resistors that are connected in series is connected to the control circuit. The plurality of resistors may be configured to provide a voltage feedback signal for the control circuit based on a voltage value of the connected positive electrode or negative electrode. In the multi-input power supply circuit provided in this embodiment, the sampling circuit may implement the sampling and isolation functions by using the plurality of resistors that are connected in series. Even if the multi-input power supply circuit has more input interfaces, only a resistor needs to be added to the sampling circuit, thereby greatly reducing the complexity of the structure of the multi-input power supply circuit.
In an embodiment of the first aspect, the multi-input power supply circuit sends the voltage feedback signals to the control circuit by using the plurality of sampling subcircuits. In the multi-input power supply circuit provided in this embodiment, the sampling circuit can provide, for the control circuit, a voltage feedback signal that is more suitable for processing by the control circuit, thereby improving processing efficiency and stability of the control circuit.
In an embodiment of the first aspect, the multi-input power supply circuit further includes a second switch. The control circuit may control an input end, corresponding to an input interface, of the second switch to be connected to an output end of the second switch. In this way, the sampling circuit can provide, through the second switch, a voltage feedback signal for the control circuit based on an input voltage of the input interface, and the control circuit can determine a voltage value of the input voltage of the input interface based on the voltage feedback signal. Therefore, in the multi-input power supply circuit provided in this embodiment, only two sampling subcircuits need to be disposed, and the sampling subcircuits are controlled, by using the second switch, to be connected to different input interfaces. Even if the multi-input power supply circuit has more input interfaces, only an input end of the second switch needs to be added, thereby further reducing the complexity of the structure of the multi-input power supply circuit and further reducing the costs of the multi-input power supply circuit.
In an embodiment of the first aspect, the sampling circuit includes a plurality of variable resistors. The sampling circuit provides, by using the plurality of variable resistors, the voltage feedback signal for the control circuit based on the input voltages of the input interfaces, and provides the function of isolation between the control circuit and the input interfaces. In the multi-input power supply circuit provided in this embodiment, the sampling circuit also has the sampling and isolation functions, and the complexity of the structure of the circuit is further greatly reduced. Even if the multi-input power supply circuit has more input interfaces, only a variable resistor needs to be added to the sampling circuit. In addition, resistance values of the variable resistors may be adjusted based on input voltages of input ends of the variable resistors, thereby improving flexibility of the multi-input power supply circuit. Therefore, the multi-input power supply circuit can be used in more different scenarios such as a scenario of a variable input voltage, thereby enriching functions and application scenarios of the multi-input power supply circuit.
In an embodiment of the first aspect, the control circuit may respond to a case in which a voltage value of an input voltage of a first input interface in the plurality of input interfaces is within an operating voltage range required by the load, and then the control circuit controls a first input end, corresponding to the first input interface, of the first switch to be connected to an output end of the first switch. Therefore, an input voltage that is provided by a power supply and that meets an operating requirement of the load can be determined from input voltages provided by a plurality of power supplies, to supply power to the load, thereby ensuring stable operation of the load.
In an embodiment of the first aspect, the control circuit may respond to a case in which the voltage value of the input voltage of the first input interface in the plurality of input interfaces is not within the operating voltage range required by the load, and then the control circuit controls a second input end, corresponding to a second input interface, of the first switch to be connected to the output end of the first switch. Therefore, when the plurality of power supplies provides the input voltages, and an input voltage provided by one power supply cannot drive the load to operate normally, switching to an input voltage provided by another power supply can be performed in time, to supply power to the load, thereby ensuring continuous and stable operation of the load.
In an embodiment of the first aspect, the control circuit may respond to a case in which the voltage values of the input voltages of all the plurality of input interfaces are not within the operating voltage range required by the load, and then the control circuit controls the plurality of input ends of the first switch to be all disconnected from the output end of the first switch. Therefore, when none of the input voltages provided by the plurality of power supplies can drive the load to operate normally, the first switch may be controlled to disconnect in time the input voltages provided by all the power supplies. This provides protection for the multi-input power supply circuit and the subsequent load, thereby improving safety of the multi-input power supply circuit.
In an embodiment of the first aspect, the control circuit may respond to a case in which the voltage values of the input voltages of all the plurality of input interfaces are not within the operating voltage range required by the load and a sum of voltage values of a plurality of target input interfaces in the plurality of input interfaces is within the required operating voltage range, and then the control circuit controls the input ends, corresponding to the plurality of target input interfaces, of the first switch to be connected in series, and then connects the plurality of target input interfaces to the output end of the first switch after the series connection. Therefore, the load can still operate continuously and normally when none of the input voltages provided by all the power supplies is within the operating voltage range.
In an embodiment of the first aspect, the power conversion circuit of the multi-input power supply circuit includes a power factor correction circuit and a direct current conversion circuit.
In an embodiment of the first aspect, the control circuit may be integrated into the power factor correction circuit or the direct current conversion circuit, so that the multi-input power supply circuit has higher integration, thereby further reducing the complexity of the structure of the multi-input power supply circuit.
In an embodiment of the first aspect, input voltages of the multi-input power supply circuit are alternating-current voltage or direct-current voltage. The multi-input power supply circuit provided in this embodiment is highly flexible, and can be used in different scenarios.
A second aspect of the embodiments provides an electronic device, including a load and the multi-input power supply circuit according to any one of the embodiments of the first aspect. The multi-input power supply circuit is connected to a plurality of power supplies; and may be configured to obtain an input voltage provided by any one of the plurality of power supplies, process the input voltage, and provide an output voltage for the load.
To describe solutions in embodiments or in the conventional technology more clearly, the following briefly describes the accompanying drawings used in describing embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments, and persons of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly describes the solutions in embodiments with reference to the accompanying drawings. It is clear that the described embodiments are merely some, but not all, of the embodiments. All other embodiments obtained by persons of ordinary skill in the art based on embodiments herein without creative efforts shall fall within the scope of the embodiments.
In the embodiments and accompanying drawings, the terms “first”, “second”, “third”, “fourth”, and so on (if existent) are intended to distinguish between similar objects, but do not necessarily indicate a specific order or sequence. It should be understood that the data termed in such a way are interchangeable in proper circumstances so that embodiments described herein can be implemented in orders other than the order illustrated or described herein. In addition, the terms “include”, “have”, and any other variants are intended to cover the non-exclusive inclusion. For example, a process, method, system, product, or device that includes a list of steps or units is not necessarily limited to those steps or units that are expressly listed, but may include other steps or units that are not expressly listed or inherent to such a process, method, product, or device.
A connection relationship described in the embodiments means a direct or an indirect connection. For example, that A is connected to B may be that A is directly connected to B, or that A is indirectly connected to B through one or more other electrical components. For example, that A is indirectly connected to B may be that A is directly connected to C, and C is directly connected to B. In this way, A is connected to B through C. It may be further understood that “A is connected to B” described in the embodiments may be that A is directly connected to B, or may be that A is indirectly connected to B through one or more other electrical components.
The multi-input power supply circuit 10 may be configured to receive input voltages provided by a plurality of power supplies. For example, in the examples shown in
In an embodiment, an input voltage may be provided by an external power supply of the electronic device 1, or may be provided by an internal power supply of the electronic device 1.
Because the multi-input power supply circuit 10 can simultaneously receive the input voltages provided by the plurality of power supplies, when a power supply in the plurality of power supplies is faulty, the multi-input power supply circuit 10 can also continue to supply power to the load 20 based on an input voltage provided by another power supply that is not faulty. The multi-input power supply circuit 10 is highly reliable, and can ensure continuous and stable running of the load 20.
A plurality of input ends of the first switch 102 are respectively connected to the plurality of input interfaces 101. For example, an input end a of the first switch 102 provided in
In an embodiment, a plurality of input voltages of the multi-input power supply circuit 10 may be direct-current, and an output voltage of the multi-input power supply circuit may be direct-current. Alternatively, input voltages of the multi-input power supply circuit 10 may be alternating-current voltage. When the input voltages of the multi-input power supply circuit 10 are alternating-current voltage, the multi-input power supply circuit 10 may further perform voltage conversion on the alternating currents, and provide an output voltage Vo in a direct-current form.
An output end o of the first switch 102 is connected to an input end of the power conversion circuit 103. The first switch 102 may be configured to connect one input end to the output end o of the first switch 102. In this way, the power conversion circuit 103 can receive an input voltage through the output end o of the first switch 102 and an input interface 101 connected to the connected input end. For example, when the input end a of the first switch 102 is connected to the output end o of the first switch 102, the power conversion circuit 103 may receive, through the output end o of the first switch 102 and the input interface 101A connected to the input end a of the first switch 102, the input voltage VA provided by the power supply A.
The power conversion circuit 103 may be configured to: perform processing such as power factor correction and voltage conversion on the input voltage, and then provide the output voltage Vo. In an embodiment, the power conversion circuit 103 includes a power factor correction (PFC) circuit and a direct current conversion (DC-DC) circuit. The power factor correction circuit is configured to adjust a power factor (PF) of an input voltage, and the direct current conversion circuit is configured to perform voltage conversion processing on the input voltage to obtain the output voltage Vo.
A plurality of input ends of the sampling circuit 104 are respectively connected to the plurality of input interfaces 101, and an output end of the sampling circuit 104 is connected to the control circuit 105. The sampling circuit 104 is configured to send voltage feedback signals to the control circuit 105 based on voltage values of input voltages of the plurality of input interfaces 101. The voltage feedback signals are used to indicate the voltage values of the plurality of input voltages of the multi-input power supply circuit 10.
The control circuit 105 is connected to the sampling circuit 104 and the first switch 102. The control circuit 105 may be configured to control the first switch 102. For example, the control circuit 105 may receive the voltage feedback signals sent by the sampling circuit 104, and control one input end of the first switch 102 to be connected to the output end o of the first switch 102 based on the voltage feedback signals.
In an embodiment, the control circuit 105 is further connected to the power conversion circuit 103. The control circuit 105 may be configured to control the power conversion circuit 103. For example, the control circuit 105 may be configured to control on/off of a switch transistor in the power conversion circuit 103, so that the power conversion circuit 103 performs processing such as voltage conversion on the input voltage received by the input end of the power conversion circuit 103, to obtain the output voltage Vo.
In an embodiment, the control circuit 105 may be a pulse-width modulation (PWM) controller, a central processing unit (CPU), another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or another programmable logic device, a discrete gate or a transistor logic device, or the like.
In an embodiment, the control circuit 105 may be dedicated to controlling the first switch 102. Alternatively, the control circuit 105 may be integrated into the power factor correction circuit, and the control circuit 105 may be configured to control the first switch 102 and the power factor correction circuit. Alternatively, the control circuit 105 may be integrated into the direct current conversion circuit, and the control circuit 105 may be configured to control the first switch 102 and the direct current conversion circuit. Alternatively, the control circuit 105 may be integrated into the power conversion circuit 103, and the control circuit 105 may be configured to control the first switch 102 and the power conversion circuit 103.
In an embodiment, the voltage values of the input voltages of the input interfaces 101 of the multi-input power supply circuit 10 are relatively large, and a voltage value within a voltage range of a voltage signal that can be processed by the control circuit 105 is relatively small. Therefore, the sampling circuit 104 further has an isolation function, so that safety and reliability of the control circuit 105 and the multi-input power supply circuit 10 in which the control circuit 105 is located can be improved. For example, a voltage value of an input voltage received by the input end of the sampling circuit 104 is relatively large. In this case, the sampling circuit 104 may be configured to: perform voltage conversion processing on the input voltage to obtain a voltage feedback signal of a relatively small voltage value, and send the voltage feedback signal of the relatively small voltage value to the control circuit 105, so that the control circuit 105 can process the voltage feedback signal within a safe voltage range.
In the multi-input power supply circuit 10 provided in the conventional technology, the sampling circuit 104 includes isolators such as optocouplers, and further includes isolated power supplies that supply power to the isolators, and the like. The optocouplers in the sampling circuit 104 may implement both the following functions: a function of performing sampling processing on the input voltages of the input interfaces 101 to obtain the voltage feedback signals, and a function of isolation between the control circuit 105 and the input interfaces 101. However, when there is a large quantity of input interfaces 101 of the multi-input power supply circuit 10, a corresponding isolator and a corresponding isolated power supply need to be disposed in the sampling circuit 104 for each input interface 101. This greatly increases complexity of a structure of the multi-input power supply circuit 10 and increases costs of the multi-input power supply circuit 10. In addition, because a relatively large quantity of components such as the isolator and the isolated power supply are disposed in the multi-input power supply circuit 10, complexity of connection lines is high in specific implementation of the multi-input power supply circuit 10, and more interference is generated between the connection lines. In addition, the isolator of the sampling circuit 104 that is powered by the isolated power supply is an active device, and also generates more electromagnetic interference. As a result, overall reliability of the multi-input power supply circuit 10 is reduced.
Due to the foregoing problem of high circuit complexity of the multi-input power supply circuit 10 in the conventional technology, the embodiments provide a multi-input power supply circuit 10, to reduce the complexity of the structure of the multi-input power supply circuit 10. The following describes the solutions of the embodiments in detail by using specific embodiments. The following several specific embodiments may be combined with each other, and a or similar concept or process may not be described repeatedly in some embodiments.
In
An input end a+ and an input end a− of the first switch 102 are connected to the input interface 101A, and the first switch 102 may receive, through the input interface 101A, the input voltage VA provided by the power supply A. An input end b+ and an input end b− of the first switch are connected to the input interface 101B, and the first switch 102 may receive, through the input interface 101B, the input voltage VB provided by the power supply B. A positive output end o+ and a negative output end o− of the first switch 102 are respectively connected to positive and negative input ends of the power conversion circuit 103.
The first switch 102 may be configured to connect the input end a+ to the positive output end of, and connect the input end a− to the negative output end o−, so that the power conversion circuit 103 can receive the input voltage VA through the first switch 102 and the input interface 101A. Alternatively, the first switch 102 may be configured to connect the input end b+ to the positive output end o+, and connect the input end b− to the negative output end o−, so that the power conversion circuit 103 can receive the input voltage VB through the first switch 102 and the input interface 101B.
The power conversion circuit 103 may be configured to: perform processing such as power factor correction and voltage conversion on the received input voltage VA or the input voltage VB, and then provide an output voltage Vo.
In an embodiment, the sampling circuit 104 includes a plurality of sampling subcircuits. Each sampling subcircuit includes a plurality of resistors that are connected in series. An input end of the plurality of resistors that are connected in series is connected to a positive electrode or a negative electrode of an input interface 101, and an output end of the plurality of resistors is connected to the control circuit 105.
In an embodiment, the multi-input power supply circuit 10 further includes a plurality of operational amplifiers. A positive input end and a negative input end of each operational amplifier are respectively connected, through one sampling subcircuit, to a positive electrode and a negative electrode that correspond to a input interface.
For example, in the embodiment shown in
The positive voltage VA+ of the input end of the first sampling subcircuit 1041 is divided by the four resistors R1 to R4 to obtain a first voltage feedback signal, and the input end of the first sampling subcircuit 1041 outputs the first voltage feedback signal to the positive electrode of the first operational amplifier C1. The negative voltage VA− of the input end of the second sampling subcircuit 1042 is divided by four resistors R1 to R4 to obtain a second voltage feedback signal, and the input end of the second sampling subcircuit 1042 outputs the second voltage feedback signal to the negative electrode of the first operational amplifier C1. The first operational amplifier C1 provides, based on the first voltage feedback signal and the second voltage feedback signal, an amplified voltage feedback signal of the input voltage VA for the control circuit 105. The voltage feedback signal is used to indicate a voltage value of the input voltage VA provided by the power supply A. Similarly, the second operational amplifier C2 provides an amplified voltage feedback signal of the input voltage VB for the control circuit 105. The voltage feedback signal indicates a voltage value of the input voltage VB provided by the power supply B.
The control circuit 105 may determine the voltage value of the input voltage VA based on the received voltage feedback signal of the input voltage VA, and determine the voltage value of the input voltage VB based on the received voltage feedback signal of the input voltage VB. The control circuit 105 may control the first switch 102 based on the voltage value of the input voltage VA and the voltage value of the input voltage VB. Alternatively, the control circuit may control the power conversion circuit 103 and the like based on the voltage value of the input voltage VA and the voltage value of the input voltage VB.
In addition, after the input voltage received by the input end of the plurality of resistors that are connected in series in the sampling circuit 104 is divided, the voltage value of the voltage feedback signal provided by the output end of the plurality of resistors that are connected in series is different from the voltage value of the input voltage. Therefore, the plurality of resistors that are connected in series in the sampling circuit 104 can further provide the function of isolation between the control circuit 105 and the input interfaces 101. In a specific implementation process, parameters such as a specific quantity of the plurality of resistors that are connected in series in the sampling circuit 104 and resistance values of these resistors may be correspondingly set based on a voltage value of the input end and a voltage value of the output end of the plurality of resistors, so that the plurality of resistors can meet a voltage isolation requirement. For example, when the voltage value of the input voltage of the input end of the plurality of resistors is relatively large, more resistors that are connected in series may be disposed; when the voltage value of the input voltage of the input end of the plurality resistors is relatively small, fewer resistors that are connected in series may be disposed; or the like. This ensures that the voltage value of the voltage feedback signal provided by the output end of the plurality of resistors can meet a voltage range of a signal that can be processed by the control circuit 105.
It should be noted that in the example shown in
Thus, in the multi-input power supply circuit 10 provided in this embodiment, the sampling circuit 104 includes a plurality of resistors that are connected in series. The plurality of resistors that are connected in series may provide voltage feedback signals for the control circuit 105 based on the input voltages of the input interfaces 101, and provide the function of isolation between the control circuit 105 and the input interfaces 101. In the sampling circuit 104 provided in this embodiment, a sampling function and an isolation function can be both implemented by using only a plurality of resistors that are connected in series. This greatly reduces complexity of a circuit structure of the sampling circuit 104 while the sampling function and the isolation function are implemented. Even if the multi-input power supply circuit 10 has more input interfaces 101, only a resistor needs to be added to the sampling circuit 104. Therefore, the complexity and costs of the structure of the multi-input power supply circuit 10 provided in this embodiment are low. In addition, resistors used for sampling and isolation in the multi-input power supply circuit 10 are all passive devices, and complexity of connection lines used when the resistors are disposed is low. Because interference generated by the plurality of resistors that are connected in series is small, overall reliability of the multi-input power supply circuit 10 can also be improved.
The sampling circuit 104 shown in
The second switch 107 includes four input ends. An input end p+ is connected to a positive electrode VA+ of an input interface 101A, an input end p− is connected to a negative electrode VA− of the input interface 101A, an input end q+ is connected to a positive electrode VB+ of an input interface 101B, and an input end q− is connected to a negative electrode VB− of the input interface 101B. The second switch 107 includes two output ends. An output end r is connected to an input end of the first sampling subcircuit 1041, and an output end s is connected to an input end of the second sampling subcircuit 1042. An output end of the first sampling subcircuit 1041 is connected to a positive electrode of a first operational amplifier C1, and an output end of the second sampling subcircuit 1042 is connected to a negative electrode of the first operational amplifier C1. An output end of the first operational amplifier C1 is connected to the control circuit 105.
The control circuit 105 is further connected to a control end of the second switch 107, and the control circuit 105 may be configured to control one input end of the second switch 107 to be connected to the output end of the second switch 107.
For example, when the control circuit 105 controls the input end p+, corresponding to the input interface 101A, to be connected to the output end r, and controls the input end p− to be connected to the output end s, the sampling circuit 104 may be configured to: sample, by using the second switch 107, the input voltage VA received by the input interface 101A, and provide a voltage feedback signal for the control circuit 105 through the first power amplifier C1. In addition, the sampling circuit 104 is further configured to provide a function of isolation between the input interface 101A and the control circuit 105. The control circuit 105 may determine a voltage value of the input voltage VA of the input interface 101A based on the voltage feedback signal.
For another example, when the control circuit 105 controls the input end q+, corresponding to the input interface 101B, to be connected to the output end r, and controls the input end q− to be connected to the output end s, the sampling circuit 104 may be configured to: sample, by using the second switch 107, the input voltage VB received by the input interface 101B, and provide a voltage feedback signal for the control circuit 105 through the first power amplifier C1. In addition, the sampling circuit 104 is further configured to provide a function of isolation between the input interface 101B and the control circuit 105. The control circuit 105 may determine a voltage value of the input voltage VB of the input interface 101B based on the voltage feedback signal.
It should be noted that in the example shown in
In an embodiment, the control circuit 105 may control all input ends of the second switch 107 to be sequentially connected to the output end. When each input end is connected to the output end, the sampling circuit 104 can provide a voltage feedback signal for the control circuit 105 based on an input voltage of an input interface connected to the input end. The control circuit 105 may sequentially receive a plurality of voltage feedback signals that correspond to input power supplies and that are received by using all the plurality of input interfaces, and the control circuit 105 may determine voltage values of the plurality of input voltages of the multi-input power supply circuit 10 based on the plurality of voltage feedback signals.
Accordingly, the multi-input power supply circuit 10 provided in this embodiment further includes a second switch. The control circuit 105 may control an input end, corresponding to an input interface, of the second switch 107 to be connected to an output end of the second switch 107. In this way, the sampling circuit 104 can provide, through the second switch 107, a voltage feedback signal for the control circuit 105 based on the input voltage of the input interface, and the control circuit 105 can determine a voltage value of the input voltage of the input interface based on the voltage feedback signal. If a voltage value of an input voltage of another input interface needs to be determined, the control circuit 105 may control an input end, corresponding to the another input interface, of the second switch 107 to be connected to the output end. Therefore, in the multi-input power supply circuit 10 provided in this embodiment, only two sampling subcircuits need to be disposed, and the sampling subcircuits are controlled, by using the second switch 107, to be connected to different input interfaces 101. Even if the multi-input power supply circuit 10 has more input interfaces 101, a quantity of resistors does not need to be increased, and only a quantity of input ends of the second switch 107 needs to be increased, thereby further reducing complexity of a structure of the multi-input power supply circuit 10 and further reducing costs of the multi-input power supply circuit 10.
The sampling circuit 104 shown in
For example, in the embodiment shown in
A positive voltage VA+ of the input end of the first variable resistor 1045 is divided and then a first voltage feedback signal is output to the first operational amplifier C1, and a negative voltage VA− of the input end of the second variable resistor 1046 is divided and then a second voltage feedback signal is output to the first operational amplifier C1. The first operational amplifier C1 provides an amplified voltage feedback signal of the input voltage VA for the control circuit 105 based on the first voltage feedback signal and the second voltage feedback signal. Similarly, the second operational amplifier C2 provides an amplified voltage feedback signal of the input voltage VB for the control circuit 105.
The control circuit 105 may determine a voltage value of the input voltage VA based on the received voltage feedback signal of the input voltage VA, and determine a voltage value of the input voltage VB based on the received voltage feedback signal of the input voltage VB.
The control circuit 105 may further adjust a resistance value of each variable resistor. For example, when a voltage value of an input voltage of an input end of a variable resistor is large, the control circuit 105 may control the variable resistor to increase a resistance value; when a voltage value of an input voltage of an input end of a variable resistor is small, the control circuit 105 may control the variable resistor to reduce a resistance value; or the like. This ensures that voltage values of voltage feedback signals provided by output ends of the variable resistors can all meet a voltage range of a signal that can be processed by the control circuit 105, thereby ensuring stability of the control circuit 105.
Therefore, in the multi-input power supply circuit 10 provided in this embodiment, the sampling circuit 104 provides, by using the plurality of variable resistors, voltage feedback signals for the control circuit 105 based on the input voltages of the input interfaces 101, and provides a function of isolation between the control circuit 105 and the input interfaces 101. The sampling circuit 104 provided in this embodiment also has both sampling and isolation functions. Compared with the sampling circuit 104 in which the isolator and the isolated power supply are disposed and that is of the multi-input power supply circuit 10 provided in the conventional technology, the sampling circuit 104 provided in this embodiment greatly reduces complexity of a circuit structure. Even if the multi-input power supply circuit 10 has more input interfaces 101, only a variable resistor needs to be added to the sampling circuit 104. In addition, resistance values of the variable resistors may be adjusted based on input voltages of input ends of the variable resistors, thereby improving flexibility of the multi-input power supply circuit 10. Therefore, the multi-input power supply circuit 10 can be used in more different scenarios such as a scenario of a variable input voltage, thereby enriching functions and application scenarios of the multi-input power supply circuit 10.
The following describes a process in which the control circuit 105 provided in this embodiment can control the first switch 102 based on the voltage feedback signal. It may be understood that the control circuit 105 in the same multi-input power supply circuit may control the first switch 102 in one or more of the following manners.
In an embodiment, the control circuit 105 responds to a case in which a voltage value of an input voltage of a first input interface in the plurality of input interfaces 101 is within an operating voltage range required by the load 20, and then the control circuit 105 controls a first input end, corresponding to the first input interface, of the first switch 102 to be connected to an output end of the first switch 102. The multi-input power supply circuit 10 shown in
In an embodiment, the control circuit 105 responds to a case in which the voltage value of the input voltage of the first input interface in the plurality of input interfaces 101 is not within the operating voltage range required by the load 20, and the control circuit 105 controls a second input end, corresponding to a second input interface in the plurality of input interfaces 101, of the first switch 102 to be connected to the output end of the first switch 102. The multi-input power supply circuit 10 shown in
In an embodiment, the control circuit 105 responds to a case in which the voltage values of the input voltages of all the plurality of input interfaces are not within the operating voltage range required by the load 20, and the control circuit 105 controls the plurality of input ends of the first switch 102 to be all disconnected from the output end of the first switch 102. In this embodiment, when none of the input voltages provided by the plurality of power supplies can drive the load 20 to operate normally, the control circuit 105 of the multi-input power supply circuit 10 can control the first switch 102 to disconnect in time the input voltages provided by all the power supplies. This provides protection for the multi-input power supply circuit 10 and the subsequent load, thereby improving safety of the multi-input power supply circuit 10.
In an embodiment, the control circuit 105 responds to a case in which the voltage values of the input voltages of all the plurality of input interfaces 101 are not within the operating voltage range required by the load 20 and a sum of voltage values of a plurality of target input interfaces in the plurality of input interfaces 101 is within the required operating voltage range, and the control circuit 105 controls the input ends, corresponding to the plurality of target input interfaces, of the first switch 102 to be connected in series, and then connects the plurality of target input interfaces to the output end of the first switch 102 after the series connection. The multi-input power supply circuit 10 shown in
In the foregoing embodiments, the method performed by the control circuit 105 in the multi-input power supply circuit 10 provided in embodiments are described. To implement functions in the method provided in the foregoing embodiments, the control circuit 105 serving as an execution body may include a hardware structure and/or a software module, and implement the foregoing functions in a form of the hardware structure, the software module, or both the hardware structure and the software module. Whether a function in the foregoing functions is performed by using the hardware structure, the software module, or the combination of the hardware structure and the software module depends on particular applications and design constraints of the solutions. It should be noted and understood that division of modules of the foregoing apparatus is merely logic function division. During actual implementation, some or all of the modules may be integrated into one physical entity, or the modules may be physically separated. In addition, the modules may be all implemented in a form of software invoked by a processing element, or may be all implemented in a form of hardware. Alternatively, some modules may be implemented in a form of software invoked by a processing element, and some modules are implemented in a form of hardware. The modules may be separately disposed processing elements, or may be integrated into a chip of the foregoing apparatus for implementation. In addition, the modules may be stored in a memory of the foregoing apparatus in a form of program code, and are invoked by a processing element of the foregoing apparatus to perform functions of the modules. Implementations of other modules are similar to the implementation of the modules. In addition, all or some of the modules may be integrated together, or may be implemented independently. The processing element herein may be an integrated circuit, and have a signal processing capability. In an implementation process, steps in the foregoing methods or the foregoing modules can be implemented by using a hardware integrated logic circuit in the processing element, or by using instructions in a form of software. For example, the foregoing modules may be configured as one or more integrated circuits for implementing the foregoing methods, for example, one or more application-specific integrated circuits (ASIC), one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when one of the foregoing modules is implemented in a form of scheduling program code by a processing element, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or another processor that can invoke the program code. For another example, the modules may be integrated together and implemented in a form of a system-on-a-chip (SOC).
In the foregoing embodiments, all or some of the steps performed by the control circuit 105 may be implemented by using software, hardware, firmware, or any combination thereof. When software is used for the implementation, all or some of the steps may be implemented in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or some procedures or functions in embodiments are generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a non-transitory computer-readable storage medium or may be transmitted from a non-transitory computer-readable storage medium to another non-transitory computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The non-transitory computer-readable storage medium may be any usable medium accessible by the computer, or a data storage device, for example, a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid state disk (SSD)), or the like.
The embodiments further provide a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores computer instructions. When the computer instructions are executed, any method performed by the control circuit 105 in the foregoing embodiments may be performed.
An embodiment further provides a chip for running instructions. The chip is configured to perform any of the foregoing methods performed by the control circuit 105 in the embodiments.
An embodiment further provides a computer program product. The program product includes a computer program. The computer program is stored in a storage medium. At least one processor may read the computer program from the storage medium. When executing the computer program, the at least one processor may implement any of the foregoing methods performed by the control circuit 105 in the embodiments.
Persons of ordinary skill in the art may understand that all or a part of the steps in the foregoing embodiments may be implemented by hardware related to program instructions. The foregoing program may be stored in a non-transitory computer-readable storage medium. When the program is executed, the steps of the method embodiments are performed. The foregoing storage medium includes any medium that can store program code, such as a ROM, a magnetic disk, or an optical disc.
Persons of ordinary skill in the art may understand that, to facilitate description of the solutions of the embodiments, embodiments are separately described by using functional modules. Circuit devices in the modules may partially or completely overlap. This is not intended to limit the scope of the embodiments.
It should be noted that the foregoing embodiments are merely intended for describing the solutions of the embodiments and are not intended as limiting. Although is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the solutions described in the foregoing embodiments or make equivalent replacements to some or all features thereof, without departing from the scope of the solutions of the embodiments.
Number | Date | Country | Kind |
---|---|---|---|
202211190839.7 | Sep 2022 | CN | national |
This application is a continuation of International Application No. PCT/CN2023/101491, filed on Jun. 20, 2023, which claims priority to Chinese Patent Application No. 202211190839.7, filed on Sep. 28, 2022. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2023/101491 | Jun 2023 | WO |
Child | 19087694 | US |