Specific harmonic elimination method based on improved hybrid particle swarm taboo algorithm

By improving the hybrid particle swarm tabu algorithm and combining the particle swarm and tabu search algorithms, the problem of premature and inefficient harmonic elimination methods for multi-level inverters is solved, and a more efficient and accurate harmonic elimination effect is achieved.

CN113141102BActive Publication Date: 2024-10-18李怡心
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110394640.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-13
Publication Date
2024-10-18
Estimated Expiration
2041-04-13

AI Technical Summary

Technical Problem

Existing specific harmonic elimination methods for multi-level inverters based on intelligent algorithms are prone to premature maturity and low efficiency, and are difficult to accurately solve the nonlinear transcendental equations, resulting in low harmonic elimination efficiency.

Method used

The improved hybrid particle swarm tabu algorithm is used to initially solve the problem through the improved weighted particle swarm algorithm, and is combined with the improved tabu search algorithm to further search in the continuous neighborhood of the global optimal solution to improve the accuracy and efficiency of the algorithm and avoid premature phenomena.

Benefits of technology

Faster convergence and higher accuracy are achieved, and selected sub-harmonic components of the multi-level inverter are accurately eliminated, improving the performance and efficiency of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113141102B_ABST
    Figure CN113141102B_ABST
Patent Text Reader

Abstract

The invention discloses a specific harmonic elimination method based on an improved hybrid particle swarm taboo algorithm, comprising collecting input and output signals of a multilevel inverter, constructing a nonlinear transcendental equation group for solving a switch angle according to the collected input and output signals, solving the constructed nonlinear transcendental equation group using a particle swarm algorithm with improved weights, obtaining a particle swarm global optimal solution, further searching in a continuous neighborhood of the particle swarm global optimal solution using a taboo search algorithm with improved taboo length and the number of decimal places reserved for taboo objects, obtaining a global optimal solution of the taboo search algorithm, converting the global optimal solution of the taboo algorithm into a pulse signal to drive the multilevel inverter, thereby completing the elimination of specific harmonics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of flexible power transmission and distribution of electric power systems, and relates to a specific harmonic elimination method based on an improved hybrid particle swarm taboo algorithm. Background Art

[0002] In recent years, power electronics technology has developed rapidly. As the first choice for high-power power supply, multilevel inverter has high output voltage and excellent robustness. It is widely used in reactive power compensation devices, high-voltage direct current transmission, wind energy conversion and railway traction. The appropriate modulation strategy can optimize the output performance of the multilevel inverter. Therefore, the modulation strategy is an important component in the research of multilevel inverters.

[0003] Among them, Selective Harmonic Elimination Pulse Width Modulation (SHEPWM) is used in many occasions because it does not require a complex filtering system. SHEPWM is a technology that eliminates selected low-order harmonics and achieves precise harmonic control by predetermining the switching angle at the on-off moment. It uses active compensation for multi-level inverters, suppresses the generation of low-order harmonics while controlling the inverter output step wave, and controls harmonics from the source. The difficulty of its research lies in solving the nonlinear transcendental equations written according to the switching angle, and as the number of switching angles to be solved increases, the complexity of the equations will also increase.

[0004] At present, there are two commonly used methods for solving the nonlinear equations written according to the switching angle, one is the traditional numerical algorithm, and the other is the intelligent algorithm. The traditional numerical algorithm has a great dependence on the selection of initial values. It is necessary to try many times based on experience to find the solution area near the optimal solution before taking the value. However, it is difficult to estimate a more accurate initial value in SHEPWM technology, so the traditional numerical algorithm is rarely used now. The intelligent algorithm is a complete optimization mathematical algorithm formed by simulating the behavior of biological organisms in nature. It is based on the iterative technology of the population. The initial value has little effect on finding the optimal solution. It generally has the ability of self-improvement, self-repair and self-learning. Commonly used intelligent algorithms include genetic algorithms, bee colony algorithms, ant colony algorithms and particle swarm algorithms, but these existing intelligent algorithms have the disadvantages of being easy to mature prematurely and low quality and efficiency due to blind search in the initial stage. Summary of the invention

[0005] The purpose of the present invention is to provide a specific harmonic elimination method based on an improved hybrid particle swarm taboo algorithm to solve the problems of premature ejaculation and low efficiency of the existing multi-level inverter specific harmonic elimination method based on intelligent algorithm.

[0006] The technical solution adopted by the present invention is a specific harmonic elimination method based on an improved hybrid particle swarm taboo algorithm, comprising the following steps:

[0007] Step 1: Collect the input and output signals of the multilevel inverter, and construct a nonlinear transcendental equation group to solve the switching angle according to the collected input and output signals:

[0008]

[0009] Where m is the modulation ratio, L is the number of levels of the multilevel inverter, n is the number of harmonics to be eliminated, N is the number of switching angles, and α k is the kth switching angle, p k is the coefficient of the cosine function, p k The value of α k Change, α k When p is rising k Take 1, α k When p is the falling edge k Take -1;

[0010] Step 2, using the particle swarm algorithm with improved weights to solve the nonlinear transcendental equations constructed in step 1, and obtain the global optimal solution gb;

[0011] Step 3, further search using the improved taboo search algorithm in the continuous neighborhood of the global optimal solution gb calculated in step 2 to obtain the global optimal solution αb;

[0012] Step 4: Convert the global optimal solution αb obtained by the taboo algorithm into a pulse signal to drive the switch tube in the multilevel inverter, thereby completing the elimination of specific harmonics.

[0013] The technical feature of the present invention is that:

[0014] The specific process of step 1 is as follows:

[0015] Step 1.1, collect the input and output signals of the multilevel inverter, and use the output phase reference voltage U ref and input side DC voltage U dc , solve for the modulation ratio m:

[0016]

[0017] Step 1.2: Output phase voltage V of multilevel inverter AN Performing Fourier analysis, we get the following expression:

[0018]

[0019] Among them, A n , B nrepresents the amplitude of each harmonic, ω is the angular frequency;

[0020] Collect the output phase voltage waveform of the multilevel inverter and list the amplitude of each harmonic A according to the waveform symmetry. n , B n The expression of , and determine the switching angle number N according to the harmonic number n to be eliminated:

[0021]

[0022] Step 1.3, substitute equation (4) into equation (3), set the fundamental amplitude A1 equal to the reference voltage value, select the subharmonic amplitude equal to zero, and construct a nonlinear transcendental equation group to solve the switching angle.

[0023] The specific process of step 2 is as follows:

[0024] Step 2.1, transform the nonlinear transcendental equations constructed in step 1 into:

[0025]

[0026] According to the deformed nonlinear transcendental equations, the adaptive value function F is established:

[0027] F=f1 2 +f2 2 +f3 2 +…+f n 2 (6)

[0028] Step 2.2, use the improved weighted particle swarm algorithm to preliminarily solve the nonlinear transcendental equations (5), randomly generate a group of feasible solutions, calculate the fitness value of the feasible solutions using formula (6), and set the feasible solution with the smallest fitness value as the global optimal solution gb;

[0029] Step 2.3, update the position and velocity of each feasible solution, and the update equation is: ij (t+1)=ωv ij (t)+c1r1(pb ij (t)-x ij (t))+c2r2(gb(t)-x ij (t)) (7)

[0030] x ij (t+1)=x ij (t)+v ij (t+1) (8)

[0031] In the formula, i represents the i-th solution; j represents the j-th dimension of the solution; t is the number of iterations, r1 and r2 are random numbers between [0, 1], c1 is the cognitive learning factor, c2 is the social learning factor, and pb is the ij represents the j-th individual optimal solution of the ith solution, gb represents the global optimal solution; ω is the inertia weight, that is

[0032]

[0033] In the formula, ω1 and ω2 are the upper and lower limits of the inertia weight, Max1 is the maximum number of iterations, and Generation1 is the number of iterations;

[0034] Step 2.4, using the fitness value function F obtained in step 2.1 to calculate the fitness value of each solution, and compare the newly generated solution with the fitness values ​​of the individual optimal solution pb and the global optimal solution gb, and take the solution corresponding to the smaller fitness value as the new individual optimal solution and the global optimal solution;

[0035] Step 2.5, determine whether the number of iterations reaches the maximum number of iterations. When the maximum number of iterations is reached, end the loop and output the global optimal solution gb, which is the global optimal solution calculated by the improved particle swarm algorithm; otherwise, return to step 2.3 to continue executing the algorithm.

[0036] The specific process of step 3 is as follows:

[0037] Step 3.1, set the global optimal solution gb output in step 2 as the initial optimal solution αbest of the taboo search algorithm and the current optimal solution αnow, and set the taboo table to empty;

[0038] Step 3.2, calculate the adaptation value of the optimal solution αbest. When the adaptation value of the optimal solution αbest is less than the preset value T, end the search operation process and output the optimal solution αbest, that is, the global optimal solution αb with higher accuracy obtained by the taboo search algorithm. Otherwise, execute step 3.3;

[0039] Step 3.3, search the neighborhood of the current optimal solution αnow to obtain a neighborhood solution set, obtain the fitness value of each neighborhood solution according to the fitness value function F, and select a part of the solutions with the smallest fitness value as candidate solutions to form a candidate solution set. The relationship between the neighborhood length and the number of iterations is as follows:

[0040]

[0041] Where Nei is the neighborhood length, Nei1 and Nei2 are the upper and lower limits of the neighborhood length, Max2 is the maximum number of iterations, and Generation2 is the number of iterations;

[0042] Step 3.4, update the taboo object according to the change of neighborhood length, retaining the number of decimal places and taboo length;

[0043] Step 3.5, determine whether there is a solution that satisfies the contempt criterion (Formula 11) in the candidate solution set. If there is a candidate solution that satisfies the contempt criterion, execute step 3.6, otherwise execute step 3.7;

[0044] F(α ca )<F(αbest) (11)

[0045] where α ca is the candidate solution with the smallest fitness value.

[0046] Step 3.6, replace the optimal solution αbest and the current optimal solution αnow with the candidate solution, and put the corresponding taboo objects into the taboo table, set the term as the taboo length, and then reduce the term of the remaining taboo objects in the taboo table by 1, and then return to step 3.2;

[0047] Step 3.7, determine the taboo attributes of each element in the candidate solution set, set the optimal candidate solution that is not tabooed as the current optimal solution αnow, and put its corresponding taboo object into the taboo table, set the term as the taboo length, and reduce the term of each remaining taboo object in the taboo table by 1, and then return to step 3.2.

[0048] The specific process of step 3.4 is as follows:

[0049] Step 3.4.1, adjust the number of decimal places reserved for taboo objects according to the neighborhood length. The selection rules for the number of decimal places reserved for taboo objects are as follows:

[0050] (1) The accuracy of taboo objects must be smaller than the neighborhood length;

[0051] (2) If the optimal solution does not change after multiple iterations, the number of decimal places retained by the taboo objects is increased;

[0052] Step 3.4.2, adjust the taboo length according to the neighborhood length, as follows:

[0053]

[0054] Where TL is the taboo length, TL1 is the initial taboo length, Nei1 is the upper limit of the neighborhood length, and [] indicates an integer.

[0055] The beneficial effect of the present invention is that, when solving the SHEPWM nonlinear transcendental equation group, the present application combines the improved particle swarm algorithm with the improved taboo search algorithm to obtain better algorithm performance, the two algorithms complement each other, and the improved particle swarm algorithm is used to search for information interaction between particles in the early stage to achieve rapid convergence and improve the algorithm speed, and the improved taboo search algorithm is used to improve the solution accuracy by using the strong local search ability, so that the number of harmonics of the multi-level inverter to be eliminated is more accurate. The present application improves the method for selecting the inertia weight in the particle swarm algorithm, so that the inertia weight value decreases with the number of evolution times to avoid the occurrence of premature maturation; at the same time, the solution accuracy of the algorithm is improved by improving the selection of some parameters in the taboo search algorithm. When the neighborhood is a continuous domain, the size of the neighborhood in the improved taboo search algorithm is gradually reduced as the number of iterations increases, so as to increase the probability of searching for the global optimal solution; and the taboo length and the number of decimal places retained by the taboo object are dynamically adjusted according to the range of the neighborhood. The taboo length decreases proportionally with the decrease in the neighborhood range, which can reduce the probability of missing the global optimal solution; the adjustment of the number of decimal places retained by the taboo object can avoid many similar solutions from being repeatedly tabooed, reduce invalid searches, improve search efficiency, and also improve the accuracy of the obtained solution, and can accurately and quickly eliminate the selected subharmonic components of the multi-level inverter. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A flowchart of a specific harmonic elimination method based on an improved hybrid particle swarm taboo algorithm of the present invention;

[0057] Figure 2 A topological structure diagram for use in an example of the present invention;

[0058] Figure 3 The phase voltage waveform diagram is obtained by using the improved hybrid particle swarm taboo algorithm in the example of the present invention;

[0059] Figure 4 It is a phase voltage FFT analysis diagram calculated by using the improved hybrid particle swarm taboo algorithm in the example of the present invention;

[0060] Figure 5 It is a line voltage waveform diagram calculated by using the improved hybrid particle swarm taboo algorithm in the example of the present invention;

[0061] Figure 6 It is a line voltage FFT analysis diagram calculated by using the improved hybrid particle swarm taboo algorithm in the example of the present invention;

[0062] Figure 7 The phase voltage waveform diagram obtained by using the traditional SPWM method in the example of the present invention;

[0063] Figure 8 This is a phase voltage FFT analysis diagram obtained by using the traditional SPWM method in an example of the present invention;

[0064] Fig. 9 The waveform diagram of the line voltage obtained by using the traditional SPWM method in the example of the present invention;

[0065] Fig.10 This is a line voltage FFT analysis diagram obtained by using the traditional SPWM method in an example of the present invention;

[0066] Fig.11 It is a relationship diagram between the evolutionary generation and the fitness value of the particle swarm algorithm used alone in the example of the present invention;

[0067] Fig.12 It is a relationship diagram between the evolutionary algebra and the fitness value of the tabu search algorithm used alone in the example of the present invention;

[0068] Fig.13 This is a relationship diagram between the evolutionary algebra and the fitness value of the hybrid particle swarm taboo algorithm improved by the present application in an example of the present invention. DETAILED DESCRIPTION

[0069] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0070] The present invention provides a specific harmonic elimination method based on an improved hybrid particle swarm taboo algorithm, referring to Figure 1 , including the following steps:

[0071] Step 1: Construct a set of nonlinear transcendental equations to solve the switch angle

[0072] Step 1.1, collect the input and output signals of the 9-level cascade H-bridge inverter, and use its output phase reference voltage U ref And the input side DC voltage U dc , solve for the modulation ratio m:

[0073]

[0074] Step 1.2: Output phase voltage V of multilevel inverter AN Performing Fourier analysis, we get the following expression:

[0075]

[0076] Among them, A n , B n represents the amplitude of each harmonic, ω is the angular frequency, and in this embodiment, the frequency is 50 Hz, then ω=2π*50rad / s;

[0077] Collect the output phase voltage waveform of the multilevel inverter and list the amplitude of each harmonic according to the waveform symmetry. n , B nThe expression is as shown in formula (3). And the switching angle number N is determined according to the harmonic order n to be eliminated. In this example, the harmonics to be eliminated are 5, 7, 11, 13, 17, 19, and 23, a total of 7 harmonics, so the switching angle number N = 8:

[0078]

[0079] Step 1.3, substitute equation (3) into equation (2), set the fundamental amplitude A1 equal to the reference voltage value, select the subharmonic amplitude equal to zero, and construct a nonlinear transcendental equation group to solve the switching angle, that is,

[0080]

[0081] In the formula, α k is the kth switching angle, p k is the coefficient of the cosine function, p k The value of α k Change, α k When p is rising k Take 1, α k When p is the falling edge k Take -1; L is the number of levels of the multi-level inverter. In this embodiment, a 9-level cascaded H-bridge inverter is selected, so L=9;

[0082] Step 2: Use the improved particle swarm algorithm to solve the nonlinear transcendental equations constructed in step 1, as follows:

[0083] Step 2.1, transform the nonlinear transcendental equations constructed in step 1 into:

[0084]

[0085] And the adaptation value function F is established according to the deformed nonlinear transcendental equations:

[0086] F=f1 2 +f2 2 +f3 2 +…+f8 2 (6)

[0087] Step 2.2, use the improved weighted particle swarm algorithm to preliminarily solve the nonlinear transcendental equations (5), randomly generate a group of feasible solutions, calculate the fitness value of the feasible solutions using formula (6), and set the feasible solution with the smallest fitness value as the global optimal solution gb;

[0088] Step 2.3, update the position and velocity of each feasible solution, and the update equation is: ij (t+1)=ωv ij (t)+c1r1(pb ij (t)-xij (t))+c2r2(gb(t)-x ij (t)) (7)

[0089] x ij (t+1)=x ij (t)+v ij (t+1) (8)

[0090] In the formula, i represents the i-th solution; j represents the j-th dimension of the solution; t is the number of iterations, r1 and r2 are random numbers between [0, 1], c1 is the cognitive learning factor, c2 is the social learning factor, c1 = c2 = 1.49445, pb ij represents the j-th individual optimal solution of the ith solution, gb represents the global optimal solution; ω is the inertia weight, that is

[0091]

[0092] Wherein, Max1 is the maximum number of iterations, which is 50 in this embodiment, Generation1 is the number of iterations, ω1 is the upper limit of the inertia weight, and ω2 is the lower limit of the inertia weight. In this embodiment, ω1 is 0.9 and ω2 is 0.3;

[0093] Step 2.4, using the fitness value function F obtained in step 2.1 to calculate the fitness value of each solution, and compare the newly generated solution with the fitness values ​​of the individual optimal solution pb and the global optimal solution gb, and take the solution corresponding to the smaller fitness value as the new individual optimal solution and the global optimal solution;

[0094] Step 2.5, determine whether the maximum number of iterations has been reached. When the maximum number of iterations has been reached, end the loop and output the global optimal solution gb, which is the global optimal solution calculated using the improved particle swarm algorithm; otherwise, return to step 2.3 to continue executing the algorithm.

[0095] Step 3: Further search in the continuous neighborhood of the global optimal solution gb output in step 2 using the taboo search algorithm with improved taboo length and the number of decimal places reserved for taboo objects to obtain a more accurate global optimal solution αb, as follows:

[0096] Step 3.1, set the global optimal solution gb output in step 2 as the initial optimal solution αbest and the current optimal solution αnow of the taboo search algorithm, and set the taboo table to empty;

[0097] Step 3.2, calculate the adaptation value of the optimal solution αbest. When the adaptation value of the optimal solution is less than the preset value T (T is 0.01 in this embodiment), the search operation process is terminated and the optimal solution is output. The optimal solution at this time is the global optimal solution αb obtained by the taboo search algorithm. Otherwise, execute step 3.3;

[0098] Step 3.3, search the neighborhood of the current optimal solution αnow to obtain the neighborhood solution set, obtain the fitness value of each neighborhood solution according to the fitness value function F, and select the 50 solutions with the smallest fitness value as candidate solutions to form the candidate solution set. The relationship between the neighborhood length and the number of iterations is as follows:

[0099]

[0100] Wherein, Nei is the neighborhood length, Nei1 and Nei2 are the upper and lower limits of the neighborhood length. In this embodiment, the upper and lower limits of the neighborhood length are 10 and 0.001 respectively, Max2 is the maximum number of iterations, which is 450 in this embodiment, and Generation2 is the number of iterations.

[0101] Step 3.4, update the taboo object according to the change of neighborhood length to retain the decimal places and taboo length. The specific process is as follows:

[0102] Step 3.4.1, adjust the number of decimal places reserved for taboo objects according to the neighborhood length. The selection rules for the number of decimal places reserved for taboo objects are as follows:

[0103] (1) The accuracy of the taboo object must be smaller than the neighborhood length;

[0104] (2) When the optimal solution does not change after 50 iterations, the number of decimal places reserved for taboo objects is increased. In this embodiment, the number of decimal places reserved for taboo objects v is selected as follows:

[0105]

[0106] Step 3.4.2, adjust the taboo length according to the neighborhood length, as follows:

[0107]

[0108] In the formula, TL is the taboo length, TL1 is the initial taboo length, Nei1 is the upper limit of the neighborhood length, and [] indicates an integer;

[0109] Step 3.5, determine whether there is a solution that satisfies the contempt criterion (such as formula 13) in the candidate solution set. If there is a candidate solution that satisfies the contempt criterion, execute step 3.6, otherwise execute step 3.7;

[0110] F(α ca )<F(αbest) (13)

[0111] where α ca is the candidate solution with the smallest fitness value.

[0112] Step 3.6, replace the optimal solution αbest and the current optimal solution αnow with the candidate solution, and put the corresponding taboo objects into the taboo table, set the term as the taboo length, and then reduce the term of the remaining taboo objects in the taboo table by 1, and then execute step 3.2;

[0113] Step 3.7, determine the taboo attributes of each element in the candidate solution set, set the optimal candidate solution that is not tabooed as the current optimal solution αnow, and put its corresponding taboo object into the taboo table, set the term as the taboo length, and reduce the term of each remaining taboo object in the taboo table by 1, and then return to step 3.2 to continue executing the taboo search algorithm.

[0114] Step 4: Use a digital signal collector to convert the solved switch angle into a pulse signal, and use the pulse signal to drive the switch tube in the 9-level cascade H-bridge inverter to turn on and off, that is, to remove the specific harmonics of the 9-level cascade H-bridge inverter.

[0115] Figure 3 and Figure 4 They are the output phase voltage waveform diagram and FFT analysis diagram calculated by the improved hybrid particle swarm taboo algorithm of the present invention. It can be seen from the figure that only multiples of 3 exist in the lower harmonics in the output phase voltage waveform, and the selected harmonic components (5th, 7th, 11th, 13th, 17th, 19th, and 23rd harmonics) are effectively eliminated.

[0116] Figure 5 and Figure 6 They are line voltage waveform diagram and FFT analysis diagram calculated by using the improved hybrid particle swarm taboo algorithm of the present invention. It can be seen from the figure that the output waveform harmonics are small and the selected harmonic components (5th, 7th, 11th, 13th, 17th, 19th, 23rd harmonics) are effectively eliminated.

[0117] Figure 7 and Figure 8 They are respectively the phase voltage waveform diagram and FFT analysis diagram obtained by using the traditional SPWM method in the example of the present invention, and Figure 3 , Figure 4 By comparison, it can be seen that the phase voltage THD content and fundamental amplitude obtained by using the method of the present application and the traditional SPWM method are slightly increased, and the overall difference is not large.

[0118] Fig. 9 and Fig.10 They are respectively the line voltage waveform diagram and FFT analysis diagram obtained by using the traditional SPWM method in the example of the present invention, and Figure 5 , Figure 6 By comparison, it can be seen that the line voltage THD obtained by the method of the present application and the traditional SPWM method is not much different, and even slightly reduced. Figure 8It can be seen that the method of the present application will not cause a significant increase in the THD of the waveform, but can effectively eliminate low-order harmonics, and then use a first-order low-pass filter to obtain a very high-quality sinusoidal waveform.

[0119] Fig.11 and Fig.12 They are respectively the relationship diagrams between the evolutionary algebra and the fitness value of the improved particle swarm algorithm and the improved tabu search algorithm used alone in the examples of the present invention, Fig.13 This is a relationship diagram between the evolutionary algebra and the fitness value of the hybrid particle swarm taboo algorithm improved by the present application in the example of the present invention, from Figure 11-13 It can be seen that the particle swarm algorithm alone has a fast convergence speed in the early stage, but the error of the result is large, and the adaptation value is difficult to be optimized to below 0.01; the taboo search algorithm alone has a small error but a slow evolution speed; the improved hybrid particle swarm taboo algorithm of the present invention can improve both accuracy and efficiency. When evolving to the 150th generation under the condition of calculating 8 angles, the global optimal solution has basically been searched, and the adaptation value is optimized to below 0.01, and the adaptation value is close to 0 under different modulation conditions, indicating that the multi-level inverter switch angle calculated by the method of the present invention has high accuracy and can accurately eliminate the selected subharmonic components.

Claims

1. A specific harmonic elimination method based on an improved hybrid particle swarm taboo algorithm, characterized in that: The following steps are involved: Step 1, collecting input and output signals of the multilevel inverter, and constructing a nonlinear transcendental equation group for solving the switching angle according to the collected input and output signals; The specific process of step 1 is as follows: Step 1.1, collect the input and output signals of the multilevel inverter, and use the output phase reference voltage U ref And the input side DC voltage U dc , solve for the modulation ratio m: Step 1.2: Output phase voltage V of multilevel inverter AN Performing Fourier analysis, we get the following expression: Among them, A n , B n represents the amplitude of each harmonic, ω is the angular frequency; Collect the output phase voltage waveform of the multilevel inverter and list the amplitude of each harmonic A according to the waveform symmetry. n , B n The expression of , and determine the switching angle number N according to the harmonic number n to be eliminated: Step 1.3, substitute equation (3) into equation (2) and let the fundamental amplitude A 11 Equal to the reference voltage value, the subharmonic amplitude is selected to be equal to zero, and a nonlinear transcendental equation group for solving the switching angle is constructed: Where m is the modulation ratio, L is the number of levels of the multilevel inverter, n is the number of harmonics to be eliminated, N is the number of switching angles, and α k is the kth switching angle, p k is the coefficient of the cosine function, p k The value of α k Change, α k When p is rising k Take 1, α k When p is the falling edge k Take -1; Step 2, using the particle swarm algorithm with improved weights to solve the nonlinear transcendental equations constructed in step 1, and obtain the global optimal solution ɡb; The specific process of step 2 is as follows: Step 2.1, transform the nonlinear transcendental equations constructed in step 1 into: And the adaptation value function F is established according to the deformed nonlinear transcendental equations: <h2 style=";text-align:left;direction:ltr">F = f1<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> +f2<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> +f3<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> +…+f<h2 style=";text-align:left;direction:ltr"> n <h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> (6) Step 2.2, using the improved weighted particle swarm algorithm to preliminarily solve the nonlinear transcendental equations, randomly generate a group of feasible solutions, calculate the fitness value of the feasible solutions using formula (5), and set the feasible solution with the smallest fitness value as the global optimal solution ɡb; Step 2.3, update the position and velocity of each feasible solution, and the update equation is: v ij (t+1)=ωv ij (t)+c1r1(pb ij (t)-x ij (t))+c2r2(gb(t)-x ij (t)) (7) x ij (t+1)=x ij (t)+v ij (t+1) (8) In the formula, i represents the i-th solution; j represents the j-th dimension of the solution; t is the number of iterations, r1 and r2 are random numbers between [0, 1], c1 is the cognitive learning factor, c2 is the social learning factor, pb ij represents the j-th dimension individual optimal solution of the ith solution, gb represents the global optimal solution; ω is the inertia weight, that is In the formula, ω1 and ω2 are the upper and lower limits of the inertia weight, Max1 is the maximum number of iterations, and Generation1 is the number of iterations; Step 2.4, using the fitness value function F obtained in step 2.1 to calculate the fitness value of each solution, and compare the newly generated solution with the fitness values ​​of the individual optimal solution pb and the global optimal solution gb, and take the solution corresponding to the smaller fitness value as the new individual optimal solution and the global optimal solution; Step 2.5, determine whether the number of iterations reaches the maximum number of iterations. When the maximum number of iterations is reached, end the loop and output the global optimal solution gb, otherwise return to step 2.3 to continue executing the algorithm; Step 3, further search using the improved taboo search algorithm in the continuous neighborhood of the global optimal solution gb calculated in step 2 to obtain the global optimal solution αb; The specific process of step 3 is as follows: Step 3.1, set the global optimal solution gb output in step 2 as the initial optimal solution αbest and the current optimal solution αnow of the taboo search algorithm, and set the taboo table to empty; Step 3.2, calculate the adaptation value of the optimal solution αbest. When the adaptation value of the optimal solution αbest is less than the preset value T, end the search operation process and output the optimal solution, that is, the global optimal solution αb. Otherwise, execute step 3.

3. Step 3.3, search the neighborhood of the current optimal solution αnow to obtain a neighborhood solution set, obtain the fitness value of each neighborhood solution according to the fitness value function F, and select a part of the solutions with the smallest fitness value as candidate solutions to form a candidate solution set. The relationship between the neighborhood length and the number of iterations is as follows: Where Nei is the neighborhood length, Nei1 and Nei2 are the upper and lower limits of the neighborhood length, Max2 is the maximum number of iterations, and Generation2 is the number of iterations; Step 3.4, update the taboo object according to the change of neighborhood length, retaining the number of decimal places and taboo length; Step 3.5, determine whether there is a solution that satisfies the contempt criterion formula (10) in the candidate solution set. If there is a candidate solution that satisfies the contempt criterion, execute step 3.6, otherwise execute step 3.7; F(a ca ) <F(αbest) (11) where α ca is the candidate solution with the smallest fitness value; Step 3.6, replace the optimal solution αbest and the current optimal solution αnow with the candidate solution, and put the corresponding taboo objects into the taboo table, set the term as the taboo length, and then reduce the term of the remaining taboo objects in the taboo table by 1, and then return to step 3.2; Step 3.7, determine the taboo attribute of each element in the candidate solution set, set the optimal candidate solution that is not tabooed as the current optimal solution αnow, and put its corresponding taboo object into the taboo table, set the term as the taboo length, reduce the term of each taboo object in the taboo table by 1, and then return to step 3.2; Step 4: Convert the global optimal solution αb obtained by the taboo algorithm into a pulse signal to drive the switch tube in the multilevel inverter, thereby completing the elimination of specific harmonics.

2. The specific harmonic elimination method based on improved hybrid particle swarm taboo algorithm according to claim 1 is characterized in that: The specific process of step 3.4 is as follows: Step 3.4.1, adjust the number of decimal places reserved for taboo objects according to the neighborhood length. The selection rules for the number of decimal places reserved for taboo objects are as follows: (1) The accuracy of taboo objects must be smaller than the neighborhood length; (2) If the optimal solution does not change after multiple iterations, the number of decimal places retained by the taboo objects is increased; Step 3.4.2, adjust the taboo length according to the neighborhood length, as follows: Where TL is the taboo length, TL1 is the initial taboo length, Nei1 is the upper limit of the neighborhood length, and [] indicates an integer.

Citation Information

Patent Citations

  • SHEPWM control system and method for multi-level inverter

    CN105958854A