CN113885322A - Dual-controller closed-loop system identification method based on slope response - Google Patents
Dual-controller closed-loop system identification method based on slope response Download PDFInfo
- Publication number
- CN113885322A CN113885322A CN202111150993.7A CN202111150993A CN113885322A CN 113885322 A CN113885322 A CN 113885322A CN 202111150993 A CN202111150993 A CN 202111150993A CN 113885322 A CN113885322 A CN 113885322A
- Authority
- CN
- China
- Prior art keywords
- sequence set
- data
- identified
- set value
- level
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000004044 response Effects 0.000 title claims abstract description 26
- 238000004364 calculation method Methods 0.000 claims abstract description 25
- 230000009466 transformation Effects 0.000 claims abstract description 15
- 238000011217 control strategy Methods 0.000 claims abstract description 13
- 230000008859 change Effects 0.000 claims abstract description 8
- 238000000605 extraction Methods 0.000 claims abstract 2
- 239000013598 vector Substances 0.000 claims description 35
- 238000012546 transfer Methods 0.000 claims description 26
- 230000014509 gene expression Effects 0.000 claims description 13
- 238000005070 sampling Methods 0.000 claims description 8
- 239000011159 matrix material Substances 0.000 claims description 7
- 230000009977 dual effect Effects 0.000 claims description 2
- 238000013461 design Methods 0.000 abstract description 7
- 238000005457 optimization Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 20
- 238000004590 computer program Methods 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000013075 data extraction Methods 0.000 description 2
- 238000009776 industrial production Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
The invention provides a dual-controller closed-loop system identification method based on slope response, and belongs to the technical field of automatic control. Subtracting the steady state value before the slope change of the set value from the set value of the closed-loop system and the output sequence set obtained by extraction to obtain the set value and an output first-stage sequence set, and obtaining the set value and an output second-stage sequence set by the set value and the output first-stage sequence set through mathematical calculation; and combining the known delay time constant of the object to be identified, the parameters of the series feedback controller, the set value and the output second-level sequence set, and calculating to obtain the parameters to be identified of the first-order inertia and pure delay system. The method can obtain the parameters to be identified of the second-order inertia and pure delay system through proper transformation. The method can identify the controlled object containing the double controllers, provides a model for control strategy design and optimization, and has certain application potential.
Description
Technical Field
The invention belongs to the technical field of automatic control, and particularly relates to a dual-controller closed-loop system identification method based on slope response.
Background
With the increase of the industrial automation level, the requirement on the control performance is higher and higher. In order to improve the control performance of the system, how to design the control strategy and optimize the parameters of the control strategy becomes more important. However, control strategy design and parameter optimization requires a known system model. In order to ensure the safe operation of the system, the open-loop test is generally not allowed in the industrial production, although the identification method of the open-loop test is mature, the automatic input state needs to be changed into the manual operation state in the open-loop identification process, the continuity of the industrial production is interrupted, and certain cost increase is brought. In addition, in an industrial process, a series controller system exists, and the series controller system has two controllers, so that the current research on how to obtain a model of the series controller system under a closed-loop condition is relatively deficient. In addition, since the set value generally changes at a certain rate when changing, and the change of the set value is not a step response in a strict sense but a ramp response, it is necessary to research a dual-controller closed-loop system identification method based on the ramp response. In the industrial process, most processes can be described by a transfer function system of first-order inertia plus pure delay or second-order inertia plus delay, and as the time constant of delay can be directly obtained according to the relation of input and output data of a closed-loop system, other parameters in the first-order inertia or the second-order inertia need to be identified.
Therefore, the closed-loop identification method for the slope data and the output data of the closed-loop system in the industrial process based on the double-controller system is provided, the problem of the closed-loop identification method of the double-controller system can be solved, a model basis is provided for further control strategy design and parameter optimization, and an advanced control method is implemented, so that the method has a strong industrial application value and a strong application prospect.
Disclosure of Invention
The invention aims to solve the problem of closed-loop identification of a system containing double controllers, and provides a dual-controller closed-loop system identification method based on slope response.
The invention provides a dual-controller closed-loop system identification method based on slope response in a first aspect, which comprises the following steps:
1) describing an object to be identified by adopting a transfer function of first-order inertia plus pure delay, wherein the mathematical expression of the object to be identified is as follows:
wherein G(s) is a transfer function of the object, s and tau are respectively a differential operator and a delay time constant known by the object to be identified, a1 and a2The parameter to be identified is the object to be identified;
2) extracting a set value sequence set R of a closed-loop system consisting of an object to be identified, two feedback controllers and a feedforward controller in the same time period before and after the slope change of the set value0And output sequence set Y0;
3) The steady state value of the closed loop system before the set value is changed in a slope is rssSetting value sequence set R extracted in step 2)0And output sequence set Y0Subtracting a steady state value r from each of the datassRespectively obtaining a first-level sequence set R of a set value1And outputting the first level sequence set Y1;
4) The amplitude value of the slope response of the set value of the closed loop system is l, the slope is gamma, and the maximum integer not exceeding tau/delta T is defined asThe maximum integer not exceeding (tau + l/gamma)/delta T is xi; for the set value obtained in the step 3), a first-level sequence set R is obtained1The data in the sequence table is subjected to algebraic transformation to obtain a set value second-level sequence set R01、R11、R21、R31 and R41The data of (1); set value second level sequence set R01、R11、R21、R31 and R41The data length of the medium data is n;
5) for the output primary sequence set Y obtained in the step 3)1The data in (2) is calculated to obtain an output second-level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data of (1); second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data length of the medium data is n;
6) two series feedback controllers in the closed loop system are respectively Gc1(s) and Gc2(s);
For the set value obtained in the step 4), a second-level sequence set R is obtained01、R11、R21、R31 and R41The data in (5) and the output second level sequence set Y obtained in step 5)01、Y10、Y11、Y21、Y31 and Y41In combination with a feedback controller Gc1(s) and Gc2Parameters in(s) are subjected to algebraic transformation to obtain a sequence set theta1 and θ2The data of (1);
7) the sequence set theta obtained in the step 6) is added1 and θ2Transforming to obtain a sequence set theta; the mathematical calculation of the sequence set θ is as follows: wherein Andrespectively a sequence set theta1Transposed and sequence set θ of2Transposing;
8) parameter a to be identified of object to be identified1 and a2Composed parameter vectorOutputting the first-level sequence set Y obtained by the step 3)1And calculating the sequence set theta obtained in the step 7);
coefficient a to be identified of object to be identified1 and a2Composed parameter vectorParameter vectorThe form of (A) is as follows:
wherein ,θT and Y1 TAre respectively parameter vectorsTranspose of (2), transpose of sequence set θ, and output first level sequence set Y1Transpose of (θ)Tθ)-1Is thetaTMatrix inversion of theta;
thereby identifying the parameter a to be identified of the object to be identified1 and a2And obtaining a transfer function of the object to be identified and optimizing a control strategy of the object to be identified.
The invention provides a dual-controller closed-loop system identification method based on slope response, which aims at an object to be identified by second-order inertia plus pure delay and comprises the following steps:
1) describing an object to be identified by adopting a transfer function of second-order inertia plus pure delay, wherein the mathematical expression of the object to be identified is as follows:
wherein G(s) is a transfer function of the object, s and tau are respectively a differential operator and a delay time constant known by the object to be identified, a1、a2 and a3The parameter to be identified is the object to be identified;
2) extracting a set value sequence set R of a closed-loop system consisting of an object to be identified, two feedback controllers and a feedforward controller in the same time period before and after the slope change of the set value0And output sequence set Y0;
3) The steady state value of the closed loop system before the set value is changed in a slope is rssSetting value sequence set R extracted in step 2)0And output sequence set Y0Subtracting a steady state value r from each of the datassRespectively obtaining a first-level sequence set R of a set value1And outputting the first level sequence set Y1;
4) The amplitude value of the slope response of the set value of the closed loop system is l, the slope is gamma, and the maximum integer not exceeding tau/delta T is defined asThe maximum integer not exceeding (tau + l/gamma)/delta T is xi; for the set value obtained in the step 3), a first-level sequence set R is obtained1The data in the sequence table is subjected to algebraic transformation to obtain a set value second-level sequence set R11、R21、R31、R41 and R51The data of (1); set value second level sequence set R11、R21、R31、R41 and R51The data length of the medium data is n;
5) for the output primary sequence set Y obtained in the step 3)1The data in (2) is calculated to obtain an output second-level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The data of (1); second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The data length of the medium data is n;
6) two series feedback controllers in a closed loop systemAre each Gc1(s) and Gc2(s), feedback controller Gc1(s) and Gc2The mathematical expressions of(s) are respectively as follows:
wherein ,kp1、ki1 and kd1Is a feedback controller Gc1(s) known parameters, respectively Gc1(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient; wherein k isp2、ki2 and kd2Is a feedback controller Gc2(s) known parameters, respectively Gc2(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient;
for the set value obtained in the step 4), a second-level sequence set R is obtained11、R21、R31、R41 and R51The data in (5) and the output second level sequence set Y obtained in step 5)10、Y20、Y11、Y21、Y31、Y41 and Y51In combination with a feedback controller Gc1(s) and Gc2Parameters in(s) are subjected to algebraic transformation to obtain a sequence set theta1、θ2 and θ3The data of (1);
7) the sequence set theta obtained in the step 6) is added1、θ2 and θ3Transforming to obtain a sequence set theta; the mathematical calculation of the sequence set θ is as follows:
wherein ,andrespectively a sequence set theta1Transposed, sequence set θ of2Transposed and sequence set θ of3Transposing;
8) parameter a to be identified of object to be identified1、a2 and a3Composed parameter vectorOutputting the first-level sequence set Y obtained by the step 3)1And calculating the sequence set theta obtained in the step 7);
coefficient a to be identified of object to be identified1、a2 and a3Composed parameter vectorParameter vectorThe form of (A) is as follows:
wherein ,θT and Y1 TAre respectively parameter vectorsTranspose of (2), transpose of sequence set θ, and output first level sequence set Y1Transpose of (θ)Tθ)-1Is thetaTMatrix inversion of theta;
thereby identifying the parameter a to be identified of the object to be identified1、a2 and a3And obtaining a transfer function of the object to be identified and optimizing a control strategy of the object to be identified.
The invention provides a dual-controller closed-loop system, which comprises two feedback controllers and an object to be identified, wherein the two feedback controllers and the object to be identified are sequentially connected in series.
The method can identify the controlled object as a continuous system of first-order inertia plus pure delay or second-order inertia plus pure delay or delay time constant of a system to be identified based on the sequence set of the set value of the closed-loop system and the output sequence set, two feedback controllers and the delay time constant of the system to be identified, can effectively avoid the operation of the system for open-loop identification, can be directly applied to the design and parameter optimization of a control strategy, provides a model base for the implementation of an advanced control method, and has strong industrial application value and application prospect.
Drawings
FIG. 1 is a closed loop control system for a dual controller.
FIG. 2 is a set of values, an output sequence set, and a trend of the output of the recognition model in example 3.
Detailed Description
Example 1
The embodiment provides a dual-controller closed-loop system identification method based on slope response, which comprises the following steps:
1) describing an object to be identified by adopting a transfer function of first-order inertia plus pure delay, wherein the mathematical expression of the object to be identified is as follows:
whereinG(s) is the transfer function of the object, s and tau are the known delay time constants of the differential operator and the object to be identified, respectively, a1 and a2The parameter to be identified is the object to be identified; the delay time constant of the object to be identified is generally more than or equal to 0 and less than or equal to 100.
2) Extracting a set value sequence set R of a closed-loop system consisting of an object to be identified, two feedback controllers and a feedforward controller in the same time period before and after the slope change of the set value0And output sequence set Y0The data length is n +1, and the sampling period is delta T; set value sequence set R0And output sequence set Y0The form of (A) is as follows:
R0=[r0(1),…,r0(i),…,r0(n+1)]
Y0=[y0(1),…,y0(i),…,y0(n+1)];
wherein i represents the position of the data in the sequence set, and i is more than or equal to 1 and less than or equal to n + 1; r is0(1)、r0(i) and r0(n +1) are the first data, the ith data and the (n +1) th data of the set value sequence set respectively; y is0(1)、y0(i) and y0(n +1) are the first data, the ith data and the (n +1) th data of the output sequence set respectively; the extracted data length is generally 400-n.100000, and the sampling period of a typical industrial process is generally 0.01 s.DELTA.T.ltoreq.10 s.
3) The steady state value of the closed loop system before the set value is changed in a slope is rssSetting value sequence set R extracted in step 2)0And output sequence set Y0Subtracting a steady state value r from each of the datassRespectively obtaining a first-level sequence set R of a set value1And outputting the first level sequence set Y1;
Set value first order sequence set R1And outputting the first level sequence set Y1Each of the data can be calculated by:
r1(1)=r0(1)-rss
r1(i)=r0(i)-rss
r1(n+1)=r0(n+1)-rss
y1(1)=y0(1)-rss
y1(i)=y0(i)-rss
y1(n+1)=y0(n+1)-rss;
wherein ,r1(1)、r1(i) and r1(n +1) are respectively set values of a first-level sequence set R1The first data, the ith data, and the n +1 th data; y is1(1)、y1(i) and y1(n +1) are respectively output first-stage sequence sets Y1The first data, the ith data, and the n +1 th data; the steady state value of the closed loop system at the beginning stage of data extraction is determined according to the actual physical quantity, and is generally equal to or more than 0.01 and less than rss≤1000;
Set value first order sequence set R1And outputting the first level sequence set Y1In the form of:
R1=[r1(1),…,r1(i),…,r1(n+1)]
Y1=[y1(1),…,y1(i),…,y1(n+1)]。
4) the amplitude value of the slope response of the set value of the closed loop system is l, the slope is gamma, and the maximum integer not exceeding tau/delta T is defined asThe maximum integer not exceeding (τ + l γ)/Δ T is ξ; for the set value obtained in the step 3), a first-level sequence set R is obtained1The data in the sequence table is subjected to algebraic transformation to obtain a set value second-level sequence set R01、R11、R21、R31 and R41The data of (1); set value second level sequence set R01、R11、R21、R31 and R41The data length of the medium data is n; generally comprisesL is more than or equal to 1 and less than or equal to 1000, gamma is more than or equal to 0.001 and less than or equal to 10000, and xi is more than or equal to 1 and less than or equal to 1000;
set value second level sequence set R01、R11、R21、R31 and R41The mathematical calculation of the data in (1) is as follows:
wherein ,r01(i)、r11(i)、r21(i)、r31(i) and r41(i) Set value second level sequence set R01、R11、R21、R31 and R41The ith data in (1); set value second level sequence set R01、R11、R21、R31 and R41In the form of:
R01=[r01(1),…,r01(i),…,r01(n)]
R11=[r11(1),…,r11(i),…,r11(n)]
R21=[r21(1),…,r21(i),…,r21(n)]
R31=[r31(1),…,r31(i),…,r31(n)]
R41=[r41(1),…,r41(i),…,r41(n)]。
5) for the output primary sequence set Y obtained in the step 3)1The data in (2) is calculated to obtain an output second-level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data of (1); second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data length of the medium data is n;
outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data in (1) are obtained by the following formula:
wherein j is the position of the data in the sequence set which exceeds i, and j is more than or equal to 1 and less than or equal to i; y is01(i)、y10(i)、y11(i)、y21(i)、y31(i) and y41(i) Respectively, outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The ith data in (1); outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41In the form of:
Y01=[y01(1),…,y01(i),…,y01(n)]
Y10=[y10(1),…,y10(i),…,y10(n)]
Y11=[y11(1),…,y11(i),…,y11(n)]
Y21=[y21(1),…,y21(i),…,y21(n)]
Y31=[y31(1),…,y31(i),…,y31(n)]
Y41=[y41(1),…,y41(i),…,y41(n)]。
6) two series feedback controllers in the closed loop system are respectively Gc1(s) and Gc2(s), feedback controller Gc1(s) and Gc2The mathematical expressions of(s) are respectively as follows:
wherein ,kp1、ki1 and kd1Is a feedback controller Gc1(s) known parameters, respectively Gc1(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient; wherein k isp2、ki2 and kd2Is a feedback controller Gc2(s) known parameters, respectively Gc2(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient; feedback controllerGc1The parameter(s) is generally-105≤kp1≤105、-105≤ki1≤105 and -105≤kd1≤105(ii) a Feedback controller Gc2The parameter(s) is generally-105≤kp2≤105、-105≤ki2≤105 and -105≤kd2≤105;
For the set value obtained in the step 4), a second-level sequence set R is obtained01、R11、R21、R31 and R41The data in (5) and the output second level sequence set Y obtained in step 5)01、Y10、Y11、Y21、Y31 and Y41In combination with a feedback controller Gc1(s) and Gc2Parameters in(s) are subjected to algebraic transformation to obtain a sequence set theta1 and θ2The data of (1);
sequence set theta1 and θ2The mathematical calculation of the data in (1) is as follows:
θ1(i)=kd1kd2r01(i)+(kp1kd2+kd1kp2)r11(i)+(kp1kp2+ki1kd2+kd1ki2)r21(i)+(kp1ki2+ki1kp2)r31(i)+ki1ki2r41(i)-kd1kd2y01(i)-(kp1kd2+kd1kp2)y11(i)-(kp1kp2+ki1kd2+kd1ki2)y21(i)-(kp1ki2+ki1kp2)y31(i)-ki1ki2y41(i)
θ2(i)=-y10(i);
wherein ,θ1(i) and θ2(i) Are respectively a sequence set theta1 and θ2The ith data in (1); sequence set theta1 and θ2Form (1) ofRespectively as follows:
θ1=[θ1(1),…,θ1(i),…,θ1(n)]
θ2=[θ2(1),…,θ2(i),…,θ2(n)]。
7) the sequence set theta obtained in the step 6) is added1 and θ2Transforming to obtain a sequence set theta; the mathematical calculation of the sequence set θ is as follows:
wherein Andrespectively a sequence set theta1Transposed and sequence set θ of2The transposing of (1).
8) Parameter a to be identified of object to be identified1 and a2Composed parameter vectorThe output first-level sequence set Y obtained by the step 3)1And calculating the sequence set theta obtained in the step 7);
coefficient a to be identified of object to be identified1 and a2Composed parameter vectorParameter vectorThe form of (A) is as follows:
wherein ,θT and Y1 TAre respectively parameter vectorsTranspose of (2), transpose of sequence set θ, and output first level sequence set Y1Transpose of (θ)Tθ)-1Is thetaTMatrix inversion of θ.
9) Completing the steps 1) -8) can complete a feedforward-considered series controller closed-loop system identification method, which can identify the parameter a to be identified of the object to be identified1 and a2Combining the known delay time constant tau of the object to be identified in the step 1) to obtain a transfer function of the object to be identified; and analyzing the dynamic characteristics of the object according to the obtained transfer function, and optimizing the control strategy of the object to be identified.
According to the steps, the implementation of the dual-controller closed-loop system identification method based on the ramp response can be completed.
Example 2
The embodiment provides a dual-controller closed-loop system identification method based on slope response for a second-order inertia plus pure delay object to be identified, which comprises the following steps:
1) describing an object to be identified by adopting a transfer function of second-order inertia plus pure delay, wherein the mathematical expression of the object to be identified is as follows:
wherein G(s) is a transfer function of the object, and s and τ areDifferential operator and known delay time constant of object to be identified, a1、a2 and a3The parameter to be identified is the object to be identified; the delay time constant of the object to be identified is generally more than or equal to 0 and less than or equal to 100.
2) Extracting a set value sequence set R of a closed-loop system consisting of an object to be identified, two feedback controllers and a feedforward controller in the same time period before and after the slope change of the set value0And output sequence set Y0The data length is n, and the sampling period is delta T; set value sequence set R0And output sequence set Y0The form of (A) is as follows:
R0=[r0(1),…,r0(i),…,r0(n)]
Y0=[y0(1),…,y0(i),…,y0(n)];
wherein i represents the position of the data in the sequence set, and i is more than or equal to 1 and less than or equal to n; r is0(1)、r0(i) and r0(n) the first data, the ith data and the nth data of the set value sequence set respectively; y is0(1)、y0(i) and y0(n) the first data, the ith data and the nth data of the output sequence set respectively; (ii) a The extracted data length is generally 400-n.100000, and the sampling period of a typical industrial process is generally 0.01 s.DELTA.T.ltoreq.10 s.
3) The steady state value of the closed loop system before the set value is changed in a slope is rssSetting value sequence set R extracted in step 2)0And output sequence set Y0Subtracting a steady state value r from each of the datassRespectively obtaining a first-level sequence set R of a set value1And outputting the first level sequence set Y1;
Set value first order sequence set R1And outputting the first level sequence set Y1Each of the data can be calculated by:
r1(1)=r0(1)-rss
r1(i)=r0(i)-rss
r1(n)=r0(n)-rss
y1(1)=y0(1)-rss
y1(i)=y0(i)-rss
y1(n)=y0(n)-rss;
wherein ,r1(1)、r1(i) and r1(n) first-level sequence sets R respectively being set values1The first data, the ith data and the nth data of (a); y is1(1)、y1(i) and y1(n) respectively output first level sequence set Y1The first data, the ith data and the nth data of (a); the steady state value of the closed loop system at the beginning stage of data extraction is determined according to the actual physical quantity, and is generally equal to or more than 0.01 and less than rss≤1000;
Set value first order sequence set R1And outputting the first level sequence set Y1In the form of:
R1=[r1(1),…,r1(i),…,r1(n)]
Y1=[y1(1),…,y1(i),…,y1(n)]。
4) the amplitude value of the slope response of the set value of the closed loop system is l, the slope is gamma, and the maximum integer not exceeding tau/delta T is defined asThe maximum integer not exceeding (τ + l γ)/Δ T is ξ; for the set value obtained in the step 3), a first-level sequence set R is obtained1The data in the sequence table is subjected to algebraic transformation to obtain a set value second-level sequence set R11、R21、R31、R41 and R51The data of (1); set value second level sequence set R11、R21、R31、R41 and R51The data length of the medium data is n; generally comprisesL is more than or equal to 1 and less than or equal to 1000, gamma is more than or equal to 0.001 and less than or equal to 10000, and xi is more than or equal to 1 and less than or equal to 1000;
set value second level sequence set R11、R21、R31、R41 and R51The mathematical calculation of the data in (1) is as follows:
wherein ,r11(i)、r21(i)、r31(i)、r41(i) and r51(i) Set value second level sequence set R11、R21、R31、R41 and R51The ith data in (1); set value second level sequence set R11、R21、R31、R41 and R51In the form of:
R11=[r11(1),…,r11(i),…,r11(n)]
R21=[r21(1),…,r21(i),…,r21(n)]
R31=[r31(1),…,r31(i),…,r31(n)]
R41=[r41(1),…,r41(i),…,r41(n)]
R51=[r51(1),…,r51(i),…,r51(n)]。
5) for the output primary sequence set Y obtained in the step 3)1The data in (2) is calculated to obtain an output second-level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The data of (1); second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The data length of the medium data is n;
outputting a second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The data in (1) can be obtained by the following formula:
wherein j is the position of the data in the sequence set which exceeds i, and j is more than or equal to 1 and less than or equal to i; y is10(i)、y20(i)、y11(i)、y21(i)、y31(i)、y41(i) and y51(i) Respectively, outputting a second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The ith data in (1); outputting a second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51In the form of:
Y10=[y10(1),…,y10(i),…,y10(n)]
Y20=[y20(1),…,y20(i),…,y20(n)]
Y11=[y11(1),…,y11(i),…,y11(n)]
Y21=[y21(1),…,y21(i),…,y21(n)]
Y31=[y31(1),…,y31(i),…,y31(n)]
Y41=[y41(1),…,y41(i),…,y41(n)]
Y51=[y51(1),…,y51(i),…,y51(n)]。
6) two series feedback controllers in the closed loop system are respectively Gc1(s) and Gc2(s), feedback controller Gc1(s) and Gc2The mathematical expressions of(s) are respectively as follows:
wherein ,kp1、ki1 and kd1Is reversedFeed controller Gc1(s) known parameters, respectively Gc1(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient; wherein k isp2、ki2 and kd2Is a feedback controller Gc2(s) known parameters, respectively Gc2(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient; feedback controller Gc1The parameter(s) is generally-105≤kp1≤105、-105≤ki1≤105 and -105≤kd1≤105(ii) a Feedback controller Gc2The parameter(s) is generally-105≤kp2≤105、-105≤ki2≤105 and -105≤kd2≤105;
For the set value obtained in the step 4), a second-level sequence set R is obtained11、R21、R31、R41 and R51The data in (5) and the output second level sequence set Y obtained in step 5)10、Y20、Y11、Y21、Y31、Y41 and Y51In combination with a feedback controller Gc1(s) and Gc2Parameters in(s) are subjected to algebraic transformation to obtain a sequence set theta1、θ2 and θ3The data of (1);
sequence set theta1、θ2 and θ3The mathematical calculation of the data in (1) is as follows:
θ1(i)=kd1kd2r11(i)+(kp1kd2+kd1kp2)r21(i)+(kp1kp2+ki1kd2+kd1ki2)r31(i)+(kp1ki2+ki1kp2)r41(i)+ki1ki2r51(i)-kd1kd2y11(i)-(kp1kd2+kd1kp2)y21(i)-(kp1kp2+ki1kd2+kd1ki2)y31(i)-(kp1ki2+ki1kp2)y41(i)-ki1ki2y51(i)
θ2(i)=-y10(i)
θ3(i)=-y20(i);
wherein ,θ1(i)、θ2(i) and θ3(i) Are respectively a sequence set theta1、θ2 and θ3The ith data in (1); sequence set theta1、θ2 and θ3In the form of:
θ1=[θ1(1),…,θ1(i),…,θ1(n)]
θ2=[θ2(1),…,θ2(i),…,θ2(n)]
θ3=[θ3(1),…,θ3(i),…,θ3(n)]。
7) the sequence set theta obtained in the step 6) is added1、θ2 and θ3Transforming to obtain a sequence set theta; the mathematical calculation of the sequence set θ is as follows:
wherein ,andrespectively a sequence set theta1Transposed, sequence set θ of2Transposed and sequence set θ of3The transposing of (1).
8) Parameter a to be identified of object to be identified1、a2 and a3Composed parameter vectorThe output first-level sequence set Y obtained by the step 3)1And the sequence obtained in step 7)Calculating a column set theta;
coefficient a to be identified of object to be identified1、a2 and a3Composed parameter vectorParameter vectorThe form of (A) is as follows:
wherein ,θT and Y1 TAre respectively parameter vectorsTranspose of (2), transpose of sequence set θ, and output first level sequence set Y1Transpose of (θ)Tθ)-1Is thetaTMatrix inversion of θ.
9) Completing the steps 1) -8) can complete a feedforward-considered series controller closed-loop system identification method, which can identify the parameter a to be identified of the object to be identified1、a2 and a3Combining the known delay time constant tau of the object to be identified in the step 1) to obtain a transfer function of the object to be identified; and analyzing the dynamic characteristics of the object according to the obtained transfer function, and optimizing the control strategy of the object to be identified.
According to the steps, the implementation of the dual-controller closed-loop system identification method based on the slope response aiming at the second-order inertia plus the pure delay to-be-identified object can be completed.
Example 3
The technical superiority of the invention is illustrated by simulation:
1) describing an object to be identified by adopting a transfer function of first-order inertia plus pure delay, wherein the mathematical expression of the object to be identified is as follows:
wherein G(s) is a transfer function of the object, s and tau are respectively a differential operator and a delay time constant known by the object to be identified, a1 and a2The parameter to be identified is the object to be identified; in the embodiment, the delay time constant of the object to be recognized is τ 6.
2) Extracting a set value sequence set R of a closed-loop system consisting of an object to be identified, two feedback controllers and a feedforward controller in the same time period before and after the slope change of the set value0And output sequence set Y0The data length is n +1, and the sampling period is delta T; set value sequence set R0And output sequence set Y0The form of (A) is as follows:
R0=[r0(1),…,r0(i),…,r0(n+1)]
Y0=[y0(1),…,y0(i),…,y0(n+1)];
wherein i represents the position of the data in the sequence set, and i is more than or equal to 1 and less than or equal to n + 1; r is0(1)、r0(i) and r0(n +1) are the first data, the ith data and the (n +1) th data of the set value sequence set respectively; y is0(1)、y0(i) and y0(n +1) are the first data, the ith data and the (n +1) th data of the output sequence set respectively; the data length extracted in this embodiment is n-4000, and the sampling period in this embodiment is Δ T-1 s.
3) The steady state value of the closed loop system before the set value is changed in a slope is rssSetting value sequence set R extracted in step 2)0And output sequence set Y0Subtracting a steady state value r from each of the datassRespectively obtaining a first-level sequence set R of a set value1And outputting the first level sequence set Y1;
Set value first order sequence set R1And outputting the first level sequence set Y1Each of the data can be calculated by:
r1(1)=r0(1)-rss
r1(i)=r0(i)-rss
r1(n+1)=r0(n+1)-rss
y1(1)=y0(1)-rss
y1(i)=y0(i)-rss
y1(n+1)=y0(n+1)-rss;
wherein ,r1(1)、r1(i) and r1(n +1) are respectively set values of a first-level sequence set R1The first data, the ith data, and the n +1 th data; y is1(1)、y1(i) and y1(n +1) are respectively output first-stage sequence sets Y1The first data, the ith data, and the n +1 th data; in this embodiment, the steady state value of the closed loop system before the set value slope response is rss=0;
Set value first order sequence set R1And outputting the first level sequence set Y1In the form of:
R1=[r1(1),…,r1(i),…,r1(n+1)]
Y1=[y1(1),…,y1(i),…,y1(n+1)]。
4) the amplitude value of the slope response of the set value of the closed loop system is l, the slope is gamma, and the maximum integer not exceeding tau/delta T is defined asNot exceeding (tau + l/gamma)/delta TThe maximum integer is xi; for the set value obtained in the step 3), a first-level sequence set R is obtained1The data in the sequence table is subjected to algebraic transformation to obtain a set value second-level sequence set R01、R11、R21、R31 and R41The data of (1); set value second level sequence set R01、R11、R21、R31 and R41Data length n in the present embodiment is 3000; in this embodiment, the maximum integer not exceeding τ/Δ T isl ═ 5, γ ═ 0.005, and ξ ═ 1006;
set value second level sequence set R01、R11、R21、R31 and R41The mathematical calculation of the data in (1) is as follows:
wherein ,r01(i)、r11(i)、r21(i)、r31(i) and r41(i) Set value second level sequence set R01、R11、R21、R31 and R41The ith data in (1); set valueSecond level sequence set R01、R11、R21、R31 and R41In the form of:
R01=[r01(1),…,r01(i),…,r01(n)]
R11=[r11(1),…,r11(i),…,r11(n)]
R21=[r21(1),…,r21(i),…,r21(n)]
R31=[r31(1),…,r31(i),…,r31(n)]
R41=[r41(1),…,r41(i),…,r41(n)]。
5) for the output primary sequence set Y obtained in the step 3)1The data in (2) is calculated to obtain an output second-level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data of (1); second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data length of the medium data is n;
outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data can be obtained as follows:
wherein j is the position of the data in the sequence set which exceeds i, and j is more than or equal to 1 and less than or equal to i; y is01(i)、y10(i)、y11(i)、y21(i)、y31(i) and y41(i) Respectively, outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The ith data in (1); outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41In the form of:
Y01=[y01(1),…,y01(i),…,y01(n)]
Y10=[y10(1),…,y10(i),…,y10(n)]
Y11=[y11(1),…,y11(i),…,y11(n)]
Y21=[y21(1),…,y21(i),…,y21(n)]
Y31=[y31(1),…,y31(i),…,y31(n)]
Y41=[y41(1),…,y41(i),…,y41(n)]。
6) two series feedback controllers in the closed loop system are respectively Gc1(s) and Gc2(s), feedback controller Gc1(s) and Gc2The mathematical expressions of(s) are respectively as follows:
wherein ,kp1、ki1 and kd1Is a feedback controller Gc1(s) known parameters, respectively Gc1(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient; wherein k isp2、ki2 and kd2Is a feedback controller Gc2(s) known parameters, respectively Gc2(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient; in this example kp1=0.03、ki10.015 and kd1=0;kp2=1、ki20.001 and kd2=0;
For the set value obtained in the step 4), a second-level sequence set R is obtained01、R11、R21、R31 and R41The data and the output second level sequence set Y obtained in the step 5)01、Y10、Y11、Y21、Y31 and Y41In combination with a feedback controller Gc1(s) and Gc2Parameters in(s) are subjected to algebraic transformation to obtain a sequence set theta1 and θ2The data of (1);
sequence set theta1 and θ2The mathematical calculation of the data in (1) is as follows:
θ1(i)=kd1kd2r01(i)+(kp1kd2+kd1kp2)r11(i)+(kp1kp2+ki1kd2+kd1ki2)r21(i)+(kp1ki2+ki1kp2)r31(i)+ki1ki2r41(i)-kd1kd2y01(i)-(kp1kd2+kd1kp2)y11(i)-(kp1kp2+ki1kd2+kd1ki2)y21(i)-(kp1ki2+ki1kp2)y31(i)-ki1ki2y41(i)
θ2(i)=-y10(i);
wherein ,θ1(i) and θ2(i) Are respectively a sequence set theta1 and θ2The ith data in (1); sequence set theta1 and θ2In the form of:
θ1=[θ1(1),…,θ1(i),…,θ1(n)]
θ2=[θ2(1),…,θ2(i),…,θ2(n)]。
7) the sequence set theta obtained in the step 6) is added1 and θ2Transforming to obtain a sequence set theta; the mathematical calculation of the sequence set θ is as follows:
wherein ,andrespectively a sequence set theta1Transposed and sequence set θ of2The transposing of (1).
8) Parameter a to be identified of object to be identified1 and a2Composed parameter vectorThe output first-level sequence set Y obtained by the step 3)1And calculating the sequence set theta obtained in the step 7);
coefficient a to be identified of object to be identified1 and a2Composed parameter vectorParameter vectorThe form of (A) is as follows:
wherein ,θT and Y1 TAre respectively parameter vectorsTranspose of (2), transpose of sequence set θ, and output first level sequence set Y1Transpose of (θ)Tθ)-1Is thetaTMatrix inversion of theta; in this example a10.0417 and a2=0.0333。
9) Completing the steps 1) -8) can complete a feedforward-considered series controller closed-loop system identification method, which can identify the parameter a to be identified of the object to be identified1 and a2Combining the known delay time constant tau of the object to be identified in the step 1) to obtain a transfer function of the object to be identified; the dynamic characteristics of the object can be analyzed according to the obtained transfer function, and the control strategy of the object to be identified is optimized; in this embodiment, the transfer function of the object to be recognized is
Fig. 2 shows the trend of the set value sequence set, the output sequence set, and the output sequence set of the identification model in the embodiment, the dotted line shows the trend of the set value sequence set, the dotted line shows the trend of the output sequence set, and the solid line shows the output trend of the identification model in the embodiment under the excitation of the first set of the set value in the closed loop structure of fig. 1. The identified model can keep consistent with the trend of the output sequence set according to the trend result, and the dynamic characteristic of the closed-loop system can be well reflected. The effectiveness of the method provided by the invention is demonstrated, and the model identified based on the method can provide a model basis for further controller design, control optimization and advanced control method implementation, and has strong practicability and wide industrial application prospect.
Example 4
The embodiment provides a dual-controller closed-loop system, which comprises two feedback controllers and an object to be identified, wherein the two feedback controllers and the object to be identified are sequentially connected in series, and the identification method of the object to be identified of the dual-controller closed-loop system adopts the dual-controller closed-loop system identification method based on slope response.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described device/terminal embodiments are merely illustrative, and for example, the division of the above-described modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated module may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form.
The computer readable medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signal, telecommunications signal, software distribution medium, and the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (3)
1. A dual-controller closed-loop system identification method based on slope response is characterized by comprising the following steps:
1) describing an object to be identified by adopting a transfer function of first-order inertia plus pure delay, wherein the mathematical expression of the object to be identified is as follows:
wherein G(s) is a transfer function of the object, s and tau are respectively a differential operator and a delay time constant known by the object to be identified, a1 and a2The parameter to be identified is the object to be identified;
2) extracting a set value sequence set R of a closed-loop system consisting of an object to be identified, two feedback controllers and a feedforward controller in the same time period before and after the slope change of the set value0And output sequence set Y0The data length is n +1, and the sampling period is delta T; set value sequence set R0And output sequence set Y0The form of (A) is as follows:
R0=[r0(1),…,r0(i),…,r0(n+1)]
Y0=[y0(1),…,y0(i),…,y0(n+1)];
wherein i represents the position of the data in the sequence set, and i is more than or equal to 1 and less than or equal to n + 1; r is0(1)、r0(i) and r0(n +1) are the first data, the ith data and the (n +1) th data of the set value sequence set respectively; y is0(1)、y0(i) and y0(n +1) are the first data, the ith data and the (n +1) th data of the output sequence set respectively;
3) the steady state value of the closed loop system before the set value is changed in a slope is rssSetting value sequence set R extracted in step 2)0And output sequence set Y0Subtracting a steady state value r from each of the datassRespectively obtaining a first-level sequence set R of a set value1And outputting the first level sequence set Y1;
Set value first order sequence set R1And outputting the first level sequence set Y1Each calculated by the following formula:
r1(1)=r0(1)-rss
r1(i)=r0(i)-rss
r1(n+1)=r0(n+1)-rss
y1(1)=y0(1)-rss
y1(i)=y0(i)-rss
y1(n+1)=y0(n+1)-rss;
wherein ,r1(1)、r1(i) and r1(n +1) are respectively set values of a first-level sequence set R1The first data, the ith data, and the n +1 th data; y is1(1)、y1(i) and y1(n +1) are respectively output first-stage sequence sets Y1The first data, the ith data, and the n +1 th data;
set value first order sequence set R1And outputting the first level sequence set Y1In the form of:
R1=[r1(1),…,r1(i),…,r1(n+1)];Y1=[y1(1),…,y1(i),…,y1(n+1)];
4) the amplitude value of the slope response of the set value of the closed loop system is l, the slope is gamma, and the maximum integer not exceeding tau/delta T is defined asThe maximum integer not exceeding (tau + l/gamma)/delta T is xi;
for the set value obtained in the step 3), a first-level sequence set R is obtained1The data in the sequence table is subjected to algebraic transformation to obtain a set value second-level sequence set R01、R11、R21、R31 and R41The data of (1); set value second level sequence set R01、R11、R21、R31 and R41The data length of the medium data is n;
set value second level sequence set R01、R11、R21、R31 and R41The mathematical calculation of the data in (1) is as follows:
wherein ,r01(i)、r11(i)、r21(i)、r31(i) and r41(i) Set value second level sequence set R01、R11、R21、R31 and R41The ith data in (1); set value second level sequence set R01、R11、R21、R31 and R41In the form of:
R01=[r01(1),…,r01(i),…,r01(n)]
R11=[r11(1),…,r11(i),…,r11(n)]
R21=[r21(1),…,r21(i),…,r21(n)]
R31=[r31(1),…,r31(i),…,r31(n)]
R41=[r41(1),…,r41(i),…,r41(n)];
5) for the output primary sequence set Y obtained in the step 3)1The data in (2) is calculated to obtain an output second-level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data of (1); second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data length of the medium data is n;
outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The data in (1) are obtained by the following formula:
wherein j is the position of the data in the sequence set which exceeds i, and j is more than or equal to 1 and less than or equal to i; y is01(i)、y10(i)、y11(i)、y21(i)、y31(i) and y41(i) Respectively, outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41The ith data in (1); outputting a second level sequence set Y01、Y10、Y11、Y21、Y31 and Y41In the form of:
Y01=[y01(1),…,y01(i),…,y01(n)]
Y10=[y10(1),…,y10(i),…,y10(n)]
Y11=[y11(1),…,y11(i),…,y11(n)]
Y21=[y21(1),…,y21(i),…,y21(n)]
Y31=[y31(1),…,y31(i),…,y31(n)]
Y41=[y41(1),…,y41(i),…,y41(n)];
6) two series feedback controllers in the closed loop system are respectively Gc1(s) and Gc2(s), feedback controller Gc1(s) and Gc2The mathematical expressions of(s) are respectively as follows:
wherein ,kp1、ki1 and kd1Is a feedback controller Gc1(s) known parameters, respectively Gc1Proportional gain coefficient and integral of(s)A gain factor and a differential gain factor; wherein k isp2、ki2 and kd2Is a feedback controller Gc2(s) known parameters, respectively Gc2(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient;
for the set value obtained in the step 4), a second-level sequence set R is obtained01、R11、R21、R31 and R41The data in (5) and the output second level sequence set Y obtained in step 5)01、Y10、Y11、Y21、Y31 and Y41In combination with a feedback controller Gc1(s) and Gc2Parameters in(s) are subjected to algebraic transformation to obtain a sequence set theta1 and θ2The data of (1);
sequence set theta1 and θ2The mathematical calculation of the data in (1) is as follows:
θ1(i)=kd1kd2r01(i)+(kp1kd2+kd1kp2)r11(i)+(kp1kp2+ki1kd2+kd1ki2)r21(i)+(kp1ki2+ki1kp2)r31(i)+ki1ki2r41(i)-kd1kd2y01(i)-(kp1kd2+kd1kp2)y11(i)-(kp1kp2+ki1kd2+kd1ki2)y21(i)-(kp1ki2+ki1kp2)y31(i)-ki1ki2y41(i)
θ2(i)=-y10(i);
wherein ,θ1(i) and θ2(i) Are respectively a sequence set theta1 and θ2The ith data in (1); sequence set theta1 and θ2In the form of:
θ1=[θ1(1),…,θ1(i),…,θ1(n)]
θ2=[θ2(1),…,θ2(i),…,θ2(n)];
7) the sequence set theta obtained in the step 6) is added1 and θ2Transforming to obtain a sequence set theta; the mathematical calculation of the sequence set θ is as follows:
8) parameter a to be identified of object to be identified1 and a2Composed parameter vectorOutputting the first-level sequence set Y obtained by the step 3)1And calculating the sequence set theta obtained in the step 7);
coefficient a to be identified of object to be identified1 and a2Composed parameter vectorParameter vectorThe form of (A) is as follows:
wherein ,θTandare respectively parameter vectorsTranspose of (2), transpose of sequence set θ, and output first level sequence set Y1Transpose of (θ)Tθ)-1Is thetaTMatrix inversion of theta;
thereby identifying the parameter a to be identified of the object to be identified1 and a2And obtaining a transfer function of the object to be identified and optimizing a control strategy of the object to be identified.
2. A dual-controller closed-loop system identification method based on slope response is characterized in that the method aims at a second-order inertia plus pure delay object to be identified, and comprises the following steps:
1) describing an object to be identified by adopting a transfer function of second-order inertia plus pure delay, wherein the mathematical expression of the object to be identified is as follows:
wherein G(s) is a transfer function of the object, s and tau are respectively a differential operator and a delay time constant known by the object to be identified, a1、a2 and a3The parameter to be identified is the object to be identified;
2) the extraction is composed of an object to be identified, two feedback controllers and a feedforward controllerThe closed loop system composed of the devices has a set value sequence set R in the same time period before and after the set value is changed in a slope mode0And output sequence set Y0The data length is n, and the sampling period is delta T; set value sequence set R0And output sequence set Y0The form of (A) is as follows:
R0=[r0(1),…,r0(i),…,r0(n)]
Y0=[y0(1),…,y0(i),…,y0(n)];
wherein i represents the position of the data in the sequence set, and i is more than or equal to 1 and less than or equal to n; r is0(1)、r0(i) and r0(n) the first data, the ith data and the nth data of the set value sequence set respectively; y is0(1)、y0(i) and y0(n) the first data, the ith data and the nth data of the output sequence set respectively;
3) the steady state value of the closed loop system before the set value is changed in a slope is rssSetting value sequence set R extracted in step 2)0And output sequence set Y0Subtracting a steady state value r from each of the datassRespectively obtaining a first-level sequence set R of a set value1And outputting the first level sequence set Y1;
Set value first order sequence set R1And outputting the first level sequence set Y1Each calculated by the following formula:
r1(1)=r0(1)-rss
r1(i)=r0(i)-rss
r1(n)=r0(n)-rss
y1(1)=y0(1)-rss
y1(i)=y0(i)-rss
y1(n)=y0(n)-rss
wherein ,r1(1)、r1(i) and r1(n) first-level sequence sets R respectively being set values1The first data, the ith data and the nth data of (a);y1(1)、y1(i) and y1(n) respectively output first level sequence set Y1The first data, the ith data and the nth data of (a);
set value first order sequence set R1And outputting the first level sequence set Y1In the form of:
R1=[r1(1),…,r1(i),…,r1(n)]
Y1=[y1(1),…,y1(i),…,y1(n)];
4) the amplitude value of the slope response of the set value of the closed loop system is l, the slope is gamma, and the maximum integer not exceeding tau/delta T is defined asThe maximum integer not exceeding (tau + l/gamma)/delta T is xi; for the set value obtained in the step 3), a first-level sequence set R is obtained1The data in the sequence table is subjected to algebraic transformation to obtain a set value second-level sequence set R11、R21、R31、R41 and R51The data of (1); set value second level sequence set R11、R21、R31、R41 and R51The data length of the medium data is n;
set value second level sequence set R11、R21、R31、R41 and R51The mathematical calculation of the data in (1) is as follows:
wherein ,r11(i)、r21(i)、r31(i)、r41(i) and r51(i) Set value second level sequence set R11、R21、R31、R41 and R51The ith data in (1); set value second level sequence set R11、R21、R31、R41 and R51In the form of:
R11=[r11(1),…,r11(i),…,r11(n)]
R21=[r21(1),…,r21(i),…,r21(n)]
R31=[r31(1),…,r31(i),…,r31(n)]
R41=[r41(1),…,r41(i),…,r41(n)]
R51=[r51(1),…,r51(i),…,r51(n)];
5) for the output primary sequence set Y obtained in the step 3)1The data in (2) is calculated to obtain an output second-level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The data of (1); second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The data length of the medium data is n;
outputting a second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The data in (1) are obtained by the following formula:
wherein j is the position of the data in the sequence set which exceeds i, and j is more than or equal to 1 and less than or equal to i; y is10(i)、y20(i)、y11(i)、y21(i)、y31(i)、y41(i) and y51(i) Respectively, outputting a second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51The ith data in (1); outputting a second level sequence set Y10、Y20、Y11、Y21、Y31、Y41 and Y51In the form of:
Y10=[y10(1),…,y10(i),…,y10(n)]
Y20=[y20(1),…,y20(i),…,y20(n)]
Y11=[y11(1),…,y11(i),…,y11(n)]
Y21=[y21(1),…,y21(i),…,y21(n)]
Y31=[y31(1),…,y31(i),…,y31(n)]
Y41=[y41(1),…,y41(i),…,y41(n)]
Y51=[y51(1),…,y51(i),…,y51(n)];
6) two series feedback controllers in the closed loop system are respectively Gc1(s) and Gc2(s), feedback controller Gc1(s) and Gc2The mathematical expressions of(s) are respectively as follows:
wherein ,kp1、ki1 and kd1Is a feedback controller Gc1(s) known parameters, respectively Gc1(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient; k is a radical ofp2、ki2 and kd2Is a feedback controller Gc2(s) known parameters, respectively Gc2(s) a proportional gain coefficient, an integral gain coefficient, and a differential gain coefficient;
for the set value obtained in the step 4), a second-level sequence set R is obtained11、R21、R31、R41 and R51The data in (5) and the output second level sequence set Y obtained in step 5)10、Y20、Y11、Y21、Y31、Y41 and Y51In combination with a feedback controller Gc1(s) and Gc2Parameters in(s) are subjected to algebraic transformation to obtain a sequence set theta1、θ2 and θ3The data of (1);
sequence set theta1、θ2 and θ3The mathematical calculation of the data in (1) is as follows:
θ1(i)=kd1kd2r11(i)+(kp1kd2+kd1kp2)r21(i)+(kp1kp2+ki1kd2+kd1ki2)r31(i)+(kp1ki2+ki1kp2)r41(i)+ki1ki2r51(i)-kd1kd2y11(i)-(kp1kd2+kd1kp2)y21(i)-(kp1kp2+ki1kd2+kd1ki2)y31(i)-(kp1ki2+ki1kp2)y41(i)-ki1ki2y51(i)
θ2(i)=-y10(i)
θ3(i)=-y20(i);
wherein ,θ1(i)、θ2(i) and θ3(i) Are respectively a sequence set theta1、θ2 and θ3The ith data in (1); sequence set theta1、θ2 and θ3In the form of:
θ1=[θ1(1),…,θ1(i),…,θ1(n)]
θ2=[θ2(1),…,θ2(i),…,θ2(n)]
θ3=[θ3(1),…,θ3(i),…,θ3(n)];
7) the sequence set theta obtained in the step 6) is added1、θ2 and θ3Transforming to obtain a sequence set theta; the mathematical calculation of the sequence set θ is as follows:
wherein ,andrespectively a sequence set theta1Transposed, sequence set θ of2Transposed and sequence set θ of3Transposing;
8) parameter a to be identified of object to be identified1、a2 and a3Composed parameter vectorOutputting the first-level sequence set Y obtained by the step 3)1And calculating the sequence set theta obtained in the step 7);
coefficient a to be identified of object to be identified1、a2 and a3Composed parameter vectorParameter vectorThe form of (A) is as follows:
wherein ,θT and Y1 TAre respectively parameter vectorsTranspose of (2), transpose of sequence set θ, and output first level sequence set Y1Transpose of (θ)Tθ)-1Is thetaTMatrix inversion of theta;
thereby identifying the parameter a to be identified of the object to be identified1、a2 and a3And obtaining a transfer function of the object to be identified and optimizing a control strategy of the object to be identified.
3. The utility model provides a dual controller closed loop system, includes two feedback controller and the object of waiting to discern that series connection in proper order which characterized in that: the identification method of the object to be identified of the dual-controller closed-loop system adopts the identification method of the dual-controller closed-loop system based on the slope response as claimed in claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111150993.7A CN113885322B (en) | 2021-09-29 | 2021-09-29 | Dual-controller closed-loop system identification method based on slope response |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111150993.7A CN113885322B (en) | 2021-09-29 | 2021-09-29 | Dual-controller closed-loop system identification method based on slope response |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113885322A true CN113885322A (en) | 2022-01-04 |
CN113885322B CN113885322B (en) | 2023-09-15 |
Family
ID=79007850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111150993.7A Active CN113885322B (en) | 2021-09-29 | 2021-09-29 | Dual-controller closed-loop system identification method based on slope response |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113885322B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114371624A (en) * | 2022-01-10 | 2022-04-19 | 润电能源科学技术有限公司 | Closed-loop identification method for water level of heater and related equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101131571A (en) * | 2007-08-15 | 2008-02-27 | 华北电力大学 | PID parameter setting method for monobloc generator group coordination and control system |
CN104635496A (en) * | 2015-02-10 | 2015-05-20 | 华中科技大学 | Parameter tuning method for PI (proportional integral) controller with series correction function |
JP2019168776A (en) * | 2018-03-22 | 2019-10-03 | 三菱重工業株式会社 | Parameter identification device and method and program thereof |
CN110850740A (en) * | 2019-11-21 | 2020-02-28 | 大连理工大学 | H-infinity control method of aircraft engine based on improved Smith predictor |
CN112099359A (en) * | 2020-09-25 | 2020-12-18 | 华电潍坊发电有限公司 | Closed loop system identification method based on slope response and known time lag |
CN112180801A (en) * | 2020-10-13 | 2021-01-05 | 郑州大学 | Control method of process control system |
CN112198789A (en) * | 2020-09-11 | 2021-01-08 | 匙慧(北京)科技有限公司 | Object recognition method in closed loop system, electronic device, and computer-readable storage medium |
-
2021
- 2021-09-29 CN CN202111150993.7A patent/CN113885322B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101131571A (en) * | 2007-08-15 | 2008-02-27 | 华北电力大学 | PID parameter setting method for monobloc generator group coordination and control system |
CN104635496A (en) * | 2015-02-10 | 2015-05-20 | 华中科技大学 | Parameter tuning method for PI (proportional integral) controller with series correction function |
JP2019168776A (en) * | 2018-03-22 | 2019-10-03 | 三菱重工業株式会社 | Parameter identification device and method and program thereof |
CN110850740A (en) * | 2019-11-21 | 2020-02-28 | 大连理工大学 | H-infinity control method of aircraft engine based on improved Smith predictor |
CN112198789A (en) * | 2020-09-11 | 2021-01-08 | 匙慧(北京)科技有限公司 | Object recognition method in closed loop system, electronic device, and computer-readable storage medium |
CN112099359A (en) * | 2020-09-25 | 2020-12-18 | 华电潍坊发电有限公司 | Closed loop system identification method based on slope response and known time lag |
CN112180801A (en) * | 2020-10-13 | 2021-01-05 | 郑州大学 | Control method of process control system |
Non-Patent Citations (3)
Title |
---|
唐小军;王道波;唐得志;李猛;: "虚拟参考反馈校正控制器参数的预测误差辨识", 华南理工大学学报(自然科学版), no. 05 * |
杨栋等: "基于斜坡响应的实用闭环系统辨识方法及其应用", 《广东电力》 * |
杨栋等: "基于斜坡响应的实用闭环系统辨识方法及其应用", 《广东电力》, vol. 34, no. 8, 31 August 2021 (2021-08-31), pages 120 - 124 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114371624A (en) * | 2022-01-10 | 2022-04-19 | 润电能源科学技术有限公司 | Closed-loop identification method for water level of heater and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113885322B (en) | 2023-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113050419B (en) | Closed loop system identification method based on slope response and known time lag and considering feedforward | |
CN113885322A (en) | Dual-controller closed-loop system identification method based on slope response | |
CN110490248B (en) | Power electronic converter fault diagnosis method, terminal equipment and storage medium | |
CN113867148B (en) | Series control closed loop system identification method based on step response and considering feedforward | |
CN112099359A (en) | Closed loop system identification method based on slope response and known time lag | |
CN114067157A (en) | Memristor-based neural network optimization method and device and memristor array | |
Bhambhani et al. | Optimal fractional order proportional integral controller for varying time-delay systems | |
CN109176519A (en) | A method of improving the Robot Visual Servoing control response time | |
Calvo-Ramon | Eigenstructure assignment by output feedback and residue analysis | |
Moore et al. | Algebraic $ H_infty $ Design of Higher-Order Iterative Learning Controllers | |
CN104423321B (en) | For identifying the position control of low-frequency disturbance | |
CN113985730A (en) | Closed-loop identification method of unstable object based on slope response | |
CN115079573A (en) | High-order expansion strong tracking filter of nonlinear system | |
CN107957680B (en) | Controller for batch reactor reaction process based on survival information potential | |
CN113885323A (en) | Unstable object closed-loop identification method based on step response and considering feedforward | |
EP4047603A1 (en) | Abnormality degree calculation system and abnormality degree calculation method | |
CN112149334B (en) | Creep constitutive parameter acquisition method based on inversion optimization algorithm | |
CN112346342B (en) | Single-network self-adaptive evaluation design method of non-affine dynamic system | |
Hakvoort | Worst-case system identification in l/sub 1: error bounds, optimal models and model reduction | |
Garg | Model order reduction and approximation analysis for control system design | |
CN113885325A (en) | Closed loop identification method of first-order inertia plus pure delay link based on step response | |
Oroski et al. | Identification of a magnetic levitator using NARX-OBF models and genetic algorithm | |
Negara et al. | Tuning of Fractional-Order PID Controller for Electro-Hydraulic Servo Valve System | |
Almutairi et al. | Optimal control design of large scale systems with uncertainty | |
CN114624994B (en) | Novel active disturbance rejection control method and system of high-order flexible linear system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |