Power supply method, device, equipment, readable storage medium and program product

By dynamically adjusting the main and backup power supply power supply in the DC power supply system, the problem of poor power supply flexibility in traditional technology is solved, and more efficient load power supply and power supply reliability are achieved.

CN119582382APending Publication Date: 2025-03-07SUGON DATAENERGYBEIJING CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411212753.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The traditional DC power supply method has the problem of poor power supply flexibility and cannot effectively deal with the needs of load power changes and power supply reliability.

Method used

By obtaining the load information in the power supply system and the main power supply power supply, determine whether the backup power supply needs to be enabled, and when necessary, power the load through the main power supply and the backup power supply power supply simultaneously.

Benefits of technology

It improves power supply flexibility and can dynamically adjust the power supply power according to load information to ensure stable power supply of the load under different power supply states, avoiding the problem of insufficient power supply flexibility in traditional technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119582382A_ABST
    Figure CN119582382A_ABST
Patent Text Reader

Abstract

The invention relates to a power supply method, device and equipment, a readable storage medium and a program product. The method comprises the steps of determining whether a standby power supply in the power supply system needs to be started or not according to load information and a main power supply by obtaining the load information of a load in the power supply system and the main power supply in the power supply system, and if the standby power supply needs to be started, starting the standby power supply; and if so, supplying power to the load through the main power supply and the standby power supply. The method can improve the power supply flexibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power control technology, and in particular to a power supply method, device, equipment, readable storage medium and program product. Background Art

[0002] In recent years, the proportion of DC devices in terminal power-consuming equipment has been increasing day by day, such as servers. There are also more and more data centers composed of DC-powered servers. Therefore, DC power supply methods have emerged.

[0003] The traditional DC power supply method usually supplies power to the load through the grid when the grid is normal, and supplies power to the load through the battery when the grid is off.

[0004] However, the traditional DC power supply method has the problem of poor power supply flexibility. Summary of the invention

[0005] Based on this, it is necessary to provide a power supply method, device, equipment, readable storage medium and program product that can improve power supply flexibility in response to the above technical problems.

[0006] In a first aspect, the present application provides a power supply method, comprising:

[0007] Obtaining load information of loads in the power supply system and a main power supply in the power supply system;

[0008] Determine whether to enable the backup power supply in the power supply system according to the load information and the main power supply;

[0009] If the backup power supply needs to be enabled, the load is powered by the main power supply and the backup power supply.

[0010] In one embodiment, the load information is load power, and determining whether to enable a backup power supply in the power supply system according to the load information and the main power supply includes:

[0011] Obtain the power supply threshold corresponding to the main power supply;

[0012] If the load power is greater than the power supply threshold, it is determined that the backup power supply needs to be enabled.

[0013] In one of the embodiments, when the main power supply is a power grid, the backup power supply is a battery module;

[0014] When the main power supply is a battery module, the backup power supply is the power grid.

[0015] In one embodiment, the process of supplying power to a load through a battery module includes:

[0016] Get the working voltage of the load;

[0017] The battery module is controlled to supply power to the load according to the working voltage.

[0018] In one embodiment, a charging and discharging module is connected between the load and the battery module, and the battery module is controlled to supply power to the load according to the working voltage, including:

[0019] Determine the power supply duty cycle according to the operating voltage;

[0020] A power supply control signal is generated according to the power supply duty cycle, and the power supply control signal is used to control the conduction time of the first switch in the charge and discharge module, so that the battery module supplies power to the load according to the working voltage.

[0021] In one embodiment, the method further comprises:

[0022] If the backup power supply does not need to be enabled, and the backup power supply is a battery module, then determining the current charging demand of the battery module;

[0023] Determine the charging duty cycle according to the charging demand;

[0024] A charging control signal is generated according to the charging duty cycle, and the charging control signal is used to control the conduction time of the second switch in the charging and discharging module, so that the power grid charges the battery module according to the charging demand.

[0025] In one embodiment, determining a current charging requirement of a battery module includes:

[0026] Get the current charging mode of the battery module;

[0027] Determine charging requirements based on charging pattern.

[0028] In one embodiment, the method further comprises:

[0029] In the process of supplying power to the load through the main power supply and the backup power supply, obtaining a first protection power corresponding to the main power supply and a second protection power corresponding to the backup power supply;

[0030] Determine a first protection current according to the first protection power and the operating voltage of the load, and determine a second protection current according to the second protection power and the operating voltage;

[0031] The power supply current of the main power supply is controlled to be less than the first protection current, and the power supply current of the standby power supply is controlled to be less than the second protection current.

[0032] In a second aspect, the present application further provides a power supply device, including:

[0033] An acquisition module, used to acquire load information of loads in the power supply system and a main power supply in the power supply system;

[0034] A backup activation module is used to determine whether a backup power supply in the power supply system needs to be activated based on load information and the main power supply;

[0035] At the same time, the power supply module is used to supply power to the load through the main power supply and the backup power supply if the backup power supply needs to be enabled.

[0036] In a third aspect, the present application further provides a power supply system, which includes a controller, a load, a battery module, a power grid, and a charging and discharging module, wherein the controller is used to execute the steps of the method of the first aspect mentioned above.

[0037] In a fourth aspect, an embodiment of the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of the first aspect when executing the computer program.

[0038] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method of the first aspect described above are implemented.

[0039] In a sixth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method in the first aspect are implemented.

[0040] The above-mentioned power supply method, device, equipment, readable storage medium and program product can determine whether it is necessary to enable the backup power supply in the power supply system according to the load information and the main power supply by obtaining the load information of the load in the power supply system and the main power supply in the power supply system, and if it is necessary to enable the backup power supply, the load is powered by the main power supply and the backup power supply. In this way, two power supplies are set up, so that the main power supply can be flexibly selected according to its own needs when supplying power, and it can also be determined whether to enable the backup power supply according to the load information, so that the main power supply and the backup power supply can power the load at the same time, avoiding the problem of poor power supply flexibility in traditional technology that can only be powered by one power source or battery. The technical solution provided by the present application has higher power supply flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 This is a structural diagram of the power supply system in traditional technology;

[0043] Figure 2 It is a structural diagram of the uninterruptible DC power supply system in the traditional technology;

[0044] Figure 3 An application environment diagram of a power supply method in an embodiment;

[0045] Figure 4 is a circuit diagram of a charge and discharge module in one embodiment;

[0046] Figure 5 is a schematic flow chart of a power supply method in one embodiment;

[0047] Figure 6 A schematic diagram of a process of supplying power to a battery module in another embodiment;

[0048] Figure 7 A circuit diagram for powering a battery module in another embodiment;

[0049] Figure 8 A schematic diagram of a process for charging a battery module in another embodiment;

[0050] Fig. 9 A circuit diagram for charging a battery module in another embodiment;

[0051] Fig.10 is a structural block diagram of a power supply device in one embodiment;

[0052] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] The traditional power supply method is AC power supply, and uninterruptible power supply is achieved through UPS (Uninterruptible Power Supply). Figure 1The power supply process is that 10kV AC passes through a 10kV / 400V distribution transformer, a low-voltage distribution cabinet, and a UPS, and finally provides 380V AC power for the server.

[0055] However, in recent years, DC-related technologies have developed rapidly in the fields of power (DC transmission), communications (240V, 336V high-voltage DC power supply), electric vehicles (DC charging), etc. With the development of DC-related technologies, the proportion of DC devices in terminal power-consuming equipment is increasing day by day, and mainstream equipment such as servers and data centers composed of DC-powered servers are also increasing. Therefore, DC power supply has emerged.

[0056] Traditional DC power supply, refer to Figure 1 In a data center that uses high-voltage DC power supply, the 10kV AC voltage passes through a 10kV / 400V distribution transformer, a low-voltage distribution cabinet, and a high-voltage DC power supply, ultimately providing a 380V DC power supply for the server.

[0057] In some scenarios, such as servers in air-cooled data centers, uninterrupted power supply is required. Since the power supply units of servers in air-cooled data centers are generally compatible with both AC and DC, servers in air-cooled data centers use one DC power supply and one AC power supply.

[0058] Among them, regarding the uninterruptible power supply method of direct current, refer to Figure 2 Usually, when the AC power grid is supplying power normally, the AC power provided by the AC power grid is converted into DC power through the rectifier module to power the load. When the AC power grid is supplying power abnormally, the battery releases electric energy to maintain the normal operation of the load.

[0059] However, the traditional DC power supply method has the problem of poor power supply flexibility because it can only be powered by the power grid or batteries.

[0060] In view of this, the embodiments of the present application provide a power supply method, device, equipment, readable storage medium and program product. By obtaining the load information of the load in the power supply system and the main power supply in the power supply system, it can be determined whether the backup power supply in the power supply system needs to be enabled according to the load information and the main power supply, and if the backup power supply needs to be enabled, the load is powered by the main power supply and the backup power supply. In this way, two power supplies are set up, so that the main power supply can be flexibly selected according to its own needs when supplying power, and it can also be determined whether to enable the backup power supply according to the load information, so that the main power supply and the backup power supply can power the load at the same time, avoiding the problem of poor power supply flexibility in the traditional technology that can only be powered by one power source, either the power grid or the battery. The technical solution provided by the present application has higher power supply flexibility.

[0061] The power supply method provided in the embodiment of the present application can be applied to Figure 3 In the application environment shown, the power grid is connected to the rectifier module, which is connected to the load through the DC bus, so that the power grid supplies power to the load; the power grid is connected to the charge and discharge module, which is connected to the battery module, which is connected to the load through the DC bus, and the controller is connected to the charge and discharge module, so that the controller can control the battery to supply power to the load through the charge and discharge module.

[0062] In an embodiment of the present application, the rectifier module and the charging and discharging module are integrated into one integrated module, which can effectively reduce the volume of the entire power supply system.

[0063] In the traditional DC power supply system, in order to realize the charging and discharging function of the battery and the rectification function of the AC power, the rectifier module will be placed in the rectifier output cabinet, and the charging and discharging module will be placed in the battery access cabinet, which makes the power supply system very large. With the development of AI artificial intelligence and the deepening of the concept of green data centers, today's data centers, especially the power consumption of intelligent data center servers, are increasing, and the requirements for low carbonization and greening of their power supply and distribution systems are also getting higher and higher. Therefore, if the traditional DC power supply system is to meet the power supply needs, it is necessary to add more rectifier modules and charging and discharging modules, but this makes the traditional DC power supply system bulky. Therefore, in the embodiment of the present application, the rectifier module and the charging and discharging module are integrated into an integrated module, so that the volume of the entire power supply system can be effectively reduced.

[0064] In a possible implementation, the number of integrated modules can be set according to the power supply demand of the load. In the embodiment of the present application, the power and value required by all loads in the power supply system can be obtained, and then the rated power of an integrated module is obtained, and the power and value are divided by the rated power to obtain the number of integrated modules. For example, if the power and value is 400KW and the rated power of an integrated module is 15KW-30KW, it can be determined that the number of integrated modules is at least 13. Optionally, in order to avoid insufficient power supply, the number of integrated modules is redundant by 1-2 on the original basis. Referring to the above example, the number of integrated modules is finally determined to be 14.

[0065] In a possible embodiment, a miniature circuit breaker may be added to the input side of each integrated module (where it is connected to the power grid). Thus, when any integrated module fails, its corresponding miniature circuit breaker may be disconnected, thereby isolating the failed integrated module from the power supply system and preventing the failed integrated module from affecting the operation of other integrated modules.

[0066] The integrated module includes a charging and discharging module and a rectifying module.

[0067] Among them, the rectifier module can adopt an AC / DC rectifier circuit that meets YDT3089-2016 "336V DC power supply system for communication". Each rectifier module's output positive and negative circuits are equipped with fuses. When a short circuit occurs inside the rectifier module, the fuse is disconnected to prevent the DC bus current connected to the load from flowing back and burning the terminal. The outputs of the rectifier modules included in the multiple integrated modules are connected in parallel on the same DC bus, and different circuit breakers are configured on the connection circuits between the DC bus and each load to provide DC power to different loads.

[0068] The charging and discharging module can use a bidirectional DC-DC converter circuit, refer to Figure 4 The circuit includes two diodes, two capacitors, an inductor, two switches and two fuses. One end of the charge and discharge module is connected to the positive and negative electrodes of the battery module, and the other end is connected to the DC bus. In the embodiment of the present application, a fuse can also be set between the charge and discharge module and the battery module, and the fuse can provide overcurrent and short circuit protection for the charge and discharge process of the battery module.

[0069] In an exemplary embodiment, Figure 5 As shown, a power supply method is provided, which is applied to Figure 3 The controller in FIG. 1 is taken as an example to illustrate, and the following steps 501 to 503 are included. Among them:

[0070] Step 501: Obtain load information of loads in a power supply system and a main power supply in the power supply system.

[0071] The load is a device that is connected to the power supply system and needs to be powered, such as a server, an electric car, etc.

[0072] In a possible implementation, the controller may actively obtain load information of the load in the power supply system. Optionally, the controller may obtain the load information through an external input device; optionally, the controller may obtain load information pre-set in the system.

[0073] The load information is used to characterize the power supply information required by the load, and the load information may include the power supply power and operating voltage required by each load.

[0074] In a possible implementation, while acquiring the load information, the controller may also determine the current main power supply in the power supply system.

[0075] In an embodiment of the present application, the power supply of the power supply system includes a power grid and a battery module. The main power supply can be determined according to the actual application scenario, and the other power supply is used for backup. For example, when the electricity cost is too high in the actual application scenario, the battery module can be set as the main power supply. When the electricity cost is low in the actual application scenario, the power grid can be set as the main power supply.

[0076] Optionally, the controller may obtain a power supply instruction, which may indicate that the main power supply is a power grid or a battery module.

[0077] Step 502: Determine whether to enable a backup power supply in the power supply system based on the load information and the main power supply.

[0078] After obtaining the load information, the controller can determine whether to start the backup power supply based on the load information and the main power supply.

[0079] In a possible implementation, the load information may include the working voltage, and the controller may detect in real time whether the output voltage of the main power supply reaches the working voltage. If the output voltage does not reach the working voltage, the controller may immediately determine that the backup power supply needs to be turned on.

[0080] In another possible implementation, the load information is load power, and the controller may obtain a power supply power threshold corresponding to the main power supply, and if the load power is greater than the power supply power threshold, it is determined that the backup power supply needs to be enabled.

[0081] Step 503: If the backup power supply needs to be enabled, the load is powered by the main power supply and the backup power supply.

[0082] When the controller determines that the backup power supply needs to be enabled, the controller can control the main power supply and the backup power supply to supply power to the load at the same time.

[0083] In the embodiment of the present application, the load power required by the load is greater than the maximum power supply power of the main power supply. Regarding the process in which the controller controls the main power supply and the backup power supply to supply power to the load at the same time, optionally, the controller can first control the main power supply to be turned on so that the main power supply supplies power to the load according to its maximum power supply, and then the controller controls the backup power supply to be turned on so that the backup power supply provides the power that the main power supply cannot provide. For example, if the load power required by the load is 28KW and the maximum power supply power that the main power supply can provide is 20KW, the controller can first control the main power supply to be turned on so that the main power supply provides 20KW of power to the load, and then the controller controls the backup power supply to be turned on so that the backup power supply provides the remaining 8KW of power to the load; optionally, the controller can obtain the working voltage of the load so that both the main power supply and the backup power supply are powered by the load's supply voltage.

[0084] In a possible implementation, when the controller controls the power supply of the main power supply and the backup power supply, in order to ensure power supply safety, the controller can obtain the first protection power corresponding to the main power supply and the second protection power corresponding to the backup power supply in the process of powering the load through the main power supply and the backup power supply, and then determine the first protection current according to the first protection power and the working voltage of the load, and determine the second protection current according to the second protection power and the working voltage. Finally, the controller can control the supply current of the main power supply to be less than the first protection current, and control the supply current of the backup power supply to be less than the second protection current.

[0085] Among them, the first protection power can be the maximum power supply power of the safety regulations corresponding to the main power supply, and the second protection power can be the maximum power supply power of the safety regulations corresponding to the backup power supply. In the embodiment of the present application, the controller can control the main power supply and the backup power supply to supply power with the load working voltage. The controller can determine the first protection current under the safety regulations of the main power supply according to the working voltage of the load and the first protection power. Similarly, the controller can determine the second protection current under the safety regulations of the backup power supply according to the working voltage of the load and the second protection power. In this way, when the controller controls the power supply of the main power supply and the backup power supply, the power supply current of the main power supply can be limited to less than the first protection current, and the power supply current of the backup power supply can be limited to less than the second protection current, thereby avoiding abnormal power supply of the main power supply and the backup power supply.

[0086] In the above embodiment, two power supplies are set up, so that when supplying power, the main power supply can be flexibly selected according to its own needs, and whether to enable the backup power supply can be determined according to the load information, so that the main power supply and the backup power supply can supply power to the load at the same time, avoiding the problem of poor power supply flexibility in traditional technology that can only be powered by one power source or battery. The technical solution provided by the present application has higher power supply flexibility.

[0087] In one embodiment, based on Figure 5 In the illustrated embodiment, when the main power supply is the grid, the controller may determine that the backup power supply is a battery module; when the main power supply is the battery module, the controller may determine that the backup power supply is the grid.

[0088] Based on the above embodiments, see Figure 6 , the embodiment of the present application relates to the process of supplying power to a load through a battery module. Figure 6 As shown, the process may include Figure 6 Step 601 and step 602 are shown.

[0089] Step 601, obtaining the operating voltage of the load.

[0090] Step 602, controlling the battery module to supply power to the load according to the working voltage.

[0091] In an embodiment of the present application, the controller can control each power supply to supply power with the working voltage of the load. Therefore, the controller can obtain the working voltage of the load. Optionally, the load information includes the working voltage, and the controller can obtain the working voltage of the load based on the load information.

[0092] For the power grid, the controller can control the power supply voltage of the power grid by controlling the rectifier module. For the battery module, in one possible implementation, a charge and discharge module is connected between the load and the battery module. The controller can control the charge and discharge module to control the battery module to power the load at the working voltage of the load.

[0093] Reference Figure 7 , which is the state of the circuit in the charge and discharge module when the battery module is powered. When the battery module is powered, switch 1 is always in the disconnected state.

[0094] Optionally, if the controller controls switch 2 to close, the circuit in the charge and discharge module includes a first circuit "battery module->fuse 1->inductor->switch 2->fuse 2->battery module", and a second circuit "battery module->fuse 1->inductor->diode 1->DC bus->fuse 2->battery module". At this time, the battery module stores electricity for the inductor through the first circuit, and at the same time, supplies power to the load through the second circuit.

[0095] Optionally, if the controller controls switch 2 to be disconnected, the circuit in the charge and discharge module only includes the second circuit. At this time, the battery module and the inductor will supply power to the load through the second circuit.

[0096] Therefore, in the embodiment of the present application, the controller can control the supply voltage of the battery module by controlling the opening and closing time of the switch 2. Regarding the opening and closing time of the switch 2, the controller can control the opening and closing time of the switch 2 by controlling the power supply duty cycle of the power supply control signal. The relationship between the supply voltage of the battery and the power supply duty cycle of the power supply control signal can be referred to the following formula:

[0097] V 供电电压 =V 电池模组最大电压 / (1-PWM 供电占空比 ) (1)

[0098] Therefore, in a possible implementation, the controller can determine the power supply duty cycle according to the working voltage, that is, the controller can substitute the working voltage as the power supply voltage of the battery into Formula 1, thereby changing the power supply duty cycle; then, the controller generates a power supply control signal according to the power supply duty cycle, and uses the power supply control signal to control the conduction time of the first switch in the charge and discharge module, so that the battery module supplies power to the load according to the working voltage, wherein the first switch can be Figure 7 Switch 2 in.

[0099] In the above embodiment, the battery module can be controlled to supply power with a stable working voltage of the load. When a conventional load is powered by a battery, the output voltage of the DC power supply will change with the percentage of the battery power (for example, a 336V high-voltage DC power supply, the DC bus and the battery output voltage can vary from 280V to 400V). Therefore, the power supply unit of a conventional load can tolerate a wider range of fluctuations in the power supply voltage. However, in some specific scenarios, such as when the load is an immersion liquid-cooled server, due to its spatial characteristics, its power supply unit is smaller than the power supply unit of a conventional server, so the tolerable input voltage range is narrower, and its power supply voltage must be maintained within a relatively stable range. By adopting the power supply method provided in the embodiment of the present application, the battery module can be controlled to supply power with a stable working voltage of the load, ensuring the normal operation of the load.

[0100] based on Figure 6 and Figure 7 The embodiment shown, see Figure 8 , the embodiment of the present application relates to the process of charging a battery module. Figure 8 As shown, the process may include Figure 8 Steps 801 to 803 are shown.

[0101] Step 801: If the backup power supply does not need to be enabled and the backup power supply is a battery module, the current charging requirement of the battery module is determined.

[0102] In an embodiment of the present application, when there is no need to enable the backup power supply and the backup power supply is a battery module, the main power supply is the power grid. While the controller controls the power grid to supply power to the load, it can control the power grid to charge the battery module, thereby ensuring that there is electrical energy in the battery module.

[0103] When the controller charges the battery module, it can first determine the current charging requirements of the battery module. The charging requirements may be, for example, high-speed charging and voltage-stabilized charging. When the controller charges multiple battery modules in parallel or series at the same time, the charging requirements may also include uniform charging (that is, the charging level of each battery remains consistent), etc. Regarding the process of the controller determining the charging requirements, in one possible implementation, the controller may obtain the current charging mode of the battery module, and then determine the charging requirements based on the charging mode.

[0104] The charging mode is used to characterize the charging functions that the controller can provide, such as floating charging, equalizing charging, etc. Different charging modes correspond to different charging requirements.

[0105] Step 802, determining a charging duty cycle according to charging demand.

[0106] In the embodiment of the present application, different charging requirements correspond to different charging voltages. For the process of how the controller adjusts the charging voltage, refer to Fig. 9 , which is the state of the circuit in the charging and discharging module when the controller controls the power grid to charge the battery module.

[0107] In the embodiment of the present application, when the battery module is in a charging state, the controller controls the switch 2 to always be in an off state.

[0108] Optionally, the controller controls switch 1 to close, and the first charging circuit conducted in the charge and discharge module is "DC bus->switch 1->inductor->fuse 1->battery module->fuse 2->DC bus". At this time, the power grid is not only charging the battery module through the DC bus, but also storing energy for the inductor.

[0109] Optionally, the controller controls switch 1 to be disconnected, and the second charging circuit that is turned on in the charge and discharge module is "inductor->fuse 1->battery module->fuse 2->switch 2". At this time, the inductor charges the battery module.

[0110] Therefore, the controller can control the charging voltage of the battery module by controlling the opening and closing time of the switch 1. In the embodiment of the present application, the controller can control the on-time of the switch 1 (i.e., the second switch) by generating charging control signals with different charging duty cycles. For the relationship between the charging voltage and the charging duty cycle, the following formula can be referred to:

[0111] V 充电电压 =V 直流母线电压 ×PWM 充电占空比 (2)

[0112] In summary, after obtaining the charging demand, the controller can determine the currently required charging voltage, and then substitute the charging voltage into the above formula 2, and the controller can determine the charging duty cycle.

[0113] Step 803, generating a charging control signal according to the charging duty cycle, and using the charging control signal to control the conduction time of the second switch in the charging and discharging module, so that the grid charges the battery module according to the charging demand.

[0114] In an embodiment of the present application, after the controller determines the charging duty cycle, it can generate a charging control signal according to the charging duty cycle, and then use the charging control signal to control the conduction time of the second switch in the charging and discharging module so that the power grid charges the battery module according to the charging demand.

[0115] In the above embodiment, controlling the charging voltage of the battery module can ensure that the battery module can be charged at a stable voltage, and ensure that the battery module can be charged safely and efficiently.

[0116] In one embodiment, an exemplary power supply method is provided. The method comprises the following steps:

[0117] Step a: obtaining load information of loads in the power supply system and a main power supply in the power supply system.

[0118] The load information is load power.

[0119] Step b: obtaining a power supply power threshold corresponding to a main power supply.

[0120] Step c: if the load power is greater than the power supply threshold, it is determined that the backup power supply needs to be enabled.

[0121] Step d: If the backup power supply needs to be enabled, the load is powered by the main power supply and the backup power supply.

[0122] Among them, when the main power supply is the power grid, the backup power supply is the battery module; when the main power supply is the battery module, the backup power supply is the power grid.

[0123] Among them, a charging and discharging module is connected between the load and the battery module.

[0124] Step e: obtaining the operating voltage of the load.

[0125] Step f, determining the power supply duty cycle according to the operating voltage.

[0126] Step g: generating a power supply control signal according to the power supply duty cycle, and using the power supply control signal to control the conduction time of the first switch in the charge and discharge module, so that the battery module supplies power to the load according to the working voltage.

[0127] Step h: in the process of supplying power to the load through the main power supply and the backup power supply, obtaining a first protection power corresponding to the main power supply and a second protection power corresponding to the backup power supply.

[0128] Step i, determining a first protection current according to the first protection power and the operating voltage of the load, and determining a second protection current according to the second protection power and the operating voltage.

[0129] Step j, controlling the power supply current of the main power supply to be less than the first protection current, and controlling the power supply current of the backup power supply to be less than the second protection current.

[0130] Step k: if the backup power supply does not need to be enabled and the backup power supply is a battery module, obtain the current charging mode of the battery module.

[0131] Step 1: Determine charging requirements according to the charging mode.

[0132] Step m: determining the charging duty cycle according to the charging demand.

[0133] Step n, generating a charging control signal according to the charging duty cycle, and using the charging control signal to control the conduction time of the second switch in the charging and discharging module, so that the power grid charges the battery module according to the charging demand.

[0134] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0135] Based on the same inventive concept, the embodiment of the present application also provides a power supply device for implementing the power supply method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power supply device embodiments provided below can refer to the limitations on the power supply method above, and will not be repeated here.

[0136] In an exemplary embodiment, Fig.10 As shown, a power supply device is provided, including: an acquisition module 1001, a standby enabling module 1002 and a simultaneous power supply module 1003, wherein:

[0137] An acquisition module 1001 is used to acquire load information of loads in the power supply system and a main power supply in the power supply system;

[0138] A backup activation module 1002 is used to determine whether a backup power supply in the power supply system needs to be activated according to load information and a main power supply;

[0139] At the same time, the power supply module 1003 is used to supply power to the load through the main power supply and the backup power supply if the backup power supply needs to be activated.

[0140] In one embodiment, the load information is load power, and the standby enabling module 1002 includes:

[0141] A threshold value acquisition unit, used to acquire a power supply power threshold value corresponding to a main power supply;

[0142] The enabling unit is used to determine that a backup power supply needs to be enabled if the load power is greater than a power supply power threshold.

[0143] In one embodiment, when the main power supply is a power grid, the backup power supply is a battery module; when the main power supply is a battery module, the backup power supply is a power grid.

[0144] In one embodiment, the power supply device further comprises:

[0145] A voltage acquisition module is used to obtain the working voltage of the load;

[0146] The battery power supply module is used to control the battery module to supply power to the load according to the working voltage.

[0147] In one embodiment, a charging and discharging module is connected between the load and the battery module, and the battery power supply module includes:

[0148] A power supply duty cycle determining unit, used to determine the power supply duty cycle according to the operating voltage;

[0149] The power supply control unit is used to generate a power supply control signal according to the power supply duty cycle, and use the power supply control signal to control the conduction time of the first switch in the charge and discharge module, so that the battery module supplies power to the load according to the working voltage.

[0150] In one embodiment, the power supply device further comprises:

[0151] A demand acquisition module, used to determine the current charging demand of the battery module if the backup power supply does not need to be enabled and the backup power supply is a battery module;

[0152] A charging duty cycle determination module, used to determine the charging duty cycle according to the charging demand;

[0153] The charging module is used to generate a charging control signal according to the charging duty cycle, and use the charging control signal to control the conduction time of the second switch in the charging and discharging module, so that the power grid charges the battery module according to the charging demand.

[0154] In one embodiment, the demand acquisition module includes:

[0155] A mode acquisition unit, used to acquire the current charging mode of the battery module;

[0156] The demand determination unit is used to determine the charging demand according to the charging mode.

[0157] In one embodiment, the power supply device further comprises:

[0158] A protection power acquisition module, used to obtain a first protection power corresponding to the main power supply and a second protection power corresponding to the backup power supply in the process of supplying power to the load through the main power supply and the backup power supply;

[0159] A protection circuit determination module, used to determine a first protection current according to a first protection power and an operating voltage of a load, and to determine a second protection current according to a second protection power and an operating voltage;

[0160] The protection control module is used to control the power supply current of the main power supply to be less than the first protection current, and to control the power supply current of the backup power supply to be less than the second protection current.

[0161] Each module in the above power supply device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0162] In an exemplary embodiment, a computer device is provided. The computer device may be a controller, and its internal structure diagram may be as shown in FIG. Fig.11 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store power supply data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a power supply method is implemented.

[0163] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0164] Based on the above embodiments, the embodiments of the present application also provide a power supply system, which includes a controller, a load, a battery module, a power grid and a charging and discharging module, and the controller is used to execute the steps of any embodiment of the above power supply method.

[0165] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0166] Obtaining load information of loads in the power supply system and a main power supply in the power supply system;

[0167] Determining whether it is necessary to enable a backup power supply in the power supply system according to the load information and the main power supply;

[0168] If the backup power supply needs to be activated, the load is powered by the main power supply and the backup power supply.

[0169] In one embodiment, the load information is load power, and the processor further implements the following steps when executing the computer program:

[0170] Obtaining a power supply power threshold corresponding to the main power supply;

[0171] If the load power is greater than the power supply power threshold, it is determined that the backup power supply needs to be enabled.

[0172] In one embodiment, when the main power supply is a power grid, the backup power supply is a battery module;

[0173] When the main power supply is the battery module, the backup power supply is the power grid.

[0174] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0175] Obtaining an operating voltage of the load;

[0176] The battery module is controlled according to the operating voltage to supply power to the load.

[0177] In one embodiment, a charging and discharging module is connected between the load and the battery module, and the processor further implements the following steps when executing the computer program:

[0178] Determining a power supply duty cycle according to the operating voltage;

[0179] A power supply control signal is generated according to the power supply duty cycle, and the power supply control signal is used to control the conduction time of the first switch in the charging and discharging module, so that the battery module supplies power to the load according to the working voltage.

[0180] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0181] If the backup power supply does not need to be activated, and the backup power supply is the battery module, determining the current charging requirement of the battery module;

[0182] Determining a charging duty cycle according to the charging demand;

[0183] A charging control signal is generated according to the charging duty cycle, and the charging control signal is used to control the conduction time of the second switch in the charging and discharging module, so that the power grid charges the battery module according to the charging demand.

[0184] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0185] Obtaining the current charging mode of the battery module;

[0186] The charging requirement is determined according to the charging mode.

[0187] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0188] In the process of supplying power to the load through the main power supply and the backup power supply, obtaining a first protection power corresponding to the main power supply and a second protection power corresponding to the backup power supply;

[0189] Determine a first protection current according to the first protection power and the operating voltage of the load, and determine a second protection current according to the second protection power and the operating voltage;

[0190] The power supply current of the main power supply is controlled to be smaller than the first protection current, and the power supply current of the backup power supply is controlled to be smaller than the second protection current.

[0191] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0192] Obtaining load information of loads in the power supply system and a main power supply in the power supply system;

[0193] Determining whether it is necessary to enable a backup power supply in the power supply system according to the load information and the main power supply;

[0194] If the backup power supply needs to be activated, the load is powered by the main power supply and the backup power supply.

[0195] In one embodiment, the load information is load power, and when the computer program is executed by the processor, the following steps are further implemented:

[0196] Obtaining a power supply power threshold corresponding to the main power supply;

[0197] If the load power is greater than the power supply power threshold, it is determined that the backup power supply needs to be enabled.

[0198] In one embodiment, when the main power supply is a power grid, the backup power supply is a battery module;

[0199] When the main power supply is the battery module, the backup power supply is the power grid.

[0200] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0201] Obtaining an operating voltage of the load;

[0202] The battery module is controlled according to the operating voltage to supply power to the load.

[0203] In one embodiment, a charging and discharging module is connected between the load and the battery module, and when the computer program is executed by the processor, the following steps are also implemented:

[0204] Determining a power supply duty cycle according to the operating voltage;

[0205] A power supply control signal is generated according to the power supply duty cycle, and the power supply control signal is used to control the conduction time of the first switch in the charging and discharging module, so that the battery module supplies power to the load according to the working voltage.

[0206] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0207] If the backup power supply does not need to be activated, and the backup power supply is the battery module, determining the current charging requirement of the battery module;

[0208] Determining a charging duty cycle according to the charging demand;

[0209] A charging control signal is generated according to the charging duty cycle, and the charging control signal is used to control the conduction time of the second switch in the charging and discharging module, so that the power grid charges the battery module according to the charging demand.

[0210] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0211] Obtaining the current charging mode of the battery module;

[0212] The charging requirement is determined according to the charging mode.

[0213] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0214] In the process of supplying power to the load through the main power supply and the backup power supply, obtaining a first protection power corresponding to the main power supply and a second protection power corresponding to the backup power supply;

[0215] Determine a first protection current according to the first protection power and the operating voltage of the load, and determine a second protection current according to the second protection power and the operating voltage;

[0216] The power supply current of the main power supply is controlled to be smaller than the first protection current, and the power supply current of the backup power supply is controlled to be smaller than the second protection current.

[0217] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0218] Obtaining load information of loads in the power supply system and a main power supply in the power supply system;

[0219] Determining whether it is necessary to enable a backup power supply in the power supply system according to the load information and the main power supply;

[0220] If the backup power supply needs to be activated, the load is powered by the main power supply and the backup power supply.

[0221] In one embodiment, the load information is load power, and when the computer program is executed by the processor, the following steps are further implemented:

[0222] Obtaining a power supply power threshold corresponding to the main power supply;

[0223] If the load power is greater than the power supply power threshold, it is determined that the backup power supply needs to be enabled.

[0224] In one embodiment, when the main power supply is a power grid, the backup power supply is a battery module;

[0225] When the main power supply is the battery module, the backup power supply is the power grid.

[0226] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0227] Obtaining an operating voltage of the load;

[0228] The battery module is controlled according to the operating voltage to supply power to the load.

[0229] In one embodiment, a charging and discharging module is connected between the load and the battery module, and when the computer program is executed by the processor, the following steps are also implemented:

[0230] Determining a power supply duty cycle according to the operating voltage;

[0231] A power supply control signal is generated according to the power supply duty cycle, and the power supply control signal is used to control the conduction time of the first switch in the charging and discharging module, so that the battery module supplies power to the load according to the working voltage.

[0232] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0233] If the backup power supply does not need to be activated, and the backup power supply is the battery module, determining the current charging requirement of the battery module;

[0234] Determining a charging duty cycle according to the charging demand;

[0235] A charging control signal is generated according to the charging duty cycle, and the charging control signal is used to control the conduction time of the second switch in the charging and discharging module, so that the power grid charges the battery module according to the charging demand.

[0236] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0237] Obtaining the current charging mode of the battery module;

[0238] The charging requirement is determined according to the charging mode.

[0239] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0240] In the process of supplying power to the load through the main power supply and the backup power supply, obtaining a first protection power corresponding to the main power supply and a second protection power corresponding to the backup power supply;

[0241] Determine a first protection current according to the first protection power and the operating voltage of the load, and determine a second protection current according to the second protection power and the operating voltage;

[0242] The power supply current of the main power supply is controlled to be smaller than the first protection current, and the power supply current of the backup power supply is controlled to be smaller than the second protection current.

[0243] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0244] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0245] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0246] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A power supply method, characterized in that: The method comprises: Obtaining load information of loads in the power supply system and a main power supply in the power supply system; Determining whether it is necessary to enable a backup power supply in the power supply system according to the load information and the main power supply; If the backup power supply needs to be activated, the load is powered by the main power supply and the backup power supply.

2. The method according to claim 1, characterized in that The load information is load power, and determining whether to enable a backup power supply in the power supply system according to the load information and the main power supply includes: Obtaining a power supply power threshold corresponding to the main power supply; If the load power is greater than the power supply power threshold, it is determined that the backup power supply needs to be enabled.

3. The method according to claim 1, characterized in that When the main power supply is a power grid, the backup power supply is a battery module; When the main power supply is the battery module, the backup power supply is the power grid.

4. The method according to claim 3, characterized in that The process of supplying power to the load through the battery module includes: Obtaining an operating voltage of the load; The battery module is controlled according to the operating voltage to supply power to the load.

5. The method according to claim 4, characterized in that A charging and discharging module is connected between the load and the battery module, and controlling the battery module to supply power to the load according to the working voltage includes: Determining a power supply duty cycle according to the operating voltage; A power supply control signal is generated according to the power supply duty cycle, and the power supply control signal is used to control the conduction time of the first switch in the charging and discharging module, so that the battery module supplies power to the load according to the working voltage.

6. The method according to claim 5, characterized in that The method further comprises: If the backup power supply does not need to be activated, and the backup power supply is the battery module, determining the current charging requirement of the battery module; Determining a charging duty cycle according to the charging demand; A charging control signal is generated according to the charging duty cycle, and the charging control signal is used to control the conduction time of the second switch in the charging and discharging module, so that the power grid charges the battery module according to the charging demand.

7. The method according to claim 6, characterized in that The determining the current charging requirement of the battery module includes: Obtaining the current charging mode of the battery module; The charging requirement is determined according to the charging mode.

8. The method according to claim 1, characterized in that The method further comprises: In the process of supplying power to the load through the main power supply and the backup power supply, obtaining a first protection power corresponding to the main power supply and a second protection power corresponding to the backup power supply; Determine a first protection current according to the first protection power and the operating voltage of the load, and determine a second protection current according to the second protection power and the operating voltage; The power supply current of the main power supply is controlled to be smaller than the first protection current, and the power supply current of the backup power supply is controlled to be smaller than the second protection current.

9. A power supply device, characterized in that: The device comprises: An acquisition module, used to acquire load information of loads in the power supply system and a main power supply in the power supply system; A backup activation module, used to determine whether it is necessary to activate a backup power supply in the power supply system according to the load information and the main power supply; The power supply module is used to supply power to the load through the main power supply and the backup power supply if the backup power supply needs to be activated.

10. A power supply system, characterized in that: The power supply system includes a controller, a load, a battery module, a power grid and a charging and discharging module, wherein the controller is used to execute the steps of the method according to any one of claims 1 to 8.

11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • System and method for supplying power cooperatively by mains supply, photovoltaic cell and energy storage battery

    CN103441566A

  • Standby power supply system

    CN109428386A

  • Power supply system

    CN111404255A

  • Control method of energy storage circuit

    CN113452118A

  • Power supply control method and system, electronic equipment and storage medium

    CN117439041A