Adaptive control method and device for nonlinear system

Through time-varying parameter estimation and feedback correction error optimization of the triangular data model, the problems of model parameter deviation and large calculation amount in nonlinear industrial processes are solved, and precise control and flexible control structure of nonlinear systems are achieved.

CN115167133BActive Publication Date: 2024-09-03NORTH CHINA UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210845212.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2024-09-03
Estimated Expiration
2042-07-18

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to obtain an accurate system model for nonlinear industrial processes, the data model parameters lack physical meaning, the calculation amount is large, and deviations occur over time.

Method used

The triangular data model is used to estimate time-varying parameters through real-time input and output data, determine the predicted output data, and optimize the input data with the participation of feedback correction errors to simplify the control structure.

Benefits of technology

It achieves precise control of nonlinear systems, reduces the amount of calculation, avoids the phenomenon of multiple online estimation deviations of model parameters, and improves the flexibility and generalizability of control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115167133B
    Figure CN115167133B
Patent Text Reader

Abstract

The present invention provides an adaptive control method and device for a nonlinear system. The method comprises: determining an estimated value of a time-varying parameter in a triangular data model at the kth sampling moment according to output data at the kth sampling moment and the k-1th sampling moment and input data at the k-1th sampling moment and v sampling moments before; determining predicted output data at the k+1th sampling moment and a set of predicted output data at other sampling moments according to the estimated value, the output data at the kth sampling moment and input data at the k-1th sampling moment and v sampling moments before; determining a feedback correction error at the kth sampling moment according to the predicted output data and actual output data at the kth sampling moment; determining input data at the kth sampling moment of a controlled object according to the set of predicted output data, the feedback correction error and a set of reference signals at other sampling moments, thereby realizing adaptive control of the nonlinear system. The control structure is simple, flexible and easy to popularize.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of engineering control technology, and in particular to an adaptive control method and device for a nonlinear system. Background Art

[0002] In the context of increasingly complex industrial control systems, the model predictive control (MPC) method has attracted widespread attention because it can effectively solve time-varying, interference and other problems. However, it is difficult to obtain an accurate system model for actual industrial processes with high nonlinearity and complexity. However, since the prediction model module in the model prediction method emphasizes the function of the model rather than the structure, as long as the model can use the past known data information to predict the future output behavior of the system, it can be used as a prediction model. Therefore, many experts and scholars have begun to study data-driven methods to design MPC systems. One of the typical methods is to use equivalent dynamic linearized data models, such as tight format data models, partial format data models or full format data models, to complete the prediction function in MPC.

[0003] However, the above model has the following shortcomings when applied to actual systems: 1) The parameters of the data model have no clear physical meaning, so it is difficult to define its parameter range; 2) It is necessary to estimate multiple model parameters online in real time, which requires a lot of calculations and will deviate over time. Summary of the invention

[0004] The purpose of the present invention is to provide an adaptive control method, device, electronic device and storage medium for a nonlinear system, so as to solve the technical problems existing in the prior art.

[0005] The present invention provides an adaptive control method for a nonlinear system, the method comprising:

[0006] Determine the output data of the controlled object at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment according to the output data at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment;

[0007] Determine the predicted output data at the k+1 sampling time according to the estimated values ​​of the time-varying parameters in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1 sampling time and the v sampling times before the k-1 sampling time, and the N after the k+1 sampling time. P - A set of predicted output data at one sampling time;

[0008] Determine the feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0009] According to the predicted output data set, the feedback correction error at the k-th sampling moment and the N preset after the k-th sampling moment P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

[0010] According to an adaptive control method for a nonlinear system provided by the present invention, the output data of the controlled object at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment are determined, and the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment is determined according to the output data at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment, including:

[0011] Determine the output increment at the kth sampling time, the input increment at the k-1th sampling time and the v sampling times before the k-1th sampling time, and the generalized input increment at the k-1th sampling time according to the output data at the k-1th sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time;

[0012] The estimated value of the time-varying parameter in the triangular data model at the kth sampling moment is determined according to the generalized input increment, the input increment, the output increment and the estimated value of the time-varying parameter in the triangular data model at the k-1th sampling moment.

[0013] According to an adaptive control method for a nonlinear system provided by the present invention, the method of determining an estimated value of a time-varying parameter in a triangular data model at a kth sampling moment according to the generalized input increment, the input increment, the output increment and the estimated value of the time-varying parameter in the triangular data model at a k-1th sampling moment comprises:

[0014] Determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment using the following calculation formula according to the generalized input increment, the input increment, the output increment and the estimated value of the time-varying parameter in the triangular data model at the k-1th sampling moment;

[0015]

[0016] in, is the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, is the estimated value of the time-varying parameter in the triangular data model at the k-1th sampling time, Δω(k-1) is the generalized input increment at the k-1th sampling time; Δy(k) is the output increment at the kth sampling time; where:

[0017]

[0018] Wherein, m is the sampling point corresponding to the peak value of the triangular data model, N is the length of the triangular data model, v=N; v is the number of sampling moments before the kth sampling moment; Δu(kb) and Δu(ks) are the input increments at the kbth sampling moment and the ksth sampling moment respectively;

[0019] Δu(kb)=u(kb)-u(kb-1), Δu(ks)=u(ks)-u(ks-1).

[0020] According to an adaptive control method for a nonlinear system provided by the present invention, the predicted output data at the k+1 sampling moment and the N after the k+1 sampling moment are determined based on the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment, the output data at the kth sampling moment, and the input data at the k-1 sampling moment and the v sampling moments before the k-1 sampling moment. P -1 prediction output data set at a sampling time, including:

[0021] According to the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time, the following calculation formula is used to determine the predicted output data at the k+1th sampling time, and the N after the k+1th sampling time: P -1 predicted output data set at a sampling time;

[0022] Y z (k+1)=Qy(k)+A1(k)ΔU(k)+B(k)ΔU p (k-1)

[0023] Q = [1, 1, ..., 1] T

[0024]

[0025] ΔU(k)=[Δu(k),…,Δu(k+N u -1)] T

[0026]

[0027] ΔU p(k-1)=[Δu(k-1),…,Δu(k-N+2)] T

[0028] If j < m, a j and b j They are:

[0029]

[0030]

[0031] If m≤j<N, a j and b j They are:

[0032]

[0033]

[0034] Δu(·) is the input incremental data at the sampling time, is the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, and A1(k) is the first N of the matrix A(k). u Column composition; N u Less than or equal to N p , N p Less than v; Y z (k+1) is the N after the kth sampling time P The predicted output data set at sampling time.

[0035] According to an adaptive control method for a nonlinear system provided by the present invention, the step of determining a feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment comprises:

[0036] The feedback correction error at the kth sampling moment is determined using the following calculation formula according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0037] e(k)=F[y(k)-y m (k)]

[0038]

[0039]

[0040] ΔU f (k-1)=[Δu(k-1),…,Δu(k+N p -2)] T

[0041] Where F is the feedback coefficient matrix, ym (k) is the predicted output data at the kth sampling moment, y(k-1) is the actual output data at the k-1th sampling moment, and e(k) is the feedback correction error.

[0042] According to an adaptive control method for a nonlinear system provided by the present invention, the predicted output data set, the feedback correction error at the kth sampling moment and the N preset values ​​after the kth sampling moment are P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment, including:

[0043] According to the predicted output data set, the feedback correction error at the k-th sampling moment and the N preset after the k-th sampling moment P The reference signal set at the kth sampling moment uses the following calculation formula to determine the input data of the controlled object at the kth sampling moment;

[0044] Y f (k+1)=Y z (k+1)+e(k)

[0045] J=[Y r (k+1)-Y f (k+1)] T [Y r (k+1)-Y f (k+1)]+λΔU(k) T ΔU(k)

[0046] Among them, λ>0 is the weight factor. Minimizing equation J yields the following optimal predictive control law:

[0047]

[0048] u(k)=u(k-1)+g T ΔU(k)

[0049] g = [1, 0, ..., 0] T

[0050] Y r (k+1)=[y r (k+1),...,y r (k+N p )] T

[0051] Among them, Y f (k+1) is the predicted output data set after correction; Y r (k+1) is a reference signal set.

[0052] The present invention also provides an adaptive control device for a nonlinear system, wherein the engineering control system includes a plurality of controlled objects, and the device includes:

[0053] an identification module, used to determine the output data of the controlled object at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment according to the output data at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment;

[0054] A prediction module is used to determine the predicted output data at the k+1 sampling moment and the N after the k+1 sampling moment based on the estimated values ​​of the time-varying parameters in the triangular data model at the k sampling moment, the output data at the k sampling moment, and the input data at the k-1 sampling moment and the v sampling moments before the k-1 sampling moment. P -1 predicted output data set at a sampling time;

[0055] A correction module, used to determine a feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0056] The optimization module is used to output the predicted data set, the feedback correction error at the kth sampling moment, and the N preset values ​​after the kth sampling moment. P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

[0057] The present invention also 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 program, the steps of the adaptive control method for a nonlinear system as described above are implemented.

[0058] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the adaptive control method for a nonlinear system as described in any one of the above are implemented.

[0059] The adaptive control method, device, electronic device and storage medium of the nonlinear system provided by the present invention are designed based on the real-time input and output data of the controlled object, and the predicted output data and the predicted output data set are determined by the estimated values ​​of the time-varying parameters in the triangular data model and the real-time input and output data, and with the participation of feedback correction errors, more accurate input data of the controlled object is obtained, thereby achieving the purpose of simple and flexible control structure and easy promotion. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0061] Figure 1 It is a flow chart of the adaptive control method of a nonlinear system provided by the present invention;

[0062] Figure 2 It is one of the numerical simulation verification diagrams of the adaptive control method for nonlinear systems provided by the present invention;

[0063] Figure 3 This is the second numerical simulation verification diagram of the adaptive control method for nonlinear systems provided by the present invention;

[0064] Figure 4 This is the third numerical simulation verification diagram of the adaptive control method for nonlinear systems provided by the present invention;

[0065] Figure 5 This is the fourth numerical simulation verification diagram of the adaptive control method for nonlinear systems provided by the present invention;

[0066] Figure 6 It is a schematic diagram of the structure of the adaptive control device for a nonlinear system provided by the present invention;

[0067] Figure 7 It is a schematic diagram of the structure of the adaptive control system of the nonlinear system provided by the present invention;

[0068] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] Figure 1 Schematic diagram of the process of the adaptive control method for nonlinear system provided by the present invention. Figure 1As shown, the method is applicable to the control of the controlled object in the engineering control system, which involves the control of electrical engineering and mechanical engineering. In various types of engineering, the controlled object is the controlled equipment that performs different working environments in the engineering. The method includes the following steps:

[0071] 11. Determine the output data of the controlled object at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling time based on the output data at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time;

[0072] 12. Determine the predicted output data at the k+1 sampling time according to the estimated values ​​of the time-varying parameters in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1 sampling time and the v sampling times before the k-1 sampling time, and the predicted output data after the k+1 sampling time. P - A set of predicted output data at one sampling time;

[0073] 13. Determine the feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0074] 14. According to the predicted output data set, the feedback correction error at the kth sampling time and the preset N after the kth sampling time P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

[0075] In this regard, it should be noted that each controlled object in the engineering control system will be monitored and recorded with corresponding input data and output data in a single workflow. Here, a single workflow corresponds to a sampling moment. In the present invention, the output data of the controlled object at the kth sampling moment and the k-1th sampling moment, as well as the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment are obtained, that is, the output data at the current sampling moment is obtained, and the input data and output data at the historical sampling moments are obtained. Here, the value of v is specifically set according to the specific scenario.

[0076] In the present invention, a general discrete-time nonlinear engineering control system is considered:

[0077] y(k+1)=f(y(k),…,y(kn y ),u(k),…,u(kn u )), (1)

[0078] In the formula, y(k) and u(k) are the output data and input data of the controlled object at the kth sampling time, f(·) is the predetermined nonlinear function, and n y and n u are the output order and input order of the engineering control system respectively.

[0079] If f(·) has a continuous partial derivative with respect to u(k), and satisfies |Δy(k+1)|≤b|Δu(k)| for any time k and |Δu(k)|≠0, where b>0 is a constant, a time-varying bounded parameter h(k) can be obtained, which can convert formula (1) into the following triangular data model:

[0080] Δy(k+1)=h(k)Δω(k), (2)

[0081] in,

[0082] is the generalized input increment, Δy(k+1)=y(k+1)-y(k) is the output increment, and Δu(k)=u(k)-u(k-1) is the input increment.

[0083] The triangular data model has three parameters: h(k), m and N, all of which have clear physical meanings, namely: h(k) is the peak value of the triangular data model, m is the sampling point corresponding to the peak value of the triangular data model, and N is the length of the triangular data model. For a given nonlinear system, the time-varying parameter h(k) can be estimated online in real time, and m and N can be determined based on the step response of the system at the corresponding operating point.

[0084] It can be seen from formula (2) that although the triangular data model is a special form of the partial format data model, compared with the partial format model with multiple parameters, the triangular data model has only one time-varying parameter that needs to be identified online in real time, with a small amount of calculation and clear physical meaning.

[0085] In the present invention, due to the above-mentioned statement of the triangular data model, the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment is determined based on the output data at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and v sampling moments before the k-1th sampling moment.

[0086] Specifically, the output increment at the kth sampling time, the input increment at the k-1th sampling time and the v sampling times before the k-1th sampling time, and the generalized input increment at the k-1th sampling time are determined according to the output data at the k-1th sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time;

[0087] The estimated value of the time-varying parameter in the triangular data model at the kth sampling moment is determined according to the generalized input increment, the input increment, the output increment and the estimated value of the time-varying parameter in the triangular data model at the k-1th sampling moment.

[0088]

[0089] in, is the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, is the estimated value of the time-varying parameter in the triangular data model at the k-1th sampling time (the initial can be 1), Δω(k-1) is the generalized input increment at the k-1th sampling time; Δy(k) is the output increment at the kth sampling time; where:

[0090]

[0091] Wherein, m is the sampling point corresponding to the peak value of the triangular data model, N is the length of the triangular data model, v=N; v is the number of sampling moments before the kth sampling moment; Δu(kb) and Δu(ks) are the input increments at the kbth sampling moment and the ksth sampling moment respectively;

[0092] Δu(kb)=u(kb)-u(kb-1), Δu(ks)=u(ks)-u(ks-1).

[0093] In the present invention, the following calculation formula is used to determine the predicted output data at the k+1 sampling time and the N after the k+1 sampling time according to the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1 sampling time and the v sampling times before the k-1 sampling time. P -1 The predicted output data set at the sampling moment is as follows:

[0094] Y z (k+1)=Qy(k)+A1(k)ΔU(k)+B(k)ΔU p (k-1)

[0095] Q = [1, 1, ..., 1] T

[0096]

[0097] ΔU(k)=[Δu(k),…,Δu(k+N u -1)] T

[0098]

[0099] ΔU p (k-1)=[Δu(k-1),…,Δu(k-N+2)] T

[0100] If j < m, a j and b j They are:

[0101]

[0102]

[0103] If m≤j<N, a j and b j They are:

[0104]

[0105]

[0106] Δu(·) is the input incremental data at a certain sampling time, is the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, and A1(k) is the first N of the matrix A(k). u Column composition; N u Less than or equal to N p , N p Less than v; Y z (k+1) is the N after the kth sampling time P The predicted output data set at the kth sampling moment; y(k) is the output data at the kth sampling moment.

[0107] In the present invention, the feedback correction error at the kth sampling moment is determined by using the following calculation formula according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment:

[0108] e(k)=F[y(k)-y m (k)]

[0109]

[0110]

[0111] ΔU f (k-1)=[Δu(k-1),…,Δu(k+N p -2)] T

[0112] Where F is the feedback coefficient matrix, y m(k) is the predicted output data at the kth sampling moment, y(k-1) is the actual output data at the k-1th sampling moment, and e(k) is the feedback correction error.

[0113] In the present invention, according to the predicted output data set, the feedback correction error at the kth sampling time and the preset N after the kth sampling time P The reference signal set at the kth sampling moment uses the following calculation formula to determine the input data of the controlled object at the kth sampling moment;

[0114] Y f (k+1)=Y z (k+1)+e(k)

[0115] J=[Y r (k+1)-Y f (k+1)] T [Y r (k+1)-Y f (k+1)]+λΔU(k) T ΔU(k)

[0116] Among them, λ>0 is the weight factor, and the equation J is minimized to obtain the following optimal predictive control law:

[0117]

[0118] u(k)=u(k-1)+g T ΔU(k)

[0119] g = [1, 0, ..., 0] T

[0120] Y r (k+1)=[y r (k+1),...,y r (k+N p )] T

[0121] Among them, Y f (k+1) is the predicted output data set after correction; Y r (k+1) is a reference signal set.

[0122] In addition, it should be noted that the above formulas are interrelated.

[0123] In order to verify the advantages of the control scheme of the present invention over the partial format MPC method, the nonlinear system is numerically simulated using MATLAB software:

[0124]

[0125] The common parameters of the two control schemes are μ = 0.5, N p =4, N u =2, F = [1, 1, ..., 1] T The parameters of the control scheme of the present invention are selected as N=5, m=2, λ=20, The parameters of the partial format model-free adaptive predictive control method are selected as L = 4, λ = 37.6, Simulation as attached Figure 2-5 shown.

[0126] Attached Figure 2 The tracking effect of the present invention and the biased MPC on the square wave signal with an amplitude of 1 is shown in the following figure. Figure 2 It can be seen that when the overshoot of the two control methods is almost equal, the method of the present invention has a faster output tracking response than the partial MPC method.

[0127] Attached Figure 3 and 4 The tracking effect of the present invention and the partial format MPC on the sinusoidal signal with an amplitude of 1 is shown in the following figure. Figure 3 It can be seen that in the initial stage, the output tracking response of the method of the present invention is still slightly faster than that of the partial MPC method. Moreover, as the running time increases, the performance of the method of the present invention remains unchanged, but the performance of the partial MPC method becomes much worse. This is because the partial MPC method identifies four model parameters at the same time. As the running time increases, the estimated values ​​of the model parameters deviate, while the estimated value of the only parameter of the triangular data model is relatively stable, as shown in the attached figure. Figure 5 As shown. It can be seen that the method of the present invention has better tracking performance and less calculation amount than the partial format MPC method.

[0128] The adaptive control method for nonlinear systems provided by the present invention is designed based on the real-time input and output data of the controlled object, determines the predicted output data and the predicted output data set through the estimated values ​​of the time-varying parameters in the triangular data model and the real-time input and output data, and obtains relatively accurate input data of the controlled object with the participation of feedback correction error, thereby achieving the purpose of simple, flexible and easy promotion of control structure.

[0129] Figure 6 Schematic diagram of the structure of the adaptive control device for nonlinear system provided by the present invention. Figure 6 As shown, the device includes an identification module 61, a prediction module 62, a correction module 63 and an optimization module 64, wherein:

[0130] an identification module 61, for determining the output data of the controlled object at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment, and determining the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment according to the output data at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment;

[0131] The prediction module 62 is used to determine the predicted output data at the k+1 sampling time and the N sampling times after the k+1 sampling time according to the estimated values ​​of the time-varying parameters in the triangular data model at the k-th sampling time, the output data at the k-th sampling time, and the input data at the k-1 sampling time and the v sampling times before the k-1 sampling time. P -1 predicted output data set at a sampling time;

[0132] A correction module 63, configured to determine a feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0133] The optimization module 64 is used to calculate the predicted output data set, the feedback correction error at the kth sampling time, and the N after the kth sampling time. P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

[0134] Since the principle of the device described in the embodiment of the present invention is the same as that of the method described in the above embodiment, a more detailed explanation will not be repeated here.

[0135] It should be noted that, in the embodiments of the present invention, the relevant functional modules can be implemented by a hardware processor.

[0136] The adaptive control device for a nonlinear system provided by the present invention is designed based on the real-time input and output data of the controlled object, determines the predicted output data and the predicted output data set through the estimated values ​​of the time-varying parameters in the triangular data model and the real-time input and output data, and obtains relatively accurate input data of the controlled object with the participation of feedback correction error, thereby achieving the purpose of simple, flexible and easy promotion of the control structure.

[0137] Figure 7 Schematic diagram of the structure of the adaptive control system of the nonlinear system provided by the present invention. Figure 7 As shown, the system includes an identifier, a triangular model predictor, a feedback corrector and an optimization controller, wherein:

[0138] an identifier, used to determine the output data of the controlled object at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment according to the output data at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment;

[0139] A triangular model predictor is used to determine the predicted output data at the k+1 sampling moment and the N predicted output data after the k+1 sampling moment based on the estimated values ​​of the time-varying parameters in the triangular data model at the k-th sampling moment, the output data at the k-th sampling moment, and the input data at the k-1 sampling moment and the v sampling moments before the k-1 sampling moment. P - A set of predicted output data at one sampling time;

[0140] A feedback corrector, used to determine a feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0141] The optimization controller is used to output the predicted data set, the feedback correction error at the kth sampling moment, and the N preset values ​​after the kth sampling moment. P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

[0142] Since the system described in the embodiment of the present invention has the same principle as the method described in the above embodiment, a more detailed explanation will not be repeated here.

[0143] It should be noted that, in the embodiments of the present invention, the relevant functional modules can be implemented by a hardware processor.

[0144] The adaptive control system of the nonlinear system provided by the present invention is designed based on the real-time input and output data of the controlled object, determines the predicted output data and the predicted output data set through the estimated values ​​of the time-varying parameters in the triangular data model and the real-time input and output data, and obtains more accurate input data of the controlled object with the participation of feedback correction error, thereby achieving the purpose of simple and flexible control structure and easy promotion.

[0145] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8As shown, the electronic device may include: a processor 81, a communication interface 82, a memory 83 and a communication bus 84, wherein the processor 81, the communication interface 82 and the memory 83 communicate with each other via the communication bus 84. The processor 81 may call a computer program in the memory 83 to execute the steps of the adaptive control method of the nonlinear system, for example including:

[0146] Determine the output data of the controlled object at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling time according to the output data at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time;

[0147] Determine the predicted output data at the k+1 sampling time according to the estimated values ​​of the time-varying parameters in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1 sampling time and the v sampling times before the k-1 sampling time, and the N after the k+1 sampling time. P - A set of predicted output data at one sampling time;

[0148] Determine the feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0149] According to the predicted output data set, the feedback correction error at the k-th sampling moment and the N preset after the k-th sampling moment P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

[0150] In addition, the logic instructions in the above-mentioned memory 83 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0151] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can execute the adaptive control method of the nonlinear system provided by the above methods, the method comprising:

[0152] Determine the output data of the controlled object at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling time according to the output data at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time;

[0153] Determine the predicted output data at the k+1 sampling time according to the estimated values ​​of the time-varying parameters in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1 sampling time and the v sampling times before the k-1 sampling time, and the N after the k+1 sampling time. P - A set of predicted output data at one sampling time;

[0154] Determine the feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0155] According to the predicted output data set, the feedback correction error at the k-th sampling moment and the N preset after the k-th sampling moment P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

[0156] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for adaptive control of a nonlinear system provided by the above methods is implemented, and the method comprises:

[0157] Determine the output data of the controlled object at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling time according to the output data at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time;

[0158] Determine the predicted output data at the k+1 sampling time according to the estimated values ​​of the time-varying parameters in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1 sampling time and the v sampling times before the k-1 sampling time, and the N after the k+1 sampling time. P - A set of predicted output data at one sampling time;

[0159] Determine the feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment;

[0160] According to the predicted output data set, the feedback correction error at the k-th sampling moment and the N preset after the k-th sampling moment P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

[0161] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0163] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An adaptive control method for nonlinear systems, It is characterized in that The method comprises: Determine the output data of the controlled object at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling time according to the output data at the kth sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time; Determine the predicted output data at the k+1 sampling time according to the estimated values ​​of the time-varying parameters in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1 sampling time and the v sampling times before the k-1 sampling time, and the N after the k+1 sampling time. P - A set of predicted output data at one sampling time; Determine the feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment; According to the predicted output data set, the feedback correction error at the k-th sampling moment and the N preset after the k-th sampling moment P The reference signal set at each sampling moment determines the input data of the controlled object at the kth sampling moment; The method of determining the output data of the controlled object at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment, and determining the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment according to the output data at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment, comprises: Determine the output increment at the kth sampling time, the input increment at the k-1th sampling time and the v sampling times before the k-1th sampling time, and the generalized input increment at the k-1th sampling time according to the output data at the k-1th sampling time and the k-1th sampling time and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time; Determining an estimated value of a time-varying parameter in the triangular data model at the kth sampling moment according to the generalized input increment, the input increment, the output increment and an estimated value of a time-varying parameter in the triangular data model at the k-1th sampling moment; The step of determining the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment according to the generalized input increment, the input increment, the output increment, and the estimated value of the time-varying parameter in the triangular data model at the k-1th sampling moment comprises: Determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment using the following calculation formula according to the generalized input increment, the input increment, the output increment and the estimated value of the time-varying parameter in the triangular data model at the k-1th sampling moment; in, is the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, is the estimated value of the time-varying parameter in the triangular data model at the k-1th sampling time, Δω(k-1) is the generalized input increment at the k-1th sampling time; Δy(k) is the output increment at the kth sampling time; where: Wherein, m is the sampling point corresponding to the peak value of the triangular data model, N is the length of the triangular data model, v=N; v is the number of sampling moments before the k-1th sampling moment; Δu(kb) and Δu(ks) are the input increments at the kbth sampling moment and the ksth sampling moment respectively; Δu(kb)=u(kb)-u(kb-1), Δu(ks)=u(ks)-u(ks-1); The method determines the predicted output data at the k+1 sampling moment according to the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment, the output data at the kth sampling moment, and the input data at the k-1 sampling moment and the v sampling moments before the k-1 sampling moment, and the predicted output data after the k+1 sampling moment. P -1 prediction output data set at a sampling time, including: According to the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, the output data at the kth sampling time, and the input data at the k-1th sampling time and the v sampling times before the k-1th sampling time, the following calculation formula is used to determine the predicted output data at the k+1th sampling time, and the N after the k+1th sampling time: P -1 predicted output data set at a sampling time; Y z (k+1)=Qy(k)+A 1 (k)∆U(k)+B(k)∆U p (k-1) Q=[1,1,…,1] T ΔU(k)=[Δu(k),…,Δu(k+N u -1)] T ΔU p (k-1)=[Δu(k-1),…,Δu(k-N+2)] T If j <m,a j and b j They are: If m≤j <N,a j and b j They are: Δu(·) is the input incremental data at the sampling time, is the estimated value of the time-varying parameter in the triangular data model at the kth sampling time, A 1 (k) is the first N of the matrix A(k) u Column composition; N u Less than or equal to N p , N p Less than v; Y z (k+1) is the N after the kth sampling time P The predicted output data set at sampling time; The step of determining the feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment comprises: The feedback correction error at the kth sampling moment is determined using the following calculation formula according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment; e(k)=F[y(k)-y m (k)] ΔU f (k-1)=[Δu(k-1),…,Δu(k+N p -2)] T Where F is the feedback coefficient matrix, y m (k) is the predicted output data at the kth sampling time, y(k-1) is the actual output data at the k-1th sampling time, and e(k) is the feedback correction error; The prediction output data set, the feedback correction error at the k-th sampling time and the N preset values ​​after the k-th sampling time P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment, including: According to the predicted output data set, the feedback correction error at the k-th sampling moment and the N preset after the k-th sampling moment P The reference signal set at the kth sampling moment uses the following calculation formula to determine the input data of the controlled object at the kth sampling moment; AND f (k+1)=Y z (k+1)+e(k) J=[Y r (k+1)-Y f (k+1)] T [Y r (k+1)-Y f (k+1)]+λΔU(k) T ΔU(k) Among them, λ>0 is the weight factor, and the equation J is minimized to obtain the following optimal predictive control law: u(k)=u(k-1)+g T ΔU(k) g=[1,0,...,0] T AND r (k+1)=[and r (k+1),...,and r (k+N p )] T Among them, Y f (k+1) is the predicted output data set after correction; Y r (k+1) is a reference signal set.

2. An adaptive control device for a nonlinear system based on the method of claim 1, It is characterized in that The device comprises: an identification module, used to determine the output data of the controlled object at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment, and determine the estimated value of the time-varying parameter in the triangular data model at the kth sampling moment according to the output data at the kth sampling moment and the k-1th sampling moment and the input data at the k-1th sampling moment and the v sampling moments before the k-1th sampling moment; A prediction module is used to determine the predicted output data at the k+1 sampling moment and the N after the k+1 sampling moment based on the estimated values ​​of the time-varying parameters in the triangular data model at the k sampling moment, the output data at the k sampling moment, and the input data at the k-1 sampling moment and the v sampling moments before the k-1 sampling moment. P -1 predicted output data set at a sampling time; A correction module, used to determine a feedback correction error at the kth sampling moment according to the predicted output data at the kth sampling moment and the actual output data at the kth sampling moment; The optimization module is used to output the predicted data set, the feedback correction error at the kth sampling moment, and the N preset values ​​after the kth sampling moment. P The reference signal set at the kth sampling moment determines the input data of the controlled object at the kth sampling moment.

3. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the steps of the adaptive control method for a nonlinear system as claimed in claim 1 are implemented.

4. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the adaptive control method for a nonlinear system according to claim 1 are implemented.