Hybrid active filter cooperative control method, system and device based on golden section optimization and medium
By constructing a dual-channel control architecture for hybrid active filters and optimizing the weight coefficients using the golden section optimization algorithm, the coordinated management of load-side harmonic current cancellation and grid-side harmonic resonance suppression is achieved. This solves the problems of low device capacity utilization and poor grid adaptability in existing technologies, and improves the device's harmonic suppression effect and stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ELECTRIC POWER RES INST OF STATE GRID ZHEJIANG ELECTRIC POWER COMAPNY
- Filing Date
- 2026-04-08
- Publication Date
- 2026-07-24
AI Technical Summary
Existing active filtering technologies struggle to achieve coordinated management of load-side harmonic current cancellation and grid-side harmonic resonance suppression in complex scenarios with coexisting dual-side harmonic sources, resulting in low device capacity utilization and poor grid adaptability.
A hybrid active filter collaborative control method based on the golden ratio optimization is adopted to construct a dual-channel control architecture. By linearly superimposing the current-type and resistive active filter functions and combining the capacity utilization efficiency optimization target, the weight coefficients are solved in real time to generate the total harmonic compensation current command, thereby realizing load-side harmonic current cancellation and grid-side harmonic resonance suppression.
It significantly improves the capacity utilization of the device, has a fast dynamic response speed, strong robustness, can automatically adjust the output ratio under different power grid conditions, and effectively suppresses harmonic oscillations, which is significantly better than traditional methods.
Smart Images

Figure CN121984005B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power grid harmonic control technology, specifically relating to a hybrid active filter collaborative control method, system, device, and medium based on the golden ratio optimization. Background Technology
[0002] With the widespread application of nonlinear loads and power electronic devices in modern power systems, grid harmonic pollution exhibits multi-source and complex characteristics. In scenarios such as high-voltage direct current transmission and industrial traction power supply, there are simultaneous load-side harmonic current sources and grid-side background harmonic voltage sources. The interaction between these two sources can easily induce harmonic resonance, leading to power quality deterioration. Traditional passive filters can only suppress harmonics of specific orders, with limited effectiveness in suppressing non-characteristic harmonics, and may also resonate in series and parallel with the system impedance, amplifying background harmonics.
[0003] Active power filters (APS) construct controllable harmonic impedance through power electronic converters, effectively improving power quality. Existing control strategies mainly fall into two categories: resistive active filter control, which makes the device exhibit virtual resistance characteristics in the harmonic domain, providing damping to suppress resonance; and current source active filter control, which makes the device equivalent to a harmonic current source, directly canceling load harmonic currents. These methods have achieved good results in scenarios with a single type of harmonic source, but in complex systems with both harmonic sources, a single active filter mode struggles to achieve globally optimal management. Specifically, resistive active filters suppress resonance through virtual damping, but their active cancellation capability for load harmonic currents is weak, and the harmonic suppression effect depends on the system impedance characteristics, resulting in poor performance when the harmonic current source strength is high. While current source active filters can accurately track and cancel load harmonic currents, their equivalent current source characteristics cannot provide effective damping for the system, easily inducing resonance and even exacerbating voltage distortion when the grid impedance is high. Furthermore, existing technologies employ a single virtual impedance model, and the voltage and current constraints at the common connection point serve only a single control objective. In complex scenarios, it is impossible to simultaneously optimize the two independent degrees of freedom of harmonic current suppression and resonance suppression, resulting in the control phase angle deviating from the global optimum and the device current utilization rate being generally low.
[0004] In terms of grid adaptability, existing technologies also have significant shortcomings. Under weak grid conditions, the coupling effect between the current source characteristics of current-source active filters and grid impedance is enhanced, resulting in insufficient system damping and susceptibility to harmonic oscillations. Under strong grid conditions, resistive active filters require extremely small virtual resistance values to provide effective damping, and the quantization errors and delays of digital controllers cause a sharp decrease in their phase margin, leading to deterioration in control stability. Existing technologies have not established an adaptive mode switching mechanism based on grid impedance, and the control parameters are fixed, making it difficult to maintain stability across the entire operating range.
[0005] In summary, existing active power filtering technologies suffer from limitations such as limited functionality, low capacity utilization, and poor grid adaptability, making it difficult to achieve coordinated management in complex scenarios where dual harmonic sources coexist. Summary of the Invention
[0006] Based on the aforementioned shortcomings and deficiencies in the existing technology, one of the objectives of this invention is to at least solve one or more of the aforementioned problems in the existing technology. In other words, one of the objectives of this invention is to provide a hybrid active filter collaborative control method, system, device, and medium based on golden ratio optimization that meets one or more of the aforementioned requirements, so as to achieve collaborative management of load-side harmonic current cancellation and grid-side harmonic resonance suppression in complex scenarios with coexisting dual-side harmonic sources, while improving device capacity utilization efficiency and grid adaptability.
[0007] To achieve the above-mentioned objectives, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a hybrid active filter cooperative control method based on golden section optimization, comprising the following steps:
[0009] S1. Obtain the harmonic voltage signal on the load side and the harmonic current signal on the grid side at the point of common coupling of the power grid;
[0010] S2. Based on the harmonic voltage signal and the harmonic current signal, calculate the capacity utilization efficiency of the hybrid active filter at the current moment;
[0011] S3. Construct a dual-channel control architecture for a hybrid active filter, wherein the first channel is used to implement the current-type active filter function and generate the first current reference command based on the harmonic current on the grid side, and the second channel is used to implement the resistive active filter function and generate the second current reference command based on the harmonic voltage at the point of common coupling.
[0012] S4. With the goal of maximizing the capacity utilization efficiency, the golden section search algorithm is used to solve the weight coefficients of the first channel and the weight coefficients of the second channel in real time.
[0013] S5. Based on the weighting coefficients of the first channel and the second channel obtained by solving, the first current reference command and the second current reference command are weighted and superimposed to generate the total harmonic compensation current command.
[0014] S6. According to the total harmonic compensation current command, control the hybrid active filter to inject compensation current into the power grid.
[0015] As a preferred option:
[0016] The capacity utilization efficiency is used to characterize the suppression effectiveness of the hybrid active filter output current on harmonic resonance. Its value is determined by the amplitude of the hybrid active filter output current, the phase of the output current and the deviation between the grid impedance angle.
[0017] The phase of the output current of the hybrid active filter is determined by the weighting coefficient of the first channel, the first current reference command, the weighting coefficient of the second channel, and the second current reference command.
[0018] As a preferred option:
[0019] The sum of the weighting coefficients of the first channel and the second channel is 1. By adjusting the ratio of the weighting coefficients of the first channel and the second channel, the phase of the output current of the hybrid active filter can be continuously adjusted.
[0020] As a preferred embodiment, step S4 includes:
[0021] S41. Initialize the search range within the preset interval, select two interior points within the search range according to the golden ratio, and calculate the capacity utilization efficiency value corresponding to the two interior points respectively.
[0022] S42. Based on the comparison results of the capacity utilization efficiency values of the two interior points, narrow the search range;
[0023] S43. Iterate through steps S41 to S42 until the search range meets the preset iteration termination condition;
[0024] S44. Determine the optimal solution for the weight coefficients of the first channel and the second channel based on the final search range.
[0025] As a preferred option:
[0026] The preset interval is [0,1];
[0027] The iteration termination condition is that the search range width is less than a preset threshold or the number of iterations reaches a preset maximum value.
[0028] The step of determining the optimal solution based on the final search range includes taking the midpoint of the final search range as the optimal solution for the weight coefficient of the first channel.
[0029] As a preferred option:
[0030] The preset threshold is 0.01, and the preset maximum number of iterations is 15.
[0031] As a preferred embodiment, after obtaining the weight coefficients of the first channel and the second channel in step S4, a smoothing process is further included:
[0032] The weight coefficients of the first channel and the weight coefficients of the second channel obtained by the solution are filtered to obtain smoothed weight coefficients, which are then used for weighted superposition in step S5.
[0033] The time constant of the filtering process is set to 20 to 50 milliseconds to suppress system shocks caused by sudden changes in weight coefficients.
[0034] Secondly, the present invention provides a hybrid active filter cooperative control system based on golden ratio optimization, used to implement the hybrid active filter cooperative control method as described in the first aspect, including:
[0035] The signal detection module is used to acquire the harmonic voltage signal on the load side of the power grid common coupling point and the harmonic current signal on the power grid side.
[0036] The capacity utilization calculation module is used to calculate the capacity utilization efficiency of the hybrid active filter at the current moment based on the harmonic voltage signal and the harmonic current signal.
[0037] A dual-channel construction module is used to construct a dual-channel control architecture for hybrid active filters. The first channel is used to implement current-mode active filtering and generate a first current reference command based on the grid-side harmonic current. The second channel is used to implement resistive active filtering and generate a second current reference command based on the common coupling point harmonic voltage.
[0038] The weight calculation module is used to calculate the weight coefficients of the first channel and the weight coefficients of the second channel in real time, with the goal of maximizing the capacity utilization efficiency.
[0039] The instruction generation module is used to weight and superimpose the first current reference instruction and the second current reference instruction according to the weight coefficients of the first channel and the second channel obtained by solving, and generate the total harmonic compensation current instruction.
[0040] The control execution module is used to control the hybrid active filter to inject compensation current into the power grid according to the total harmonic compensation current command.
[0041] Thirdly, the present invention provides an electronic device, the computer device including a memory, a processor and a computer program, wherein when the computer program is executed by the processor, it implements the hybrid active filter cooperative control method as described in the first aspect.
[0042] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the hybrid active filter cooperative control method as described in the first aspect.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] First, it achieves coordinated management of dual-side harmonic sources. This invention constructs a dual-channel control architecture for a hybrid active filter, linearly superimposing current-mode and resistive-mode active filtering functions at the command level. This enables a single device to simultaneously possess the dual capabilities of load-side harmonic current cancellation and grid-side harmonic resonance suppression. It solves the problem in existing technologies where a single active filter cannot handle scenarios with coexisting dual-side harmonic sources, and avoids the shortcomings of current-mode active filters easily inducing resonance under weak power grids and resistive active filters having weak load harmonic cancellation capabilities. It achieves an organic unity of harmonic suppression and resonance damping.
[0045] Second, it significantly improves the utilization rate of the device capacity. This invention introduces capacity utilization efficiency as an optimization objective and uses the golden section search algorithm to solve for the optimal weight coefficients of the first and second channels in real time, enabling the equivalent output current phase of the hybrid active filter to actively track the grid impedance angle. Test results show that, under the same device capacity conditions, the capacity utilization efficiency of this invention is 30% to 50% higher than that of traditional resistive active filters and 25% to 50% higher than that of traditional current-type active filters, achieving maximum utilization of the device capacity.
[0046] Third, it possesses excellent grid strength adaptability. This invention optimizes the weighting coefficients online in real time, enabling the hybrid active filter to automatically adjust the output ratio of the first and second channels according to changes in grid impedance. Under weak grid conditions, the system automatically increases the weighting coefficient of the second channel, enhancing the damping characteristics of the resistive channel and effectively suppressing harmonic oscillations. Under strong grid conditions, the system automatically increases the weighting coefficient of the first channel, leveraging the active cancellation capability of the current-type channel. Test results show that in a grid impedance abrupt change scenario where the short-circuit ratio drops from 15 to 3, the method of this invention completes the weighting adjustment within 5ms, consistently keeping the total harmonic distortion rate below 1%, and the dynamic response time is less than 10ms, significantly outperforming traditional methods.
[0047] Fourth, it exhibits fast dynamic response and strong robustness. The golden section search algorithm employed in this invention does not require gradient calculation, resulting in rapid convergence and the online solution for optimal weight coefficients can be completed within milliseconds. Simultaneously, by introducing first-order inertial filtering for smoothing, it effectively suppresses system shocks caused by abrupt weight changes during operating conditions. Even under the influence of non-ideal factors such as controller sampling delay and switching dead zones, the method of this invention maintains stable operation, with total harmonic distortion (THD) fluctuations of less than 0.1%, verifying the strong robustness of the control strategy.
[0048] Fifth, the governance effect is significantly better than traditional methods. In strong power grid scenarios, the method of this invention reduces the total harmonic distortion (THD) of the voltage at the point of common coupling from 1.95% to 2.21% of traditional methods to 0.71%, a reduction of 63.6%. In weak power grid scenarios, the THD of traditional current-type active filters increases to 5.12% due to resonance, while the method of this invention controls it to within 0.92%, demonstrating excellent harmonic suppression performance.
[0049] Sixth, it boasts strong engineering practicality and low modification costs. All functions of this invention are embedded in existing controllers in software form, requiring no additional hardware. It can automatically complete the closed-loop process of "CUE calculation - weight optimization - Norton superposition - PWM output" under a wide range of operating conditions. This feature makes this invention particularly suitable for upgrading existing active filter devices, offering significant economic benefits and engineering promotion value.
[0050] Further or more detailed beneficial effects will be described in conjunction with specific embodiments in the detailed implementation. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the 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.
[0052] Figure 1 This is a schematic diagram of the harmonic domain equivalent circuit of the dual-side harmonic source system described in Embodiment 1 of the present invention.
[0053] Figure 2 This is a flowchart illustrating the hybrid active filter collaborative control method described in Embodiment 1 of the present invention.
[0054] Figure 3 This is a phasor diagram of the capacity utilization efficiency (CUE) as described in Embodiment 1 of the present invention.
[0055] Figure 4This is a structural diagram of the electronic device described in Embodiment 3 of the present invention.
[0056] Figure 5 This is a waveform diagram of the common connection point voltage when the APF is put into operation, as described in Embodiment 5 of the present invention.
[0057] Figure 6 This is the voltage waveform diagram of the point of common connection when the traditional virtual impedance type APF is put into operation, as described in Embodiment 5 of the present invention.
[0058] Figure 7 This is a waveform diagram of the common connection point voltage when the method of the present invention described in Embodiment 5 is put into operation.
[0059] Icon labels:
[0060] 400. Electronic devices;
[0061] 401. Processor; 402. Communication bus; 403. User interface; 404. Network interface; 405. Memory. Detailed Implementation
[0062] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0063] In the following description, several embodiments of the present invention are provided. Different embodiments can be substituted or combined. Therefore, the present invention can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present invention should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.
[0064] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of the invention. Various processes or components may be appropriately omitted, substituted, or added to the various examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
[0065] To facilitate a better understanding of the embodiments of the present invention, its application scenarios will be explained before providing a detailed explanation of the specific implementation methods.
[0066] The hybrid active filter collaborative control method described in this specification is applied to complex power grid scenarios where dual-side harmonic sources coexist, i.e., power systems where both load-side harmonic current sources and grid-side background harmonic voltage sources exist simultaneously at the grid's point of common coupling. In these scenarios, the application of the hybrid active filter collaborative control method aims to simultaneously achieve active cancellation of load-side harmonic currents and effective suppression of grid-side harmonic resonances using a single active filter device, maximizing the device's harmonic suppression efficiency under rated capacity constraints, and improving the device's operational stability under different grid strengths.
[0067] The following is a brief explanation of the golden ratio optimization, active filters, hybrid active filters, capacity utilization efficiency, and dual-channel control architecture involved in several embodiments of this specification:
[0068] Golden section optimization refers to a single-peaked function optimization algorithm based on the golden ratio. It gradually narrows the search range by selecting interior points within the search interval according to the golden ratio and comparing their function values, thus quickly approaching the global optimum. This algorithm does not require gradient calculation, has a fast convergence speed, and is suitable for real-time online applications in power electronic control.
[0069] An active power filter refers to a power electronic device that constructs a controllable harmonic impedance using a power electronic converter. It can detect harmonic components in the power grid in real time and inject reverse compensation current, thereby achieving harmonic suppression and power quality improvement. The hybrid active power filter described in this invention specifically refers to an active power filter device that simultaneously possesses both current-mode and resistive active power filtering functions.
[0070] The hybrid active filter refers to a novel active filter device constructed in this invention. Its control architecture includes two independent loops: a first channel and a second channel. The first channel is used to implement current-mode active filtering, and the second channel is used to implement resistive active filtering. By weighted superposition of the current commands from the two channels, the device is equivalent to a combination of parallel current sources and virtual impedances under the Norton model in the harmonic domain, thus simultaneously possessing the dual capabilities of load-side harmonic current cancellation and grid-side harmonic resonance suppression.
[0071] Capacity utilization efficiency is an evaluation index used to characterize the harmonic resonance suppression effectiveness of an active filter under rated capacity constraints. Its value is jointly determined by the amplitude of the output current of the active filter, the phase of the output current, and the deviation between the output current and the grid impedance angle. This index quantifies the harmonic suppression effect that the device can achieve per unit capacity and is the core objective of the optimized control in this invention.
[0072] The dual-channel control architecture refers to the hybrid active filter control structure constructed in this invention, which includes two independent control loops: a first channel and a second channel. The first channel implements current-type active filtering, generating compensation commands based on grid-side harmonic currents to offset load-side harmonic currents. The second channel implements resistive active filtering, generating compensation commands based on point-of-combination (PCC) harmonic voltages to suppress resonance caused by grid-side background harmonics. The current reference commands from the two channels are weighted and superimposed using weighting coefficients to form the total harmonic compensation current command.
[0073] Example 1:
[0074] This embodiment provides a schematic diagram of an application scenario for a hybrid active filter collaborative control method based on the golden ratio optimization. Figure 1 The harmonic domain equivalent circuit of a typical two-sided harmonic source system is shown, which includes two types of harmonic sources: one on the grid side and one on the load side. The background harmonic voltage source on the grid side is also shown. U sh Voltage distortion originating from the upstream power grid, and harmonic current sources on the load side. I sh Generated by a nonlinear load, two types of harmonic sources interact at the point of common coupling (PCC). The hybrid active filter of this invention is connected in parallel to the PCC to simultaneously suppress harmonics from both sides.
[0075] like Figure 2 As shown in the figure, this embodiment provides a flowchart of a hybrid active filter (H-APF) cooperative control method based on golden section optimization. The figure illustrates the complete signal chain of the H-APF adaptive cooperative control. The method includes the following steps:
[0076] S1. Obtain the harmonic voltage signal on the load side of the power grid common coupling point and the harmonic current signal on the power grid side.
[0077] Specifically, voltage signals at the point of common coupling and current signals on the grid side are acquired using voltage transformers and current transformers, respectively. Harmonic components are extracted using a second-order generalized integrator-frequency-locked loop (LLL) technique to obtain the harmonic voltage signal on the load side of the point of common coupling. Harmonic current signals on the power grid side .
[0078] S2. Based on the harmonic voltage signal and the harmonic current signal, calculate the capacity utilization efficiency of the hybrid active filter at the current moment.
[0079] Combination Figure 3 As shown, the capacity utilization efficiency is used to characterize the suppression effectiveness of the hybrid active filter output current on harmonic resonance. Figure 3This is a phasor diagram of capacity utilization efficiency (CUE). The diagram shows that the effect of APF on UPCC mitigation is not only related to the output current. I A It is related to the amplitude and also affected by its phase angle. φ The CUE value is determined by the amplitude of the output current of the hybrid active filter, the phase of the output current, and the deviation between the output current and the grid impedance angle.
[0080] To quantify the resonance suppression performance of the device under capacity constraints, a capacity utilization efficiency index is introduced, and its calculation formula is as follows:
[0081] ,
[0082] In the formula, The equivalent phase angle of the hybrid active filter, This is the power grid impedance angle. (From...) Figure 3 It can be seen that the effectiveness of hybrid active filters in controlling UPCC is not only related to the amplitude of the output current, but also to its phase angle. φ The impact of single virtual resistor-type or current source-type active filters is that they can only improve the treatment effect by changing the output current amplitude, and cannot precisely control the phase angle. φ To achieve optimal CUE.
[0083] S3. Construct a dual-channel control architecture for a hybrid active filter, wherein the first channel is used to implement the current-mode active filtering function and generate the first current reference command based on the grid-side harmonic current, and the second channel is used to implement the resistive active filtering function and generate the second current reference command based on the common coupling point harmonic voltage.
[0084] Based on CUE analysis, this invention proposes a hybrid active filter architecture that achieves collaborative mitigation of harmonic sources on both sides through the superposition of dual-channel current commands. The reference command for the total harmonic current of the device is:
[0085] ,
[0086] In the formula, the current reference command for the first channel is... Based on grid-side harmonic current generation, it is used to offset load harmonic current; the second channel's current reference command Generated based on the harmonic voltage at the point of common coupling, used to suppress grid resonance; K I and K R The adaptive weighting coefficients for the first and second channels are respectively, satisfying... K I + K R =1; R vThis is a preset virtual resistance value.
[0087] To maximize capacity utilization, we establish an optimization problem with CUE as the objective:
[0088] ,
[0089] The equivalent phase angle of the hybrid active filter φ H Determined by the vector sum of the two-channel currents:
[0090] .
[0091] By adjusting K I and K R The ratio of the phase of the output current of the hybrid active filter is used to achieve continuous adjustment, enabling it to actively track the grid impedance angle and thus achieve the best harmonic suppression effect under the rated capacity constraint.
[0092] S4. With the goal of maximizing the capacity utilization efficiency, the golden section search algorithm is used to solve the weight coefficients of the first channel and the weight coefficients of the second channel in real time.
[0093] Due to CUEH's weighting coefficients K I (or K R The function is a unimodal convex function. This invention employs the golden section search algorithm to efficiently solve for the optimal weights. This algorithm does not require gradient calculation, has a fast convergence speed, and is suitable for real-time online applications.
[0094] like Figure 2 As shown, the SOGI-FLL module first extracts the PCC harmonic voltage and grid harmonic current, and calculates the capacity utilization efficiency (CUE) accordingly. The golden section searcher optimizes the weight coefficients of the first and second channels online with the goal of maximizing CUE.
[0095] Specifically, step S4 includes the following sub-steps:
[0096] S41. Initialize the search range [a,b] within the preset interval [0,1], where a=0, b=1, and set the golden ratio. φ gs =(√5-1) / 2≈0.618.
[0097] S42. Select two interior points c and d within the search range according to the golden ratio: c = b - φ gs (ba), d=a+ φgs (ba).
[0098] S43. Calculate the capacity utilization efficiency values CUEc and CUEd for weighting coefficients c and d respectively. If the corresponding total harmonic compensation current command amplitude exceeds the rated current of the hybrid active filter... I rated Then according to I ref = I ref ·( I rated / | I ref |) Perform amplitude limiting.
[0099] S44. Based on the comparison of the capacity utilization efficiency values of the two interior points, narrow down the search range:
[0100] If CUEc > CUEd, then let b = d, d = c, and recalculate c = b - φ gs (ba);
[0101] If CUEc ≤ CUEd, then let a = c, c = d, and recalculate d = a + φ gs (ba).
[0102] S45. Iterate through steps S42 to S44 until the search range meets a preset iteration termination condition. The iteration termination condition is that the search range width (ba) is less than a preset threshold ε or the number of iterations reaches a preset maximum value. In this embodiment, the preset threshold ε is 0.01, and the preset maximum number of iterations is 15.
[0103] S46. After the iteration terminates, take the midpoint of the current search range as the optimal solution for the weight coefficients of the first channel: K I =(a+b) / 2, and determine the optimal solution for the weight coefficients of the second channel based on the weight coefficient constraint relationship: K R =1- K I .
[0104] To avoid system shocks caused by abrupt changes in weights when operating conditions change, a smoothing step is included after obtaining the optimal weight coefficients: the obtained optimal weight coefficients are subjected to a first-order inertial filter to obtain smoothed weight coefficients, which are then used for weighted superposition in subsequent steps. The expression for the first-order inertial filter is:
[0105] ,
[0106] The time constant τ is set to 20 milliseconds to 50 milliseconds, which can ensure dynamic response speed while ensuring a smooth transition.
[0107] S5. Based on the weighting coefficients of the first channel and the second channel obtained by solving, the first current reference command and the second current reference command are weighted and superimposed to generate the total harmonic compensation current command.
[0108] like Figure 2 As shown, the optimized weights are fed into the Norton equivalent superposition module to perform vector summation on the dual-channel current commands, thereby obtaining the total harmonic reference command.
[0109] S6. According to the total harmonic compensation current command, control the hybrid active filter to inject compensation current into the power grid.
[0110] Specifically, the total harmonic compensation current command is converted into a switching signal by the PWM controller after being limited by the amplitude protection. This signal drives the inverter of the hybrid active filter to inject compensation current into the grid through the LCL filter, thereby achieving harmonic cancellation and resonance suppression.
[0111] In this embodiment, the sum of the weighting coefficients of the first channel and the second channel is 1. By adjusting the ratio of the two, the phase of the output current of the hybrid active filter can be continuously adjusted, enabling it to actively track the grid impedance angle, thereby achieving the optimal harmonic suppression effect under the rated capacity constraint.
[0112] Example 2:
[0113] This embodiment provides a hybrid active filter cooperative control system based on golden section optimization, used to implement the hybrid active filter cooperative control method as described in Embodiment 1, including:
[0114] The signal detection module is used to acquire the harmonic voltage signal on the load side of the power grid common coupling point and the harmonic current signal on the power grid side.
[0115] The capacity utilization calculation module is used to calculate the capacity utilization efficiency of the hybrid active filter at the current moment based on the harmonic voltage signal and the harmonic current signal.
[0116] A dual-channel construction module is used to construct a dual-channel control architecture for hybrid active filters. The first channel is used to implement current-mode active filtering and generate a first current reference command based on the grid-side harmonic current. The second channel is used to implement resistive active filtering and generate a second current reference command based on the common coupling point harmonic voltage.
[0117] The weight calculation module is used to calculate the weight coefficients of the first channel and the weight coefficients of the second channel in real time, with the goal of maximizing the capacity utilization efficiency.
[0118] The instruction generation module is used to weight and superimpose the first current reference instruction and the second current reference instruction according to the weight coefficients of the first channel and the second channel obtained by solving, and generate the total harmonic compensation current instruction.
[0119] The control execution module is used to control the hybrid active filter to inject compensation current into the power grid according to the total harmonic compensation current command.
[0120] Example 3:
[0121] like Figure 4 As shown, this embodiment provides an electronic device, which may include: at least one processor, at least one network interface, a user interface, a memory, and at least one communication bus.
[0122] The communication bus can be used to enable communication between the various components mentioned above.
[0123] The user interface may include buttons, and optional user interfaces may also include standard wired interfaces and wireless interfaces.
[0124] The network interface may include, but is not limited to, Bluetooth modules, NFC modules, Wi-Fi modules, etc.
[0125] The processor may include one or more processing cores. It connects various parts of the electronic device via various interfaces and lines, executing instructions, programs, code sets, or instruction sets stored in memory, and accessing data stored in memory to perform various functions and process data. Optionally, the processor can be implemented using at least one hardware form of DSP, FPGA, or PLA. The processor may integrate one or more of the following: CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor.
[0126] The memory may include RAM or ROM. Optionally, the memory may include a non-transitory computer-readable medium. The memory can be used to store instructions, programs, code, code sets, or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor. The memory, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a cooperative control application program. The processor can be used to call the cooperative control application program stored in the memory and execute the steps of the hybrid active filter cooperative control method mentioned in the foregoing embodiments.
[0127] Example 4:
[0128] This embodiment provides a computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the above-described instructions. Figure 2 One or more steps in the illustrated embodiment. If the constituent modules of the above-described electronic device are implemented as software functional units and sold or used as independent products, they can be stored in the computer-readable storage medium.
[0129] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this specification are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., Digital Versatile Discs (DVDs)), or semiconductor media (e.g., Solid State Disks (SSDs)).
[0130] Those skilled in the art will understand that all or part of the processes in the method of Embodiment 1 described above can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks. Unless otherwise specified, the technical features of this embodiment and the implementation scheme can be combined arbitrarily.
[0131] Example 5:
[0132] To verify the effectiveness of the hybrid active filter collaborative control method based on the golden ratio optimization described in this specification, this embodiment designs a comparative test for a typical scenario of dual-side harmonic source coupling, and verifies the governance effect of the strategy under different grid strengths and different harmonic source proportions.
[0133] The test setup included three operating conditions, as shown in Table 1: Condition 1 was a strong power grid scenario with a short-circuit ratio (SCR) of 15, a power grid background harmonic distortion rate of 1.2%, and a load harmonic current content of 18%; Condition 2 was a weak power grid scenario with a short-circuit ratio (SCR) of 3, a power grid background harmonic distortion rate of 2.5%, and a load harmonic current content of 18%; Condition 3 was a scenario of sudden change in power grid impedance, where the short-circuit ratio (SCR) suddenly dropped from 15 to 3 and then rose back to 15, the power grid background harmonic distortion rate was 1.2%, and the load harmonic current content was 18%.
[0134] Table 1:
[0135]
[0136] Without an active filter, the measured voltage waveform at the point of common coupling is as follows: Figure 5 As shown, its total harmonic distortion rate is as high as 3.97%, the harmonic content is significantly exceeded, and the power quality is seriously deteriorated.
[0137] After a traditional virtual impedance type active filter is applied, the voltage waveform is as follows: Figure 6 As shown, the total harmonic distortion (THD) of the voltage decreased to 2.19%. This result indicates that although the traditional method has a certain harmonic suppression capability, the mitigation effect is limited and still cannot meet the harmonic standard requirements under typical operating conditions.
[0138] Using the hybrid active filter collaborative control method based on golden section optimization described in this invention, under the same device capacity conditions, the measured voltage waveform is as follows: Figure 7 As shown, the total harmonic distortion of the voltage further decreased to 0.71%. This value is not only far below the standard limit, but also significantly better than traditional control strategies.
[0139] The test results of the total harmonic distortion (THD) of voltage under various operating conditions are shown in Table 2. In operating condition 1 (strong power grid), the traditional current-type active filter performs better than the resistive type, but the THD reduction of the method of this invention reaches 63.6%, which is significantly better than the traditional solution. In operating condition 2 (weak power grid), the traditional current-type active filter lacks damping characteristics and couples with the grid impedance, causing resonance and resulting in a THD increase to 5.12%; the damping effect of the traditional resistive active filter is limited; the method of this invention, through adaptive weight allocation, takes into account both harmonic cancellation and resonance suppression, and controls the THD within 0.92%.
[0140] Table 2:
[0141]
[0142] The capacity utilization efficiency test results are shown in Table 3. The method of this invention optimizes the weight coefficients through the golden section search algorithm, so that the equivalent compensation current phase angle accurately matches the grid impedance angle, and the capacity utilization efficiency value is improved by 30% to 50% compared with the traditional scheme, thereby maximizing the utilization of the device capacity.
[0143] Table 3:
[0144]
[0145] In the scenario of sudden change in grid impedance (condition 3), traditional current-type active filters exhibit insufficient system damping after a sudden drop in grid impedance, resulting in significant oscillations in the point of common coupling voltage and a sharp increase in harmonic distortion (HDC) to 5.12%. These oscillations stabilize after approximately 200ms. In contrast, the method of this invention, when encountering sudden changes in grid impedance, utilizes a golden section searcher that adjusts the weighting coefficients within 5ms. The weighting coefficient of the first channel rapidly switches from 0.3 to 0.7, enhancing the damping characteristics of the resistive channel. This results in no significant oscillations in the HDC voltage, consistently maintaining the total harmonic distortion (THD) rate below 1%, and a dynamic response time of less than 10ms.
[0146] Meanwhile, even under the influence of non-ideal factors such as controller sampling delay and switching dead zone, the method of the present invention can still maintain stable operation, with the total harmonic distortion rate of voltage fluctuating by less than 0.1%, verifying the robustness of the control strategy.
[0147] Based on the above, this embodiment verifies the effectiveness of the hybrid active filter collaborative control method based on the golden ratio optimization described in this invention. This method can achieve collaborative management of load-side harmonic current cancellation and grid-side harmonic resonance suppression in complex scenarios where dual-side harmonic sources coexist, while significantly improving device capacity utilization efficiency and grid adaptability.
[0148] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0149] 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 relevant descriptions in other embodiments.
[0150] The above description is merely an exemplary embodiment of the present invention and should not be construed as limiting the scope of the invention. Any equivalent changes and modifications made in accordance with the teachings of this invention are still within the scope of this invention. Those skilled in the art will readily conceive of embodiments of the invention upon considering the specification and practicing the disclosure herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not described herein. The specification and embodiments are to be considered exemplary only, and the scope and spirit of the invention are defined by the claims.
Claims
1. A hybrid active filter collaborative control method based on golden section optimization, characterized in that, Including the following steps: S1. Obtain the harmonic voltage signal on the load side and the harmonic current signal on the grid side at the point of common coupling of the power grid; S2. Based on the harmonic voltage signal and the harmonic current signal, calculate the capacity utilization efficiency of the hybrid active filter at the current moment. The capacity utilization efficiency is used to characterize the suppression effectiveness of the output current of the hybrid active filter on harmonic resonance. Its value is determined by the amplitude of the output current of the hybrid active filter, the deviation between the phase of the output current and the grid impedance angle. S3. Construct a dual-channel control architecture for a hybrid active filter, wherein the first channel is used to implement the current-type active filter function and generate the first current reference command based on the harmonic current on the grid side, and the second channel is used to implement the resistive active filter function and generate the second current reference command based on the harmonic voltage at the point of common coupling. S4. With the goal of maximizing the capacity utilization efficiency, the golden section search algorithm is used to solve the weight coefficients of the first channel and the weight coefficients of the second channel in real time. S5. Based on the weighting coefficients of the first channel and the second channel obtained by solving, the first current reference command and the second current reference command are weighted and superimposed to generate the total harmonic compensation current command. S6. According to the total harmonic compensation current command, control the hybrid active filter to inject compensation current into the power grid.
2. The hybrid active filter cooperative control method based on golden section optimization according to claim 1, characterized in that: The phase of the output current of the hybrid active filter is determined by the weighting coefficient of the first channel, the first current reference command, the weighting coefficient of the second channel, and the second current reference command.
3. The hybrid active filter collaborative control method based on golden section optimization according to claim 2, characterized in that: The sum of the weighting coefficients of the first channel and the second channel is 1. By adjusting the ratio of the weighting coefficients of the first channel and the second channel, the phase of the output current of the hybrid active filter can be continuously adjusted.
4. The hybrid active filter collaborative control method based on golden section optimization according to claim 1, characterized in that, Step S4 includes: S41. Initialize the search range within the preset interval, select two interior points within the search range according to the golden ratio, and calculate the capacity utilization efficiency value corresponding to the two interior points respectively. S42. Based on the comparison results of the capacity utilization efficiency values of the two interior points, narrow the search range; S43. Iterate through steps S41 to S42 until the search range meets the preset iteration termination condition; S44. Determine the optimal solution for the weight coefficients of the first channel and the second channel based on the final search range.
5. The hybrid active filter collaborative control method based on golden section optimization according to claim 4, characterized in that: The preset interval is [0,1]; The iteration termination condition is that the search range width is less than a preset threshold or the number of iterations reaches a preset maximum value. The step of determining the optimal solution based on the final search range includes taking the midpoint of the final search range as the optimal solution for the weight coefficient of the first channel.
6. The hybrid active filter collaborative control method based on golden section optimization according to claim 5, characterized in that: The preset threshold is 0.01, and the preset maximum number of iterations is 15.
7. The hybrid active filter collaborative control method based on golden section optimization according to claim 1, characterized in that, After obtaining the weight coefficients of the first channel and the second channel in step S4, a smoothing process is also included: The weight coefficients of the first channel and the weight coefficients of the second channel obtained by the solution are filtered to obtain smoothed weight coefficients, which are then used for weighted superposition in step S5. The time constant of the filtering process is set to 20 to 50 milliseconds to suppress system shocks caused by sudden changes in weight coefficients.
8. A hybrid active filter collaborative control system based on golden ratio optimization, characterized in that, The method for implementing the hybrid active filter cooperative control method as described in any one of claims 1 to 7 includes: The signal detection module is used to acquire the harmonic voltage signal on the load side of the power grid common coupling point and the harmonic current signal on the power grid side. The capacity utilization calculation module is used to calculate the capacity utilization efficiency of the hybrid active filter at the current moment based on the harmonic voltage signal and the harmonic current signal. The capacity utilization efficiency is used to characterize the suppression effectiveness of the output current of the hybrid active filter on harmonic resonance. Its value is determined by the amplitude of the output current of the hybrid active filter, the deviation between the phase of the output current and the grid impedance angle. A dual-channel construction module is used to construct a dual-channel control architecture for hybrid active filters. The first channel is used to implement current-mode active filtering and generate a first current reference command based on the grid-side harmonic current. The second channel is used to implement resistive active filtering and generate a second current reference command based on the common coupling point harmonic voltage. The weight calculation module is used to calculate the weight coefficients of the first channel and the weight coefficients of the second channel in real time, with the goal of maximizing the capacity utilization efficiency. The instruction generation module is used to weight and superimpose the first current reference instruction and the second current reference instruction according to the weight coefficients of the first channel and the second channel obtained by solving, and generate the total harmonic compensation current instruction. The control execution module is used to control the hybrid active filter to inject compensation current into the power grid according to the total harmonic compensation current command.
9. A computer device, the computer device comprising a memory, a processor, and a computer program, characterized in that, When the computer program is executed by the processor, it implements the hybrid active filter cooperative control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the hybrid active filter cooperative control method as described in any one of claims 1 to 7.