Method for realizing peak load shifting of uninterruptible power supply and uninterruptible power supply
By using lithium iron phosphate battery packs and fast chargers, combined with controller and inverter technology, an uninterruptible power supply with peak shaving and valley filling and fast charging functions is realized, solving the problems of traditional UPS's large size, weight and lack of fast charging functions. , improving convenience and reducing usage costs.
Patent Information
- Application Number
- CN202410667909.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-26
- Publication Date
- 2024-09-24
AI Technical Summary
In scenarios where mobile high-power AC power supply is required or long-term uninterrupted power supply is required, traditional UPS has the problems of large size, heavy weight, low backup power, and lack of fast charging function, which limits its application. How to provide peak-shaving and valley-filling capabilities? and uninterruptible power supply with fast charging function to improve convenience and reduce costs.
The lithium iron phosphate battery pack is used to replace the traditional lead-acid battery, combined with a fast charger and a controller, and the SOC upper limit threshold and time period are set by the controller to realize fast charging and inverter discharge of the lithium battery pack, and coordinate with the power grid for peak shaving and filling. Valley control reduces the grid load and uses the peak-valley electricity price difference to reduce costs.
It realizes a smaller and lighter UPS, supports longer off-grid operation, improves the convenience and cost-effectiveness of uninterruptible power supply, and at the same time reduces the load on the power grid through peak-shaving and valley-filling control, reducing the cost of use.
Smart Images

Figure 00000000_0000
Abstract
Description
[0001] This case is a divisional application based on the invention patent with application date of January 26, 2021, application number 202110110190.2, and name "An uninterruptible power supply with peak shaving and valley filling and fast charging functions and method of use" as the parent case. Technical Field
[0002] The invention relates to the technical field of uninterruptible power supply, and in particular to a method for realizing peak shaving and valley filling of an uninterruptible power supply and the uninterruptible power supply. Background Art
[0003] In scenarios where high-power mobile AC power supply or long-term uninterrupted power supply is required, a UPS (Uninterruptable Power Supply) is required to provide AC power for a long time after the mains power is disconnected, such as electric vehicle rescue charging vehicles, medical UPS, unattended sites, etc.
[0004] Most traditional UPS are powered by lead-acid batteries, which have the problems of large size, heavy weight and low backup power. However, lithium-ion batteries of the same size can support AC loads to work off-grid for a longer time, so UPS using lithium-ion batteries has become a new development trend. Lithium iron phosphate batteries are a type of lithium-ion battery that can be charged and discharged about 3,000 times in its entire life cycle, but in the existing UPS pure backup mode, they are only used 4 to 6 times per year on average, which is a huge waste. For UPS used in mobile scenarios, it is necessary to enter the off-grid state at any time, but traditional UPS does not have a fast charging function, which limits the application of UPS to a certain extent.
[0005] Therefore, how to provide an uninterruptible power supply with peak shaving and valley filling and fast charging functions and a method of use to improve the convenience of using the uninterruptible power supply and reduce the cost of use has become an urgent problem to be solved. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a method for implementing peak shaving and valley filling of an uninterruptible power supply and an uninterruptible power supply, so as to improve the convenience of using the uninterruptible power supply and reduce the use cost.
[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0008] A method for implementing peak load shaving and valley filling in an uninterruptible power supply is implemented by a controller of the uninterruptible power supply and includes the following steps:
[0009] Step S10, powering on and self-checking the uninterruptible power supply;
[0010] Step S20: The controller sets an SOC upper threshold, an SOC lower threshold, and time periods corresponding to normal time periods, valley time periods, and peak time periods, and obtains the real-time SOC of the lithium battery pack through the battery control box;
[0011] Step S30, the controller determines whether the current time is a normal period, a valley period, or a peak period. If it is a normal period, the controller proceeds to step S40; if it is a valley period, the controller proceeds to step S50; if it is a peak period, the controller proceeds to step S70;
[0012] Step S40: The controller turns on the first AC contactor and turns off the second AC contactor, and slowly charges the lithium battery pack and the load through the UPS. After the charging is completed, the process proceeds to step S100;
[0013] Step S50, the controller determines whether the real-time SOC is less than or equal to the SOC upper limit threshold. If so, the first AC contactor and the second AC contactor are turned on, the lithium battery pack is quickly charged by the fast charger, the load is slowly charged by the UPS, and the process proceeds to step S60; if not, the controller turns on the first AC contactor, disconnects the second AC contactor, slowly charges the load by the UPS, and after charging is completed, the process proceeds to step S100;
[0014] Step S60: The controller determines whether the real-time SOC is less than or equal to the SOC upper limit threshold. If so, the process proceeds to step S50.
[0015] If not, the controller disconnects the second AC contactor, puts the fast charger into standby mode, and slowly charges the load through the UPS. After charging is completed, the process goes to step S100;
[0016] Step S70, the controller determines whether the real-time SOC is less than or equal to the SOC lower limit threshold. If so, the first AC contactor is turned on, the second AC contactor is turned off, and the UPS is used to slow-charge the lithium battery pack and the load. After the charging is completed, the process goes to step S100; if not, the process goes to step S80;
[0017] Step S80, disconnecting the first AC contactor and the second AC contactor, the UPS enters the power conservation mode, and controls the lithium battery pack to perform inverter discharge to charge the load through the battery control box;
[0018] Step S90, the controller determines whether the real-time SOC is less than or equal to the SOC lower limit threshold. If so, the first AC contactor is turned on, the second AC contactor is turned off, and the UPS is used to slow-charge the lithium battery pack and the load. After the charging is completed, the process goes to step S100; if not, the process goes to step S80;
[0019] Step S100, shutting down the uninterruptible power supply;
[0020] The uninterruptible power supply comprises:
[0021] Controller;
[0022] UPS, connected to the controller and the switching power supply;
[0023] A battery control box connected to the controller and the UPS;
[0024] A lithium battery pack connected to the battery control box;
[0025] A fast charger connected to the battery control box;
[0026] an electric meter connected to the controller;
[0027] A first AC contactor, one end of which is connected to the electric meter, and the other end of which is connected to the UPS;
[0028] A second AC contactor, one end of which is connected to the first AC contactor, and the other end of which is connected to the fast charger;
[0029] A first relay, one end of which is connected to the controller, and the other end of which is connected to the first AC contactor;
[0030] A second relay has one end connected to the controller and the other end connected to the second AC contactor.
[0031] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0032] An uninterruptible power supply, comprising:
[0033] Controller;
[0034] UPS, connected to the controller and the switching power supply;
[0035] A battery control box connected to the controller and the UPS;
[0036] A lithium battery pack connected to the battery control box;
[0037] A fast charger connected to the battery control box;
[0038] an electric meter connected to the controller;
[0039] A first AC contactor, one end of which is connected to the electric meter, and the other end of which is connected to the UPS;
[0040] A second AC contactor, one end of which is connected to the first AC contactor, and the other end of which is connected to the fast charger;
[0041] A first relay, one end of which is connected to the controller, and the other end of which is connected to the first AC contactor;
[0042] A second relay, one end of which is connected to the controller, and the other end of which is connected to the second AC contactor;
[0043] The lithium battery pack comprises:
[0044] A plurality of lithium iron phosphate batteries; each of the lithium iron phosphate batteries comprises a second BMS and a battery cell; each of the second BMS and the battery control box is connected via a CAN bus; one end of the battery cell is connected to the second BMS, and the other end is connected to the battery control box.
[0045] The beneficial effects of the present invention are as follows: by adopting lithium iron phosphate batteries to form a lithium battery pack, compared with traditional lead-acid batteries, the volume is smaller, the weight is lighter, and the AC load can be supported to work off the grid for a longer time; by setting up a fast charger, the lithium battery pack can be charged quickly to meet the demand for off-grid operation at any time in mobile power consumption scenarios, thereby greatly improving the convenience of using an uninterruptible power supply.
[0046] By setting up a UPS, a controller, a battery control box, a lithium battery pack, a first relay, a second relay, a first AC contactor and a second AC contactor, when the current time is in the valley period, the lithium battery pack can be charged by a fast charger or a UPS, and when the current time is in the peak period, the power of the lithium battery pack is inverted for use by the load, that is, the power grid is cooperated with to perform peak shaving and valley filling control on the AC side to reduce the power consumption of the AC load on the grid, which can greatly reduce the load on the grid and create economic value by using the price difference between peak and valley electricity consumption, that is, greatly reducing the cost of using the uninterruptible power supply.
[0047] By setting up a second BMS in the lithium iron phosphate battery, that is, using separate BMS software and hardware to monitor the voltage, current, temperature and other data of the lithium iron phosphate battery, compared with the traditional UPS self-detection, the protection level is further improved from the battery stack level to the cell level, with richer data and more accurate results.
[0048] By setting the first relay, the second relay, the first AC contactor and the second AC contactor to control the charging and discharging of the lithium battery pack, the requirements for the UPS are lower, and most models of UPS can be compatible, and there is no need to use a dedicated UPS with peak shaving and valley filling function. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 The invention discloses a circuit principle block diagram of an uninterruptible power supply with peak shaving and valley filling and fast charging functions.
[0050] Figure 2 It is a circuit principle block diagram of the battery control box and lithium battery pack of the present invention.
[0051] Figure 3It is a circuit principle block diagram of the sensor group of the present invention.
[0052] Figure 4 The present invention is a flow chart of a method for using an uninterruptible power supply with peak shaving and valley filling and fast charging functions.
[0053] Marking Description:
[0054] 100-an uninterruptible power supply with peak shaving and valley filling and fast charging functions, 1-controller, 2-display screen, 3-switching power supply, 4-UPS, 5-battery control box, 6-lithium battery pack, 7-fast charger, 8-electric meter, 9-first AC contactor, 10-second AC contactor, 11-first relay, 12-second relay, 13-sensor group, 51-first BMS, 52-third relay, 61-lithium iron phosphate battery, 611-second BMS, 612-battery cell, 131-water immersion sensor, 132-smoke sensor, 133-access control sensor, 134-temperature sensor. DETAILED DESCRIPTION
[0055] The technical solution in the embodiment of the present application has the following overall idea: by adopting a lithium iron phosphate battery pack 61 to form a lithium battery pack 6, the volume and weight are reduced, and the AC load can be supported to work off the grid for a longer time; the lithium battery pack 6 is quickly charged by a fast charger 7 to improve the convenience of using the uninterruptible power supply 100; by cooperating with the power grid to perform peak shaving and valley filling control on the AC side, that is, while retaining the necessary capacity of the lithium battery pack 6 for backup power, the excess battery capacity is used for release during peak hours, and for charging and storing electric energy during valley hours, and the electricity bill is reduced by the peak-valley price difference, so as to reduce the use cost of the uninterruptible power supply 100.
[0056] Please refer to Figures 1 to 4 As shown, a preferred embodiment of an uninterruptible power supply 100 with peak shaving and valley filling and fast charging functions of the present invention includes:
[0057] The controller 1 is used to control the uninterruptible power supply 100 and the AC power distribution circuit to realize the peak shaving and valley filling function. In the specific implementation, it is sufficient to select a controller that can realize this function from the prior art, and it is not limited to any model, such as various single-chip microcomputers, MCU computers, etc., and the control program is well known to those skilled in the art, which can be obtained by those skilled in the art without creative labor;
[0058] A display screen 2, connected to the controller 1, for operating the uninterruptible power supply 100;
[0059] A switching power supply 3, connected to the controller 1, for converting a 220V voltage into a 24V voltage to supply power to the controller 1;
[0060] UPS4 is connected to the controller 1 and the switching power supply 3; the UPS4 is also connected to a load (not shown) to supply power to the load;
[0061] The battery control box 5 is connected to the controller 1 and the UPS 4, and is used to control the charging and discharging of the lithium battery pack 6, and collect the voltage, current, temperature and other data of the lithium battery pack 6, and monitor and protect the lithium battery pack 6; the battery control box 5 may also include an external pre-charging circuit (not shown), a positive bus charging and discharging control circuit (not shown), a negative bus disconnection protection circuit (not shown), and a switching power supply (not shown) for drawing power from the battery DC bus. In specific implementation, it is sufficient to select a circuit that can realize this function from the prior art, and it is not limited to any model. This can be obtained by those skilled in the art without creative labor;
[0062] A lithium battery pack 6, connected to the battery control box 5, for supplying power to the load;
[0063] The fast charger 7 is connected to the battery control box 5 and is used to quickly charge the lithium battery pack 6 to meet the mobile use scenario; the fast charger 7 also determines the charge state of the lithium battery pack 6 by monitoring the voltage state of the DC bus (not shown), and automatically enters the standby state when the DC bus voltage is abnormal, thereby protecting the lithium battery pack 6;
[0064] An electric meter 8, connected to the controller 1, for measuring the amount of electricity and transmitting the measured data to the controller 1 via RS485;
[0065] A first AC contactor 9, one end of which is connected to the electric meter 8 and the other end of which is connected to the UPS 4, for controlling the total AC input;
[0066] A second AC contactor 10, one end of which is connected to the first AC contactor 9, and the other end of which is connected to the fast charger 7, for controlling the fast charger 7;
[0067] A first relay 11, one end of which is connected to the controller 1, and the other end of which is connected to the first AC contactor 9, for controlling the on and off of the first AC contactor 9;
[0068] The second relay 12 has one end connected to the controller 1 and the other end connected to the second AC contactor 10 , and is used to control the on and off of the second AC contactor 10 .
[0069] The display screen 2 is a touch display screen, which is convenient for operating the uninterruptible power supply 100.
[0070] The battery control box 5 includes:
[0071] A first BMS 51 is connected to the UPS 4 and the lithium battery pack 6 respectively;
[0072] The third relay 52 is connected to the first BMS 51 , the UPS 4 and the lithium battery pack 6 respectively; the third relay 52 is controlled by the first BMS 51 and is connected to the UPS 4 and the lithium battery pack 6 .
[0073] The lithium battery pack 6 comprises:
[0074] A plurality of lithium iron phosphate batteries 61; each of the lithium iron phosphate batteries 61 includes a second BMS 611 and a battery cell 612; each of the second BMS 611 and the battery control box 5 is connected via a CAN bus; one end of the battery cell 612 is connected to the second BMS 611, and the other end is connected to the battery control box 5. That is, the lithium iron phosphate batteries 61 communicate with each other via CAN.
[0075] Also includes:
[0076] The sensor group 13 is connected to the controller 1 .
[0077] The sensor group 13 at least includes:
[0078] A water immersion sensor 131 connected to the controller 1;
[0079] A smoke sensor 132 connected to the controller 1;
[0080] An access control sensor 133 connected to the controller 1;
[0081] The temperature sensor 134 is connected to the controller 1 .
[0082] A preferred embodiment of a method for using an uninterruptible power supply with peak shaving and valley filling and fast charging functions of the present invention comprises the following steps:
[0083] Step S10, powering on and self-checking the uninterruptible power supply;
[0084] Step S20, set an SOC upper limit threshold, an SOC lower limit threshold, and time periods corresponding to normal time periods, valley time periods, and peak time periods through the display screen operation controller, and obtain the real-time SOC of the lithium battery pack through the battery control box; SOC is the battery state of charge, which is used to reflect the remaining power of the battery, and is defined as the percentage of the current available capacity to the initial capacity;
[0085] Step S30, the controller determines whether the current time is a normal period, a valley period, or a peak period. If it is a normal period, the controller proceeds to step S40; if it is a valley period, the controller proceeds to step S50; if it is a peak period, the controller proceeds to step S70;
[0086] Step S40: The controller turns on the first AC contactor and turns off the second AC contactor, and slowly charges the lithium battery pack and the load through the UPS. After the charging is completed, the process proceeds to step S100;
[0087] Step S50, the controller determines whether the real-time SOC is less than or equal to the SOC upper limit threshold. If so, the first AC contactor and the second AC contactor are turned on, the lithium battery pack is quickly charged by the fast charger, the load is slowly charged by the UPS, and the process proceeds to step S60; if not, the controller turns on the first AC contactor, disconnects the second AC contactor, slowly charges the load by the UPS, and after charging is completed, the process proceeds to step S100;
[0088] Step S60: The controller determines whether the real-time SOC is less than or equal to the SOC upper limit threshold. If so, the process proceeds to step S50; if not, the controller disconnects the second AC contactor, puts the fast charger on standby, and slowly charges the load through the UPS. After charging is completed, the process proceeds to step S100;
[0089] Step S70, the controller determines whether the real-time SOC is less than or equal to the SOC lower limit threshold. If so, the first AC contactor is turned on, the second AC contactor is turned off, and the UPS is used to slow-charge the lithium battery pack and the load. After the charging is completed, the process goes to step S100; if not, the process goes to step S80;
[0090] Step S80, disconnecting the first AC contactor and the second AC contactor, the UPS enters the power conservation mode, and controls the lithium battery pack to perform inverter discharge to charge the load through the battery control box;
[0091] Step S90, the controller determines whether the real-time SOC is less than or equal to the SOC lower limit threshold. If so, the first AC contactor is turned on, the second AC contactor is turned off, and the UPS is used to slow-charge the lithium battery pack and the load. After the charging is completed, the process goes to step S100; if not, the process goes to step S80;
[0092] Step S100: shut down the uninterruptible power supply.
[0093] While achieving peak shaving and valley filling and fast charging control, the controller monitors the AC power and AC grid status through the electric meter; by monitoring the AC power and combining it with the current control status, the controller can determine the execution of the issued control commands and the working status of the system; by monitoring the voltage and current status of the AC grid, the controller can issue protection action commands to enable the UPS to enter the battery inverter state in advance and output stable and reliable AC power to the load, thereby protecting the load.
[0094] The step S10 specifically includes:
[0095] Step S11, powering on the uninterruptible power supply;
[0096] Step S12: The controller performs a power-on self-test to determine whether there is a fault. If so, the process proceeds to step S13; if not, the process proceeds to step S20;
[0097] Step S13, after shutting down the UPS, perform fault processing to determine whether the fault is restored. If so, start the UPS and proceed to step S20; if not, disconnect the first AC contactor and the second AC contactor, shut down the UPS, and proceed to step S100.
[0098] In summary, the advantages of the present invention are:
[0099] 1. By using lithium iron phosphate batteries to form a lithium battery pack, compared with traditional lead-acid batteries, it is smaller in size and lighter in weight, and can support AC loads to work off the grid for a longer time; by setting up a fast charger, the lithium battery pack can be quickly charged to meet the needs of off-grid operation at any time in mobile power scenarios, thereby greatly improving the convenience of using uninterruptible power supply.
[0100] 2. By setting up UPS, controller, battery control box, lithium battery pack, first relay, second relay, first AC contactor and second AC contactor, when the current time is in the valley period, the lithium battery pack can be charged by a fast charger or UPS, and when the current time is in the peak period, the power of the lithium battery pack is inverted for use by the load, that is, the power grid is cooperated with to perform peak shaving and valley filling control on the AC side to reduce the power consumption of the AC load on the grid, which can greatly reduce the load on the grid and create economic value by using the price difference between peak and valley electricity consumption, that is, greatly reduce the cost of using the uninterruptible power supply.
[0101] 3. By setting up a second BMS in the lithium iron phosphate battery, that is, using separate BMS software and hardware to monitor the voltage, current, temperature and other data of the lithium iron phosphate battery, compared with the traditional UPS self-detection, the protection level is further improved from the battery stack level to the cell level, with richer data and more accurate results.
[0102] 4. By setting the first relay, the second relay, the first AC contactor and the second AC contactor to control the charging and discharging of the lithium battery pack, the requirements for the UPS are lower, and it can be compatible with most models of UPS, and there is no need to use a dedicated UPS with peak shaving and valley filling function.
[0103] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. A method for implementing peak load shaving and valley filling in an uninterruptible power supply. It is characterized in that The implementation of the uninterruptible power supply controller includes the following steps: Step S10, powering on and self-checking the uninterruptible power supply; Step S20: The controller sets an SOC upper threshold, an SOC lower threshold, and time periods corresponding to normal time periods, valley time periods, and peak time periods, and obtains the real-time SOC of the lithium battery pack through the battery control box; Step S30, the controller determines whether the current time is a normal period, a valley period, or a peak period. If it is a normal period, the controller proceeds to step S40; if it is a valley period, the controller proceeds to step S50; if it is a peak period, the controller proceeds to step S70; Step S40: The controller turns on the first AC contactor and turns off the second AC contactor, and slowly charges the lithium battery pack and the load through the UPS. After the charging is completed, the process proceeds to step S100; Step S50, the controller determines whether the real-time SOC is less than or equal to the SOC upper limit threshold. If so, the first AC contactor and the second AC contactor are turned on, the lithium battery pack is quickly charged by the fast charger, the load is slowly charged by the UPS, and the process proceeds to step S60; if not, the controller turns on the first AC contactor, disconnects the second AC contactor, slowly charges the load by the UPS, and after charging is completed, the process proceeds to step S100; Step S60: The controller determines whether the real-time SOC is less than or equal to the SOC upper limit threshold. If so, the process proceeds to step S50. If not, the controller disconnects the second AC contactor, puts the fast charger into standby mode, and slowly charges the load through the UPS. After charging is completed, the process goes to step S100; Step S70, the controller determines whether the real-time SOC is less than or equal to the SOC lower limit threshold. If so, the first AC contactor is turned on, the second AC contactor is turned off, and the UPS is used to slow-charge the lithium battery pack and the load. After the charging is completed, the process goes to step S100; if not, the process goes to step S80; Step S80, disconnecting the first AC contactor and the second AC contactor, the UPS enters the power conservation mode, and controls the lithium battery pack to perform inverter discharge to charge the load through the battery control box; Step S90, the controller determines whether the real-time SOC is less than or equal to the SOC lower limit threshold, and if so, turns on the first AC contactor, turns off the second AC contactor, and uses the UPS to slow-charge the lithium battery pack and the load, and enters step S100 after charging is completed; If not, proceed to step S80; Step S100, shutting down the uninterruptible power supply; The uninterruptible power supply comprises: Controller; UPS, connected to the controller and the switching power supply; A battery control box connected to the controller and the UPS; A lithium battery pack connected to the battery control box; A fast charger connected to the battery control box; an electric meter connected to the controller; A first AC contactor, one end of which is connected to the electric meter, and the other end of which is connected to the UPS; A second AC contactor, one end of which is connected to the first AC contactor, and the other end of which is connected to the fast charger; A first relay, one end of which is connected to the controller, and the other end of which is connected to the first AC contactor; A second relay has one end connected to the controller and the other end connected to the second AC contactor.
2. A method for implementing peak load shaving and valley filling in an uninterruptible power supply according to claim 1, It is characterized in that The step S10 specifically includes: Step S11, powering on the uninterruptible power supply; Step S12: The controller performs a power-on self-test to determine whether there is a fault. If so, the process proceeds to step S13; if not, the process proceeds to step S20; Step S13, after shutting down the UPS, perform fault processing to determine whether the fault is restored. If so, start the UPS and proceed to step S20; if not, disconnect the first AC contactor and the second AC contactor, shut down the UPS, and proceed to step S100.
3. An uninterruptible power supply, Features: include: Controller; UPS, connected to the controller and the switching power supply; A battery control box connected to the controller and the UPS; A lithium battery pack connected to the battery control box; A fast charger connected to the battery control box; an electric meter connected to the controller; A first AC contactor, one end of which is connected to the electric meter, and the other end of which is connected to the UPS; A second AC contactor, one end of which is connected to the first AC contactor, and the other end of which is connected to the fast charger; A first relay, one end of which is connected to the controller, and the other end of which is connected to the first AC contactor; A second relay, one end of which is connected to the controller, and the other end of which is connected to the second AC contactor; The lithium battery pack comprises: A plurality of lithium iron phosphate batteries; each of the lithium iron phosphate batteries comprises a second BMS and a battery cell; each of the second BMS and the battery control box is connected via a CAN bus; one end of the battery cell is connected to the second BMS, and the other end is connected to the battery control box.
4. An uninterruptible power supply according to claim 3, It is characterized in that Also includes: A display screen is connected to the controller.
5. An uninterruptible power supply according to claim 4, It is characterized in that The display screen is a touch display screen.
6. An uninterruptible power supply according to claim 3, It is characterized in that Also includes: A switching power supply is connected to the controller.
7. An uninterruptible power supply according to claim 3, It is characterized in that Also includes: A sensor group is connected to the controller.
8. An uninterruptible power supply according to claim 7, It is characterized in that The sensor group includes at least: A water immersion sensor connected to the controller; A smoke sensor connected to the controller; An access control sensor connected to the controller; A temperature sensor is connected to the controller.
9. An uninterruptible power supply according to claim 3, It is characterized in that The battery control box comprises: A first BMS is connected to the UPS and the lithium battery pack respectively; The third relay is connected to the first BMS, UPS and lithium battery pack respectively.
10. An uninterruptible power supply according to any one of claims 4 to 9, It is characterized in that The controller implementation comprises the following steps: Step S10, powering on and self-checking the uninterruptible power supply; Step S20: The controller sets an SOC upper threshold, an SOC lower threshold, and time periods corresponding to normal time periods, valley time periods, and peak time periods, and obtains the real-time SOC of the lithium battery pack through the battery control box; Step S30, the controller determines whether the current time is a normal period, a valley period, or a peak period. If it is a normal period, the controller proceeds to step S40; if it is a valley period, the controller proceeds to step S50; if it is a peak period, the controller proceeds to step S70; Step S40: The controller turns on the first AC contactor and turns off the second AC contactor, and slowly charges the lithium battery pack and the load through the UPS. After the charging is completed, the process proceeds to step S100; Step S50, the controller determines whether the real-time SOC is less than or equal to the SOC upper limit threshold. If so, the first AC contactor and the second AC contactor are turned on, the lithium battery pack is quickly charged by the fast charger, the load is slowly charged by the UPS, and the process proceeds to step S60; if not, the controller turns on the first AC contactor, disconnects the second AC contactor, slowly charges the load by the UPS, and after charging is completed, the process proceeds to step S100; Step S60: The controller determines whether the real-time SOC is less than or equal to the SOC upper limit threshold. If so, the process proceeds to step S50. If not, the controller disconnects the second AC contactor, puts the fast charger into standby mode, and slowly charges the load through the UPS. After charging is completed, the process goes to step S100; Step S70, the controller determines whether the real-time SOC is less than or equal to the SOC lower limit threshold. If so, the first AC contactor is turned on, the second AC contactor is turned off, and the UPS is used to slow-charge the lithium battery pack and the load. After the charging is completed, the process goes to step S100; if not, the process goes to step S80; Step S80, disconnecting the first AC contactor and the second AC contactor, the UPS enters the power conservation mode, and controls the lithium battery pack to perform inverter discharge to charge the load through the battery control box; Step S90, the controller determines whether the real-time SOC is less than or equal to the SOC lower limit threshold. If so, the first AC contactor is turned on, the second AC contactor is turned off, and the UPS is used to slow-charge the lithium battery pack and the load. After the charging is completed, the process goes to step S100; if not, the process goes to step S80; Step S100: shut down the uninterruptible power supply.
