Hybrid energy management method, device, computer equipment and storage medium
Patent Information
- Application Number
- CN202311235862.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2043-09-22
AI Technical Summary
然而当前的能量管理系统所执行的能量管理策略通常只能实现不同需求功率下的简单功率分配,比如在需求功率较小时,仅由发电系统输出功率等
[0045]By employing the aforementioned hybrid power energy management methods, devices, computer equipment, and storage media, the demand power is frequency-decomposed to obtain components at different frequencies. These components are then used as reference power for the power generation system and the energy storage system, respectively. Since the power generation system exhibits poor dynamic characteristics while the energy storage system demonstrates good dynamic characteristics, the component with the lower power frequency after frequency decomposition is used as the reference power for the power generation system, and the component with the higher power frequency is used as the reference power for the energy storage system, thus fully utilizing the performance of different power sources. Secondly, the obtained reference power is only an initial value and needs further adjustment based on the state of charge of the energy storage system and the demand power. This ensures that the target power not only considers the performance of the power source at different power frequencies but also the balance between the state of charge and the demand power, guaranteeing more stable system operation. Finally, Fourier transform is used to decompose the demand power frequency. This decomposition process involves no approximations and is lossless, thereby improving the accuracy of the decomposition.
Smart Images

Figure CN117227699B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of energy management technology, and specifically to a hybrid power energy management method, apparatus, computer equipment, and storage medium. Background Technology
[0002] To effectively control pollution and protect the environment, many countries around the world have proposed the concepts of "low-carbon economy" and "green shipbuilding." As a result, hybrid electric propulsion systems have emerged. These systems can meet the speed and propulsion requirements of ships under different operating conditions in a relatively short time, compensating for the low fuel efficiency, increased noise, and higher emissions associated with traditional diesel generator-based propulsion methods. However, hybrid systems are multi-power source systems, and the coupling of multiple power sources increases the complexity of the ship's hybrid power system. Imbalances in energy supply and demand in the DC system can cause fluctuations in the bus voltage. Therefore, power control of the energy sources connected to the DC system is necessary to maintain stable bus voltage and improve power quality.
[0003] The Energy Management System (EMS) is the core component enabling hybrid-powered ships to maintain stable operation under complex and frequently changing conditions. However, current EMS strategies typically only achieve simple power allocation based on different power demands, such as relying solely on the generator system to output power when demand is low. This current approach does not consider the performance of different power sources at different power frequencies, resulting in poor overall hybrid power performance. Summary of the Invention
[0004] In view of the shortcomings of the prior art, the present invention provides a hybrid power energy management method, device, computer equipment and storage medium.
[0005] In one embodiment, the present invention provides an energy management method for a hybrid power system. The method manages the energy of the hybrid power system, which provides energy to a load system. The hybrid power system includes a power generation system and an energy storage system. The energy management method for the hybrid power system includes:
[0006] Obtain the power requirement of the load system;
[0007] The required power is decomposed by Fourier transform to obtain the reference power of the power generation system and the reference power of the energy storage system. The power frequency of the energy storage system reference power is greater than that of the power generation system reference power.
[0008] The adjusted power is obtained based on the required power and the state of charge of the energy storage system;
[0009] Based on the adjusted power, the reference power of the energy storage system and the reference power of the power generation system are adjusted respectively to obtain the target power of the energy storage system and the target power of the power generation system.
[0010] In one embodiment, the adjusted power is obtained based on the demand power and the state of charge of the energy storage system, including:
[0011] Determine the fuzzy value of the required power corresponding to the required power and the fuzzy value of the state of charge corresponding to the state of charge;
[0012] Obtain preset fuzzy logic rules;
[0013] Substitute the demand power fuzzy value and the state of charge fuzzy value into the preset fuzzy logic rule to obtain the adjustment power fuzzy value that corresponds to both the demand power fuzzy value and the state of charge fuzzy value in the preset fuzzy logic rule.
[0014] Determine the adjustment power corresponding to the fuzzy value of the adjustment power.
[0015] In one embodiment, determining the demand power fuzzy value corresponding to the demand power and the charge state fuzzy value corresponding to the charge state includes:
[0016] Obtain the fuzzy membership function of the required power and the fuzzy membership function of the charged state corresponding to the required power.
[0017] Substitute the demand power into the demand power fuzzy membership function to obtain the demand power fuzzy value corresponding to the demand power;
[0018] Substitute the charged state into the fuzzy membership function of the charged state to obtain the fuzzy value of the charged state corresponding to the charged state.
[0019] Determining the adjustment power corresponding to the fuzzy value of the adjustment power includes:
[0020] Obtain the fuzzy membership function of the adjusted power corresponding to the adjusted power;
[0021] Substituting the fuzzy value of the adjusted power into the fuzzy membership function of the adjusted power, we obtain the adjusted power corresponding to the fuzzy value of the adjusted power.
[0022] In one embodiment, the smaller the power demand and the smaller the state of charge, the smaller the adjustment power; the larger the power demand and the larger the state of charge, the larger the adjustment power.
[0023] Based on the adjusted power, the reference power of the energy storage system and the reference power of the power generation system are adjusted respectively to obtain the target power of the energy storage system and the target power of the power generation system, including:
[0024] The sum of the reference power and the adjustment power of the energy storage system is taken as the target power of the energy storage system;
[0025] The difference between the reference power and the adjusted power of the power generation system is used as the target power of the power generation system.
[0026] In one embodiment, the power generation system includes a diesel generator, and the energy storage system includes a lithium battery and a supercapacitor; the power generation system reference power includes the diesel generator reference power, the energy storage system reference power includes the lithium battery reference power and the supercapacitor reference power; the power frequency of the supercapacitor reference power is greater than the power frequency of the lithium battery reference power, and the power frequency of the lithium battery reference power is greater than the power frequency of the diesel generator reference power; the adjustment power includes the lithium battery adjustment power and the supercapacitor adjustment power; based on the adjustment power, the energy storage system reference power and the power generation system reference power are adjusted respectively to obtain the energy storage system target power corresponding to the energy storage system and the power generation system target power corresponding to the power generation system, including:
[0027] Based on the lithium battery adjustment power, the lithium battery reference power is adjusted to obtain the corresponding lithium battery target power;
[0028] Based on the supercapacitor's power adjustment, the supercapacitor's reference power is adjusted to obtain the supercapacitor's target power; the energy storage system's target power includes the lithium battery's target power and the supercapacitor's target power.
[0029] The reference power of the diesel generator is adjusted based on the power adjustment of the lithium battery and the power adjustment of the supercapacitor to obtain the target power of the diesel generator; the target power of the power generation system includes the target power of the diesel generator.
[0030] In one embodiment, the required power is decomposed into frequency components using Fourier transform to obtain the power generation system reference power and the energy storage system reference power, including:
[0031] Perform a positive Fourier transform on the demand power to convert the demand power from the time domain to the frequency domain, and obtain multiple frequencies of the demand power.
[0032] Based on the preset frequency, the multiple frequencies of the required power are divided into a first frequency range and a second frequency range, where the second frequency range is greater than the preset frequency and the first frequency range is less than the preset frequency.
[0033] Perform an inverse Fourier transform on the frequency domain signal in the first frequency range to obtain the reference power of the power generation system;
[0034] The inverse Fourier transform of the frequency domain signal in the second frequency range is performed to obtain the reference power of the energy storage system.
[0035] In one embodiment, after adjusting the reference power of the energy storage system and the reference power of the power generation system according to the adjustment power to obtain the target power of the energy storage system and the target power of the power generation system, the hybrid power energy management method further includes:
[0036] Control the output power of the energy storage system according to the target power of the energy storage system;
[0037] Control the output power of the power generation system according to the target power of the power generation system.
[0038] In a second aspect, in one embodiment, the present invention provides a hybrid power energy management device for managing the energy of a hybrid power system, the hybrid power system providing energy to a load system, the hybrid power system including a power generation system and an energy storage system; the hybrid power energy management device includes:
[0039] The power acquisition module is used to acquire the power demand of the load system;
[0040] The power decomposition module is used to decompose the demand power by frequency through Fourier transform to obtain the reference power of the power generation system and the reference power of the energy storage system; the power frequency of the energy storage system reference power is greater than that of the power generation system reference power.
[0041] The adjustment determination module is used to obtain the adjusted power based on the required power and the state of charge of the energy storage system;
[0042] The power adjustment module is used to adjust the reference power of the energy storage system and the reference power of the power generation system according to the adjustment power, so as to obtain the target power of the energy storage system and the target power of the power generation system.
[0043] Thirdly, in one embodiment, the present invention provides a computer device including a memory and a processor; the memory stores a computer program, and the processor is configured to run the computer program in the memory to perform the steps in the hybrid power energy management method of any of the above embodiments.
[0044] Fourthly, in one embodiment, the present invention provides a storage medium storing a computer program that is loaded by a processor to perform the steps in the hybrid power energy management method of any of the above embodiments.
[0045] By employing the aforementioned hybrid power energy management methods, devices, computer equipment, and storage media, the demand power is frequency-decomposed to obtain components at different frequencies. These components are then used as reference power for the power generation system and the energy storage system, respectively. Since the power generation system exhibits poor dynamic characteristics while the energy storage system demonstrates good dynamic characteristics, the component with the lower power frequency after frequency decomposition is used as the reference power for the power generation system, and the component with the higher power frequency is used as the reference power for the energy storage system, thus fully utilizing the performance of different power sources. Secondly, the obtained reference power is only an initial value and needs further adjustment based on the state of charge of the energy storage system and the demand power. This ensures that the target power not only considers the performance of the power source at different power frequencies but also the balance between the state of charge and the demand power, guaranteeing more stable system operation. Finally, Fourier transform is used to decompose the demand power frequency. This decomposition process involves no approximations and is lossless, thereby improving the accuracy of the decomposition. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is a schematic diagram illustrating an application scenario of the hybrid energy management method in one embodiment of the present invention;
[0048] Figure 2 This is a schematic diagram of the structure of a hybrid power system in one embodiment of the present invention;
[0049] Figure 3 This is a flowchart illustrating a hybrid power energy management method according to one embodiment of the present invention;
[0050] Figure 4 This is a schematic diagram of the frequency region after frequency decomposition in one embodiment of the present invention;
[0051] Figure 5 This is a schematic diagram of the required power fuzzy membership function in one embodiment of the present invention;
[0052] Figure 6 This is a schematic diagram of the fuzzy membership function of the charged state in one embodiment of the present invention;
[0053] Figure 7 This is a flowchart illustrating a hybrid power energy management method according to another embodiment of the present invention;
[0054] Figure 8 This is a schematic diagram of the energy management device for a hybrid power system in one embodiment of the present invention;
[0055] Figure 9 This is a schematic diagram of the structure of a computer device in one embodiment of the present invention. Detailed Implementation
[0056] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0057] In the description of this invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified. In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for illustrative purposes. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid unnecessarily obscuring the description of the invention. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0058] The hybrid energy management method in this embodiment of the invention is applied to a hybrid energy management device, which is set on a computer device. The computer device can be a terminal, such as a mobile phone or a tablet computer, or it can be a server or a service cluster composed of multiple servers.
[0059] like Figure 1 As shown, Figure 1This is a schematic diagram of an application scenario of the hybrid energy management method in an embodiment of the present invention. The application scenario of the hybrid energy management method in this embodiment includes a computer device 100 (the computer device 100 integrates a hybrid energy management device), and a computer-readable storage medium running the hybrid energy management method in the computer device 100 to execute the steps of the hybrid energy management method.
[0060] Understandable Figure 1 The computer equipment in the application scenario of the hybrid energy management method shown, or the devices contained in the computer equipment, do not constitute a limitation on the embodiments of the present invention. That is, the number or type of equipment in the application scenario of the hybrid energy management method, or the number or type of devices contained in each equipment, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0061] In this embodiment of the invention, the computer device 100 can be an independent device, or a network of devices or a cluster of devices. For example, the computer device 100 described in this embodiment of the invention includes, but is not limited to, a computer, a network host, a single network device, a set of multiple network devices, or a cloud device composed of multiple devices. The cloud device consists of a large number of computers or network devices based on cloud computing.
[0062] Those skilled in the art will understand that Figure 1 The application scenarios shown are merely one example corresponding to the technical solution of this invention and do not constitute a limitation on the application scenarios of the technical solution of this invention. Other application scenarios may include more than one example. Figure 1 The more or fewer computer devices shown, or the network connections of the computer devices, for example Figure 1 Only one computer device is shown in the diagram. It is understood that the scenario of the hybrid energy management method may also include one or more other computer devices, which are not specifically limited here. The computer device 100 may also include a memory for storing information related to the hybrid energy management method.
[0063] Furthermore, in the application scenario of the hybrid power energy management method in this embodiment of the invention, the computer device 100 may be equipped with a display device, or the computer device 100 may not have a display device but may be communicatively connected to an external display device 200. The display device 200 is used to output the results of the execution of the hybrid power energy management method in the computer device. The computer device 100 may access a background database 300 (the background database 300 may be the local storage of the computer device 100, or it may be located in the cloud), and the background database 300 stores information related to the hybrid power energy management method.
[0064] It should be noted that, Figure 1 The application scenario of the hybrid energy management method shown is merely an example. The application scenario of the hybrid energy management method described in the embodiments of the present invention is for the purpose of more clearly illustrating the technical solution of the embodiments of the present invention, and does not constitute a limitation on the technical solution provided in the embodiments of the present invention.
[0065] Based on the application scenarios of the above-mentioned hybrid power energy management method, an embodiment of the hybrid power energy management method is proposed.
[0066] In one embodiment, the present invention provides an energy management method for a hybrid power system. This method manages the energy of a hybrid power system, which provides energy to a load system. The hybrid power system includes a power generation system and an energy storage system, such as... Figure 2 As shown, the power generation system includes a diesel engine and a generator connected to the diesel engine, i.e., a diesel generator. The energy storage system includes lithium batteries and supercapacitors. The load system includes a propulsion motor and other loads. The propulsion motor is used to drive the propeller to rotate so as to enable the ship to navigate. The generator is connected to the DC bus through an AC / DC converter. The lithium batteries and supercapacitors are connected to the DC bus through a DC / DC converter. The DC bus is connected to the propulsion motor through a DC / AC converter. The DC bus is directly connected to other DC loads.
[0067] like Figure 3 As shown, the energy management method for hybrid power systems includes:
[0068] Step 201: Obtain the power requirement of the load system;
[0069] Among them, such as Figure 2 As shown, in the energy management process, the corresponding power demand is mainly determined based on the load information of the load system;
[0070] The required power is a discrete signal in the time domain;
[0071] Step 202: The required power is decomposed into frequency by Fourier transform to obtain the reference power of the power generation system and the reference power of the energy storage system.
[0072] The power frequency of the reference power of the energy storage system is greater than that of the reference power of the generation system.
[0073] When the power generation system is a diesel generator, the corresponding power generation system reference power is the diesel generator reference power. When the energy storage system is a lithium battery and a supercapacitor, the corresponding energy storage system reference power is the lithium battery reference power and the supercapacitor reference power. In this case, since the dynamic characteristics of the supercapacitor are better than those of the lithium battery, and the dynamic characteristics of the lithium battery are better than those of the diesel generator, the power frequency of the supercapacitor reference power obtained by decomposition is greater than that of the lithium battery reference power, and the power frequency of the lithium battery reference power is greater than that of the diesel generator reference power.
[0074] Step 203: Obtain the adjusted power based on the required power and the state of charge of the energy storage system;
[0075] The state of charge (SOC) includes the SOC of the lithium battery and the SOC of the supercapacitor. For energy storage components, maintaining a good SOC is essential for optimal charging and discharging. Therefore, when determining the power of the lithium battery and supercapacitor, the corresponding SOC must be considered. The required power determines the total power of the diesel generator, lithium battery, and supercapacitor. When the required power is high, the diesel generator can only provide a portion of the power, so the lithium battery and supercapacitor need to provide more surplus power. In this embodiment, by combining the above two factors and considering both the required power and the SOC of the lithium battery and supercapacitor, a balance between the SOC and the required power is achieved, ultimately yielding the corresponding adjusted power of the lithium battery and the adjusted power of the supercapacitor.
[0076] Step 204: Adjust the reference power of the energy storage system and the reference power of the power generation system according to the adjustment power to obtain the target power of the energy storage system and the target power of the power generation system.
[0077] As mentioned above, the reference power of the energy storage system includes the reference power of the lithium battery and the reference power of the supercapacitor, and the reference power of the power generation system is the reference power of the diesel generator. Therefore, the corresponding target power of the energy storage system includes the target power of the lithium battery and the target power of the supercapacitor, and the target power of the power generation system is the target power of the diesel generator.
[0078] Since power adjustment includes both lithium battery power adjustment and supercapacitor power adjustment, power adjustment can specifically include:
[0079] Based on the lithium battery adjustment power, the lithium battery reference power is adjusted to obtain the corresponding lithium battery target power;
[0080] Based on the supercapacitor's adjustment power, the supercapacitor's reference power is adjusted to obtain the supercapacitor's target power.
[0081] The reference power of the diesel generator is adjusted based on the power adjustment of the lithium battery and the power adjustment of the supercapacitor to obtain the target power of the diesel generator.
[0082] The reference power of the diesel generator, the reference power of the lithium battery, and the reference power of the supercapacitor are power components at different power frequencies obtained by frequency decomposition of the required power. The sum of these three is necessary to meet the required power. Therefore, the sum of the target power of the diesel generator, the target power of the lithium battery, and the target power of the supercapacitor after power adjustment must also meet the required power. For example, if the target power of the lithium battery is less than the reference power after adjusting the lithium battery reference power, the missing power needs to be made up by the supercapacitor and / or the diesel generator. That is, the adjusted target power of the supercapacitor must be greater than the reference power of the supercapacitor and / or the target power of the diesel generator must be greater than the reference power of the diesel generator. Therefore, after adjusting the reference power of the lithium battery and the supercapacitor using the lithium battery adjustment power and the supercapacitor adjustment power respectively, the reference power of the diesel generator also needs to be adjusted using the lithium battery adjustment power and the supercapacitor adjustment power.
[0083] The energy management method for hybrid power described above decomposes the demand power into frequency components, which are then used as reference power for the power generation system and the energy storage system, respectively. Since the power generation system has poor dynamic characteristics while the energy storage system has good dynamic characteristics, the component with the lower power frequency after frequency decomposition is used as the reference power for the power generation system, and the component with the higher power frequency is used as the reference power for the energy storage system, thus fully utilizing the performance of different power sources. Secondly, the obtained reference power is only an initial value and needs to be further adjusted based on the state of charge of the energy storage system and the demand power. This ensures that the target power not only considers the performance of the power source at different power frequencies but also the balance between the state of charge and the demand power, guaranteeing more stable system operation. Finally, Fourier transform is used to decompose the demand power into frequency components. This decomposition process is lossless and involves no approximations, thereby improving the accuracy of the decomposition.
[0084] In one embodiment, the required power is decomposed into frequency components using Fourier transform to obtain the power generation system reference power and the energy storage system reference power, including:
[0085] Perform a positive Fourier transform on the demand power to convert the demand power from the time domain to the frequency domain, and obtain multiple frequencies of the demand power.
[0086] Among them, the required power P demand (t) is a discrete signal in the time domain. Let N be the number of sampling points and T be the sampling period. S The sampling frequency is F S Then P demand (t) can be considered as a period of NT. S The signal has a base frequency of 1 / (NT). S Through DFT (positive Fourier transform), the required power P can be expressed. demand (t) is transformed from the time domain to the frequency domain based on formula (1):
[0087]
[0088] Where k is the frequency sequence number, k=0 is the DC component, k=1 is the fundamental frequency component, k=2 is the second harmonic component, and so on;
[0089] For ease of description, let W N =e^(-j2π / N), then equation (1) becomes:
[0090]
[0091] According to the properties of the Discrete Fourier Transform, F demand (k) has symmetry, in order to reflect the DC component F demand The symmetry of (0), F demand (k) can be represented as:
[0092]
[0093] Based on the preset frequency, the multiple frequencies of the required power are divided into a first frequency range and a second frequency range, where the second frequency range is greater than the preset frequency and the first frequency range is less than the preset frequency.
[0094] Specifically, the first frequency range corresponds to the diesel generator, and the second frequency range corresponds to the lithium battery and supercapacitor. Therefore, the second frequency range can be further divided into a first sub-frequency range and a second sub-frequency range by another preset frequency. The first sub-frequency range is smaller than the other preset frequency, and the second sub-frequency range is larger than the other preset frequency. That is, the first sub-frequency range corresponds to the lithium battery, and the second sub-frequency range corresponds to the supercapacitor.
[0095] For ease of understanding, the above-mentioned first frequency range, first sub-frequency range and second sub-frequency range can be expressed as low frequency, medium frequency and high frequency respectively. The selection of the above preset frequency is determined according to the performance parameters of the diesel generator, the lithium battery and the supercapacitor, and can be obtained through corresponding tests;
[0096] Equation (3) divides the signal into three sections of low frequency, medium frequency and high frequency at k=n1 and k=n2, where 0<n1<n2<N / 2. Due to symmetry, this is equivalent to having two segmentation points at k=N-n1 and k=N-n2, the division result is as Figure 4 shown, the three separated frequency bands are listed, and the missing parts are supplemented with 0, as follows:
[0097]
[0098]
[0099]
[0100] F demand1 (k) is the low frequency part, F demand2 (k) is the medium frequency part, F demand3 (k) is the high frequency part;
[0101] Perform inverse Fourier transform on the frequency domain signal of the first frequency range to obtain the reference power of the power generation system;
[0102] Perform inverse Fourier transform on the frequency domain signal of the second frequency range to obtain the reference power of the energy storage system;
[0103] Wherein, the second frequency range is the first sub-frequency range and the second sub-frequency range. As mentioned above, the first frequency range corresponds to a diesel generator, the first sub-frequency range corresponds to a lithium battery, and the second sub-frequency range corresponds to a supercapacitor. Inverse Fourier transform is performed on these three parts respectively to obtain the diesel generator reference power P ref-e (t), lithium battery reference power P ref-bat (t) and supercapacitor reference power P ref-uc (t), specifically as shown in Equation (7):
[0104]
[0105] In one embodiment, the adjusted power is obtained according to the required power and the state of charge of the energy storage system, comprising:
[0106] Determine the required power fuzzy value corresponding to the required power and the state of charge fuzzy value corresponding to the state of charge;
[0107] Specifically, determining the fuzzy value of the required power corresponding to the required power and the fuzzy value of the state of charge corresponding to the state of charge includes:
[0108] Obtain the fuzzy membership function of the required power and the fuzzy membership function of the charged state corresponding to the required power.
[0109] Among them, the required power P demand The fuzzy membership function of the demand power corresponding to (t) can be expressed as follows: Figure 5 State of charge (SOC) includes the state of charge (SOC) of lithium batteries. bat and the state of charge (SOC) of supercapacitors uc State of charge (SOC) of lithium batteries bat and the state of charge (SOC) of supercapacitors uc The corresponding fuzzy membership function of the charged state can be expressed as: Figure 6 Regardless of the required power P demand (t) is still the state of charge (SOC) of the lithium battery. bat and the state of charge (SOC) of supercapacitors uc Each of them has seven membership degree sets, namely VS, S, RS, M, RB, B, VB, which represent: very small, small, relatively small, medium, relatively large, large, and very large, respectively.
[0110] Substitute the demand power into the demand power fuzzy membership function to obtain the demand power fuzzy value corresponding to the demand power;
[0111] For example, the required power P demand If (t) is 2000, then the corresponding fuzzy value of the required power is M;
[0112] Substitute the charged state into the fuzzy membership function of the charged state to obtain the fuzzy value of the charged state corresponding to the charged state.
[0113] For example, the state of charge (SOC) of a lithium battery bat If the value is 50, then the corresponding fuzzy value of the state of charge (SOC) of the lithium battery is M, similar to the SOC of a supercapacitor. uc If the value is 50, then the fuzzy value of the state of charge of the corresponding supercapacitor is M;
[0114] Obtain preset fuzzy logic rules;
[0115] Ships typically operate in three scenarios: Scenario 1: When a ship is entering or leaving port, the corresponding load power demand is relatively small, and it is usually powered by a diesel generator; Scenario 2: When a ship is sailing economically, its corresponding load power demand is relatively stable and at a medium level, and it is usually powered by a diesel generator and one of the lithium batteries or supercapacitors; Scenario 3: When a ship is operating at high power, the corresponding load power demand is relatively large, and it is usually powered by a diesel generator, lithium batteries, and supercapacitors. It can be seen that the greater the power demand, the more power the lithium batteries and supercapacitors need to provide, and vice versa. The smaller the power demand, the less power the lithium batteries and supercapacitors need to provide. Based on this power logic, the corresponding fuzzy logic rules are pre-set, i.e., preset fuzzy logic rules.
[0116] Specifically, the preset fuzzy logic rules for lithium batteries are shown in Table 1, and the preset fuzzy logic rules for supercapacitors are shown in Table 2.
[0117] Table 1
[0118]
[0119] Table 2
[0120]
[0121] Substitute the demand power fuzzy value and the state of charge fuzzy value into the preset fuzzy logic rule to obtain the adjustment power fuzzy value that corresponds to both the demand power fuzzy value and the state of charge fuzzy value in the preset fuzzy logic rule.
[0122] Among them, the output adjustment power fuzzy value can also be divided into seven fuzzy sets: NB represents negative large, NM represents negative medium, NS represents negative small, and negative represents charging; ZE represents 0, PS represents positive small, PM represents positive medium, PB represents positive large, and positive represents discharging.
[0123] For example, if the fuzzy value of the required power is M, the fuzzy value of the state of charge of the lithium battery is M, and the fuzzy value of the state of charge of the supercapacitor is M, then the fuzzy value of the adjusted power corresponding to the lithium battery can be obtained from Table 1, and the fuzzy value of the adjusted power corresponding to the supercapacitor can be obtained from Table 2.
[0124] Determine the adjustment power corresponding to the fuzzy value of the adjustment power;
[0125] Specifically, determining the adjustment power corresponding to the fuzzy value of the adjustment power includes:
[0126] Obtain the fuzzy membership function of the adjusted power corresponding to the adjusted power;
[0127] Similar to the aforementioned fuzzy membership functions for demand power and state of charge, the fuzzy membership functions for adjustable power corresponding to lithium batteries and supercapacitors can be expressed as follows: Figure 7 Similar to demand power and state of charge, adjustable power also has seven membership sets, namely VS, S, RS, M, RB, B, VB, which represent: very small, small, relatively small, medium, relatively large, large, and very large, respectively.
[0128] Substitute the fuzzy value of the adjusted power into the fuzzy membership function of the adjusted power to obtain the adjusted power corresponding to the fuzzy value of the adjusted power;
[0129] For example, if the fuzzy value of the adjustment power corresponding to a lithium battery is PS, then the corresponding lithium battery adjustment power P f-bat =0;
[0130] For example, if the fuzzy value of the adjustment power corresponding to a supercapacitor is PS, then the corresponding supercapacitor adjustment power P f-uc It is 0.
[0131] In one embodiment, the smaller the power demand and the smaller the state of charge, the smaller the adjustment power; the larger the power demand and the larger the state of charge, the larger the adjustment power.
[0132] As can be seen from the above embodiments, the obtained adjustment power is a vector corresponding to the lithium battery and the supercapacitor. The larger the adjustment power, the more power the lithium battery and the supercapacitor need to provide, and vice versa.
[0133] Based on the adjusted power, the reference power of the energy storage system and the reference power of the power generation system are adjusted respectively to obtain the target power of the energy storage system and the target power of the power generation system, including:
[0134] The sum of the reference power and the adjustment power of the energy storage system is taken as the target power of the energy storage system;
[0135] The difference between the reference power and the adjusted power of the power generation system is used as the target power of the power generation system;
[0136] Among them, the target power P of the lithium battery bat Target power P of supercapacitor uc and the target power P of the diesel generator e Specifically, it can be obtained through the following formula:
[0137] P bat =P ref-bat +P f-bat (8)
[0138] P uc =P ref-uc +Pf-uc (9)
[0139] P e =P ref-e -P f-bat -P f-uc (10)
[0140] Since the adjustment power is a vector corresponding to the lithium battery and the supercapacitor, the target power of the lithium battery and the supercapacitor is obtained by summation. However, the diesel generator needs to meet the power requirements together with the lithium battery and the supercapacitor, so the target power of the diesel generator is obtained by subtraction.
[0141] In one embodiment, after adjusting the reference power of the energy storage system and the reference power of the power generation system according to the adjustment power to obtain the target power of the energy storage system and the target power of the power generation system, the hybrid power energy management method further includes:
[0142] Control the output power of the energy storage system according to the target power of the energy storage system;
[0143] Control the output power of the power generation system according to the target power of the power generation system;
[0144] Specifically, the output power of the diesel generator is controlled according to the target power of the diesel generator, the output power of the lithium battery is controlled according to the target power of the lithium battery, and the output power of the supercapacitor is controlled according to the target power of the supercapacitor.
[0145] To make the technical solution of this application clearer, the features in the above embodiments are now combined for a comprehensive explanation, such as... Figure 7 As shown, after obtaining the required power, frequency decomposition is performed using Discrete Fourier Transform to obtain the corresponding reference power for the diesel generator, lithium battery, and supercapacitor; simultaneously, the state of charge (SOC) of the lithium battery is obtained. bat and the state of charge (SOC) of supercapacitors uc Then, based on the required power, fuzzy control is used to obtain the corresponding lithium battery adjustment power and supercapacitor adjustment power. The lithium battery reference power and the lithium battery adjustment power are summed to obtain the target lithium battery power P. bat The target power P of the supercapacitor is obtained by summing the reference power and the adjustment power of the supercapacitor. uc The target power P of the diesel generator is obtained by subtracting the reference power of the diesel generator, the adjusted power of the lithium battery, and the adjusted power of the supercapacitor. e .
[0146] In a second aspect, in one embodiment, the present invention provides a hybrid power energy management device for managing the energy of a hybrid power system, the hybrid power system being used to provide energy to a load system, the hybrid power system including a power generation system and an energy storage system;
[0147] like Figure 8 As shown, the energy management device for hybrid power includes:
[0148] The power acquisition module 301 is used to acquire the power demand of the load system.
[0149] The power decomposition module 302 is used to perform frequency decomposition on the demand power through Fourier transform to obtain the power generation system reference power corresponding to the power generation system and the energy storage system reference power corresponding to the energy storage system; the power frequency of the energy storage system reference power is greater than the power frequency of the power generation system reference power.
[0150] The adjustment determination module 303 is used to obtain the adjustment power based on the required power and the state of charge of the energy storage system;
[0151] The power adjustment module 304 is used to adjust the reference power of the energy storage system and the reference power of the power generation system according to the adjustment power, so as to obtain the target power of the energy storage system and the target power of the power generation system.
[0152] The energy management device for the aforementioned hybrid power system decomposes the demand power into frequency components, which are then used as reference power for the power generation system and the energy storage system, respectively. Since the power generation system has poor dynamic characteristics while the energy storage system has good dynamic characteristics, the component with the lower power frequency after frequency decomposition is used as the reference power for the power generation system, and the component with the higher power frequency is used as the reference power for the energy storage system, thus fully utilizing the performance of different power sources. Secondly, the obtained reference power is only an initial value and needs further adjustment based on the state of charge of the energy storage system and the demand power. This ensures that the target power not only considers the performance of the power source at different power frequencies but also the balance between the state of charge and the demand power, guaranteeing more stable system operation. Finally, Fourier transform is used to decompose the demand power into frequency components. This decomposition process involves no approximations and is lossless, thereby improving the accuracy of the decomposition.
[0153] Thirdly, in one embodiment, the present invention provides a computer device, which is a server corresponding to the management and login node in the above embodiments, such as... Figure 9 As shown, it illustrates the structure of the computer device involved in this invention, specifically:
[0154] The computer device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 9 The structure of the computer device shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0155] The processor 401 is the control center of the computer device. It connects various parts of the computer device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, thereby providing overall monitoring of the computer device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and computer programs, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.
[0156] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the server, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0157] The computer device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0158] The computer device may also include an input unit 404, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0159] Although not shown, the computer device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, when the computer device is a model training computer device, the processor 401 in the computer device will load the executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 will run the computer programs stored in the memory 402 to perform the following steps:
[0160] Obtain the power requirement of the load system;
[0161] The required power is decomposed by Fourier transform to obtain the reference power of the power generation system and the reference power of the energy storage system. The power frequency of the energy storage system reference power is greater than that of the power generation system reference power.
[0162] The adjusted power is obtained based on the required power and the state of charge of the energy storage system;
[0163] Based on the adjusted power, the reference power of the energy storage system and the reference power of the power generation system are adjusted respectively to obtain the target power of the energy storage system and the target power of the power generation system.
[0164] Using the aforementioned computer equipment, the demand power is decomposed into frequency components, resulting in different frequency parts. These are then used as reference power for the power generation system and the energy storage system, respectively. Since the power generation system has poor dynamic characteristics, while the energy storage system has better dynamic characteristics, the lower frequency component after frequency decomposition is used as the reference power for the power generation system, and the higher frequency component is used as the reference power for the energy storage system, fully utilizing the performance of different power sources. Secondly, the obtained reference power is only an initial value and needs further adjustment based on the state of charge of the energy storage system and the demand power. This ensures that the target power not only considers the performance of the power source at different power frequencies but also the balance between the state of charge and the demand power, guaranteeing more stable system operation. Finally, Fourier transform is used to decompose the demand power into frequency components. This decomposition process involves no approximations and is lossless, thus improving the accuracy of the decomposition.
[0165] Those skilled in the art will understand that all or part of the steps in any of the methods in the above embodiments can be performed by a computer program or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0166] Fourthly, in one embodiment, the present invention provides a storage medium storing a plurality of computer programs that can be loaded by a processor to perform the following steps:
[0167] Obtain the power requirement of the load system;
[0168] The required power is decomposed by Fourier transform to obtain the reference power of the power generation system and the reference power of the energy storage system. The power frequency of the energy storage system reference power is greater than that of the power generation system reference power.
[0169] The adjusted power is obtained based on the required power and the state of charge of the energy storage system;
[0170] Based on the adjusted power, the reference power of the energy storage system and the reference power of the power generation system are adjusted respectively to obtain the target power of the energy storage system and the target power of the power generation system.
[0171] Using the aforementioned storage medium, the demand power is frequency-decomposed to obtain components at different frequencies. These components are then used as reference power for the power generation system and the energy storage system, respectively. Since the power generation system has poor dynamic characteristics, while the energy storage system has better dynamic characteristics, the component with the lower power frequency after frequency decomposition is used as the reference power for the power generation system, and the component with the higher power frequency is used as the reference power for the energy storage system, thus fully utilizing the performance of different power sources. Secondly, the obtained reference power is only an initial value and needs further adjustment based on the state of charge of the energy storage system and the demand power. This ensures that the target power not only considers the performance of the power source at different power frequencies but also the balance between the state of charge and the demand power, guaranteeing more stable system operation. Finally, Fourier transform is used to decompose the demand power frequency. This decomposition process involves no approximations and is lossless, thereby improving the accuracy of the decomposition.
[0172] It will be understood by those skilled in the art that any references to memory, storage, database, or other media used in the embodiments provided in this invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchlink, SLDRAM, RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0173] Since the computer program stored in the storage medium can execute the steps in the hybrid power energy management method in any embodiment of the present invention, the beneficial effects that the hybrid power energy management method in any embodiment of the present invention can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0174] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0175] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0176] The present invention provides a detailed description of a hybrid power energy management method, apparatus, computer device, and storage medium. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
[0177] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A hybrid power energy management method, characterized in that, The energy management method for the hybrid power system is used to manage the energy of the hybrid power system, which provides energy to the load system. The hybrid power system includes a power generation system and an energy storage system. The energy management method for the hybrid power system includes: Obtain the required power of the load system; The required power is decomposed by Fourier transform to obtain the power generation system reference power and the energy storage system reference power corresponding to the power generation system; the power frequency of the energy storage system reference power is greater than the power frequency of the power generation system reference power. The adjusted power is obtained based on the required power and the state of charge of the energy storage system; Based on the adjusted power, the reference power of the energy storage system and the reference power of the power generation system are adjusted respectively to obtain the target power of the energy storage system and the target power of the power generation system corresponding to the energy storage system. The step of obtaining the adjusted power based on the demanded power and the state of charge of the energy storage system includes: Determine the fuzzy value of the required power corresponding to the required power and the fuzzy value of the state of charge corresponding to the state of charge; Obtain preset fuzzy logic rules; Substituting the demand power fuzzy value and the state of charge fuzzy value into the preset fuzzy logic rule, we obtain the adjustment power fuzzy value in the preset fuzzy logic rule that corresponds to both the demand power fuzzy value and the state of charge fuzzy value. Determine the adjustment power corresponding to the fuzzy value of the adjustment power.
2. The energy management method for hybrid power according to claim 1, characterized in that, Determining the fuzzy value of the demand power corresponding to the demand power and the fuzzy value of the state of charge corresponding to the state of charge includes: Obtain the fuzzy membership function of the required power corresponding to the required power and the fuzzy membership function of the charged state corresponding to the charged state; Substitute the demand power into the demand power fuzzy membership function to obtain the demand power fuzzy value corresponding to the demand power. Substitute the charge state into the charge state fuzzy membership function to obtain the charge state fuzzy value corresponding to the charge state. Determining the adjustment power corresponding to the fuzzy value of the adjustment power includes: Obtain the fuzzy membership function of the adjusted power corresponding to the adjusted power; Substituting the fuzzy value of the adjusted power into the fuzzy membership function of the adjusted power, the adjusted power corresponding to the fuzzy value of the adjusted power is obtained.
3. The energy management method according to any one of claims 1 to 2, characterized in that, The smaller the required power and the smaller the state of charge, the smaller the adjustment power; the larger the required power and the larger the state of charge, the larger the adjustment power. The step of adjusting the reference power of the energy storage system and the reference power of the power generation system according to the adjusted power to obtain the target power of the energy storage system and the target power of the power generation system, respectively, includes: The sum of the reference power of the energy storage system and the adjustment power is taken as the target power of the energy storage system; The difference between the reference power of the power generation system and the adjusted power is taken as the target power of the power generation system.
4. The energy management method for hybrid power according to claim 1, characterized in that, The power generation system includes a diesel generator, and the energy storage system includes a lithium battery and a supercapacitor; the reference power of the power generation system includes the reference power of the diesel generator, and the reference power of the energy storage system includes the reference power of the lithium battery and the reference power of the supercapacitor. The power frequency of the supercapacitor reference power is greater than the power frequency of the lithium battery reference power, and the power frequency of the lithium battery reference power is greater than the power frequency of the diesel generator reference power; the adjustment power includes the lithium battery adjustment power and the supercapacitor adjustment power; the step of adjusting the energy storage system reference power and the power generation system reference power according to the adjustment power to obtain the energy storage system target power and the power generation system target power corresponding to the power generation system includes: Based on the lithium battery adjustment power, the lithium battery reference power is adjusted to obtain the lithium battery target power corresponding to the lithium battery; Based on the supercapacitor adjustment power, the supercapacitor reference power is adjusted to obtain the supercapacitor target power; the energy storage system target power includes the lithium battery target power and the supercapacitor target power; The reference power of the diesel generator is adjusted based on the adjusted power of the lithium battery and the adjusted power of the supercapacitor to obtain the target power of the diesel generator; the target power of the power generation system includes the target power of the diesel generator.
5. The energy management method for hybrid power according to claim 1, characterized in that, The step of performing frequency decomposition of the demand power using Fourier transform to obtain the power generation system reference power corresponding to the power generation system and the energy storage system reference power corresponding to the energy storage system includes: Perform a positive Fourier transform on the required power to convert the required power from the time domain to the frequency domain, thereby obtaining multiple frequencies of the required power; According to a preset frequency, the multiple frequencies of the required power are divided into a first frequency range and a second frequency range, wherein the second frequency range is greater than the preset frequency and the first frequency range is less than the preset frequency. Perform an inverse Fourier transform on the frequency domain signal in the first frequency range to obtain the reference power of the power generation system; Perform an inverse Fourier transform on the frequency domain signal in the second frequency range to obtain the reference power of the energy storage system.
6. The energy management method for hybrid power according to claim 1, characterized in that, After the step of adjusting the reference power of the energy storage system and the reference power of the power generation system according to the adjusted power to obtain the target power of the energy storage system and the target power of the power generation system, the energy management method for hybrid power further includes: The output power of the energy storage system is controlled according to the target power of the energy storage system; The output power of the power generation system is controlled according to the target power of the power generation system.
7. A hybrid power energy management device, characterized in that, The energy management device for the hybrid power system is used to manage the energy of the hybrid power system, which provides energy to the load system. The hybrid power system includes a power generation system and an energy storage system. The energy management device for the hybrid power system includes: A power acquisition module is used to acquire the power demand of the load system; The power decomposition module is used to perform frequency decomposition on the required power through Fourier transform to obtain the power generation system reference power corresponding to the power generation system and the energy storage system reference power corresponding to the energy storage system; the power frequency of the energy storage system reference power is greater than the power frequency of the power generation system reference power. The adjustment determination module is used to obtain the adjustment power based on the required power and the state of charge of the energy storage system; The power adjustment module is used to adjust the reference power of the energy storage system and the reference power of the power generation system according to the adjustment power, so as to obtain the target power of the energy storage system and the target power of the power generation system corresponding to the energy storage system. The adjustment determination module is specifically used to determine the fuzzy value of the demand power corresponding to the demand power and the fuzzy value of the state of charge corresponding to the state of charge; obtain a preset fuzzy logic rule; substitute the fuzzy value of the demand power and the fuzzy value of the state of charge into the preset fuzzy logic rule to obtain the adjustment power fuzzy value in the preset fuzzy logic rule that corresponds to both the fuzzy value of the demand power and the fuzzy value of the state of charge; and determine the adjustment power corresponding to the adjustment power fuzzy value.
8. A computer device, characterized in that, It includes a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to perform the steps in the hybrid energy management method according to any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium stores a computer program, which is loaded by a processor to execute the steps of the hybrid energy management method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Hybrid energy storage unbalanced power distribution method based on real-time empirical mode decomposition
CN115663853A