A control structure identification method and system for a new energy power generation grid-connected device
Through frequency sweep measurement and error objective function optimization algorithm, the control structure and parameters of the new energy power generation grid-connected device are identified, which solves the problem of ineffective control structure identification in the existing technology and achieves accurate control parameter identification and electromagnetic transient model construction. , which improves system stability analysis capabilities.
Patent Information
- Application Number
- CN202311246082.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-09-25
AI Technical Summary
Existing technology cannot accurately identify the control structure of new energy power generation grid-connected devices, resulting in invalid or inefficient control parameter identification, and cannot truly reflect the control characteristics of the actual device.
Measure AC impedance through frequency sweep to determine the status of active damping control and virtual impedance control, establish a model under a typical control structure, construct an error objective function, optimize the algorithm to identify the current loop control bandwidth, phase margin and control parameters, and correct the impedance analysis results to identify the overall control structure.
Accurately identify the control structure and parameters of the black box device, build an electromagnetic transient white box model, improve the accuracy of control parameter identification, reflect the actual operating characteristics, and improve the ability of new energy power generation grid connection stability analysis and control optimization.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of photovoltaic power generation devices, and in particular relates to a control structure identification method and system for a new energy power generation grid-connected device. Background Art
[0002] With the large-scale development and utilization of new energy, the stability problem of new energy grid-connected systems has become increasingly prominent, and broadband oscillation problems have occurred frequently, seriously affecting system safety and efficient consumption of new energy. In recent years, impedance analysis has become an important method for analyzing and solving large-scale new energy grid-connected oscillation problems. The control characteristics of new energy generation have an important impact on the impedance of new energy ports and system stability.
[0003] However, due to technical confidentiality, manufacturers of new energy converters generally do not disclose the control structure used by the converter, that is, there is a black / gray box problem, which brings technical challenges to the analysis of the interaction mechanism between new energy power generation and the power grid and the formulation of control optimization solutions to improve system stability. It is urgent to identify the control method of new energy power generation and build a structured electromagnetic transient model with transparent control and accurate reflection of the actual operating characteristics of new energy.
[0004] In order to solve the grid-connected oscillation problem of renewable energy power generation grid-connected devices, existing methods have optimized the control parameters to reshape the device port impedance characteristics, eliminate the oscillation risk in the system, and improve the system stability. On the other hand, considering the requirements of the dynamic response characteristics of the device, when the control parameter optimization margin is limited, it is proposed to improve the system stability by improving the control structure, including active damping control and virtual impedance control. Due to the large number of renewable energy power generation grid-connected devices, and the large differences in control methods and control parameters, it is difficult to identify the control of the actual device.
[0005] Existing renewable energy power generation grid-connected devices use port impedance data and an optimization fitting algorithm to identify the control parameters of the black box device. The existing method has the following limitations:
[0006] (1) Control parameters are identified based on typical control structures without considering the differences in characteristics of different types of power generation devices; (2) When the actual device control is inconsistent with the typical control structure, the control parameter identification is a blind optimization, and the optimization fitting algorithm does not converge; (3) Only focusing on control parameter identification but not the control structure leads to invalid or inefficient parameter identification, which cannot truly reflect the control characteristics of the actual device.
[0007] Control structure identification is the premise and basis of control parameter fitting and the key to building a transparent and accurate electromagnetic transient simulation model. Therefore, in order to solve the above technical problems, it is urgent to propose a new control structure identification method for renewable energy power generation grid-connected devices. Summary of the invention
[0008] The purpose of the present invention is to provide a control structure identification method and system for a new energy power generation grid-connected device to solve the technical problem that the prior art cannot accurately identify the control structure of a new energy power generation grid-connected device. The new energy power generation grid-connected device includes a new energy power generation grid-connected device.
[0009] In order to achieve the above object, the present invention adopts the following technical solution:
[0010] In a first aspect, the present invention provides a control structure identification method for a new energy power generation grid-connected device, comprising:
[0011] Frequency sweep measurement of AC impedance Z of renewable energy power generation grid-connected devices scan (f p );According to the AC impedance Z scan (f p ), calculate and determine whether the new energy power generation grid-connected device adopts active damping control, and obtain the first control structure identification result; establish a model of the new energy power generation grid-connected device under the typical control structure, and obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure cal (f p );Establish AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and phase margin; construct the AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin to obtain the minimum value J of the error objective function; compare the minimum value J of the error objective function with the preset threshold value J set , judge the adoption of virtual impedance control of the new energy power generation grid-connected device, and obtain the second control structure identification result; according to the first control structure identification result and the second control structure identification result, re-establish the model of the new energy power generation grid-connected device under the overall control structure, and obtain the modified AC impedance Z mod (f p );Construct the corrected AC impedance Z mod (f p ) and the corrected error objective function of the measurement results, and then the parameter optimization algorithm is used to minimize the error objective function, and the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device are identified.
[0012] In a second aspect, the present invention provides a control structure identification device for a new energy power generation grid-connected device, comprising:
[0013] The first frequency sweep module is used to sweep and measure the AC impedance Z of the new energy power generation grid-connected device. scan (fp ); A first identification module, for according to the AC impedance Z scan (f p ), calculate and determine whether the new energy power generation grid-connected device adopts active damping control, and obtain the first control structure identification result; the second sweep frequency module is used to establish a model of the new energy power generation grid-connected device under the typical control structure, and obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure. cal (f p );Build a module to build the AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin; building blocks for building the AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin to obtain the minimum value J of the error objective function; the second identification module is used to compare the minimum value J of the error objective function with the preset threshold value J set The relationship between the virtual impedance control of the new energy power generation grid-connected device is determined to determine the adoption of the virtual impedance control of the new energy power generation grid-connected device, and obtain the second control structure identification result; the correction module is used to re-establish the model of the new energy power generation grid-connected device under the overall control structure according to the first control structure identification result and the second control structure identification result, and obtain the corrected AC impedance Z mod (f p ); The third identification module is used to construct a modified AC impedance Z mod (f p ) and the corrected error objective function of the measurement results, and then the parameter optimization algorithm is used to minimize the error objective function, and the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device are identified.
[0014] In a third aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the control structure identification method of the new energy power generation grid-connected device.
[0015] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the control structure identification method of the new energy power generation grid-connected device is implemented.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] Aiming at the problem of identifying the control of black box devices of renewable energy power generation, due to the variety of actual device control structures and complex operating characteristics, the existing invention identifies control parameters based on typical control structures. When the actual device control is inconsistent with the typical control structure, the control parameter identification is blind optimization, resulting in invalidity or inefficiency of parameter identification, and cannot truly reflect the control characteristics of the actual device. The present invention provides a control structure identification method for a renewable energy power generation grid-connected device, which measures the AC impedance of the black box device by injecting a voltage disturbance signal, and identifies the active damping control structure of the black box device according to the impedance damping change rate near the resonant frequency point; then, an impedance analysis result is established according to the typical control structure, and the virtual impedance control structure of the black box device is identified according to the impedance analysis result and the impedance measurement result of the black box device within the current loop control bandwidth and the phase margin limit value range; finally, a modified impedance analysis result is established according to the overall control structure of the device, and the modified impedance analysis result is fitted with the AC impedance of the black box device through an optimization algorithm, and the control parameters of the current loop control, active damping control, and virtual impedance control of the black box device are identified to complete the control identification. In order to identify the control of black box devices, the present invention first proposes a control structure identification method to accurately identify the control structure adopted by the black box device, and on this basis identify the control parameters, accurately and effectively obtain the control structure and parameters of the black box device, which is convenient for building an electromagnetic transient white box model of the black box device and efficiently analyzing the operating characteristics of the actual device under multiple working conditions.
[0018] Aiming at the control identification problem of black box devices for renewable energy power generation, the method described in the present invention can accurately identify the active damping and virtual impedance control structure used by the black box device, and on this basis, improve the recognition accuracy of the current loop, active damping and virtual impedance control parameters. Based on the identification results, an electromagnetic transient white box model with consistent control characteristics of the black box device, transparent control structure and accurate control parameters can be built, which truly and efficiently reflects the actual operating characteristics of the black box device, is more versatile, universal and has engineering practical value, and provides significant support for the stability analysis of renewable energy power generation grid connection and the key technology research based on control optimization to improve system stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0020] Figure 1 This is a schematic diagram of the main circuit topology of the renewable energy power generation grid-connected device;
[0021] Figure 2 It is a schematic diagram of a typical control structure;
[0022] Figure 3 It is a schematic diagram of the overall control structure;
[0023] Figure 4 A schematic diagram of a control and identification method for a new energy power generation grid-connected device according to the present invention;
[0024] Figure 5 This is a schematic diagram of the impedance measurement results of the direct-drive power generation device in Example 2 of the present invention;
[0025] Figure 6 This is a schematic diagram comparing the impedance fitting results and the measurement results of only considering the typical control structure in Example 2 of the present invention;
[0026] Figure 7 A schematic diagram showing the comparison between the impedance fitting result and the measurement result after considering active damping and virtual impedance control in Example 2 of the present invention;
[0027] Figure 8 A schematic diagram of a control and identification method for a new energy power generation grid-connected device according to the present invention;
[0028] Fig. 9 A schematic diagram of a control and identification device for a new energy power generation grid-connected device according to the present invention;
[0029] Fig.10 The figure is a schematic structural diagram of an electronic device of the present invention. DETAILED DESCRIPTION
[0030] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.
[0031] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.
[0032] Example 1
[0033] The present invention proposes a control identification method for a new energy power generation grid-connected device. The AC impedance of a black box device is measured by injecting a voltage disturbance signal, and the active damping control structure of the black box device is identified according to the impedance damping change rate near the resonant frequency point; then, an impedance analysis result is established according to a typical control structure, and the virtual impedance control structure of the black box device is identified according to the fitting error between the impedance analysis result and the impedance measurement result of the black box device within the current loop control bandwidth and the phase margin limit value range; finally, a modified impedance analysis result is established according to the overall control structure of the device, and the modified impedance analysis result is fitted with the AC impedance of the black box device through an optimization algorithm, and the control parameters of the current loop control, active damping control, and virtual impedance control of the black box device are identified, thereby completing control identification.
[0034] See also Figure 1 As shown, the present invention provides a control and identification method for a new energy power generation grid-connected device, and the topological structure of the new energy power generation unit to which the method is applied includes an input current source 1, a DC bus capacitor 2, a grid-connected inverter 3, a filter 4, a circuit breaker 5, a disturbance voltage source 6 and a power grid 7.
[0035] After the current source 1 is connected to the DC bus capacitor 2, it is connected to the DC port of the grid-connected inverter 3. After the AC port of the grid-connected inverter 3 is connected to one end of the circuit breaker 5 via the filter 4, the other end of the circuit breaker 5 is connected to the power grid 7 via the disturbance voltage source 6; the filter 4 includes a filter inductor and a filter capacitor; the grid-connected inverter 3 adopts a three-phase full-bridge circuit, and the PWM signal controls the operation of the grid-connected inverter 3. ga 、i gb 、i gc is the three-phase AC current of the grid-connected inverter 3, i a 、i b 、i c is the three-phase grid-connected current, v a 、v b 、v c is the three-phase grid voltage.
[0036] See also Figures 1 to 4 As shown, the present invention provides a control and identification method for a new energy power generation grid-connected device, comprising the following steps:
[0037] Step 1: Sweep frequency to measure the AC impedance of the renewable energy power generation grid-connected device (black box model); close the circuit breaker 5, and start the grid-connected inverter 3; the disturbance voltage source 6 is sequentially set at each frequency point f p The voltage disturbance signal with a set duration of T seconds is continuously injected, and the disturbance amplitude is k times the base frequency voltage V1 of the power grid 7, and the phase is Frequency point f p The value range is f min ~f max , the frequency interval step is 1Hz; f minTake 1~10Hz; f max Take 1000~2000Hz. The voltage disturbance signal at each frequency point is expressed as:
[0038]
[0039] Among them, v ao is the voltage disturbance signal of phase a, v bo is the voltage disturbance signal of phase b, v co is the c-phase voltage disturbance signal.
[0040] Collect each frequency point f p The three-phase grid-connected voltage v of the new energy power generation grid-connected device when the voltage disturbance signal is injected a 、v b 、v c and three-phase grid-connected current i a 、i b 、i c , through the symmetrical component method and Fourier transform, the positive sequence voltage component V of the new energy power generation grid-connected device is extracted p and the positive sequence current component I p , calculate the frequency point f p Lower AC impedance Z scan (f p ), the calculation formula is Z scan (f p )=-V p / I p ;
[0041] The AC impedance sweep frequency measurement of the renewable energy power generation grid-connected device (black box model) can use the control hardware-in-the-loop simulation to measure the impedance of the renewable energy power generation grid-connected device under the action of the black box controller, or it can carry out on-site measurement of the impedance of the actual renewable energy power generation device.
[0042] Step 2, obtaining a resonant frequency point near the cutoff frequency of filter 4; the cutoff frequency of filter 4 f LC Calculated based on the electrical parameters of the filter inductor and filter capacitor:
[0043]
[0044] At filter 4 cutoff frequency f LC Select f nearby LC -f w ~f LC +f w Impedance measurement results within the range Z scan (f LC -f w )~Z scan (f LC +f w) as the impedance input data set to obtain the resonant frequency point; considering the deviation of the inductor and capacitor parameter design and the influence of the current loop control on the resonant frequency point, the sideband width f w Select the filter cutoff frequency f LC 1 / 2 of.
[0045] Get the resonant frequency point f from the impedance input data set R , the resonant frequency point f R Indicates the frequency corresponding to the maximum impedance amplitude in the impedance input data set, satisfying
[0046] Z max (f R )=max{20log10|Z scan (f p )|},f p =f LC -f w ~f LC +f w (3)
[0047] Among them, max{} is the maximum value function, Z max (f R ) is the maximum impedance amplitude in the impedance input data set, 20log10|Z scan (f p )| is the resonant frequency point f p Lower impedance amplitude; Z max (f R ) is the frequency f LC -f w ~f LC +f w The maximum impedance amplitude within the range.
[0048] Step 3, calculate the resonant frequency point f R The damping change rate α of the nearby impedance measurement results is used to determine whether the new energy power generation grid-connected device (black box model) adopts active damping control; the damping change rate α is based on the resonant frequency point f R The phase change of the impedance measurement results on both sides is calculated by weighted calculation, and the calculation formula is:
[0049]
[0050] f Rw The resonant frequency point f required to calculate the damping change rate R The number of impedance data points on both sides, preferably, f Rw The value of f R 1 / 10 of ∠Z scan (f R -f Rw ) is fR -f Rw Impedance phase at frequency, ∠Z scan (f R +f Rw ) is f R +f Rw Impedance phase at frequency; f i is the cumulative count point.
[0051] According to the magnitude of the damping change rate, the adoption of active damping control is determined, where:
[0052] (1) When the damping change rate α≤α set When α is , the damping capacity at the device impedance resonance frequency point is strong, indicating that the new energy power generation grid-connected device (black box model) adopts active damping control based on the typical control structure; α set is the damping change rate threshold; preferably, α set The value of is 0.01.
[0053] (2) When the damping change rate α>α set When , there is no damping effect at the device impedance resonance frequency point, indicating that the new energy power generation grid-connected device (black box model) does not adopt active damping control;
[0054] Step 4: Establish the AC impedance analysis result Z of the new energy power generation grid-connected device under the typical control structure cal (f p ), frequency point f p The value range is f min ~f max , the frequency interval step is 1Hz;
[0055] The typical control structure is as follows Figure 2 As shown, it includes DC voltage loop control, phase-locked loop, and current loop control. The phase-locked loop is specifically a three-phase grid-connected voltage v a 、v b 、v c Through the Park transformation of abc→dq, the d and q axis voltage components v are obtained. d 、v q , the q-axis voltage component is input to the phase-locked loop controller H PLL (s), generating a phase-locking angle θ PLL The DC voltage loop control is specifically, the DC voltage v dc With DC voltage reference command V dcref The difference is input to the DC voltage loop controller H vdc (s), generates the d-axis current reference command i dref The current loop control is specifically, the three-phase AC current i of the grid-connected inverter ga 、i gb、i gc Through the Park transformation of abc→dq, the d and q axis current components i are obtained. gd 、i gq ; d, q axis current reference command i gdref 、i gqref and d and q axis current components i gd 、i gq The difference is input to the current loop controller H gi (s), and through the current decoupling coefficient K gd After the action, the output is the inverse Park transformation of dq→abc, and a PWM signal is generated through the PWM link.
[0056] First establish Figure 2 The control small signal model of the typical control structure shown in the figure, the modulation small signal The analytical expression is:
[0057]
[0058] in, is a small DC voltage signal, is a small AC current signal, is a small AC voltage signal; E dc is the 5th-order coefficient matrix of DC voltage control, E i is the fifth-order coefficient matrix of AC current control, E v The AC voltage control is a 5th-order matrix. The numbers in brackets of Formula 6-8 represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in the following expression, the remaining elements of the matrix are all zero.
[0059]
[0060]
[0061]
[0062] Where, s1=j2π(f p -f1), f1 is the fundamental frequency 50Hz, T PLL (s1) is the closed-loop transfer function of the phase-locked loop controller, I1 is the fundamental frequency component of the current, is the conjugate of the fundamental frequency component of the current, M1 is the fundamental frequency component of the modulation signal, is the conjugate of the fundamental frequency component of the modulating signal.
[0063] Then, create Figure 1 The small signal model of the main circuit of the new energy power generation grid-connected device shown includes an AC side loop small signal model and an AC / DC power loop small signal model.
[0064] The small signal model expression of the AC side circuit is:
[0065]
[0066] Among them, K m is the modulation coefficient and K m =0.5, U is the 5th-order unit matrix, V dc is the steady-state value of DC voltage, M a is the steady-state value of the modulation signal, Z L is the filter inductor impedance matrix.
[0067] The small signal model expression of the AC / DC power circuit is:
[0068]
[0069] Among them, G i , G v They are all 5-order matrices. The numbers in the brackets of formulas 11-12 represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in the following expressions, the rest of the matrix elements are zero.
[0070]
[0071]
[0072] Where, s = j2πf p , s2=j2π(f p -2f1), C dc is the DC bus capacitance, L f is the filter inductor, I0 is the steady-state current of input current source 1, V1 is the voltage fundamental frequency component, V1 * is the conjugate of the voltage fundamental frequency component.
[0073] According to formulas (5) to (10), the AC admittance analytical model of the new energy power generation grid-connected device is calculated and expressed as:
[0074]
[0075] Among them, Y C is the filter capacitor admittance matrix of filter 4.
[0076] According to formula (13), the AC impedance Z of the new energy power generation grid-connected device cal (f p )=Y cal (3,3).
[0077] Step 5, establishing a mapping relationship between the AC impedance analysis results of the new energy power generation grid-connected device and the current loop control bandwidth and phase margin;
[0078] First, the mathematical relationship between the proportional coefficient and integral coefficient of the current loop controller and the current loop control bandwidth and phase margin is derived to satisfy:
[0079]
[0080] Among them, the current loop controller H gi The proportionality coefficient of (s) is k gip , the integration coefficient is k gii , the current loop control bandwidth is f c , the current loop control phase margin is θ c ;
[0081] The current loop control bandwidth limit range is:
[0082] f c ∈[f cmin ,f max ] (15)
[0083] Among them, f cmin is the lower limit of the current loop bandwidth, f cmax The upper limit of the current loop bandwidth. The current loop control bandwidth is usually tens to hundreds of Hz; preferably, it can be 80 to 600 Hz.
[0084] The limit range of the current loop control phase margin is:
[0085] θ c ∈(0°,90°) (16)
[0086] Current loop control bandwidth f c Within the range of formula (15) and the current loop phase margin θ c When the value is different within the range of formula (16), the current loop controller proportional coefficient k gip and the integration coefficient k gii Different value results will be obtained, the AC impedance analysis result Z of the new energy power generation grid-connected device cal (f p ) changes accordingly, thereby establishing the functional relationship between the impedance analysis results and the frequency, current loop control bandwidth, and phase margin Z cal (f p ,f c ,θ c ).
[0087] Step 6: construct an error objective function between AC impedance analysis and measurement results, and use a parameter optimization algorithm within the limit range of current loop control bandwidth and phase margin to minimize the error objective function.
[0088] The error objective function is
[0089]
[0090] Among them, 20log10|Z cal (f p ,f c ,θ c )| is Z cal (f p ,f c ,θ c ) impedance magnitude, ∠Z scan (f R +f Rw ) is Z cal (f p ,f c ,θ c )’s impedance phase.
[0091] Considering the current loop controller proportional coefficient k gip and the integration coefficient k gii The frequency range of the influence on AC impedance is f cmin +f1~f cmax +f1, the error objective function is set to within this frequency range, and parameter optimization algorithms are adopted, including particle swarm optimization, annealing algorithm, genetic algorithm and other algorithms. c ∈[f cmin ,f max ] and θ c ∈(0°,90°) limit range, the current loop control bandwidth and phase margin are optimized so that the function relationship Z cal (f p ,f c ,θ c ) and AC impedance measurement results Z scan (f p )The sum of the squares of the amplitude differences and the sum of the squares of the phase differences are minimized, that is, the error objective function takes the minimum value J.
[0092] Step 7: According to the minimum value J of the error objective function in step 6 and the preset threshold J set The relationship between the size of the two is used to determine the adoption of virtual impedance control of the new energy power generation grid-connected device (black box model), where:
[0093] (1) When the error objective function J ≥ J set When , it indicates that within the current loop control bandwidth and phase margin limit value range described in step 5, the fitting errors between the analytical and measured results cannot meet the requirements, indicating that the new energy power generation grid-connected device (black box model) adopts virtual impedance control based on the typical control structure;
[0094] (2) When the error objective function J <J setWhen , the impedance fitting error between the analytical and measured results meets the requirements, indicating that the new energy power generation grid-connected device (black box model) does not adopt virtual impedance control;
[0095] Preferably, J set The value is 0.01.
[0096] Step 8: Based on the control structure identification results described in Step 3 and Step 7, re-establish the modified AC impedance analysis result Z of the new energy power generation grid-connected device under the overall control structure. mod (f p ), frequency point f p The value range is f min ~f max , the frequency interval step is 1Hz;
[0097] The overall control structure of the device is as follows: Figure 3 As shown in Figure 1, it includes DC voltage loop control, phase-locked loop, current loop control, active damping control and virtual impedance control. Figure 2 Based on the typical control structure shown in the figure, the d and q axis current components i gd 、i gq Through the virtual impedance controller H y (s) and then added to the current loop controller H gi (s) output; at the same time, the three-phase current of the filter capacitor i Ca 、i Cb 、i Cc Through the Park transformation of abc→dq, the filter capacitor d and q axis current components i are obtained Cd 、i Cq , and then through the active damping controller H c (s) and then added to the current loop controller H gi (s) output.
[0098] The active damping controller is set to a second-order general expression
[0099]
[0100] When it is determined that the new energy power generation grid-connected device adopts active damping control, the active damper control parameters that need to be identified include the damping coefficient a, the numerator second-order term coefficient b, the numerator first-order term coefficient c, the numerator constant term coefficient d, the denominator second-order term coefficient e, and the denominator first-order term coefficient f; a, b, c, d, e, f∈[0,1]; when it is determined that the new energy power generation grid-connected device does not adopt active damping control, the damping coefficient a is 0.
[0101] The virtual impedance controller is set to a second-order general expression
[0102]
[0103] When it is determined that the new energy power generation grid-connected device adopts virtual impedance control, the virtual impedance controller parameters that need to be identified include the damping coefficient g, the numerator second-order term coefficient h, the numerator first-order term coefficient i, the numerator constant term coefficient j, the denominator second-order term coefficient k, and the denominator first-order term coefficient l; g, h, i, j, k, l ∈ [0, 1]. When it is determined that the new energy power generation grid-connected device does not adopt virtual impedance control, the coefficient damping coefficient g is 0.
[0104] Compared to Figure 2 The control small signal model of the typical control structure shown, the modified modulation small signal under the overall control structure The analytical expression is
[0105]
[0106] Among them, E′ i , E′ v Both are 5-order matrices. The numbers in the brackets of Formulas 21 and 22 represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in the following expressions, the rest of the matrix elements are zero.
[0107]
[0108]
[0109] E′ i , E′ v Substituting E in formula (13) i 、E v After the matrix is calculated, the modified AC admittance analytical model Y′ of the renewable energy power generation grid-connected device is obtained. cal (3,3), corrected AC impedance analysis result Z mod (f p ) = Y′ cal (3,3). The functional relationship between the modified AC impedance analysis results and the frequency, current loop control bandwidth, current loop control phase margin, active damper control parameters, and virtual impedance controller parameters can be expressed as Z mod (f p ,f c ,θ c ,D c ,D y ), where D c is the active damper control parameter set, D c ={a,b,c,d,e,f},D y is the virtual impedance controller parameter set, D y ={g,h,i,j,k,l}.
[0110] Step 9, construct a corrected error objective function of the corrected AC impedance analysis results and the measurement results, and then use the parameter optimization algorithm to minimize the error objective function, and identify the current loop control bandwidth, phase margin, active damping control parameters, and virtual impedance control parameters of the new energy power generation grid-connected device (black box model).
[0111] The corrected error objective function is:
[0112]
[0113] Among them, 20log10|Z mod (f p ,f c ,θ c ,D c ,D y )| is Z mod (f p ,f c ,θ c ,D c ,D y ) impedance magnitude, ∠Z mod (f p ,f c ,θ c ,D c ,D y ) is Z mod (f p ,f c ,θ c ,D c ,D y )’s impedance phase.
[0114] By adopting parameter optimization algorithms, including particle swarm optimization, annealing algorithm, genetic algorithm and other algorithms, c ∈[f cmin ,f max ]、θ c ∈(0°,90°), a,b,c,d,e,f∈[0,1], g,h,i,j,k,l∈[0,1], optimize the control parameters so that the function relationship Z mod (f p ,f c ,θ c ,D c ,D y ) and AC impedance measurement results Z scan (f p ) The sum of the squares of the amplitude difference and the phase difference is the smallest, that is, the correction error objective function takes the minimum value M. At this time, the corresponding current loop control bandwidth f c and phase margin θ c , Active damping control parameter Dc ={a,b,c,d,e,f}, virtual impedance control parameter D y ={g,h,i,j,k,l} is the control structure and control parameter identification result of the renewable energy power generation grid-connected device (black box model).
[0115] The present invention determines the active damping control structure of the black box device according to the magnitude of the impedance damping change rate near the resonant frequency point of the impedance measurement result of the new energy power generation grid-connected device.
[0116] The present invention establishes a mapping relationship between the current loop control bandwidth, the phase margin and the current loop controller proportional coefficient and integral coefficient, and determines the virtual impedance control structure of the black box device by the impedance analysis and the fitting error size of the measurement results within the limit value range.
[0117] The present invention establishes a modified impedance analytical model of an overall control structure taking active damping control and virtual impedance control into consideration, and adopts a parameter optimization algorithm to identify control parameters of current loop control, active damping control and virtual impedance control of a black box device.
[0118] Example 2
[0119] The present invention provides a control identification method for a new energy power generation grid-connected device, which identifies the control of a 4MW direct-drive power generation device; the electrical parameters of the filter inductor and the filter capacitor are 0.03mH and 2.67mF respectively, and specifically comprises the following steps:
[0120] First, the AC impedance of the direct-drive power generation black box device is measured by frequency sweeping. The AC impedance measurement result Z of the direct-drive power generation device is scan (f p )like Figure 5 As shown; According to formula (2), the filter cutoff frequency f is calculated LC is 562 Hz, and then according to formula (3), the resonant frequency point in the frequency range of 562 ± 281 Hz is obtained as f R is 740Hz, and the corresponding impedance amplitude is Z max (f R ) is -5.745dB. Rw Take the resonant frequency point f R The nearest integer of 1 / 10 is 74Hz, and the damping change rate threshold α set Take it as 0.01, and calculate the damping change rate near the resonant frequency point according to formula (4): α = 0.0053, satisfying α ≤ α set , it was determined that the direct-drive power generation black box device adopted active damping control.
[0121] Then, the AC impedance analysis result Z of the new energy power generation grid-connected device under the typical control structure is established. cal (fp ), frequency point f p The value range is 1~1000Hz, and the frequency interval step is 1Hz; establish the mapping relationship between the AC impedance analysis results of the new energy power generation grid-connected device and the current loop control bandwidth and phase margin Z cal (f p ,f c ,θ c ), the current loop control bandwidth limit range is 50~600Hz, and the phase range is 0~90°. Construct the error objective function of AC impedance analysis and measurement results. Within the limit value range of current loop control parameters, use parameter optimization algorithm, such as particle swarm algorithm, to minimize the error objective function value. Comparison of impedance fitting results and impedance measurement results Figure 6 As shown. Preset threshold J set Take it as 0.01, the minimum value of the error objective function is J = 0.1827, which does not satisfy J ≤ J set , indicating that the black box device for renewable energy power generation adopts virtual impedance control based on the typical control structure.
[0122] Considering active damping control and virtual impedance control, we can re-establish the consideration Figure 3 The modified AC impedance analysis result Z of the overall control structure shown m o d (f p ,f c ,θ c ,D c ,D y ), where D c ={a,b,c,d,e,f},D y ={g,h,i,j,k,l}. Then, the correction error objective function of the corrected AC impedance analysis results and the measurement results is constructed. By adopting parameter optimization algorithms, such as particle swarm optimization, the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters are identified to minimize the corrected error objective function. The impedance fitting results and impedance measurement results after considering the overall control structure are compared. Figure 7 The minimum value of the error objective function is M = 0.0011, which is less than 0.01, indicating that the control structure and parameters identified by the method are basically consistent with the actual device, the impedance fitting effect is better, and it can better reflect the characteristics of the actual device. The identified current loop control bandwidth f c and phase margin θ c They are 202Hz and 46° respectively, and the corresponding proportional coefficient k gip and the integration coefficient k gii They are 4.6820×10 -5, 0.0574. The identified active damping control coefficients are a=-0.00002, b=0, c=2.2736×10 -4 , d=1, e=0, f=1.5915×10 -4 The identified virtual impedance control coefficients are g, h = 4.7883 × 10 -7 , i=3.0086×10 -9 , j = 1, k = 4.7883 × 10 -7 , l = 3.0086 × 10 -6 .
[0123] Example 3
[0124] See also Figure 8 As shown, the present invention provides a control structure identification method for a new energy power generation grid-connected device, comprising:
[0125] S1. Sweep frequency to measure the AC impedance Z of the new energy power generation grid-connected device scan (f p );S2、According to the AC impedance Z scan (f p ), calculate and determine whether the new energy power generation grid-connected device adopts active damping control, and obtain the first control structure identification result; S3, establish a model of the new energy power generation grid-connected device under the typical control structure, and obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure cal (f p );S4、Establish AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and phase margin; S5, constructing the AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin, and obtain the minimum value J of the error objective function; S6, compare the minimum value J of the error objective function with the preset threshold value J set , determine the adoption of virtual impedance control of the new energy power generation grid-connected device, and obtain the second control structure identification result; S7, based on the first control structure identification result and the second control structure identification result, re-establish the model of the new energy power generation grid-connected device under the overall control structure, and obtain the modified AC impedance Z mod (f p );S8, construct the corrected AC impedance Z mod (f p) and the corrected error objective function of the measurement results, and then the parameter optimization algorithm is used to minimize the error objective function, and the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device are identified.
[0126] In a specific embodiment, the frequency sweeping measurement of the AC impedance Z of the new energy power generation grid-connected device scan (f p ), specifically including:
[0127] Constructing a new energy power generation unit topology structure; the new energy power generation unit topology structure includes an input current source 1, a DC bus capacitor 2, a grid-connected inverter 3, a filter 4, a circuit breaker 5, a disturbance voltage source 6 and a power grid 7 connected in sequence;
[0128] Close the circuit breaker 5, and start the grid-connected inverter 3; the disturbance voltage source 6 is sequentially set at each frequency point f p The voltage disturbance signal with a set duration of T seconds is continuously injected, and the disturbance amplitude is k times the base frequency voltage V1 of the power grid 7, and the phase is Frequency point f p The value range is f min ~f max , the frequency interval step is 1Hz; the voltage disturbance signal at each frequency point is expressed as:
[0129]
[0130] Among them, v ao is the voltage disturbance signal of phase a, v bo is the voltage disturbance signal of phase b, v co is the voltage disturbance signal of phase c; f min The value is 1~10Hz; f max The value is 1000~2000Hz;
[0131] Collect each frequency point f p The three-phase grid-connected voltage v of the new energy power generation grid-connected device when the voltage disturbance signal is injected a 、v b 、v c and three-phase grid-connected current i a 、i b 、i c , extract the positive sequence voltage component V of the new energy power generation grid-connected device p and the positive sequence current component I p , calculate the frequency point f p Lower AC impedance Z scan (f p ), the calculation formula is Z scan (f p )=-Vp / I p .
[0132] In a specific embodiment, the AC impedance Z scan (f p ), the step of calculating and judging whether the new energy power generation grid-connected device adopts active damping control, and obtaining the first control structure identification result specifically includes:
[0133] Calculate the resonant frequency point f R The damping change rate α of the nearby impedance measurement result is used to determine whether the new energy power generation grid-connected device adopts active damping control; the damping change rate α is based on the resonant frequency point f R The phase change of the impedance measurement results on both sides is calculated by weighted calculation, and the calculation formula is:
[0134]
[0135] f Rw The resonant frequency point f required to calculate the damping change rate R The number of impedance data points on both sides, preferably, f Rw The value of f R 1 / 10 of ∠Z scan (f R -f Rw ) is f R -f Rw Impedance phase at frequency, ∠Z scan (f R +f Rw ) is f R +f Rw Impedance phase at frequency; f i is the cumulative counting point;
[0136] According to the magnitude of the damping change rate, the adoption of active damping control is judged, and the first control structure identification result is obtained:
[0137] (1) When the damping change rate α≤α set When the new energy power generation grid-connected device adopts active damping control based on the typical control structure; α set is the damping change rate threshold; preferably, α set The value of is 0.01.
[0138] (2) When the damping change rate α>α set At the same time, the new energy power generation grid-connected device did not adopt active damping control.
[0139] In one embodiment, the resonant frequency point f R Obtained by the following steps:
[0140] At the filter (4) cutoff frequency f LC Select f nearby LC -f w ~f LC +f w Impedance measurement results within the range Z scan (f LC -f w )~Z scan (f LC +f w ) as the impedance input data set to obtain the resonant frequency point; the sideband width f w Select the filter cutoff frequency f LC 1 / 2;
[0141]
[0142] Get the resonant frequency point f from the impedance input data set R , the resonant frequency point f R Indicates the frequency corresponding to the maximum impedance amplitude in the impedance input data set, satisfying:
[0143] Z max (f R )=max{20log10|Z scan (f p )|},f p =f LC -f w ~f LC +f w (3)
[0144] Among them, max{} is the maximum value function, Z max (f R ) is the maximum impedance amplitude in the impedance input data set, 20log10|Z scan (f p )| is the resonant frequency point f p Lower impedance amplitude; Z max (f R ) is the frequency f LC -f w ~f LC +f w The maximum impedance amplitude within the range.
[0145] In a specific implementation, the model of the new energy power generation grid-connected device under the typical control structure is established to obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure. cal (f p), the model of the new energy power generation grid-connected device under the typical control structure includes: DC voltage loop control, phase-locked loop, current loop control; the phase-locked loop is specifically a three-phase grid-connected voltage v a 、v b 、v c Through the Park transformation of abc→dq, the d and q axis voltage components v are obtained. d 、v q , the q-axis voltage component is input to the phase-locked loop controller H PLL (s), generating a phase-locking angle θ PLL The DC voltage loop control is specifically, the DC voltage v dc With DC voltage reference command V dcref The difference is input to the DC voltage loop controller H vdc (s), generates the d-axis current reference command i dref The current loop control is specifically, the three-phase AC current i of the grid-connected inverter ga 、i gb 、i gc Through the Park transformation of abc→dq, the d and q axis current components i are obtained. gd 、i gq ; d, q axis current reference command i gdref 、i gqref and d and q axis current components i gd 、i gq The difference is input to the current loop controller H gi (s), and through the current decoupling coefficient K gd After the action, the output is the inverse Park transformation of dq→abc, and a PWM signal is generated through the PWM link.
[0146] In a specific implementation, the model of the new energy power generation grid-connected device under the typical control structure is established to obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure. cal (f p ), specifically including:
[0147] According to the model of the renewable energy power generation grid-connected device under the typical control structure, the modulation small signal is obtained
[0148]
[0149] in, is a small DC voltage signal, is a small AC current signal, is a small AC voltage signal; E dc is the 5th-order coefficient matrix of DC voltage control, E iis the fifth-order coefficient matrix of AC current control, E v The AC voltage control is a 5th-order matrix, and except for the elements shown in formulas (6)-(8), the rest of the matrix elements are zero;
[0150]
[0151]
[0152]
[0153] Where, s1=j2π(f p -f1), f1 is the fundamental frequency 50Hz, T PLL (s1) is the closed-loop transfer function of the phase-locked loop controller, I1 is the fundamental frequency component of the current, is the conjugate of the fundamental frequency component of the current, M1 is the fundamental frequency component of the modulation signal, is the conjugate of the fundamental frequency component of the modulation signal;
[0154]
[0155] Among them, K m is the modulation coefficient and K m =0.5, U is the 5th-order unit matrix, V dc is the steady-state value of DC voltage, M a is the steady-state value of the modulation signal, Z L is the filter inductor impedance matrix;
[0156]
[0157] Among them, G i , G v All are 5-order matrices; the numbers in brackets in formulas (11)-(12) represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in formulas (11)-(12), the remaining elements of the matrix are all zero;
[0158]
[0159]
[0160] Where, s = j2πf p , s2=j2π(f p -2f1), C dc is the DC bus capacitance, L f is the filter inductor, I0 is the steady-state current of input current source 1, V1 is the voltage fundamental frequency component, V1 * is the conjugate of the voltage fundamental frequency component;
[0161] According to formulas (5) to (10), the AC admittance analytical model of the new energy power generation grid-connected device is calculated and expressed as:
[0162]
[0163] Among them, Y C is the filter capacitor admittance matrix of the filter (4);
[0164] According to formula (13), the AC impedance Z of the new energy power generation grid-connected device is obtained cal (f p )=Y cal (3,3).
[0165] In a specific embodiment, the AC impedance Z is established cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin, specifically comprising:
[0166] The mathematical relationship between the proportional coefficient and integral coefficient of the current loop controller and the current loop control bandwidth and phase margin is derived to satisfy:
[0167]
[0168] Among them, the current loop controller H gi The proportionality coefficient of (s) is k gip , the integration coefficient is k gii , the current loop control bandwidth is f c , the current loop control phase margin is θ c ;
[0169] The current loop control bandwidth limit range is:
[0170] f c ∈[f cmin ,f max ] (15)
[0171] Among them, f cmin is the lower limit of the current loop bandwidth, f cmax is the upper limit of the current loop bandwidth;
[0172] The limit range of the current loop control phase margin is:
[0173] θ c ∈(0°,90°) (16)
[0174] Establish the functional relationship Z between the impedance analysis results and the frequency, current loop control bandwidth, and phase margin cal (f p ,f c ,θ c).
[0175] In one embodiment, the AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin, and the steps of obtaining the minimum value J of the error objective function specifically include:
[0176] The error objective function is:
[0177]
[0178] Among them, 20log10|Z cal (f p ,f c ,θ c )| is Z cal (f p ,f c ,θ c ) impedance magnitude, ∠Z scan (f R +f Rw ) is Z cal (f p ,f c ,θ c )’s impedance phase;
[0179] Current loop controller proportional coefficient k gip and the integration coefficient k gii The frequency range of the influence on AC impedance is f cmin +f1~f cmax +f1, using parameter optimization algorithm, in f c ∈[f cmin ,f max ] and θ c ∈(0°,90°) limit range, the current loop control bandwidth and phase margin are optimized so that the function relationship Z cal (f p ,f c ,θ c ) and AC impedance measurement results Z scan (f p )The sum of the squares of the amplitude differences and the sum of the squares of the phase differences are minimized, and the minimum value J of the error objective function is obtained.
[0180] In a specific implementation, the comparison error objective function minimum value J and the preset threshold value J set The steps of determining the adoption of virtual impedance control of the new energy power generation grid-connected device and obtaining the second control structure identification result specifically include:
[0181] When the error objective function J ≥ J set When , it indicates that the new energy power generation grid-connected device adopts virtual impedance control based on the typical control structure;
[0182] When the error objective function J <J set , it indicates that the new energy power generation grid-connected device does not adopt virtual impedance control.
[0183] In a specific implementation, the modified AC admittance analytical model Y′ of the renewable energy power generation grid-connected device cal (3,3), corrected AC impedance Z mod (f p ) = Y′ cal (3,3); The functional relationship of the modified AC impedance with the frequency, current loop control bandwidth, current loop control phase margin, active damper control parameters, and virtual impedance controller parameters is expressed as Z mod (f p ,f c ,θ c ,D c ,D y ), where D c is the active damper control parameter set, D c ={a,b,c,d,e,f},D y is the virtual impedance controller parameter set, D y ={g,h,i,j,k,l}.
[0184] In one embodiment, the modified AC impedance Z is constructed mod (f p ) and the correction error objective function of the measurement result, and then using the parameter optimization algorithm to minimize the error objective function, and identifying the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device, specifically including:
[0185] The corrected error objective function is:
[0186]
[0187] Among them, 20log10|Z mod (f p ,f c ,θ c ,D c ,D y )| is Z mod (f p ,f c ,θ c ,D c ,Dy ) impedance magnitude, ∠Z mod (f p ,f c ,θ c ,D c ,D y ) is Z mod (f p ,f c ,θ c ,D c ,D y )’s impedance phase;
[0188] By adopting the parameter optimization algorithm, in f c ∈[f cmin ,f max ]、θ c ∈(0°,90°), a,b,c,d,e,f∈[0,1], g,h,i,j,k,l∈[0,1], optimize the control parameters so that the function relationship Z mod (f p ,f c ,θ c ,D c ,D y ) and AC impedance measurement results Z scan (f p ) The sum of the squares of the amplitude difference and the phase difference is minimized, and the minimum value of the correction error objective function is obtained, and the corresponding current loop control bandwidth f c and phase margin θ c , Active damping control parameter D c ={a,b,c,d,e,f}, virtual impedance control parameter D y ={g,h,i,j,k,l} is the control structure and control parameter identification result of the new energy power generation grid-connected device.
[0189] Example 4
[0190] See also Fig. 9 The present invention provides a control structure identification device for a new energy power generation grid-connected device, comprising:
[0191] The first frequency sweep module is used to sweep and measure the AC impedance Z of the new energy power generation grid-connected device. scan (f p ); A first identification module, for according to the AC impedance Z scan (f p), calculate and determine whether the new energy power generation grid-connected device adopts active damping control, and obtain the first control structure identification result; the second sweep frequency module is used to establish a model of the new energy power generation grid-connected device under the typical control structure, and obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure. cal (f p );Build a module to build the AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin; building blocks for building the AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin to obtain the minimum value J of the error objective function; the second identification module is used to compare the minimum value J of the error objective function with the preset threshold value J set The relationship between the virtual impedance control of the new energy power generation grid-connected device is determined to determine the adoption of the virtual impedance control of the new energy power generation grid-connected device, and obtain the second control structure identification result; the correction module is used to re-establish the model of the new energy power generation grid-connected device under the overall control structure according to the first control structure identification result and the second control structure identification result, and obtain the corrected AC impedance Z mod (f p ); The third identification module is used to construct a modified AC impedance Z mod (f p ) and the corrected error objective function of the measurement results, and then the parameter optimization algorithm is used to minimize the error objective function, and the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device are identified.
[0192] Example 5
[0193] See also Fig.10 As shown, the present invention provides an electronic device 100 for implementing a control structure identification method for a new energy power generation grid-connected device; the electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on the at least one processor 102, and at least one communication bus 104.
[0194] The memory 101 can be used to store the computer program 103, and the processor 102 implements the steps of the control structure identification method of the new energy power generation grid-connected device described in Example 1 or 2 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101. The memory 101 can mainly include a program storage area and a data storage area, wherein the program storage area can 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 can store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 can 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 non-volatile solid-state storage devices.
[0195] The at least one processor 102 may be a central processing unit (CPU), or 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. The processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.
[0196] The memory 101 in the electronic device 100 stores a plurality of instructions to implement a multi-regional electric energy and auxiliary service joint clearing method, and the processor 102 can execute the plurality of instructions to implement:
[0197] Frequency sweep measurement of AC impedance Z of renewable energy power generation grid-connected devices scan (f p );According to the AC impedance Z scan (f p ), calculate and determine whether the new energy power generation grid-connected device adopts active damping control, and obtain the first control structure identification result; establish a model of the new energy power generation grid-connected device under the typical control structure, and obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure cal (fp );Establish AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and phase margin; construct the AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin to obtain the minimum value J of the error objective function; compare the minimum value J of the error objective function with the preset threshold value J set , judge the adoption of virtual impedance control of the new energy power generation grid-connected device, and obtain the second control structure identification result; according to the first control structure identification result and the second control structure identification result, re-establish the model of the new energy power generation grid-connected device under the overall control structure, and obtain the modified AC impedance Z mod (f p );Construct the corrected AC impedance Z mod (f p ) and the corrected error objective function of the measurement results, and then the parameter optimization algorithm is used to minimize the error objective function, and the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device are identified.
[0198] Example 6
[0199] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).
[0200] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0201] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0202] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0203] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0204] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A control structure identification method for a new energy power generation grid-connected device, characterized in that: include: Frequency sweep measurement of AC impedance Z of renewable energy power generation grid-connected devices scan (f p ); According to the AC impedance Z scan (f p ), calculating and determining whether the new energy power generation grid-connected device adopts active damping control, and obtaining a first control structure identification result; Establish a model of a new energy power generation grid-connected device under a typical control structure, and obtain the AC impedance Z of the new energy power generation grid-connected device under a typical control structure cal (f p ); Establishing AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin; Constructing AC impedance Z cal (f p ) and the measurement result error objective function, according to the established AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin to obtain the minimum value J of the error objective function; Compare the minimum value of the error objective function J with the preset threshold J set The relationship between the virtual impedance control of the new energy power generation grid-connected device is determined to obtain the second control structure identification result; According to the first control structure identification result and the second control structure identification result, the model of the new energy power generation grid-connected device under the overall control structure is re-established to obtain the corrected AC impedance Z mod (f p ); Constructing the corrected AC impedance Z mod (f p ) and the corrected error objective function of the measurement result, and then adopting the parameter optimization algorithm to minimize the error objective function, and identify the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device; The frequency sweep measures the AC impedance Z of the new energy power generation grid-connected device scan (f p ), specifically including: Constructing a new energy power generation unit topology structure; the new energy power generation unit topology structure comprises an input current source (1), a DC bus capacitor (2), a grid-connected inverter (3), a filter (4), a circuit breaker (5), a disturbance voltage source (6) and a power grid (7) connected in sequence; The circuit breaker (5) is closed, and the grid-connected inverter (3) is started; the disturbance voltage source (6) is sequentially set at each frequency point f p The voltage disturbance signal with a set duration of T seconds is continuously injected, and the disturbance amplitude is k times the base frequency voltage V1 of the power grid (7), and the phase is Frequency point f p The value range is f min ~f max , the frequency interval step is 1Hz; the voltage disturbance signal at each frequency point is expressed as: Among them, v ao is the voltage disturbance signal of phase a, v bo is the voltage disturbance signal of phase b, v co is the c-phase voltage disturbance signal; Collect each frequency point f p The three-phase grid-connected voltage v of the new energy power generation grid-connected device when the voltage disturbance signal is injected a 、v b 、v c and three-phase grid-connected current i a 、i b 、i c , extract the positive sequence voltage component V of the new energy power generation grid-connected device p and the positive sequence current component I p , calculate the frequency point f p Lower AC impedance Z scan (f p ), the calculation formula is Z scan (f p )=-V p / I p ; According to the AC impedance Z scan (f p ), the step of calculating and judging whether the new energy power generation grid-connected device adopts active damping control, and obtaining the first control structure identification result specifically includes: Calculate the resonant frequency point f R The damping change rate α of the nearby impedance measurement result is used to determine whether the new energy power generation grid-connected device adopts active damping control; the damping change rate α is based on the resonant frequency point f R The phase change of the impedance measurement results on both sides is calculated by weighted calculation, and the calculation formula is: f Rw The resonant frequency point f required to calculate the damping change rate R The number of impedance data points on both sides; ∠Z scan (f R -f Rw ) is f R -f Rw Impedance phase at frequency, ∠Z scan (f R +f Rw ) is f R +f Rw Impedance phase at frequency; f i is the cumulative count point; According to the magnitude of the damping change rate, the adoption of active damping control is judged, and the first control structure identification result is obtained: (1) When the damping change rate α≤α set When the new energy power generation grid-connected device adopts active damping control based on the typical control structure; α set is the damping change rate threshold; (2) When the damping change rate α>α set When the renewable energy power generation grid-connected device is connected, active damping control is not adopted; The model of the new energy power generation grid-connected device under the typical control structure is established to obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure. cal (f p ), the model of the new energy power generation grid-connected device under the typical control structure includes: DC voltage loop control, phase-locked loop, and current loop control; the phase-locked loop is specifically a three-phase grid-connected voltage v a 、v b 、v c Through the Park transformation of abc→dq, the d and q axis voltage components v are obtained d 、v q , the q-axis voltage component is input to the phase-locked loop controller H PLL (s), generating a phase-locking angle θ PLL The DC voltage loop control is specifically, the DC voltage v dc With DC voltage reference command V dcref The difference is input to the DC voltage loop controller H vdc (s), generates the d-axis current reference command i dref The current loop control is specifically, the three-phase AC current i of the grid-connected inverter ga 、i gb 、i gc Through the Park transformation of abc→dq, the d and q axis current components i are obtained. gd 、i gq ; d, q axis current reference command i gdref 、i gqref and d and q axis current components i gd 、i gq The difference is input to the current loop controller H gi (s), and through the current decoupling coefficient K gd After the action, the output is the inverse Park transformation of dq→abc, and the PWM signal is generated through the PWM link; The model of the new energy power generation grid-connected device under the typical control structure is established to obtain the AC impedance Z of the new energy power generation grid-connected device under the typical control structure. cal (f p ), specifically including: According to the model of the renewable energy power generation grid-connected device under the typical control structure, the modulation small signal is obtained in, is a small DC voltage signal, is a small AC current signal, is a small AC voltage signal; E dc is the 5th-order coefficient matrix of DC voltage control, E i is the fifth-order coefficient matrix of AC current control, E v The AC voltage control is a 5-order matrix. The numbers in the brackets of formulas (6)-(8) represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in formulas (6)-(8), the remaining elements of the matrix are all zero. Where, s1=j2π(f p -f1), f1 is the fundamental frequency 50Hz, T PLL (s1) is the closed-loop transfer function of the phase-locked loop controller, I1 is the fundamental frequency component of the current, is the conjugate of the fundamental frequency component of the current, M1 is the fundamental frequency component of the modulation signal, is the conjugate of the fundamental frequency component of the modulation signal; Among them, K m is the modulation coefficient, U is the 5th-order unit matrix, V dc is the steady-state value of DC voltage, M a is the steady-state value of the modulation signal, Z L is the filter inductor impedance matrix; Among them, G i , G v All are 5-order matrices; the numbers in brackets in formulas (11)-(12) represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in formulas (11)-(12), the remaining elements of the matrix are all zero; Where, s = j2πf p , s2=j2π(f p -2f1), C dc is the DC bus capacitance, L f is the filter inductor, I0 is the steady-state current of input current source 1, V1 is the voltage fundamental frequency component, V1 * is the conjugate of the voltage fundamental frequency component; According to formulas (5) to (10), the AC admittance analytical model of the new energy power generation grid-connected device is calculated and expressed as: Among them, Y C is the filter capacitor admittance matrix of the filter (4); According to formula (13), the AC impedance Z of the new energy power generation grid-connected device is obtained cal (f p )=Y cal (3,3); The AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin, specifically comprising: The mathematical relationship between the proportional coefficient and integral coefficient of the current loop controller and the current loop control bandwidth and phase margin is derived to satisfy: Among them, the current loop controller H gi The proportionality coefficient of (s) is k gip , the integration coefficient is k gii , the current loop control bandwidth is f c , the current loop control phase margin is θ c ; The current loop control bandwidth limit range is: f c ∈[f cmin ,f max ] (15) Among them, f cmin is the lower limit of the current loop bandwidth, f cmax is the upper limit of the current loop bandwidth; The limit range of the current loop control phase margin is: i c ∈(0°,90°) (16) Establish the functional relationship Z between the impedance analysis results and the frequency, current loop control bandwidth, and phase margin cal (f p ,f c ,θ c ); The constructed AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin, and the steps of obtaining the minimum value J of the error objective function specifically include: The error objective function is: Among them, 20log10|Z cal (f p ,f c ,θ c )| is Z cal (f p ,f c ,θ c ) impedance magnitude, ∠Z scan (f R +f Rw ) is Z cal (f p ,f c ,θ c )’s impedance phase; Current loop controller proportional coefficient k gip and the integration coefficient k gii The frequency range of the influence on AC impedance is f cmin +f1~f cmax +f1, using parameter optimization algorithm, in f c ∈[f cmin ,f max ] and θ c ∈(0°,90°) limit range, the current loop control bandwidth and phase margin are optimized so that the function relationship Z cal (f p ,f c ,θ c ) and AC impedance measurement results Z scan (f p ) The sum of the squares of the amplitude differences and the sum of the squares of the phase differences are minimized to obtain the minimum value J of the error objective function; The comparison error objective function minimum value J and the preset threshold value J set The steps of determining the adoption of virtual impedance control of the new energy power generation grid-connected device and obtaining the second control structure identification result specifically include: When the error objective function J ≥ J set When , it indicates that the new energy power generation grid-connected device adopts virtual impedance control based on the typical control structure; When the error objective function J <J set When , it indicates that the new energy power generation grid-connected device does not adopt virtual impedance control; According to the first control structure identification result and the second control structure identification result, a model of the new energy power generation grid-connected device under the overall control structure is re-established to obtain the corrected AC impedance Z mod (f p ), specifically including: The model of the renewable energy power generation grid-connected device under the overall control structure includes DC voltage loop control, phase-locked loop, current loop control, active damping control and virtual impedance control; the d and q axis current components i gd 、i gq Through the virtual impedance controller H y (s) and then added to the current loop controller H gi (s) output; at the same time, the three-phase current of the filter capacitor i Ca 、i Cb 、i Cc Through the Park transformation of abc→dq, the filter capacitor d and q axis current components i are obtained. Cd 、i Cq , and then through the active damping controller H c (s) and then added to the current loop controller H gi (s) output; The active damping controller is set to a second-order general expression: When it is determined that the new energy power generation grid-connected device adopts active damping control, the active damper control parameters that need to be identified include damping coefficient a, numerator second-order term coefficient b, numerator first-order term coefficient c, numerator constant term coefficient d, denominator second-order term coefficient e, denominator first-order term coefficient f; a, b, c, d, e, f ∈ [0, 1]; when it is determined that the new energy power generation grid-connected device does not adopt active damping control, the damping coefficient a is 0; The virtual impedance controller is set to the second-order general expression: When it is determined that the new energy power generation grid-connected device adopts virtual impedance control, the virtual impedance controller parameters that need to be identified include the damping coefficient g, the numerator second-order term coefficient h, the numerator first-order term coefficient i, the numerator constant term coefficient j, the denominator second-order term coefficient k, and the denominator first-order term coefficient l; g, h, i, j, k, l ∈ [0, 1]; when it is determined that the new energy power generation grid-connected device does not adopt virtual impedance control, the coefficient damping coefficient g is 0; Modified Modulation Small Signal under Overall Control Structure The analytical expression is: Among them, E′ i , E′ v All are 5-order matrices. The numbers in brackets in formulas (21) and (22) represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in formulas (21) and (22), the remaining elements of the matrix are all zero. E′ i , E′ v Substituting E in formula (13) i 、E v After the matrix is calculated, the modified AC admittance analytical model Y′ of the renewable energy power generation grid-connected device is obtained. cal (3,3), corrected AC impedance Z mod (f p ) = Y′ cal (3,3); The functional relationship of the modified AC impedance with the frequency, current loop control bandwidth, current loop control phase margin, active damper control parameters, and virtual impedance controller parameters is expressed as Z mod (f p ,f c ,θ c ,D c ,D y ), where D c is the active damper control parameter set, D c ={a,b,c,d,e,f},D y is the virtual impedance controller parameter set, D y ={g,h,i,j,k,l}.
2. The control structure identification method of the new energy power generation grid-connected device according to claim 1 is characterized in that: Resonance frequency point f R Obtained by the following steps: At the filter (4) cutoff frequency f LC Select f nearby LC -f w ~f LC +f w Impedance measurement results within the range Z scan (f LC -f w )~Z scan (f LC +f w ) as the impedance input data set to obtain the resonant frequency point; the sideband width f w Select the filter cutoff frequency f LC 1 / 2; Get the resonant frequency point f from the impedance input data set R , the resonant frequency point f R Indicates the frequency corresponding to the maximum impedance amplitude in the impedance input data set, satisfying: Z max (f R )=max{20log10|Z scan (f p )|},f p =f LC -f w ~f LC +f w (3) Among them, max{} is the maximum value function, Z max (f R ) is the maximum impedance amplitude in the impedance input data set, 20log10|Z scan (f p )| is the resonant frequency point f p Lower impedance amplitude; Z max (f R ) is the frequency f LC -f w ~f LC +f w The maximum impedance amplitude within the range.
3. The control structure identification method of a new energy power generation grid-connected device according to claim 1, characterized in that: The modified AC impedance Z mod (f p ) and the correction error objective function of the measurement result, and then using the parameter optimization algorithm to minimize the error objective function, and identifying the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device, specifically including: The corrected error objective function is: Among them, 20log10|Z mod (f p ,f c ,θ c ,D c ,D y )| is Z mod (f p ,f c ,θ c ,D c ,D y ) impedance magnitude, ∠Z mod (f p ,f c ,θ c ,D c ,D y ) is Z mod (f p ,f c ,θ c ,D c ,D y )’s impedance phase; By adopting the parameter optimization algorithm, in f c ∈[f cmin ,f max ]、θ c ∈(0°,90°), a,b,c,d,e,f∈[0,1], g,h,i,j,k,l∈[0,1], optimize the control parameters so that the function relationship Z mod (f p ,f c ,θ c ,D c ,D y ) and AC impedance measurement results Z scan (f p ) The sum of the squares of the amplitude difference and the phase difference is minimized, and the minimum value of the correction error objective function is obtained, and the corresponding current loop control bandwidth f c and phase margin θ c , Active damping control parameter D c ={a,b,c,d,e,f}, virtual impedance control parameter D y ={g,h,i,j,k,l} is the control structure and control parameter identification result of the new energy power generation grid-connected device.
4. A control structure identification device for a new energy power generation grid-connected device, characterized in that: include: The first frequency sweep module is used to sweep and measure the AC impedance Z of the new energy power generation grid-connected device. scan (f p ); The first identification module is used to identify the AC impedance Z scan (f p ), calculating and determining whether the new energy power generation grid-connected device adopts active damping control, and obtaining a first control structure identification result; The second frequency sweep module is used to establish a model of a new energy power generation grid-connected device under a typical control structure and obtain the AC impedance Z of the new energy power generation grid-connected device under a typical control structure. cal (f p ); Establish a module for establishing the AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin; Building blocks for constructing the AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin to obtain the minimum value J of the error objective function; The second recognition module is used to compare the minimum value J of the error objective function with the preset threshold J set The relationship between the virtual impedance control of the new energy power generation grid-connected device is determined to obtain the second control structure identification result; The correction module is used to re-establish the model of the new energy power generation grid-connected device under the overall control structure according to the first control structure identification result and the second control structure identification result, and obtain the corrected AC impedance Z mod (f p ); The third identification module is used to construct the corrected AC impedance Z mod (f p ) and the corrected error objective function of the measurement result, and then adopting the parameter optimization algorithm to minimize the error objective function, and identify the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device; The first frequency sweep module sweeps and measures the AC impedance Z of the new energy power generation grid-connected device scan (f p ), specifically including: Constructing a new energy power generation unit topology structure; the new energy power generation unit topology structure comprises an input current source (1), a DC bus capacitor (2), a grid-connected inverter (3), a filter (4), a circuit breaker (5), a disturbance voltage source (6) and a power grid (7) connected in sequence; The circuit breaker (5) is closed, and the grid-connected inverter (3) is started; the disturbance voltage source (6) is sequentially set at each frequency point f p The voltage disturbance signal with a set duration of T seconds is continuously injected, and the disturbance amplitude is k times the base frequency voltage V1 of the power grid (7), and the phase is Frequency point f p The value range is f min ~f max , the frequency interval step is 1Hz; the voltage disturbance signal at each frequency point is expressed as: Among them, v ao is the voltage disturbance signal of phase a, v bo is the voltage disturbance signal of phase b, v co is the c-phase voltage disturbance signal; Collect each frequency point f p The three-phase grid-connected voltage v of the new energy power generation grid-connected device when the voltage disturbance signal is injected a 、v b 、v c and three-phase grid-connected current i a 、i b 、i c , extract the positive sequence voltage component V of the new energy power generation grid-connected device p and the positive sequence current component I p , calculate the frequency point f p Lower AC impedance Z scan (f p ), the calculation formula is Z scan (f p )=-V p / I p ; The first recognition module is based on the AC impedance Z scan (f p ), the step of calculating and judging whether the new energy power generation grid-connected device adopts active damping control, and obtaining the first control structure identification result specifically includes: Calculate the resonant frequency point f R The damping change rate α of the nearby impedance measurement result is used to determine whether the new energy power generation grid-connected device adopts active damping control; the damping change rate α is based on the resonant frequency point f R The phase change of the impedance measurement results on both sides is calculated by weighted calculation, and the calculation formula is: f Rw The resonant frequency point f required to calculate the damping change rate R The number of impedance data points on both sides; ∠Z scan (f R -f Rw ) is f R -f Rw Impedance phase at frequency, ∠Z scan (f R +f Rw ) is f R +f Rw Impedance phase at frequency; f i is the cumulative counting point; According to the magnitude of the damping change rate, the adoption of active damping control is judged, and the first control structure identification result is obtained: (1) When the damping change rate α≤α set When the new energy power generation grid-connected device adopts active damping control based on the typical control structure; α set is the damping change rate threshold; (2) When the damping change rate α>α set When the renewable energy power generation grid-connected device is connected, active damping control is not adopted; The second frequency sweep module establishes a model of a new energy power generation grid-connected device under a typical control structure, and obtains the AC impedance Z of the new energy power generation grid-connected device under the typical control structure. cal (f p ), the model of the new energy power generation grid-connected device under the typical control structure includes: DC voltage loop control, phase-locked loop, and current loop control; the phase-locked loop is specifically a three-phase grid-connected voltage v a 、vb、v c Through the Park transformation of abc→dq, the d and q axis voltage components v are obtained d 、v q , the q-axis voltage component is input to the phase-locked loop controller H PLL (s), generating a phase-locking angle θ PLL The DC voltage loop control is specifically, the DC voltage v dc With DC voltage reference command V dcref The difference is input to the DC voltage loop controller H vdc (s), generates the d-axis current reference command i dref The current loop control is specifically, the three-phase AC current i of the grid-connected inverter ga 、i gb 、i gc Through the Park transformation of abc→dq, the d and q axis current components i are obtained. gd 、i gq ; d, q axis current reference command i gdref 、i gqref and d and q axis current components i gd 、i gq The difference is input to the current loop controller H gi (s), and through the current decoupling coefficient K gd After the action, the output is the inverse Park transformation of dq→abc, and the PWM signal is generated through the PWM link; The second frequency sweep module establishes a model of a new energy power generation grid-connected device under a typical control structure, and obtains the AC impedance Z of the new energy power generation grid-connected device under the typical control structure. cal (f p ), specifically including: According to the model of the renewable energy power generation grid-connected device under the typical control structure, the modulation small signal is obtained in, is a small DC voltage signal, is a small AC current signal, is a small AC voltage signal; E dc is the 5th-order coefficient matrix of DC voltage control, E i is the fifth-order coefficient matrix of AC current control, E v The AC voltage control is a 5-order matrix. The numbers in the brackets of formulas (6)-(8) represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in formulas (6)-(8), the remaining elements of the matrix are all zero. Where, s1=j2π(f p -f1), f1 is the fundamental frequency 50Hz, T PLL (s1) is the closed-loop transfer function of the phase-locked loop controller, I1 is the fundamental frequency component of the current, is the conjugate of the fundamental frequency component of the current, M1 is the fundamental frequency component of the modulation signal, is the conjugate of the fundamental frequency component of the modulation signal; Among them, K m is the modulation coefficient, U is the 5th-order unit matrix, V dc is the steady-state value of DC voltage, M a is the steady-state value of the modulation signal, Z L is the filter inductor impedance matrix; Among them, G i , G v All are 5-order matrices; the numbers in brackets in formulas (11)-(12) represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in formulas (11)-(12), the remaining elements of the matrix are all zero; Where, s = j2πf p , s2=j2π(f p -2f1), C dc is the DC bus capacitance, L f is the filter inductor, I0 is the steady-state current of input current source 1, V1 is the voltage fundamental frequency component, V1 * is the conjugate of the voltage fundamental frequency component; According to formulas (5) to (10), the AC admittance analytical model of the new energy power generation grid-connected device is calculated and expressed as: Among them, Y C is the filter capacitor admittance matrix of the filter (4); According to formula (13), the AC impedance Z of the new energy power generation grid-connected device is obtained cal (f p )=Y cal (3,3); Establish the module to establish the AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin, specifically comprising: The mathematical relationship between the proportional coefficient and integral coefficient of the current loop controller and the current loop control bandwidth and phase margin is derived to satisfy: Among them, the current loop controller H gi The proportionality coefficient of (s) is k gip , the integration coefficient is k gii , the current loop control bandwidth is f c , the current loop control phase margin is θ c ; The current loop control bandwidth limit range is: f c ∈[f cmin ,f max ] (15) Among them, f cmin is the lower limit of the current loop bandwidth, f cmax is the upper limit of the current loop bandwidth; The limit range of the current loop control phase margin is: i c ∈(0°,90°) (16) Establish the functional relationship Z between the impedance analysis results and the frequency, current loop control bandwidth, and phase margin cal (f p ,f c ,θ c ); Building blocks to construct AC impedance Z cal (f p ) and the measurement result error objective function, according to the establishment of AC impedance Z cal (f p ) and the mapping relationship between the current loop control bandwidth and the phase margin, and the steps of obtaining the minimum value J of the error objective function specifically include: The error objective function is: Among them, 20log10|Z cal (f p ,f c ,θ c )| is Z cal (f p ,f c ,θ c ) impedance magnitude, ∠Z scan (f R +f Rw ) is Z cal (f p ,f c ,θ c )’s impedance phase; Current loop controller proportional coefficient k gip and the integration coefficient k gii The frequency range of the influence on AC impedance is f cmin +f1~f cmax +f1, using parameter optimization algorithm, in f c ∈[f cmin ,f max ] and θ c ∈(0°,90°) limit range, the current loop control bandwidth and phase margin are optimized so that the function relationship Z cal (f p ,f c ,θ c ) and AC impedance measurement results Z scan (f p ) The sum of the squares of the amplitude differences and the sum of the squares of the phase differences are minimized to obtain the minimum value J of the error objective function; The second recognition module compares the minimum value J of the error objective function with the preset threshold J set The steps of determining the adoption of virtual impedance control of the new energy power generation grid-connected device and obtaining the second control structure identification result specifically include: When the error objective function J ≥ J set When , it indicates that the new energy power generation grid-connected device adopts virtual impedance control based on the typical control structure; When the error objective function J <J set When , it indicates that the new energy power generation grid-connected device does not adopt virtual impedance control; The correction module re-establishes the model of the new energy power generation grid-connected device under the overall control structure according to the first control structure identification result and the second control structure identification result, and obtains the corrected AC impedance Z mod (f p ), specifically including: The model of the renewable energy power generation grid-connected device under the overall control structure includes DC voltage loop control, phase-locked loop, current loop control, active damping control and virtual impedance control; the d and q axis current components i gd 、i gq Through the virtual impedance controller H y (s) and then added to the current loop controller H gi (s) output; at the same time, the three-phase current of the filter capacitor i Ca 、i Cb 、i Cc Through the Park transformation of abc→dq, the filter capacitor d and q axis current components i are obtained. Cd 、i Cq , and then through the active damping controller H c (s) and then added to the current loop controller H gi (s) output; The active damping controller is set to a second-order general expression: When it is determined that the new energy power generation grid-connected device adopts active damping control, the active damper control parameters that need to be identified include damping coefficient a, numerator second-order term coefficient b, numerator first-order term coefficient c, numerator constant term coefficient d, denominator second-order term coefficient e, denominator first-order term coefficient f; a, b, c, d, e, f ∈ [0, 1]; when it is determined that the new energy power generation grid-connected device does not adopt active damping control, the damping coefficient a is 0; The virtual impedance controller is set to the second-order general expression: When it is determined that the new energy power generation grid-connected device adopts virtual impedance control, the virtual impedance controller parameters that need to be identified include the damping coefficient g, the numerator second-order term coefficient h, the numerator first-order term coefficient i, the numerator constant term coefficient j, the denominator second-order term coefficient k, and the denominator first-order term coefficient l; g, h, i, j, k, l ∈ [0, 1]; when it is determined that the new energy power generation grid-connected device does not adopt virtual impedance control, the coefficient damping coefficient g is 0; Modified Modulation Small Signal under Overall Control Structure The analytical expression is: Among them, E′ i , E′ v All are 5-order matrices. The numbers in brackets in formulas (21) and (22) represent the elements of the corresponding rows and columns in the matrix. Except for the elements shown in formulas (21) and (22), the remaining elements of the matrix are all zero. E′ i , E′ v Substituting E in formula (13) i 、E v After the matrix is calculated, the modified AC admittance analytical model Y′ of the renewable energy power generation grid-connected device is obtained. cal (3,3), corrected AC impedance Z mod (f p ) = Y′ cal (3,3); The functional relationship of the modified AC impedance with the frequency, current loop control bandwidth, current loop control phase margin, active damper control parameters, and virtual impedance controller parameters is expressed as Z mod (f p ,f c ,θ c ,D c ,D y ), where D c is the active damper control parameter set, D c ={a,b,c,d,e,f},D y is the virtual impedance controller parameter set, D y ={g,h,i,j,k,l}.
5. The control structure identification device for a new energy power generation grid-connected device according to claim 4, characterized in that: Resonance frequency point f R Obtained by the following steps: At the filter (4) cutoff frequency f LC Select f nearby LC -f w ~f LC +f w Impedance measurement results within the range Z scan (f LC -f w )~Z scan (f LC +f w ) as the impedance input data set to obtain the resonant frequency point; the sideband width f w Select the filter cutoff frequency f LC 1 / 2; Get the resonant frequency point f from the impedance input data set R , the resonant frequency point f R Indicates the frequency corresponding to the maximum impedance amplitude in the impedance input data set, satisfying: Z max (f R )=max{20log10|Z scan (f p )|},f p =f LC -f w ~f LC +f w (3) Among them, max{} is the maximum value function, Z max (f R ) is the maximum impedance amplitude in the impedance input data set, 20log10|Z scan (f p )| is the resonant frequency point f p Lower impedance amplitude; Z max (f R ) is the frequency f LC -f w ~f LC +f w The maximum impedance amplitude within the range.
6. The control structure identification device for a new energy power generation grid-connected device according to claim 4, characterized in that: The third recognition module constructs the modified AC impedance Z mod (f p ) and the correction error objective function of the measurement result, and then using the parameter optimization algorithm to minimize the error objective function, and identifying the current loop control bandwidth, phase margin, active damping control parameters and virtual impedance control parameters of the new energy power generation grid-connected device, specifically including: The corrected error objective function is: Among them, 20log10|Z mod (f p ,f c ,θ c ,D c ,D y )| is Z mod (f p ,f c ,θ c ,D c ,D y ) impedance magnitude, ∠Z mod (f p ,f c ,θ c ,D c ,D y ) is Z mod (f p ,f c ,θ c ,D c ,D y )’s impedance phase; By adopting the parameter optimization algorithm, in f c ∈[f cmin ,f max ]、θ c ∈(0°,90°), a,b,c,d,e,f∈[0,1], g,h,i,j,k,l∈[0,1], optimize the control parameters so that the function relationship Z mod (f p ,f c ,θ c ,D c ,D y ) and AC impedance measurement results Z scan (f p ) The sum of the squares of the amplitude difference and the phase difference is minimized, and the minimum value of the correction error objective function is obtained, and the corresponding current loop control bandwidth f c and phase margin θ c , Active damping control parameter D c ={a,b,c,d,e,f}, virtual impedance control parameter D y ={g,h,i,j,k,l} is the control structure and control parameter identification result of the new energy power generation grid-connected device.
7. An electronic device, characterized in that: It comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the control structure identification method of a new energy power generation grid-connected device as claimed in any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by the processor, the control structure identification method of the new energy power generation grid-connected device according to any one of claims 1 to 3 is implemented.
