Maximum power point tracking sliding mode control method, device and equipment based on offshore wind power system

By adopting a sliding mode speed controller with variable index approach law and an improved nonlinear function expansion state observer in offshore wind power systems, the problems of slow convergence speed and jitter in maximum power point tracking are solved, and more efficient Wind energy capture and stronger disturbance resistance.

CN119024920AActive Publication Date: 2024-11-26SANYA SCI & EDUCATION INNOVATION PARK WUHAN UNIV OF TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411105580.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-26
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

The existing maximum power point tracking method of offshore wind power systems has problems such as slow convergence speed, poor jitter and impairment, making it difficult to accurately track the optimal speed.

Method used

Using a sliding mode speed controller based on the variable index approach law and an improved nonlinear function expansion state observer, the convergence speed and disturbance resistance of the system are improved through interpolation fitting and disturbance compensation, and the maximum power point of the offshore wind power system is realized. track.

Benefits of technology

It significantly improves the accuracy and disturbance resistance of maximum power point tracking, and enhances the dynamic response capability and control accuracy of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119024920A_ABST
    Figure CN119024920A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of sliding mode control, in particular to a maximum power point tracking sliding mode control method, device and equipment based on an offshore wind power system. According to the scheme provided by the invention, a sliding mode speed controller based on a variable exponential reaching law is determined through a transmission system dynamic equation, a first state variable, a sliding mode surface equation and a variable exponential sliding mode controller of an offshore wind power system; based on the nonlinear function to be improved, adopting interpolation fitting to determine an improved nonlinear function; based on the improved nonlinear function, obtaining an improved nonlinear function extended state observer; and realizing maximum power point tracking sliding mode control of the offshore wind power system based on a sliding mode speed controller of a variable exponential reaching law and an improved nonlinear function expansion state observer. According to the scheme, the anti-disturbance performance and the control precision of the system are improved, so that the maximum power point tracking accuracy of the offshore wind power generation system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of sliding mode control, and in particular to a maximum power point tracking sliding mode control method, device and equipment based on an offshore wind power system. Background Art

[0002] In recent years, in order to reduce carbon emissions, protect the ecological environment, and promote sustainable economic and social development, China has introduced carbon peak and carbon neutrality policies to ensure timely reduction of carbon emissions. Among them, offshore wind power systems are widely used as an important renewable energy source due to their advantages such as abundant resources, high space utilization, and low environmental impact.

[0003] During the use of offshore wind power systems, it is very important to track the maximum power point of offshore wind power generation systems, because it directly affects the energy conversion efficiency and economic benefits of the system. At present, the commonly used method is the perturbation observation method. In the process of tracking the maximum power point, this method has problems such as slow convergence speed, jitter and poor anti-interference ability, which makes it difficult to track the optimal speed.

[0004] Therefore, improving the maximum power point tracking accuracy of offshore wind power generation systems has become an urgent problem that needs to be solved. Summary of the invention

[0005] The present application provides a maximum power point tracking sliding mode control method, device and equipment based on an offshore wind power system, which can accurately track the maximum power point of the offshore wind power generation system.

[0006] In the first aspect, an embodiment of the present application provides a maximum power point tracking sliding mode control method based on an offshore wind power system, the method comprising: S1: determining a sliding mode speed controller based on a variable exponential reaching law based on a transmission system dynamic equation, a first state variable, a sliding surface equation and a variable exponential sliding mode controller of the offshore wind power system; S2: determining a nonlinear function to be improved based on a traditional nonlinear extended state observer and a second-order nonlinear system equation of an unknown disturbance; S3: improving the nonlinear function to be improved by using interpolation fitting to obtain an improved nonlinear function; S4: improving the traditional nonlinear extended state observer based on the improved nonlinear function to obtain an improved nonlinear function extended state observer; S5: realizing the maximum power point tracking sliding mode control of the offshore wind power system based on the sliding mode speed controller based on the variable exponential reaching law and the improved nonlinear function extended state observer.

[0007] In a possible implementation, step S1 includes: S11: based on the dynamic equation of the transmission system of the offshore wind power system, determining a transformation formula of the dynamic equation of the transmission system; the dynamic equation of the transmission system of the offshore wind power system is:

[0008]

[0009] Where J is the total moment of inertia of the transmission system, B is the damping coefficient of the transmission system, and T m is the mechanical torque of the fan, ω r is the mechanical angular velocity of the rotor, Te is the electromagnetic torque of the engine, ω m is the rotor mechanical angular velocity;

[0010] The transformation formula is:

[0011]

[0012] Where b is the coefficient term, u is the Q-axis component of the stator current in the synchronous rotating coordinate system DQ; the lumped disturbance f(t) = (Tm-Bω r ) / J; Yes m The first-order derivative of , the dot on the top of the parameter represents the derivative, the same below;

[0013] S12: Determine the system state variable error equation based on the transformation formula and the first state variable;

[0014] The first state variable is:

[0015]

[0016] Where, e1 is the first tracking error, e2 is the second tracking error, ω ropt is the optimal speed corresponding to the wind speed; is the first derivative of e1;

[0017] The system state variable error equation is:

[0018]

[0019] S13: determining an intermediate equation based on the system state variable error equation and the sliding surface equation;

[0020] The sliding surface equation is:

[0021] s=e1+α|e1| γ +βe2 m / n ;

[0022] Wherein, α, β, γ are all positive constants, and γ>1; m and n are positive odd numbers, 1<m / n<2, and γ>m / n;

[0023] The intermediate equation is:

[0024]

[0025] S14: Determine the sliding mode speed controller based on the variable exponential reaching law based on the intermediate equation and the variable exponential sliding mode controller;

[0026] The variable exponential sliding mode controller equation is:

[0027]

[0028] Where, k>0, q>0, δ>1, 0<ε<1, τ>0, exp represents the exponent, e represents the error of the system state variable, h(s)s δ represents the gain of the switching function, qs represents the exponential approach term, and s represents the sliding surface;

[0029] The sliding mode speed controller based on the variable exponential reaching law is:

[0030]

[0031] Wherein, α, β, γ are all positive constants, m and n are positive odd numbers, 1<m / n<2, and γ>m / n.

[0032] In a possible implementation, determining the intermediate equation based on the system state variable error equation and the sliding surface equation includes: differentiating the sliding surface equation to determine the derivative equation of the sliding surface equation; substituting the system state variable error equation into the derivative equation of the sliding surface equation to determine the intermediate equation.

[0033] In a possible implementation, step S2 includes: S21: reconstructing the second-order nonlinear system equation of the unknown disturbance to determine the third-order system equation;

[0034] The second-order nonlinear system equation of the unknown disturbance is:

[0035]

[0036] Where x1(t), x2(t), x3(t) represent system state variables, f(·) is a nonlinear function, d(t) is an unknown disturbance, u(t) is the control input, and b is the control gain;

[0037] The third-order system equation is:

[0038]

[0039] Where φ(t) is the total disturbance and y(t) is the system output;

[0040] S22: Based on the traditional nonlinear extended state observer, observe x3(t) in the third-order system to determine the nonlinear function to be improved;

[0041] The nonlinear function to be improved is:

[0042]

[0043] Where a and d are adjustable parameters, and x is the system state variable.

[0044] In a possible implementation, step S3 includes: S31: determining a first-stage nonlinear function equation by interpolation fitting based on the nonlinear function to be improved;

[0045] The first stage nonlinear function equation is:

[0046]

[0047] Where k1, k2 and k3 are parameters;

[0048] S32: Based on the nonlinear function equation of the first stage and the nonlinear function to be improved, improving the nonlinear function to be improved, and determining the nonlinear function equation of the second stage;

[0049] The second stage nonlinear function equation is:

[0050]

[0051] S33: Based on the first-stage nonlinear function equation and the second-stage nonlinear function equation, determine the parameter values ​​of k1, k2 and k3:

[0052] The parameter values ​​of k1, k2 and k3 are:

[0053]

[0054] S34: Based on the k1, k2 and k3 as parameter values ​​and the first stage nonlinear function equation, determine the improved nonlinear function;

[0055] The improved nonlinear function is:

[0056]

[0057] In a possible implementation, step S4 includes: S41: obtaining a lumped disturbance of the offshore wind power system, wherein the lumped disturbance includes internal parameter perturbations and external time-varying disturbances of mechanical torque, moment of inertia and friction coefficient of the offshore wind power system;

[0058] S42: Determine a second system state variable equation based on the lumped disturbance; the second system state variable equation is:

[0059]

[0060] In the formula, the system state variable x1 = ω m , expansion state variable x2=(T m -B ωm ) / J=f(t), f(t) is the lumped disturbance; S43: based on the second system state variable, determine the state space equation of the second order nonlinear system corresponding to the second system state variable equation; the state space equation of the second order nonlinear system is:

[0061]

[0062] In the formula,

[0063] S44: improving the traditional nonlinear extended state observer based on the state space equation of the second-order nonlinear system and the improved nonlinear function to obtain an improved nonlinear function extended state observer;

[0064] The improved nonlinear function extended state observer is:

[0065]

[0066] In the formula, β 01 >0,β 02 >0 is the output error correction gain of the improved nonlinear function extended state observer, a1 and a2 are nonlinear factors, d1 and d2 are filter factors, and z1 is the value of ω m is an estimate of , and z2 is an estimate of the lumped disturbance.

[0067] In a possible implementation, step S5 includes: S51: determining a sliding mode controller output equation according to an output result of the improved nonlinear function extended state observer; S52: implementing maximum power point tracking sliding mode control of the offshore wind power system based on the sliding mode controller output equation;

[0068] The output equation of the sliding mode controller is:

[0069] in is the instantaneous value of current; where, is an estimate of the lumped disturbance.

[0070] In a second aspect, an embodiment of the present application provides a maximum power point tracking sliding mode control device based on an offshore wind power system, the device comprising: the device comprising: a determination module, which is used for the transmission system dynamic equation, the first state variable, the sliding surface equation and the variable exponential sliding mode controller of the offshore wind power system to determine the sliding mode speed controller based on the variable exponential reaching law; the determination module is also used to determine the nonlinear function to be improved based on the traditional nonlinear extended state observer and the second-order nonlinear system equation of the unknown disturbance; a processing module, which is used to improve the nonlinear function to be improved by using interpolation fitting to obtain the improved nonlinear function; the processing module is also used to improve the traditional nonlinear extended state observer based on the improved nonlinear function to obtain an improved nonlinear function extended state observer; a control module, which is used to realize the maximum power point tracking sliding mode control of the offshore wind power system based on the sliding mode speed controller based on the variable exponential reaching law and the improved nonlinear function extended state observer.

[0071] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in the first aspect or any one of the implementation methods thereof is implemented.

[0072] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect or any one of the implementation methods thereof is implemented.

[0073] This application adopts a sliding mode control method based on disturbance compensation. This method enhances the performance of sliding mode control by incorporating an improved observer, thereby improving the power capture efficiency of offshore wind power systems under dynamically changing wind speed conditions and improving the accuracy of maximum power point tracking. First, based on the traditional exponential reaching law, an improvement is made, and a variable speed exponential reaching law dynamically related to the system state variables is introduced, and then a sliding mode controller based on the variable exponential reaching law is proposed, which effectively improves the system convergence speed and weakens the sliding mode jitter. Secondly, an improved nonlinear function is proposed, and a more accurate improved observer is designed. The observer is used to estimate the aggregate disturbance of the offshore wind power system and perform real-time dynamic compensation. This method effectively solves the problem of the upper limit of traditional sliding mode control in disturbance compensation, significantly improves the system's anti-disturbance performance and control accuracy, and ultimately improves the accuracy of maximum power point tracking of offshore wind power generation systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0075] Figure 1 The sliding mode control principle diagram provided for this application;

[0076] Figure 2 A schematic flow chart of a maximum power point tracking sliding mode control method based on an offshore wind power system provided in one embodiment of the present application;

[0077] Figure 3 A comparison diagram of the state phase trajectories of the traditional exponential reaching law and the variable exponential reaching law system provided in this application;

[0078] Figure 4 The simulation result diagram of the sliding mode control phase diagram curve based on the variable exponential reaching law provided in this application;

[0079] Figure 5 A curve comparison diagram of the function fal(x, a, d) and the function ifal(x, a, d) provided in this application;

[0080] Figure 6 The structural diagram of the NLESO-based SMC method provided in this application;

[0081] Figure 7 The simulation result diagram of the SMC method based on NLESO provided in this application;

[0082] Figure 8 The overall control block diagram of the sliding mode control method based on disturbance compensation provided in this application;

[0083] Fig. 9 Schematic diagram I of the simulation results provided for this application;

[0084] Fig.10 Schematic diagram II of the simulation results provided for this application;

[0085] Fig.11 Schematic diagram III of the simulation results provided for this application;

[0086] Fig.12 A structural block diagram of a maximum power point tracking sliding mode control device based on an offshore wind power system provided in one embodiment of the present application;

[0087] Fig.13 A schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0088] The following will be combined with the implementation methods of this application to clearly and completely describe the technical solutions in the implementation methods of this application. Obviously, the described implementation methods are only part of the implementation methods of this application, not all of the implementation methods. Based on the implementation methods in this application, all other implementation methods obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0089] In recent years, Huisman has developed a range of cranes specifically for wind turbine installation, building on the success of existing cranes in offshore wind turbine installation. Huisman has announced the launch of a newly developed system that enables crane operators to predict approaching wind speed, gusts and wind direction during the installation of wind turbine blades and take countermeasures. Huisman launches a wind detection system to assist in the safe installation of wind turbines. Dubbed “Gust Buster”, the system assists crane operators and lifting supervisors when installing large loads at high heights by providing 360-degree wind information around the boom end. By applying a LiDAR system to the crane boom end, a horizontal area is scanned to measure the incoming wind. The measurement data is post-processed by the crane’s automation system and can be displayed to the crane operator and other relevant personnel, such as those in the crane vessel’s wheelhouse. The prediction window is typically 5 to 8 minutes before the arrival of a gust, leaving enough time to decide whether to fit the blades to the nacelle. The system is applicable to both new Huisman cranes and existing cranes.

[0090] Based on the above research, this application studies the permanent magnet direct-drive offshore wind power generation system, which is below the rated wind speed to capture wind energy control and achieve the tracking of the optimal speed of the offshore wind power system. The improved SMC method is used to design the offshore wind power system controller, and the improved sliding mode control (SMC) has good dynamic response and anti-disturbance capabilities. A non-singular fast terminal sliding mode controller based on the variable exponential reaching law is proposed to solve the problems of slow convergence and jitter in the traditional sliding mode controller. A nonlinear extended state observer (NLESO) is proposed to observe disturbances and perform real-time dynamic compensation, which improves the anti-disturbance capability of the offshore wind power system and solves the internal parameter perturbations and external time-varying disturbances of the offshore wind power system. Finally, the performance and advantages of the three control strategies of proportional integral control (PI), SMC, and disturbance compensation-based sliding mode control (DCSMC) are verified and compared through simulation.

[0091] Specifically, the traditional nonlinear system equation is a finite-dimensional first-order ordinary differential equation:

[0092]

[0093] Here x represents the state, u represents the input, and t represents the time. The dot on top of the parameter represents the derivative, and the same applies below.

[0094] The sliding surface in the state space is: s(x) = c n x n +c n-1 x n-1 +…+c1x1, (2); the state space can be divided into two parts by the sliding surface: s(x)>0 and s(x)<0, c1, c2, …, c n are design items, x1, x2, …, x n is the system state vector; Figure 1 is the principle diagram of sliding mode control. Among them, the sliding mode motion process is as follows Figure 1 As shown in (a), usually point A, starting point B, and end point C, the distribution diagram of the sliding surface is as follows Figure 1 (b) Figure 1 The normal point A in (b) indicates that the system enters another control state from one control state; the starting point B indicates that the system is in an unstable state, leaving the sliding surface and entering another control state; only the ending point C meets the stability requirements.

[0095] If the switching surface represented by the state variable function is s(x), s∈R n , then the control function u(x) can be expressed as an equation:

[0096]

[0097] In the formula, u(x) and s(x) are both continuous, and the control function needs to meet the following three conditions:

[0098] (i) Existence:

[0099]

[0100] (ii) Accessibility:

[0101]

[0102] (iii) Stability, we choose the Lyapunov equation (6):

[0103]

[0104] V(x) is a scalar function defined by the system state vector x; taking the derivative of equation (6), we get When the accessibility condition is met , the system is stable.

[0105] The linear sliding surface s(x) is linearly related to the system state, expressed as equation (7):

[0106]

[0107] Where x(t) is the system state, parameter C = [c1, c2, ... c(m-1), 1] T , and it is necessary to ensure that the polynomial p m -1 +c n-1 p m-2 +......+c2p+p is Hurwitz, where p represents the Laplace operator. When m=2, the sliding surface is s(x)=c1x1+x2, where c1>0. Table 1 shows the expressions of several commonly used terminal sliding surfaces and their convergence times.

[0108] Table 1. Common terminal sliding surfaces

[0109]

[0110] The sliding mode reaching law is expressed as equation (8):

[0111]

[0112] Where, sign(s) = [sign(s1), ..., sign(sm)] T , f(s)=[f(s1),...,f(sm)] T , K=diag[l1,...,lm],l i >0, i=1, 2,..., m; Q=diag[q1,..., qm], qi>0, sifi(si)>0, f i (0)=0.

[0113] Common convergence laws are shown in Table 2:

[0114] Table 2. Common convergence laws

[0115]

[0116] Figure 2 A schematic flow chart of a maximum power point tracking sliding mode control method based on an offshore wind power system provided in an embodiment of the present application, the method comprising:

[0117] S210, determining a sliding mode speed controller based on a variable exponential reaching law based on a dynamic equation of a transmission system of the offshore wind power system, a first state variable, a sliding surface equation, and a variable exponential sliding mode controller.

[0118] Specifically, the variable exponential sliding mode controller equation proposed in this application is:

[0119]

[0120] Where, k>0, q>0, δ>1, 0<ε<1, τ>0; exp represents the exponent; e represents the error of the system state variable; the gain of the switching function h(S)|s| δ A larger value can increase the approach speed; qs represents the exponential approach term, which approaches zero in this equation, and S represents the sliding surface; the motion state of the system is determined by the variable speed approach term -kh(s)|s| δ sgn(s) determines the convergence speed of the system and weakens the chattering.

[0121] The variable exponential reaching law can be simplified to Its discretized form is equation (10):

[0122] s(n+1)-s(n)=-kh(s)|s| δ sgn(s)T; (10)

[0123] Where s→0, T is the sampling period, when the system approaches the sliding surface from the S<0 side, S(n)=0 - , then the next sampling period is equation (11):

[0124] s(n+1)=kh(s(n))|s(n)| δ T=0; (11)

[0125] When the system approaches the sliding surface from the side of S>0, S(n)=0 + , then the next sampling period is equation (12):

[0126] s(n+1)=-kh(s(n))|s(n)| δ T=0;(12)

[0127] From equations (11) and (12), the bandwidth of the switching band of the variable exponential reaching law can be calculated as equation (13):

[0128] Δ=kh(s)|s| δ T; (13)

[0129] The bandwidth of the switching band of the exponential reaching law is given by equation (14):

[0130] Δ1=kT; (14)

[0131] Figure 3 A comparison of the state phase trajectories of the traditional exponential reaching law and the variable exponential reaching law system provided in this application. Figure 3 (a) is the traditional exponential reaching law, Figure 3 (b) is the variable exponential reaching law. Figure 3 As shown in the figure, after the system based on the variable exponential reaching law reaches the sliding surface, the motion chattering problem can be significantly improved.

[0132] Assume that the state of this nonlinear system is equation (15):

[0133]

[0134] In the formula, is the system state variable, Assume that the initial value of the system is x(0) = [0.5 0.5] T , the sliding surface is designed to be s = 15x1 + x2. In the variable exponential reaching law, ε = 0.01, τ = 3, δ = 1.1, and the other parameters are selected with the same values ​​k = 5, q = 10. The simulation results of the sliding mode control phase diagram curve based on the variable exponential reaching law are shown in Figure 4 As shown, 4(a) represents the convergence process of the state variable x1, Figure 4 (b) represents the convergence process of the state variable x2, Figure 4 (c) represents the output of the controller, Figure 4 (d) Phase trajectory of the mode motion.

[0135] from Figure 4 It can be observed that the convergence time of the system state variables x1 and x2 under the variable exponential reaching law is 0.25s, which is significantly less than the convergence time of 0.4s under the traditional exponential reaching law. The variable exponential reaching law has a faster convergence speed and can improve the dynamic quality of the system. From the local enlarged diagram of the sliding motion of the two state variables after reaching the sliding surface, the display results of the controller output and the phase trajectory of the sliding motion, the proposed variable exponential reaching law has a variable speed characteristic, which solves the contradiction between the sliding mode approach speed and chattering, mainly because the switching gain is adaptive and variable.

[0136] In a possible implementation, a sliding mode speed controller based on a variable exponential reaching law is determined based on a transmission system dynamic equation, a first state variable, a sliding surface equation, and a variable exponential sliding mode controller of an offshore wind power system, including: determining a system state variable error equation based on the transmission system dynamic equation and the first state variable of the offshore wind power system; determining an intermediate equation based on the system state variable error equation and the sliding surface equation; and determining a sliding mode speed controller based on a variable exponential reaching law based on the intermediate equation and the variable exponential sliding mode controller.

[0137] Exemplarily, the dynamic equation of the transmission system of the offshore wind power generation system is:

[0138]

[0139] Where J is the total moment of inertia of the transmission system, B is the damping coefficient of the transmission system, and T m is the mechanical torque of the fan, ω r is the mechanical angular velocity of the rotor, Te is the electromagnetic torque of the engine, ω m is the mechanical angular velocity of the rotor. From the dynamic equation (16-a) of the transmission system of the offshore wind power generation system, equation (16-b) can be derived:

[0140]

[0141] In one possible implementation, f(t)=(T m -Bω r ) / J is regarded as a lumped disturbance. Based on the dynamic equation of the transmission system of the offshore wind power system, the transformation formula of the dynamic equation of the transmission system can be determined based on equation (16-b):

[0142]

[0143] In the formula, the coefficient b = -1.5n p ψ f / J, where n p is the number of motor pole pairs, Ψ f is the flux linkage of the rotor permanent magnet; u=i q is the Q-axis component of the stator current in the synchronous rotating coordinate system DQ; the lumped disturbance f(t) = (Tm-Bω r ) / J; Yes m The first derivative of .

[0144] Furthermore, the first state variable of the system is defined as equation (18):

[0145]

[0146] Where, e1 is the first tracking error, e2 is the second tracking error, ω ropt is the optimal speed corresponding to the wind speed, which is determined by the actual wind speed in nature. Substituting equation (17) into the derivative of equation (18), we can obtain the system state variable error equation (19). Based on the transformation equation and the first state variable, the system state variable error equation is determined as:

[0147]

[0148] In a possible implementation, determining the intermediate equation based on the system state variable error equation and the sliding surface equation includes: differentiating the sliding surface equation to determine the derivative equation of the sliding surface equation; substituting the system state variable error equation into the derivative equation of the sliding surface equation to determine the intermediate equation;

[0149] Specifically, the sliding surface equation is:

[0150] s=e1+α|e1| γ +βe2 m / n ; (20)

[0151] Wherein, α, β, γ are all positive constants, and γ>1; m and n are positive odd numbers, 1<m / n<2, and γ>m / n, e1 and e2 are the first and second tracking errors respectively.

[0152] When the system moves to the sliding surface s=0, the derivative of the second tracking error e2 is:

[0153]

[0154] According to formula (21), the exponential term αe1 γ / β determines the convergence speed; by derivation of equation (20), we obtain equation (22):

[0155]

[0156] Substituting equation (19) into equation (22), we can get the intermediate equation (23):

[0157]

[0158] Combining the sliding mode speed controller equation (9) and the intermediate equation (23), the sliding mode speed controller based on the variable exponential reaching law is obtained as equation (24):

[0159]

[0160] Furthermore, the q-axis reference current is obtained as equation (25):

[0161]

[0162] Since 1<m / n<2, and γ>m / n, the exponents of the state variables in the q-axis reference current are calculated to be greater than zero. When the system is in a sliding motion approaching the origin, since the exponential factor is close to 1, the sliding mode chattering can be weakened to a certain extent, making the system smoothly approach the origin. In addition, the control law contains an integral term, which can further weaken the sliding mode chattering of the system. Therefore, the sliding mode controller proposed in this application ensures that the offshore wind power system has a certain degree of anti-disturbance capability and robustness.

[0163] After designing the sliding mode speed controller based on the variable exponential reaching law, it is necessary to prove and analyze the stability of the controller.

[0164] This application uses Lyapunov stability theory for analysis, and selects Lyapunov function to construct equation (26) with reference to equation (6):

[0165]

[0166] Taking the derivative of equation (26), we get equation (27):

[0167]

[0168] According to the sliding surface equation (20), equation (28) can be obtained:

[0169]

[0170] Substituting the obtained control law (25) into equation (28), we can obtain equation (29)

[0171]

[0172] but The expression of is as follows:

[0173]

[0174] Since 0<ε<1, τ>0, h(s)>0 holds; and since δ>1, β>0, k>0, q>0, m and n are positive odd numbers, and 1<m / n<2, therefore, The Lyapunov function V1 is positive definite, is negatively definite, satisfying the Lyapunov stability theory. The proposed controller satisfies the stability conditions of sliding mode motion. The system is convergent and asymptotically stable, and the system can reach the sliding surface in a finite time.

[0175] When the system state moves to the sliding surface, s = 0. Substituting into equation (20), we get equation (31):

[0176]

[0177] Equation (31) can be transformed into equation (32):

[0178]

[0179] Assuming that the initial value of the system state e1(0)≠0, and the time when it moves to the sliding surface is tr, then by integrating the equations on both ends of equation (32), equation (33) can be derived:

[0180]

[0181] Equation (34) can be derived:

[0182]

[0183] Therefore, the system state variable error can converge to zero in a finite time.

[0184] S220, determining a nonlinear function to be improved based on a traditional nonlinear extended state observer and a second-order nonlinear system equation of an unknown disturbance.

[0185] In one possible implementation, based on a traditional nonlinear extended state observer and a second-order nonlinear system equation with unknown disturbance, a nonlinear function to be improved is determined, including: reconstructing the second-order nonlinear system equation with unknown disturbance to determine the third-order system equation; based on a traditional nonlinear extended state observer, observing x3(t) in the third-order system to determine the nonlinear function to be improved.

[0186] The extended state observer (ESO) is used to estimate the extended state of the nonlinear system. The second-order nonlinear system with unknown disturbance is equation (35):

[0187]

[0188] In the formula, x1(t) and x2(t) are system state variables, f(·) is a nonlinear function, d(t) is an unknown disturbance, u(t) is the control input, b is the control gain, and y(t) is the system output. ESO regards φ(t)=f(·)+d(t) as the total disturbance and expands φ(t) into a new state variable of the system (35), then x3(t)=φ(t). The second-order nonlinear system (35) is expanded into a third-order system, and the third-order system equation (36) is obtained by reconstruction:

[0189]

[0190] Where x1(t), x2(t), and x3(t) represent system state variables.

[0191] Design NLESO and observe the expanded state variable x3(t), and obtain equation (37):

[0192]

[0193] Then the nonlinear function to be improved is obtained as:

[0194]

[0195] In the formula, a and d are adjustable parameters, and the recommended value of a is the same as that of h. 01 , β 02 and β 03 When properly selected, NLESO can observe the system state variables x1(t), x2(t) and x3(t), that is, z1(t)→x1(t), z2(t)→x2(t), z3(t)→x3(t). When fal(·) is replaced by the error e1, NLESO becomes a linear ESO, and equation (37) becomes equation (39):

[0196]

[0197] By performing Laplace transformation on equation (39), we can obtain its characteristic equation (40):

[0198] p(s)=s 3 +β 01 s 2 +β 02 s+β 03 ; (40)

[0199] Reconfigure equation (40) to (s+ω c ) 3 In the form of: 01 =3ω c ,

[0200] By applying the nonlinear function of NLESO, the expression of fal'(x,a,d) can be derived as shown in equation (41):

[0201]

[0202] S230, interpolation fitting is used to improve the nonlinear function to be improved, and the improved nonlinear function is obtained. It can be seen from equation (41) that the function fal(x,a,d) is a linear interval in the interval x∈[-d,d], and a nonlinear function ifal(x,a,d) that is continuous and smooth at the segmented points is proposed to improve the accuracy of NLESO. Using interpolation fitting, the nonlinear function fal(x,a,d) is improved, and the first stage nonlinear function equation ifal(x,a,d) equation (42) is obtained:

[0203]

[0204] From equation (42), we can observe that the function fal(x,a,d) in the range |x|≤d is improved to be the polynomial and the function (exp x +1) / (exp x -1) combination, select (expx +1) / (exp x -1), its convergence performance at the origin is better than x 3 , since the function fal(x,a,d) is continuous and differentiable at the origin and the dividing point ±d, based on the first-stage nonlinear function equation and the nonlinear function to be improved, the nonlinear function to be improved is improved, the second-stage nonlinear function equation is determined, and equation (43) is derived:

[0205]

[0206] Combining the first-stage nonlinear function equation (42) and the second-stage nonlinear function equation (43), solving for parameters k1, k2, and k3, we can obtain equation (44):

[0207]

[0208] Substituting the parameters k1, k2 and k3 into the first stage nonlinear function equation (42) yields the improved nonlinear function ifal(x,a,d), which is expressed as equation (45):

[0209]

[0210] The improved function ifal(x,a,d) has advantages over the traditional function fal(x,a,d). Figure 5 This is a curve comparison of the function fal(x,a,d) and the function ifal(x,a,d). Let the adjustable parameter a = 0.25 and change d. The response curves of the two functions are as follows: Figure 5 (a); let the adjustable parameter d = 0.1, change a, the response curves of the two functions are as follows Figure 5 (b) as shown.

[0211] from Figure 5 It can be seen that a and d have the same influence on the function ifal(x,a,d) and the function fal(x,a,d). a determines the nonlinearity of the two functions, and d determines the width of the linear interval of the two functions. Figure 5 (b) It can be clearly observed that at the demarcation point ±0.1, the smooth transition of the function ifal(x,a,d) is better than that of the function ifal(x,a,d), and this characteristic is satisfied for any parameters a and d. By adjusting the parameters a and d, the engineering characteristics of "small error, large gain, large error, small gain" can be satisfied. When designing NLESO, the function ifal(x,a,d) can be used to improve NLESO, which can overcome the chattering problem caused by the non-smoothness of the function fal(x,a,d) at the demarcation point.

[0212] The improved nonlinear function ifal(·) is used to improve NLESO to estimate the total disturbance of the nonlinear system and feed it back to the sliding mode controller for compensation. This control method that combines NLESO and the sliding mode controller is called the sliding mode control based on disturbance compensation (DCSMC) method. By adjusting the parameters of the improved NLESO, the control system can achieve accurate and stable control effects. The structural block diagram of the SMC method based on NLESO is shown in the figure. Figure 6 To study the performance of NLESO, a first-order nonlinear system is taken as the controlled object. The nonlinear system is equation (46):

[0213]

[0214] Assume the total disturbance is And expand it into new variables, then the expanded second-order system is equation (47):

[0215]

[0216] The simulation example uses the integral sliding surface s = c0∫edt+e and the reaching law To design the sliding mode control law. The tracking target is set to a sine function with an amplitude of 1 and a period of 2π, that is, r = sin(t). The sampling frequency in the simulation is set to 1 kHz. The parameters of the NLESO and sliding mode controller are: β 01 =20,β 02 =400, a1=0.9, a2=0.01, d1=0.02, d2=0.001, c0=1, k=10, q=100, the simulation results of the SMC method based on NLESO are shown in the figure Figure 7 As shown, Figure 7 (a) is the target expected value and actual value, Figure 7 (b) is the control signal, Figure 7 (c) is the actual state value x1(t) and the observed value z1(t), Figure 7 (d) is the actual state value x2(t) and the observed value z2(t).

[0217] from Figure 7 (a) It can be seen that the sliding mode controller can make the system state stably track the desired output. Figure 7 (b) shows that there is no obvious chattering in the control signal. Figure 7(c) and (d) show the observed output curves of the improved NLESO. It can be seen that the improved NLESO can accurately estimate the system state x1 and the expanded state x2. From the local enlarged diagram, it can be seen that the prediction accuracy of the improved NLESO is higher than that of the NLESO based on the fal(·) function. Therefore, the proposed improved NLESO can accurately and correctly observe the total disturbance of the nonlinear system and feed it back to the sliding mode controller for compensation, effectively improving the anti-disturbance ability of the nonlinear system.

[0218] S240, improving the traditional nonlinear extended state observer based on the improved nonlinear function to obtain an improved nonlinear function extended state observer.

[0219] In a possible implementation, a traditional nonlinear extended state observer is improved based on an improved nonlinear function to obtain an improved nonlinear function extended state observer, including: obtaining a lumped disturbance of an offshore wind power system, the lumped disturbance including internal parameter perturbations and external time-varying disturbances of mechanical torque, moment of inertia and friction coefficient of the offshore wind power system; determining a second system state variable equation based on the lumped disturbance; determining a state space equation of a second-order nonlinear system corresponding to the second system state variable equation based on the second system state variable; improving a traditional nonlinear extended state observer based on the state space equation of the second-order nonlinear system and the improved nonlinear function to obtain an improved nonlinear function extended state observer.

[0220] For offshore wind power generation systems, the internal parameter perturbations such as mechanical torque, moment of inertia and friction coefficient transmitted to PMSG by offshore wind turbines and external time-varying disturbances are regarded as lumped disturbances f(t) and expanded into a new state variable. NLESO is designed to observe the lumped disturbances, and the second system state variable equation (48) is obtained:

[0221]

[0222] In the above formula, the system state variable x1 = ω m , expansion state variable x2=(T m -B ωm ) / J=f(t), then the state variable equation (48) of the second system is expanded into the state space expression of the second-order nonlinear system as equation (49):

[0223]

[0224] In the formula, C=[0 1].

[0225] The second-order NLESO equation of system (48) constructed using the improved nonlinear function ifal(·) is (50):

[0226]

[0227] In the formula, β 01 >0,β 02 >0 is the output error correction gain of the improved nonlinear function extended state observer, a1 and a2 are nonlinear factors, d1 and d2 are filter factors, and z1 is the value of ω m The estimate, is an estimate of f(t). By adjusting these parameters, NLESO can observe all state variables of the second-order nonlinear system (49) and achieve the tracking effect of z1→x1, z2→x2.

[0228] To prove the stable convergence of NLESO, the observation error is defined as e1 = z1-x1, e2 = z2-x2. Then, from the nonlinear system equation (49) and the NLESO equation (50), the error of the observation system can be derived as equation (51):

[0229]

[0230] Let e 21 =e1, Then equation (51) can be transformed into equation (52):

[0231]

[0232] The Lyapunov function of equation (52) is selected as equation (53):

[0233]

[0234] Then there is always a point x∈[0,e 21 ], so that equation (54) holds true:

[0235]

[0236] And since ifal(x,a1,d1) and e 21 The same sign, and β 02 >0, we can get:

[0237]

[0238] Calculate the derivative of the Lyapunov function (53) as equation (56):

[0239]

[0240] Since ifal(·) is a monotonically increasing function, then fal'(e1,a1,d1)≥0 holds, and assuming that it is a bounded real number within a finite error range, let fal'(e1,a1,d1)=M new , then equation (56) can be simplified to equation (57):

[0241]

[0242] when When, meet or hour,

[0243] when When, meet or hour,

[0244] When e 22 = 0,

[0245] From the Lyapunov stability theory, we know that the improved NLESO is gradually stable.

[0246] S250, a sliding mode speed controller based on a variable exponential reaching law and an improved nonlinear function extended state observer, realizes maximum power point tracking sliding mode control of offshore wind power systems.

[0247] In one possible implementation, a sliding mode speed controller based on a variable exponential reaching law and an improved nonlinear function extended state observer is used to implement maximum power point tracking sliding mode control of an offshore wind power system, including: determining an output equation of a sliding mode controller according to an output result of the improved nonlinear function extended state observer; and implementing maximum power point tracking sliding mode control of an offshore wind power system based on the output equation of the sliding mode controller.

[0248] Specifically, the sliding mode speed controller based on the variable exponential reaching law and the improved nonlinear function extended state observer realize the maximum power point tracking sliding mode control of the offshore wind power system. The overall control block diagram of the sliding mode control (DCSMC) method based on disturbance compensation is as follows: Figure 8 As shown, the output of the sliding mode controller is equation (58):

[0249]

[0250] Figure 8This is the overall block diagram of the PMSG machine-side control system. The NLESO is used to observe the lumped disturbance of the wind power system in real time and feed it back to the sliding mode speed controller for dynamic compensation. This sliding mode control (DCSMC) method based on disturbance compensation can greatly improve the dynamic performance and anti-disturbance capability of the system.

[0251] Simulation results and analysis: In order to verify the control performance of the DCSMC method proposed in this paper, a permanent magnet direct-drive offshore wind power system and a machine-side converter control system model are built in the MATLAB / Simulink simulation environment. The simulation parameters of the permanent magnet direct-drive wind turbine system are shown in Table 3. The proposed DCSMC method is simulated and compared with the traditional PI control method and the sliding mode control (SMC) method based on the traditional reaching law and linear sliding surface. The three methods are completed by constructing MATLAB-function functions through MATLAB programming. ode23tb (stiff / TR-BDF2) is selected as the solver algorithm to calculate the control input. The machine-side rectifier switching frequency is 5 kHz and the simulation time is 8s. The specific results of the simulation are shown in Figure 3. Fig. 9 shown.

[0252] Table 3 Simulation parameters of permanent magnet direct drive fan system

[0253]

[0254] The parameter adjustment results of the sliding mode controller based on NLESO are shown in Table 4.

[0255] Table 4 Main parameters of DCSMC method

[0256]

[0257] (1) Performance verification under step wind speed

[0258] Starting from 8m / s, it jumps to 10m / s and 12m / s at t=2s and t=4s respectively, and returns to 10m / s at 6s. The changing waveform is as follows Fig. 9 (a) shown.

[0259] Fig. 9(b) The PI control, SMC and DCSMC proposed in this paper are compared and analyzed under step wind speed. The performance of the three strategies on the generator speed response. The results show that all methods have good speed tracking performance. Calculated by the optimal tip speed ratio method, the optimal speeds are 82.5, 103.1, 123.7 and 103.1r / min respectively. DCSMC shows good accuracy in tracking the optimal speed command, thereby effectively improving the wind energy capture efficiency. Especially when the wind speed changes suddenly, the control performance of DCSMC is better, because the torque changes rapidly with the wind speed, forming an external disturbance. The NLESO used in this paper can effectively estimate these disturbances and feed back to the sliding mode controller in real time for compensation, thereby reducing overshoot, and the sliding mode controller improves the system convergence speed. Because its control parameters are based on local linearization settings, when the offshore wind power system is disturbed, the operating point changes, resulting in performance degradation, which is manifested as a large overshoot. Although SMC can compensate for nonlinear disturbances, there is an upper limit to the compensation, and the overshoot still exists. At the second step point of wind speed (t=4s), the convergence time of PI, SMC and DCSMC are 0.12s, 0.12s and 0.02s respectively. Among them, DCSMC has almost no overshoot, while the overshoot of PI and SMC is 12.21% and 11.1%, respectively, which shows that DCSMC has good anti-disturbance ability when the wind speed changes suddenly.

[0260] Fig. 9 (c) and Fig. 9 (d) are the wind energy utilization coefficient and blade tip speed ratio response curves of the above three methods under step wind speed. It can be seen that the three methods can stabilize them at the maximum value of 0.48 and the optimal value of 8.1 respectively, indicating that the use of the optimal blade tip speed ratio method and the double closed-loop vector control structure to design the machine-side converter control system in this study is very effective. When the DCSMC method is used, the wind energy utilization coefficient and blade tip speed ratio curves can reach the optimal convergence value within 0.03s, reflecting the extremely fast response speed and zero overshoot characteristics, and also showing strong anti-disturbance ability, which shows that the proposed DCSMC method has higher tracking accuracy.

[0261] Fig.10 (e) shows the wind turbine output power curve under step wind speed conditions. It can be observed that the DCSMC method can enable the offshore wind turbine to output more energy and the power change is smoother. Fig.10 (f) is the three-phase current curve of PMSG when the DCSMC method is used, and its amplitude changes with wind speed. From the local enlarged image, it can be seen that the three-phase current is not distorted and changes in a sinusoidal pattern, with good quality.

[0262] (2) Performance verification under random wind speed

[0263] In order to further verify the performance of the DCSMC control strategy proposed in this paper, this paper uses the Kaimal random wind speed model to generate a random wind speed signal, whose waveform is as follows: Fig.10 (g) as shown. Fig.10 (h) shows the comparison of the generator speed tracking effects of PI control, SMC and DCSMC methods under random wind speed conditions. The tracking effect under PI control fluctuates most severely near the optimal speed. Although the SMC method can make the generator speed close to the reference value to a certain extent, there is still a certain fluctuation. After NLESO observes the lumped disturbance of the system and compensates it in real time, it can better alleviate the speed fluctuation. When the DCSMC method is used, the generator speed can track the optimal speed more smoothly, quickly and accurately, indicating that the proposed method has strong anti-disturbance performance.

[0264] Fig.10 (i) is the wind energy utilization coefficient curve of the wind turbine when the three control methods are used respectively. When the DCSMC method is used, its C P The value is always higher than the C of the other two control methods. P The value is stable at 0.48, indicating that the DCSMC method can capture wind energy more effectively. Since natural wind has a strong random waveform, the PI control method has the worst effect and its wind utilization coefficient curve fluctuates the most. The SMC method has a certain improvement on the wind energy capture performance. Fig.10 (j) The differences in tip speed ratio response among the three control methods are further shown. The DCSMC method has a better regulation effect, while the tip speed ratio response curves of the PI control and SMC methods have certain fluctuations. In the initial stage, the DCSMC method can adjust the tip speed ratio to the optimal value within 0.05s, while the PI control and SMC methods need 0.2s to reach the optimal value. This shows that the DCSMC method has obvious advantages in the dynamic response speed and control accuracy of offshore wind power systems.

[0265] Fig.11 (k) shows the offshore wind turbine output power of three control strategies under random wind speed. The DCSMC method can capture more wind energy than the PI control and SMC methods. Fig.11 (l) is the three-phase current variation curve of PMSG under random wind speed when using the DCSMC method. The amplitude changes with the wind speed and the quality is good, indicating that the PMSG has good working performance.

[0266] Based on the theoretical and simulation foundation of wind power system, this application builds a hardware-in-the-loop simulation platform for permanent magnet direct-drive wind power generation system based on StartSim software independently developed by Yuankuan Energy Technology Co., Ltd. and PXI hardware of NI Corporation of the United States. Through this platform, the DCSMC method based on full-order sliding mode observer is subjected to hardware-in-the-loop experiment and analysis. The hardware-in-the-loop real-time simulation system of offshore wind power system consists of two parts: hardware architecture and supporting experimental software. The experimental platform built in this paper specifically includes key components such as real-time simulator, rapid prototyping controller, adapter board, host computer and oscilloscope.

[0267] In the hardware-in-the-loop simulation experiment test, this application uses the Simulink tool to build a detailed model of the permanent magnet direct-drive offshore wind power generation system. In order to further verify the correctness of the closed-loop control based on the DCSMC method of the full-order sliding mode observer, this application uses a hardware-in-the-loop platform based on StarSim and PXI to simulate the working state of the offshore wind turbine generator set in real time. The power coefficient, output power, generator rotor position, speed, etc. of the offshore wind turbine are sent to the oscilloscope in the form of analog signals for waveform display through the IO adapter board. In view of the fact that the voltage range of the analog output channel of the real-time simulator is ±10V, the over-limit signal is reduced in proportion accordingly, and the specific reduction ratio parameters are set as follows: wind speed is 1 / 2, power is 1 / 10000, three-phase current is 1 / 26, and speed is 1 / 15.

[0268] In order to improve the maximum power point tracking performance of the permanent magnet direct-drive offshore wind power generation system, this application proposes a sliding mode control (DCSMC) method based on disturbance compensation to address the shortcomings of traditional PI control in tracking the optimal speed. The DCSMC method enhances the performance of SMC by incorporating an improved NLESO, thereby improving the power capture efficiency of the offshore wind power system under dynamically changing wind speed conditions. First, based on the traditional exponential reaching law, an improvement is made, and a variable speed exponential reaching law dynamically related to the system state variables is introduced, and then a non-singular fast terminal sliding mode controller based on the variable exponential reaching law is proposed, which effectively improves the system convergence speed and weakens the sliding mode jitter. Secondly, an improved nonlinear function is proposed, and a more accurate improved NLESO is designed. The NLESO is used to estimate the lumped disturbance of the offshore wind power system for real-time dynamic compensation. This method effectively solves the problem that the traditional SMC has an upper limit on disturbance compensation, and significantly improves the system's anti-disturbance performance and control accuracy. The Lyapunov stability theory is used to prove the stability of the non-singular fast terminal sliding mode speed controller and the improved NLESO. Under the condition of step wind speed, simulation analysis was carried out, and the simulation results showed that the proposed DCSMC method is superior to PI control and SMC methods in achieving MPPT. A hardware-in-the-loop platform for permanent magnet direct-drive wind power system based on StarSim and PXI was built, and the platform was used to conduct experiments on the disturbance compensation sliding mode control strategy based on full-order sliding mode observer. Finally, the results proved the feasibility of the proposed strategy method.

[0269] Fig.12 This is a structural block diagram of a maximum power point tracking sliding mode control device based on an offshore wind power system provided by an embodiment of the present application. For the sake of convenience, only the parts related to the embodiment of the present application are shown. Fig.12 The device 1200 includes a determination module 1201, a processing module 1202, and a control module 1203.

[0270] In one implementation, the apparatus 1200 may be used to implement the above Figure 2 For example, the determination module 1201 is used to implement steps S210 and S220, the processing module 1202 is used to implement steps S230 and S240, and the control module 1203 is used to implement step S250.

[0271] The device described in this application, first of all, improves on the basis of the traditional exponential reaching law, introduces a variable speed exponential reaching law that is dynamically related to the system state variables, and then proposes a non-singular fast terminal sliding mode controller based on the variable exponential reaching law, which effectively improves the system convergence speed and weakens the sliding mode jitter. Secondly, an improved nonlinear function is proposed, and a more accurate improved NLESO is designed. The NLESO is used to estimate the aggregate disturbance of the offshore wind power system and perform real-time dynamic compensation. This method effectively solves the problem that the traditional SMC has an upper limit on disturbance compensation, and significantly improves the system's anti-disturbance performance and control accuracy.

[0272] Fig.13 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig.13 As shown, the electronic device 13 of this embodiment includes: at least one processor 130 ( Fig.13 Only one is shown in the figure) a processor, a memory 131, and a computer program 132 stored in the memory 131 and executable on the at least one processor 130, and when the processor 130 executes the computer program 132, the steps in any of the above method embodiments are implemented.

[0273] The electronic device 13 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor 130 and a memory 131. Those skilled in the art will appreciate that Fig.13 It is only an example of the electronic device 13 and does not constitute a limitation on the electronic device 13. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0274] The processor 130 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. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0275] In some embodiments, the memory 131 may be an internal storage unit of the electronic device 13, such as a hard disk or memory of the electronic device 13. In other embodiments, the memory 131 may also be an external storage device of the electronic device 13, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 13. Further, the memory 131 may also include both an internal storage unit of the electronic device 13 and an external storage device. The memory 131 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 131 may also be used to temporarily store data that has been output or is to be output.

[0276] The above description is only a preferred implementation mode of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A maximum power point tracking sliding mode control method based on an offshore wind power system, characterized in that: The method comprises: S1: Determine a sliding mode speed controller based on a variable exponential reaching law based on a dynamic equation of a transmission system of the offshore wind power system, a first state variable, a sliding surface equation, and a variable exponential sliding mode controller; S2: Determine the nonlinear function to be improved based on the second-order nonlinear system equations of the traditional nonlinear extended state observer and unknown disturbances; S3: improving the nonlinear function to be improved by using interpolation fitting to obtain an improved nonlinear function; S4: improving the traditional nonlinear extended state observer based on the improved nonlinear function to obtain an improved nonlinear function extended state observer; S5: Based on the sliding mode speed controller based on the variable exponential reaching law and the improved nonlinear function extended state observer, the maximum power point tracking sliding mode control of the offshore wind power system is realized.

2. The maximum power point tracking sliding mode control method based on an offshore wind power system according to claim 1, characterized in that: Step S1 includes: S11: determining a transformation formula of the dynamic equation of the transmission system based on the dynamic equation of the transmission system of the offshore wind power system; The dynamic equation of the transmission system of the offshore wind power system is: Where J is the total moment of inertia of the transmission system, B is the damping coefficient of the transmission system, and T m is the mechanical torque of the fan, ω r is the mechanical angular velocity of the rotor, T e is the electromagnetic torque of the engine, ω m is the rotor mechanical angular velocity; The transformation formula is: Where b is the coefficient term; u is the Q-axis component of the stator current in the synchronous rotating coordinate system DQ; the lumped disturbance f(t) = (Tm-Bω r ) / J; Yes m The first-order derivative of , the dot on the top of the parameter represents the derivative, the same below; S12: Determine the system state variable error equation based on the transformation formula and the first state variable; The first state variable is: Where, e1 is the first tracking error, e2 is the second tracking error, ω ropt is the optimal speed corresponding to the wind speed; is the first derivative of e1; The system state variable error equation is: S13: determining an intermediate equation based on the system state variable error equation and the sliding surface equation; The equation of the sliding surface s is: s=e1+α|e1| γ +βe2 m / n ; Wherein, α, β, γ are all positive constants, and γ>1; m and n are positive odd numbers, 1<m / n<2, and γ>m / n; The intermediate equation is: S14: Determine the sliding mode speed controller based on the variable exponential reaching law based on the intermediate equation and the variable exponential sliding mode controller; The variable exponential sliding mode controller equation is: Where, k>0, q>0, δ>1, 0<ε<1, τ>0, exp represents the exponent, e represents the error of the system state variable, h(s)s δ represents the gain of the switching function, qs represents the exponential approach term, and s represents the sliding surface; The sliding mode speed controller based on the variable exponential reaching law is: Wherein, α, β, γ are all positive constants, m and n are positive odd integers, 1<m / n<2, and γ>m / n; sgn(s) is the sign function.

3. The maximum power point tracking sliding mode control method based on the offshore wind power system according to claim 2 is characterized in that: The determining of the intermediate equation based on the system state variable error equation and the sliding surface equation comprises: Derivative the sliding surface equation to determine the derivative equation of the sliding surface equation; Substitute the system state variable error equation into the derivative equation of the sliding surface equation to determine the intermediate equation.

4. The maximum power point tracking sliding mode control method based on an offshore wind power system according to claim 3 is characterized in that: Step S2 includes: S21: reconstructing the second-order nonlinear system equation of the unknown disturbance to determine the third-order system equation; The second-order nonlinear system equation of the unknown disturbance is: Where x1(t), x2(t), x3(t) represent system state variables, f(·) is a nonlinear function, d(t) is an unknown disturbance, u(t) is the control input, and b is a parameter term; The third-order system equation is: Where φ(t) is the total disturbance and y(t) is the system output; S22: Based on the traditional nonlinear extended state observer, observe x3(t) in the third-order system to determine the nonlinear function to be improved; The nonlinear function to be improved is: Where a and d are adjustable parameters, x is the system state variable, and sign(x) is the sign function.

5. The maximum power point tracking sliding mode control method based on an offshore wind power system according to claim 4, characterized in that: Step S3 includes: S31: Based on the nonlinear function to be improved, determine the first stage nonlinear function equation through interpolation fitting; The first stage nonlinear function equation is: Where k1, k2 and k3 are parameters; S32: Based on the nonlinear function equation of the first stage and the nonlinear function to be improved, improving the nonlinear function to be improved, and determining the nonlinear function equation of the second stage; The second stage nonlinear function equation is: S33: Based on the first-stage nonlinear function equation and the second-stage nonlinear function equation, determine the parameter values ​​of k1, k2 and k3: The parameter values ​​of k1, k2 and k3 are: S34: determining the improved nonlinear function based on the parameter values ​​of k1, k2 and k3 and the first-stage nonlinear function equation; The improved nonlinear function is:

6. The maximum power point tracking sliding mode control method based on an offshore wind power system according to claim 5, characterized in that: Step S4 includes: S41: Acquire the aggregate disturbance of the offshore wind power system, where the aggregate disturbance includes internal parameter perturbations and external time-varying disturbances of mechanical torque, moment of inertia and friction coefficient of the offshore wind power system; S42: Determine a second system state variable equation based on the lumped disturbance; The second system state variable equation is: In the formula, the system state variable x1 = ω m , expansion state variable x2=(T m -B ωm ) / J = f(t); S43: determining a state space equation of a second-order nonlinear system corresponding to the state variable equation of the second system based on the second system state variable; The state space equation of the second-order nonlinear system is: In the formula, C = [0 1]; S44: improving the traditional nonlinear extended state observer based on the state space equation of the second-order nonlinear system and the improved nonlinear function to obtain an improved nonlinear function extended state observer; The improved nonlinear function extended state observer is: In the formula, β 01 >0,β 02 >0 is the output error correction gain of the improved nonlinear function extended state observer, a1 and a2 are nonlinear factors, d1 and d2 are filter factors, and z1 is the value of ω m is an estimate of , and z2 is an estimate of the lumped disturbance.

7. The maximum power point tracking sliding mode control method based on an offshore wind power system according to claim 6, characterized in that: Step S5 includes: S51: Determine the output equation of the sliding mode controller according to the output result of the improved nonlinear function extended state observer; S52: Implementing maximum power point tracking sliding mode control of the offshore wind power system based on the sliding mode controller output equation; The output equation of the sliding mode controller is: in is the instantaneous value of current; where, is an estimate of the lumped disturbance.

8. A maximum power point tracking sliding mode control device based on an offshore wind power system, characterized in that: The device comprises: A determination module, for determining a sliding mode speed controller based on a variable exponential reaching law based on a transmission system dynamic equation, a first state variable, a sliding surface equation and a variable exponential sliding mode controller of the offshore wind power system; The determination module is further used to determine the nonlinear function to be improved based on the traditional nonlinear extended state observer and the second-order nonlinear system equation of the unknown disturbance; A processing module, used for improving the nonlinear function to be improved by using interpolation fitting to obtain an improved nonlinear function; The processing module is further used to improve the traditional nonlinear extended state observer based on the improved nonlinear function to obtain an improved nonlinear function extended state observer; A control module is used to implement maximum power point tracking sliding mode control of the offshore wind power system based on the sliding mode speed controller based on the variable exponential reaching law and the improved nonlinear function extended state observer.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Photovoltaic grid-connected inverter control method based on sliding mode control

    CN116316866A