Power supply system of computer
The power supply system addresses inefficient battery charging and discharging in portable computers by using a processor-controlled bidirectional and unidirectional DC/DC circuits to manage power distribution, enhancing battery life and system stability.
Patent Information
- Application Number
- CN202411068535.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-12-31
AI Technical Summary
Existing power supply systems for portable computers result in frequent battery charging and discharging, leading to reduced battery life and inefficient power usage.
A power supply system incorporating a bidirectional DC/DC circuit and a unidirectional DC/DC circuit, controlled by a processor, which intelligently manages power distribution between the power adapter and battery, ensuring stable power supply to the motherboard and optimizing battery charging and discharging.
The system enhances battery life, improves system stability, and reduces long-term electricity costs by preventing high-frequency charging and discharging, while maintaining stable power supply to the motherboard.
Smart Images

Figure CN119225500A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a power supply system for a computer. Background Art
[0002] Portable computers (including laptops, mobile PCs, PDAs, and any type of computers that can be powered by either an external power adapter or an internal battery) are widely used as modern office and entertainment tools. In order to facilitate office work and avoid data loss caused by power outages, batteries have become an indispensable component of portable computers. During the use of portable computers, their batteries need to be charged and discharged. The existing power supply system has the problem of frequent charging and discharging of the batteries, which affects the battery life and has low efficiency. Summary of the invention
[0003] In view of the shortcomings of the existing portable computer charging and discharging methods, the present invention aims to provide a computer power supply system, which not only ensures high-performance power supply for the motherboard, but also has high usage efficiency, which is conducive to saving users' long-term usage costs.
[0004] To solve the above problems, the present invention provides a power supply system for a computer, the computer comprising a power adapter, a battery and a motherboard, the power supply system comprising: a bidirectional DC / DC circuit, a unidirectional DC / DC circuit and a processor, wherein:
[0005] The power supply end of the power adapter is unidirectionally connected to the bidirectional DC / DC circuit and the unidirectional DC / DC circuit respectively;
[0006] The bidirectional DC / DC circuit is bidirectionally connected to the battery, and a power supply end of the bidirectional DC / DC circuit is unidirectionally connected to the unidirectional DC / DC circuit;
[0007] The power supply end of the unidirectional DC / DC circuit is unidirectionally connected to the mainboard;
[0008] The processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard.
[0009] Further, the processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard, including:
[0010] If it is determined that the computer is in a shutdown state and the power adapter is powered on, controlling the unidirectional DC / DC circuit to stop supplying power to the mainboard;
[0011] Determining whether to supply power to the battery according to the battery power;
[0012] If it is determined to supply power to the battery, the power adapter is instructed to supply power to the battery through the bidirectional DC / DC circuit.
[0013] Further, the processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard, including:
[0014] If it is determined that the computer is in a shutdown state and the power adapter is not powered on, the unidirectional DC / DC circuit is controlled to stop supplying power to the mainboard, and the bidirectional DC / DC circuit is controlled to stop discharging the battery.
[0015] Further, the processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard, including:
[0016] If it is determined that the computer is in the power-on state and the power adapter is supplying power, controlling the power adapter to be connected to the unidirectional DC / DC circuit, and the unidirectional DC / DC circuit to be connected to the mainboard, so as to supply power to the mainboard;
[0017] Determining whether to supply power to the battery according to the battery power;
[0018] If it is determined to supply power to the battery, the power adapter is controlled to be connected to the bidirectional DC / DC circuit, and the bidirectional DC / DC circuit is controlled to be connected to the battery, so as to supply power to the battery.
[0019] Further, the processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard, including:
[0020] If it is determined that the computer is in the on state and the power adapter is not supplying power, the bidirectional DC / DC circuit is controlled to be connected to the battery, the bidirectional DC / DC circuit is controlled to be connected to the unidirectional DC / DC circuit, and the unidirectional DC / DC circuit is controlled to be connected to the mainboard, so as to supply power to the mainboard through the battery.
[0021] Further, judging whether to supply power to the battery according to the battery power level includes:
[0022] If the battery power is greater than a preset threshold, determining to stop supplying power to the battery;
[0023] If the battery power is not greater than a preset threshold, it is determined to supply power to the battery.
[0024] Furthermore, judging whether to supply power to the battery according to the battery power level further includes:
[0025] If it is determined to stop supplying power to the battery, the bidirectional DC / DC circuit is controlled to stop charging the battery.
[0026] Furthermore, the power supply system also includes a power control module, which is connected to the processor, and the processor controls the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit through the power control module.
[0027] Furthermore, the power supply system also includes an information acquisition module, which is connected to the processor. The processor collects the input voltage and current of the adapter and the voltage and current of the battery through the information acquisition module to determine the working status of the power supply system.
[0028] The power supply system of the computer described in the present invention is unidirectionally connected to the bidirectional DC / DC circuit and the unidirectional DC / DC circuit through the power supply end of the power adapter. When the adapter is used for input, the adapter can charge the battery through the bidirectional DC / DC, and can also supply power to the mainboard through the stable voltage output by the unidirectional DC / DC. The bidirectional DC / DC circuit and the unidirectional DC / DC work independently. The adapter does not interfere with each other when charging the battery and supplying power to the mainboard, and intelligent management of battery charging can be realized, avoiding high-frequency charging and discharging of the battery and causing battery aging. The bidirectional DC / DC circuit is bidirectionally connected to the battery, and the power supply end of the bidirectional DC / DC circuit is unidirectionally connected to the unidirectional DC / DC circuit. When there is no adapter input, the battery supplies power, and the energy of the battery flows to the unidirectional DC / DC circuit through the bidirectional DC / DC circuit. The unidirectional DC / DC circuit outputs a stable voltage to supply power to the mainboard, avoiding the problem that the mainboard power supply voltage is consistent with the battery voltage and the performance is unstable. Compared with the prior art, the power supply system provided in the present invention gives priority to the adapter, and the battery and the adapter can achieve seamless switching, which overcomes the problems of battery aging, shortening of battery life, and unstable mainboard power supply voltage caused by the mainboard directly drawing power from the battery end and the mainboard power supply voltage being consistent with the battery voltage. The battery charging and discharging in the power supply system provided in the present invention can be intelligently controlled, and the system power supply performance is stable, which can greatly improve the battery life, system stability and power efficiency, reduce the user's long-term electricity cost, and provide a feasible solution for applications with higher performance requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A first structural schematic diagram of a power supply system for a computer provided in an embodiment of the present invention;
[0030] Figure 2 A second structural schematic diagram of a power supply system for a computer provided in an embodiment of the present invention;
[0031] Figure 3 A third structural schematic diagram of a power supply system for a computer provided in an embodiment of the present invention;
[0032] Figure 4 for Figure 3 Another structural diagram of . DETAILED DESCRIPTION
[0033] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0034] It should be noted that examples of embodiments of the present application are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.
[0035] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "an" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0036] See also Figure 1 , Figure 1 This is a schematic diagram of the first structure of the power supply system of the computer provided in this embodiment. Figure 1 As shown, in the power supply system, the output end of the adapter is connected to the DC / DC circuit, and the output end of the DC / DC circuit and the battery is connected in parallel with the input end of the motherboard, wherein the DC / DC circuit can specifically adopt a DC / DC BUCK-BOOST circuit, and BUCK-BOOST is a step-up and step-down conversion circuit (the same below). When the power supply system is used to charge and discharge the computer, when the battery is completely discharged, the battery needs to be charged first after connecting the adapter, and the computer can be turned on only after the battery voltage reaches the minimum working voltage. When the computer needs to be turned on to copy data in a hurry, it greatly affects the efficiency and user experience; in addition, the output current powers the motherboard and the battery at the same time. Frequent charging and discharging of the battery when the power supply system is running accelerates the aging of the battery and reduces the battery life.
[0037] See also Figure 2 , Figure 2 This is a second structural diagram of the power supply system of the computer provided in this embodiment. Figure 2As shown, in the power supply system, the output end of the adapter is connected to the DC / DC circuit, the output end of the DC / DC circuit and the FET is connected in parallel with the input end of the motherboard, and the input end of the FET is connected to the output end of the battery, wherein the DC / DC circuit can specifically adopt a DC / DC BUCK-BOOST circuit. When the power supply system is used to charge and discharge the computer, the controllable charging and discharging of the battery is achieved by connecting the FET (Field Effect Transistor), avoiding the frequent charging and discharging of the battery. However, when the battery is used for power supply, the power supply voltage of the motherboard changes with the battery voltage. If the motherboard has higher requirements for the power supply, it is necessary to add an additional power supply circuit on the motherboard end. If the power supply is supplied by the adapter input at this time, the power supply needs to be converted into power after two stages to supply power to the motherboard, which affects the efficiency of use.
[0038] In view of the problems existing in the power supply systems of the above two computers, the embodiments of the present invention provide a third power supply system for a computer, see Figure 3 , Figure 3 This is a third structural diagram of the power supply system of the computer provided in this embodiment. Figure 3 As shown, the computer includes a power adapter, a battery and a mainboard, and the power supply system includes a bidirectional DC / DC circuit, a unidirectional DC / DC circuit and a processor, wherein:
[0039] The power supply end of the power adapter is unidirectionally connected to the bidirectional DC / DC circuit and the unidirectional DC / DC circuit respectively;
[0040] The bidirectional DC / DC circuit is bidirectionally connected to the battery, and the power supply end of the bidirectional DC / DC circuit is unidirectionally connected to the unidirectional DC / DC circuit;
[0041] The power supply end of the unidirectional DC / DC circuit is unidirectionally connected to the mainboard;
[0042] The processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power-on / power-off state of the computer and whether the power adapter is powered on, so as to adjust the power-on state of the battery and the mainboard.
[0043] In this embodiment, the power supply end of the power adapter is unidirectionally connected to the bidirectional DC / DC circuit and the unidirectional DC / DC circuit respectively. When the adapter input is adopted, the adapter can charge the battery through the bidirectional DC / DC, and the adapter can also power the mainboard through the stable voltage output by the unidirectional DC / DC. The bidirectional DC / DC circuit and the unidirectional DC / DC work independently, and the adapter does not interfere with each other when charging the battery and powering the mainboard, which can realize intelligent management of battery charging and avoid high-frequency charging and discharging of the battery, which causes battery aging; and the bidirectional DC / DC circuit is bidirectionally connected to the battery, and the power supply end of the bidirectional DC / DC circuit is unidirectionally connected to the unidirectional DC / DC circuit. When there is no adapter input, the battery is used for power supply, and the energy of the battery flows to the unidirectional DC / DC circuit through the bidirectional DC / DC circuit, and the stable voltage output by the unidirectional DC / DC circuit is used to power the mainboard, which avoids the problem that the mainboard power supply voltage is consistent with the battery voltage and the performance is unstable. Compared with the prior art, the power supply system provided in this embodiment gives priority to the adapter, and the battery and the adapter can achieve seamless switching, which overcomes the problems of battery aging, shortening the life of the battery, and unstable mainboard power supply voltage caused by the mainboard directly drawing power from the battery end and the mainboard power supply voltage being consistent with the battery voltage. The battery charging and discharging in the power supply system provided in this embodiment can be intelligently controlled, and the system power supply performance is stable, which can greatly improve the battery life, system stability and power efficiency, reduce the user's long-term electricity cost, and provide a feasible solution for applications with higher performance requirements.
[0044] On the basis of the above embodiments, as an optional embodiment, the unidirectional power supply interface of the power adapter is connected in parallel with the unidirectional charging interface of the bidirectional DC / DC circuit and the unidirectional charging interface of the unidirectional DC / DC circuit to realize unidirectional connection of the power supply end of the power adapter with the bidirectional DC / DC circuit and the unidirectional DC / DC circuit respectively. The bidirectional DC / DC circuit is also connected to the battery through the bidirectional power supply interface, and is connected to the unidirectional charging interface of the unidirectional DC / DC circuit through the unidirectional power supply interface to realize bidirectional connection of the bidirectional DC / DC circuit with the battery, and the power supply end of the bidirectional DC / DC circuit is unidirectionally connected to the unidirectional DC / DC circuit. The unidirectional DC / DC circuit is also connected to the unidirectional charging interface of the mainboard through the unidirectional power supply interface to realize unidirectional connection of the power supply end of the unidirectional DC / DC circuit with the mainboard.
[0045] On the basis of the above embodiment, as an optional embodiment, the bidirectional DC / DC circuit is a bidirectional DC / DC BUCK-BOOST circuit. Thus, by bidirectionally connecting the bidirectional DC / DC circuit to the battery, the battery can be charged and discharged, and the BUCK-BOOST circuit can make the voltage rise and fall, and can be compatible with batteries of different rated voltages, and the range of compatible batteries is wider. In this embodiment, the specific structure of the bidirectional DC / DC circuit is not further limited. Those skilled in the art can select a topology structure that can realize bidirectional charging and discharging of the battery according to actual conditions. Preferably, the bidirectional DC / DC circuit can be a bidirectional four-switch BUCK-BOOST topology, and the structure of the bidirectional four-switch BUCK-BOOST topology can select a bidirectional four-switch BUCK-BOOST topology commonly used in the art.
[0046] On the basis of the above embodiments, as an optional embodiment, the unidirectional DC / DC circuit is a unidirectional DC / DC BUCK circuit. Thus, the power supply end of the power adapter and the power supply end of the bidirectional DC / DC circuit are connected to the charging end of the mainboard through the unidirectional DC / DC BUCK circuit, which can reduce the voltage output by the power adapter or the battery voltage passing through the bidirectional DC / DC circuit to the stable voltage required by the mainboard, thereby providing a stable voltage for the mainboard. In this embodiment, the specific structure of the unidirectional DC / DC circuit is not further limited. Those skilled in the art can select a topology structure that can achieve stable power supply according to actual conditions. Preferably, the unidirectional DC / DC circuit can be a BUCK buck topology, and the BUCK buck topology can select the BUCK buck topology commonly used in the art.
[0047] In some embodiments, the processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power-on / power-off state of the computer and whether the power adapter is powered on, so as to adjust the power-on state of the battery and the motherboard, including:
[0048] If it is determined that the computer is in a shutdown state and the power adapter is powered on, the unidirectional DC / DC circuit is controlled to cut off the power supply to the mainboard;
[0049] Determine whether it is powered by battery according to the battery power;
[0050] If it is determined that power is supplied to the battery, the power adapter is instructed to supply power to the battery through the bidirectional DC / DC circuit.
[0051] Specifically, when it is determined that the computer is in the shutdown state and the power adapter is powered on, the unidirectional DC / DC circuit stops supplying power to the mainboard, while the bidirectional DC / DC circuit and the battery are connected, the power supply system is running, and the processor determines whether the battery needs to be charged according to the battery power. If the battery power is not greater than the preset threshold, it is determined to supply power to the battery. At this time, the power adapter can be instructed to supply power to the battery through the bidirectional DC / DC circuit until the battery is fully charged and the battery enters a dormant state. In this way, high-frequency charging and discharging of the battery can be avoided, which is conducive to improving the battery life.
[0052] Based on the above embodiment, as an optional implementation, if the battery power is greater than a preset threshold, it is determined to stop supplying power to the battery, and the bidirectional DC / DC circuit is controlled to cut off battery charging. At this time, the battery enters a dormant state to avoid affecting the battery service life by charging and discharging the battery.
[0053] It should be noted that, in this embodiment, the specific value of the preset threshold is not further limited, and those skilled in the art can determine it according to batteries with different rated voltages.
[0054] In other embodiments, the processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the motherboard, including:
[0055] If it is determined that the computer is in a shutdown state and the power adapter is not powered on, the unidirectional DC / DC circuit is controlled to cut off power supply to the mainboard, and the bidirectional DC / DC circuit is controlled to cut off battery discharge.
[0056] Specifically, when it is determined that the computer is in a shutdown state and the power adapter is not powered, the power supply system stops running and the battery enters a dormant state. At this time, the processor controls the unidirectional DC / DC circuit to stop supplying power to the mainboard and controls the bidirectional DC / DC circuit to stop discharging the battery. In this way, the battery loss can be reduced, which is conducive to saving battery power.
[0057] In other embodiments, the processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the motherboard, including:
[0058] If it is determined that the computer is in the on state and the power adapter is supplying power, the power adapter is controlled to be connected to the unidirectional DC / DC circuit, and the unidirectional DC / DC circuit is controlled to be connected to the mainboard, so as to supply power to the mainboard;
[0059] Determine whether it is powered by battery according to the battery power;
[0060] If it is determined to supply power to the battery, the power adapter is controlled to be connected to the bidirectional DC / DC circuit, and the bidirectional DC / DC circuit is controlled to be connected to the battery, so as to supply power to the battery.
[0061] Specifically, when it is determined that the computer is in the on state and the power adapter is powered on, the power supply system switches to the adapter for power supply, controls the power adapter to be connected to the unidirectional DC / DC circuit, and the unidirectional DC / DC circuit to be connected to the mainboard to supply power to the mainboard, and the processor determines whether the battery needs to be charged according to the battery power. If the battery power is not greater than the preset threshold, it is determined to supply power to the battery. At this time, the power adapter can be instructed to supply power to the battery through the bidirectional DC / DC circuit until the battery is fully charged and the battery enters a dormant state. In this way, a stable voltage can be delivered to the mainboard, avoiding the problem of unstable mainboard power supply voltage, and determining whether to supply power to the battery according to the battery power can avoid high-frequency charging and discharging of the battery, which is conducive to improving the battery life.
[0062] Based on the above embodiment, as an optional implementation, if the battery power is greater than a preset threshold, it is determined to stop supplying power to the battery, and the bidirectional DC / DC circuit is controlled to cut off battery charging. At this time, the battery enters a dormant state to avoid affecting the battery service life by charging and discharging the battery.
[0063] In other embodiments, the processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the motherboard, including:
[0064] If it is determined that the computer is in the on state and the power adapter is not supplying power, the bidirectional DC / DC circuit is controlled to be connected to the battery, the bidirectional DC / DC circuit is controlled to be connected to the unidirectional DC / DC circuit, and the unidirectional DC / DC circuit is controlled to be connected to the motherboard, so as to supply power to the motherboard through the battery.
[0065] Specifically, when it is determined that the computer is in the power-on state and the power adapter is not powered, the power supply system is switched to battery power supply, and the bidirectional DC / DC circuit is controlled to be connected to the battery, the bidirectional DC / DC circuit is connected to the unidirectional DC / DC circuit, and the unidirectional DC / DC circuit is connected to the motherboard. The battery is directly connected to the unidirectional DC / DC circuit through the bidirectional DC / DC circuit, and the voltage is stepped down to power the motherboard through the unidirectional DC / DC circuit. At this time, the loss of the bidirectional DC / DC circuit is mainly caused by the internal resistance of the device. Therefore, the battery supplies power to the unidirectional DC / DC circuit through the bidirectional DC / DC circuit, and the unidirectional DC / DC circuit supplies power to the battery, which can reduce the battery voltage to a stable voltage, thereby providing a stable voltage for the motherboard, avoiding the problem that the battery directly supplies power to the motherboard, causing the motherboard power supply voltage to change with the battery voltage, causing the motherboard power supply voltage to be unstable.
[0066] The processor of this embodiment timely adjusts the power-on status of the battery and the mainboard according to the power-on and power-off status of the computer and whether the power adapter is powered on. When the power adapter is powered on, the power adapter is preferentially used to power the battery and / or the mainboard. When the power adapter is not powered on, it can automatically switch to the battery to power the mainboard, thereby enabling seamless switching between the power adapter and the battery, avoiding power failure of the mainboard when the power adapter and the battery are switched, and improving the stability of the power supply system.
[0067] Based on the above embodiment, as an optional implementation mode, Figure 4 As shown, the power supply system also includes a power control module and an information acquisition module, and the processor is connected to the power control module and the information acquisition module respectively, wherein:
[0068] The processor collects the input voltage and current of the adapter and the voltage and current of the battery through the information collection module to determine the working status of the power supply system;
[0069] The processor controls the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit through the power control module to adjust the power-on status of the battery and the mainboard.
[0070] Specifically, the processor determines whether the adapter is powered on by collecting input voltage and current information of the adapter through the information collection module, and determines whether the battery is in working state by collecting voltage and current information of the battery through the information collection module. The working state of the battery includes charging state and discharging state.
[0071] The processor collects voltage and current information of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit through the power control module, and can control the conduction of the power devices of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit by controlling the PMW signal to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit, thereby adjusting the power-on state of the battery and the mainboard. As an optional implementation, the power control module includes an IO control module, and the processor can collect external buttons and switch states through the IO control module to instruct the unidirectional DC / DC circuit that supplies power to the mainboard to convert to a working output state to supply power to the mainboard, or to instruct the unidirectional DC / DC circuit that supplies power to the mainboard to convert to a disconnected state to cut off power supply to the mainboard.
[0072] Based on the above embodiment, as an optional implementation mode, Figure 4 As shown, the power supply system also includes a power indication module, a data communication module and a power supply module, and the processor is connected to the power indication module, the data communication module and the power supply module respectively, wherein:
[0073] The data communication module is used to read the battery power and upload the battery power to the processor. The processor controls the power indicator module to display the battery power so as to determine whether it is powered by the battery based on the battery power. The power supply module is used to provide auxiliary power for the processor, where auxiliary power supply refers to providing power to the necessary power supply circuits for the normal operation of the computer's power supply system, such as powering the chip.
[0074] Based on the above embodiment, as an optional implementation, the processor is MCU (Micro Control Unit). Of course, those skilled in the art can also select other programmable logic devices, transistor logic devices, hardware components or any combination thereof as the processor according to actual needs.
[0075] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0076] Although the disclosure is disclosed as above, the protection scope of the disclosure is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the disclosure, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A power supply system for a computer, the computer comprising a power adapter, a battery and a motherboard, characterized in that: The power supply system includes: a bidirectional DC / DC circuit, a unidirectional DC / DC circuit and a processor, wherein: The power supply end of the power adapter is unidirectionally connected to the bidirectional DC / DC circuit and the unidirectional DC / DC circuit respectively; The bidirectional DC / DC circuit is bidirectionally connected to the battery, and the power supply end of the bidirectional DC / DC circuit is unidirectionally connected to the unidirectional DC / DC circuit; The power supply end of the unidirectional DC / DC circuit is unidirectionally connected to the mainboard; The processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard.
2. The power supply system according to claim 1, characterized in that: The processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard, including: If it is determined that the computer is in a shutdown state and the power adapter is powered on, controlling the unidirectional DC / DC circuit to stop supplying power to the mainboard; Determining whether to supply power to the battery according to the battery power; If it is determined to supply power to the battery, the power adapter is instructed to supply power to the battery through the bidirectional DC / DC circuit.
3. The power supply system according to claim 1, characterized in that: The processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard, including: If it is determined that the computer is in a shutdown state and the power adapter is not powered on, the unidirectional DC / DC circuit is controlled to stop supplying power to the mainboard, and the bidirectional DC / DC circuit is controlled to stop discharging the battery.
4. The power supply system according to claim 1, characterized in that: The processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard, including: If it is determined that the computer is in the power-on state and the power adapter is supplying power, controlling the power adapter to be connected to the unidirectional DC / DC circuit, and the unidirectional DC / DC circuit to be connected to the mainboard, so as to supply power to the mainboard; Determining whether to supply power to the battery according to the battery power; If it is determined to supply power to the battery, the power adapter is controlled to be connected to the bidirectional DC / DC circuit, and the bidirectional DC / DC circuit is controlled to be connected to the battery, so as to supply power to the battery.
5. The power supply system according to claim 1, characterized in that: The processor is used to control the conduction of the bidirectional DC / DC circuit and the unidirectional DC / DC circuit according to the power on / off state of the computer and whether the power adapter is powered on, so as to adjust the power on state of the battery and the mainboard, including: If it is determined that the computer is in the on state and the power adapter is not supplying power, the bidirectional DC / DC circuit is controlled to be connected to the battery, the bidirectional DC / DC circuit is controlled to be connected to the unidirectional DC / DC circuit, and the unidirectional DC / DC circuit is controlled to be connected to the mainboard, so as to supply power to the mainboard through the battery.
6. The power supply system according to claim 2 or 4, characterized in that: The determining whether to supply power to the battery according to the battery power level includes: If the battery power is greater than a preset threshold, determining to stop supplying power to the battery; If the battery power is not greater than a preset threshold, it is determined to supply power to the battery.
7. The power supply system according to claim 2 or 4, characterized in that: The determining whether to supply power to the battery according to the battery power level further includes: If it is determined to stop supplying power to the battery, the bidirectional DC / DC circuit is controlled to stop charging the battery.
8. The power supply system according to claim 1, characterized in that: The power supply system further includes a power control module, which is connected to the processor. The processor controls the conduction between the bidirectional DC / DC circuit and the unidirectional DC / DC circuit through the power control module.
9. The power supply system according to claim 1, characterized in that: The power supply system also includes an information acquisition module, which is connected to the processor. The processor collects the input voltage and current of the adapter and the voltage and current of the battery through the information acquisition module to determine the working state of the power supply system.
