Ship alternating-current micro-grid control method and system based on model-free prediction and medium

Through the combination of model-free prediction and sliding mode control, the robustness of the ship AC microgrid in complex marine environments is solved, and the rapid recovery of voltage, frequency and power and the improvement of voltage quality is achieved, showing the powerful Lu Good performance.

CN118920489APending Publication Date: 2024-11-08SHANGHAI UNIV
View PDF 0 Cites 1 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the complex and changeable marine environment, the ship AC microgrid system faces problems such as internal parameter mismatch, equipment damage and communication loss, resulting in insufficient stability and robustness of the system under complex operating conditions.

Method used

Using a method based on model-free prediction and sliding mode control, the combination of super-local model establishment, fixed-time sliding mode perturbation observer design, cost function setting, primary sag controller and distributed secondary controller is achieved to achieve robustness. Control, eliminate the impact of communication delays, and improve the stability of the system under multiple time scales.

Benefits of technology

In simulation verification, voltage, frequency and power deviations can be quickly restored, voltage quality can be ensured, strong robust performance can be demonstrated, external disturbances can be adapted to system adaptability and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118920489A_ABST
    Figure CN118920489A_ABST
Patent Text Reader

Abstract

The invention discloses a ship alternating-current micro-grid control method and system based on model-free prediction and sliding mode control and a medium, and the method comprises the steps: building a super-local model, building an observer, setting a cost function, building a primary droop controller, and building an auxiliary controller. And a distributed controller establishment step and a control step, in the control step, disturbance is perceived through a fixed time sliding mode disturbance observer, an optimal strategy is calculated through a model-free prediction controller, and robustness control of the ship alternating current microgrid is realized under multiple time scales in combination with a primary droop controller. Simulation verifies that the method can recover the deviation of voltage and frequency in a fixed time and accurately share active power and reactive power, can ensure the voltage quality of the ship alternating current micro-grid under the condition of external disturbance, and shows relatively strong robust performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a robust control technology for a ship AC microgrid in a complex and changeable marine environment, and in particular to a ship AC microgrid control method, system and medium based on model-free prediction and sliding mode control. Background Art

[0002] In the context of global energy transformation, the development of ship microgrids (MGs) is of great significance for reducing carbon emissions and promoting the development of green shipping. Renewable energy (RES) such as photovoltaic, wind and wave energy are integrated into the ship power system, and together with energy storage equipment and loads, form a microgrid system. In addition, ships operate in isolation during navigation and can be regarded as island microgrids. For ship AC microgrids composed of a large number of intermittent and unstable RES, it is a huge challenge to maintain stable and reliable operation in harsh marine environments.

[0003] The ship island AC microgrid system usually adopts a hierarchical control architecture of primary control, secondary control and tertiary control. The primary control layer contains an outer power loop and an inner double closed loop, which are used to control the voltage and frequency locally. However, the outer power loop based on the droop characteristic will cause the voltage and frequency to deviate from the rated value. The secondary control layer compensates for the deviation caused by the primary control, so that the voltage and frequency return to their respective rated values. The tertiary control performs comprehensive scheduling and long-term planning for the entire network to achieve economic operation of the system.

[0004] In the traditional primary control structure, the reference voltage required for the inner double closed loop is generated by the outer power loop, and then the MGs stability control is achieved with the help of a cascaded linear proportional integral (PI) controller and a modulator. However, the PI-based double closed loop controller has a slow response, is difficult to cope with rapidly changing loads, and has complex parameter adjustment. The multi-loop structure limits the frequency and phase margins, affecting the stability and robustness of the system. When faced with external interference and nonlinear loads, the anti-interference ability is weak, resulting in large voltage and current fluctuations and poor adaptability. Moreover, the bandwidth of the outer power loop is smaller than that of the inner loop, which restricts the dynamic performance of the secondary control.

[0005] In recent years, finite set model predictive control (FS-MPC) has become an effective alternative to linear cascade PI controllers due to its advantages of fast dynamic response, easy implementation, and handling of multi-objective optimization. The current application of FS-MPC in the field of microgrids mainly focuses on combining it with primary droop control to improve the fast dynamic response capability of MGs and streamline the control framework by eliminating the traditional double closed-loop PI controller. Although FS-MPC has been widely used in fields such as motors, power electronics, and power systems, its control performance is greatly affected by model parameters. Especially in harsh environments, the internal parameters of the system are easily affected by factors such as temperature changes, high humidity, salt spray, and electromagnetic interference, resulting in a decrease in FS-MPC control performance.

[0006] In order to overcome the problem of FS-MPPC's dependence on model accuracy, relevant scholars proposed model-free predictive control (MFPC). At present, there are three methods for implementing MFPC: active input autoregressive method (ARX), lookup table method (LUT) and ultra-local model method (ULM). The ARX-based method has two obvious limitations: it is sensitive to noise and the calculation is complex. The LUT-based method depends on whether the data stored in the LUT can be updated in time. The ULM-based method observes the unknown disturbance of the system parameters by setting an observer, which simplifies the calculation burden and has strong practicality and adaptability. In order to accurately observe the unknown disturbance in ULM, the design of the disturbance observer is crucial. The current observers include the Romberg observer (LO), the extended state observer (ESO) and the sliding mode disturbance observer (SMDO). However, the above-mentioned traditional disturbance observer designed based on the exponential reaching law can only ensure that the system converges within a finite time, and the upper bound of the convergence time is affected by the initial state of the system. The disturbance observer designed based on the fixed time theory can overcome this defect.

[0007] In addition, current research on MFPC only focuses on the primary control layer and does not involve the secondary control layer. In order to achieve precise control of voltage and frequency and promote efficient utilization of RES, it is of great significance to add secondary control to correct the voltage and frequency deviations caused by the droop characteristics of primary control. Among the secondary control methods, there are centralized, decentralized and distributed control. Distributed control is widely used because it only communicates with adjacent nodes, greatly reducing the communication burden. However, distributed secondary control based on communication inevitably has communication delays. Large communication delays will deteriorate the control performance, and in severe cases will cause MGs to become unstable. Therefore, when designing a distributed secondary controller, it is very necessary to eliminate the impact of communication delays.

[0008] Therefore, in order to address the problems of internal parameter mismatch, equipment damage, and communication loss faced by ship AC microgrid systems in complex and changeable marine environments, an innovative control method, system, and system are urgently needed to combine model-free prediction and fixed-time sliding mode control to improve the robustness of ship AC microgrids and ensure their stable and reliable operation under complex working conditions. Summary of the invention

[0009] The technical problem to be solved by the present invention is: in view of the problems faced by the ship AC microgrid system in the complex and changeable marine environment, such as internal parameter mismatch, equipment damage and communication loss, how to improve the robustness of the ship AC microgrid and ensure its stable and reliable operation under complex working conditions.

[0010] To achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0011] The present invention is a ship AC microgrid control method based on model-free prediction and sliding mode control, comprising the following steps:

[0012] The steps of establishing a super-local model are to establish a super-local model of a ship AC microgrid;

[0013] Observer establishment step, based on the hyperlocal model, a fixed-time sliding mode disturbance observer is established;

[0014] A cost function setting step, based on the hyperlocal model, sets the cost function of the model-free predictive control;

[0015] Primary droop controller establishment steps, establishing a primary droop controller;

[0016] Auxiliary controller establishment step, establishing a secondary auxiliary controller to eliminate communication delay;

[0017] Distributed controller establishment steps, establishing a distributed fixed-time secondary controller;

[0018] The control steps are based on a distributed fixed-time secondary controller and a secondary auxiliary controller. The disturbance is perceived by a fixed-time sliding mode disturbance observer. The model-free predictive controller calculates the optimal strategy according to the cost function and is combined with the primary droop controller to realize the robust control of the ship AC microgrid at multiple time scales.

[0019] Preferably, the hyperlocal model building step includes the following sub-steps:

[0020] S1.1, establish a ship AC microgrid, including multiple generators, each generator is connected to a converter and transmits power to the load through a filter;

[0021] S1.2, establish a hyperlocal model based on the ship AC microgrid.

[0022] Preferably, in S1.2, based on Kirchhoff's voltage-current law, the spatial coordinate equation of the output point is established:

[0023]

[0024] Among them, L f and C f Respectively represent the filter inductor and filter capacitor; i f and u c Respectively represent the filter inductor current and filter capacitor voltage; i o Represents the output current; v i Indicates the voltage on the converter side,

[0025] Based on the spatial coordinate equation, the hyperlocal model is established as:

[0026]

[0027] Where, ΔC f and ΔL f Indicates the change in the capacitance and inductance parameters of the filter due to disturbance; F v and F i Respectively represent the nonlinear disturbance of capacitance and inductance; α v and α i Respectively represent the gain of inductor current and capacitor voltage, α v =1 / C f ,α i =1 / L f .

[0028] Preferably, the fixed-time sliding mode disturbance observer comprises a fixed-time voltage and current sliding mode disturbance observer, a nonlinear disturbance observer of capacitor voltage and a nonlinear disturbance observer of inductor current;

[0029] The observer establishment step includes the following sub-steps:

[0030] S2.1, set the sliding surface based on voltage and current as follows:

[0031]

[0032] in, represents the estimated capacitor voltage; Represents the estimated inductor current; gain factor: k s1 >0,k s2 >0,0 <p s <1,q s >1; symbolic function:

[0033] S2.2, based on the sliding surface, the sliding mode reaching law is set as follows:

[0034]

[0035] Where D>0,g1>0,g2>0,D,g1 and g2 represent gain coefficients;

[0036] S2.3, based on the hyperlocal model, the fixed-time voltage and current sliding mode disturbance observers are set as:

[0037]

[0038] Among them, k1 and k2 are gain coefficients greater than zero;

[0039] S2.4, define ξ v =Xv –U v ,X v represents the value of the capacitor voltage before the derivation of formula (2), U v Represents auxiliary variables. Based on the hyperlocal model, U v The derivative of Set to:

[0040]

[0041] Among them, d1, d2 and d3 are all gain coefficients greater than zero.

[0042] Based on equations (2) and (10), ξ v The derivative of is expressed as:

[0043]

[0044] The nonlinear disturbance observer of the capacitor voltage is set as:

[0045]

[0046] The nonlinear disturbance observer of the capacitor voltage converges within a fixed time T1, and the upper bound of the convergence time T1 is:

[0047]

[0048] S2.5, define ξ i =X i –U i ,X i represents the value of the inductor current before the derivative of formula (39), U i represents auxiliary variables, based on the hyperlocal model, set U i The derivative of for:

[0049]

[0050] According to equations (3) and (14), ξ i The derivative of is expressed as:

[0051]

[0052] The nonlinear disturbance observer of the inductor current is set as:

[0053]

[0054] The nonlinear disturbance observer of the inductor current converges within a fixed time T1.

[0055] Preferably, in the cost function setting step, after discretizing equations (2) and (3), the predicted values ​​of the capacitor voltage and the inductor current are obtained as follows:

[0056]

[0057] Among them, T represents the sampling time, k represents the current time, and due to the high sampling frequency, i is taken f (k+1)=i f (k)

[0058] The predicted value of the capacitor voltage is expressed as:

[0059]

[0060] Set the cost function to:

[0061]

[0062] Among them, U ref Indicates the reference voltage output by the droop control.

[0063] Preferably, in the primary droop controller establishment step, based on the droop characteristics of a conventional synchronous generator, the primary droop controller is set as:

[0064] ω i =ω ref,i -m i P i (twenty one)

[0065] U i =U ref,i -n i Q i (twenty two)

[0066] Among them, ω ref,i 、m i and P i They represent the frequency reference value, active-frequency (P–ω) droop gain coefficient and active power of the i-th DG respectively; U ref,i 、n i and Q i denote the voltage reference value, reactive-voltage (Q–U) droop gain coefficient and reactive power of the i-th DG, respectively.

[0067] The active power and reactive power of the i-th DG are:

[0068]

[0069] Among them, u ci,α ,u ci,β represents the capacitor voltage of the i-th DG in the αβ coordinate system, i oi,α,i oi,β Represents the output current of the i-th DG in the αβ coordinate system.

[0070] Preferably, in the auxiliary controller establishment step, the secondary auxiliary controller for restoring frequency and voltage is set as:

[0071]

[0072]

[0073] Where τ represents the time delay, the active power auxiliary controller Reactive power auxiliary controller

[0074] Based on Artstein transformation theory, the general method is as follows, and the system with constant input delay is:

[0075]

[0076] Where A and B represent gain coefficients, u(t-τ) represents the input with delay, and x represents the system state.

[0077] Define the state variable y(t) as:

[0078]

[0079] If and only if (yt,u(t)) satisfies equation (28), (xt,u(t)) satisfies equation (26):

[0080]

[0081] Therefore, according to equations (21)-(28), the secondary auxiliary controller to eliminate communication delay is set as:

[0082]

[0083] Preferably, the distributed fixed-time secondary controller comprises a distributed fixed-time frequency and active power auxiliary controller and a distributed fixed-time voltage and reactive power auxiliary controller.

[0084] The distributed controller establishment step includes the following sub-steps:

[0085] S6.1, define the consistency errors of frequency, active power, voltage, and reactive power as:

[0086]

[0087] Among them, A ij represents the adjacency matrix, B iRepresents a diagonal matrix. When the i node is connected to the reference node, B i The corresponding diagonal element is 1, otherwise it is 0;

[0088] S6.2, set the distributed fixed time frequency and active power auxiliary controller to:

[0089]

[0090] Among them, the gain coefficient l ω ,l p ,γ ω >0,0<(p ω ,p p )<1,(q ω ,q p )>1;

[0091] S6.3, set the distributed fixed time average voltage observer to:

[0092]

[0093] The distributed fixed-time voltage and reactive power auxiliary controller is set as:

[0094]

[0095] Among them, the gain coefficient l V ,l q ,γ V >0,0<(p V ,p q )<1,(q V ,q q )>1.

[0096] The present invention also provides a ship AC microgrid control system based on model-free prediction and sliding mode control, comprising:

[0097] A super-local model building module is used to build a super-local model of the ship AC microgrid;

[0098] An observer establishment module, which establishes a fixed-time sliding mode disturbance observer based on the hyperlocal model;

[0099] A cost function setting module, which sets a cost function of model-free predictive control based on the hyperlocal model;

[0100] A primary droop controller establishment module is used to establish a primary droop controller;

[0101] Auxiliary controller establishment module, establishes a secondary auxiliary controller to eliminate communication delay;

[0102] Distributed controller establishment module, establishes distributed fixed-time secondary controller;

[0103] The control module is based on the distributed fixed-time secondary controller and the secondary auxiliary controller, senses disturbances through the fixed-time sliding mode disturbance observer, calculates the optimal strategy according to the cost function through the model-free predictive controller, and combines with the primary droop controller to realize the robust control of the ship AC microgrid under multiple time scales.

[0104] The present invention also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned ship AC microgrid control method based on model-free prediction and sliding mode control are implemented.

[0105] Compared with the prior art, the technical solution of this application has the following beneficial technical effects:

[0106] The present invention proposes a control method for a ship AC microgrid based on model-free prediction and sliding mode control, and verifies through simulation that the method can restore the deviation of voltage and frequency and the accurate sharing of active power and reactive power within a fixed time, and can ensure the voltage quality of the ship AC microgrid under external disturbances, showing strong robust performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0107] Figure 1 It is a flow chart of a ship AC microgrid control method based on model-free prediction and sliding mode control in an embodiment of the present invention;

[0108] Figure 2 A ship AC microgrid system in an embodiment of the present invention;

[0109] Figure 3 is a connection diagram of a fixed-time sliding mode disturbance observer in an embodiment of the present invention;

[0110] Figure 4 It is an overall block diagram of multi-time scale hierarchical robust control in an embodiment of the present invention;

[0111] Figure 5a , Figure 5b , Figure 5c , Figure 5d , Figure 5e and Figure 5f They are respectively diagrams of overall simulation results of multi-time-scale hierarchical robust control in an embodiment of the present invention;

[0112] Figure 6a , Figure 6b They are simulation diagrams of model-free predictive control and traditional model predictive control in an embodiment of the present invention respectively. DETAILED DESCRIPTION

[0113] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.

[0114] Embodiment 1:

[0115] Figure 1 The present invention is a flow chart of a method for controlling a ship AC microgrid based on model-free prediction and sliding mode control in an embodiment of the present invention.

[0116] like Figure 1 As shown, this embodiment provides a ship AC microgrid control method based on model-free prediction and sliding mode control, comprising the following steps:

[0117] Steps for establishing the hyperlocal model: Establish a hyperlocal model of the ship AC microgrid.

[0118] Specifically, the hyperlocal model building step includes the following sub-steps:

[0119] S1.1, establish a ship AC microgrid.

[0120] Figure 2 This is a ship AC microgrid system in an embodiment of the present invention.

[0121] like Figure 2 As shown, the ship AC microgrid in this embodiment includes a plurality of distributed generators DG, each distributed generator DG is connected to a three-phase two-level converter, and transmits power to the load through an LC filter.

[0122] S1.2, establish a hyperlocal model based on the ship AC microgrid.

[0123] Specifically, based on Kirchhoff's voltage and current law, the spatial coordinate equation of the output point is established:

[0124]

[0125] Among them, L f and C f Respectively represent the filter inductor and filter capacitor; i f and u c Respectively represent the filter inductor current and filter capacitor voltage; i o Represents the output current; v i Indicates the voltage on the converter side.

[0126] Taking into account the changes in the system's internal parameters due to environmental changes, the hyperlocal model is established based on the spatial coordinate equation:

[0127]

[0128]

[0129] Where, ΔC f and ΔL f Indicates the change in the capacitance and inductance parameters of the filter due to disturbance; F v and F i Respectively represent the nonlinear disturbance of capacitance and inductance; α v and α i Respectively represent the gain of inductor current and capacitor voltage, α v =1 / C f ,α i =1 / L f .

[0130] Observer establishment steps: Based on the hyperlocal model, a fixed-time sliding mode disturbance observer is established.

[0131] Figure 3 4 is a connection diagram of a fixed-time sliding mode disturbance observer in an embodiment of the present invention.

[0132] like Figure 3 As shown, the fixed-time sliding mode disturbance observer includes fixed-time voltage and current sliding mode disturbance observers, a nonlinear disturbance observer of capacitor voltage, and a nonlinear disturbance observer of inductor current.

[0133] Specifically, the observer establishment step includes the following sub-steps:

[0134] S2.1, set the sliding surface based on voltage and current as follows:

[0135]

[0136] in, represents the estimated capacitor voltage; Represents the estimated inductor current; gain factor: k s1 >0,k s2 >0,0 <p s <1,q s >1; symbolic function:

[0137] S2.2, based on the sliding surface, the sliding mode reaching law is set as:

[0138]

[0139] Among them, D>0, g1>0, g2>0, D, g1 and g2 represent gain coefficients.

[0140] S2.3, based on the hyperlocal model, the fixed-time voltage and current sliding mode disturbance observers are set as:

[0141]

[0142] Wherein, k1 and k2 are both gain coefficients greater than zero.

[0143] S2.4, define ξ v =X v –U v ,X v represents the value of the capacitor voltage before the derivative of formula (74), U v Represents auxiliary variables. Based on the hyperlocal model, U v The derivative of Set to:

[0144]

[0145] Among them, d1, d2 and d3 are all gain coefficients greater than zero.

[0146] According to equations (2) and (10), ξ v The derivative of is expressed as:

[0147]

[0148] The nonlinear disturbance observer of the capacitor voltage is set as:

[0149]

[0150] The nonlinear disturbance observer of the capacitor voltage converges within a fixed time T1, and the upper bound of the convergence time T1 is:

[0151]

[0152] S2.5, define ξ i =X i –U i ,X i represents the value of the inductor current before the derivation of formula (3), U i represents auxiliary variables, based on the hyperlocal model, set U i The derivative of for:

[0153]

[0154] According to equations (3) and (14), ξ i The derivative of can be expressed as:

[0155]

[0156] The nonlinear disturbance observer of the inductor current is set as:

[0157]

[0158] The nonlinear disturbance observer of the inductor current converges within a fixed time T1.

[0159] Cost function setting step: Based on the hyperlocal model, set the cost function of model-free predictive control.

[0160] Specifically, after discretizing equations (2) and (3), the predicted values ​​of capacitor voltage and inductor current are obtained as follows:

[0161]

[0162] Among them, T represents the sampling time, k represents the current time, and due to the high sampling frequency, i is taken f (k+1)=i f (k)

[0163] The predicted value of the capacitor voltage is expressed as:

[0164]

[0165] The cost function is set to:

[0166]

[0167] Among them, U ref Indicates the reference voltage output by the droop control.

[0168] Primary droop controller establishment steps: Establish a primary droop controller.

[0169] Specifically, based on the droop characteristics of the traditional synchronous generator, the primary droop controller is set as:

[0170] ω i =ω ref,i -m i P i (twenty one)

[0171] U i =U ref,i -n i Q i (twenty two)

[0172] Among them, ω ref,i 、m i and P i They represent the frequency reference value, active-frequency (P–ω) droop gain coefficient and active power of the i-th DG respectively; U ref,i 、n iand Q i denote the voltage reference value, reactive-voltage (Q–U) droop gain coefficient and reactive power of the i-th DG, respectively.

[0173] The active power and reactive power of the i-th DG are:

[0174]

[0175] Among them, u ci,α ,u ci,β represents the capacitor voltage of the i-th DG in the αβ coordinate system, i oi,α ,i oi,β Represents the output current of the i-th DG in the αβ coordinate system.

[0176] Auxiliary controller establishment steps: Establish a secondary auxiliary controller to eliminate communication delays.

[0177] Taking into account the communication delay, the secondary auxiliary controller used to restore the frequency and voltage is set as:

[0178]

[0179] Where τ represents the time delay, the active power auxiliary controller Reactive power auxiliary controller

[0180] Based on Artstein transformation theory, the general method is outlined as follows. The system with constant input delay is:

[0181]

[0182] Where A and B represent gain coefficients, u(t-τ) represents the input with delay, and x represents the system state.

[0183] Define the state variable y(t) as:

[0184]

[0185] If and only if (yt,u(t)) satisfies equation (28), (xt,u(t)) satisfies equation (26):

[0186]

[0187] Therefore, according to equations (21)-(28), the secondary auxiliary controller to eliminate communication delay is set as:

[0188]

[0189] Distributed controller establishment steps: Establish a distributed fixed-time secondary controller.

[0190] In this embodiment, the distributed fixed-time secondary controller includes a distributed fixed-time frequency and active power auxiliary controller and a distributed fixed-time voltage and reactive power auxiliary controller.

[0191] Specifically, the distributed controller establishment step includes the following sub-steps:

[0192] S6.1, taking into account the communication delay, defines the consistency error of frequency, active power, voltage and reactive power as:

[0193]

[0194] Among them, A ij represents the adjacency matrix, B i Represents a diagonal matrix. When the i node is connected to the reference node, B i The corresponding diagonal element is 1, otherwise it is 0.

[0195] S6.2, set the distributed fixed time frequency and active power auxiliary controller to:

[0196]

[0197] Among them, the gain coefficient l ω ,l p ,γ ω >0,0<(p ω ,p p )<1,(q ω ,q p )>1.

[0198] S6.3, set the distributed fixed time average voltage observer to:

[0199]

[0200] The distributed fixed-time voltage and reactive power auxiliary controller is set as:

[0201]

[0202] Among them, the gain coefficient l V ,l q ,γ V >0,0<(p V ,p q )<1,(q V ,q q )>1.

[0203] Figure 4 It is an overall block diagram of multi-time scale hierarchical robust control in an embodiment of the present invention.

[0204] like Figure 4 As shown, the control steps are as follows: based on the distributed fixed-time secondary controller and the secondary auxiliary controller, the distributed fixed-time secondary controller (34) and (36) can compensate for the voltage and frequency deviations generated by the primary control, and the set secondary controller has strong robustness to the communication delay; the disturbance is sensed by the fixed-time sliding mode disturbance observer, and the model-free predictive controller calculates the optimal strategy according to the cost function, and is combined with the primary droop controller to achieve robust control of the ship AC microgrid at multiple time scales.

[0205] The ship AC microgrid control method based on model-free prediction and sliding mode control provided by the embodiment of the present invention is verified by simulation analysis as follows.

[0206] Table I. Model parameters of ship AC microgrid system

[0207]

[0208] According to the fixed time theory and simulation results, the parameters of the relevant controller are set by debugging method as follows: s1 =k s2 =k1=k2=-5,p s =1.4,q s =0.6, D=g1=-0.001, g2=-2, d1=d2=-3000, d3=-0.01,α v =400,α i =333.33,l ω = l p =γ ω =γ V =5,l V = l q =1000,r1=r2=8,p=p ω =p p =p V =p q =0.6,q=q ω =q p =q V =q q =1.4.

[0209] Comparative Example 1:

[0210] A simulation analysis, using a ship AC microgrid control method based on model-free prediction and sliding mode control provided in the above embodiment 1, includes the following steps:

[0211] 1) Before t = 10 s, only the primary level control combined with model-free predictive control is in effect;

[0212] 2) At t = 10s, a recovery frequency and frequency auxiliary secondary controller considering communication delay are introduced;

[0213] 3) At t=20s, load 6 is connected and removed at t=30s.

[0214] Figure 5a , Figure 5b , Figure 5c , Figure 5d , Figure 5e and Figure 5f They are respectively diagrams of overall simulation results of multi-time-scale hierarchical robust control in embodiments of the present invention.

[0215] like Figures 5a-5f As shown, from the simulation results, it can be concluded that the system voltage, frequency, active power and reactive power can be quickly restored within a fixed time, and the power can be distributed proportionally according to the droop coefficient (mP and nQ are consistent).

[0216] Comparative Example 2:

[0217] Figure 6a , Figure 6b They are simulation diagrams of model-free predictive control and traditional model predictive control in an embodiment of the present invention respectively.

[0218] A simulation analysis, using a ship AC microgrid control method based on model-free prediction and sliding mode control provided in the above embodiment 1, is different from the comparative example 1 in that: when the internal parameters of the system change due to changes in the marine environment, the simulated capacitance parameter values ​​are mismatched by 100%, 90%, 85% and 80% respectively, and the model-free predictive control (see Figure 6a ) and traditional model predictive control (see Figure 6b ). It can be seen that when the parameters change, the voltage quality of model-free predictive control is better and the total harmonic distortion (THD) is lower.

[0219] Embodiment 2:

[0220] This embodiment provides a ship AC microgrid control system based on model-free prediction and sliding mode control, including:

[0221] A super-local model building module is used to build a super-local model of the ship AC microgrid;

[0222] An observer establishment module, which establishes a fixed-time sliding mode disturbance observer based on the hyperlocal model;

[0223] A cost function setting module, which sets a cost function of model-free predictive control based on the hyperlocal model;

[0224] A primary droop controller establishment module is used to establish a primary droop controller;

[0225] Auxiliary controller establishment module, establishes a secondary auxiliary controller to eliminate communication delay;

[0226] Distributed controller establishment module, establishes distributed fixed-time secondary controller;

[0227] The control module is based on the distributed fixed-time secondary controller and the secondary auxiliary controller, senses disturbances through the fixed-time sliding mode disturbance observer, calculates the optimal strategy according to the cost function through the model-free predictive controller, and combines with the primary droop controller to realize the robust control of the ship AC microgrid under multiple time scales.

[0228] Embodiment 3:

[0229] This embodiment provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the steps of the ship AC microgrid control method based on model-free prediction and sliding mode control in the above-mentioned embodiment 1 are implemented.

[0230] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0231] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.

[0232] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A control method for ship AC microgrid based on model-free prediction and sliding mode control, It is characterized in that The following steps are involved: Steps for establishing the hyperlocal model: establishing a hyperlocal model of the ship AC microgrid; Observer establishment step: establishing a fixed-time sliding mode disturbance observer based on the hyperlocal model; Cost function setting step: setting a cost function of model-free predictive control based on the hyperlocal model; Primary droop controller establishment steps: Establish a primary droop controller; Auxiliary controller establishment steps: establish a secondary auxiliary controller to eliminate communication delay; Distributed controller establishment steps: Establish a distributed fixed-time secondary controller; Control steps: Based on the distributed fixed-time secondary controller and the secondary auxiliary controller, the fixed-time sliding mode disturbance observer senses the disturbance, the model-free predictive controller calculates the optimal strategy according to the cost function, and combines with the primary droop controller to realize the robust control of the ship AC microgrid under multiple time scales.

2. According to claim 1, the ship AC microgrid control method based on model-free prediction and sliding mode control, It is characterized in that The super local model building step includes the following sub-steps: S1.1, establishing the ship AC microgrid, including multiple generators, each of which is connected to a converter and transmits power to a load through a filter; S1.2, establishing a super local model based on the ship AC microgrid.

3. According to claim 2, the ship AC microgrid control method based on model-free prediction and sliding mode control, It is characterized in that In S1.2, based on Kirchhoff's voltage-current law, the spatial coordinate equation of the output point is established: Among them, L f and C f Respectively represent the filter inductor and filter capacitor; i f and u c Respectively represent the filter inductor current and filter capacitor voltage; i o Represents the output current; v i represents the voltage on the converter side, t represents the time, Based on the spatial coordinate equation, the hyperlocal model is established as: Where, ΔC f and ΔL f Indicates the change in the capacitance and inductance parameters of the filter due to disturbance; F v and F i Respectively represent the nonlinear disturbance of capacitance and inductance; α v and α i Respectively represent the gain of inductor current and capacitor voltage, α v =1 / C f ,α i =1 / L f .

4. According to claim 3, the ship AC microgrid control method based on model-free prediction and sliding mode control, It is characterized in that The fixed-time sliding mode disturbance observer includes a fixed-time voltage and current sliding mode disturbance observer, a nonlinear disturbance observer of capacitor voltage and a nonlinear disturbance observer of inductor current; The observer establishment step includes the following sub-steps: S2.1, set the sliding surface based on voltage and current as follows: in, represents the estimated capacitor voltage; Represents the estimated inductor current; gain factor: k s1 >0,k s2 >0,0 <p s <1,q s >1; symbolic function: S2.2, based on the sliding surface, the sliding mode reaching law is set as follows: Where D>0,g 1 >0,g 2 >0,D,g 1 and g 2 represents the gain coefficient; S2.3, based on the super local model, the fixed time voltage and current sliding mode disturbance observers are respectively set as: Among them, k 1 , k 2 All are gain coefficients greater than zero; S2.4, define ξ v =X v –U v ,X v represents the value of the capacitor voltage before the derivation of formula (2), U v represents auxiliary variables, based on the hyperlocal model, U v The derivative of Set to: Among them, d 1 d 2 and d 3 are all gain coefficients greater than zero, Based on equations (2) and (10), ξ v The derivative of is expressed as: The nonlinear disturbance observer of the capacitor voltage is set as: The nonlinear disturbance observer of the capacitor voltage is 1 Inner convergence, and the upper bound of the convergence time is T 1 for: S2.5, define ξ i =X i –U i ,X i represents the value of the inductor current before the derivation of formula (3), U i represents auxiliary variables, based on the hyperlocal model, set U i The derivative of for: According to equations (3) and (14), ξ i The derivative of is expressed as: The nonlinear disturbance observer of the inductor current is set as: The nonlinear disturbance observer of the inductor current is 1 Internal convergence.

5. The ship AC microgrid control method based on model-free prediction and sliding mode control according to claim 4, It is characterized in that In the cost function setting step, after discretizing equations (2) and (3), the predicted values ​​of capacitor voltage and inductor current are obtained as follows: Among them, T represents the sampling time, k represents the current time, and due to the high sampling frequency, i is taken f (k+1)=i f (k) The predicted value of the capacitor voltage is expressed as: The cost function is set to: Among them, U ref Indicates the reference voltage output by the droop control.

6. The ship AC microgrid control method based on model-free prediction and sliding mode control according to claim 5, It is characterized in that In the primary droop controller establishment step, based on the droop characteristics of a conventional synchronous generator, the primary droop controller is set as: oh i =ω ref,i -m i P i (21) U i =U ref,i -n i Q i (22) Among them, ω ref,i 、m i and P i They represent the frequency reference value, active-frequency (P–ω) droop gain coefficient and active power of the i-th DG respectively; U ref,i 、n i and Q i denote the voltage reference value, reactive-voltage (Q–U) droop gain coefficient and reactive power of the i-th DG, respectively. The active power and reactive power of the i-th DG are: Among them, u ci,α ,u ci,β represents the capacitor voltage of the i-th DG in the αβ coordinate system, i oi,α ,i oi,β Represents the output current of the i-th DG in the αβ coordinate system.

7. The ship AC microgrid control method based on model-free prediction and sliding mode control according to claim 6, It is characterized in that In the auxiliary controller establishment step, the secondary auxiliary controller for restoring frequency and voltage is set as: Where τ represents the time delay, the active power auxiliary controller Reactive power auxiliary controller Based on Artstein transformation theory, the general method is as follows, and the system with constant input delay is: Where A and B represent gain coefficients, u(t-τ) represents the input with delay, and x represents the system state. Define the state variable y(t) as: If and only if (y(t),u(t)) satisfies equation (28), (x(t),u(t)) satisfies equation (26): Therefore, according to equations (21)-(28), the secondary auxiliary controller to eliminate communication delay is set as:

8. The ship AC microgrid control method based on model-free prediction and sliding mode control according to claim 7, It is characterized in that The distributed fixed-time secondary controller includes a distributed fixed-time frequency and active power auxiliary controller and a distributed fixed-time voltage and reactive power auxiliary controller. The distributed controller establishment step includes the following sub-steps: S6.1, define the consistency errors of frequency, active power, voltage, and reactive power as: Among them, A ij represents the adjacency matrix, B i Represents a diagonal matrix. When the i node is connected to the reference node, B i The corresponding diagonal element is 1, otherwise it is 0; S6.2, set the distributed fixed time frequency and active power auxiliary controller to: Among them, the gain coefficient l ω ,l p ,γ ω >0,0<(p ω ,p p )<1,(q ω ,q p )>1; S6.3, set the distributed fixed time average voltage observer to: The distributed fixed-time voltage and reactive power auxiliary controller is set as: Among them, the gain coefficient l V ,l q ,γ V >0,0<(p V ,p q )<1,(q V ,q q )>1.

9. A ship AC microgrid control system based on model-free prediction and sliding mode control, It is characterized in that include: A super-local model building module is used to build a super-local model of the ship AC microgrid; An observer establishment module, which establishes a fixed-time sliding mode disturbance observer based on the hyperlocal model; A cost function setting module, which sets a cost function of model-free predictive control based on the hyperlocal model; A primary droop controller establishment module is used to establish a primary droop controller; Auxiliary controller establishment module, establishes a secondary auxiliary controller to eliminate communication delay; Distributed controller establishment module, establishes distributed fixed-time secondary controller; The control module is based on the distributed fixed-time secondary controller and the secondary auxiliary controller, senses disturbances through the fixed-time sliding mode disturbance observer, calculates the optimal strategy according to the cost function through the model-free predictive controller, and combines with the primary droop controller to realize the robust control of the ship AC microgrid under multiple time scales.

10. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the ship AC microgrid control method based on model-free prediction and sliding mode control according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Fixed time path tracking control method considering input delay

    CN120010252A