A neighbor vector optimization predictive control method for cascaded U-Cell STATCOM

By using the adjacent vector optimization predictive control method of static synchronous compensator in cascaded U-Cell STATCOM, the problem of high calculation amount and delay in model predictive control is solved, achieving more efficient control performance and reducing computational complexity. Spend.

CN114172162BActive Publication Date: 2024-10-01无锡军工智能电气股份有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010952152.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-11
Publication Date
2024-10-01
Estimated Expiration
2040-09-11

AI Technical Summary

Technical Problem

The existing cascaded U-Cell STATCOM model predictive control is difficult to implement and costly due to high computational load and delay issues. Especially in multi-level topologies, commonly used digital processors are difficult to handle.

Method used

A neighboring vector optimization prediction control method of static synchronous compensator based on the new cascaded U-Cell topology is proposed. By establishing a discrete mathematical model, predicting the current reference value, and realizing the neighboring vector optimization prediction of hierarchical control and current tracking layers control, reducing algorithm complexity and improving control performance.

Benefits of technology

The time complexity is reduced from exponential level to square level, and the time complexity of hierarchical model predictive control is reduced from square level to linear level through the adjacent vector optimization algorithm, reducing the amount of calculation without affecting the system control performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114172162B_ABST
    Figure CN114172162B_ABST
Patent Text Reader

Abstract

This invention discloses a novel cascaded U-CELL topology proximity vector optimization hierarchical predictive control method. This control method is based on Model Predictive Control (MPC), and a hierarchical MPC algorithm is designed to optimize computational complexity. Furthermore, a proximity-based optimal vector search method is proposed, significantly reducing computational load. The core layer is the current layer, and the basic voltage vector is selected as the current layer. When switching states transition to vectors, some vectors exhibit redundant switching states. Different redundant switching states are selected for phase capacitor voltage balance control. Therefore, a search method can be established based on the vector selected in the previous time step, avoiding traversing all basic vectors. The proximity vector optimization MPC algorithm reduces the computational complexity of the hierarchical MPC algorithm from quadratic to linear, while maintaining good control performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a neighboring vector optimization prediction control method for a static synchronous compensator, in particular to a neighboring vector optimization prediction control method based on a cascade U-Cell novel topology static synchronous compensator. Background Art

[0002] The model predictive control scheme calculates the predicted value at the next moment by substituting all switch states into the prediction model, and relies on the value function to select the optimal solution. Compared with the cascaded H-bridge structure, the cascaded U-Cell STATCOM saves the number of devices, reduces the number of switch states, and reduces the amount of calculation of the model predictive control algorithm. Secondly, the use of traditional control schemes requires improvements to the modulation method in order to achieve a balance in the capacitor voltage of the cascaded U-Cell STATCOM, and the model prediction does not have a modulation link. Therefore, it is more advantageous for the cascaded U-Cell STATCOM to adopt a model predictive control scheme. The cascaded U-Cell STATCOM control scheme mainly includes two main control objectives. The first is current tracking control, and the current needs to follow the given reference command current; the second is to achieve a balance in the voltage of each capacitor in each phase.

[0003] The application of model predictive control strategy in cascaded U-Cell STATCOM has the advantages of high dynamic performance, simple control structure, and easy realization of multi-objective control. All control objectives are evaluated in a value function, avoiding complex control loop analysis. However, the implementation of model control algorithm depends on high-performance digital processors. There is bound to be a delay problem in digital control. The impact of this delay becomes more obvious as the amount of calculation increases. Secondly, when model predictive control is applied to cascaded multi-level topology, the amount of calculation is particularly large. When the number of links exceeds a certain level, it is difficult to implement with commonly used digital processors. Higher-performance processors are expensive, which is not conducive to the application of model predictive control. Summary of the invention

[0004] Aiming at the shortcomings of the existing technology, a neighboring vector optimization predictive control method based on a cascaded U-Cell novel topology static synchronous compensator is proposed. This method greatly reduces the complexity of the algorithm and has good controllability and stability.

[0005] A neighboring vector optimization predictive control method for a static synchronous compensator based on a cascaded U-Cell novel topology includes the following steps:

[0006] Step 1: Establish a discrete mathematical model of the cascaded U-Cell STATCOM. First, the mathematical model of the cascaded U-Cell STATCOM in the continuous state is derived from Kirchhoff's law (KVL), and then the sampling period T is established. sThe current prediction model and capacitor voltage prediction model are obtained by forward difference of the current differential and capacitor voltage differential in the continuous mathematical model in the sampling period.

[0007] Step 2: Design of the current reference value of the predicted cascaded U-Cell STATCOM. The reference value is designed to use the instantaneous active and reactive reference value determined by the required compensation load to derive the reference current required by the STATCOM output, and considering the active power consumed by the STATCOM itself during the actual compensation process, the active current given link is designed to be superimposed on the reference current link for correction. The prediction model uses the sampled value at the current moment to predict the state value at the next moment, and is evaluated through the value function, which is set as the norm of the target value and the predicted value.

[0008] Step three, realize the predictive hierarchical control of the cascaded U-Cell STATCOM model. The present invention adopts the selection based on the voltage basic vector as the current layer, and the value function of the current layer is designed as the norm minimum value function of the predicted voltage vector and the reference voltage vector. The three-phase unbalanced power part will affect the balance of the phase-to-phase capacitor voltage. The three-phase unbalanced power is related to the zero-sequence component, and screening the redundant vectors with different zero-sequence components can achieve the optimal solution for the phase-to-phase capacitor voltage balance. The present invention uses the optimal basic vector screened by the current layer as the corresponding redundant vector as the phase balance control layer. The value function of the phase-to-phase capacitor voltage balance layer is designed to be the sum of the norm minimum value function of the DC side voltage prediction vector of all U-Cell modules in the three phases abc and the reference vector. The current layer and the phase-to-phase capacitor voltage balance layer will screen out the optimal vector, and the switch state is what ultimately achieves the control effect. According to the redundant switch state of the vector, the present invention uses sorting screening to achieve intra-phase capacitor voltage balance.

[0009] Step 4, realize the neighboring vector optimization prediction control of the current tracking layer in the hierarchical control. For the current moment, the optimal voltage vector can be found in the voltage vector diagram to minimize the current value function. The reason for selecting the voltage vector instead of the current vector is that a basic vector table of output voltage can be established based on the reference capacitor voltage. In order to facilitate the screening of the voltage vector, the current value function is modified to the voltage value function to indirectly control the current. The reference voltage can be represented in the voltage vector diagram. The value function expresses that a vector is found in the voltage vector table so that the norm between vectors is the smallest. It can also be understood that the vector closest to the reference voltage vector is the best. The traversal method can definitely perfectly determine the optimal solution, but in fact there is no need to perform some redundant calculations. This problem is transformed into finding a vector closest to the vector in a finite number of voltage vectors. The present invention realizes neighboring optimization through the following method. The first step is to define an initial search point, that is, the current acting voltage vector, and establish an adjacent vector table for each vector. The second step is to determine the position of the reference vector coordinate relative to the current vector, and divide the adjacent vector into 6 sectors to determine which sector direction it is in. The third step is to calculate the vectors of the three vertices of the selected sector triangle area and select the best one from these three vectors. Repeat the above steps, update the reference vector, establish its adjacent vector table, calculate the pros and cons of the sector vector after sector selection, and select the best one as the reference vector point for the next search until the vector results selected in the two steps are consistent, that is, the best vector is obtained. The optimal vector selected at the current moment is stored and used as the initial reference vector for the prediction calculation search at the next moment. All previous information in predictive control can be used as a prediction of the future. Using the voltage vector at the current moment can greatly reduce the scope of the search.

[0010] Furthermore, the cascaded U-Cell STATCOM current reference value of step 2 is designed as follows: the reference DC capacitor voltage given value Average voltage of capacitor The difference is taken as the active current reference through the proportional integral link, converted to the coordinate system and superimposed with the reactive current reference to correct the reference current. for (n is the number of U-Cell submodules).

[0011] Further, the cascaded U-Cell STATCOM model predicts hierarchical control in step three as follows:

[0012] Step 3.1 According to the mathematical model of current prediction in the two-phase stationary coordinate system, only the basic vector has an impact on the current control performance. The value function of the current layer is designed as the minimum value function of the norm of the predicted voltage vector and the reference voltage vector:

[0013] Step 3.2 realizes the control of phase-to-phase capacitor voltage balance by controlling the reasonable distribution of three-phase unbalanced power. The three-phase unbalanced power is related to the zero-sequence component, and screening the redundant vectors with different zero-sequence components can achieve the optimal solution for phase-to-phase capacitor voltage balance. Therefore, according to the optimal basic vector screened by the current layer, the corresponding redundant vector is used as the phase balance control layer. The value function of the phase-to-phase capacitor voltage balance layer is designed as:

[0014] Step 3.3 After completing the redundant voltage state selection of the phase-to-phase capacitor voltage balance, the intra-phase capacitor balance control adopts the sorting comparison method. The current tracking control and the phase-to-phase capacitor voltage balance control can obtain a set of optimal level states. According to the level of each phase, the number of capacitors that should be put into each phase can be obtained. The charging and discharging is judged according to the current direction, and the optimal capacitor switching combination is selected, that is, the optimal switching state is determined.

[0015] Furthermore, the neighboring vector optimization prediction control of the current tracking layer in the hierarchical control in step 4 is:

[0016] Step 4.1: In order to facilitate the screening of the voltage vector, the current value function is modified into a voltage value function to indirectly control the current.

[0017] Step 4.2 In the voltage vector diagram, find the optimal solution by neighboring vector search:

[0018] The first step is to define an initial search point, namely the current reference voltage vector, and establish an adjacent vector table for each vector.

[0019] The second step is to use the formula Calculate the reference vector of the voltage. The calculated reference value is assumed to be the red vector in the figure. Determine the position of the reference vector coordinates relative to the current vector. Divide the adjacent vectors into 6 sectors and determine which sector direction it is in. The sector determination method is as follows:

[0020] (1) Calculate the component difference between the voltage reference vector and the current reference voltage vector:

[0021]

[0022] (2) Determine the search sector by U β , Decides, therefore, that:

[0023]

[0024] (3) By definition, if U1>0, then x=1, otherwise x=0; if U2>0, then y=1, otherwise y=0; if U3>0, then z=1, otherwise z=0; to distinguish the six states, let Num=4×z+2×y+x, then sectors Ⅰ, Ⅱ, Ⅲ, Ⅳ, Ⅴ, Ⅵ correspond to numbers Num 3, 1, 5, 4, 6, 2 respectively.

[0025] The third step is to calculate the vectors of the three vertices of the selected sector triangle area using g 1 Find g from these three vectors 1 The smallest vector is used as the reference voltage vector for the next step of optimization.

[0026] Step 4: Repeat the above steps, update the reference vector point, establish its adjacent vector table, calculate the pros and cons of the corresponding vectors of the sector triangle vertices after sector selection, and select the vertex of the optimal vector as the reference vector point for the next search. If the reference vector points obtained by the two searches are the same, the optimization process is terminated, and the vector is the optimal vector obtained by the adjacent vector optimization.

[0027] The beneficial effects of the present invention are as follows: the hierarchical model predictive control algorithm reduces the time complexity from exponential level to quadratic level, and the neighboring vector optimization algorithm reduces the time complexity of the hierarchical model predictive control algorithm from quadratic level to linear level, and has good control performance. The neighboring vector optimization hierarchical predictive control method can effectively reduce the amount of calculation without affecting the overall control performance of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 Cascade U-Cell STATCOM structure diagram

[0029] Figure 2 The flow chart of the intra-phase capacitor voltage balance algorithm is

[0030] Figure 3 Flowchart of the hierarchical model predictive control algorithm

[0031] Figure 4 Schematic diagram of the neighboring vector optimization search process

[0032] Figure 5 Flowchart of hierarchical predictive control algorithm for neighboring vector optimization

[0033] Figure 6 Comparison chart of the number of runs of the hierarchical algorithm and the traversal algorithm

[0034] Figure 7 Schematic diagram of optimizing the longest search path for neighboring vectors

[0035] Figure 8 Comparison chart of the number of runs of the hierarchical algorithm and the neighboring vector optimization algorithm

[0036] Fig. 9 The number of current layer loop calculations for the neighboring vector optimization layering algorithm

[0037] Fig.10 Flowchart of the experimental software program

[0038] Fig.11 Compensation current waveform using neighboring vector optimization hierarchical algorithm

[0039] Fig.12 The waveform of capacitor voltage balance using the neighboring vector optimization hierarchical algorithm

[0040] Fig.13 Optimizing results for computation time DETAILED DESCRIPTION

[0041] The present invention is described in detail below in conjunction with the accompanying drawings. The description in this part is only exemplary and explanatory and should not have any limiting effect on the scope of protection of the present invention.

[0042] A cascaded U-Cell STATCOM neighboring vector optimization hierarchical predictive control method comprises the following steps:

[0043] Step 1: Establish a discrete mathematical model of U-Cell STATCOM. First, the mathematical model of the cascaded U-Cell STATCOM in the continuous state is derived from Kirchhoff's law (KVL), and then the sampling period T is established. s The current prediction model and capacitor voltage prediction model are obtained by forward difference of the current differential and capacitor voltage differential in the continuous mathematical model in the sampling period.

[0044] Step 2: Design of the current reference value of the predicted cascaded U-Cell STATCOM. The reference value is designed to use the instantaneous active and reactive reference value determined by the required compensation load to derive the reference current required by the STATCOM output, and considering the active power consumed by the STATCOM itself during the actual compensation process, the active current given link is designed to be superimposed on the reference current link for correction. The prediction model uses the sampled value at the current moment to predict the state value at the next moment, and is evaluated through the value function, which is set as the norm of the target value and the predicted value.

[0045] Step three, realize the predictive hierarchical control of the cascaded U-Cell STATCOM model. The present invention adopts the selection based on the voltage basic vector as the current layer, and the value function of the current layer is designed as the norm minimum value function of the predicted voltage vector and the reference voltage vector. The three-phase unbalanced power part will affect the balance of the phase-to-phase capacitor voltage. The three-phase unbalanced power is related to the zero-sequence component, and screening the redundant vectors with different zero-sequence components can achieve the optimal solution for the phase-to-phase capacitor voltage balance. The present invention uses the optimal basic vector screened by the current layer as the corresponding redundant vector as the phase balance control layer. The value function of the phase-to-phase capacitor voltage balance layer is designed to be the sum of the norm minimum value function of the DC side voltage prediction vector of all U-Cell modules in the three phases abc and the reference vector. The current layer and the phase-to-phase capacitor voltage balance layer will screen out the optimal vector, and the switch state is what ultimately achieves the control effect. According to the redundant switch state of the vector, the present invention uses sorting screening to achieve intra-phase capacitor voltage balance.

[0046] Step 4, realize the neighboring vector optimization prediction control of the current tracking layer in the hierarchical control. For the current moment, the optimal voltage vector can be found in the voltage vector diagram to minimize the current value function. The reason for selecting the voltage vector instead of the current vector is that a basic vector table of output voltage can be established based on the reference capacitor voltage. In order to facilitate the screening of the voltage vector, the current value function is modified to the voltage value function to indirectly control the current. The reference voltage can be represented in the voltage vector diagram. The value function expresses that a vector is found in the voltage vector table so that the norm between vectors is the smallest. It can also be understood that the vector closest to the reference voltage vector is the best. The traversal method can definitely perfectly determine the optimal solution, but in fact there is no need to perform some redundant calculations. This problem is transformed into finding a vector closest to the vector in a finite number of voltage vectors. The present invention realizes neighboring optimization through the following method. The first step is to define an initial search point, that is, the current acting voltage vector, and establish an adjacent vector table for each vector. The second step is to determine the position of the reference vector coordinate relative to the current vector, and divide the adjacent vector into 6 sectors to determine which sector direction it is in. The third step is to calculate the vectors of the three vertices of the selected sector triangle area and select the best one from these three vectors. Repeat the above steps, update the reference vector, establish its adjacent vector table, calculate the pros and cons of the sector vector after sector selection, and select the best one as the reference vector point for the next search until the vector results selected in the two steps are consistent, that is, the best vector is obtained. The optimal vector selected at the current moment is stored and used as the initial reference vector for the prediction calculation search at the next moment. All previous information in predictive control can be used as a prediction of the future. Using the voltage vector at the current moment can greatly reduce the scope of the search.

[0047] Furthermore, the active current setting link of step 2 is: setting the reference DC capacitor voltage to a given value Average voltage of capacitor The difference is taken as the active current given by the proportional integral link, converted to the coordinate system and superimposed on the given link to correct the reference current. The average value of the capacitor voltage for (n is the number of U-Cell submodules).

[0048] Furthermore, the hierarchical optimization control of the model predictive control in step 3 is:

[0049] Cascade U-Cell topology STATCOM structure Figure 1 shown.

[0050] Step 3.1 According to the mathematical model of current prediction in the two-phase stationary coordinate system, only the basic vector has an impact on the current control performance. Further analysis shows that the ideal three-phase current vector rotates over time. Therefore, the voltage basic vector is selected as the current layer. The value function of the current layer is designed as the minimum value function of the norm of the predicted voltage vector and the reference voltage vector:

[0051] Step 3.2 The three-phase unbalanced power will not generate additional losses, but will change the power distribution of the three phases. The three-phase unbalanced power part will affect the balance of the phase-to-phase capacitor voltage. Therefore, the balance control of the phase-to-phase capacitor voltage is achieved by controlling the reasonable distribution of the three-phase unbalanced power. The three-phase unbalanced power is related to the zero-sequence component, and screening the redundant vectors with different zero-sequence components can achieve the optimal solution for the phase-to-phase capacitor voltage balance. Therefore, according to the optimal basic vector screened by the current layer, the corresponding redundant vector is used as the phase balance control layer. The value function of the phase-to-phase capacitor voltage balance layer is designed as:

[0052] Step 3.3 After completing the redundant voltage state selection of the phase-to-phase capacitor voltage balance, the intra-phase capacitor balance control adopts the sorting comparison method. The current tracking control and the phase-to-phase capacitor voltage balance control can obtain a set of optimal level states. According to the level of each phase, the number of capacitors that should be put into each phase can be obtained. The charging and discharging is judged according to the current direction, and the optimal capacitor switching combination is selected, that is, the optimal switching state is determined.

[0053] Furthermore, the calculation process of implementing the neighboring vector optimization hierarchical model predictive control in step 4 is:

[0054] Step 4.1: In order to facilitate the screening of the voltage vector, the current value function is modified into a voltage value function to indirectly control the current.

[0055] Step 4.2 Figure 4In this paper, the optimal solution is found through the neighboring vector optimization hierarchical algorithm.

[0056] The first step is to define an initial search point, which is the currently acting voltage vector, and to establish a neighboring vector table for each vector.

[0057] The second step is to use the formula The voltage reference vector is calculated. The calculated reference value is assumed to be Figure 4 The red vector in the image is used to determine the position of the reference vector coordinates relative to the current vector. The adjacent vectors are divided into 6 sectors to determine the direction of the sector. Figure 4 It can be seen as a blue triangle area. The method of judging the sector is as follows:

[0058] (1) Calculate the component difference between the voltage reference vector and the current reference voltage vector:

[0059]

[0060] (2) Determine the search sector by U β , Decides, therefore, that:

[0061]

[0062] (3) By definition, if U1>0, then x=1, otherwise x=0; if U2>0, then y=1, otherwise y=0; if U3>0, then z=1, otherwise z=0; to distinguish the six states, let Num=4×z+2×y+x, then sectors Ⅰ, Ⅱ, Ⅲ, Ⅳ, Ⅴ, Ⅵ correspond to numbers Num 3, 1, 5, 4, 6, 2 respectively.

[0063] The third step is to calculate the vectors of the three vertices of the selected sector triangle area using g 1 Find g from these three vectors 1 The smallest vector is used as the reference voltage vector for the next step of optimization.

[0064] By comparing the computational complexity of various methods and analyzing the time complexity of each algorithm, it is found that the hierarchical MPC algorithm and the neighbor optimization method can effectively reduce the computational complexity without affecting the overall control performance of the system.

[0065] Cascade U-Cell STATCOM Model Predictive Hierarchical Control Analysis:

[0066] 1. Division of current layer and setting of value function:

[0067] In a cascaded U-Cell STATCOM, the number of output levels per phase of the inverter M and the number of submodules n have the following relationship: M = 2n + 1. In a three-phase cascaded U-Cell STATCOM, the total three-phase output voltage combination K L K L =M 3 In the three-phase cascade U-Cell STATCOM, the total switch combination is K S =2 3(n+1) , All output voltage combinations are transformed into vectors of the αβ coordinate system by Clark coordinate transformation. Some valid vectors will have redundant vectors. Valid vectors with the same number of redundant vectors are marked as the same, forming different levels. The change in the number of redundant vectors is from 2n to 0 from the inner layer to the outer layer. If the valid vector is defined as the basic vector, then the actual output basic vector has 12n 2 +6n+1 species.

[0068] According to the mathematical model of current prediction in a two-phase stationary coordinate system, only the basic vector has an impact on the current control performance. Further analysis shows that the ideal three-phase current vector rotates over time. Therefore, according to the selection of the voltage basic vector as the current layer, the current layer is the most core layer.

[0069] The cost function of the current layer is designed as the norm minimum cost function of the predicted voltage vector and the reference voltage vector:

[0070]

[0071] 2. Division of interphase capacitance voltage balance layer and setting of value function:

[0072] The actual grid voltage will also be unbalanced. Ignoring the influence of harmonics in the grid, the three-phase grid voltage is decomposed into positive sequence component, negative sequence component and zero sequence component by symmetrical component method, as shown below:

[0073]

[0074] in are the amplitudes of the three different components, ω 0 is the fundamental angular frequency, Represents the initial phase angle of different component voltages.

[0075] The star connection of STATCOM does not have a zero-sequence current flow path, so there is no need to consider the zero-sequence current component. The grid-connected current is as follows:

[0076]

[0077] in is the positive sequence current amplitude, is the amplitude of negative sequence current, δ + is the initial phase angle of positive sequence current, δ - is the initial phase angle of negative sequence current.

[0078] The instantaneous active and reactive power of the cascaded U-Cell STATCOM is shown below

[0079]

[0080] Substituting the grid voltage and grid current formula into the instantaneous active and reactive power formula, the STATCOM three-phase instantaneous active power can be obtained as follows:

[0081]

[0082] The single-phase active power of STATCOM is composed of the constant component of the same part of the three phases and the varying component of the different parts of the three phases.

[0083] The constant active component is generated by the positive sequence voltage and current as well as the negative sequence voltage and current, as shown below:

[0084]

[0085] The variable active component is divided into two aspects. One is the three-phase unbalanced power Δp generated by the interaction of positive sequence voltage and negative sequence current and negative sequence voltage and positive sequence current. a , Δp b , Δp c :

[0086]

[0087] The second is the unbalanced power generated by the interaction between zero-sequence voltage and positive and negative sequence currents. As shown below:

[0088]

[0089] The unbalanced active power of the three phases affects the balance of the phase-to-phase capacitor voltage. From the above two equations, it can be seen that the superposition of the three-phase unbalanced power is zero, so the overall active power is the sum of the three-phase constant active components.

[0090]

[0091] The three-phase unbalanced power will not generate additional losses, but will change the power distribution of the three phases. The three-phase unbalanced power part will affect the balance of the phase-to-phase capacitor voltage. Therefore, the balance control of the phase-to-phase capacitor voltage is achieved by controlling the reasonable distribution of the three-phase unbalanced power. The three-phase unbalanced power is related to the zero-sequence component, and the screening of redundant vectors with different zero-sequence components can achieve the optimal solution for the balance of the phase-to-phase capacitor voltage. Therefore, according to the optimal basic vector screened by the current layer, the corresponding redundant vector is used as the phase balance control layer.

[0092] The cost function of the phase-to-phase capacitor voltage balance layer is designed to be the sum of the norm minimum cost function of the DC side voltage prediction vector and the reference vector of all U-Cell modules in the three phases abc:

[0093]

[0094] 3. Division of intra-phase capacitance voltage balance layer and setting of value function:

[0095] The current layer and the phase-to-phase capacitance voltage balance layer will screen out the optimal vector of all vectors, and what ultimately achieves the control effect is the switch state. When the switch state is converted to the vector, some vectors will have redundant switch states, and the redundant switch states will only affect the intra-phase capacitance voltage balance. Therefore, the process from the optimal vector to the screening of the optimal switch state serves as the intra-phase capacitance voltage balance control layer.

[0096] After completing the redundant voltage state selection of the phase-to-phase capacitor voltage balance, the present invention performs intra-phase capacitor balance control using a sorting comparison method. The intra-phase capacitor voltage balance algorithm flow chart is as follows: Figure 2 shown.

[0097] Current tracking control and phase-to-phase capacitor voltage balance control can obtain a set of optimal level states. According to the level of each phase, the number of capacitors that should be put into each phase can be obtained. The charging and discharging can be judged according to the current direction, and the optimal capacitor switching combination can be selected, thus determining the optimal switching state.

[0098] The lowest level and the highest level have only one switching state and do not need to be judged, while the levels of the remaining redundant switching states need to be compared and judged.

[0099] In the cascaded U-Cell structure, the input of capacitors is not completely independent, but is connected to adjacent capacitors. Therefore, in the case of n submodules, two capacitors must be adjacent or separated by an even number of capacitors to be connected continuously, otherwise the two capacitors are in a state of mutual charging, which is determined by the U-Cell topology.

[0100] Generally, it is not considered that the two capacitors are in a state of mutual charging. In order to reduce the complexity, it is assumed that the capacitors are adjacently connected. At this time, an optimal level corresponds to at most n switch state combinations.

[0101] Various combinations of adjacent link capacitors are established by inputting the number of levels, the voltage sums of the link capacitor combinations are sorted, and the optimal link capacitor combination is selected according to the current flow direction, that is, the optimal set of switch states is obtained.

[0102] In summary, the hierarchical model predictive control algorithm converts the multi-objective evaluation in the value function into a single-objective optimization problem, evaluates the priority of the whole, and processes different priorities in a hierarchical manner, giving priority to the highest priority.

[0103] The flow chart of the hierarchical model predictive control algorithm is as follows: Figure 3 Shown

[0104] Analysis of neighboring vector optimization predictive control of current tracking layer in hierarchical control:

[0105] In the hierarchical algorithm, the optimization of the current tracking target level is further optimized. For the current moment, the optimal voltage vector can be found in the voltage vector diagram to minimize the current value function.

[0106] The reason for choosing a voltage vector instead of a current vector is that a basic vector table for the output voltage can be established based on the reference capacitor voltage.

[0107] In order to facilitate the screening of the voltage vector, the current value function is modified to a voltage value function to indirectly control the current, as shown below:

[0108]

[0109] The current prediction mathematical model also needs to be processed to convert the prediction mathematical model of the reference current tracking target into an inverter output voltage model.

[0110]

[0111] The output voltage reference value in the value function needs to be converted from the reference current. The optimal switch state selected by this conversion is no different from the structure selected by the current evaluation function. The reference current is used instead of the predicted current value at time k+1 to reversely calculate the output voltage reference value at time k as follows:

[0112]

[0113] The reference voltage can be represented in a voltage vector table. The value function is to find a vector in the voltage vector table so that the norm between vectors is the smallest. It can also be understood that the vector closest to the reference voltage vector is the optimal one.

[0114] The present invention proposes an algorithm strategy for searching and optimizing neighboring vectors based on the vector at the current moment.

[0115] The search process diagram is as follows Figure 4 The search process is as follows:

[0116] The first step is to define an initial search point, which is the current applied voltage vector, and to establish a neighboring vector table for each vector. Figure 4 In the , select the origin of the coordinate system in Figure 4 The blue filled vector in the figure is taken as the voltage vector at the current moment and set as the reference vector point. At the same time, its six adjacent vectors are determined and an adjacent vector table is established, that is, Figure 4 The blue lines represent the six vertices of the regular hexagon.

[0117] The second step is to calculate the voltage reference vector from the previous formula. The calculated reference value is assumed to be Figure 4 The red vector in the image is used to determine the position of the reference vector coordinates relative to the current vector. The adjacent vectors are divided into 6 sectors to determine the direction of the sector. Figure 4 It can be seen as a blue triangle area. The method of judging the sector is as follows:

[0118] (1) Calculate the component difference between the voltage reference vector and the current reference voltage vector:

[0119]

[0120] (2) Determine the search sector by U β , Decides, therefore, that:

[0121]

[0122] (3) By definition, if U1>0, then x=1, otherwise x=0; if U2>0, then y=1, otherwise y=0; if U3>0, then z=1, otherwise z=0; to distinguish the six states, let Num=4×z+2×y+x, then sectors Ⅰ, Ⅱ, Ⅲ, Ⅳ, Ⅴ, Ⅵ correspond to numbers Num 3, 1, 5, 4, 6, 2 respectively.

[0123] The third step is to calculate the vectors of the three vertices of the selected sector triangle area and select the best one from these three vectors. Figure 4 In the image, select the yellow vector and use it as the base vector.

[0124] Repeat the above steps, update the reference vector, establish its adjacent vector table, calculate the quality of the sector vector after sector selection, and select the best one as the reference vector point for the next search. Figure 4 , you can select the green dot as the new optimal vector. Use the green reference vector as the reference point and repeat the above steps until the vectors selected in the two steps are consistent, that is, the optimal vector is obtained. The optimal vector selected at the current moment is stored and used as the initial reference vector for the prediction calculation search at the next moment. All previous information in predictive control can be used as a prediction for the future. Using the voltage vector at the current moment can greatly reduce the search range.

[0125] The algorithm flow chart is as follows Figure 5 The intra-phase and inter-phase capacitor voltage balancing steps are the same as the hierarchical model prediction control flow chart, and the search completion judgment in the current layer search process is set to be the same as the reference vector to be updated and the current reference vector.

[0126] Taking the cascaded U-Cell STATCOM as an example, the advancement of the algorithm proposed in the present invention is analyzed from the perspective of operating resources.

[0127] The traditional MPC algorithm traverses all switch states to find the best solution. For the cascaded U-CellSTATCOM structure containing n sub-modules in each phase, there are a total of 23(n+1) prediction calculation cycles. Considering the traversal algorithm, the selection of two solutions for the zero-level state of each phase has no effect on the system control performance, but only affects the number of times the switching device is opened and closed. Therefore, one switch state can be ignored for each phase, totaling (2(n+1)-1)3, which increases exponentially.

[0128] The hierarchical MPC algorithm divides the switch states that affect each control target into level combinations and redundant level combinations. The level combinations correspond to vector combinations, which are divided into basic vectors and redundant vectors. The prediction calculation is carried out hierarchically.

[0129] The basic vector corresponds to the current tracking control target. It needs to calculate 12n2+6n+1 prediction calculation cycles to traverse the basic vector and select the optimal basic vector solution, which corresponds to 2n redundant vectors at most. The redundant vector corresponds to solving the phase-to-phase capacitor voltage balance, which needs to be calculated 2n+1 times. The capacitor voltage balance within the phase adopts the prediction optimization method, so the maximum number of predictions for the three phases is (n)3 times.

[0130] The use of intra-phase capacitor voltage sorting does not involve predictive calculations, but rather a selection based on comparisons of capacitor voltages, which is factored into the algorithm program.

[0131] Therefore, the number of prediction calculation cycles required by the hierarchical MPC algorithm is 12n2+8n+2 times. Adding the algorithmic complexity of the sorting algorithm, the complexity of the bubble sort is O(N 2 ), assuming that the computational complexity of a sort is comparable to the time complexity of the prediction calculation, the equivalent number of prediction calculations is 13n2+8n+2.

[0132] The comparison between the hierarchical algorithm and the traversal algorithm is as follows Figure 6 shown.

[0133] The neighbor optimization MPC algorithm is an improvement on the current basic vector traversal loop based on the hierarchical MPC algorithm. The longest path to be searched is from one vertex of the hexagonal vector to another vertex. Taking the five-level vector diagram as an example, Figure 7 As shown, the search path is the vector included in the blue area, the vector included in the diagonal is 4n+1 plus the vector of the adjacent search is 4n, plus an additional search cycle is required for judgment, there are 2 predictions, a total of 8n+3 prediction calculation cycles. Since the redundant vector corresponding to the final vector is 0, there are at most 8n+3 prediction calculation cycles in total.

[0134] The comparison between the hierarchical algorithm and the neighbor optimization algorithm is as follows: Figure 8 As shown, the number of prediction cycles of the square level of the current layer of the neighboring vector optimization hierarchical MPC algorithm is reduced to the linear level.

[0135] The neighboring vector optimization hierarchical MPC algorithm uses the zero vector in the vector table as the search starting point. The number of current layer cycle calculations is as follows: Fig. 9 As shown, it can be seen that the number of searches under steady-state conditions is concentrated at 1, 2, and 3 times, which greatly reduces the number of loop predictions and greatly improves the amount of calculation.

[0136] Algorithm program time complexity analysis:

[0137] The time complexity of the traversal algorithm is T b (N) = O(N×(2 (n+1) -1) 3 ), the algorithm complexity increases exponentially.

[0138] The time complexity of the hierarchical predictive control algorithm is T f (N) = O(12n 2 +6n+1)+O(2n 2 )+O(n 2 ).

[0139] The algorithm complexity after adding the neighbor optimization hierarchical algorithm is T l (N) = O(8n) + O(n 2 ).

[0140] In the time complexity of the three algorithms T l (N) <T f N) <T b N).

[0141] By comparing the computational complexity of various methods and analyzing the time complexity of each algorithm, it is found that the hierarchical MPC algorithm and the neighbor optimization method can effectively reduce the computational complexity without affecting the overall control performance of the system.

[0142] In order to further analyze and verify the advancedness of the algorithm proposed in the present invention in optimizing the computational complexity under the predictive control of the cascaded U-Cell STATCOM model, an expandable multi-level experimental platform was built to verify the effect.

[0143] The experimental system parameters are:

[0144] Experimental parameters Numeric Grid line voltage 50V Filter Reactor Inductor 3mH DC link capacitor 3300μF DC link capacitor voltage 100μs Number of cascade modules 2

[0145] The device parameters of the experimental platform are:

[0146]

[0147]

[0148] The control of the experimental bench is divided into the strong current part, the weak current part and the strong and weak current interactive part. The strong current part includes the power grid part, the main topology circuit part, the filter inductor and the pre-charge resistor. The weak current part is mainly the controller and the controller power supply. The strong and weak current interactive part includes the sampling part and the drive part.

[0149] The software flow chart of the experimental platform is as follows: Fig.10 shown.

[0150] The compensation current waveform results are as follows: Fig.11 As shown, the capacitor voltage balance result is as follows Fig.12 The calculation time optimization results are shown as Fig.13 shown.

[0151] Among them, the traditional traversal MPC algorithm consumes the longest time, consuming about 5.4ms to complete a prediction calculation. The hierarchical MPC algorithm takes about 640μs, and the neighbor optimization control algorithm only consumes about 52μs of calculation time under the longest search path. Therefore, it can be concluded that the neighbor optimization control algorithm takes up less calculation time and has excellent control effect compared with the other two MPC methods, which proves the advanced nature of the neighbor vector optimization hierarchical algorithm.

[0152] It should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0153] The above-described embodiments of the present invention do not constitute a limitation on the protection scope of the present invention. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.

Claims

1. A hierarchical predictive control method based on neighboring vector optimization of cascaded U-Cell new topology STATCOM, comprising the following steps: Step 1: Establish a discrete mathematical model of the cascaded U-Cell STATCOM. First, use Kirchhoff's law (KVL) to derive the mathematical model of the cascaded U-Cell STATCOM in the continuous state, and then establish the sampling period T s The current prediction model and the capacitor voltage prediction model are obtained by forward-differentiating the current differential and the capacitor voltage differential in the continuous mathematical model with a sampling period. Step 2: predict the design of the current reference value of the cascaded U-Cell STATCOM. The reference value is designed to use the instantaneous active and reactive reference values ​​determined by the required compensation load to derive the reference current required by the STATCOM output, and considering the active power consumed by the STATCOM itself during the actual compensation process, an active current given link is designed to be superimposed on the reference current link for correction. The prediction model uses the sampled value at the current moment to predict the state value at the next moment, and is evaluated through the value function. The value function is set as the norm of the target value and the predicted value. Step 3, realize the predictive hierarchical control of the cascaded U-Cell STATCOM model, and adopt the selection based on the voltage basic vector as the current layer. The value function of the current layer is designed as the norm minimum value function of the predicted voltage vector and the reference voltage vector. The three-phase unbalanced power part will affect the balance of the phase-to-phase capacitor voltage. The three-phase unbalanced power is related to the zero-sequence component, and the screening of redundant vectors with different zero-sequence components can achieve the optimal solution for the phase-to-phase capacitor voltage balance. According to the optimal basic vector screened by the current layer, the corresponding redundant vector is used as the phase balance control layer. The value function of the phase-to-phase capacitor voltage balance layer is designed to be the sum of the norm minimum value function of the DC side voltage prediction vector of all U-Cell modules of the three phases abc and the reference vector. The current layer and the phase-to-phase capacitor voltage balance layer will screen out the optimal vector, and the switch state is what ultimately achieves the control effect. According to the redundant switch state of the vector, sorting screening is used to achieve the intra-phase capacitor voltage balance; Step 4: Implement the neighboring vector optimization prediction control of the current tracking layer in the hierarchical control. For the current moment, the optimal voltage vector can be found in the voltage vector diagram to minimize the current value function. The reason for selecting the voltage vector instead of the current vector is that a basic output voltage vector table can be established based on the reference capacitor voltage. In order to facilitate the screening of the voltage vector, the current value function is modified to the voltage value function to indirectly control the current. The reference voltage is represented in the voltage vector diagram. The value function expresses that a vector is found in the voltage vector table to minimize the norm between the vectors, that is, the vector closest to the reference voltage vector is the optimal one. The following method is used to achieve neighbor optimization. The first step is to define an initial search point, that is, the current voltage vector, and establish an adjacent vector table for each vector. The second step is to determine the position of the reference vector coordinates relative to the current vector, and divide the adjacent vectors into 6 sectors to determine which sector direction it is in. The third step is to calculate the vectors of the three vertices of the selected sector triangle area, and select the best from these three vectors. Repeat the above steps, update the reference vector, and establish its adjacent vector table. After the sector is selected, the pros and cons of the sector vector are calculated and the best one is selected as the reference vector point for the next search until the vector results selected in the two steps are consistent, that is, the optimal vector is obtained. The optimal vector selected at the current moment is stored and used as the initial reference vector for the prediction calculation search at the next moment. All previous information in the predictive control can be used as a prediction for the future, and the voltage vector at the current moment is used to reduce the search range.

2. According to claim 1, a method for hierarchical predictive control based on neighboring vector optimization of cascaded U-Cell new topology STATCOM is characterized in that: The cascaded U-CellSTATCOM current reference value of step 2 is designed as follows: the reference DC capacitor voltage given value Average voltage of capacitor The difference is taken as the active current given through the proportional integral link, converted to the coordinate system and superimposed with the reactive current given, the reference current is corrected, and the average value of the capacitor voltage is for n is the number of U-Cell submodules.

3. The method of hierarchical predictive control based on neighboring vector optimization of cascaded U-Cell novel topology STATCOM according to claim 1 is characterized in that: The cascade U-CellSTATCOM model prediction hierarchical control of step 3 is: Step 3.1 According to the mathematical model of current prediction in the two-phase stationary coordinate system, only the basic vector has an impact on the current control performance. The value function of the current layer is designed as the minimum value function of the norm of the predicted voltage vector and the reference voltage vector: Step 3.2 realizes the balance control of phase-to-phase capacitor voltage by controlling the reasonable distribution of three-phase unbalanced power. The three-phase unbalanced power is related to the zero-sequence component, and the screening of redundant vectors with different zero-sequence components can achieve the optimal solution of phase-to-phase capacitor voltage balance. Therefore, according to the optimal basic vector screened by the current layer, the corresponding redundant vector is used as the phase balance control layer, and the value function of the phase-to-phase capacitor voltage balance layer is designed as: Step 3.3 After completing the redundant voltage state selection of the phase-to-phase capacitor voltage balance, the intra-phase capacitor balance control adopts the sorting comparison method. The current tracking control and the phase-to-phase capacitor voltage balance control can obtain a set of optimal level states. According to the level of each phase, the number of capacitors that should be put into each phase can be obtained. The charging and discharging is judged according to the current direction, and the optimal capacitor switching combination is selected, that is, the optimal switching state is determined.

4. The method of hierarchical predictive control based on neighboring vector optimization of cascaded U-Cell novel topology STATCOM according to claim 1 is characterized in that: The neighboring vector optimization prediction control of the current tracking layer in the hierarchical control in step 4 is: Step 4.1: In order to facilitate the screening of the voltage vector, the current value function is modified into a voltage value function to indirectly control the current; Step 4.2 In the voltage vector diagram, find the optimal solution by neighboring vector search: The first step is to define an initial search point, i.e., the current reference voltage vector, and establish an adjacent vector table for each vector; The second step is to use the formula Calculate the reference vector of the voltage. The calculated reference value is assumed to be the red vector in the voltage vector diagram. Determine the position of the reference vector coordinates relative to the current vector. Divide the adjacent vectors into 6 sectors and determine which sector direction it is in. The sector determination method is as follows: Calculate the component difference between the voltage reference vector and the current reference voltage vector: (2) Determine the search sector by U β , Decides, therefore, that: U1=U β , (3) By definition, if U1>0, then x=1, otherwise x=0; if U2>0, then y=1, otherwise y=0; if U3>0, then z=1, otherwise z=0; to distinguish the six states, let Num=4×z+2×y+x, then sectors I, II, III, IV, V, and VI correspond to numbers Num 3, 1, 5, 4, 6, and 2 respectively; The third step is to calculate the vectors of the three vertices of the selected sector triangle area, and use g1 to find the vector with the smallest g1 from these three vectors as the reference voltage vector for the next step of optimization; The fourth step is to repeat the above steps, update the reference vector point, establish its adjacent vector table, calculate the pros and cons of the vectors corresponding to the vertices of the sector triangle after sector selection, and select the vertex of the optimal vector as the reference vector point for the next search. If the reference vector points obtained by the two searches are the same, the optimization process is terminated, and the vector is the optimal vector obtained by the adjacent vector optimization.