Harmonic control method, device, equipment and storage medium based on low-pass filtering
By collecting the state of charge value in the data center, adjusting the filter time constant and performing charge and discharge control, the problems of high harmonic control costs and large line losses are solved, and the economy and stability of harmonic control are improved.
Patent Information
- Application Number
- CN202111648563.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2041-12-29
AI Technical Summary
In existing technologies, harmonic control costs are high and load-side line losses are large. Especially in data centers, the harmonic problems caused by the nonlinear loads of UPS batteries and variable-frequency power equipment are difficult to effectively solve.
By collecting the state of charge value of the data center battery, comparing it with the preset state of charge threshold, adjusting the filter time constant, and controlling the battery charge and discharge to compensate for the harmonic components in the UPS input current.
It reduces harmonic control costs and load-side line losses, and improves the stability and safety of equipment operation.
Smart Images

Figure CN114421450B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of harmonic control technology, and in particular to a method, device, equipment and storage medium for harmonic control in a data center. Background Art
[0002] Data centers contain numerous UPS batteries and variable-frequency power equipment. These devices are nonlinear loads, such as rectifiers and inverters. Nonlinear loads cause nonlinear voltage and current across the loads, generating harmonics. Harmonics in data centers are primarily fifth and seventh order current harmonics, with harmonic content reaching as high as 30%. Harmonics not only affect equipment operation and the reliability of relay protection, but also increase power losses in lines and equipment.
[0003] Existing technologies typically employ two approaches to harmonic control: one is a combination of traditional capacitor compensation and active filters, and the other is a combination of static VAR generators and active filters for centralized compensation and filtering on the low-voltage side. Both approaches require the installation of a large number of active filter devices on the low-voltage side, resulting in high investment costs. Summary of the Invention
[0004] The main purpose of the present invention is to provide a harmonic control method, device, equipment and storage medium based on low-pass filtering, aiming to solve the technical problem of how to reduce the cost of harmonic control and load-side line loss.
[0005] A first aspect of the present invention provides a harmonic control method based on low-pass filtering, comprising:
[0006] Collect the state of charge value of the batteries in the current data center;
[0007] Determining a filtering time constant for harmonic control in the data center based on a relationship between the state of charge value and a preset state of charge threshold;
[0008] The battery is controlled to be charged and discharged based on the filtering time constant, so as to compensate for the harmonic components existing in the UPS input side current.
[0009] Optionally, in a first implementation of the first aspect of the present invention, determining a filtering time constant for harmonic control in the data center based on a relationship between the state of charge value and a preset state of charge threshold value includes:
[0010] Determining whether the state of charge value is within a preset state of charge threshold range, the state of charge thresholds including a maximum state of charge threshold and a minimum state of charge threshold;
[0011] When the state of charge value is outside the state of charge threshold range, determining to adjust a filter time constant used by the data center for harmonic control, and correcting the filter time constant based on the magnitude of the first control current value of the battery to obtain a corrected filter time constant;
[0012] When the state of charge value is within the state of charge threshold range, it is determined to keep the filtering time constant used by the data center for harmonic control unchanged.
[0013] Optionally, in a second implementation of the first aspect of the present invention, when the state of charge value is outside the state of charge threshold range, determining to adjust a filter time constant used by the data center for harmonic control, and correcting the filter time constant based on the magnitude of the first control current value of the battery, to obtain the corrected filter time constant includes:
[0014] When the state of charge value is less than the minimum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is reduced by one preset time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is increased by one time constant correction value to obtain a corrected filter time constant;
[0015] When the state of charge value is greater than the maximum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is increased by 1 of the time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is reduced by 1 of the time constant correction value to obtain a corrected filter time constant.
[0016] Optionally, in a third implementation of the first aspect of the present invention, when the state of charge value is within the state of charge threshold range, controlling the charge and discharge of the battery based on the filter time constant to compensate for harmonic components present in the UPS input-side current includes:
[0017] determining a second control current value for controlling charging and discharging of the battery based on the filtering time constant;
[0018] If the second control current value is less than 0, charging control of the battery is performed based on the filter time constant and the second control current value to compensate for harmonic components in the UPS input-side current;
[0019] If the second control current value is greater than 0, the battery is controlled to discharge based on the filter time constant and the second control current value to compensate for harmonic components in the UPS input-side current.
[0020] Optionally, in a fourth implementation of the first aspect of the present invention, when the state of charge value is outside the state of charge threshold range, controlling the charge and discharge of the battery based on the filter time constant to compensate for harmonic components present in the UPS input-side current includes:
[0021] If the state of charge value is less than the minimum state of charge threshold, determining a third control current value for controlling charging and discharging of the battery based on the corrected filter time constant; and controlling charging of the battery based on the corrected filter time constant and the third control current value to compensate for harmonic components present in the UPS input-side current.
[0022] If the state of charge value is greater than the maximum state of charge threshold, a fourth control current value for controlling the charge and discharge of the battery is determined based on the corrected filter time constant; and based on the corrected filter time constant and the fourth control current value, the battery is controlled to discharge so as to compensate for the harmonic components present in the UPS input side current.
[0023] Optionally, in a fifth implementation of the first aspect of the present invention, if the second control current value is less than 0, controlling charging of the battery based on the filter time constant and the second control current value to compensate for harmonic components present in the UPS input-side current includes:
[0024] If the second control current value is less than 0, determining whether the absolute value of the second control current value is greater than a preset second maximum charging current value;
[0025] If so, the battery is controlled to be charged based on the filtering time constant and the second maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the filtering time constant and the second control current value to compensate for the harmonic components in the UPS input-side current.
[0026] Optionally, in a sixth implementation of the first aspect of the present invention, controlling charging of the battery based on the corrected filter time constant and the third control current value to compensate for harmonic components in the UPS input-side current includes:
[0027] Determining whether the absolute value of the third control current value is greater than a preset first maximum charging current value;
[0028] If so, the battery is controlled to be charged based on the corrected filter time constant and the first maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the corrected filter time constant and the third control current value to compensate for the harmonic components in the UPS input-side current.
[0029] A second aspect of the present invention provides a harmonic control device based on low-pass filtering, comprising:
[0030] The acquisition module is used to collect the state of charge value of the batteries in the current data center;
[0031] a determination module, configured to determine a filter time constant for harmonic control in the data center based on a relationship between the state of charge value and a preset state of charge threshold;
[0032] A control module is used to control the charge and discharge of the battery based on the filter time constant to compensate for the harmonic components existing in the UPS input side current.
[0033] Optionally, in a first implementation of the second aspect of the present invention, the determining module further includes:
[0034] a state value determination unit, configured to determine whether the state of charge value is within a preset state of charge threshold range, wherein the state of charge thresholds include a maximum state of charge threshold and a minimum state of charge threshold;
[0035] a constant correction unit, configured to, when the state of charge value is outside the state of charge threshold range, determine and adjust a filter time constant used by the data center for harmonic control, and correct the filter time constant based on the magnitude of the first control current value of the battery to obtain a corrected filter time constant;
[0036] The fixed constant unit is used to determine that when the state of charge value is within the state of charge threshold range, the filtering time constant used by the data center for harmonic control remains unchanged.
[0037] Optionally, in a second implementation of the second aspect of the present invention, the correction constant unit is specifically configured to:
[0038] When the state of charge value is less than the minimum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is reduced by one preset time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is increased by one time constant correction value to obtain a corrected filter time constant;
[0039] When the state of charge value is greater than the maximum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is increased by 1 of the time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is reduced by 1 of the time constant correction value to obtain a corrected filter time constant.
[0040] Optionally, in a third implementation of the second aspect of the present invention, the control module further includes a first control unit, and the first control unit includes:
[0041] a determining subunit, configured to determine a second control current value for controlling charging and discharging of the battery based on the filtering time constant;
[0042] a first charging subunit, configured to control charging of the battery based on the filter time constant and the second control current value if the second control current value is less than 0, so as to compensate for harmonic components present in the UPS input-side current;
[0043] The first discharge sub-unit is configured to control the discharge of the battery based on the filter time constant and the second control current value if the second control current value is greater than 0, so as to compensate for the harmonic components in the UPS input-side current.
[0044] Optionally, in a fourth implementation of the second aspect of the present invention, the control module further includes a second control unit, and the second control unit includes:
[0045] a second charging subunit, configured to determine, based on the corrected filter time constant, a third control current value for controlling charging and discharging of the battery if the state of charge value is less than the minimum state of charge threshold; and to control charging of the battery based on the corrected filter time constant and the third control current value to compensate for harmonic components present in the UPS input-side current;
[0046] a second discharge sub-unit, configured to determine, if the state of charge value is greater than the maximum state of charge threshold, a fourth control current value for controlling charge and discharge of the battery based on the corrected filter time constant; and perform discharge control on the battery based on the corrected filter time constant and the fourth control current value to compensate for harmonic components present in the UPS input-side current.
[0047] Optionally, in a fifth implementation of the second aspect of the present invention, the first charging subunit is specifically configured to:
[0048] If the second control current value is less than 0, determining whether the absolute value of the second control current value is greater than a preset second maximum charging current value;
[0049] If so, the battery is controlled to be charged based on the filtering time constant and the second maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the filtering time constant and the second control current value to compensate for the harmonic components in the UPS input-side current.
[0050] Optionally, in a sixth implementation of the second aspect of the present invention, the second charging subunit is specifically configured to:
[0051] Determining whether the absolute value of the third control current value is greater than a preset first maximum charging current value;
[0052] If so, the battery is controlled to be charged based on the corrected filter time constant and the first maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the corrected filter time constant and the third control current value to compensate for the harmonic components in the UPS input-side current.
[0053] The third aspect of the present invention provides a harmonic control device based on low-pass filtering, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the harmonic control device based on low-pass filtering executes the above-mentioned harmonic control method based on low-pass filtering.
[0054] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, enable the computer to execute the above-mentioned harmonic control method based on low-pass filtering.
[0055] In the technical solution provided by the present invention, by collecting the state of charge value of the data center and comparing the state of charge value with the preset state of charge threshold, it is determined whether to adjust the filter time constant, and then the charging and discharging of the battery is controlled according to the filter time constant to compensate for the harmonic components in the input current, thereby achieving the beneficial effect of reducing the harmonic control cost and load-side line loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 Schematic diagram of an embodiment of a harmonic control method based on low-pass filtering in an embodiment of the present invention;
[0057] Figure 2Schematic diagram of another embodiment of a harmonic control method based on low-pass filtering in an embodiment of the present invention;
[0058] Figure 3 Schematic diagram of an embodiment of a harmonic control device based on low-pass filtering in an embodiment of the present invention;
[0059] Figure 4 Schematic diagram of another embodiment of a harmonic control device based on low-pass filtering in an embodiment of the present invention;
[0060] Figure 5 FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] The embodiments of the present invention provide a harmonic control method, apparatus, device and storage medium based on low-pass filtering. By collecting the state of charge value of the data center and comparing the state of charge value with a preset state of charge threshold, it is determined whether to adjust the filter time constant. Then, the battery charging and discharging is controlled according to the filter time constant to compensate for the harmonic components in the input current, thereby achieving the beneficial effect of reducing the cost of harmonic control and the line loss on the load side.
[0062] The terms "first," "second," "third," "fourth," and the like (if any) in the description and claims of the present invention and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or apparatus.
[0063] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the harmonic control method based on low-pass filtering in the embodiment of the present invention includes:
[0064] 101. Collect the state of charge value of the battery in the current data center;
[0065] It is understandable that the execution subject of the present invention can be a harmonic control device based on low-pass filtering, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking the server as the execution subject as an example.
[0066] In this embodiment, a data center is a globally collaborative network of specialized devices used to transmit, accelerate, display, compute, and store data information on a network infrastructure. Batteries are part of the data center's power supply system, ensuring its reliability.
[0067] In this embodiment, the state of charge value is the ratio of the remaining capacity of the battery after it has been used for a period of time or has been left unused for a long time to its capacity in a fully charged state.
[0068] In this embodiment, the method for collecting the state of charge value is not limited, including but not limited to collecting the state of charge values of all batteries in real time through a battery monitoring system.
[0069] 102. Determine a filtering time constant for harmonic control in the data center based on a relationship between the state of charge value and a preset state of charge threshold;
[0070] In this embodiment, there is no limit to the method for obtaining the preset state of charge threshold, including but not limited to collecting the state of charge values of all batteries in the data center during normal charging and discharging, taking the maximum value of all state of charge values as the maximum state of charge threshold of the preset state of charge threshold, and taking the minimum value of all state of charge values as the minimum state of charge threshold of the preset state of charge threshold.
[0071] In this embodiment, the data center contains a large number of batteries and variable-frequency power equipment, all of which are nonlinear loads such as rectification and inversion. These nonlinear loads cause nonlinear voltage and current across the loads, generating harmonics. Harmonics not only increase power losses but also interfere with the normal operation of equipment and devices, causing them to malfunction or fail to operate, directly threatening the safe operation of the data center. The harmonic characteristics of the data center are primarily 3n ± 1. Among these, the 5th harmonic is the highest, followed by the 3rd, 7th, and 9th harmonics, with lower levels of higher harmonics.
[0072] In this embodiment, the filter time constant is the time required to obtain relatively stable output harmonics by harmonic control of the input harmonics. The filter time constant setting value is not limited, including but not limited to being calculated according to the filter time constant calculation formula based on the frequency of the harmonic to be compensated:
[0073] T=1
[0074] 2πf
[0075] Wherein, T is the filter time constant, f is the frequency of the harmonic to be compensated, and π is the circumference of the circle. Preferably, the filter time constant T is set to 6.37*10 -4 .
[0076] 103. Controlling the charge and discharge of the battery based on the filtering time constant to compensate for harmonic components in the UPS input current;
[0077] In this embodiment, the charge and discharge control refers to controlling the charge and discharge current and charge and discharge time of the battery through a controller, and using the charge and discharge current to compensate for harmonic components in the input current.
[0078] In this embodiment, a UPS refers to an uninterruptible power system (UPS), which includes but is not limited to converters, switches, and energy storage devices (such as batteries). It is used to maintain power continuity to the load during an input power failure. The UPS input current is the current to be processed, which contains harmonic components.
[0079] In this embodiment, the compensation refers to the current input into the UPS input side current that is opposite in direction and of the same magnitude as the harmonic current. This current is the charge and discharge current under the charge and discharge control of the battery, which offsets the harmonic current of the power grid and achieves the effect of harmonic control.
[0080] In an embodiment of the present invention, a harmonic control method based on low-pass filtering is provided. By collecting the state of charge value of the data center and comparing the state of charge value with a preset state of charge threshold, it is determined whether to adjust the filter time constant. Then, the battery charging and discharging is controlled by the filter time constant to compensate for the harmonic components in the input current, thereby achieving the beneficial effect of reducing the harmonic control cost and load-side line loss.
[0081] See also Figure 2 Another embodiment of the harmonic control method based on low-pass filtering in the embodiment of the present invention includes:
[0082] 201. Collect the state of charge value of the battery in the current data center;
[0083] 202. Determine whether the state of charge value is within a preset state of charge threshold range, where the state of charge thresholds include a maximum state of charge threshold and a minimum state of charge threshold;
[0084] In this embodiment, within the preset state of charge threshold range refers to the range of state of charge values when the battery is normally charged and discharged, and outside the preset state of charge threshold range refers to the state of charge value when the battery is overcharged or over-discharged.
[0085] In this embodiment, the maximum state of charge threshold is the maximum state of charge value of the battery during normal charging and discharging. The maximum state of charge threshold can be any value, preferably, the maximum state of charge threshold is 100%. The minimum state of charge threshold is the minimum state of charge value of the battery during normal charging and discharging. The minimum state of charge threshold can be any value, preferably, the minimum state of charge threshold is 60%.
[0086] 203. When the state of charge value is outside the state of charge threshold range, determine and adjust a filter time constant used by the data center for harmonic control, and correct the filter time constant based on the first control current value of the battery to obtain a corrected filter time constant;
[0087] In this embodiment, determining to adjust the filter time constant means adjusting the filter time constant when the state of charge value is outside the state of charge threshold range, and the battery is in an overcharged or over-discharged state.
[0088] In this embodiment, the first control current is the current before the filter time constant is adjusted or kept unchanged, and is related to the filter time constant and can be calculated by a formula. The calculation formula of the first control current is as follows:
[0089]
[0090] I C (t+1)=I B (t)-I A (t);
[0091] Among them, I A (t) represents the input current of the filter, that is, the current to be managed, I B (t) represents the output current of the filter, I C (t) represents the first control current, t is the current moment, (t+1) is the next moment, (t-1) is the previous moment, T is the filter time constant, which is related to the harmonic frequency, and ΔT represents the correction amount of the filter time constant.
[0092] Optionally, in one embodiment, the step 203 further includes:
[0093] When the state of charge value is less than the minimum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is reduced by one preset time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is increased by one time constant correction value to obtain a corrected filter time constant;
[0094] When the state of charge value is greater than the maximum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is increased by 1 of the time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is reduced by 1 of the time constant correction value to obtain a corrected filter time constant.
[0095] In this embodiment, when the state of charge value is less than the minimum state of charge threshold, the battery is in an over-discharge state and needs to be charged. When the state of charge value is greater than the maximum state of charge threshold, the battery is in an over-charge state.
[0096] In this embodiment, the time constant correction value refers to the correction amount for correcting the filter time constant. Different time constant correction amounts can be set according to different harmonic characteristics. The time constant correction amount setting value is not limited, including but not limited to 6.43*10 -5 .
[0097] 204. When the state of charge value is within the state of charge threshold range, determine to maintain the filter time constant used by the data center for harmonic control unchanged;
[0098] In this embodiment, when the state of charge value is within the state of charge threshold range, the battery is in a normal charge and discharge state, and the originally set filter time constant is kept unchanged without adjustment.
[0099] 205. Control charging and discharging of the battery based on the filtering time constant to compensate for harmonic components in the UPS input-side current.
[0100] Optionally, in one embodiment, when the state of charge value is within the state of charge threshold range, step 205 includes:
[0101] determining a second control current value for controlling charging and discharging of the battery based on the filtering time constant;
[0102] If the second control current value is less than 0, charging control of the battery is performed based on the filter time constant and the second control current value to compensate for harmonic components in the UPS input-side current;
[0103] If the second control current value is greater than 0, the battery is controlled to discharge based on the filter time constant and the second control current value to compensate for harmonic components in the UPS input-side current.
[0104] In this embodiment, the second control current value is different from the first control current value, and refers to the control current value after the charge state threshold range is determined. It is actually equal to the first control current value, and the parameters calculated by the formula are all the originally set filter time constants.
[0105] In this embodiment, the filter time constant plays a role in the charge control or discharge control as a reference for the length of the charge control or discharge control. The charge control or discharge control time is set according to the filter time constant.
[0106] Further optionally, in one embodiment, if the second control current value is less than 0, controlling charging of the battery based on the filter time constant and the second control current value to compensate for harmonic components present in the UPS input-side current includes:
[0107] If the second control current value is less than 0, determining whether the absolute value of the second control current value is greater than a preset second maximum charging current value;
[0108] If so, the battery is controlled to be charged based on the filtering time constant and the second maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the filtering time constant and the second control current value to compensate for the harmonic components in the UPS input-side current.
[0109] In this embodiment, the second maximum charging current value is the maximum charging current set when controlling the charging of the battery when the state of charge value of the battery is within a preset range. The second maximum charging current value is not limited.
[0110] Optionally, in one embodiment, when the state of charge value is outside the state of charge threshold range, step 205 includes:
[0111] If the state of charge value is less than the minimum state of charge threshold, determining a third control current value for controlling charging and discharging of the battery based on the corrected filter time constant; and controlling charging of the battery based on the corrected filter time constant and the third control current value to compensate for harmonic components present in the UPS input-side current.
[0112] If the state of charge value is greater than the maximum state of charge threshold, a fourth control current value for controlling the charge and discharge of the battery is determined based on the corrected filter time constant; and based on the corrected filter time constant and the fourth control current value, the battery is controlled to discharge so as to compensate for the harmonic components present in the UPS input side current.
[0113] In this embodiment, the third control current value is different from the first control current value and the second control current value, and refers to the charging control current value calculated based on the modified filter time constant after the filter time constant is corrected. The fourth control current value is the discharging control current value calculated based on the modified filter time constant after the filter time constant is corrected.
[0114] Further optionally, in one embodiment, the controlling the charging of the battery based on the corrected filter time constant and the third control current value to compensate for harmonic components present in the UPS input-side current includes:
[0115] Determining whether the absolute value of the third control current value is greater than a preset first maximum charging current value;
[0116] If so, the battery is controlled to be charged based on the corrected filter time constant and the first maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the corrected filter time constant and the third control current value to compensate for the harmonic components in the UPS input-side current.
[0117] In this embodiment, the first maximum charging current value is the maximum charging current set for controlling charging of the battery when the battery state of charge value is less than the minimum state of charge threshold value. The first maximum charging current value is not limited.
[0118] In an embodiment of the present invention, a harmonic control method based on low-pass filtering is described. The method collects the state of charge value of the data center and compares the state of charge value with a preset state of charge threshold. If the state of charge value is within the state of charge threshold range, the filter time constant is not adjusted. Otherwise, the time constant is adjusted according to a set time constant correction value. The time constant correction value can be determined by a first control current. The battery is charged and discharged according to the filter time constant, and a maximum charging current is also set to control the battery charging. The embodiment of the present invention provides a correction method for the filter time constant and a protection measure for the maximum charging current setting, which reduces the line loss during the battery charging and discharging current, improves the stability of the line during charging and discharging, and achieves the beneficial effect of reducing the cost of harmonic control by compensating for the harmonic components present in the input current.
[0119] The above describes the harmonic control method based on low-pass filtering in the embodiment of the present invention. The following describes the harmonic control device based on low-pass filtering in the embodiment of the present invention. Figure 3 In one embodiment of the present invention, a harmonic control device based on low-pass filtering includes:
[0120] The acquisition module 301 is used to acquire the state of charge value of the batteries in the current data center;
[0121] A determination module 302 is configured to determine a filter time constant for harmonic control in the data center based on a relationship between the state of charge value and a preset state of charge threshold;
[0122] The control module 303 is configured to control the charge and discharge of the battery based on the filtering time constant, so as to compensate for the harmonic components in the UPS input-side current.
[0123] In an embodiment of the present invention, a harmonic control device based on low-pass filtering is constructed. By collecting the state of charge value of the data center and comparing the state of charge value with a preset state of charge threshold, it is determined whether to adjust the filter time constant. Then, the battery charging and discharging is controlled by the filter time constant to compensate for the harmonic components in the input current, thereby achieving the beneficial effect of reducing the harmonic control cost and load-side line loss.
[0124] See also Figure 4 Another embodiment of the harmonic control device based on low-pass filtering in the embodiment of the present invention includes:
[0125] The acquisition module 301 is used to acquire the state of charge value of the batteries in the current data center;
[0126] A determination module 302 is configured to determine a filter time constant for harmonic control in the data center based on a relationship between the state of charge value and a preset state of charge threshold;
[0127] The control module 303 is configured to control the charging and discharging of the battery based on the filtering time constant, so as to compensate for the harmonic components in the UPS input-side current.
[0128] Optionally, the determining module 302 further includes:
[0129] A state value determination unit 3021 is configured to determine whether the state of charge value is within a preset state of charge threshold range, wherein the state of charge threshold range includes a maximum state of charge threshold and a minimum state of charge threshold;
[0130] a correction constant unit 3022, configured to determine, when the state of charge value is outside the state of charge threshold range, a filter time constant for adjusting the data center for harmonic control, and correct the filter time constant based on the first control current value of the battery to obtain a corrected filter time constant;
[0131] The fixed constant unit 3023 is used to determine that the filtering time constant used by the data center for harmonic control remains unchanged when the state of charge value is within the state of charge threshold range.
[0132] Optionally, the correction constant unit 3022 may also be specifically used for:
[0133] When the state of charge value is less than the minimum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is reduced by one preset time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is increased by one time constant correction value to obtain a corrected filter time constant;
[0134] When the state of charge value is greater than the maximum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is increased by 1 of the time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is reduced by 1 of the time constant correction value to obtain a corrected filter time constant.
[0135] Optionally, the control module 303 includes: a first control unit 3031 and a second control unit 3032;
[0136] The first control unit 3031 further includes:
[0137] a determining subunit, configured to determine a second control current value for controlling charging and discharging of the battery based on the filtering time constant;
[0138] a first charging subunit, configured to control charging of the battery based on the filter time constant and the second control current value if the second control current value is less than 0, so as to compensate for harmonic components present in the UPS input-side current;
[0139] The first discharge sub-unit is configured to control the discharge of the battery based on the filter time constant and the second control current value if the second control current value is greater than 0, so as to compensate for the harmonic components in the UPS input-side current.
[0140] Further optionally, in one embodiment, the first charging subunit may also be specifically configured to:
[0141] If the second control current value is less than 0, determining whether the absolute value of the second control current value is greater than a preset second maximum charging current value;
[0142] If so, the battery is controlled to be charged based on the filtering time constant and the second maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the filtering time constant and the second control current value to compensate for the harmonic components in the UPS input-side current.
[0143] The second control unit 3032 further includes:
[0144] a second charging subunit, configured to determine, based on the corrected filter time constant, a third control current value for controlling charging and discharging of the battery if the state of charge value is less than the minimum state of charge threshold; and to control charging of the battery based on the corrected filter time constant and the third control current value to compensate for harmonic components present in the UPS input-side current;
[0145] a second discharge sub-unit, configured to determine, if the state of charge value is greater than the maximum state of charge threshold, a fourth control current value for controlling charge and discharge of the battery based on the corrected filter time constant; and perform discharge control on the battery based on the corrected filter time constant and the fourth control current value to compensate for harmonic components present in the UPS input-side current.
[0146] Further optionally, in one embodiment, the second charging subunit is specifically configured to:
[0147] Determining whether the absolute value of the third control current value is greater than a preset first maximum charging current value;
[0148] If so, the battery is controlled to be charged based on the corrected filter time constant and the first maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the corrected filter time constant and the third control current value to compensate for the harmonic components in the UPS input-side current.
[0149] In an embodiment of the present invention, a harmonic control method based on low-pass filtering is described. The method collects the state of charge value of the data center and compares the state of charge value with a preset state of charge threshold. If the state of charge value is within the state of charge threshold range, the filter time constant is not adjusted. Otherwise, the time constant is adjusted according to a set time constant correction value. The time constant correction value can be determined by a first control current. The battery is charged and discharged according to the filter time constant, and a maximum charging current is also set to control the battery charging. The embodiment of the present invention provides a correction method for the filter time constant and a protection measure for the maximum charging current setting, which reduces the line loss during the battery charging and discharging current, improves the stability of the line during charging and discharging, and achieves the beneficial effect of reducing the cost of harmonic control by compensating for the harmonic components present in the input current.
[0150] above Figure 3 and Figure 4 The harmonic control device based on low-pass filtering in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the electronic device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0151] Figure 5 : is a structural diagram of an electronic device provided by an embodiment of the present invention. The electronic device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) for storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the electronic device 500. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the electronic device 500.
[0152] The electronic device 500 may further include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 5 The illustrated structure of the electronic device does not limit the electronic device and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0153] The present invention also provides an electronic device, which includes a memory and a processor, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the harmonic control method based on low-pass filtering in the above-mentioned embodiments.
[0154] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the harmonic control method based on low-pass filtering.
[0155] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc., various media that can store program code.
[0157] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A harmonic control method based on low-pass filtering, characterized in that: The harmonic control method comprises: Collect the state of charge value of the batteries in the current data center; Determining a filtering time constant for harmonic control in the data center based on a relationship between the state of charge value and a preset state of charge threshold; Controlling the charge and discharge of the battery based on the filtering time constant to compensate for harmonic components in the UPS input-side current; Determining the filtering time constant used by the data center for harmonic control based on the relationship between the state of charge value and the preset state of charge threshold includes: Determining whether the state of charge value is within a preset state of charge threshold range, the state of charge thresholds including a maximum state of charge threshold and a minimum state of charge threshold; When the state of charge value is outside the state of charge threshold range, determining to adjust a filter time constant used by the data center for harmonic control, and correcting the filter time constant based on the magnitude of the first control current value of the battery to obtain a corrected filter time constant; When the state of charge value is within the state of charge threshold range, determining to maintain a filter time constant used by the data center for harmonic control unchanged; When the state of charge value is outside the state of charge threshold range, determining to adjust a filter time constant used by the data center for harmonic control, and correcting the filter time constant based on the first control current value of the battery, to obtain the corrected filter time constant includes: When the state of charge value is less than the minimum state of charge threshold, if the first control current value of the battery is greater than 0, the The filter time constant is reduced by one preset time constant correction value, and if the first control current value of the battery is less than 0, the filter time constant is increased by one time constant correction value to obtain a corrected filter time constant; When the state of charge value is greater than the maximum state of charge threshold, if the first control current value of the battery is greater than 0, the filter time constant is increased by 1 of the time constant correction value; if the first control current value of the battery is less than 0, the filter time constant is reduced by 1 of the time constant correction value to obtain a corrected filter time constant.
2. The harmonic control method based on low-pass filtering according to claim 1 is characterized in that: When the state of charge value is within the state of charge threshold range, controlling the charge and discharge of the battery based on the filter time constant to compensate for the harmonic components present in the UPS input-side current includes: determining a second control current value for controlling charging and discharging of the battery based on the filtering time constant; If the second control current value is less than 0, charging control of the battery is performed based on the filter time constant and the second control current value to compensate for harmonic components in the UPS input-side current; If the second control current value is greater than 0, the battery is controlled to discharge based on the filter time constant and the second control current value to compensate for harmonic components in the UPS input-side current.
3. The harmonic control method based on low-pass filtering according to claim 1 is characterized in that: When the state of charge value is outside the state of charge threshold range, controlling the charge and discharge of the battery based on the filter time constant to compensate for the harmonic components present in the UPS input-side current includes: If the state of charge value is less than the minimum state of charge threshold, determining a third control current value for controlling charging and discharging of the battery based on the corrected filter time constant; and controlling charging of the battery based on the corrected filter time constant and the third control current value to compensate for harmonic components present in the UPS input-side current. If the state of charge value is greater than the maximum state of charge threshold, a fourth control current value for controlling the charge and discharge of the battery is determined based on the corrected filter time constant; and based on the corrected filter time constant and the fourth control current value, the battery is controlled to discharge so as to compensate for the harmonic components present in the UPS input side current.
4. The harmonic control method based on low-pass filtering according to claim 2 is characterized in that: If the second control current value is less than 0, controlling the battery charging based on the filter time constant and the second control current value to compensate for the harmonic components in the UPS input-side current includes: If the second control current value is less than 0, determining whether the absolute value of the second control current value is greater than a preset second maximum charging current value; If so, the battery is controlled to be charged based on the filtering time constant and the second maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the filtering time constant and the second control current value to compensate for the harmonic components in the UPS input-side current.
5. The harmonic control method based on low-pass filtering according to claim 3 is characterized in that: The controlling the charging of the battery based on the corrected filter time constant and the third control current value to compensate for the harmonic components in the UPS input-side current includes: Determining whether the absolute value of the third control current value is greater than a preset first maximum charging current value; If so, the battery is controlled to be charged based on the corrected filter time constant and the first maximum charging current value to compensate for the harmonic components in the UPS input-side current; if not, the battery is controlled to be charged based on the corrected filter time constant and the third control current value to compensate for the harmonic components in the UPS input-side current.
6. A harmonic control device based on low-pass filtering, applicable to the harmonic control method based on low-pass filtering as claimed in any one of claims 1 to 5, characterized in that: The harmonic control device comprises: The acquisition module is used to collect the state of charge value of the batteries in the current data center; a determination module, configured to determine a filter time constant for harmonic control in the data center based on a relationship between the state of charge value and a preset state of charge threshold; A control module is used to control the charge and discharge of the battery based on the filter time constant to compensate for the harmonic components existing in the UPS input side current.
7. An electronic device, characterized in that: The electronic device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the electronic device to execute the harmonic control method according to any one of claims 1 to 5.
8. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by a processor, the harmonic control method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Control method of cell energy storage system inhibiting renewable energy output power fluctuation
CN102368625A