Data-driven power grid frequency modulation system analysis method and device

Through the data-driven grid frequency modulation system analysis method, a load frequency control system model based on data representation is established, a data-driven stability analysis criterion is designed, and the controller gain is directly determined, which solves the problem of difficult parameters in the load frequency control system, and improves the Frequency stability and response speed.

CN118897466APending Publication Date: 2024-11-05CHINA UNIV OF GEOSCIENCES (WUHAN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410940509.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

In the prior art, the difficult parameters or the need for large amounts of data are required in the load frequency control system, resulting in insufficient response delay and frequency fluctuation suppression capabilities of the controller.

Method used

A data-driven grid frequency modulation system analysis method is proposed. By establishing a load frequency control system model based on data representation, designing data-driven stability analysis criteria, and designing the controller of the data-driven load frequency control system based on this, directly determining the controller Gain simplifies the controller design process.

Benefits of technology

The stability analysis of LFC system based on sampling data is realized, and a simpler controller design method is provided, which can directly determine the controller gain, solve the problem of difficult parameters, and improve frequency stability and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897466A_ABST
    Figure CN118897466A_ABST
Patent Text Reader

Abstract

The invention discloses a data-driven power grid frequency modulation system analysis method, a storage medium and equipment, and relates to the technical field of power grid frequency modulation systems.The method comprises the steps that a data-driven load frequency control system model is established; establishing a data driving stability analysis criterion based on the model; and designing a controller of the data-driven load frequency control system based on a data-driven stability analysis criterion. The invention proposes a load frequency control system based on data representation, and proposes an acceptable MSI stability criterion for a given controller by describing the dynamic behavior of a data-based LFC system. According to the method, the design condition of the PI type controller is further developed to meet the required MSI, the controller design criterion based on pure data driving is provided, the required controller gain can be directly determined, and therefore the simpler method is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grid frequency modulation systems, and in particular to a data-driven power grid frequency modulation system analysis method and device. Background Art

[0002] Load frequency control (LFC) schemes are widely used in power systems to suppress frequency fluctuations caused by power imbalance. In practice, the measured values ​​of useful state signals are sampled and then transmitted to the system control center, but in this process, the objects of the power system operate in the continuous time domain, which forms a sampled data system composed of continuous-time objects and discrete sampling controllers. The time lag in this continuous-discrete hybrid LFC system causes the controller to respond to system changes and thus affects the ability to suppress frequency fluctuations. Therefore, it is necessary to determine the maximum sampling interval (MSI) allowed by the controller or to design an effective controller to ensure frequency stability.

[0003] Many researchers have conducted extensive research on LFC schemes for power systems. There are two main methods. One is to convert it into a continuous time-delay model based on the input delay method and apply related delay technology; the other is to obtain a discrete model based on discretization theory for further processing. However, the results generated by the above model are heavily dependent on various parameters within the LFC system, which are often difficult to obtain accurately in practice. In contrast, the measurement results of the system are easier to obtain. Although previous studies have proposed a model-free controller based on deep reinforcement learning, this method requires a large amount of data for training and it is difficult to guarantee closed-loop stability in theory. Summary of the invention

[0004] The purpose of the present invention is to solve the problem that load frequency control in the prior art requires parameters that are difficult to obtain in the control system or requires a large amount of data, and propose a data-driven power grid frequency regulation system analysis method, comprising the following steps:

[0005] S1. Establish a load frequency control system model based on data representation;

[0006] S2. establishing a data-driven stability analysis criterion based on the model;

[0007] S3. Based on the data-driven stability analysis criteria, a controller for the data-driven load frequency control system is designed.

[0008] Furthermore, S1 is specifically:

[0009] Establish a load frequency control system:

[0010]

[0011] Among them, A represents the system matrix about the system state variables, x(t) represents the state variables of the system at time t, B represents the system matrix about the input, u(t) represents the system input at time t, F represents the system matrix about the external disturbance, d(t) represents the external disturbance of the system at time t, K represents the controller gain matrix, x(t k ) indicates t k The state variables of the system at time t k represents the kth sampling time, t k+1 represents the k+1th sampling moment;

[0012] Introducing unknown additive disturbance w(t) into the load frequency control system, we get:

[0013]

[0014] The additive perturbation w(t) satisfies the following boundary conditions:

[0015]

[0016] Where W = [w(1), w(2), ..., w(N)] represents the unknown noise disturbance during N data measurements. represents a known symmetric real matrix of dimension N×N, Represents a dimension of N×n w A known real matrix, Indicates dimension n w ×n w A known symmetric real matrix, n w represents the number of unknown noise variables, N represents the number of measured data, and I represents the unit matrix;

[0017] In the state space, the load frequency control system with the unknown additive disturbance w(t) is represented based on data as follows:

[0018]

[0019] Z = col{X,U}

[0020] col{X,U}=[X T ,U T ] T ,

[0021] Among them, ∑ s represents the load frequency control system model based on data representation, [AB] represents the system matrix pair under state space representation, represents a real number matrix of dimension n×(n+m), n represents the number of system states, m represents the number of system inputs, X=[x(1),x(2),...,x(N)] represents N system state measurement data, U=[u(1),u(2),...,u(N),] represents N input measurement data, represents the matrix of unknown measurement noise, and N represents the number of measurement data.

[0022] Furthermore, the input of the load frequency control system is a primary frequency modulation control signal and a secondary frequency modulation control signal.

[0023] Furthermore, step S2 is specifically as follows:

[0024] According to the internal stability principle of the system, the load frequency control system is expressed as:

[0025]

[0026] For a given sampling interval T, the controller proportional gain K p and integral gain K I , there exists a matrix and scalar ε>0, so that the following inequality holds, then for any [AB]∈∑ s ,system Asymptotically stable;

[0027]

[0028] in,

[0029]

[0030] ∏1=col{e2-e1, e1-e5}, ∏2=col{e1-e2, e1-e5}

[0031] ∏3=col[e2, e5}, ∏4=col{e8, e0}, ∏5=col{e1-e2, e0}

[0032] ∏6=col{e8, e8}, ∏7=col{e0, e8}, ∏8=col{e0, e1-e5}

[0033] E1=col{e5-e1, e5+e1-2e6, e5-e1+6e6-12e7}

[0034] E2=col{e1-e2, e1+e2-2e3, e1-e2+6e3-12e4}

[0035] e0=0 n×8n , ej =[0 0×(j-1)n , I n , 0 0×(8-j)n ],j=1,2,...,8,I n represents the n-order identity matrix, 0 n×8n represents a zero matrix of dimension n×8n;

[0036] in, express Sym(F(-e8))=F(-e8)+[F(-e8)] T , col{e5-e1,e5+e1-2e6,e5-e1+6e6-12e7}=[(e5-e1) T ,(e5+e1-2e6) T ,(e5-e1+6e6-12e7) T ] T ;

[0037] Construct the following two-sided loop functional:

[0038]

[0039] Where x(s) is the integrand containing the variable s in the integral term;

[0040] v1(t)=x(t)-x(t k ), v2(t)=x(t)-x(t k+1 )

[0041]

[0042] Calculate the derivative of V(t) and use the free matrix-based integral inequality to estimate the integral term, which is:

[0043]

[0044] Among them, x(u) is the integrand containing variable u in the integral term;

[0045] The following zero equation holds:

[0046] 0=2η(t) T F(Ae1-BKe2-e8)η(t),

[0047] The following inequality holds:

[0048]

[0049] in,

[0050]

[0051] If there exists ε>0, so that the following equation holds, then Ψ i < 0 for all [AB]∈∑ s All are established:

[0052]

[0053] Among them, Ω i express

[0054] Load frequency control system In any [AB]∈∑ s All are stable.

[0055] Furthermore, the MSI margin of the system is solved by the bisection method:

[0056] (1) Using measurement data Constructing the data matrix X and U;

[0057] (2) Using the given matrix Q d , S d and R d Constructing a reversible matrix

[0058] (3) Preset search interval [T m ,T M ] and accuracy requirement τ ac ;

[0059] (4) For a given T = (T m +T M ) / 2, check the linear matrix inequality If feasible, set T m =T,T res =T, otherwise, set T M =T;

[0060] (5) If T M -T m ≤τ ac , obtain,MSI=T res ; Otherwise repeat (4).

[0061] Furthermore, S3 is specifically:

[0062] For a given scalar T and δ, there exists a matrix The scalar ε>0, so that the following inequality holds, then the system with a PI controller For any [AB]∈∑ s is stable;

[0063]

[0064] in,

[0065]

[0066] The following zero equation holds:

[0067] 0=2η T (t)(e1+δe8) T G(Ae1-BKe2-e8)η(t),

[0068] The following inequality holds:

[0069]

[0070] Where Π=(e1+δe8) T and

[0071] The inequality Converts to:

[0072]

[0073] Among them, * indicates col{H T e1,-Le2} transpose, Π represents (e1+δe8) T ;

[0074]

[0075] as well as,

[0076]

[0077] in, j=1,2,...,8,G=H -1 , C represents the matrix

[0078] If there exists ε>0, so that the following equation holds, then For all [AB]∈∑ s All are established:

[0079]

[0080] express

[0081] Then the PI controller gain is based on [K P K I ]=L(CHT ) -1 Calculated.

[0082] Furthermore, the controller gain K is determined by the following steps:

[0083] (1) Using measurement data Constructing the data matrix X and U;

[0084] (2) Using the given matrix Q d , S d and R d Constructing a reversible matrix

[0085] (3) Solving inequalities Get matrices H and L;

[0086] (4) According to [K p K I ]=L(CH T ) -1 Solve and obtain the controller gain K.

[0087] The present invention also proposes a data-driven power grid frequency regulation system analysis device, including a processor and a memory, on which is stored a computer program that can be run on the processor. When the computer program is executed by the processor, the steps of the above-mentioned data-driven power grid frequency regulation system analysis method are implemented.

[0088] The beneficial effects brought by the technical solution provided by the present invention are:

[0089] The present invention uses only pre-collected measurement sampling data, thereby establishing an LFC system based on data representation. In order to calculate the MSI of a given controller, the method performs a stability analysis of the LFC system based on the sampling data by a data-driven method, and proposes an acceptable MSI stability criterion for obtaining a given controller by describing the dynamic behavior of the LFC system based on the data representation. The method further develops the design conditions of the PI-type controller to meet the required MSI, and proposes a controller design criterion based on pure data drive, solving the problem in the prior art that load frequency control requires parameters that are difficult to obtain in the control system or requires a large amount of data. The method can directly determine the required controller gain, thereby providing a more concise method. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] Figure 1 is a flow chart of a data-driven power grid frequency modulation system analysis method according to an embodiment of the present invention;

[0091] Figure 2 is a structural diagram of an LFC system based on sampling data according to an embodiment of the present invention;

[0092] Figure 3 are different controller parameters of the embodiments of the present invention [K P K I ]’s system frequency deviation. DETAILED DESCRIPTION

[0093] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0094] A flow chart of a data-driven power grid frequency modulation system analysis method according to an embodiment of the present invention is shown in FIG. Figure 1 , specifically including the following steps:

[0095] S1. Establish a load frequency control system model based on data representation.

[0096] The structure diagram of the LFC system based on sampling data considered by the present invention is as follows Figure 2 As shown, the load demand (ΔP d ) and renewable energy (ΔP s ) will disturb the system's work balance, further leading to frequency deviation (Δf). In order to maintain the stability of Δf, the turbine (ΔP v ) valve position changes, thereby further inducing a power output deviation (ΔP m ) to restore power balance. In the above process, M and D are the speed inertia and damping coefficient of the generator, respectively. g and T ch are the time constants of the speed governor and the turbine, respectively. These parameters are difficult to obtain accurately in practice, so it is necessary to develop a database representation of the LFC model to enable system analysis and synthesis without parameterized accurate models. The primary frequency modulation control signal is represented by the voltage drop control with speed reduction (R), and the secondary frequency modulation control signal is generated by the following LFC system based on sampled data.

[0097] First, establish the load frequency control (LFC) system:

[0098]

[0099] Among them, K P and K I represents the proportional and integral gain respectively. The area control error (ACE) is defined as ACE = βΔf, where β is the frequency offset factor and the sampling interval T = t k+1 -t k .

[0100] The load frequency control system is simplified to a linear state space form:

[0101]

[0102] Where A represents the system matrix about the system state variables, x(t) represents the system state variables, B represents the system matrix about the input, u(t) represents the input, F represents the system matrix about the external disturbance, d(t) represents the external disturbance of the system, K represents the controller gain matrix, t k represents the kth sampling moment.

[0103] As mentioned above, the parameters of the system are difficult to obtain accurately in practice, so it is difficult to obtain the matrix [AB] of the system in practice, and even if it can be obtained, it is very time-consuming. Therefore, the purpose of the present invention is to find an acceptable T for a given controller using pre-collected data and design a PI controller for the required T without obtaining the system matrix [AB] through mechanism modeling and nameplate parameters.

[0104] To achieve this, a purely data-based representation of the system is required, where an input sequence of length N is imposed on the system. Record the value of each state variable of the system to obtain a system state measurement value sequence of length N Combining the measurements gives us the data matrices X = [x(1), x(2), ..., x(N),] and U = [u(1), u(2), ..., u(N),]. Then a similar data matrix can be further obtained by densely sampling x(n). Note that the measurement noise and The effect of estimation error is to introduce an unknown additive disturbance w(t) into the system without loss of generality. Specifically, data collection is based on the number of samples taken by the local sensor in the disturbed system. Executed at.

[0105] Introducing unknown additive disturbance w(t) into the load frequency control system, we get:

[0106]

[0107] in, is a given matrix with full column rank, Represents a dimension of n×n w A real number matrix, n represents the number of system state variables, n w Represents the number of unknown noise disturbance variables. Unknown disturbances can also be combined into the matrix W. In actual systems, the disturbance w(t) is unknown, but always bounded. The additive disturbance w(t) satisfies the following boundary conditions:

[0108]

[0109] Where W = [w(1), w(2), ..., w(N)] represents the unknown noise disturbance during N data measurements. represents a known symmetric real matrix of dimension N×N, Represents a dimension of N×n w A known real matrix, Indicates dimension n w ×n w A known symmetric real matrix, n w represents the number of unknown noise variables, N represents the number of measured data, and I represents the unit matrix.

[0110] The set of all systems that are consistent with the measured data and satisfy the perturbation bounds can be defined as:

[0111]

[0112] According to the transformation, the set ∑ s is equivalent to:

[0113]

[0114] Z = col{X,U}

[0115]

[0116] Among them, ∑ s represents the load frequency control system model based on data representation, [AB] represents the system matrix pair under state space representation, represents a real number matrix of dimension n×(n+m), n represents the number of system states, m represents the number of system inputs, X=[x(1),x(2),...,x(N)] represents N system state measurement data, U=[u(1),u(2),...,u(N),] represents N input measurement data, represents the matrix of unknown measurement noise, represents a known symmetric real matrix of dimension N×N, Represents a dimension of n×n w A known real matrix, Indicates dimension n w ×n w A known symmetric real matrix, n w represents the number of unknown noise variables, and N represents the number of measured data.

[0117] For sufficiently rich data and reversible B w To ensure Θ S The reversibility of , applying the duality theorem, the above set is also equivalent to:

[0118]

[0119] in,

[0120] gather and Two equivalent data-based representations of the LFC system in state space are provided, which contain all possible matrices consistent with the data [AB]. These sets are also interpreted as containing the exact system [A * B * ], where the uncertainties satisfy the quadratic matrix inequality bounds of the above two sets respectively.

[0121] S2. Establishing data-driven stability analysis criteria based on the model.

[0122] system Internal stability is equal to the stability of the equilibrium point when d(t) = 0, so the system to:

[0123]

[0124] For a given sampling interval T, the controller proportional gain K p and integral gain K I , if there exists a matrix represents a known positive definite symmetric real matrix of dimension n×n; Represents a known real number matrix of dimension 2n×2n; Represents a known real number matrix of dimension n×n; represents a known symmetric real matrix of dimension 2n×2n; Represents a known real number matrix of dimension 3n×8n; and scalar ε>0, represents a known real number matrix of dimension 8n×n; so that the following inequality holds, then for any [AB]∈∑ s ,system Asymptotically stable;

[0125]

[0126] in,

[0127]

[0128] Π1=col{e2-e1, e1-e5}, Π2=col{e1-e2, e1-e5}

[0129] Π3=col{e2,e5}, Π4=col{e8,e0}, Π5=col{e1-e2,e0}

[0130] Π6=col{e8,e8}, Π7=col{e0,e8}, Π8=col{e0,e1-e5}

[0131] E1=col{e5-e1, e5+e1-2e6, e5-e1+6e6-12e7}

[0132] E2=col{e1-e2, e1+e2-2e3, e1+6e3-12e4}

[0133] e0=0 n×8n , e j =[0 0×(j-1)n , I n , 0 0×(8-j)n ],j=1,2,...,8,I n represents the n-order identity matrix, 0 n×8n represents a zero matrix of dimension n×8n;

[0134] in, express Sym(x)=x+x T ,

[0135] Construct the following two-sided loop functional:

[0136]

[0137] Where x(s) is the integrand containing the variable s in the integral term; v1(t) = x(t) - x(t k ), v2(t)=x(t)-x(t k+1 ),

[0138] Calculate the derivative of V(t) and use the free matrix-based integral inequality to estimate the integral term, which is:

[0139]

[0140] x(u) is the integrand containing the variable u in the integral term;

[0141] The following zero equation holds:

[0142] 0=2η(t) T F(Ae1-BKe2-e8)η(t)

[0143] The following inequality holds:

[0144]

[0145] in,

[0146]

[0147] Ψ i is equivalent to:

[0148]

[0149] Where, Γ=col{Ae1-BKe2,I}

[0150] In-style Multiply the front and back by and Using the Matrix S Theorem, if there exists ε>0 such that the following equation holds, then Ψ i < 0 for all [AB]∈∑ s All are established:

[0151]

[0152] Among them, Ω i express

[0153] Through the convex combination theorem and the cyclic functional method, the above formula holds, indicating that If the load frequency control system is established, In any [AB]∈∑ s All are stable.

[0154] Solve the MSI margin of the system by bisection method:

[0155] (1) Using measurement data Constructing the data matrix X and U;

[0156] (2) Using the given matrix Q d , S d and R d Constructing a reversible matrix

[0157] (3) Preset search interval [T m ,T M ] and accuracy requirement τ ac ;

[0158] (4) For a given T = (T m +T M ) / 2, check the linear matrix inequality If feasible, set T m =T,Tres =T, otherwise, set T M =T;

[0159] (5) If T M -T m ≤τ ac , obtain,MSI=T res ; Otherwise repeat (4).

[0160] S3. Based on the data-driven stability analysis criteria, a controller for the data-driven load frequency control system is designed.

[0161] For a given scalar T and δ, if there exists a matrix The scalar ε>0, so that the following inequality holds, then the system with a PI controller For any [AB]∈∑ s is stable;

[0162]

[0163] in,

[0164]

[0165] Π1=col{e2-e1, e1-e5}, Π2=col{e1-e2, e1-e5}

[0166] Π3=col{e2-e5}, Π4=col{e8, e0}, Π5=col{e1-e2, e0}

[0167] Π6=col{e8,e8}, Π7=col{e0,e8}, Π8=col{e0,e1-e5}

[0168] E1=col{e5-e1, e5+e1-2e6, e5-e1+6e6-12e7}

[0169] E2=col{e1-e2, e1+e2-2e3, e1-e2+6e3-12e4}

[0170] e0=0 n×8n , e i =[0 0×(i-1)n , I n , 0 0×(8-i)n ], i = 1, 2, ..., 8

[0171] The following zero equation holds:

[0172] 0=2η T (t)(e1+δe8) TG(Ae1-BKe2-e8)η(t)

[0173] The following inequality holds:

[0174]

[0175] Where Π=(e1+δe8) T and

[0176] Definition Λ i =diag{H,H,...,H}(i H), H=G -1 , the inequality Multiplying by Λ8 and its transpose respectively, we get:

[0177]

[0178] Among them, * indicates col{H T e1,-Le2} transpose, Π represents (e1+δe8) T ;

[0179]

[0180] as well as,

[0181]

[0182] in, C represents the matrix

[0183] Using the Matrix S Theorem, if there exists ε>0 such that the following equation holds, then For all [AB]∈∑ s All are established:

[0184]

[0185] in, express

[0186] Guaranteed by Schur's complement theorem Equivalent to the formula Then the PI controller gain can be calculated according to [K P K I ]=L(CH T ) -1 Calculated.

[0187] Determine the controller gain K by following the steps below:

[0188] (1) Using measurement data Constructing the data matrix X and U;

[0189] (2) Using the given matrix Q d , S d and R d Constructing a reversible matrix

[0190] (3) Solving inequalities Get matrices H and L;

[0191] (4) According to [K P K I ]=L(CH T ) -1 Solve and obtain the controller gain K.

[0192] In an exemplary embodiment, a data-driven power grid frequency regulation system analysis device is provided, the device comprising:

[0193] processor;

[0194] a memory having stored thereon a computer program executable on the processor;

[0195] Among them, when the computer program is executed by the processor, the steps of the above-mentioned data-driven power grid frequency regulation system analysis method are implemented.

[0196] Effect after implementation

[0197] For the single-area load frequency control model, the relevant system parameters are given in Table 1. For data-driven stability analysis and controller design, N = 1000 measurements are first collected. The sampling period is 0.1s, where the open-loop input is uniformly sampled from u(t)∈[-1,1]. In practical applications, the measurement data can also be obtained directly from historical data. The range of random perturbations w(t) is is a positive number greater than 0. d = -I, S d =0, To ensure the reversibility of Θs, assume that B ω =I.

[0198] For different and PI controller gain (K P ,K I ), the obtained MSI is summarized in Table 2, where [A * B * ] represents a known exact system. The results show that for a given (K P ,K I ), allowing MSI to follow KP and K I decreases with the increase of K I The increase of has a greater impact on the permissible MSI. The increase in will also lead to a smaller MSI, because ∑ s is a robust set that contains real systems. However, data-driven methods do not require knowledge of the system matrix. When is small enough, the obtained MSI is very close to the model-based result.

[0199] In addition, assuming is 0.001, given T = 4s and δ = 10, the calculated PI controller gain is K P =0.0187, K I =0.0729. Then, when t=10s, ΔP d =1 load disturbance step change and ΔP s The LFC system is tested with random renewable energy variations of ∈[-0.1,0.1]. Figure 3 As shown, the frequency deviation (Δf) converges to zero or is suppressed, which illustrates the effectiveness of the proposed method.

[0200] Table 1 Parameters of the traditional two-domain LFC system

[0201]

[0202] Table 2 Different and (K P ,K I )

[0203]

[0204] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A data-driven power grid frequency modulation system analysis method, characterized in that: The following steps are involved: S1. Establish a load frequency control system model based on data representation; S2. establishing a data-driven stability analysis criterion based on the model; S3. Based on the data-driven stability analysis criteria, a controller for the data-driven load frequency control system is designed.

2. A data-driven power grid frequency modulation system analysis method according to claim 1, characterized in that: S1 is specifically: Establish a load frequency control system: Among them, A represents the system matrix about the system state variables, x(t) represents the state variables of the system at time t, B represents the system matrix about the input, u(t) represents the system input at time t, F represents the system matrix about the external disturbance, d(t) represents the external disturbance of the system at time t, K represents the controller gain matrix, x(t k ) indicates t k The state variables of the system at time t k represents the kth sampling time, t k+1 represents the k+1th sampling moment; Introducing unknown additive disturbance w(t) into the load frequency control system, we get: The additive perturbation w(t) satisfies the following boundary conditions: Where W = [w(1), w(2), ..., w(N)] represents the unknown noise disturbance during N data measurements. represents a known symmetric real matrix of dimension N×N, Represents a dimension of N×n w A known real matrix, Indicates dimension n w ×n w A known symmetric real matrix, n w represents the number of unknown noise variables, N represents the number of measured data, and I represents the unit matrix; In the state space, the load frequency control system with the unknown additive disturbance w(t) is represented based on data as follows: Z = col{X,U} col{X,U}=[X T ,U T ] T , Among them, ∑ s represents the load frequency control system model based on data representation, [AB] represents the system matrix pair under state space representation, represents a real number matrix with dimension n×(n+m), n represents the number of system states, m represents the number of system inputs, X=[x(1), x(2), ..., x(N)] represents N system state measurement data, U=[u(1), u(2), ..., u(N),] represents N input measurement data, represents the matrix of unknown measurement noise, and N represents the number of measurement data.

3. A data-driven power grid frequency modulation system analysis method according to claim 2, characterized in that: The input of the load frequency control system is the primary frequency modulation control signal and the secondary frequency modulation control signal.

4. A data-driven power grid frequency modulation system analysis method according to claim 2, characterized in that: Step S2 is specifically as follows: According to the internal stability principle of the system, the load frequency control system is expressed as: For a given sampling interval T, controller proportional gain K p And the integral gain K I , there exists a matrix and scalar ε>0, so that the following inequality holds, then for any [AB]∈∑ s ,system Asymptotically stable; in, Π l =col{e2-e1,e1-e5},Π2=col{e1-e2,e1-e5} Π3=col{e2,e5}, Π4=col{e8,e0}, Π5=col{e1-e2,e0} Π6=col{e8,e8}, Π7=col{e0,e8}, Π8=col{e0,e1-e5} E1=col{e5-e1, e5+e1-2e6, e5-e1+6e6-12e7} E2=col{e1-e2, e1+e2-2e3, e1-e2+6e3-12e4}, e0=0 n×8n , e j =[0 0×(j-1)n , I n , 0 0×(8-j)n ], j = 1, 2, ..., 8, I n represents the n-order identity matrix, 0 n×8n represents a zero matrix of dimension n×8n; in, express Sym(F(-e8))=F(-e8)+[F(-e8)]T, col{e5-e1, e5+e1-2e6, e5-e1+6e6-12e7}=[(e5-e1) T , (e5+e1-2e6) T , (e5-e1+6e6-12e7) T ] T ; Construct the following two-sided loop functional: Where x(s) is the integrand containing the variable s in the integral term; v1(t)=x(t)-x(t k ),v2(t)=x(t)-x(t k+1 ) Calculate the derivative of V(t) and use the free matrix-based integral inequality to estimate the integral term, which is: Among them, x(u) is the integrand containing variable u in the integral term; The following zero equation holds: 0=2η(t) T F(Ae1-BKe2-e8)η(t), The following inequality holds: in, If there exists ε>0, so that the following equation holds, then Ψ i <0 for all [AB]∈∑ s All are established: Among them, Ω i express Load frequency control system In any [AB]∈∑ s All are stable.

5. A data-driven power grid frequency modulation system analysis method according to claim 4, characterized in that: Solve the MSI margin of the system by bisection method: (1) Using measurement data Constructing the data matrix X and U; (2) Using the given matrix Q d , S d and R d Constructing a reversible matrix (3) Preset search interval [T m , T M ] and accuracy requirement τ ac ; (4) For a given f = (T m +T M ) / 2, check the linear matrix inequality If feasible, set T m =T,T res =T, otherwise, set T M =T; (5) If T M -T m ≤τ ac , obtain,MSI=T res ; Otherwise repeat (4).

6. A data-driven power grid frequency modulation system analysis method according to claim 5, characterized in that: S3 is specifically: For a given scalar T and δ, there exists a matrix The scalar ε>0, so that the following inequality holds true, then the system with a PI controller For any [AB]∈∑ s is stable; in, The following zero equation holds: 0=2nd T (t)(e1+δe8) T G(Ae1-BKe2-e8)η(t), The following inequality holds: Where Π=(e1+δe8) T and i=1,2; The inequality Converts to: Among them, * indicates col{H T e1, -Le2} transpose, Π represents (e1+δe8) T ; as well as, in, G=H -1 , C represents the matrix If there exists ε>0, so that the following equation holds, then For all [AB]∈∑ s All are established: express Then the PI controller gain is based on [K P K I ]=L(CH T ) -1 Calculated.

7. A data-driven power grid frequency modulation system analysis method according to claim 6, characterized in that: Determine the controller gain K by following the steps below: (1) Using measurement data Constructing the data matrix X and U; (2) Using the given matrix Q d , S d and R d Constructing a reversible matrix (3) Solving inequalities Get matrices H and L; (4) According to [K P K I ]=L(CH T ) -1 Solve and obtain the controller gain K.

8. A data-driven power grid frequency modulation system analysis device, characterized in that: The device comprises: processor; a memory having stored thereon a computer program executable on the processor; Wherein, when the computer program is executed by the processor, the steps of a data-driven power grid frequency regulation system analysis method as described in any one of claims 1 to 7 are implemented.