Power supply circuit
By designing a dynamically controlled power supply circuit, using the combination of auxiliary power supply interface and main power supply interface, the problem of insufficient power supply capacity of the gold finger connector is solved, and the support for the high power demand of the board is achieved.
Patent Information
- Application Number
- CN202411216203.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-27
AI Technical Summary
The existing gold finger connectors have limited power supply capacity and cannot meet the high power demand that increases with the increase in board processing capacity.
A power supply circuit is designed to use the combination of the auxiliary power supply interface and the main power supply interface, and the controller is used to dynamically control the on and off of the power supply branch according to the power input situation to ensure that the board and card obtain sufficient power.
It realizes flexible meeting of the power supply needs of the board, improves the support capacity for high-power equipment, and avoids the problem of insufficient power of the main power supply interface.
Smart Images

Figure CN119200793A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit technology, and in particular to a power supply circuit. Background Art
[0002] With the development of semiconductor manufacturing technology, the processing power and computing power of integrated chips are constantly improving, and the power demand for power supply will also increase.
[0003] For some plug-in card connectors, such as the commonly used plug-in card connectors with gold finger structures, the gold finger is composed of conductive contacts, so the current capacity is limited, resulting in the maximum power supply of the card slot being limited. Taking the gold finger connector with a maximum power supply of 75W as an example, when the power required by the board is greater than the 75W maximum power that the connector can provide as the processing and computing capabilities of the board increase, the power supply of the gold finger connector cannot meet the power requirements of the board.
[0004] In summary, how to effectively realize the power supply of the board and flexibly meet the power supply demand of the board is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention
[0005] The object of the present invention is to provide a power supply circuit to effectively realize the power supply of a board card and flexibly meet the power supply requirements of the board card.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] In a first aspect, the present invention provides a power supply circuit, comprising:
[0008] A first power supply branch having a first end connected to the auxiliary power supply interface and a second end connected to the first load component;
[0009] A second power supply branch having a first end connected to the main power supply interface and a second end connected to the second load component;
[0010] a third power supply branch having a first end connected to the second end of the first power supply branch and a second end connected to the second end of the second power supply branch;
[0011] A controller connected to the control end of the first power supply branch, the control end of the second power supply branch, and the control end of the third power supply branch, respectively, for controlling the first power supply branch and the second power supply branch to be turned on, and the third power supply branch to be turned off, when it is detected that both the auxiliary power supply interface and the main power supply interface have power input; when it is detected that only the auxiliary power supply interface has power input, controlling the first power supply branch and the third power supply branch to be turned on, and the second power supply branch to be turned off; when it is detected that only the main power supply interface has power input, controlling the second power supply branch and the third power supply branch to be turned on, and the first power supply branch to be turned off;
[0012] The maximum power of the main power supply interface is lower than a first power threshold, and the maximum power of the auxiliary power supply interface is higher than the first power threshold.
[0013] On the other hand, the first power supply branch includes a first switch circuit and a first switch driving circuit;
[0014] The first end of the first switch circuit serves as the first end of the first power supply branch, the second end of the first switch circuit serves as the second end of the first power supply branch, the control end of the first switch circuit is connected to the output end of the first switch drive circuit, and the input end of the first switch drive circuit is connected to the controller, so that the controller performs on-off control of the first switch circuit through the first switch drive circuit;
[0015] The second power supply branch includes a second switch circuit and a second switch driving circuit;
[0016] The first end of the second switch circuit serves as the first end of the second power supply branch, the second end of the second switch circuit serves as the second end of the second power supply branch, the control end of the second switch circuit is connected to the output end of the second switch drive circuit, and the input end of the second switch drive circuit is connected to the controller, so that the controller performs on-off control of the second switch circuit through the second switch drive circuit;
[0017] The third power supply branch includes a third switch circuit and a third switch driving circuit;
[0018] The first end of the third switch circuit serves as the first end of the third power supply branch, the second end of the third switch circuit serves as the second end of the third power supply branch, the control end of the third switch circuit is connected to the output end of the third switch drive circuit, and the input end of the third switch drive circuit is connected to the controller, so that the controller performs on-off control of the third switch circuit through the third switch drive circuit.
[0019] On the other hand, the first switching circuit includes a first P-channel field effect transistor, the drain of the first P-channel field effect transistor serves as the first end of the first switching circuit, the source of the first P-channel field effect transistor serves as the second end of the first switching circuit, and the gate of the first P-channel field effect transistor serves as the control end of the first switching circuit.
[0020] On the other hand, the first switch circuit further includes a first resistor, a second resistor and a first capacitor;
[0021] A first end of the first resistor is connected to a source of the first P-channel field effect transistor, and a second end of the first resistor is connected to a gate of the first P-channel field effect transistor;
[0022] A first end of the first capacitor is connected to a source of the first P-channel field effect transistor, and a second end of the first capacitor is connected to a gate of the first P-channel field effect transistor;
[0023] The first end of the second resistor is connected to the gate of the first P-channel field effect transistor, and the second end of the second resistor serves as a control end of the first switch circuit.
[0024] On the other hand, the first switch driving circuit includes a first N-channel field effect transistor, the drain of the first N-channel field effect transistor serves as the output end of the first switch driving circuit, the source of the first N-channel field effect transistor is grounded, and the gate of the first N-channel field effect transistor serves as the input end of the first switch driving circuit.
[0025] On the other hand, the first switch driving circuit further includes a third resistor, a fourth resistor and a second capacitor;
[0026] A first end of the third resistor is connected to the gate of the first N-channel field effect transistor, and a second end of the third resistor is grounded;
[0027] A first end of the second capacitor is connected to the gate of the first N-channel field effect transistor, and a second end of the second capacitor is grounded;
[0028] A first end of the fourth resistor is connected to the gate of the first N-channel field effect transistor, and a second end of the fourth resistor serves as an input end of the first switch driving circuit.
[0029] On the other hand, the number of components and the connection structure in the first switch circuit are the same as those in the second switch circuit;
[0030] The number of components and the connection structure in the first switch driving circuit are the same as those in the second switch driving circuit and the third switch driving circuit.
[0031] On the other hand, the third switch circuit is a switch circuit based on a reverse series structure of a MOS tube, and the reverse series connection point serves as a system standby voltage output terminal, so that when at least one of the main power supply interface and the auxiliary power supply interface has power input, the system standby voltage output terminal has voltage regardless of whether the third switch circuit is turned on or off.
[0032] On the other hand, the third switch circuit includes a second P-channel field effect transistor and a third P-channel field effect transistor;
[0033] The drain of the second P-channel field effect transistor serves as the first end of the third switch circuit, the source of the second P-channel field effect transistor is connected to the source of the third P-channel field effect transistor, and the connection end serves as the system standby voltage output end;
[0034] The drain of the third P-channel field effect transistor serves as the second end of the third switch circuit, the gate of the third P-channel field effect transistor is connected to the gate of the second P-channel field effect transistor, and the connection end serves as the control end of the third switch circuit;
[0035] The anode and cathode of the body diode in the second P-channel field effect transistor are respectively connected to the drain and source of the second P-channel field effect transistor, and the anode and cathode of the body diode in the third P-channel field effect transistor are respectively connected to the drain and source of the third P-channel field effect transistor.
[0036] On the other hand, the third switch circuit further includes a fifth resistor, a sixth resistor and a third capacitor;
[0037] The first end of the fifth resistor is connected to the system standby voltage output terminal, and the second end of the fifth resistor is respectively connected to the first end of the sixth resistor, the second end of the third capacitor, the gate of the second P-channel field effect transistor, and the gate of the third P-channel field effect transistor;
[0038] The first end of the third capacitor is connected to the system standby voltage output end, and the second end of the sixth resistor serves as a control end of the third switch circuit.
[0039] By applying the technical solution provided in the embodiment of the present invention, the power supply circuit can effectively realize the power supply of the board and can flexibly meet the power supply requirements of the board. Specifically, the power supply circuit of the present application includes a first power supply branch whose first end is connected to the auxiliary power supply interface and whose second end is connected to the first load component; a second power supply branch whose first end is connected to the main power supply interface and whose second end is connected to the second load component; a third power supply branch whose first end is connected to the second end of the first power supply branch and whose second end is connected to the second end of the second power supply branch; and a controller respectively connected to the control end of the first power supply branch, the control end of the second power supply branch and the control end of the third power supply branch.
[0040] The present application takes into account that the power requirements of the boards and cards are different due to the different current processing services. Therefore, when the business volume is large and the power requirements of the boards and cards are large, the present application supports power input to both the auxiliary power supply interface and the main power supply interface. When the controller detects that both the auxiliary power supply interface and the main power supply interface have power input, it will control the first power supply branch and the second power supply branch to be turned on, and the third power supply branch to be turned off. That is to say, in this case, the power output by the auxiliary power supply interface is provided to the first load component, and the power output by the main power supply interface is provided to the second load component.
[0041] In addition to the auxiliary power supply interface and the main power supply interface outputting power at the same time, the present application also supports one of the auxiliary power supply interface and the main power supply interface to output power. Specifically, when it is detected that only the main power supply interface has power input, the controller will control the second power supply branch and the third power supply branch to be turned on, and the first power supply branch to be turned off, that is, in this case, the power output by the main power supply interface is provided to the first load component and the second load component. The maximum power of the main power supply interface is lower than the first power threshold, that is, the maximum power of the main power supply interface is limited, so this situation usually occurs when the business volume is small and the board card requires less power.
[0042] When it is detected that only the auxiliary power supply interface has power input, the controller will control the first power supply branch and the third power supply branch to be turned on, and the second power supply branch to be turned off, that is, in this case, the power output by the auxiliary power supply interface is provided to the first load component and the second load component. The maximum power of the auxiliary power supply interface is higher than the first power threshold, that is, the maximum power of the auxiliary power supply interface is larger, so in this case, the high power demand of the board can also be met.
[0043] In summary, the power supply circuit of the present application can effectively realize the power supply of the board and can flexibly meet the power supply requirements of the board. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 A first structural schematic diagram of a power supply circuit provided in a specific embodiment of the present invention;
[0046] Figure 2 A second structural schematic diagram of a power supply circuit provided in a specific embodiment of the present invention;
[0047] Figure 3 A third structural schematic diagram of a power supply circuit provided in a specific embodiment of the present invention;
[0048] Figure 4 A fourth structural schematic diagram of a power supply circuit provided in a specific implementation manner of the present invention. DETAILED DESCRIPTION
[0049] The core of the present invention is to provide a power supply circuit, which can effectively realize the power supply of the board and can flexibly meet the power supply requirements of the board.
[0050] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0051] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of a power supply circuit of the present invention, and the power supply circuit may include:
[0052] A first power supply branch 10 having a first end connected to the auxiliary power supply interface and a second end connected to the first load component;
[0053] A second power supply branch 20 having a first end connected to the main power supply interface and a second end connected to the second load component;
[0054] A third power supply branch 30 having a first end connected to a second end of the first power supply branch 10 and a second end connected to a second end of the second power supply branch 20;
[0055] A controller 40 connected to the control end of the first power supply branch 10, the control end of the second power supply branch 20, and the control end of the third power supply branch 30, respectively, is used to control the first power supply branch 10 and the second power supply branch 20 to be turned on, and the third power supply branch 30 to be turned off when it is detected that both the auxiliary power supply interface and the main power supply interface have power input; when it is detected that only the auxiliary power supply interface has power input, the first power supply branch 10 and the third power supply branch 30 are controlled to be turned on, and the second power supply branch 20 is turned off; when it is detected that only the main power supply interface has power input, the second power supply branch 20 and the third power supply branch 30 are controlled to be turned on, and the first power supply branch 10 is turned off;
[0056] Among them, the maximum power of the main power supply interface is lower than the first power threshold, and the maximum power of the auxiliary power supply interface is higher than the first power threshold.
[0057] Specifically, in the solution of the present application, the first power supply branch 10 is respectively connected to the auxiliary power supply interface and the first load component, and the second power supply branch 20 is respectively connected to the main power supply interface and the second load component. The main power supply interface is a part of the connector used when the device where the power supply circuit is located is connected to the mainboard. For example, the device where the power supply circuit described in the present application is located is usually a device using a gold finger connector such as PCIe (Peripheral Component Interconnect express, a high-speed serial computer expansion bus standard). The device is plugged into the mainboard through a gold finger. Among all the pins of the gold finger, there are pins for the mainboard to power the device, which is the main power supply interface described in the present application. Since the main power supply interface is a gold finger structure, the current carrying capacity is limited, and the maximum power of the main power supply interface will be lower than the first power threshold, for example, the first power threshold is 75W.
[0058] The auxiliary power supply interface is a power supply interface specially set up in this application, which has a very high tolerable power. The maximum power of the auxiliary power supply interface is higher than the first power threshold, that is, the maximum power of the auxiliary power supply interface is higher than the maximum power of the main power supply interface, so as to meet the increasing power demand of the equipment. Of course, the specific form of the auxiliary power supply interface can be set and adjusted according to actual needs, as long as it can meet the power demand, for example, a power supply cable or other form that can support higher power can be used.
[0059] The controller 40 is respectively connected to the control end of the first power supply branch 10, the control end of the second power supply branch 20, and the control end of the third power supply branch 30. When it is detected that both the auxiliary power supply interface and the main power supply interface have power input, the first power supply branch 10 and the second power supply branch 20 are controlled to be turned on, and the third power supply branch 30 is controlled to be turned off. In other words, when both the auxiliary power supply interface and the main power supply interface have power input, the power from the auxiliary power supply interface supplies power to the first load component through the first power supply branch 10, and the power from the main power supply interface supplies power to the second load component through the second power supply branch 20. The number and type of components specifically included in the first load component, as well as the number and type of components specifically included in the second load component, can be set and adjusted according to actual needs, but it can be understood that the total power of the components in the second load component should not exceed the first power threshold to avoid the situation where the output power of the main power supply interface is insufficient to support the operation of the second load component.
[0060] In practical applications, components with higher power requirements, especially those with higher power requirements when the amount of computing is large, are usually used as components in the first load component, while components with lower power requirements and some basic functional components required for equipment operation are used as components in the second load component.
[0061] In addition, in actual applications, if both the auxiliary power supply interface and the main power supply interface have power input, it usually occurs when the device needs to operate at high power, for example, the device is assigned a large number of computing tasks or IO read and write tasks.
[0062] When the controller 40 detects that only the main power supply interface has power input, it controls the second power supply branch 20 and the third power supply branch 30 to be turned on, and controls the first power supply branch 10 to be turned off. Such a situation usually occurs when the device needs to operate at low power and the device is only assigned a small number of tasks. At this time, the auxiliary power supply interface does not provide power, and the power demand of the entire device is provided by the main power supply interface.
[0063] It can be seen from the circuit structure that since the second power supply branch 20 and the third power supply branch 30 are turned on and the first power supply branch 10 is turned off, the first load component and the second load component are both provided with power through the main power supply interface. At this time, since it is low-power operation, the main power supply interface can meet the power supply requirements of the first load component and the second load component, that is, the power required by the first load component and the second load component at this time does not exceed the first power threshold.
[0064] Furthermore, in a specific embodiment of the present invention, when the controller 40 detects that only the main power supply interface has power input, it can also limit the power of the components in the first load component and the second load component based on the preset power limitation rules to effectively ensure that the total power required by the first load component and the second load component does not exceed the first power threshold. This is because if only the main power supply interface has power input, it usually occurs when the device needs to operate at low power, but the tasks assigned to the device will change dynamically. If the tasks assigned to the device increase, so that its power demand increases, and the staff does not connect the auxiliary power supply interface of the power supply circuit of the device to the corresponding power supply in time, it is possible that the power required by the first load component and the second load component exceeds the maximum power of the main power supply interface. Therefore, in this embodiment, in the absence of power input from the auxiliary power supply interface, the power of the components in the first load component and the second load component is limited, which can effectively ensure that the total power required by the first load component and the second load component does not exceed the first power threshold.
[0065] When the controller 40 detects that only the auxiliary power supply interface has power input, it will control the first power supply branch 10 and the third power supply branch 30 to be turned on, and control the second power supply branch 20 to be turned off. This situation usually occurs when the device is tested, that is, the device where the power supply circuit is located is not plugged into the main board, so the controller 40 does not detect the power input of the main power supply interface, but only detects the power input of the auxiliary power supply interface.
[0066] It can be seen from the circuit structure that since the first power supply branch 10 and the third power supply branch 30 are turned on, and the second power supply branch 20 is turned off, the first load component and the second load component at this time are both provided with power through the auxiliary power supply interface. Since the auxiliary power supply interface can provide very high power, the device at this time can operate at low power or high power, and the auxiliary power supply interface can meet the power supply requirements of the first load component and the second load component.
[0067] The controller 40 needs to detect the power input of the auxiliary power supply interface and the main power supply interface. There are many specific circuit structures to achieve this purpose, and the detection can be achieved by voltage detection, current detection, etc. Figure 2 In the embodiment, the controller 40 specifically detects the power input conditions of the auxiliary power supply interface and the main power supply interface through a sampling circuit and a comparison circuit.
[0068] The circuit structures of the sampling circuit and the comparison circuit can also be various, for example Figure 3 In the implementation manner, the sampling circuit specifically includes a first sampling resistor R01, a second sampling resistor R02, a third sampling resistor R03 and a fourth sampling resistor R04. The comparison circuit includes a first comparator U1 and a second comparator U2.
[0069] After the first sampling resistor R01 and the second sampling resistor R02 are connected in series, one end is grounded and the other end is connected to the auxiliary power supply interface to realize the voltage detection of the auxiliary power supply interface. The connection end of the first sampling resistor R01 and the second sampling resistor R02 is connected to the positive input end of the first comparator U1, and the negative input end of the first comparator U1 is connected to the reference voltage Vref. When the auxiliary power supply interface has power, the connection end of the first sampling resistor R01 and the second sampling resistor R02 is at a high level, so that the voltage of the positive input end of the first comparator U1 is higher than the voltage of the negative input end of the first comparator U1, and the output end of the first comparator U1 is at a high level. On the contrary, when the auxiliary power supply interface has no power, the connection end of the first sampling resistor R01 and the second sampling resistor R02 is at a low level, so that the voltage of the positive input end of the first comparator U1 is not higher than the voltage of the negative input end of the first comparator U1, and the output end of the first comparator U1 is at a low level. Therefore, the controller 40 can determine whether there is power input to the auxiliary power supply interface through the output end level of the first comparator U1.
[0070] Similarly, after the third sampling resistor R03 and the fourth sampling resistor R04 are connected in series, one end is grounded and the other end is connected to the main power supply interface to realize voltage detection of the main power supply interface. The connection end of the third sampling resistor R03 and the fourth sampling resistor R04 is connected to the positive input end of the second comparator U2, and the negative input end of the second comparator U2 is connected to the reference voltage Vref. When the main power supply interface has electricity, the connection end of the third sampling resistor R03 and the fourth sampling resistor R04 is a high level, so that the voltage of the positive input end of the second comparator U2 is higher than the voltage of the negative input end of the second comparator U2, and the output end of the second comparator U2 is a high level. On the contrary, when the main power supply interface has no electricity, the connection end of the third sampling resistor R03 and the fourth sampling resistor R04 is a low level, so that the voltage of the positive input end of the second comparator U2 is not higher than the voltage of the negative input end of the second comparator U2, and the output end of the second comparator U2 is a low level. Therefore, the controller 40 can determine whether the main power supply interface has power input through the output end level of the second comparator U2.
[0071] In addition, in order to ensure the stability of power supply, a certain number of bus capacitors can usually be set at the location where the first load component is connected, such as Figure 3 The first bus capacitor C01 and the second bus capacitor C02 shown in FIG. 1 are arranged in parallel at the position where the power supply circuit is connected to the first load component. Similarly, in order to ensure the stability of power supply, a certain number of bus capacitors can also be arranged at the position where the second load component is connected, for example Figure 3The third bus capacitor C03 and the fourth bus capacitor C04 shown in the figure are arranged in parallel at the position where the power supply circuit is connected to the second load component. The specific structures of the first power supply branch 10, the second power supply branch 20 and the third power supply branch 30 can be set and adjusted according to actual needs. For example, in a specific embodiment of the present invention, considering that the power supply branch required by the present application can be easily realized through the structure of the switch circuit and the drive circuit, it can be referred to Figure 2 , the first power supply branch 10 may specifically include a first switch circuit 11 and a first switch driving circuit 12;
[0072] The first end of the first switch circuit 11 serves as the first end of the first power supply branch 10, the second end of the first switch circuit 11 serves as the second end of the first power supply branch 10, the control end of the first switch circuit 11 is connected to the output end of the first switch driving circuit 12, and the input end of the first switch driving circuit 12 is connected to the controller 40, so that the controller 40 performs on-off control of the first switch circuit 11 through the first switch driving circuit 12;
[0073] The second power supply branch 20 includes a second switch circuit 21 and a second switch driving circuit 22 .
[0074] The first end of the second switch circuit 21 serves as the first end of the second power supply branch 20, the second end of the second switch circuit 21 serves as the second end of the second power supply branch 20, the control end of the second switch circuit 21 is connected to the output end of the second switch drive circuit 22, and the input end of the second switch drive circuit 22 is connected to the controller 40, so that the controller 40 performs on-off control of the second switch circuit 21 through the second switch drive circuit 22;
[0075] The third power supply branch 30 includes a third switch circuit 31 and a third switch driving circuit 32 .
[0076] The first end of the third switch circuit 31 serves as the first end of the third power supply branch 30, the second end of the third switch circuit 31 serves as the second end of the third power supply branch 30, the control end of the third switch circuit 31 is connected to the output end of the third switch drive circuit 32, and the input end of the third switch drive circuit 32 is connected to the controller 40, so that the controller 40 controls the on and off of the third switch circuit 31 through the third switch drive circuit 32.
[0077] In this implementation, the first power supply branch 10 is composed of a first switch circuit 11 and a first switch driving circuit 12, which has a simple structure and high reliability. The first switch circuit 11 can be implemented based on a switch tube and has a small volume. Of course, in a specific implementation, the specific structure of the first switch circuit 11 can be set according to actual needs. The first switch driving circuit 12 plays a role in driving the first switch circuit 11, that is, under the control of the controller 40, the on-off state of the first switch circuit 11 can be effectively controlled. The specific structure of the first switch driving circuit 12 can also be set and adjusted according to actual needs, and it is sufficient to effectively realize the on-off control of the first switch circuit 11.
[0078] Similarly, the second power supply branch 20 is composed of a second switch circuit 21 and a second switch driving circuit 22, and the third power supply branch 30 is composed of a third switch circuit 31 and a third switch driving circuit 32, with a simple structure and high reliability.
[0079] In a specific embodiment of the present invention, the number of components and the connection structure in the first switch circuit 11 are the same as those in the second switch circuit 21;
[0080] The number of components and the connection structure in the first switch driving circuit 12 are the same as those in the second switch driving circuit 22 and the third switch driving circuit 32 .
[0081] This implementation takes into account that the first power supply branch 10 is used to connect the auxiliary power supply interface and the first load component, and the second power supply branch 20 is used to connect the main power supply interface and the second load component. Therefore, the first power supply branch 10 and the second power supply branch 20 can be set to the same structure to facilitate circuit structure design and subsequent operation and maintenance. Therefore, in this implementation, the first switch circuit 11 is consistent with the second switch circuit 21, that is, the number of components and the connection structure in the first switch circuit 11 are the same as those in the second switch circuit 21. Similarly, the first switch drive circuit 12 is consistent with the second switch drive circuit 22, that is, the number of components and the connection structure in the first switch drive circuit 12 are the same as those in the second switch drive circuit 22.
[0082] In addition, considering that the third switch driving circuit 32 is used to drive and control the third switch circuit 31, the first switch driving circuit 12 and the second switch driving circuit 22 can adopt the same circuit structure to facilitate circuit structure design and subsequent operation and maintenance. Therefore, the number of components and the connection structure in the first switch driving circuit 12 are not only the same as those of the second switch driving circuit 22, but also the same as those of the third switch driving circuit 32.
[0083] As described above, the specific structure of the first switch circuit 11 can be set and adjusted according to actual needs. In this embodiment, the first switch circuit 11 is composed of a PMOS tube, which has a very simple structure and low cost. MOS tubes have the advantages of small size, low required driving power, fast switching speed, and high reliability. Figure 3 In this embodiment, the first switch circuit 11 includes a first P-channel field effect transistor MP1, the drain of the first P-channel field effect transistor MP1 serves as the first end of the first switch circuit 11, the source of the first P-channel field effect transistor MP1 serves as the second end of the first switch circuit 11, and the gate of the first P-channel field effect transistor MP1 serves as the control end of the first switch circuit 11.
[0084] Similarly, in Figure 3 In the embodiment, the second switch circuit 21 and the third switch circuit 31 are also composed of one PMOS transistor, that is, the second switch circuit 21 includes a fourth P-channel field effect transistor MP4, and the third switch circuit 31 includes a second P-channel field effect transistor MP2.
[0085] For further information, see Figure 4 , in a specific embodiment of the present invention, the first switch circuit 11 further includes a first resistor R1, a second resistor R2 and a first capacitor C1;
[0086] A first end of the first resistor R1 is connected to the source of the first P-channel field effect transistor MP1, and a second end of the first resistor R1 is connected to the gate of the first P-channel field effect transistor MP1;
[0087] A first end of the first capacitor C1 is connected to the source of the first P-channel field effect transistor MP1, and a second end of the first capacitor C1 is connected to the gate of the first P-channel field effect transistor MP1;
[0088] A first end of the second resistor R2 is connected to the gate of the first P-channel field effect transistor MP1 , and a second end of the second resistor R2 serves as a control end of the first switch circuit 11 .
[0089] In this embodiment, in order to increase the reliability of the first switch circuit 11, a first resistor R1, a second resistor R2 and a first capacitor C1 are further provided in the first switch circuit 11. The provision of the second resistor R2 can play a current limiting effect, preventing the gate current of the first P-channel field effect transistor MP1 from being too large and damaging the first P-channel field effect transistor MP1. The provision of the first capacitor C1 can effectively maintain the source-gate voltage of the first P-channel field effect transistor MP1, and ensure the reliability of the on-off control of the first P-channel field effect transistor MP1. The provision of the first resistor R1 provides a loop for the voltage discharge of the first capacitor C1, which can ensure the rapid discharge of the voltage of the first capacitor C1, and is conducive to improving the timeliness of the on-off control of the first P-channel field effect transistor MP1.
[0090] As described above, the specific structure of the first switch driving circuit 12 can be set and adjusted according to actual needs. In this embodiment, the first switch driving circuit 12 includes a first N-channel field effect transistor MN1, the drain of the first N-channel field effect transistor MN1 serves as the output end of the first switch driving circuit 12, the source of the first N-channel field effect transistor MN1 is grounded, and the gate of the first N-channel field effect transistor MN1 serves as the input end of the first switch driving circuit 12.
[0091] In this embodiment, please refer to Figure 3 The first switch driving circuit 12 is composed of an NMOS tube, which has a very simple structure and low cost. The NMOS tube is turned on when the gate is at a high level, which also facilitates the controller 40 to control the first switch driving circuit 12 to turn on through a high level, thereby controlling the first switch circuit 11 to turn on.
[0092] Similarly, in Figure 3 In the embodiment, the second switch driving circuit 22 and the third switch driving circuit 32 are also composed of one NMOS transistor, that is, the second switch driving circuit 22 includes a second N-channel field effect transistor MN2, and the third switch driving circuit 32 includes a third N-channel field effect transistor MN3.
[0093] For further information, see Figure 4 , in a specific embodiment of the present invention, the first switch driving circuit 12 further includes a third resistor R3, a fourth resistor R4 and a second capacitor C2;
[0094] A first end of the third resistor R3 is connected to the gate of the first N-channel field effect transistor MN1, and a second end of the third resistor R3 is grounded;
[0095] A first end of the second capacitor C2 is connected to the gate of the first N-channel field effect transistor MN1, and a second end of the second capacitor C2 is grounded;
[0096] A first end of the fourth resistor R4 is connected to the gate of the first N-channel field effect transistor MN1 , and a second end of the fourth resistor R4 serves as an input end of the first switch driving circuit 12 .
[0097] In this embodiment, in order to improve the reliability of the first switch driving circuit 12, a third resistor R3, a fourth resistor R4 and a second capacitor C2 are further provided in the first switch driving circuit 12. The provision of the fourth resistor R4 can play a current limiting effect, preventing the gate current of the first N-channel field effect transistor MN1 from being too large and damaging the first N-channel field effect transistor MN1. The provision of the second capacitor C2 can effectively maintain the gate-source voltage of the first N-channel field effect transistor MN1, and ensure that the first N-channel field effect transistor MN1 can be stably turned on when needed, that is, when the controller 40 controls the first N-channel field effect transistor MN1 to turn on through a high level, the second capacitor C2 can ensure the stability of the gate voltage of the first N-channel field effect transistor MN1, and also ensure the reliability of the on-off control of the first N-channel field effect transistor MN1.
[0098] The third resistor R3 is provided to provide a loop for the voltage discharge of the second capacitor C2, which can ensure the rapid discharge of the voltage of the second capacitor C2, and is conducive to improving the timeliness of the on-off control of the first N-channel field effect transistor MN1. In addition, before the controller 40 outputs a high level to the gate of the first N-channel field effect transistor MN1, since the gate of the first N-channel field effect transistor MN1 is grounded through the third resistor R3, the first N-channel field effect transistor MN1 can be reliably in a non-conducting state.
[0099] The first switch circuit 11 and the first switch driving circuit 12 are described in detail above. In practical applications, the structures of the second switch circuit 21 and the third switch circuit 31 can be designed with reference to the structure of the first switch circuit 11, and the structures of the second switch driving circuit 22 and the third switch driving circuit 32 can be designed with reference to the structure of the first switch driving circuit 12. Figure 4 In the embodiment, the second switch circuit 21 includes a fourth P-channel field effect transistor MP4, a seventh resistor R7, an eighth resistor R8 and a fourth capacitor C4, and the structure is the same as that of the first switch circuit 11. The second switch driving circuit 22 includes a second N-channel field effect transistor MN2, a ninth resistor R9, a tenth resistor R10 and a fifth capacitor C5, and the structure is the same as that of the first switch driving circuit 12. The third switch driving circuit 32 includes a third N-channel field effect transistor MN3, an eleventh resistor R11, a twelfth resistor R12 and a sixth capacitor C6, and the structure is the same as that of the first switch driving circuit 12.
[0100] also, Figure 4In the embodiment, the input end of the first switch driving circuit 12 is recorded as EN-1, the input end of the second switch driving circuit 22 is recorded as EN-2, and the input end of the third switch driving circuit 32 is recorded as EN-3, which are all connected to the relevant pins of the controller 40, so that the controller 40 can control the on-off state of the first switch circuit 11, the second switch circuit 21, and the third switch circuit 31 through the first switch driving circuit 12, the second switch driving circuit 22, and the third switch driving circuit 32 respectively. In a specific embodiment of the present invention, the third switch circuit 31 is a switch circuit based on a reverse series structure of a MOS tube, and the reverse series connection point serves as the system standby voltage output end, so that when at least one of the main power supply interface and the auxiliary power supply interface has power input, no matter whether the third switch circuit 31 is turned on or off, the system standby voltage output end has voltage.
[0101] In this embodiment, the third switch circuit 31 adopts a design different from the first switch circuit 11 and the second switch circuit 21. This is because the device usually requires a system standby voltage, that is, a STBY voltage, and when the device is powered, the STBY voltage is usually required to be powered first.
[0102] In this regard, combined with the structure of the power supply circuit of the present application, this implementation method takes into account that the third switch circuit 31 can be a switch circuit based on a reverse series structure of a MOS tube, and the connection point of the reverse series is used as the system standby voltage output terminal, which utilizes the body diode in the MOS tube. After the MOS tube is reversely connected in series, no matter which of the main power supply interface and the auxiliary power supply interface has power, or both have power, the system standby voltage output terminal will have voltage, that is, no matter whether the third switch circuit 31 is turned on or off, the system standby voltage output terminal will have voltage. In addition, the conduction of the MOS tube requires a certain time, so when only the auxiliary power supply interface has power, the power-on time of the second load component will be later than that of the first load component, but after the auxiliary power supply interface outputs power, due to the presence of the body diode in the MOS tube, the system standby voltage output terminal can be powered immediately. Similarly, when only the main power supply interface has power, the power-on time of the first load component will be later than that of the second load component, but after the main power supply interface outputs power, due to the presence of the body diode in the MOS tube, the system standby voltage output terminal can be powered immediately.
[0103] In a specific embodiment of the present invention, please refer to Figure 4 , the third switch circuit 31 may specifically include a second P-channel field effect transistor MP2 and a third P-channel field effect transistor MP3;
[0104] The drain of the second P-channel field effect transistor MP2 serves as the first end of the third switch circuit 31, the source of the second P-channel field effect transistor MP2 is connected to the source of the third P-channel field effect transistor MP3, and the connection end serves as the system standby voltage output end;
[0105] The drain of the third P-channel field effect transistor MP3 serves as the second end of the third switch circuit 31, the gate of the third P-channel field effect transistor MP3 is connected to the gate of the second P-channel field effect transistor MP2, and the connection end serves as the control end of the third switch circuit 31;
[0106] The anode and cathode of the body diode in the second P-channel field effect transistor MP2 are connected to the drain and source of the second P-channel field effect transistor MP2 respectively, and the anode and cathode of the body diode in the third P-channel field effect transistor MP3 are connected to the drain and source of the third P-channel field effect transistor MP3 respectively.
[0107] In this implementation, the third switch circuit 31 is realized by connecting two PMOS switch tubes in reverse series. It can be seen that only when the auxiliary power supply interface has power input, the third P-channel field effect tube MP3 is not turned on, the second P-channel field effect tube MP2 is turned on, and the STBY voltage is equal to the output voltage of the auxiliary power supply interface. Only when the main power supply interface has power input, the third P-channel field effect tube MP3 is turned on, the second P-channel field effect tube MP2 is not turned on, and the STBY voltage is equal to the output voltage of the main power supply interface. When both the auxiliary power supply interface and the main power supply interface have power input, although the third P-channel field effect transistor MP3 and the second P-channel field effect transistor MP2 are not turned on, the voltages of the auxiliary power supply interface and the main power supply interface can be applied to the standby voltage output terminal as the STBY voltage through the body diode of the second P-channel field effect transistor MP2 and the body diode of the third P-channel field effect transistor MP3, respectively. Since the voltages of the auxiliary power supply interface and the main power supply interface are theoretically consistent, there will be certain errors in actual applications. Therefore, at this time, the STBY voltage is equal to the larger value of the voltage of the auxiliary power supply interface and the voltage of the main power supply interface.
[0108] It can be seen that the design of this implementation achieves the purpose of having voltage at the system standby voltage output terminal regardless of whether either the main power supply interface or the auxiliary power supply interface has power, or both have power, that is, regardless of whether the third switch circuit 31 is turned on or off, there is voltage at the system standby voltage output terminal.
[0109] In addition, it can be understood that no matter which of the main power supply interface and the auxiliary power supply interface is powered, or both are powered, the system standby voltage output terminal will be powered quickly, meeting the requirement that the STBY voltage is powered first when the device is powered. In a specific embodiment of the present invention, the third switch circuit 31 may also include a fifth resistor R5, a sixth resistor R6 and a third capacitor C3;
[0110] A first end of the fifth resistor R5 is connected to the system standby voltage output terminal, and a second end of the fifth resistor R5 is respectively connected to a first end of the sixth resistor R6, a second end of the third capacitor C3, a gate of the second P-channel field effect transistor MP2, and a gate of the third P-channel field effect transistor MP3;
[0111] A first end of the third capacitor C3 is connected to the system standby voltage output terminal, and a second end of the sixth resistor R6 serves as a control end of the third switch circuit 31 .
[0112] In this implementation, the sixth resistor R6 can have a current limiting effect, the third capacitor C3 can ensure the stability of the on-off control of the third switch circuit 31, and the fifth resistor R5 provides a loop for the electric energy discharge of the third capacitor C3, which is conducive to achieving the timeliness and reliability of the on-off control of the third switch circuit 31.
[0113] By applying the technical solution provided in the embodiment of the present invention, the power supply circuit can effectively realize the power supply of the board and can flexibly meet the power supply requirements of the board. Specifically, the power supply circuit of the present application includes a first power supply branch 10 whose first end is connected to the auxiliary power supply interface and whose second end is connected to the first load component; a second power supply branch 20 whose first end is connected to the main power supply interface and whose second end is connected to the second load component; a third power supply branch 30 whose first end is connected to the second end of the first power supply branch 10 and whose second end is connected to the second end of the second power supply branch 20; and a controller 40 respectively connected to the control end of the first power supply branch 10, the control end of the second power supply branch 20 and the control end of the third power supply branch 30.
[0114] The present application takes into account that the power requirements of the boards and cards are different due to the different current processing services. Therefore, when the business volume is large and the power requirements of the boards and cards are large, the present application supports power input to both the auxiliary power supply interface and the main power supply interface. When the controller 40 detects that both the auxiliary power supply interface and the main power supply interface have power input, it will control the first power supply branch 10 and the second power supply branch 20 to be turned on, and the third power supply branch 30 to be turned off. That is to say, in this case, the power output by the auxiliary power supply interface is provided to the first load component, and the power output by the main power supply interface is provided to the second load component.
[0115] In addition to the auxiliary power supply interface and the main power supply interface outputting power at the same time, the present application also supports the auxiliary power supply interface and one of the main power supply interface to output power. Specifically, when it is detected that only the main power supply interface has power input, the controller 40 will control the second power supply branch 20 and the third power supply branch 30 to be turned on, and the first power supply branch 10 to be turned off, that is, in this case, the power output by the main power supply interface is provided to the first load component and the second load component. The maximum power of the main power supply interface is lower than the first power threshold, that is, the maximum power of the main power supply interface is limited, so this situation usually occurs when the business volume is small and the board card requires less power.
[0116] When it is detected that only the auxiliary power supply interface has power input, the controller 40 controls the first power supply branch 10 and the third power supply branch 30 to be turned on, and the second power supply branch 20 to be turned off, that is, in this case, the power output by the auxiliary power supply interface is provided to the first load component and the second load component. The maximum power of the auxiliary power supply interface is higher than the first power threshold, that is, the maximum power of the auxiliary power supply interface is larger, so in this case, the high power demand of the board can also be met.
[0117] In summary, the power supply circuit of the present application can effectively realize the power supply of the board and can flexibly meet the power supply requirements of the board.
[0118] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0119] Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention, and the description of the above embodiments is only used to help understand the technical solution and its core idea of the present invention. It should be pointed out that for ordinary technicians in the technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.
Claims
1. A power supply circuit, characterized in that: include: A first power supply branch having a first end connected to the auxiliary power supply interface and a second end connected to the first load component; A second power supply branch having a first end connected to the main power supply interface and a second end connected to the second load component; a third power supply branch having a first end connected to the second end of the first power supply branch and a second end connected to the second end of the second power supply branch; A controller connected to the control end of the first power supply branch, the control end of the second power supply branch, and the control end of the third power supply branch, respectively, for controlling the first power supply branch and the second power supply branch to be turned on, and the third power supply branch to be turned off, when it is detected that both the auxiliary power supply interface and the main power supply interface have power input; When it is detected that only the auxiliary power supply interface has power input, the first power supply branch and the third power supply branch are controlled to be turned on, and the second power supply branch is turned off; When it is detected that only the main power supply interface has power input, the second power supply branch and the third power supply branch are controlled to be turned on, and the first power supply branch is turned off; The maximum power of the main power supply interface is lower than a first power threshold, and the maximum power of the auxiliary power supply interface is higher than the first power threshold.
2. The power supply circuit according to claim 1, characterized in that: The first power supply branch includes a first switch circuit and a first switch driving circuit; The first end of the first switch circuit serves as the first end of the first power supply branch, the second end of the first switch circuit serves as the second end of the first power supply branch, the control end of the first switch circuit is connected to the output end of the first switch drive circuit, and the input end of the first switch drive circuit is connected to the controller, so that the controller performs on-off control of the first switch circuit through the first switch drive circuit; The second power supply branch includes a second switch circuit and a second switch driving circuit; The first end of the second switch circuit serves as the first end of the second power supply branch, the second end of the second switch circuit serves as the second end of the second power supply branch, the control end of the second switch circuit is connected to the output end of the second switch drive circuit, and the input end of the second switch drive circuit is connected to the controller, so that the controller performs on-off control of the second switch circuit through the second switch drive circuit; The third power supply branch includes a third switch circuit and a third switch driving circuit; The first end of the third switch circuit serves as the first end of the third power supply branch, the second end of the third switch circuit serves as the second end of the third power supply branch, the control end of the third switch circuit is connected to the output end of the third switch drive circuit, and the input end of the third switch drive circuit is connected to the controller, so that the controller performs on-off control of the third switch circuit through the third switch drive circuit.
3. The power supply circuit according to claim 2, characterized in that: The first switch circuit includes a first P-channel field effect transistor, the drain of the first P-channel field effect transistor serves as the first end of the first switch circuit, the source of the first P-channel field effect transistor serves as the second end of the first switch circuit, and the gate of the first P-channel field effect transistor serves as the control end of the first switch circuit.
4. The power supply circuit according to claim 3, characterized in that: The first switch circuit further includes a first resistor, a second resistor and a first capacitor; A first end of the first resistor is connected to a source of the first P-channel field effect transistor, and a second end of the first resistor is connected to a gate of the first P-channel field effect transistor; A first end of the first capacitor is connected to a source of the first P-channel field effect transistor, and a second end of the first capacitor is connected to a gate of the first P-channel field effect transistor; The first end of the second resistor is connected to the gate of the first P-channel field effect transistor, and the second end of the second resistor serves as a control end of the first switch circuit.
5. The power supply circuit according to claim 2, characterized in that: The first switch driving circuit includes a first N-channel field effect transistor, the drain of the first N-channel field effect transistor serves as the output end of the first switch driving circuit, the source of the first N-channel field effect transistor is grounded, and the gate of the first N-channel field effect transistor serves as the input end of the first switch driving circuit.
6. The power supply circuit according to claim 5, characterized in that: The first switch driving circuit further includes a third resistor, a fourth resistor and a second capacitor; A first end of the third resistor is connected to the gate of the first N-channel field effect transistor, and a second end of the third resistor is grounded; A first end of the second capacitor is connected to the gate of the first N-channel field effect transistor, and a second end of the second capacitor is grounded; A first end of the fourth resistor is connected to the gate of the first N-channel field effect transistor, and a second end of the fourth resistor serves as an input end of the first switch driving circuit.
7. The power supply circuit according to claim 2, characterized in that: The number of components and the connection structure in the first switch circuit are the same as those in the second switch circuit; The number of components and the connection structure in the first switch driving circuit are the same as those in the second switch driving circuit and the third switch driving circuit.
8. The power supply circuit according to any one of claims 2 to 7, characterized in that: The third switch circuit is a switch circuit based on a reverse series structure of a MOS tube, and the reverse series connection point serves as a system standby voltage output terminal, so that when at least one of the main power supply interface and the auxiliary power supply interface has power input, the system standby voltage output terminal has voltage regardless of whether the third switch circuit is turned on or off.
9. The power supply circuit according to claim 8, characterized in that: The third switch circuit includes a second P-channel field effect transistor and a third P-channel field effect transistor; The drain of the second P-channel field effect transistor serves as the first end of the third switch circuit, the source of the second P-channel field effect transistor is connected to the source of the third P-channel field effect transistor, and the connection end serves as the system standby voltage output end; The drain of the third P-channel field effect transistor serves as the second end of the third switch circuit, the gate of the third P-channel field effect transistor is connected to the gate of the second P-channel field effect transistor, and the connection end serves as the control end of the third switch circuit; The anode and cathode of the body diode in the second P-channel field effect transistor are respectively connected to the drain and source of the second P-channel field effect transistor, and the anode and cathode of the body diode in the third P-channel field effect transistor are respectively connected to the drain and source of the third P-channel field effect transistor.
10. The power supply circuit according to claim 9, characterized in that: The third switch circuit further includes a fifth resistor, a sixth resistor and a third capacitor; The first end of the fifth resistor is connected to the system standby voltage output terminal, and the second end of the fifth resistor is respectively connected to the first end of the sixth resistor, the second end of the third capacitor, the gate of the second P-channel field effect transistor, and the gate of the third P-channel field effect transistor; The first end of the third capacitor is connected to the system standby voltage output end, and the second end of the sixth resistor serves as a control end of the third switch circuit.
