The present invention relates to the field of automatic control, and more particularly to compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances.
Disturbances widely exist in actual control systems, such as controlled plants in oil refining, petrochemical, chemical, pharmaceutical, food, paper, water treatment, thermal power, metallurgy, cement, rubber, machinery, electrical, transportation, and robotics industries, including reactors, distillation towers, machines, equipment, devices, production lines, workshops, factories, unmanned vehicles, unmanned ships, unmanned aircraft, and autonomous mobile robots. The presence of disturbances may result in degradation of control performance or even instability, which affects the system's safety.
The existing compact-form model-free adaptive control method is proposed by Hou and Jin in Model Free Adaptive Control: Theory and Applications (Science Press, Beijing, China, 2013, p. 92). On this basis, inventions CN107991866A and CN107991865A investigate decoupled control schemes for multi-input and multi-output (MIMO) systems; inventions CN108132600A and CN108345213A develop self-tuning techniques for compact-form model-free adaptive control method based on neural networks, avoiding time-consuming manual tuning processes; invention CN109782588A proposes a compact-form model-free adaptive control with a different-factor architecture to address the challenge of the existing method that is difficult to achieve effective control of MIMO systems with different characteristics between channels; invention CN111522235A extends the results of invention CN109782588A and proposes a different-factor compact-form model-free control with parameter self-tuning, which overcomes the problem that it is hard to adjust the parameters effectively by trial-and-error method for MIMO control systems with high uncertainty, high complexity and high variability of characteristics between channels. It should be noted that none of the above inventions have yet considered the problem of compensation control of the MIMO system in the presence of disturbances.
For the MIMO system in the presence of measurable disturbances, it is of great industrial application to design a disturbance compensation control method that attenuate disturbances and stabilize the control system by using I/O data directly without any physical information. To this end, the present invention discloses a method of compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances.
The present invention addresses the above-identified problem and provides a method of compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances, executed on a hardware platform for controlling a controlled plant subject to measurable disturbances, said controlled plant being a multi-input multi-output (MIMO) system with a predetermined number of control inputs and a predetermined number of system outputs, said method comprising:
Said step 1, obtaining measurable disturbances at time k, establishing a dynamic data model of said controlled plant subject to measurable disturbances as
Δy(k+1)=θ(k)Δu(k)+χ(k)Δd(k)
where k is a sampling time, k is a positive integer; y(k+1) is an actual system output vector of said controlled plant at time k+1, y(k+1)=[y1(k+1), . . . , yn(k+1)]T, Δy(k+1)=y(k+1)−y(k); n is a total number of system outputs in said controlled plant, n is a positive integer greater than 1; u(k) is a control input vector of said controlled plant at time k, u(k)=[u1(k), . . . ,um (k)]T, Δu(k)=u(k)−u(k−1); m is a total number of control inputs in said controlled plant, m is a positive integer greater than 1; d(k) is a measurable disturbance vector in said controlled plant at time k, d(k)=[d1(k), . . . , dq (k)]TΔd(k)=d(k)−d(k−1); q is a total number of measurable disturbances in said controlled plant, q is a positive integer; θ(k) is said pseudo Jacobian input matrix at time k and χ(k) is said pseudo Jacobian disturbance matrix at time k.
Said step 2, constructing cost functions and solving optimization problems for said cost functions to find an optimal value of said pseudo Jacobian input matrix θ(k) in said step 1 and an optimal value of said pseudo Jacobian disturbance matrix χ(k) in said step 1, comprising:
J(θ(k))=∥Δy(k)−θ(k)Δu(k−1)−χ(k−1)Δd(k−1)∥2+μ1∥Δθ(k)∥2
where μ1 is the first weighting factor; Δθ(k)=θ(k)−θ(k−1); ∥□∥ is a Euclidean norm;
J(χ(k))=∥Δy(k)−θ(k−1)Δu(k−1)−χ(k)Δd(k−1)∥2+μ2∥Δχ(k)∥2
where μ2 is the second weighting factor; Δχ(k)=χ(k)−χ(k−1);
where α1 is the first step size factor;
where α2 is the second step size factor.
Said step 3, utilizing said measurable disturbances at time k, employing said dynamic data model described by said optimal value of said pseudo Jacobian input matrix θ(k) and said optimal value of said pseudo Jacobian disturbance matrix χ(k) in said step 2, designing a compact-form model-free adaptive disturbance compensation control law in the presence of measurable disturbances as
u(k)=u(k−1)−πc(k)e(k)+ωc(k)Δd(k)
where e(k) is a system error vector of said controlled plant at time k, e(k)=y*(k)−y(k), y*(k) is a desired system output vector of said controlled plant at time k, e(k)=[e1(k), . . . ,en(k)]T, Δe(k)=e(k)−e(k−1); πc(k) is said compact-form adaptive input matrix at time k and ωc(k) is said compact-form adaptive disturbance matrix at time k.
Said step 4, constructing an energy function and solving said energy function by using a momentum gradient descent method to find an optimal value of said compact-form adaptive input matrix πc(k) in said step 3 and an optimal value of said compact-form adaptive disturbance matrix ωc(k) in said step 3, comprising:
where y*(k+1) is a desired system output vector of said controlled plant at time k+1; y*(k+1)=[y1*(k+1), . . . , yn*(k+1)]T; λ is a penalty factor;
where σ1 is the first learning rate, η1 is the first momentum factor; Δπc(k−1)=πc(k−1)−πc(k−2);
is a partial derivative of said energy function W to πc(k−1);
where σ2 is the second learning rate, η2 is the second momentum factor; Δωc (k−1)=ωc(k−1)−ωc(k−2);
is a partial derivative of said energy function W to ωc(k−1).
Said partial derivative of said energy function W to πc(k−1) in said step 4.2 is calculated as
said partial derivative of said energy function W to ωc(k−1) in said step 4.3 is calculated as
Said
is calculated as
Said step 5, controlling said controlled plant by using said compact-form model-free adaptive disturbance compensation control law in the presence of measurable disturbances with said optimal value of compact-form adaptive input matrix πc(k) and said optimal value of compact-form adaptive disturbance matrix ωc(k) in said step 4, comprising:
Further, the present invention adopts the following technical solution:
A non-transitory computer-readable storage medium having a computer program stored thereon, wherein when said computer program is executed by a processor, causing said processor to carry out the method of compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances.
Further, the present invention adopts the following technical solution:
An electronic device comprising a memory, a processor, and a computer program stored on said memory and runnable on said processor, wherein when said processor executes said computer program, causing said processor to carry out the method of compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances.
On the theoretical basis of existing compact-form model-free adaptive control, some prior arts have made progress in solving the decoupling control problem of strongly coupled MIMO systems, the problem of different characteristics between control channels in MIMO systems, and the online self-tuning of parameters in MIMO control systems. However, these inventions have not yet considered the problem of compensation control of the controlled plant subject to disturbances, which restricts the popularization and application of compact-form model-free adaptive control method. For the MIMO system in the presence of measurable disturbances, it is of great industrial application to design a disturbance compensation control method that attenuate disturbances and stabilize the control system by using I/O data directly without any physical information.
The present invention is hereinafter described in detail with reference to the embodiments and accompanying drawings. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.
In the following, the implementation steps of the compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances are further explained:
Said step 1, obtaining measurable disturbances at time k, establishing a dynamic data model of said controlled plant subject to measurable disturbances as
Δy(k+1)=θ(k)Δu(k)+χ(k)Δd(k)
where k is a sampling time, k is a positive integer; y(k+1) is an actual system output vector of said controlled plant at time k+1, y(k+1)=[y1(k+1), . . . ,yn(k+1)]T, Δy(k+1)=y(k+1)−y(k); n is a total number of system outputs in said controlled plant, n is a positive integer greater than 1; u(k) is a control input vector of said controlled plant at time k, u(k)=[u1(k), . . . ,um (k)]T, Δu(k)=u(k)−u(k−1); m is a total number of control inputs in said controlled plant, m is a positive integer greater than 1; d(k) is a measurable disturbance vector in said controlled plant at time k, d(k)=[d1(k), . . . ,dq (k)]T, Δd(k)=d(k)−d(k−1); q is a total number of measurable disturbances in said controlled plant, q is a positive integer; θ(k) is said pseudo Jacobian input matrix at time k and χ(k) is said pseudo Jacobian disturbance matrix at time k.
Said step 2, constructing cost functions and solving optimization problems for said cost functions to find an optimal value of said pseudo Jacobian input matrix θ(k) in said step 1 and an optimal value of said pseudo Jacobian disturbance matrix χ(k) in said step 1, comprising:
J(θ(k))=∥Δy(k)−θ(k)Δu(k−1)−χ(k−1)Δd(k−1)∥2+μ1∥Δθ(k)∥2
where μ1 is the first weighting factor; Δθ(k)=θ(k)−θ(k−1); ∥□∥ is a Euclidean norm;
J(χ(k))=∥Δy(k)−θ(k−1)Δu(k−1)−χ(k)Δd(k−1)∥2+μ2∥Δχ(k)∥2
where μ2 is the second weighting factor; Δχ(k)=χ(k)−×(k−1);
where α1 is the first step size factor;
where α2 is the second step size factor.
Said step 3, utilizing said measurable disturbances at time k, employing said dynamic data model described by said optimal value of said pseudo Jacobian input matrix θ(k) and said optimal value of said pseudo Jacobian disturbance matrix χ(k) in said step 2, designing a compact-form model-free adaptive disturbance compensation control law in the presence of measurable disturbances as
u(k)=u(k−1)−πc(k)e(k)+ωc(k)Δd(k)
where e(k) is a system error vector of said controlled plant at time k, e(k)y*(k)−y(k), y*(k) is a desired system output vector of said controlled plant at time k, e(k)=[e1(k), . . . ,en(k)]T, Δe(k)=e(k)−e(k−1); πc(k) is said compact-form adaptive input matrix at time k and ωc(k) is said compact-form adaptive disturbance matrix at time k.
Said step 4, constructing an energy function and solving said energy function by using a momentum gradient descent method to find an optimal value of said compact-form adaptive input matrix πc(k) in said step 3 and an optimal value of said compact-form adaptive disturbance matrix ωc(k) in said step 3, comprising:
where y*(k+1) is a desired system output vector of said controlled plant at time k+1; y*(k+1)=[y1*(k+1), . . . , yn*(k+1)]T; λ is a penalty factor;
where α1 is the first learning rate, η1 is the first momentum factor; Δπc(k−1)=πc(k−1)−πc(k−2);
is a partial derivative of said energy function W to πc(k−1);
where σ2 is the second learning rate, η2 is the second momentum factor; Δωc (k−1)=ωc(k−1)−ωc(k−2);
is a partial derivative of said energy function W to ωc(k−1).
Said partial derivative of said energy function W to πc(k−1) in said step 4.2 is calculated as
said partial derivative of said energy function W to ωc(k−1) in said step 4.3 is calculated as
Said
is calculated as
Said step 5, controlling said controlled plant by using said compact-form model-free adaptive disturbance compensation control law in the presence of measurable disturbances with said optimal value of compact-form adaptive input matrix πc(k) and said optimal value of compact-form adaptive disturbance matrix ωc(k) in said step 4, comprising:
Two exemplary embodiments of the present invention are given for further explanation.
where α(k)=1+0.1 sin(2πk/1500), b(k)=1+0.1 cos(2πk/1500) are two time-varying parameters; d1(k)=0.15 sin(k/10), d2 (k)=0.15 sin(k/10) are two measurable disturbances. The two-input two-output controlled plant is subject to measurable disturbances.
The desired system outputs are as follows:
In this embodiment, m=n=q=2.
As is known to all, the existing PID is a well-established and widely used control method in the field of control theory and engineering, which is used for comparison in the embodiments of the present invention. To quantitatively compare the control performance of the control method of the present invention with the existing PID control method, the integral time-weighted absolute error (ITAE) is used as the control performance index for evaluation:
where ej(k)=yj*(k)—yj(k), yj*(k) is the j-th desired system output at time k, yj(k) is the j-th actual system output at time k, j=1, . . . , n. The smaller the value of ITAE(ej), the smaller the error between the j-th actual system output and the j-th desired system output, the higher control accuracy and response speed, and the better the control performance.
The hardware platform for running the embodiment of the present invention is the industrial control computer.
The embodiment of the present invention adopts the compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances; set the parameters of the control method of the present invention as θ(1)=[0.6,−0.05;0.1,0.6]χ(1)=[0.1,0;0,0.1],πc(1)=[−0.35,0;0,−0.27], ωc(1)=[−0.1,0;0, −0.8], α1=0.5, α2==0.5, μ1=1, μ2=0.9, σ1=0.7, σ2=0.9, η1=0.3, η2=0.5, λ=2.
When controlling the two-input two-output controlled plant in the first exemplary embodiment by using the compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances, the following steps are included at each time k: a) obtaining the measurable disturbance vector d(k); b) obtaining the desired system output vector y*(k) and the actual system output vector y(k), calculating the system error vector e(k); c) based on steps a) and b), calculating the control input vector u(k) according to the compact-form model-free adaptive disturbance compensation control law in the presence of measurable disturbances with the optimal value of the compact-form adaptive input matrix πc (k) and the optimal value of the compact-form adaptive disturbance matrix ωc(k); d) controlling the controlled plant by applying the control input vector u(k), generating the actual system output vector of the controlled plant at time k+1 based on the application of the control input vector; e) repeating steps a) to d) until the end of the control time.
The control performance of the control method of the present invention and the PID control method are given in
Vapor Compression Refrigeration Systems (VCRS) are the most common refrigeration cycle equipment used in homes (e.g., home refrigerators, air conditioners), commercial (e.g., building and automotive air conditioning, refrigerated warehouses) and industrial (e.g., petrochemical plants, natural gas processing plants), and the refrigeration cycle of the vapor compression refrigeration system is shown in
The vapor compression refrigeration system is a two-input two-output controlled plant. Two control inputs u1 and u2 of the vapor compression refrigeration system are the compressor frequency (Hz) and valving opening (%), respectively. Two system outputs y1 and y2 of the vapor compression refrigeration system are the degree of superheating (° C.) and the outlet temperature of the evaporator secondary flux (° C.), respectively. Two disturbances d1 and d2 of the vapor compression refrigeration system are the inlet temperature of the condenser secondary flux (° C.) and the inlet temperature of the evaporator secondary flux (° C.), respectively, where d1, d2 are measured online via temperature sensors and are therefore measurable disturbances.
The initial conditions of the vapor compression refrigeration system are given as: u1(0)=36.45 Hz, u2 (0)=48.79%, y1 (0)=14.65° C., y2 (0)=−22.15° C. To meet the cooling demand of the evaporator secondary flux, the desired system output y1* is adjusted from 14.65° C. to 7.2° C. at the 2nd min, then adjusted from 7.2° C. to 22.2° C. at the 9th min, and finally adjusted from 22.2° C. to 11.65° C. at the 16th min, the desired system output y2* is adjusted from −22.15° C. to −22.65° C. at the 2nd min.
The embodiment of the present invention adopts the compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances; set the parameters of the control method of the present invention as θ(1)=[2,0;0,0.1], χ(1)=[0.2,0;0,0.2], πc(1)[−1,0;0,−1], ωc(1)[−1.2,0;0,−0.05], α1=0.5, α2=0.5, μ1, μ2=σ1=0.5, σ2=0.9, η1=0.2, η2=0.2, λ=0.1.
When controlling the vapor compression refrigeration system in the second exemplary embodiment by using the compact-form model-free adaptive disturbance compensation control in the presence of measurable disturbances, the following steps are included at each time k: a) obtaining the measurable disturbance vector d(k); b) obtaining the desired system output vector y*(k) and the actual system output vector y(k), calculating the system error vector e(k); c) based on steps a) and b), calculating the control input vector u(k) according to the compact-form model-free adaptive disturbance compensation control law in the presence of measurable disturbances with the optimal value of the compact-form adaptive input matrix πc (k) and the optimal value of the compact-form adaptive disturbance matrix ωc(k); d) controlling the vapor compression refrigeration system by applying the control input vector u(k), generating the actual system output vector of the vapor compression refrigeration system at time k+1 based on the application of the control input vector; e) repeating steps a) to d) until the end of the control time.
The control performance of the control method of the present invention and the existing PID control method are given in
Furthermore, the following two points should be noted in particular:
From the above detailed description of the invention, it is clear to those skilled in the art that the implementation of the present invention can be achieved with the help of software and the necessary hardware platform. Embodiments of the present invention can be implemented by using the existing processor, or by a dedicated processor being used for this or other purposes in an appropriate system, or by a hardwired system. Embodiments of the present invention also include a non-transitory computer-readable storage medium comprising a machine-readable medium for carrying or having machine-executable instructions or data structures stored thereon; the machine-readable medium can be any available medium accessible by a general purpose or the dedicated computer or other machines with a processor. By way of example, the machine-readable medium includes RAM, ROM, EPROM, EEPROM, CD-ROM or other optical disk memory, disk memory or other magnetic storage devices, or any other medium that can carry or store the required computer program code in the form of machine-executable instructions or data structures, and that can be accessed by a general purpose or the dedicated computer or other machines with a processor. When information is transmitted or made available to a machine over a network or other communication connection (hardwired, wireless, or a combination of hardwired and wireless), the connection is also considered a machine-readable medium.
It should be appreciated that the foregoing is only preferred embodiments of the invention and is not for use in limiting the invention. Any modification, equivalent substitution, and improvement without departing from the spirit and principle of this invention should be covered in the protection scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
202211337292.9 | Oct 2022 | CN | national |