Maximum Power Point Tracking Control Method for Energy System Based on Improved Particle Swarm Optimization
By improving the particle swarm optimization algorithm, introducing the population solution and the worst solution, and optimizing the parameter update strategy, the problem of oscillation and long response time of the existing maximum power tracking control method in a dynamic environment is solved, and the real-time performance and accuracy of the system are improved. , achieving more efficient maximum power tracking.
Patent Information
- Application Number
- CN202211420573.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-13
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-11-13
AI Technical Summary
Existing maximum power tracking control methods suffer from oscillations and long response times in dynamically changing environments, resulting in power loss, and existing particle swarm optimization algorithms fail to fully consider the population solution and the worst solution, affecting accuracy and real-time performance.
The improved particle swarm optimization algorithm (BPSO) introduces the population solution and the worst solution, optimizes the parameter update strategy, enhances the detection process and global search capabilities of the algorithm, and improves the convergence speed and accuracy of the algorithm.
It significantly improves the real-time and accuracy of maximum power tracking control, reduces search time and calculation efficiency, and improves the average power density by 6.73% and the response speed by 88.9% compared to the classic PSO algorithm.
Smart Images

Figure CN115808952B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to a maximum power tracking control algorithm of a PRO system, and relates to a maximum power tracking control method for an energy system based on improved particle swarm optimization, and is a maximum power tracking control method for a pressure delayed permeation energy system based on improved particle swarm optimization. Background Art
[0002] The traditional methods of maximum power point tracking (MPPT) control are the incremental mass resistance method and the disturbance and observation method that take into account the dynamic changes. However, both methods will go through a certain oscillation and response time to reach equilibrium, which will result in large power losses. There are limited published studies on the maximum power density tracking control of the dynamic renewable energy pressure reverse osmosis model (PRO). In order to improve the real-time performance of the PRO system and enable the system to adjust in real time under changing environmental conditions, current research focuses more on the development and improvement of the MPPT control algorithm. In engineering, metaheuristic algorithms have unique advantages in optimizing control methods, especially when dealing with large and complex derivative problems in unknown space. The optimization algorithm can effectively avoid the local optimum and steady-state oscillation problems of the classic MPPT algorithm. The real-time control method based on feedback control does not fully consider the complex dynamic operating environment of the PRO system. For complex dynamic systems, it is difficult to achieve maximum power point tracking through analytical solutions. Engineering practice has proved that the use of metaheuristic algorithms can enable the system to obtain maximum power in a stable, fast and effective manner in different operating environments. Meta-heuristic algorithms commonly used in engineering include particle swarm optimization (PSO), gray wolf optimization algorithm (GWO), dragonfly algorithm (DA), whale optimization algorithm (WOA), locust optimization method (GOA), and Henry gas solubility optimization (HGSO). HGSO optimizes individuals by considering the current solution, current optimal solution, global optimal solution, population solution, and worst solution. It has good optimization effect and is the most accurate meta-heuristic algorithm at present. However, the HGSO algorithm has certain complexity, long calculation time, low calculation efficiency, and it is difficult to meet the real-time requirements of the PRO system. The PSO algorithm only considers the current solution, current optimal solution, and global optimal solution, and optimizes individuals through two vectors of speed and position. It is easy to implement, has fast calculation speed, and can meet the real-time requirements of the system. However, the classic PSO algorithm ignores the population solution of the system, so its accuracy is often poor. Summary of the invention
[0003] Technical issues to be solved
[0004] In order to avoid the shortcomings of the prior art, the present invention proposes a maximum power tracking control method for an energy system based on improved particle swarm optimization. The present invention transforms the particle swarm algorithm. By combining the advantages of other strategies, that is, considering the influence of the population solution and the worst solution at the same time, the performance of the algorithm is improved, so that the MPPT control method can obtain better dynamic performance in the application of the PRO system. The introduction of the worst solution as a key parameter can increase the running speed of the algorithm, while the introduction of the population solution can improve the accuracy of the algorithm.
[0005] Technical Solution
[0006] A maximum power tracking control method for an energy system based on improved particle swarm optimization is characterized by the following steps:
[0007] Step 1: Initialize the parameters of the energy system, including the flow rate and pressure of the solution entering the system, and assign initial values W to the parameters. p,0 =0, where k and i are the number of iterations and each parameter value respectively;
[0008] Step 2: Calculate each input parameter value to get the current PRO power W p,i =ΔP i ΔV f,i : Among them, ΔP i is the pressure applied to the liquid, i.e. the reverse osmosis pressure; ΔV f,i is the volume flow rate of infiltrated water;
[0009] If the current PRO power W p,i Better than the current optimal power of the system, i.e. W p,i >W i,best , then W p,i The value of is assigned to the current optimal power;
[0010] If the current PRO power W p,i Better than the system maximum power, which is W p,i >W g,best , then W p,i The value of is assigned to the current maximum power of the system;
[0011] If the current PRO power W p,i Less than the system minimum power W p,i <W l,best , then W p,i The value of is assigned to the system's current minimum system power;
[0012] Step 3: Replace the worst power value with the random power value introduced into the problem boundary in BPSO:
[0013] Δp worst (k) = rand(1, d) × (ub d -lbd )+lb d
[0014] Among them, d is the dimension or number of parameter values, ub d is the upper boundary of the parameter, lb d is the lower bound of the parameter;
[0015] Step 4: Calculate the parameter speed:
[0016]
[0017] Among them, w is an inertia weight parameter equal to 1, c 1 and c 2 are constants, equal to 1.5 and 2, respectively, r 1 and r 2 represents a normalized random value in the interval (0,1), g best represents the global optimal position, v i and Δp i Indicates the current speed and parameter value;
[0018] Parameter value update strategy:
[0019] Δp i (k+1)=Δp i (k)+v i (k+1)
[0020] Step 5: Calculate the new power value W px,i =ΔP i ΔV f,i The new power value is compared with the maximum power value, that is, W px,i >W g,best , and then assign the better of the two to the highest power value;
[0021] Step 6: When the termination condition is met, the final result is output and the iteration ends; otherwise, it returns to the next loop iteration and continues the search; the final result is the optimal solution, which is the maximum power W of the PRO system tracked by the MPPT. g,best .
[0022] The termination condition is when the maximum allowed number of iterations is reached or the optimal power value has met the condition.
[0023] Beneficial Effects
[0024] The present invention proposes a maximum power tracking control method for energy systems based on improved particle swarm optimization, with particles as each parameter value and solutions as the corresponding power values. Secondly, the next position of the particles in the particle swarm algorithm is updated according to three basic coefficients, namely the current optimal solution, the global optimal solution and the current solution. Compared with the HGSO algorithm with higher accuracy, the particle swarm algorithm does not consider the worst solution and the population solution. It can be seen that the performance of the MPPT control method based on the particle swarm algorithm still has room for improvement. In the PRO system, for existing technologies, the MPPT control technology based on the classic PSO algorithm does not consider the worst power value of the PRO system and the influence of the power of all parameter values, and has certain development potential. The proposed algorithm introduces the above two key quantities, while improving the detection process and development process of the PSO algorithm, improving the convergence speed and global search ability of the algorithm, greatly improving the solution quality, being more effective than the original algorithm, and improving the real-time tracking and accuracy based on the BPSO algorithm.
[0025] Advantages of the present invention:
[0026] (1) Based on the particle swarm optimization algorithm and other excellent meta-heuristic algorithms, a boosted particle swarm optimization algorithm (BPSO) is proposed to enhance the dynamic performance of the MPPT control method in the PRO system.
[0027] (2) A comparative analysis of two classic methods in MPPT control problems and meta-heuristic algorithms commonly used in current engineering applications is conducted, providing a reference for algorithm selection for different objectives.
[0028] (3). The proposed BPSO is evaluated using the performance indicators of the optimization design problem, including the average fitness index (AFI) and the average CPU time (ACT). The influence of the solution flow rate, concentration and temperature changes of the PRO system is fully considered, and two scenario experiments with changing conditions are designed to verify that the algorithm has a good application effect on the MPPT control method. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 :The present invention improves the PSO algorithm process
[0030] Figure 2 :Changing temperature scenario in the embodiment
[0031] Figure 3 :Change in salinity scenario in the embodiment (a) Change in solution concentration (b) Change in solution flow rate DETAILED DESCRIPTION
[0032] The present invention will now be further described with reference to the embodiments and the accompanying drawings:
[0033] The particle swarm optimization algorithm is different from other metaheuristic algorithms. First, the particle swarm optimization algorithm includes two key vectors, namely the velocity and position vectors of each particle (here, the particle is each parameter value, and the solution is the corresponding power value), while other metaheuristic algorithms only consider one coefficient position. Secondly, the next position of the particle in the particle swarm optimization algorithm is updated according to three basic coefficients, namely the current optimal solution, the global optimal solution, and the current solution. Compared with the more accurate HGSO algorithm, the particle swarm optimization algorithm does not consider the worst solution and population solution. It can be seen that the performance of the MPPT control method based on the particle swarm optimization algorithm still has room for improvement.
[0034] For the PRO system, in the traditional PSO method, the power difference calculated will be retained and the parameter value will be continuously adjusted. As the parameters are updated, these differences often do not become the optimal values, but they take up the calculation time of the system to calculate the highest power, which reduces the calculation efficiency. Therefore, in PRO, the following method will be used to solve the problems faced by the traditional PSO method. Improve the PSO method process as follows Figure 1 As shown:
[0035] (1) Initialize the parameters of the energy system, including the flow rate and pressure of the solution entering the system, and assign initial values W to the parameters. p,0 =0, where k and i are the number of iterations and each parameter value respectively;
[0036] (2) Calculate the power W obtained by inputting the parameter values p,i , if it is better than the current optimal power, then W p,i The value of is assigned to the current optimal power and compared with the system maximum power. If it is better than the system maximum power, the current maximum power of the system is updated.
[0037] W p,i =ΔP i ΔV f,i (1)
[0038] Among them, ΔP i is the pressure applied to the liquid, i.e. the reverse osmosis pressure; ΔV f,i is the volume flow rate of water penetrating.
[0039] If the current PRO power W p,i Better than the current optimal power of the system, i.e. W p,i >W i,best , then W p,i The value of is assigned to the current optimal power;
[0040] If the current PRO power W p,i Better than the system maximum power, which is Wp,i >W g,best , then W p,i The value of is assigned to the current maximum power of the system;
[0041] If the current PRO power W p,i Less than the system minimum power W p,i <W l,best , then W p,i The value of is assigned to the system's current minimum system power;
[0042] (3) Replace the worst power value. Introducing random power values within the problem boundary in BPSO to replace the worst power value is to increase the detection phase of the algorithm to strengthen the global search capability and improve the accuracy of the algorithm. It can be expressed as:
[0043] Δp worst (k) = rand(1, d) × (ub d -lb d )+lb d (2)
[0044] Among them, d is the dimension or number of parameter values, ub d is the upper boundary of the parameter, lb d is the lower bound of the parameter.
[0045] (4) Update parameter values and calculation speed. Increasing the algorithm development phase can enable the algorithm to better utilize local information to generate better solutions during the search process, reduce the algorithm's convergence time, and ultimately improve the particle swarm algorithm's computational efficiency. This goal can be achieved by improving the parameter speed update strategy:
[0046]
[0047] Among them, w is an inertia weight parameter equal to 1, c 1 and c 2 are constants, equal to 1.5 and 2, respectively, r 1 and r 2 represents a normalized random value in the interval (0,1), g best represents the global optimal position, v i and Δp i Represents the current speed and parameter value. Different from the classic PSO algorithm, in BPSO represents the best parameter value in the iteration process (the mean best), while in PSO p best Indicates the optimal parameters found in the current iteration. BPSO changes the PRO system parameter speed update strategy, which also changes the parameter value update strategy:
[0048] Δpi (k+1)=Δp i (k)+v i (k+1) (4)
[0049] (5) Calculate the new power value W px,i , and compare the new power value with the highest power value, and then assign the better value of the two to the highest power value.
[0050] W px,i =ΔP i ΔV f,i (5)
[0051] (6) If the algorithm has reached the maximum number of iterations allowed or the optimal power value has met the conditions, that is, the termination condition is met, the final result is output and the iteration ends; otherwise, it returns to the next loop iteration and continues the search. Further, the optimal solution is the maximum power W of the PRO system tracked by the MPPT. g,best .
[0052] Table 1 compares the main features of BPSO and PSO algorithms in detail.
[0053]
[0054] Through the above two methods, the worst parameters in the parameter set are eliminated to improve the search efficiency, reduce the search time, and better utilize local information to generate better solutions during the search process, reducing the convergence time of the algorithm, and ultimately improving the computational efficiency of the particle swarm algorithm and thus improving the performance of the MPPT system.
[0055] The following examples are used to illustrate the comparison between the present invention and the prior art:
[0056] (1) Algorithm parameter settings
[0057] To ensure the fairness of the experiment, we first need to determine the best parameter settings for each algorithm for this problem.
[0058] (2) Operation in Changing Temperature Scenarios
[0059] like Figure 2 As shown in FIG. 1 , under this scenario, the temperature is first maintained at 20° C., then rises and is maintained at 40° C. and 50° C., and finally falls and is maintained at 30° C. Under this scenario, various algorithms are compared and tested.
[0060] (3) Operation in a changing salinity scenario
[0061] like Figure 3As shown in the figure, under this scenario, the solution concentration increases from 35g / kg and is maintained at 45g / kg and 55g / kg respectively. At the same time, the solution flow rate is controlled to increase from 0.6kg / h and is maintained at 1kg / h and 1.5kg / h respectively. Under this scenario, various algorithms are compared and tested.
[0062] (4) Evaluate the MPPT control performance based on the BPSO algorithm
[0063] In the experiment to evaluate the MPPT control performance based on the BPSO algorithm, the following control performance indicators are used:
[0064] The average fitness index (AFI) is used as a significant factor to evaluate the proposed method's energy. In order to reduce the random error of the operation process, all methods are executed ten times in the test.
[0065]
[0066] Where m is the number of executions (set to 10), g is the fitness function of the designed problem, and g * represents the best fitness obtained by each technology in the i-th run.
[0067] Average CPU time (ACT): MET is used to emphasize tracking efficiency, and its mathematical expression is
[0068]
[0069] Where T λ Represents the CPU time in the i-th run.
[0070] The MPPT control method based on the BPSO algorithm proposed in the present invention has been extensively compared with the MPPT control methods based on other metaheuristic algorithms under various working conditions of the PRO system to verify its reliability. In this process, simulation tests were carried out in two scenarios, including changes in operating temperature, solution concentration, and flow rate. Table 2 lists the comparison results of several methods in temperature change scenarios, and Table 3 lists the comparison results of several methods in solution flow rate and concentration change scenarios. The AFI and ACT values show that the MPPT control method based on the BPSO algorithm has good tracking performance.
[0071] Table 2. Average power density extracted at different temperatures by MPPT control methods based on different algorithms
[0072]
[0073] Table 3. Average power density extracted by MPPT control methods based on different algorithms under varying extract concentrations and flow rates
[0074]
[0075] The maximum power point tracking control method proposed in this paper has been extensively tested under various working conditions of the PRO system, and the MPPT control methods based on BPSO and other metaheuristic algorithms have been compared and analyzed using the two performance indicators AFI and ACT to verify its reliability. In the variable temperature scenario test, the MPPT control method based on the BPSO algorithm has the best performance, and the maximum average power density of the PRO system is obtained under all conditions, which is up to 6.73% higher than the MPPT control method based on the classic PSO algorithm. The tracking effect is the best in the scenario test of variable salinity. While obtaining the maximum average power density of the PRO system, it also ensures the ability of fast convergence. Compared with the MPPT control method based on the classic PSO algorithm, its response speed is up to 88.9%. The MPPT based on the BPSO algorithm is compared with the MPPT based on several other metaheuristic algorithms commonly used in engineering. The experimental results show that the MPPT based on the BPSO algorithm can achieve optimal performance under all environmental conditions and converge to the optimal parameter value, which is better than other algorithms, making the MPPT more real-time and accurate to track the maximum power of the PRO renewable energy system. It enables the PRO system to make real-time adjustments under changing environmental conditions. The results show that BPSO has global optimization capability, high optimization accuracy and convergence speed, which greatly improves the real-time and precision requirements of MPPT control for PRO system, and has obvious improvements compared with the MPPT control method based on PSO algorithm.
Claims
1. A maximum power tracking control method for energy systems based on improved particle swarm optimization, characterized in that Here are the steps: Step 1: Initialize the parameters of the energy system, including the flow rate and pressure of the solution entering the system, and assign initial values W to the parameters. p,0 =0, where k and i are the number of iterations and each parameter value respectively; Step 2: Calculate each input parameter value to get the current PRO power W p,i =ΔP i ΔV f,i : Among them, ΔP i is the pressure applied to the liquid, i.e. the reverse osmosis pressure; ΔV f,i is the volume flow rate of infiltrated water; If the current PRO power W p,i Better than the current optimal power of the system, i.e. W p,i >W i,best , then W p,i The value of is assigned to the current optimal power; If the current PRO power W p,i Better than the system maximum power, which is W p,i >W g,best , then W p,i The value of is assigned to the current maximum power of the system; If the current PRO power W p,i Less than the system minimum power W p,i <W l,best , then W p,i The value of is assigned to the system's current minimum system power; Step 3: Replace the worst power value with the random power value introduced into the problem boundary in BPSO: Δp worst (k)=rand(1,d)×(ub d -lb d )+lb d Among them, d is the dimension or number of parameter values, ub d is the upper boundary of the parameter, lb d is the lower bound of the parameter; Step 4: Calculate the parameter speed: Where w is an inertia weight parameter equal to 1, c1 and c2 are constants equal to 1.5 and 2 respectively, r1 and r2 represent normalized random values in the interval (0,1), and g best represents the global optimal position, v i and Δp i Indicates the current speed and parameter value; represents the best parameter value during the iteration process; Parameter value update strategy: Δp i (k+1)=Δp i (k)+v i (k+1) Step 5: Calculate the new power value W px,i =ΔP i ΔV f,i The new power value is compared with the maximum power value, that is, W px,i >W g,best , and then assign the better of the two to the highest power value; Step 6: When the termination condition is met, the final result is output and the iteration ends; otherwise, it returns to the next loop iteration and continues the search; the final result is the optimal solution, which is the maximum power W of the PRO system tracked by the MPPT. g,best .
2. According to claim 1, it is characterized in that: The termination condition is when the maximum allowed number of iterations is reached or the optimal power value has met the condition.
