A multi-objective joint optimization method, electronic device and storage medium for a three-level PWM rectifier
Through the multi-objective joint optimization method of the three-level PWM rectifier, the control and design parameters of the rectifier are optimized, the problem of harmonic pollution of the power grid is solved, and efficient, low-noise rectifier operation and bidirectional flow of energy are achieved.
Patent Information
- Application Number
- CN202311439776.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-11-01
AI Technical Summary
Traditional rectifiers cause harmonic pollution to the power grid in power electronic converter devices. Existing suppression methods are not ideal and it is difficult to optimize the steady-state and dynamic performance of the rectifier.
The multi-objective joint optimization method of the three-level PWM rectifier is used to optimize the control system parameters and design parameters by constructing mathematical models, current loop models and sparrow search algorithms to achieve grid-side current harmonics, DC side voltage ripple, and post-interference voltage. Optimization of varying amplitude and current settling time.
It achieves high power factor, low harmonic content, high efficiency and low noise operation, eliminates harmonic pollution to the power grid, ensures that the rectifier realizes bidirectional energy flow under unit power factor state, and stabilizes the DC side voltage.
Smart Images

Figure CN117526326B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of PWM rectifier control, and in particular relates to a multi-objective joint optimization method, electronic equipment and storage medium for a three-level PWM rectifier. Background Art
[0002] In recent years, with the rapid development of the electric industry, general rectifier equipment will generate a large amount of harmonics when working, causing pollution to the power grid. The rectifier is actually a converter device that can be controlled on the AC and DC sides and can operate in four quadrants. Due to the bidirectional transmission of electric energy, when the rectifier absorbs electric energy from the power grid, it operates in the rectification working state; and when the rectifier transmits electric energy to the power grid, it operates in the active inverter working state.
[0003] With the rapid development of power electronic converter technology, various converters based on PWM rectifiers have emerged, such as frequency converters, inverters, high-frequency switching power supplies, and various special converters. The use of power electronic devices will cause serious harmonic pollution problems to the power grid. The traditional rectification method, whether it is diode uncontrolled rectification or thyristor phase-controlled rectification circuit, cannot transfer energy in both directions, which not only reduces energy utilization but also increases pollution.
[0004] At present, there are two methods to suppress the pollution of power grid by power electronic devices: the first is to set up compensation devices. By compensating for known frequency harmonics, this method is applicable to all harmonic sources, but its disadvantage is that it can only compensate for harmonics of specified frequencies, and its application scope is limited. The second is to transform the performance of the rectifier device itself, and by optimizing the control strategy and parameter settings, the voltage and current input on the grid side are close to the same phase of the sine wave, so as to achieve unity power factor operation. However, the adjustment effects of the above two methods are not particularly ideal. Summary of the invention
[0005] The problem to be solved by the present invention is to improve the steady-state and dynamic performance of the rectifier by considering the mutual influence between the control parameters and the rectifier design parameters, and propose a multi-objective joint optimization method, electronic device and storage medium for a three-level PWM rectifier.
[0006] To achieve the above object, the present invention is implemented through the following technical solutions:
[0007] A multi-objective joint optimization method for a three-level PWM rectifier comprises the following steps:
[0008] S1. Construct a mathematical model of a three-level PWM rectifier;
[0009] S2. Based on the mathematical model of the three-level PWM rectifier constructed in step S1, the objective function is constructed with the grid-side current harmonics, the DC-side voltage ripple, the voltage change amplitude after interference, the voltage stabilization time, the current change amplitude after interference, and the current stabilization time as control system parameters;
[0010] S3. Construct a current loop model of a three-level PWM rectifier and extract an optimization object of the three-level PWM rectifier;
[0011] S4. Construct a multi-objective joint optimization method for a three-level PWM rectifier based on a sparrow search algorithm, optimize and update the control system parameters obtained in step S2 and the optimization object obtained in step S3 to obtain an optimization result;
[0012] S5. Input the optimization result obtained in step S4 into the simulation model constructed in step S1, and repeat steps S1-S4 until the value of the optimization object enables the three-level PWM rectifier to achieve optimal steady-state and dynamic performance.
[0013] Furthermore, the specific implementation method of step S1 includes the following steps:
[0014] S1.1. Establishment of assumptions for a three-level PWM rectifier;
[0015] S1.1.1. Set the two series capacitors on the DC side to be equal and ignore the midpoint potential drift;
[0016] S1.1.2. Set the boost filter inductor and switch tube of the three-level PWM rectifier to an ideal balance with symmetrical parameters;
[0017] S1.1.3. Set all voltages of the three-level PWM rectifier to the midpoint of the capacitor as the reference point;
[0018] S1.1.4. Set the switching frequency of the three-level PWM rectifier to be much larger than the output fundamental frequency;
[0019] S1.2. Replace the power switch tube of each bridge arm in the three-level PWM rectifier circuit with a single-pole three-throw switch, treat the grid voltage and load current as disturbance inputs, take the three-phase input current and the DC side series capacitor voltage as state variables, and establish the mathematical model of the three-level PWM rectifier based on Kirchhoff's voltage and current equations. The calculation expression is:
[0020]
[0021]
[0022]
[0023] Among them, L is the inductance of the rectifier AC side, R is the resistance of the AC side, u sa 、u sb and u sb are the grid phase a voltage, b phase voltage, and c phase voltage respectively, i sa 、i sb and i sc is the grid phase a current, b phase current, c phase current; u no is the voltage between the midpoint of the capacitor and the midpoint of the grid, S a1 , S b1 , S c1 are the first switching function of phase a, phase b, and phase c of the power grid, respectively, S a2 , S b2 , S c2 are the second switching function of phase a, phase b, and phase c of the power grid, respectively, V dc1 is the DC side voltage of the first phase rectifier, V dc2 is the DC side voltage of the second phase rectifier;
[0024] S1.3. Based on the assumption of step S1.1 that the three-phase grid voltage is balanced, the calculation expression is:
[0025] i sa +i sb +i sc =0
[0026] u sa +u sb +u sb =0
[0027] Then get u no The calculation expression is:
[0028] u no =-1 / 3(S a1 +S b1 +S c1 )V dc1 +1 / 3(S a2 +S b2 +S c2 )
[0029] Then the calculation expressions of the two bus capacitance functions are calculated as follows:
[0030]
[0031] Among them, C1 and C2 are two capacitors of equal value for the DC bus, i L is the DC side load current;
[0032] S1.4. Based on steps S1.1-S1.3, the calculation expression of the mathematical model X of the three-level PWM rectifier bridge in the ABC three-phase coordinate system is obtained as follows:
[0033] X=AX+BU
[0034] Among them, A is the capacitance coefficient, U is the three-level PWM rectifier bridge voltage, and B is the inductance transposition coefficient;
[0035] X=[i sa i sb i sc V dc1 V dc2 ] T
[0036]
[0037] U=[u sa u sb u sc i L i L ] T
[0038]
[0039] S1.5. Based on the three-phase grid voltage fluctuation, the calculation expression is:
[0040]
[0041] Where, ω is the angular frequency of the power grid; α is the initial phase angle of phase A voltage, V sm is the peak value of the phase voltage.
[0042] Furthermore, the calculation expression of the switch function in step S1.2 is:
[0043]
[0044] Among them, V i is the power switch tube corresponding to the i-th three-level PWM rectifier;
[0045] The function S a Decompose into S a1 , S a2 , S a3 Three single-pole switches, set the switch point to 1 when connected and 0 when disconnected, and get the following relationship:
[0046] When S a =2, then S a1 =1, S a2 =0, S a3 =0;
[0047] When S a =1, then S a1 =1, S a2 =0, S a3 =0;
[0048] When S a =0, then S a1 =1, S a2 =0, S a3 =0.
[0049] Furthermore, the specific implementation method of step S2 includes the following steps:
[0050] S2.1. Run the three-level PWM rectifier mathematical model constructed in step S1 to calculate the grid-side current harmonics i thd , DC side voltage ripple u σ , voltage change amplitude after interference u h , voltage stabilization time t u , the current change amplitude after interference i h , Current stabilization time t i , as control system parameters;
[0051] S2.2. Based on the control system parameters obtained in step S2.1, the optimization objective function f(x) is constructed, and the calculation expression is:
[0052] f(x)=[i thd ,u σ ,u h ,t u ,i h ,t i ].
[0053] Furthermore, the specific implementation method of step S3 includes the following steps:
[0054] S3.1. Set up the three-level PWM rectifier control system to adopt double closed-loop control, voltage outer loop and current inner loop, and use Kirchhoff's voltage and current laws to establish the state space equation of the three-phase PWM rectifier in the three-phase stationary coordinate system. The calculation expression is:
[0055]
[0056] Among them, u dc is the bus voltage, i k is the kth current, S k is the kth switching function, R s is the line resistance, R L is the inductor resistance;
[0057] S3.2. Based on the state space equation of the three-phase PWM rectifier in the three-phase stationary coordinate system in step S3.1, a mathematical model of the three-phase PWM rectifier in the oriented two-phase rotating coordinate system is constructed, and the calculation expression is:
[0058]
[0059] Among them, u d =S d u dc ,u q =S q u dc , (i d 、i q )、(e d 、e q )、(S d , S q )、(u d 、u q ) are respectively the grid current, the d-axis and q-axis components of the rectifier port output voltage, the switching function, and the grid voltage in the two-phase rotating coordinate system;
[0060] S3.3. Construct the current loop model of the three-level PWM rectifier, use the feedforward decoupling method for the current inner loop, and realize the decoupling control of the d and q axes. The calculation expression is:
[0061]
[0062] Among them, u dref is the true value of the d-axis voltage, u qref is the true value of q-axis voltage;
[0063] S3.4. Based on the current loop model of the three-level PWM rectifier constructed in step S3.3, the optimization object of the three-level PWM rectifier is extracted, including the capacitance value, the inductance value, the voltage loop PI parameters and the current loop PI parameters.
[0064] Furthermore, the specific implementation method of step S4 includes the following steps:
[0065] S4.1. The sparrow search algorithm is obtained by calling the MATLAB toolbox through the gamultiobj function, and the expression is:
[0066] [x,fval]=gamultiobj(fun,nvars,A,b,Aeq,beq,lb,ub,nonlcon,options)
[0067] Among them, x is the effective solution set obtained by the multi-objective genetic algorithm, fval is the corresponding objective function value, fun is the fitness function to be optimized, that is, the objective function to be optimized; nvars is the design variable function, A and b are linear inequality constraints, Aeq and beq are linear equality constraints, lb and ub are the boundaries of the design variables, and nonlcon is the non-linear constraint, that is, the constraint condition of the objective function to be optimized;
[0068] S4.2. Optimize using the sparrow search algorithm, and the steps are as follows:
[0069] S4.2.1. Initialize the population and related parameters, and calculate the fitness value of the initial population;
[0070] S4.2.2. Update the position of the explorer The expression is:
[0071]
[0072] Among them, is the value of the j-th dimension of the i-th sparrow at the t-th iteration, iter max is the maximum number of iterations, α is a random number, R2 and ST are the alarm value and the safety value respectively, Q is a random number that follows a normal distribution, L is a 1*d matrix, and all elements are 1;
[0073] When R2 < ST, it indicates that there are no natural enemies around, and the followers enter the wide-area search mode;
[0074] When R2 > ST, it indicates that there is danger nearby, and all sparrows need to quickly fly to other safe areas;
[0075] S4.2.3. Update the position of the follower, and the expression is:
[0076]
[0077] Among them, X is the optimal position occupied by the explorer, X worst is the current global worst position, A is a 1xd matrix, and each element is randomly assigned 1 or -1, A + = A T (AA T )-1;
[0078] When i > n / 2, it indicates that the i-th follower with a poor fitness value is most likely to starve. In the experiment, it is assumed that the sparrows aware of the danger account for 10% to 20% of the total population;
[0079] S4.2.4. Based on the fact that the initial position of the sparrow is randomly generated, the mathematical model expression is:
[0080]
[0081] Among them, X best is the current global optimal position, β is the step size control parameter, is the normal distribution of random numbers, with a mean of 0 and a variance of 1, K is a random number; f is the fitness value of the current sparrow, f g and f w are the current global best and worst fitness values, respectively, and ε is the smallest constant to avoid the denominator being 0;
[0082] When f i >f g When the sparrow is at the edge of the group, X best Locations that represent population centers, and around which there is safety;
[0083] When f i =f g When , it indicates that the sparrow in the middle of the population is aware of the danger and needs to get closer to other sparrows. K represents the direction in which the sparrow moves, which is also the step length control coefficient.
[0084] S4.3. Based on the method of step S4.2, the control system parameters obtained in step S2 and the optimization object obtained in step S3 are optimized and updated, and the grid-side current harmonics i are updated. thd , DC side voltage ripple u σ , voltage change amplitude after interference u h , voltage stabilization time t u , the current change amplitude after interference i h , Current stabilization time t i .
[0085] The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of a multi-objective joint optimization method for a three-level PWM rectifier when executing the computer program.
[0086] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the multi-objective joint optimization method for a three-level PWM rectifier.
[0087] Beneficial effects of the present invention:
[0088] The multi-objective joint optimization method of a three-level PWM rectifier described in the present invention compares the advantages and disadvantages of the switching devices MOSFET and IGBT, and designs a diode-embedded three-level PWM rectifier based on MOSFET as the front end of the charger. Under the premise of meeting the voltage level requirements, the high switching frequency of MOSFET can enable the PWM rectifier to obtain better performance. Then, by comparing and analyzing the control method and pulse modulation strategy of the PWM rectifier, a three-level PWIM rectifier based on space vector modulation technology and a dual closed-loop control method of voltage outer loop and current inner loop is determined, which has the performance of high power factor, low harmonic content, high efficiency and low noise during operation. The three-level voltage-type PWM rectifier can eliminate the harmonic pollution to the power grid, operate in a unit power factor state, and can realize the bidirectional flow of energy on the AC side and DC side of the rectifier. At the same time, the DC voltage on the DC side of the rectifier is stable and adjustable within a certain range.
[0089] The multi-objective joint optimization method of a three-level PWM rectifier described in the present invention takes the three-level voltage-type PWM rectifier as the research object, first analyzes the principle and topological structure of the three-level PWM rectifier, and on this basis derives its mathematical model in various coordinate systems, providing a theoretical basis for the study of control strategies. Through a detailed analysis of the traditional three-level SVPWM algorithm and a multi-objective genetic algorithm optimized based on the sparrow search algorithm, a multi-objective joint optimization method for PWM rectifier design and control is established, and the optimization object is updated by running calculations.
[0090] The multi-objective joint optimization method of a three-level PWM rectifier described in the present invention uses an intelligent algorithm to design the parameters of the PWM rectifier, avoiding the trouble of manually adjusting each parameter one by one, thus saving manpower; the intelligent algorithm is used to jointly optimize the design and control of the PWM rectifier, and in the PWM rectifier design stage, the mutual influence between the control parameters and the rectifier design parameters is considered, so that the jointly optimized system can have better steady-state and dynamic performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] Figure 1 It is a flow chart of a multi-objective joint optimization method of a three-level PWM rectifier according to the present invention;
[0092] Figure 2 A schematic diagram of the vector relationship of the AC side of the three-level PWM rectifier under steady-state operation conditions of the present invention;
[0093] Figure 3 It is a simplified schematic diagram of the main circuit of the rectifier bridge of the three-level PWM rectifier of the present invention. DETAILED DESCRIPTION
[0094] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the specific embodiments described are only part of the embodiments of the present invention, rather than all of the specific embodiments. The components of the specific embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations, and the present invention can also have other embodiments.
[0095] Therefore, the following detailed description of the specific embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected specific embodiments of the present invention. Based on the specific embodiments of the present invention, all other specific embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.
[0096] In order to further understand the content, features and effects of the present invention, the following specific implementation methods are given as examples, and the attached Figure 1 -Attached Figure 3 The detailed instructions are as follows: Specific implementation method one:
[0098] A multi-objective joint optimization method for a three-level PWM rectifier, characterized by comprising the following steps:
[0099] S1. Construct a mathematical model of a three-level PWM rectifier;
[0100] Furthermore, the specific implementation method of step S1 includes the following steps:
[0101] S1.1. Establishment of assumptions for a three-level PWM rectifier;
[0102] S1.1.1. Set the two series capacitors on the DC side to be equal and ignore the midpoint potential drift;
[0103] S1.1.2. Set the boost filter inductor and switch tube of the three-level PWM rectifier to an ideal balance with symmetrical parameters;
[0104] S1.1.3. Set all voltages of the three-level PWM rectifier to the midpoint of the capacitor as the reference point;
[0105] S1.1.4. Set the switching frequency of the three-level PWM rectifier to be much larger than the output fundamental frequency;
[0106] Furthermore, if the loss of the power switch bridge is not considered, according to the power equal balance relationship of the rectifier, we get:
[0107] i·v=idc·vdc
[0108] Among them, v, i are the voltage and current on the AC side of the model circuit; vdc, idc are the voltage and current on the DC side of the model circuit;
[0109] Under steady-state operation conditions, the vector relationship of the AC side of the three-level PWM rectifier is as follows: Figure 2 As shown: ea, eb, ec are the instantaneous values of the three-phase power supply voltage; ura, urb, urc are the instantaneous values of the input voltage on the AC side of the rectifier bridge; L is the grid-side filter inductor; C1 and C2 are equivalent filter capacitors on the DC side; ia, ib, ic are the instantaneous values of the three-phase input current; v1-v12 are rectifier power switch tubes (IGBT); VD1-VD12 are freewheeling diodes; VD13-VD18 are clamping diodes;
[0110] from Figure 3 It can be seen that the main circuit of the three-phase rectifier is composed of three-phase inductance on the AC side, a three-level rectifier bridge, and a DC side filter capacitor.
[0111] (1) The role of the grid-side filter inductor: The inductor on the AC side can isolate the grid electromotive force and the PWM rectifier AC side voltage, filter out the PWM harmonic current on the rectifier AC side, thereby realizing AC side sinusoidal current control, so that the system has PWMAC / DC conversion performance and DC controlled current source characteristics; at the same time, it can transmit reactive power to the grid, so that the system obtains certain damping characteristics, which is conducive to the stable operation of the system. Increasing the inductance value can reduce the input current harmonics, but if it is too large, it will cause the dynamic response speed of the system to slow down; reducing the inductance value will speed up the system response, but at the same time it will affect the system's load capacity.
[0112] (2) The role of DC filter capacitor: Using DC capacitor as energy storage element is a hallmark of voltage-type PWM rectifier. Its role is to filter out the pulsating components of DC voltage and ensure the normal operation of the rectifier. In the main circuit, its role is mainly to filter out the DC voltage ripple caused by the high-frequency switching action of IGBT and suppress the harmonic voltage on the DC side. In the inertia delay link of the rectifier, the fluctuation of DC voltage is maintained within a limited range. While stabilizing the DC side voltage, its size also affects the working characteristics of the system. Too high or too low is not desirable. From the perspective of the following characteristics of the rectifier's voltage outer loop control, the DC side bus capacitor C should be as small as possible to ensure that the DC side voltage quickly follows the set voltage; from the perspective of DC side voltage anti-interference, it is required that the value of C be as large as possible to limit the impact of load disturbance on the stability of DC side voltage and improve the system's ability to resist load disturbance.
[0113] (3) The function of the freewheeling diode: When the power switch tube is not turned on, the current can flow in the diode to ensure the circuit is smooth. Since the motor is an inductive load, for inductive loads, there will be a very high reverse peak voltage during current conversion, which is generally 7-9 times the rated voltage. The freewheeling diode can protect the IGBT connected in parallel from impact and extend its service life.
[0114] (4) The role of the clamping diode: Compared with the two-level output of P and N of the two-level rectifier circuit, the three-level rectifier bridge can achieve three-level output of P, O, and N through two clamping diodes in each bridge arm. The voltage and current harmonics of the system output are much better than those of the two-level system, and the phase voltage of the load is richer, which improves the reliability of the system. However, it also brings about the problem of mid-point voltage balance, which needs to be compensated in the algorithm.
[0115] S1.2. Replace the power switch tube of each bridge arm in the three-level PWM rectifier circuit with a single-pole three-throw switch, treat the grid voltage and load current as disturbance inputs, take the three-phase input current and the DC side series capacitor voltage as state variables, and establish the mathematical model of the three-level PWM rectifier based on Kirchhoff's voltage and current equations. The calculation expression is:
[0116]
[0117]
[0118]
[0119] Among them, L is the inductance of the rectifier AC side, R is the resistance of the AC side, u sa 、u sb and u sb are the grid phase a voltage, b phase voltage, and c phase voltage respectively, i sa 、i sb and i sc is the grid phase a current, b phase current, c phase current; u no is the voltage between the midpoint of the capacitor and the midpoint of the grid, S a1 , S b1 , S c1 are the first switching function of phase a, phase b, and phase c of the power grid, respectively, S a2 , S b2 , S c2 are the second switching function of phase a, phase b, and phase c of the power grid, respectively, V dc1 is the DC side voltage of the first phase rectifier, V dc2 is the DC side voltage of the second phase rectifier;
[0120] Furthermore, the calculation expression of the switch function in step S1.2 is:
[0121]
[0122] Among them, V i is the power switch tube corresponding to the i-th three-level PWM rectifier;
[0123] The function S a Decompose into S a1 , S a2 , S a3 Three single-pole switches, set the switch point to 1 when connected and 0 when disconnected, and get the following relationship:
[0124] When S a =2, then S a1 =1, S a2 =0, S a3 =0;
[0125] When S a =1, then S a1 =1, S a2 =0, S a3 =0;
[0126] When S a =0, then S a1 =1, S a2 =0, S a3 =0;
[0127] S1.3. Based on the assumption of step S1.1 that the three-phase grid voltage is balanced, the calculation expression is:
[0128] i sa +i sb +i sc =0
[0129] u sa +u sb +u sb =0
[0130] Then get u no The calculation expression is:
[0131] u no =-1 / 3(S a1 +S b1 +S c1 )V dc1 +1 / 3(S a2 +S b2 +S c2 )
[0132] Then the calculation expressions of the two bus capacitance functions are calculated as follows:
[0133]
[0134] Among them, C1 and C2 are two capacitors of equal value for the DC bus, i L is the DC side load current;
[0135] S1.4. Based on steps S1.1-S1.3, the calculation expression of the mathematical model X of the three-level PWM rectifier bridge in the ABC three-phase coordinate system is obtained as follows:
[0136] X=AX+BU
[0137] Among them, A is the capacitance coefficient, U is the three-level PWM rectifier bridge voltage, and B is the inductance transposition coefficient;
[0138] X=[i sa i sb i sc V dc1 V dc2 ] T
[0139]
[0140] U=[u sa u sb u sc i L i L ] T
[0141]
[0142] S1.5. Based on the three-phase grid voltage fluctuation, the calculation expression is:
[0143]
[0144] Where, ω is the angular frequency of the power grid; α is the initial phase angle of phase A voltage, V sm is the peak value of the phase voltage;
[0145] S2. Based on the mathematical model of the three-level PWM rectifier constructed in step S1, the objective function is constructed with the grid-side current harmonics, the DC-side voltage ripple, the voltage change amplitude after interference, the voltage stabilization time, the current change amplitude after interference, and the current stabilization time as control system parameters;
[0146] Furthermore, the specific implementation method of step S2 includes the following steps:
[0147] S2.1. Run the three-level PWM rectifier mathematical model constructed in step S1 to calculate the grid-side current harmonics i thd , DC side voltage ripple u σ , voltage change amplitude after interference uh , voltage stabilization time t u , the current change amplitude after interference i h , Current stabilization time t i , as control system parameters;
[0148] S2.2. Based on the control system parameters obtained in step S2.1, the optimization objective function f(x) is constructed, and the calculation expression is:
[0149] f(x)=[i thd ,u σ ,u h ,t u ,i h ,t i ];
[0150] S3. Construct a current loop model of a three-level PWM rectifier and extract an optimization object of the three-level PWM rectifier;
[0151] In the design of three-level PWM rectifier control system, dual closed-loop control is generally adopted, namely voltage outer loop and current inner loop. The function of voltage outer loop is mainly to control the DC side voltage of three-phase PWM rectifier to track the command voltage and stabilize the DC side bus voltage, while the function of current inner loop is mainly to control the current according to the current command output by voltage outer loop to achieve unity power factor operation of AC current.
[0152] Furthermore, the specific implementation method of step S3 includes the following steps:
[0153] S3.1. Set up the three-level PWM rectifier control system to adopt double closed-loop control, voltage outer loop and current inner loop, and use Kirchhoff's voltage and current laws to establish the state space equation of the three-phase PWM rectifier in the three-phase stationary coordinate system. The calculation expression is:
[0154]
[0155] Among them, u dc is the bus voltage, i k is the kth current, S k is the kth switching function, R s is the line resistance, R L is the inductor resistance;
[0156] S3.2. Based on the state space equation of the three-phase PWM rectifier in the three-phase stationary coordinate system in step S3.1, a mathematical model of the three-phase PWM rectifier in the oriented two-phase rotating coordinate system is constructed, and the calculation expression is:
[0157]
[0158] Among them, ud =S d u dc ,u q =S q u dc , (i d 、i q )、(e d 、e q )、(S d , S q )、(u d 、u q ) are respectively the grid current, the d-axis and q-axis components of the rectifier port output voltage, the switching function, and the grid voltage in the two-phase rotating coordinate system;
[0159] S3.3. Construct the current loop model of the three-level PWM rectifier, use the feedforward decoupling method for the current inner loop, and realize the decoupling control of the d and q axes. The calculation expression is:
[0160]
[0161] Among them, u dref is the true value of the d-axis voltage, u qref is the true value of q-axis voltage;
[0162] S3.4. Extract the optimization object of the three-level PWM rectifier based on the current loop model of the three-level PWM rectifier constructed in step S3.3, including the capacitance value, the inductance value, the voltage loop PI parameters and the current loop PI parameters;
[0163] S4. Construct a multi-objective joint optimization method for a three-level PWM rectifier based on a sparrow search algorithm, optimize and update the control system parameters obtained in step S2 and the optimization object obtained in step S3 to obtain an optimization result;
[0164] Furthermore, the specific implementation method of step S4 includes the following steps:
[0165] S4.1. The sparrow search algorithm is obtained by calling the MATLAB toolbox through the gamultiobj function, and the expression is:
[0166] [x,fval]=gamultiobj(fun,nvars,A,b,Aeq,beq,lb,ub,nonlcon,options)
[0167] Among them, x is the effective solution set obtained by the multi-objective genetic algorithm, fval is the corresponding objective function value, fun is the optimized fitness function, that is, the optimized objective function; nvars is the design variable function, A and b are linear inequality constraints, Aeq and beq are linear equality constraints, lb and ub are the boundaries of the design variables, and nonlcon is the non-linear constraint, that is, the constraint condition of the optimized objective function;
[0168] S4.2. Optimize using the sparrow search algorithm, and the steps are as follows:
[0169] S4.2.1. Initialize the population and related parameters, and calculate the fitness value of the initial population;
[0170] S4.2.2. Update the position of the explorer The expression is:
[0171]
[0172] Among them, is the value of the j-th dimension of the i-th sparrow at the t-th iteration, iter max is the maximum number of iterations, α is a random number, R2 and ST are the alarm value and the safety value respectively, Q is a random number that satisfies the normal distribution, L is a 1*d matrix, and all elements are 1;
[0173] When R2 < ST, it indicates that there are no natural enemies around, and the followers enter the wide-area search mode;
[0174] When R2 > ST, it indicates that there is danger nearby, and all sparrows need to fly to other safe areas quickly;
[0175] S4.2.3. Update the position of the follower, and the expression is:
[0176]
[0177] Among them, X is the optimal position occupied by the explorer, X worst is the current global worst position, A is a 1xd matrix, and each element is randomly assigned 1 or -1, A + = A T (AA T )-1;
[0178] When i > n / 2, it indicates that the i-th follower with a poor fitness value is most likely to starve. In the experiment, it is assumed that the sparrows aware of the danger account for 10% to 20% of the total population;
[0179] S4.2.4. Based on the fact that the initial position of the sparrow is randomly generated, the mathematical model expression is:
[0180]
[0181] Among them, X best is the current global optimal position, β is the step size control parameter, is the normal distribution of random numbers, with a mean of 0 and a variance of 1, K is a random number; f is the fitness value of the current sparrow, f g and f w are the current global best and worst fitness values, respectively, and ε is the smallest constant to avoid the denominator being 0;
[0182] When f i >f g When the sparrow is at the edge of the group, X best Locations that represent population centers, and around which there is safety;
[0183] When f i =f g When , it indicates that the sparrow in the middle of the population is aware of the danger and needs to get closer to other sparrows. K represents the direction in which the sparrow moves, which is also the step length control coefficient.
[0184] S4.3. Based on the method of step S4.2, the control system parameters obtained in step S2 and the optimization object obtained in step S3 are optimized and updated, and the grid-side current harmonics i are updated. thd , DC side voltage ripple u σ , voltage change amplitude after interference u h , voltage stabilization time t u , the current change amplitude after interference i h , Current stabilization time t i ;
[0185] S5. Input the optimization result obtained in step S4 into the simulation model constructed in step S1, and repeat steps S1-S4 until the value of the optimization object enables the three-level PWM rectifier to achieve optimal steady-state and dynamic performance.
[0186] Based on the above steps, the PWM rectifier and control system parameters can be updated and input into the simulation model to obtain the new grid-side current harmonic i thd , DC side voltage ripple u σ , voltage change amplitude after interference u h , voltage stabilization time t u , the current change amplitude after interference i h , Current stabilization time t i Then, the multi-objective genetic algorithm based on the sparrow search algorithm is used to update the PWM rectifier and control system parameters again. This cycle is repeated until the PWM rectifier obtains the best steady-state and dynamic performance, that is, the grid-side current harmonic i thd , DC side voltage ripple u σ, voltage change amplitude after interference u h , voltage stabilization time t u , the current change amplitude after interference i h , Current stabilization time t i Get the minimum value. Specific implementation method 2:
[0188] The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of a multi-objective joint optimization method for a three-level PWM rectifier described in the first specific implementation manner are implemented.
[0189] The computer device of the present invention may be a device including a processor and a memory, such as a single chip microcomputer including a central processing unit, etc. Furthermore, the processor is used to implement the steps of a multi-objective joint optimization method for a three-level PWM rectifier when executing a computer program stored in the memory.
[0190] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0191] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Specific implementation method three:
[0193] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements a multi-objective joint optimization method for a three-level PWM rectifier as described in the first specific implementation manner.
[0194] The computer-readable storage medium of the present invention can be any form of storage medium that can be read by a processor of a computer device, including but not limited to non-volatile memory, volatile memory, ferroelectric memory, etc. A computer program is stored on the computer-readable storage medium. When the processor of the computer device reads and executes the computer program stored in the memory, the steps of the above-mentioned multi-objective joint optimization method of a three-level PWM rectifier can be implemented.
[0195] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.
[0196] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0197] Although the present application has been described above with reference to specific embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present application. In particular, as long as there is no structural conflict, the various features in the specific embodiments disclosed in the present application may be used in combination with each other in any manner, and the fact that these combinations are not exhaustively described in this specification is only for the sake of omitting space and saving resources. Therefore, the present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
Claims
1. A multi-objective joint optimization method for a three-level PWM rectifier, characterized in that: The steps include: S1. Construct a mathematical model of a three-level PWM rectifier; S2. Based on the mathematical model of the three-level PWM rectifier constructed in step S1, the objective function is constructed with the grid-side current harmonics, the DC-side voltage ripple, the voltage change amplitude after interference, the voltage stabilization time, the current change amplitude after interference, and the current stabilization time as control system parameters; The specific implementation method of step S2 includes the following steps: S2.
1. Run the three-level PWM rectifier mathematical model constructed in step S1 to calculate the grid-side current harmonics i thd , DC side voltage ripple u σ , voltage change amplitude after interference u h , voltage stabilization time t u , the current change amplitude after interference i h , Current stabilization time t i , as control system parameters; S2.
2. Based on the control system parameters obtained in step S2.1, the optimization objective function f(x) is constructed, and the calculation expression is: f(x)=[i thd ,u σ ,u h ,t u ,i h ,t i ]; S3. Construct a current loop model of a three-level PWM rectifier and extract an optimization object of the three-level PWM rectifier; The specific implementation method of step S3 includes the following steps: S3.
1. Set up the three-level PWM rectifier control system to adopt double closed-loop control, voltage outer loop and current inner loop, and use Kirchhoff's voltage and current laws to establish the state space equation of the three-phase PWM rectifier in the three-phase stationary coordinate system. The calculation expression is: Among them, u dc is the bus voltage, i k is the kth current, S k is the kth switching function, R s is the line resistance, R L is the inductor resistance; S3.
2. Based on the state space equation of the three-phase PWM rectifier in the three-phase stationary coordinate system in step S3.1, a mathematical model of the three-phase PWM rectifier in the oriented two-phase rotating coordinate system is constructed, and the calculation expression is: Among them, u d =S d u dc ,u q =S q u dc , (i d 、i q )、(e d 、e q )、(S d , S q )、(u d 、u q ) are respectively the grid current, the d-axis and q-axis components of the rectifier port output voltage, the switching function, and the grid voltage in the two-phase rotating coordinate system; S3.
3. Construct the current loop model of the three-level PWM rectifier, use the feedforward decoupling method for the current inner loop, and realize the decoupling control of the d and q axes. The calculation expression is: Among them, u dref is the true value of the d-axis voltage, u qref is the true value of q-axis voltage; S3.
4. Extract the optimization object of the three-level PWM rectifier based on the current loop model of the three-level PWM rectifier constructed in step S3.3, including the capacitance value, the inductance value, the voltage loop PI parameters and the current loop PI parameters; S4. Construct a multi-objective joint optimization method for a three-level PWM rectifier based on a sparrow search algorithm, optimize and update the control system parameters obtained in step S2 and the optimization object obtained in step S3 to obtain an optimization result; S5. Input the optimization result obtained in step S4 into the simulation model constructed in step S1, and repeat steps S1-S4 until the value of the optimization object enables the three-level PWM rectifier to achieve optimal steady-state and dynamic performance.
2. The multi-objective joint optimization method for a three-level PWM rectifier according to claim 1, characterized in that: The specific implementation method of step S1 includes the following steps: S1.
1. Establishment of assumptions for a three-level PWM rectifier; S1.1.
1. Set the two series capacitors on the DC side to be equal and ignore the midpoint potential drift; S1.1.
2. Set the boost filter inductor and switch tube of the three-level PWM rectifier to an ideal balance with symmetrical parameters; S1.1.
3. Set all voltages of the three-level PWM rectifier to the midpoint of the capacitor as the reference point; S1.1.
4. Set the switching frequency of the three-level PWM rectifier to be much larger than the output fundamental frequency; S1.
2. Replace the power switch tube of each bridge arm in the three-level PWM rectifier circuit with a single-pole three-throw switch, treat the grid voltage and load current as disturbance inputs, take the three-phase input current and the DC side series capacitor voltage as state variables, and establish the mathematical model of the three-level PWM rectifier based on Kirchhoff's voltage and current equations. The calculation expression is: Among them, L is the inductance of the rectifier AC side, R is the resistance of the AC side, u sa 、u sb and u sb are the grid phase a voltage, b phase voltage, and c phase voltage respectively, i sa 、i sb and i sc is the grid phase a current, b phase current, c phase current; u no is the voltage between the midpoint of the capacitor and the midpoint of the grid, S a1 , S b1 , S c1 are the first switching function of phase a, phase b, and phase c of the power grid, respectively, S a2 , S b2 , S c2 are the second switching function of phase a, phase b, and phase c of the power grid, respectively, V dc1 is the DC side voltage of the first phase rectifier, V dc2 is the DC side voltage of the second phase rectifier; S1.
3. Based on the assumption in step S1.1 that the three-phase grid voltage is balanced, the calculation expression is obtained as follows: i sa +i sb +i sc =0 in sa +in sb +in sb =0 Then get u no The calculation expression is: u no =-1 / 3(S a1 +S b1 +S c1 )V dc1 +1 / 3(S a2 +S b2 +S c2 ) Then the calculation expressions for the two bus capacitance functions are obtained through calculation: Among them, C1 and C2 are two capacitors of equal value for the DC bus, i L is the DC side load current; S1.
4. Based on steps S1.1 - S1.3, the calculation expression for the mathematical model X of the three-level PWM rectifier in the ABC three-phase coordinate system is obtained as follows: X = AX + BU where A is the capacitance coefficient, U is the voltage of the three-level PWM rectifier, and B is the inductance transpose coefficient; X=[i sa i sb i sc V dc1 V dc2 ] T U=[u sa in sb in sc and L and L ] T S1.
5. Based on the fluctuations of the three-phase grid voltage, the calculation expression is obtained as follows: Where, ω is the angular frequency of the power grid; α is the initial phase angle of phase A voltage, V sm is the peak value of the phase voltage.
3. The multi-objective joint optimization method for a three-level PWM rectifier according to claim 2, characterized in that: The calculation expression for the switching function in step S1.2 is: Among them, V i is the power switch tube corresponding to the i-th three-level PWM rectifier; The function S a Decompose into S a1 , S a2 , S a3 Three single-pole switches, set the switch point to 1 when connected and 0 when disconnected, and get the following relationship: When S a =2, then S a1 =1, S a2 =0, S a3 =0; When S a =1, then S a1 =1, S a2 =0, S a3 =0; When S a =0, then S a1 =1, S a2 =0, S a3 =0.
4. The multi-objective joint optimization method for a three-level PWM rectifier according to claim 3, characterized in that: The specific implementation method of step S4 includes the following steps: S4.
1. The sparrow search algorithm is obtained by calling the MATLAB toolbox through the gamultiobj function, and the expression is: [x,fval] = gamultiobj(fun,nvars,A,b,Aeq,beq,lb,ub,nonlcon,options) where x is the effective solution set obtained by the multi-objective genetic algorithm, fval is the corresponding objective function value, fun is the fitness function to be optimized, that is, the optimization objective function; nvars is the design variable function, A and b are linear inequality constraints, Aeq and beq are linear equality constraints, lb and ub are the boundaries of the design variables, and nonlcon is the non-linear constraint, that is, the constraint conditions of the optimization objective function; S4.
2. Use the sparrow search algorithm for optimization, and the steps are as follows: S4.2.
1. Initialize the population and related parameters, and calculate the fitness value of the initial population; S4.2.
2. Update Explorer Position The expression is: in, is the value of the jth dimension of the i-th sparrow at the t-th iteration, iter max is the maximum number of iterations, α is a random number, R2 and ST are the alarm value and safety value respectively, Q is a random number that satisfies the normal distribution, L is a 1*d matrix, and all elements are 1; When R2 < ST, it indicates that there are no natural enemies around, and the followers enter the wide-area search mode; When R2 > ST, it indicates that there is danger nearby, and all sparrows need to fly to other safe areas quickly; S4.2.
3. Update the position of the followers, and the expression is: Among them, X is the optimal position occupied by the explorer, X worst is the current global worst position, A is a 1xd short array, each element is randomly assigned 1 or -1, A + =A T (AA T )-1; When i > n / 2, it indicates that the i-th follower with a poor fitness value is most likely to starve. In the experiment, it is assumed that the sparrows aware of the danger account for 10% to 20% of the total population; S4.2.
4. Based on the fact that the initial position of the sparrows is randomly generated, the mathematical model expression is: Among them, X best is the current global optimal position, β is the step size control parameter, is the normal distribution of random numbers, with a mean of 0 and a variance of 1, K is a random number; f is the fitness value of the current sparrow, f g and f w are the current global best and worst fitness values, respectively, and ε is the smallest constant to avoid the denominator being 0; When f i >f g When the sparrow is at the edge of the group, X best Locations that represent population centers, and around which there is safety; When f i =f g When , it means that the sparrow in the middle of the population is aware of the danger and needs to get closer to other sparrows. K represents the direction of the sparrow's movement, which is also the step length control coefficient. S4.
3. Based on the method of step S4.2, the control system parameters obtained in step S2 and the optimization object obtained in step S3 are optimized and updated, and the grid-side current harmonics i are updated. thd , DC side voltage ripple u σ , voltage change amplitude after interference u h , voltage stabilization time t u , the current change amplitude after interference i h , Current stabilization time t i .
5. An electronic device, characterized in that It includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of a multi-objective joint optimization method for a three-level PWM rectifier described in any one of claims 1 - 4 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, a multi-objective joint optimization method for a three-level PWM rectifier described in any one of claims 1 - 4 is implemented.
