Uninterruptible power supply peak power consumption compensation method and device, electronic equipment and medium
By obtaining and recording electricity consumption data in real time and adjusting charging and discharging strategies based on the orderly model, the problem of high electricity consumption costs during peak periods of industrial production is solved, compensation for energy storage during peak periods is achieved, and the power consumption process is optimized. Reduces the electricity costs of enterprises.
Patent Information
- Application Number
- CN202411431180.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-01-17
AI Technical Summary
The electricity consumption costs are high during the peak period of industrial production, and the existing technology is difficult to effectively reduce the electricity consumption costs of enterprises.
By obtaining and recording the power consumption data and power supply data of the target equipment in real time, dynamic adjustment of the charging and discharging strategy is performed based on the orderly model, and the low-peak energy storage period compensates for the peak period, and optimizes the power consumption process.
It realizes low-peak power storage and peak use without affecting the normal working state of the equipment, significantly reducing the production electricity cost of the enterprise.
Smart Images

Figure CN119324508A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of uninterruptible power supply, and in particular to a method, device, electronic equipment and medium for compensating peak power consumption of an uninterruptible power supply. Background Art
[0002] In order to cope with the huge demand for electricity in the industrial production process and stabilize the supply of electricity, the use of tiered electricity prices during the period of concentrated electricity consumption can guide users to reduce unnecessary electricity consumption during peak hours, thereby balancing the supply and demand of electricity.
[0003] For enterprises with peak industrial production, using electricity during peak electricity prices will undoubtedly increase the production costs of the enterprises and reduce their profits. Therefore, it has become a crucial strategy for industrial enterprises to save production costs by storing energy during low electricity prices and using the stored electricity for production during peak periods. Summary of the invention
[0004] In view of this, the present application provides a method, device, electronic device and medium for compensating peak power consumption of an uninterruptible power supply to solve the problem of reducing the electricity cost of industrial production.
[0005] The first aspect of the present application provides a method for compensating for peak power consumption of an uninterruptible power supply, the method comprising: Acquire and record the power consumption and power supply data of the target device in real time; Determining a preset hierarchical model according to the electricity consumption data; Acquire historical power consumption data of the target device according to the hierarchical model, wherein the historical power consumption data includes a feature identification value and a working condition duration; According to the feature identification value and the hierarchical model, predicting the target device operating condition on the power consumption data to obtain a first charging and discharging strategy; A target charging and discharging strategy is determined according to the operating condition duration, the power supply data, and the first charging and discharging strategy.
[0006] In an optional implementation, determining a preset hierarchical model according to the power consumption data includes: Obtaining a timestamp in the power consumption data, and obtaining target time data according to a preset timestamp conversion model and the timestamp; Determining the hierarchical model according to the target time data and a preset time period threshold; When the target time data is within the time period threshold, the hierarchical model is determined as a discharge model; When the target time data does not fall within the time period threshold, the hierarchical model is determined to be a charging model.
[0007] In an optional implementation, the acquiring the historical power consumption data of the target device according to the hierarchical model includes: When the hierarchical model is the discharge model, obtaining the working history power consumption data of the target device within the time period threshold; When the hierarchical model is the charging model, the historical standby power usage data of the target device outside the time period threshold is obtained.
[0008] In an optional implementation, when the hierarchical model is the discharge model, performing the target device operating condition prediction on the power consumption data according to the feature identification value and the hierarchical model to obtain the first charging and discharging strategy includes: Performing data recognition on the power usage data according to the characteristic recognition value to determine a preset working mode of the target device; Determining workload data of the target device according to the working mode; A first discharging strategy of the uninterruptible power supply is determined according to the power supply data of the uninterruptible power supply and the workload data.
[0009] In an optional embodiment, the method further comprises: When the working state of the target device cannot be determined according to the feature identification value, an alarm is issued according to a preset alarm mode.
[0010] In an optional implementation, when the hierarchical model is the charging model, performing the target device operating condition prediction on the power consumption data according to the feature identification value and the hierarchical model to obtain the first charging and discharging strategy includes: Performing data identification on the power usage data according to the characteristic identification value to determine that the target device is in a standby state; According to the standby load data of the target device in the power consumption data, the preset mains power grid The data and the charging data of the uninterruptible power supply are used to determine a first charging strategy for the uninterruptible power supply.
[0011] In an optional implementation, determining the target charging and discharging strategy according to the operating condition duration, the power supply data, and the first charging and discharging strategy includes: Obtaining a first charge-discharge compensation coefficient according to the duration of the operating condition; Acquire a second charge-discharge compensation coefficient according to the power supply data; The first charge and discharge strategy is adjusted according to the first charge and discharge compensation coefficient and the second charge and discharge compensation coefficient to obtain the target charge and discharge strategy.
[0012] A second aspect of the present application provides a peak power consumption compensation device for an uninterruptible power supply, the device comprising: A recording module is used to obtain and record the power consumption data and power supply data of the target device in real time; A determination module, used to determine a preset hierarchical model according to the power consumption data; An acquisition module, configured to acquire historical power consumption data of the target device according to the hierarchical model, wherein the historical power consumption data includes a feature identification value and a working condition duration; A prediction module, configured to predict the target device operating condition on the power consumption data according to the feature identification value and the hierarchical model to obtain a first charging and discharging strategy; A decision module is used to determine a target charging and discharging strategy according to the operating condition duration, the power supply data and the first charging and discharging strategy.
[0013] A third aspect of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the uninterruptible power supply peak power consumption compensation method as described above when executing the computer program.
[0014] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the uninterruptible power supply peak power consumption compensation method as described above.
[0015] This application obtains and records the power consumption data and power supply data of the target device in real time, and determines a preset hierarchical model based on the real-time power consumption data. According to the hierarchical model, the historical power consumption data of the target device is further obtained, and the current power consumption data of the target device is predicted in working condition by combining the feature recognition value and the hierarchical model in the historical power consumption data. Therefore, based on the result of the working condition prediction, a first charging and discharging strategy is generated. Finally, the target charging and discharging strategy is determined by comprehensively considering the working condition duration, power supply data and the first charging and discharging strategy. By real-time monitoring of the working condition of the target device, the discharge and charging of the uninterruptible power supply are dynamically adjusted during peak power consumption time and low-peak power consumption time, so as to realize low-peak power storage for peak power consumption compensation without affecting the normal working state of the target device, thereby optimizing the industrial production electricity consumption of the enterprise and reducing the production electricity cost of the enterprise. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a flow chart of a method for compensating for peak power consumption of an uninterruptible power supply provided in an embodiment of the present application; Figure 2 It is a functional module diagram of an uninterruptible power supply peak power compensation device provided in an embodiment of the present application; Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0019] It should be understood that the uninterruptible power supply (UPS) is an emergency power supply device that provides temporary power supply to key equipment or systems when the key equipment or systems are interrupted by power outages and voltage fluctuations. Therefore, as an essential emergency power supply equipment, it is widely used in industrial production. However, with the continuous iteration and upgrading of power supply equipment, the power supply environment is constantly improving, and temporary power outages have rarely occurred. Therefore, the usability and cost-effectiveness of the UPS system are reduced. At the same time, in order to meet the huge demand for electricity in the industrial production process, the supply of electricity is stabilized. The industrial electricity charges for production enterprises are collected in a tiered electricity price manner. The electricity prices in the concentrated electricity consumption period (i.e., peak period) are far different from those in the non-concentrated electricity consumption period (i.e., valley period). For enterprises, peak-peak compensation electricity consumption through reserve power can greatly reduce production costs.
[0020] The uninterruptible power supply peak power consumption compensation method provided in the embodiment of the present application is executed by an electronic device, and accordingly, the uninterruptible power supply peak power consumption compensation method device runs in the electronic device. The electronic device is a UPS system. The uninterruptible power supply peak power consumption compensation method provided in the embodiment of the present application is described below from the perspective of the UPS system and in combination with the process of power consumption compensation of the target device in different time periods.
[0021] like Figure 1 FIG. 1 is a flowchart of a method for compensating for peak power consumption of an uninterruptible power supply provided in an embodiment of the present application. The method for compensating for peak power consumption of an uninterruptible power supply provided in an embodiment of the present application comprises the following steps.
[0022] Step S10, acquiring and recording the power consumption data and power supply data of the target device in real time.
[0023] The UPS system monitors the power consumption data of the target device in real time, such as voltage, current, power, and power consumption time, through the built-in sensors in the target device. At the same time, the power supply data of its own energy storage device, such as battery power, status, and loss, will also be monitored in real time through the corresponding sensors. The collected power consumption data and power supply data are transmitted to the remote monitoring center or user terminal using industrial intelligent gateways or other communication technologies. This enables networking communication of UPS devices and sensors and other devices, ensuring the real-time and accuracy of data.
[0024] The collected data is visualized and presented to users in the form of a line graph, allowing managers to intuitively understand the working status of the target equipment.
[0025] Step S11, determining a preset hierarchical model according to the power consumption data.
[0026] Among them, the embodiments of the present application mainly design corresponding UPS system energy storage control models (i.e., hierarchical models) for peak periods and valley periods with large differences in electricity prices. For peak periods with high electricity prices, a discharge model is used to compensate for the electricity consumption of the target equipment and reduce the amount of city electricity consumed by the target equipment during the production process during the peak period; for valley periods with low electricity prices, a charging model is used to store electric energy for the UPS system, thereby storing lower-priced electricity during valley periods. In another embodiment, the hierarchical model can be set accordingly according to the different electricity fee charging ladders in different places. The present application does not impose any restrictions on the types of hierarchical model designs and the corresponding proportions of charging and discharging work. The following will explain the embodiments of using a discharge model and a charging model for peak periods and valley periods, respectively.
[0027] In an optional implementation, determining a preset hierarchical model according to the power consumption data includes: Obtaining a timestamp in the power consumption data, and obtaining target time data according to a preset timestamp conversion model and the timestamp; Determining the hierarchical model according to the target time data and a preset time period threshold; When the target time data is within the time period threshold, the hierarchical model is determined as a discharge model; When the target time data does not fall within the time period threshold, the hierarchical model is determined to be a charging model.
[0028] It should be understood that the peak period and the off-peak period are divided by the power consumption time, so the stage model of the UPS system is also divided into a discharge model and a charging model according to the corresponding power consumption time. The UPS system extracts a timestamp from the acquired power consumption data. Among them, the timestamp is usually a number or a string representing a specific time point, which is used to represent the collection time of the power consumption data. It can be a UNIX timestamp or a timestamp in other formats. Use the corresponding timestamp conversion model to convert the extracted timestamp into the target time data. The conversion model can be a custom algorithm or a function call based on a time library or API. After conversion, the target time data may be a more readable date and time format, such as "YYYY-MM-DD HH:MM:SS".
[0029] According to the local peak billing time period, the time period threshold is preset in the UPS system to determine the hierarchical model. When the collection time corresponding to the power consumption data falls within the time period threshold, it is determined that the target device is consuming power during the peak period, and the UPS system should select the discharge model to discharge to compensate for the power consumption of the target device; when the collection time corresponding to the power consumption data does not fall within the time period threshold, it is determined that the target device is consuming power during the valley period, and the UPS system should select the charging model to store low-cost electricity. The time period threshold is set accordingly according to the hierarchical model of the UPS system to distinguish different power consumption models.
[0030] Step S12, acquiring historical power consumption data of the target device according to the hierarchical model, wherein the historical power consumption data includes a feature identification value and a working condition duration.
[0031] The historical power consumption data includes the load information (i.e., feature identification value) of the target device in various production scenarios and the production duration (i.e., working condition duration) under various working conditions in each production scenario. For example, when a CNC machine tool produces part A, the power consumption is 20,000W and the working condition duration is 30 minutes. According to the working status of the target device, the historical power consumption data can be divided into working historical power consumption data and standby historical power consumption data.
[0032] The UPS system obtains the time period corresponding to the charge and discharge model through the determined hierarchical model, so as to obtain the historical power consumption data corresponding to the real-time working status of the target device according to the time period. In this way, accurate historical power consumption data required by the system is obtained. When the hierarchical model is the discharge model, the working historical power consumption data of the target device within the time period threshold is obtained; when the hierarchical model is the charge model, the standby historical power consumption data of the target device outside the time period threshold is obtained.
[0033] Step S13: predicting the target device operating condition on the power consumption data according to the feature recognition value and the hierarchical model to obtain a first charging and discharging strategy.
[0034] When the hierarchical model is the discharge model, the characteristic recognition value is used to conduct a detailed analysis of the power consumption data to accurately identify and determine the preset working mode of the target device. Based on the determined working mode, the workload data required by the target device in the current state is accurately calculated. Next, combining the real-time power supply data of the uninterruptible power supply (UPS system) and the workload data calculated above, the UPS system will formulate a first discharge strategy based on the maximum capacity of its own energy storage power supply. Among them, the first discharge strategy is an ideal power supply strategy made by the UPS system based on the maximum capacity of its own energy storage power supply and the electric energy required by the target device. The first discharge strategy is to ensure that the UPS system can provide stable and efficient power support for the target device while maximizing its energy storage efficiency.
[0035] When the hierarchical model is the charging model, the power consumption data is accurately identified according to the characteristic identification value to determine whether the target device is currently in standby state. Then, a comprehensive analysis is performed using the detailed data about the standby load of the target device in the power consumption data, combined with the preset mains power grid supply data and the current charging status data of the uninterruptible power supply (UPS system). Ultimately, the UPS system will adopt the first charging strategy based on the maximum capacity of its own energy storage power supply and taking into account the power required by the target device in standby state. Among them, the first charging strategy is an ideal charging strategy made by the UPS system based on the maximum capacity of its own energy storage power supply combined with the minimum standby power required by the target device. The first charging strategy is to ensure that the UPS system can efficiently charge its energy storage power supply while ensuring the standby power demand of the target device to achieve the best energy utilization efficiency.
[0036] In an optional embodiment, when the working state of the target device cannot be determined according to the characteristic identification value, the UPS system identifies that the target device is in an undefined and unauthorized working state, and the target device may have a fault or unrecorded historical power consumption data, and notifies the administrator to troubleshoot the device or update the historical power consumption database. The UPS system will alarm according to the preset alarm method.
[0037] For example, when the UPS system detects that the working status of the target device cannot be identified, it will immediately trigger the alarm mechanism. First, the system will display a striking alarm message on the UPS device through the connected LED display or built-in LCD display, such as "The working status of the target device is unknown, please check the device or update the historical data." At the same time, in order to ensure that the administrator can receive the alarm notification immediately, the UPS system will also send the alarm information to the administrator via email or mobile phone text message.
[0038] Step S14, determining a target charge and discharge strategy according to the operating condition duration, the power supply data and the first charge and discharge strategy.
[0039] The UPS system needs to ensure that it can provide power continuously and stably when the target device is working. By understanding the operating time of the target device, the UPS system can predict the duration and intensity of the power demand, thereby adjusting the discharge strategy to ensure that the battery has sufficient power support at critical moments. At the same time, based on the battery remaining information in the power data, the UPS system can determine the current state and remaining power of the battery to avoid excessive discharge that may cause battery damage or premature exhaustion.
[0040] In an optional implementation, determining the target charging and discharging strategy according to the operating condition duration, the power supply data, and the first charging and discharging strategy includes: Obtaining a first charge-discharge compensation coefficient according to the duration of the operating condition; Acquire a second charge-discharge compensation coefficient according to the power supply data; The first charge and discharge strategy is adjusted according to the first charge and discharge compensation coefficient and the second charge and discharge compensation coefficient to obtain the target charge and discharge strategy.
[0041] It should be understood that the UPS system has preset mapping tables between operating duration, power data and compensation coefficients. These mapping tables are established in advance based on factors such as the actual operating conditions of the UPS system, battery characteristics and user needs. By querying these mapping tables, the UPS system can quickly obtain the compensation coefficient corresponding to the current operating duration and power data. According to the current operating duration (for example, the duration of the load, the expected downtime, etc.), the preset mapping table is queried to obtain the first charge and discharge compensation coefficient corresponding to the operating duration. This compensation coefficient is mainly used to reflect the impact of the operating duration on the battery charging and discharging efficiency and system stability.
[0042] At the same time, the system will also query the mapping table based on the current power data (for example, battery power, temperature, voltage, internal resistance, etc.) to obtain the second charge and discharge compensation coefficient corresponding to these power data. This compensation coefficient is mainly used to reflect the impact of the power state on the charge and discharge process, as well as the adjustments required to maintain power stability.
[0043] After obtaining the first and second charge and discharge compensation coefficients, the system will adjust the initial charge and discharge strategy (i.e., the first charge and discharge strategy) according to these compensation coefficients. The adjustment method may include changing parameters such as charging current, charging voltage, and discharge threshold. In this way, the system can optimize the charge and discharge efficiency, extend the battery life, and meet specific power requirements.
[0044] By applying the target charging and discharging strategy, the UPS system can manage its charging and discharging process more intelligently, provide stable and reliable power support under different working conditions and power supply states, and achieve the best power compensation effect.
[0045] The present application is applied to the UPS system, by acquiring and recording the power consumption data and power supply data of the target device in real time, and determining the preset hierarchical model based on the real-time power consumption data. According to the hierarchical model, the historical power consumption data of the target device is further acquired, and the current power consumption data of the target device is predicted in working condition by combining the feature recognition value and the hierarchical model in the historical power consumption data. Thus, based on the result of the working condition prediction, the first charging and discharging strategy is generated. Finally, the target charging and discharging strategy is determined by comprehensively considering the working condition duration, power supply data and the first charging and discharging strategy. The present application realizes flexible adjustment of the charging and discharging of the uninterruptible power supply by continuously monitoring the working status of the target device. While ensuring the normal operation of the target device, the use of electricity in the production process is optimized, thereby effectively reducing the electricity cost of the enterprise in industrial production.
[0046] like Figure 2 As shown, it is a functional module diagram of an uninterruptible power supply peak power compensation device provided in an embodiment of the present application.
[0047] In some embodiments, the uninterruptible power supply peak power consumption compensation device 2 may include a plurality of functional modules composed of computer program segments. The computer programs of the various program segments in the uninterruptible power supply peak power consumption compensation device 2 may be stored in a memory of a server and executed by at least one processor to execute (see Figure 1 Description) Functionality of the uninterruptible power supply peak power compensation method.
[0048] In this embodiment, the uninterruptible power supply peak power compensation device 2 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a recording module 21, a determination module 22, an acquisition module 23, a prediction module 24, a decision module 25 and an alarm module 26. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0049] The recording module 21 is used to obtain and record the power consumption data and power supply data of the target device in real time; A determination module 22, configured to determine a preset hierarchical model according to the power consumption data; In an optional implementation, the determining module 22 is specifically configured to: Obtaining a timestamp in the power consumption data, and obtaining target time data according to a preset timestamp conversion model and the timestamp; Determining the hierarchical model according to the target time data and a preset time period threshold; When the target time data is within the time period threshold, the hierarchical model is determined as a discharge model; When the target time data does not fall within the time period threshold, the hierarchical model is determined to be a charging model.
[0050] An acquisition module 23, configured to acquire historical power consumption data of the target device according to the hierarchical model, wherein the historical power consumption data includes a feature identification value and a working condition duration; In an optional implementation, the acquisition module 23 is specifically used to: When the hierarchical model is the discharge model, obtaining the working history power consumption data of the target device within the time period threshold; When the hierarchical model is the charging model, the historical standby power usage data of the target device outside the time period threshold is obtained.
[0051] A prediction module 24, configured to predict the target device operating condition on the power consumption data according to the feature identification value and the hierarchical model to obtain a first charging and discharging strategy; In an optional implementation, when the hierarchical model is the discharge model, the prediction module 24 is specifically configured to: Performing data recognition on the power usage data according to the characteristic recognition value to determine a preset working mode of the target device; Determining workload data of the target device according to the working mode; A first discharging strategy of the uninterruptible power supply is determined according to the power supply data of the uninterruptible power supply and the workload data.
[0052] In an optional embodiment, the uninterruptible power supply peak power consumption compensation device 2 further includes an alarm module 26, and the alarm module 26 is used to: When the working state of the target device cannot be determined according to the feature identification value, an alarm is issued according to a preset alarm mode.
[0053] In an optional implementation, when the hierarchical model is the charging model, the prediction module 24 is specifically configured to: Performing data identification on the power usage data according to the characteristic identification value to determine that the target device is in a standby state; A first charging strategy of the uninterruptible power supply is determined according to the standby load data of the target device in the power consumption data, the preset mains power grid data and the charging data of the uninterruptible power supply.
[0054] The decision module 25 is used to determine a target charging and discharging strategy according to the operating condition duration, the power supply data and the first charging and discharging strategy.
[0055] In an optional implementation, the decision module 25 is specifically configured to: Obtaining a first charge-discharge compensation coefficient according to the duration of the operating condition; Acquire a second charge-discharge compensation coefficient according to the power supply data; The first charge and discharge strategy is adjusted according to the first charge and discharge compensation coefficient and the second charge and discharge compensation coefficient to obtain the target charge and discharge strategy.
[0056] It should be understood that the various variations and specific embodiments of the methods provided in the above embodiments are also applicable to the uninterruptible power supply peak power compensation device of the present embodiment. Through the above detailed description of the uninterruptible power supply peak power compensation method, those skilled in the art can clearly understand the implementation method of the uninterruptible power supply peak power compensation device in the present embodiment. For the sake of brevity of the specification, it will not be described in detail here.
[0057] like Figure 3 , which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0058] In a preferred embodiment of the present invention, the electronic device 3 may include, but is not limited to: a memory 31 , at least one processor 32 and at least one communication bus 33 .
[0059] Those skilled in the art should understand that Figure 3 The structure of the electronic device 3 shown does not constitute a limitation of the embodiment of the present invention, and the electronic device 3 may also include more or less other hardware or software than shown in the figure, or a different arrangement of components.
[0060] In some embodiments, the electronic device 3 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors and embedded devices.
[0061] It should be noted that the electronic device 3 is only an example, and other existing or future electronic products that are suitable for the present application should also be included in the protection scope of the present application and included here by reference.
[0062] In some embodiments, the memory 31 stores a computer program, and when the computer program is executed by the at least one processor 32, all or part of the steps in the uninterruptible power supply peak power compensation method are implemented. The memory 31 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc memory, magnetic disk memory, magnetic tape memory, or any other computer-readable medium that can be used to carry or store data. Further, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, and the like.
[0063] In some embodiments, the at least one processor 32 is the control core (ControlUnit) of the electronic device 3, and uses various interfaces and lines to connect various components of the entire electronic device 3, and executes various functions and processes data of the electronic device 3 by running or executing programs or modules stored in the memory 31, and calling data stored in the memory 31. For example, when the at least one processor 32 executes the computer program stored in the memory 31, it implements all or part of the steps of the uninterruptible power supply peak power compensation method described in the embodiment of the present application; or implements all or part of the functions of the uninterruptible power supply peak power compensation device. The at least one processor 32 can be composed of an integrated circuit, for example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple integrated circuits with the same function or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.
[0064] In some embodiments, the at least one communication bus 33 is configured to realize the connection and communication between the memory 31 and the at least one processor 32. Although not shown, the electronic device 3 may also include a power supply (such as a battery) for powering each component. Preferably, the power supply may be logically connected to the at least one processor 32 through a power management device, so as to realize the functions of managing charging, discharging, and power consumption management through the power management device. The power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 3 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0065] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling an electronic device (which can be a personal computer, electronic device, or network device, etc.) or a processor to execute part of the method described in each embodiment of the present application.
[0066] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0067] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0068] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for compensating peak power consumption of an uninterruptible power supply, characterized in that: The method comprises: Acquire and record the power consumption and power supply data of the target device in real time; Determining a preset hierarchical model according to the electricity consumption data; Acquire historical power consumption data of the target device according to the hierarchical model, wherein the historical power consumption data includes a feature identification value and a working condition duration; According to the feature identification value and the hierarchical model, predicting the target device operating condition on the power consumption data to obtain a first charging and discharging strategy; A target charging and discharging strategy is determined according to the operating condition duration, the power supply data, and the first charging and discharging strategy.
2. The uninterruptible power supply peak power consumption compensation method according to claim 1, characterized in that: The step of determining a preset hierarchical model according to the power consumption data comprises: Obtaining a timestamp in the power consumption data, and obtaining target time data according to a preset timestamp conversion model and the timestamp; Determining the hierarchical model according to the target time data and a preset time period threshold; When the target time data is within the time period threshold, the hierarchical model is determined as a discharge model; When the target time data does not fall within the time period threshold, the hierarchical model is determined to be a charging model.
3. The uninterruptible power supply peak power consumption compensation method according to claim 2, characterized in that: The acquiring the historical power consumption data of the target device according to the hierarchical model comprises: When the hierarchical model is the discharge model, obtaining the working history power consumption data of the target device within the time period threshold; When the hierarchical model is the charging model, the historical standby power usage data of the target device outside the time period threshold is obtained.
4. The uninterruptible power supply peak power consumption compensation method according to claim 3, characterized in that: When the hierarchical model is the discharge model, performing the target device operating condition prediction on the power consumption data according to the feature identification value and the hierarchical model to obtain the first charge and discharge strategy includes: Performing data recognition on the power usage data according to the characteristic recognition value to determine a preset working mode of the target device; Determining workload data of the target device according to the working mode; A first discharging strategy of the uninterruptible power supply is determined according to the power supply data of the uninterruptible power supply and the workload data.
5. The uninterruptible power supply peak power consumption compensation method according to claim 4, characterized in that: The method further comprises: When the working status of the target device cannot be determined according to the feature identification value, an alarm is issued according to a preset alarm method.
6. The uninterruptible power supply peak power consumption compensation method according to claim 3, characterized in that: When the hierarchical model is the charging model, performing the target device operating condition prediction on the power consumption data according to the feature identification value and the hierarchical model to obtain the first charging and discharging strategy includes: Performing data identification on the power usage data according to the characteristic identification value to determine that the target device is in a standby state; A first charging strategy of the uninterruptible power supply is determined according to the standby load data of the target device in the power consumption data, the preset mains power grid data and the charging data of the uninterruptible power supply.
7. The uninterruptible power supply peak power consumption compensation method according to claim 1, characterized in that: The determining of the target charging and discharging strategy according to the operating condition duration, the power supply data and the first charging and discharging strategy includes: Obtaining a first charge-discharge compensation coefficient according to the duration of the operating condition; Acquire a second charge-discharge compensation coefficient according to the power supply data; The first charge and discharge strategy is adjusted according to the first charge and discharge compensation coefficient and the second charge and discharge compensation coefficient to obtain the target charge and discharge strategy.
8. An uninterruptible power supply peak power compensation device, characterized in that: The device comprises: A recording module is used to obtain and record the power consumption data and power supply data of the target device in real time; A determination module, used to determine a preset hierarchical model according to the power consumption data; An acquisition module, configured to acquire historical power consumption data of the target device according to the hierarchical model, wherein the historical power consumption data includes a feature identification value and a working condition duration; A prediction module, configured to predict the target device operating condition on the power consumption data according to the feature identification value and the hierarchical model to obtain a first charging and discharging strategy; A decision module is used to determine a target charging and discharging strategy according to the operating condition duration, the power supply data and the first charging and discharging strategy.
9. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the uninterruptible power supply peak power consumption compensation method according to any one of claims 1 to 7 are implemented.
10. 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 for compensating peak power consumption of an uninterruptible power supply according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
UPS (Uninterrupted Power Supply) self-diagnosis system based on artificial intelligence
CN120405491A