Power inversion control method and system for off-grid and grid-connected integrated bus type power supply
By introducing a power inverter control method with off-grid integrated bus power supply in the uninterruptible power system, users can optimize power transactions when the power is sufficient, solving the problem of large price difference in the power trading process, achieving a better power transaction method, and reducing capital losses.
Patent Information
- Application Number
- CN202510152715.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-05-16
AI Technical Summary
When users use industrial uninterruptible power to convert solar energy to generate and store energy, there is a problem of large price difference in the electricity trading process, resulting in loss of users' funds.
It provides a power inverter control method and system for integrated power supply off-grid and integrated bus. By obtaining the actual battery status, obtaining power purchase requests from other factories, generating power disposal information, and executing power purchase and sale instructions, realizing power purchase and sale between factories.
Users can conduct electricity transactions at prices higher than the grid purchase price and lower than the grid sale price, reducing capital losses caused by the electricity price difference and providing a more preferential way of buying and selling.
Smart Images

Figure CN120016453A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of uninterruptible power supply, and in particular to a power inverter control method and system for off-grid and on-grid integrated bus power supply. Background Art
[0002] Uninterruptible power supply (UPS) is a system device that connects the battery to the host and converts DC power into AC power through the host inverter and other module circuits. When the AC power input is normal, the UPS stabilizes the AC power and supplies it to the load. At this time, the UPS is an AC voltage stabilizer, and it also charges the battery inside the machine; when the AC power is interrupted (power outage), the UPS immediately converts the DC power of the battery to 220V AC power to the load through the inverter switching conversion method, so that the load maintains normal operation and protects the load software and hardware from damage.
[0003] For related technologies, reference may be made to Chinese patent publication number CN104393616A, which discloses a grid-connected and off-grid integrated solar power generation system, which consists of a solar photovoltaic array, a grid-connected inverter, a household appliance inverter, an automatic charger, a battery pack, a power grid, a household appliance load and a switch group, wherein the switch group includes switches S1-S3; the solar photovoltaic array outputs AC power through the grid-connected inverter, the battery pack outputs AC power through the household appliance inverter, and the solar photovoltaic array charges the battery pack through the automatic charger; the grid-connected inverter is electrically connected to the solar photovoltaic array through switch S1, the household appliance inverter is electrically connected to the household appliance load through switch S3, and switch S2 controls the conduction and cutoff between the grid-connected inverter and the power grid and the automatic charger; through different opening and closing combinations of switches S1-S3, the system supports 4 different operating modes.
[0004] With respect to the above-mentioned related technologies, the inventors believe that the following defects exist: when users use industrial uninterruptible power supplies to convert solar energy for power generation and energy storage, users usually sell the excess electricity generated to the main power grid at a lower price; and when the user's factory requires a large amount of electricity and its own battery energy storage cannot meet production needs, the user needs to purchase electricity from the main power grid at a higher price. Users buy electricity at high prices and sell electricity at low prices, resulting in a large price difference in the process of electricity trading, and there is a defect that the electricity trading process causes financial losses to users. Summary of the invention
[0005] In order to enable users to reduce financial losses caused by price differences in electricity during the process of buying and selling electricity, the present application provides a power inverter control method and system for off-grid and integrated bus power supply.
[0006] In a first aspect, the present application provides a power inverter control method for off-grid integrated bus power supply, which adopts the following technical solution:
[0007] A power inverter control method for off-grid integrated bus power supply, characterized by comprising the following steps:
[0008] Get the actual battery status;
[0009] If the actual battery state is in a sufficient power state, obtaining a power purchase request sent by other factories, wherein the power purchase request carries power purchase information for sending a purchase request to a user, and the power purchase information includes a factory ID and a purchase power amount corresponding to the factory ID;
[0010] According to the electricity purchase information, acquiring electricity sales information corresponding to the electricity purchase information, wherein the electricity sales information is generated by the user according to the electricity purchase information;
[0011] If the electricity sales information corresponding to the electricity purchase information is obtained, the factory ID corresponding to the electricity sales information is retrieved;
[0012] Based on the factory ID and the electricity sales information, an electricity purchase and sale instruction is generated and executed, and the electricity purchase and sale instruction is used to push the electricity sales information according to the factory ID.
[0013] By adopting the above technical solution, when there is sufficient electricity stored in the power supply at the user's place and the electricity can be sold to the outside, the control system obtains the electricity purchase information of other factories and decides whether to sell its own electricity. When the user decides to sell electricity, the user generates electricity sales information, and the control system obtains the electricity sales information and generates electricity purchase and sale instructions to realize the electricity purchase and sale process between factories. Since the electricity purchase and sale prices between factories can be determined through negotiation, the user can sell electricity at a price higher than the purchase price of the power grid but lower than the selling price of the power grid, providing a more favorable buying and selling method for both parties, so that the user can reduce the financial loss caused by the price difference of electricity in the process of buying and selling electricity.
[0014] Optionally, before the step of acquiring the electricity sales information corresponding to the electricity purchase information, the method further includes:
[0015] Receive a new order request from a user, the new order request carrying order information for creating a new factory production order, the order information including an actual order type and an actual order quantity corresponding to the actual order type;
[0016] Querying a preset order type corresponding to the actual order type from a preset database;
[0017] According to the preset order type, calling the preset power consumption corresponding to the preset order type;
[0018] Generate an estimated power consumption according to the actual order quantity and the retrieved preset power consumption, where the estimated power consumption is generated by multiplying the actual order quantity by the preset power consumption;
[0019] The estimated power consumption is pushed to the user's smart terminal.
[0020] By adopting the above technical solution, when a user decides whether to sell electricity, the control system generates an estimated power consumption at the user's factory based on the user's current order volume, so that the user can make considerations based on his or her own electricity consumption during the electricity transaction, thereby reducing the possibility of the user selling at a low price and subsequently having to buy at a high price.
[0021] Optionally, before the step of obtaining the actual battery status, the method further includes:
[0022] Get the actual battery storage energy;
[0023] Querying a battery energy storage volume corresponding to the actual battery energy storage amount from a preset database;
[0024] Generate a battery power ratio according to the actual battery energy storage and the battery energy storage volume, wherein the battery power ratio is generated by dividing the actual battery energy storage by the battery energy storage volume;
[0025] Querying a sufficient power ratio and an insufficient power ratio corresponding to the battery power ratio from a preset database;
[0026] If the battery power ratio is greater than the sufficient power ratio, the actual battery state is in a sufficient power state;
[0027] If the battery power ratio is less than the insufficient power ratio, the actual battery state is in an insufficient power state.
[0028] By adopting the above technical solution, the control system calculates the current battery power ratio and obtains the current battery energy storage status. When the battery power ratio is greater than the sufficient power ratio, it means that the battery is in a sufficient power state at this time; when the battery power ratio is less than the insufficient power ratio, it means that the battery is in an insufficient power state at this time, which makes it easy for the control system to judge the current actual battery status according to the energy storage ratio preset by the user.
[0029] Optionally, after the step of querying the battery energy storage volume corresponding to the actual battery energy storage from a preset database, the method further includes:
[0030] Generate a battery energy storage margin according to the actual battery energy storage and the estimated power consumption, wherein the battery energy storage margin is generated by subtracting the estimated power consumption from the actual battery energy storage;
[0031] Generate a battery remaining amount ratio according to the battery energy storage remaining amount and the battery energy storage volume, wherein the battery remaining amount ratio is generated by dividing the battery energy storage remaining amount by the battery energy storage volume;
[0032] If the battery remaining ratio is greater than the sufficient power ratio, a suggested selling instruction is generated and executed, and the suggested selling instruction is used to push the suggested selling signal to the user's smart terminal.
[0033] By adopting the above technical solution, when the current power in the battery is reduced by the power required by the user, the proportion of the remaining battery is still greater than the sufficient power proportion, which means that the user's current remaining battery is sufficient and can be sold. The control system generates a recommended selling instruction, so that the user can intuitively know the current battery power usage status, thereby facilitating the user to make a decision on power sales.
[0034] Optionally, after the step of obtaining the actual battery status, the method further includes:
[0035] If the actual battery status is in a low battery state, query the user ID from a preset database;
[0036] According to the user ID, obtaining the required power corresponding to the user ID;
[0037] Generate purchase information according to the user ID and the required power;
[0038] According to the purchase information, an electricity purchase instruction is generated and executed, and the electricity purchase instruction is used to push the purchase information to other factories.
[0039] By adopting the above technical solution, when the battery power at the user's location is low, the control system generates corresponding purchase information based on the user's needs, and pushes the purchase information to other factories, giving priority to purchasing electricity from other factories, thereby reducing the price of purchasing electricity.
[0040] Optionally, before the step of querying the user ID from the preset database, the method further includes:
[0041] If the battery remaining ratio is less than the insufficient power ratio, the step of querying the user ID from the preset database is performed.
[0042] By adopting the above technical solution, when the remaining battery power at the user's place is insufficient to support the user's subsequent production process, the control system directly sends purchase information to other factories, thereby playing the role of pre-purchase, so that the user can replenish the power in advance when the power is insufficient.
[0043] Optionally, before the step of generating and executing the recommended selling instruction, the method further includes:
[0044] Obtaining historical electricity consumption data, wherein the historical electricity consumption data includes the power, usage time and quantity of all electrical devices in working state in the previous period of time;
[0045] Classify electrical equipment by type and calculate the power consumption of each type of electrical equipment;
[0046] Add up the power consumption of various electrical equipment to get the estimated power consumption of the factory;
[0047] The battery energy storage remainder is updated according to the factory's estimated power consumption, the actual battery energy storage and the predicted power consumption.
[0048] Optionally, the DC bus connected to the power grid is boosted by a DC / DC Boost converter;
[0049] The introduction of virtual impedance, namely the droop coefficient, reshapes the converter output impedance so that each photovoltaic power source evenly shares the output current according to the capacity ratio. The droop equation is expressed as:
[0050]
[0051] Where: v dc,ref is the reference value of the Boost converter output voltage; v * dc is the rated value of bus voltage; m is the droop coefficient;
[0052] Use PI controller to adjust v * dc =v dc,ref , the controller output is the reference power P of the photovoltaic array ref , assuming the upper limit of the output power of the photovoltaic array is P max , limit the output of the PI controller, that is, 0≤P ref ≤P max ;
[0053] The objective function is proposed as ΔP(d)=min|P pv -P ref |;
[0054] The perturbation method is used to continuously adjust the duty cycle d to find the optimal value until the photovoltaic array output power P pv With P ref The absolute value of the difference ΔP is the smallest;
[0055] When P ref ≥P MPPT When ΔP min =P ref -P MPPT, that is, P pv =P MPPT , the system works in MPPT mode; when P ref <P MPPT When ΔP min =0, that is, P pv =P ref , the system works in BVD mode, the power tracking algorithm is set by different P ref , allowing the system to switch freely between two different modes.
[0056] In a second aspect, the present application provides a power inverter control system for off-grid integrated bus power supply, which adopts the following technical solution:
[0057] A power inverter control system for off-grid and on-grid integrated bus-type power supply, comprising:
[0058] An actual battery status acquisition module is used to acquire the actual battery status;
[0059] A power purchase request acquisition module, used for acquiring a power purchase request sent by other factories if the actual battery state is in a sufficient power state, wherein the power purchase request carries power purchase information for issuing a purchase request to a user, and the power purchase information includes a factory ID and a purchase power quantity corresponding to the factory ID;
[0060] A power sales information acquisition module, used to acquire power sales information corresponding to the power purchase information according to the power purchase information, wherein the power sales information is generated by the user according to the power purchase information;
[0061] A factory ID acquisition module, for retrieving the factory ID corresponding to the power sales information if the power sales information corresponding to the power purchase information is acquired;
[0062] The electricity purchase and sale instruction generation module is used to generate and execute electricity purchase and sale instructions according to the factory ID and the electricity sales information, and the electricity purchase and sale instructions are used to push the electricity sales information according to the factory ID.
[0063] In summary, compared with the prior art, the above technical solution has the following beneficial effects:
[0064] When there is sufficient electricity stored in the user's power supply and the electricity can be sold to the outside, the control system obtains the electricity purchase information of other factories and decides whether to sell its own electricity. When the user decides to sell electricity, the user generates electricity sales information. The control system obtains the electricity sales information and generates electricity purchase and sale instructions to realize the electricity purchase and sale process between factories. Since the electricity purchase and sale prices between factories can be determined through negotiation, the user can sell electricity at a price higher than the purchase price of the power grid but lower than the selling price of the power grid, providing a more favorable buying and selling method for both parties, so that users can reduce financial losses caused by the price difference of electricity in the process of buying and selling electricity.
[0065] The control system calculates the current battery power ratio and obtains the current battery energy storage status. When the battery power ratio is greater than the sufficient power ratio, it means that the battery is in a sufficient power state; when the battery power ratio is less than the insufficient power ratio, it means that the battery is in an insufficient power state, which makes it easier for the control system to judge the current actual battery status according to the energy storage ratio preset by the user.
[0066] When the current power in the battery is reduced by the power required by the user, the proportion of the remaining battery is still greater than the sufficient power proportion, which means that the user's current remaining battery is sufficient and can be sold. The control system generates a recommended selling instruction, so that the user can intuitively know the current battery power usage status, which is convenient for the user to make a decision on power sales. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 It is a module block diagram of the battery pack in the embodiment of the present application.
[0068] Figure 2 It is a flow chart of a power inverter control method for off-grid and grid-connected integrated bus power supply according to an embodiment of the present application.
[0069] Figure 3 It is a flowchart of obtaining the required power corresponding to the user ID in an embodiment of the present application.
[0070] Figure 4 It is a schematic diagram of the process of generating the battery power ratio in the embodiment of the present application.
[0071] Figure 5 It is a schematic diagram of the process of pushing the estimated power consumption to the user's smart terminal in an embodiment of the present application.
[0072] Figure 6 It is a module block diagram of a power inverter control system with off-grid integrated bus power supply according to an embodiment of the present application.
[0073] Explanation of the accompanying drawings: 1. Actual battery status acquisition module; 2. Power purchase request acquisition module; 3. Power sales information acquisition module; 4. Factory ID acquisition module; 5. Power purchase and sale instruction generation module. DETAILED DESCRIPTION
[0074] The following is combined with Figure 1-6 This application is described in further detail.
[0075] The embodiments of the present application disclose a power inverter control method and system for off-grid and on-grid integrated bus-type power supply.
[0076] Reference Figure 1 and Figure 2 , a power inverter control method for off-grid and grid-connected integrated bus power supply, comprising:
[0077] S101: Acquire actual battery status.
[0078] Specifically, users convert sunlight energy into electrical energy through a solar photovoltaic array installed on the roof. The solar photovoltaic array charges the battery pack through an automatic charger. At this time, the control system monitors the power of the battery pack in real time to obtain the actual battery status of the battery pack.
[0079] S102: If the actual battery status is in a sufficient power state, obtain a power purchase request sent by other factories.
[0080] The power purchase request carries power purchase information for sending a purchase request to the user, and the power purchase information includes the factory ID and the purchase amount corresponding to the factory ID. When the battery pack at the user has sufficient power and is ready to sell power, the control system, as an information exchange platform, obtains power purchase information from other factories and pushes the power purchase information from other factories to the user first, so that the user can give priority to individual factories when selling power, which is convenient for raising the power selling price.
[0081] S103: Acquire electricity sales information corresponding to the electricity purchase information.
[0082] Specifically, the control system obtains the power sales information corresponding to the power purchase information based on the power purchase information. The power sales information is generated by the user based on the power purchase information. After the user receives the purchase information, the user decides whether to sell the power of the factory to the factory that issued the request by browsing the purchase information. When the user decides to sell the power, the user generates the power sales information corresponding to the power purchase information of the current factory. The power sales information is used to indicate the power information that the current user decides to sell. The power sales information includes the amount of power sold and the price of the power sold corresponding to the amount of power sold.
[0083] S104: If the electricity sales information corresponding to the electricity purchase information is obtained, the factory ID corresponding to the electricity sales information is retrieved.
[0084] Specifically, after the control system obtains the electricity sales information sent by the user, it retrieves the electricity purchase information corresponding to the electricity sales information, and then determines the factory ID corresponding to the current electricity sales information, and obtains the specific contact information of the electricity trading factory.
[0085] S105: Generate and execute electricity purchase and sale instructions.
[0086] Specifically, the control system generates and executes electricity purchase and sale instructions based on the factory ID and electricity sales information, wherein the electricity purchase and sale instructions are used to push electricity sales information based on the factory ID. After the control system obtains the electricity sales information sent by the user, it generates the electricity purchase and sale instructions accordingly, and sends the electricity sales information set by the user to the corresponding factory according to the determined factory ID, thereby realizing the order finalization process between the electricity buyer and seller, and further realizing the electricity purchase and sale process between the factories.
[0087] Since the electricity buying and selling prices between factories can be determined through negotiation, users can sell electricity at a price higher than the grid purchase price but lower than the grid selling price, providing a more favorable electricity buying and selling method for both buyers and sellers, allowing users to reduce financial losses caused by electricity price differences in the process of buying and selling electricity.
[0088] Reference Figure 3 After S101, purchase information will be generated according to the actual battery status, which specifically includes the following steps:
[0089] S201: If the actual battery status is in a low power state, query the user ID from a preset database.
[0090] Specifically, when the control system determines that the actual battery status is low on power, it indicates that the battery pack in the user's factory is insufficiently powered. When the battery pack at the user's site is low on power, the control system first queries the user ID from a preset database to collect information for subsequent power purchase processes.
[0091] S202: Obtain the power demand corresponding to the user ID.
[0092] Specifically, the control system obtains the power demand corresponding to the user ID according to the user ID, wherein the power demand is generated by the user input setting, and the user generates the power demand according to his own power demand plan.
[0093] S203: Generate purchase information.
[0094] Specifically, the control system generates purchase information according to the user ID and the required power amount, wherein the purchase information is used to reflect the user's power purchase demand.
[0095] S204: Generate and execute an electricity purchase instruction.
[0096] Specifically, the control system generates and executes an electricity purchase instruction based on the purchase information, and the electricity purchase instruction is used to push the purchase information to other factories. When a user needs to purchase electricity, the control system generates corresponding purchase information based on the user's needs, and pushes the purchase information to other factories, giving priority to purchasing electricity from other factories, thereby enabling users to purchase electricity at a price lower than the purchase price of the power grid.
[0097] Reference Figure 4 , before S101, the battery power ratio is generated according to the actual battery storage energy, which specifically includes the following steps:
[0098] S301: Acquire actual battery storage energy.
[0099] Specifically, when the battery pack is in use, the control system obtains the current power of the battery pack, that is, the actual battery storage energy, in real time, wherein the actual battery storage energy is used to represent the actual power currently stored in the battery pack.
[0100] S302: Query the battery energy storage volume corresponding to the actual battery energy storage capacity from a preset database.
[0101] Specifically, the control system queries the battery energy storage volume corresponding to the actual battery energy storage capacity from a preset database, wherein the battery energy storage volume is preset by the user and is used to represent the maximum amount of electricity that the current battery pack can store.
[0102] S303: Generate a battery power ratio.
[0103] Specifically, the control system generates a battery power ratio according to the actual battery energy storage and the battery energy storage volume, wherein the battery power ratio is generated by dividing the actual battery energy storage by the battery energy storage volume. The control system calculates the current battery power ratio, thereby facilitating the determination of the current battery energy storage state.
[0104] S304: Querying a preset database for a sufficient power ratio and an insufficient power ratio corresponding to the battery power ratio.
[0105] The sufficient power ratio and the insufficient power ratio are both preset by the user. For example, the sufficient power ratio set by the user is 80%, and the insufficient power ratio set by the user is 20%.
[0106] S305: If the battery power ratio is greater than the sufficient power ratio, the actual battery state is in a sufficient power state.
[0107] Specifically, if the battery power ratio is greater than the sufficient power ratio, it means that the battery is in a sufficient power state.
[0108] S306: If the battery power ratio is less than the low power ratio, the actual battery state is in a low power state.
[0109] Specifically, if the current battery power ratio is less than the low power ratio, it means that the battery is in a low power state. The control system calculates the storage power ratio to obtain the power storage state of the battery pack, so that the control system can judge the current actual battery state according to the energy storage ratio preset by the user, so that the user can have a more intuitive control over the storage condition of the battery pack.
[0110] Reference Figure 5 Before S103, an estimated power consumption is generated according to the user's new order request, which specifically includes the following steps:
[0111] S401: Receive a new order request from a user.
[0112] The new order request carries order information for creating a new factory production order, including the actual order type and the actual order quantity corresponding to the actual order type. When the user receives the production order, the user sends a new order request through the smart terminal, and sends the relevant order information of the production order to the control system, so that the control system can know the production tasks of the user's factory, so as to make corresponding plans for the storage capacity of the battery pack.
[0113] S402: Query a preset order type corresponding to the actual order type from a preset database.
[0114] Specifically, after the control system receives the order information sent by the user, the control system queries the preset order type corresponding to the actual order type from the preset database, and performs relevant queries on the production task type in the current order.
[0115] S403: Retrieve the preset power consumption corresponding to the preset order type.
[0116] Specifically, the control system retrieves the preset power consumption corresponding to the preset order type according to the preset order type, wherein the preset power consumption is generated in advance by the user, and the user sets the preset power consumption required for the production task based on previous work experience, and the preset power consumption is used to reflect the power required to produce an order.
[0117] S404: Generate estimated power consumption.
[0118] Specifically, the control system generates an estimated power consumption according to the actual order quantity and the retrieved preset power consumption, and the estimated power consumption is generated by multiplying the actual order quantity by the preset power consumption. The control system generates the corresponding estimated power consumption by multiplying the actual order quantity by the preset power consumption, and then obtains the total power required to complete the current order task.
[0119] S405: Push the estimated power consumption to the user's smart terminal.
[0120] Specifically, when a user is considering whether to sell electricity, the control system generates the estimated electricity consumption required by the user's factory based on the current order volume at the user's factory, allowing the user to make decisions based on their own electricity consumption during the electricity trading process, reducing the possibility of the user selling at a low price and subsequently having to buy at a high price.
[0121] Reference Figure 5 Further, after S405, as an implementation mode, the embodiment of the present application may further include:
[0122] S406: Generate battery energy storage remaining.
[0123] Specifically, the control system generates a battery energy storage margin based on the actual battery energy storage and the expected power consumption. The battery energy storage margin is generated by subtracting the expected power consumption from the actual battery energy storage. For example, if the actual battery energy storage of the battery pack is 90 and the expected power consumption required by the user's factory is 30, then the actual battery energy storage is 90 minus the expected power consumption of 30, and the generated battery energy storage margin is 60.
[0124] S407: Generate a battery remaining ratio.
[0125] Specifically, the control system generates a battery remaining ratio according to the battery energy remaining and the battery energy storage volume, and the battery remaining ratio is generated by dividing the battery energy remaining by the battery energy storage volume. For example, if the battery energy storage volume of the battery pack at the user is 100, then the battery energy remaining 60 is divided by the battery energy storage volume 100, and the battery remaining ratio at this time is 60%.
[0126] S408: If the battery remaining ratio is greater than the sufficient power ratio, a recommended selling instruction is generated and executed.
[0127] Specifically, when the current power in the battery is reduced by the power required by the user, the proportion of the remaining battery is still greater than the sufficient power proportion, which means that the user's current remaining battery is sufficient and can be sold. The control system generates a recommended selling instruction, where the recommended selling instruction is used to push a recommended selling signal to the user's smart terminal, so that the user can intuitively know the current battery power storage status, thereby facilitating the user to make a decision on power sales.
[0128] Replay Figure 3 Further, before S201, as an implementation mode, the embodiment of the present application may further include:
[0129] If the battery remaining ratio is less than the insufficient battery ratio, the step of querying the user ID from the preset database is executed.
[0130] Specifically, when the control system finds that the remaining energy storage capacity of the battery pack at the user's location is insufficient to support the user's subsequent production process, the control system directly sends purchase information to other factories, thereby playing the role of pre-purchase, allowing users to replenish power in advance when power is insufficient.
[0131] Further, before S408, as an implementation mode, the embodiment of the present application may further include:
[0132] S501: Obtain historical electricity consumption data.
[0133] Specifically, the control system obtains historical electricity consumption data, which includes the power, usage time and quantity of all electrical equipment in working status in the previous period of time; specifically, the historical electricity consumption data can be obtained from the official website of the power company, third-party payment platforms (such as Alipay, WeChat) or power service applications (such as the online State Grid App) and other channels; through the data regularly recorded by smart meters or traditional meters, the power, usage time and quantity of all electrical equipment in working status in the previous period of time are obtained.
[0134] S502: Classify the electrical equipment by type and calculate the power consumption of each type of electrical equipment.
[0135] Specifically, the control system will organize the acquired data to ensure the accuracy and completeness of the data. Classify according to the type of electrical equipment (such as lighting equipment, production equipment, air-conditioning equipment, etc.). For each type of electrical equipment, use the formula "power consumption = power × usage time" to calculate its power consumption. If there is more than one device of a certain type, it is also necessary to add up the power consumption of each device to get the total power consumption of this type of equipment. During the calculation process, it is necessary to ensure that the power and usage time data used are accurate. If the power or usage time of the equipment in different time periods is different, it is necessary to calculate and accumulate them separately.
[0136] S503: Add up the power consumption of various types of electrical equipment to obtain the estimated power consumption of the factory.
[0137] Specifically, the control system accumulates the power consumption of various power-consuming devices to obtain the total estimated power consumption of the factory. This process can be completed through a spreadsheet or professional data analysis software to improve the efficiency and accuracy of the calculation. The total estimated power consumption obtained by accumulation can reflect the power demand of the factory within a certain period of time, which serves as the basis for formulating battery energy storage plans and adjusting power consumption strategies.
[0138] S504: updating the battery energy storage remainder according to the estimated power consumption of the factory, the actual battery energy storage capacity and the predicted power consumption.
[0139] Specifically, the control system calculates the battery energy storage margin based on the estimated power consumption of the factory, the actual battery energy storage and the expected power consumption. Battery energy storage margin = actual battery energy storage - expected power consumption - factory estimated power consumption. By updating the battery energy storage margin, the status of the battery energy storage system can be monitored in real time, and it can be more accurately determined whether power transactions can be carried out. This helps to promptly discover and solve possible problems with the battery energy storage system and ensure the stable operation of the power system.
[0140] In another embodiment, the following steps are also included:
[0141] The DC bus connected to the power grid is boosted by a DC / DC Boost converter;
[0142] The introduction of virtual impedance, namely the droop coefficient, reshapes the converter output impedance so that each photovoltaic power source evenly shares the output current according to the capacity ratio. The droop equation is expressed as:
[0143]
[0144] Where: v dc,ref is the reference value of the Boost converter output voltage; v * dc is the rated value of bus voltage; m is the droop coefficient;
[0145] Use PI controller to adjust v * dc =v dc,ref , the controller output is the reference power P of the photovoltaic array ref , assuming the upper limit of the output power of the photovoltaic array is P max , limit the output of the PI controller, that is, 0≤P ref ≤P max ;
[0146] The objective function is proposed as ΔP(d)=min|Ppv -P ref |;
[0147] The perturbation method is used to continuously adjust the duty cycle d to find the optimal value until the photovoltaic array output power P pv With P ref The absolute value of the difference ΔP is the smallest;
[0148] When P ref ≥P MPPT When ΔP min =P ref -P MPPT , that is, P pv =P MPPT , the system works in MPPT mode; when P ref <P MPPT When ΔP min =0, that is, P pv =P ref , the system works in BVD mode, the power tracking algorithm is set by different P ref , allowing the system to switch freely between two different modes.
[0149] Specifically, the control system selects a suitable DC / DC Boost converter to ensure that it can withstand the maximum voltage and current generated by the photovoltaic power source, connects the output end of the photovoltaic power source to the input end of the DC / DC Boost converter, sets the boost ratio of the Boost converter to ensure that the output voltage can meet the requirements of the DC bus of the power grid, starts the Boost converter, and connects the output voltage of the photovoltaic power source to the DC bus of the power grid after boosting it. Through boosting, the photovoltaic power source can match the voltage requirements of the DC bus of the power grid, achieve connection with the power grid, improve the utilization rate of the photovoltaic power source, and enable more electric energy to be sent to the power grid.
[0150] The concept of virtual impedance is introduced into the control system. The output impedance of the converter is adjusted by the droop coefficient. According to the capacity of the photovoltaic power source and the needs of the power grid, the appropriate droop coefficient m is set. In the control algorithm, the droop equation is combined with the control strategy of the converter to achieve the reshaping of the output impedance. By introducing virtual impedance and droop coefficient, each photovoltaic power source can evenly share the output current according to the capacity ratio, avoiding the problem of current imbalance, improving the stability and reliability of the power grid, and reducing the risk of equipment damage caused by current imbalance.
[0151] Design a PI controller with the reference value v of the Boost converter output voltage dc,ref As input, the control signal of the converter is output, according to the rated value of bus voltage v * dcThe target output value of the PI controller is calculated by the droop coefficient m. Through the adjustment of the PI controller, the output voltage of the converter is close to the reference value v dc,ref . Set the output power upper limit P of the photovoltaic array max , limit the output of the PI controller to ensure that the output power of the photovoltaic array does not exceed the upper limit. Through the adjustment of the PI controller, the output voltage of the converter is accurately controlled, the stability of the system is improved, the output power upper limit is set, and the risk of damage to the photovoltaic array due to overload is avoided.
[0152] According to the system requirements, an objective function is proposed, which is related to the output power P of the photovoltaic array. pv and reference power P ref The perturbation method is used to continuously adjust the duty cycle d of the converter, observe the changes in the objective function, and find the duty cycle d value that minimizes the objective function through continuous iteration and optimization. Through the guidance of the perturbation method and the objective function, the precise adjustment of the converter duty cycle is achieved, the efficiency and performance of the system are improved, the output power of the photovoltaic array is closer to the reference power, and the stability and controllability of the system are improved.
[0153] Real-time detection of the maximum power point tracking (MPPT) power P of the photovoltaic array MPPT , compared with the reference power P ref With P MPPT The size relationship is, when P ref Greater than or equal to P MPPT When the system works in MPPT mode, the output power of the photovoltaic array is equal to P MPPT When P ref Less than P MPPT When the system works in BVD (Battery Voltage Dependent) mode, the output power of the photovoltaic array is equal to P ref By setting different reference powers Pref, the system can switch freely between MPPT mode and BVD mode. In MPPT mode, the system can maximize the power generation capacity of the photovoltaic array; in BVD mode, the system can adjust the output power according to actual needs, which improves the flexibility and adaptability of the system.
[0154] The implementation principle of a power inverter control method for off-grid integrated bus power supply in an embodiment of the present application is as follows: when the remaining energy storage capacity of the battery pack at the user's location is insufficient to support the user's subsequent production process, the control system sends purchase information to other factories. When there is sufficient electricity stored in the power supply at the user's location, the control system obtains the electricity purchase information of other factories and decides whether to sell its own electricity. When the user decides to sell electricity, the control system obtains the electricity sales information, generates an electricity purchase and sale instruction, and sells the user's electricity to other factories. The electricity purchase and sale process between factories is realized, so that users can reduce the financial losses caused by the price difference of electricity in the process of buying and selling electricity.
[0155] Based on the above method, the embodiment of the present application also discloses a power inverter control system for off-grid integrated bus power supply. Figure 6 , a power inverter control system for off-grid and on-grid integrated bus power supply, comprising:
[0156] The actual battery status acquisition module 1 is used to acquire the actual battery status.
[0157] The power purchase request acquisition module 2 is used to obtain the power purchase request sent by other factories if the actual battery status is in a sufficient power state. The power purchase request carries power purchase information for issuing a purchase request to the user. The power purchase information includes the factory ID and the purchase power corresponding to the factory ID.
[0158] The power sales information acquisition module 3 is used to acquire the power sales information corresponding to the power purchase information based on the power purchase information. The power sales information is generated by the user based on the power purchase information.
[0159] The factory ID acquisition module 4 is used to retrieve the factory ID corresponding to the power sales information if the power sales information corresponding to the power purchase information is obtained.
[0160] The electricity purchase and sale instruction generation module 5 is used to generate and execute electricity purchase and sale instructions according to the factory ID and electricity sales information. The electricity purchase and sale instructions are used to push the electricity sales information according to the factory ID.
[0161] An embodiment of the present application also discloses an intelligent terminal, which includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed by the above-mentioned off-grid integrated bus power supply power inverter control method.
[0162] The embodiment of the present application also discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program that can be loaded by a processor and executes the above-mentioned off-grid integrated bus-type power supply power inverter control method, and the computer-readable storage medium includes, for example: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0163] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the scope of protection of the invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on these embodiments, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in this field can still combine, add, delete or make other adjustments to the features in the various embodiments of the present invention according to the circumstances without conflict, without making creative work, so as to obtain different other technical solutions that do not deviate from the concept of the present invention in essence, and these technical solutions also belong to the scope of protection of the present invention.
Claims
1. A power inverter control method for off-grid integrated bus power supply, characterized in that: The following steps are involved: Get the actual battery status; If the actual battery state is in a sufficient power state, obtaining a power purchase request sent by other factories, wherein the power purchase request carries power purchase information for sending a purchase request to a user, and the power purchase information includes a factory ID and a purchase power quantity corresponding to the factory ID; According to the electricity purchase information, acquiring electricity sales information corresponding to the electricity purchase information, wherein the electricity sales information is generated by the user according to the electricity purchase information; If the electricity sales information corresponding to the electricity purchase information is obtained, the factory ID corresponding to the electricity sales information is retrieved; Based on the factory ID and the electricity sales information, an electricity purchase and sale instruction is generated and executed, and the electricity purchase and sale instruction is used to push the electricity sales information according to the factory ID.
2. The power inverter control method for off-grid and grid-connected integrated bus power supply according to claim 1, characterized in that: Before the step of acquiring the electricity sales information corresponding to the electricity purchase information, the method further includes: Receive a new order request from a user, the new order request carrying order information for creating a new factory production order, the order information including an actual order type and an actual order quantity corresponding to the actual order type; Querying a preset order type corresponding to the actual order type from a preset database; According to the preset order type, calling the preset power consumption corresponding to the preset order type; Generate an estimated power consumption according to the actual order quantity and the retrieved preset power consumption, where the estimated power consumption is generated by multiplying the actual order quantity by the preset power consumption; The estimated power consumption is pushed to the user's smart terminal.
3. The power inverter control method for off-grid and grid-connected integrated bus power supply according to claim 1, characterized in that: Before the step of obtaining the actual battery status, the method further includes: Get the actual battery storage energy; Querying a battery energy storage volume corresponding to the actual battery energy storage amount from a preset database; Generate a battery power ratio according to the actual battery energy storage and the battery energy storage volume, wherein the battery power ratio is generated by dividing the actual battery energy storage by the battery energy storage volume; Querying a sufficient power ratio and an insufficient power ratio corresponding to the battery power ratio from a preset database; If the battery power ratio is greater than the sufficient power ratio, the actual battery state is in a sufficient power state; If the battery power ratio is less than the insufficient power ratio, the actual battery state is in an insufficient power state.
4. The power inverter control method for off-grid and grid-connected integrated bus-type power supply according to claim 3, characterized in that: After the step of querying the battery energy storage volume corresponding to the actual battery energy storage from the preset database, the method further includes: Generate a battery energy storage margin according to the actual battery energy storage and the estimated power consumption, wherein the battery energy storage margin is generated by subtracting the estimated power consumption from the actual battery energy storage; Generate a battery remaining amount ratio according to the battery energy storage remaining amount and the battery energy storage volume, wherein the battery remaining amount ratio is generated by dividing the battery energy storage remaining amount by the battery energy storage volume; If the battery remaining ratio is greater than the sufficient power ratio, a suggested selling instruction is generated and executed, and the suggested selling instruction is used to push the suggested selling signal to the user's smart terminal.
5. The power inverter control method for off-grid and grid-connected integrated bus power supply according to claim 4, characterized in that: After the step of obtaining the actual battery status, the method further includes: If the actual battery status is in a low battery state, query the user ID from a preset database; According to the user ID, obtaining the required power corresponding to the user ID; Generate purchase information according to the user ID and the required power; According to the purchase information, an electricity purchase instruction is generated and executed, and the electricity purchase instruction is used to push the purchase information to other factories.
6. The power inverter control method for off-grid and grid-connected integrated bus-type power supply according to claim 5, characterized in that: Before the step of querying the user ID from the preset database, it also includes: If the battery remaining ratio is less than the insufficient power ratio, the step of querying the user ID from the preset database is performed.
7. The power inverter control method for off-grid and grid-connected integrated bus-type power supply according to claim 4, characterized in that: Before the step of generating and executing the recommended selling instruction, the method further includes: Obtaining historical electricity consumption data, wherein the historical electricity consumption data includes the power, usage time and quantity of all electrical devices in working state in the previous period of time; Classify electrical equipment by type and calculate the power consumption of each type of electrical equipment; Add up the power consumption of various electrical equipment to get the estimated power consumption of the factory; The battery energy storage remainder is updated according to the factory's estimated power consumption, the actual battery energy storage and the predicted power consumption.
8. The power inverter control method for off-grid and grid-connected integrated bus-type power supply according to claim 1, characterized in that: Also includes: The DC bus connected to the power grid is boosted by a DC / DC Boost converter; The introduction of virtual impedance, namely the droop coefficient, reshapes the converter output impedance so that each photovoltaic power source evenly shares the output current according to the capacity ratio. The droop equation is expressed as: Where: v dc,ref It is the reference value of the output voltage of the Boost converter; is the rated value of bus voltage; m is the droop coefficient; Use PI controller to adjust v * dc =v dc,ref , the controller output is the reference power P of the photovoltaic array ref , assuming the upper limit of the output power of the photovoltaic array is P max , limit the output of the PI controller, that is, 0≤P ref ≤P max ; The objective function is proposed as ΔP(d)=min|P pv -P ref |; The perturbation method is used to continuously adjust the duty cycle d to find the optimal value until the photovoltaic array output power P pv With P ref The absolute value of the difference ΔP is the smallest; When P ref ≥P MPPT When ΔP min =P ref -P MPPT , that is, P pv =P MPPT , the system works in MPPT mode; when P ref <P MPPT When ΔP min =0, that is, P pv =P ref , the system works in BVD mode, the power tracking algorithm is set by different P ref , allowing the system to switch freely between two different modes.
9. A power inverter control system for off-grid and grid-connected integrated bus power supply, characterized in that: include: An actual battery status acquisition module (1), used for acquiring an actual battery status; A power purchase request acquisition module (2), configured to acquire a power purchase request sent by another factory if the actual battery state is in a sufficient power state, wherein the power purchase request carries power purchase information for sending a purchase request to a user, wherein the power purchase information includes a factory ID and a purchase power quantity corresponding to the factory ID; A power sales information acquisition module (3), used to acquire power sales information corresponding to the power purchase information based on the power purchase information, wherein the power sales information is generated by the user based on the power purchase information; A factory ID acquisition module (4) is used to retrieve the factory ID corresponding to the power sales information if the power sales information corresponding to the power purchase information is acquired; An electricity purchase and sale instruction generation module (5) is used to generate and execute an electricity purchase and sale instruction based on the factory ID and the electricity sales information, wherein the electricity purchase and sale instruction is used to push the electricity sales information based on the factory ID.
Citation Information
Patent Citations
Solar power generation system based on grid-connected and off-grid integration
CN104393616A
Flexible power tracking control method of photovoltaic power generation unit and application thereof
CN113608571A
Off-grid and grid-connected integrated power inversion control method, system and device and storage medium
CN114463094A
Intelligent peak load shifting superposition photovoltaic power generation power supply operation system and intelligent peak load shifting superposition photovoltaic power generation power supply operation method
CN114498707A
Method and device for managing and controlling network-side power of optical storage system
CN116316767A