ВЕСТНИК ТОМСКОГО ГОСУДАРСТВЕННОГО УНИВЕРСИТЕТА
2021 Управление, вычислительная техника и информатика № 57
UDK 62-50
DOI: 10.17223/19988605/57/10
A.I. Roiiban
THE SENSITIVITY COEFFICIENTS FOR DYNAMIC SYSTEMS DESCRIBED BY DIFFERENCE EQUATIONS WITH THE DISTRIBUTED MEMORY ON PHASE COORDINATES AND VARIABLE PARAMETERS
The variational method of calculation of sensitivity coefficients connecting first variation of quality functional with variations of variable and constant parameters for multivariate non-linear dynamic systems described by difference equations with the distributed memory on phase coordinates and variable parameters is developed. Sensitivity coefficients are components of sensitivity functional and they are before variations of variable and constant parameters. The base of calculation are the decision of object equations in the forward direction of discrete time and corresponding difference conjugate equations for Lagrange's multipliers in the opposite direction of discrete time. Keywords: variational method; sensitivity coefficient; difference equation; conjugate equation; Lagrange's multiplier.
For dynamic systems the problem of calculation of sensitivity coefficients (SC) is central at the analysis and syntheses of control laws, optimization, identification, stability [1-16]. The first-order sensitivity characteristics mostly are used. Later on we shall examine only SC of the first-order.
The sensitivity functional connects the first variation of quality functional with variations of variable and constant parameters and the SC are components of vector gradient from quality functional according to parameters.
Consider a vector output y(t) of dynamic object model under discrete time te [0,1,..., N +1] implicitly depending on vector constant parameters a and additive functional I(a) constructed on a basis of y(t) under t e [0,1,..., N +1] and on a basis of parameters a :
N+1
I(a) = J fo(y(t),a,t).
t =0
SC with respect to constant parameters a are called a gradient from I(a) on a: (dl(a)/da)T = VaI(a). SC are a coefficients of single-line relationship between the first variation of functional Sa I(a) and the variations a of constant parameters da :
5a I(a) = (VaI(a))T d a = d a= J da .
d a j=1 da, J
J J
The direct method of SC calculation inevitably requires a solution of cumbersome sensitivity equations to sensitivity functions W(t). For instance, for functional I(a) we have following SC vector (row vector):
dI( a) N+1r
I
da t=c
f (y(t), a, t) + df0 (y(t), a, t)
dy(t) da
W(t) is the matrix of single-line relationship of the first variation of dynamic model output with parameter variations: 5y(t) = W(t)da . For obtaining the matrix W(t) it is necessary to decide bulky system equations -sensitivity equations. The j-th column of matrix W (t) is made of the sensitivity functions cy(t)/ da j with respect to component a j of vector a . They satisfy a vector equation (if y is a vector) resulting from dynamic model (for y ) by derivation on a parameter a j .
For variable parameters such method essentially becomes complicated and practically is not applicable.
Application of the variation approach allows fundamentally to simplify process of calculation of SC concerning variable and constant parameters. To this problem it is devoted given paper for the dynamic systems described by difference equations with distributed memory on phase coordinates and variable parameters.
Variational method [6], ascending to Lagrange's, Hamilton's, Euler's memoirs, makes possible to simplify the process of determination of conjugate equations and formulas of account of SC. On the basis of this method it is an extension of quality functional by means of inclusion into it dynamic equations of object by means of Lagrange's multipliers and obtaining the first variation of extended functional on phase coordinates of object and on interesting parameters. Dynamic equations for Lagrange's multipliers are obtained due to set equal to a zero (in the first variation of extended functional) the functions before the variations of phase coordinates. Given simplification first variation of extended functional brings at presence in the right part only parameter variations, i.e. it is got the sensitivity functional according to concerning parameters.
In difference from other papers devoted to calculation of SC in given paper the generalized difference models are used. Thus variables and constant parameters enter into the right parts of difference equations of dynamic object, in an indicator of quality of system work, in the measuring device model and initial values of phase coordinates depend on constant parameters.
At the right part of the equations of object model there are also phase coordinates and variable parameters during the previous moments of time. Such discrete equations are similar numerical decisions of the integrated Volterra's equations.
It is proved that both methods to calculation of SC (either with use of Lagrange's functions or with use of sensitivity functions) yield the same result, but the first method it is essential more simple in the computing relation.
1. Problem statement
We suppose that the dynamic object is described by system of non-linear difference equations [13]
t
y(t +1) = ^K(i,y(s),S(s),a,s), t = 0,1,2, ..., N, y(0) = y0(a). (1)
s=0
Here: a(t), a are a vector-columns of interesting variable and constant parameters; y is a vector-column of phase coordinates; K (•), y0 (a) are known continuously differentiated limited vector-functions.
The quality of functioning of system it is characterised of functional
N
I (a, a) = X f0 (y(t), a(t), a, t)+f0 (y( N +1), a(N +1), a, N +1) (2)
t=0
depending on a(t) and a . The conditions for function f0 (•), I(•) are the same as for K(•). With use of a functional (2) the optimization problem (in the theory of optimal control) are named as the Bolts's problem. From it as the individual variants follow: Lagrange's problem (when there is only the first group of the summands) and Mayer's problem (when there is only the last summand - function from phase coordinates at a finishing point).
With the purpose of simplification of appropriate deductions with preservation of a generality in all transformations (1), (2) there are two vectors of parameters a(t), a . If in the equations (1), (2) parameters are different then it is possible formally to unit them in two vectors a(t), a , to use obtained outcomes and then to make appropriate simplifications, taking into account a structure of a vectors a(t), a .
Is shown also that the variation method without basic modifications allows to receive SC in relation to variable and constant parameters:
The sensitivity coefficients for dynamic .systems described by difference equations with the distributed memory
N+1
5/ (a, a) = Z
01(a,a)5a(t)+d/(a,a)5a .
t=0
sa(t )
ôa
VS(0/( a,a) =
dl(â, a) ôâj (t)
81 (à, a)
\T
Va/(â,a) =
<3/(â, a) <3a,
, i = 0,1, 2.....JV.JV + l,
<3/(ôc, a)
m 2 y
(3)
By obtaining of results the obvious designations:
K(t,s) = K(t,y(s),5(s),a,s), t = 0,1,2, ..., N; s = 0,1,2, ... t, (4)
fo (t) = fo (y(t), a(t), a, t), t = 0,1, 2, ..., N +1
are used.
The indexes t, s in functions K(t, y(s), a(s), a, s) and t in functions f0(y(t), a(t), a, t) also reflects not only obvious dependence on step number, but also that the kind of functions from a step to a step can change.
Let's receive the conjugate equations for calculation of Lagrange's multipliers and on the basis of them formulas for calculation of SC.
2. Conjugate equations
Complement a quality functional (2) by restrictions-equalities (1) by means of Lagrange's multipliers A(t), t = 0,1, 2,..., N +1 (column vectors) and get the extended functional
N
I =/(à,a) + Z A/(7 + 1)
-y(t +1) + Z K(t, 5)
(0)[-y(0) + yo(a)] =
t=o L s=o
= fo(N +1)- A,T(N +1)y(N +1) + Z [fo(t)-(t)y(t)] + Z Z (t + 1)K(t,5) + AT(0)yo(a) .
t=0 L J t=0 5=0
Functional (5) complies with I (a, a) when (1) is fulfilled. We consider equality
N t t= Ns=N
IIA(t,s) = A(s,t) .
(5)
(6)
N t _
For summand I I A (t + 1)K(t, s) in formulas (5) the equality (6) assumes the following form:
t=0 s=0
N t _ t=N s=N _
I IAT (t + 1)K(t, s) = I I A, (s +1)K(s, t) .
t=0 5=0
Extended functional becomes now:
0t
I = f0( N +1)( N +1) y( N +1) +
t=N
+ Z
0
T 5=N T
f0(t) — AT (t)y(t) + Z ^ (5 + 1)K(5, t)
(0)y0(a).
(7)
We calculate the first variation of extended functional, caused by a variation of phase coordinates, and also a variation of variables and constant parameters:
N+1 ar N+1 r\r r\r
5I = I— 5y(t) +1—5a(t) + — 5a. t? dy(t) t? 55(t) W 5a
The factors standing in the formula (8) before variations of phase coordinates look like:
5I
ôy( N +1)
= -XT ( N +1) + Ôf0( N +1), V ' ôy(N +1)'
(8)
(9)
T
t=0 5=0
0 t
dy{t) t ' dy(t) dy{t)
From equality to zero of these factors we receive the equations for Lagrange's multipliers:
Cfo( N +1)
r ( N +1) =
ôy( N +1)
(10)
^ (t )=IN ^ (s+1) Ksê.+ft),
() 7 ' ) dy(t) dy(t)'
t = N,N-1, ...,1,0.
These equations are decided in the opposite direction changes of an independent integer variable t.
3. Sensitivity coefficients
In the equation (6) SC concerning variables and constant parameters look like:
ôI f N +1 ) ôa(N +1 ) ôa(N +1 ) '
dl _5/0(0,^T/
dK(s,t)
■+ I r(s + l)-ôâ(i) ôâ(t) t ôà(t)
dI df0( N +1) t=n
ôa
ôa
+ 7
0
ôfo(t )
s= N
^ + (s + 1)
ôa t ôa
, t = N,N-\, ...,1,0 dK (s, t )
(0)
d a
This result is more common in relation to appropriate results of monograph [13] and paper [16]. At reception SC (11) it was used extended functional (7).
4. Equivalence of sensitivity coefficient for initial (2) and extended (5) functionals
(11)
We take extended functional, presented in an initial part of the formula (5):
N
I = I(à, a) + A1 (0)[-X0) + y0 (a)] + £ A1 (t +1)
t=o
- y(t +1) +7 K (t, s)
s=o
Before A (•) in square brackets there are the dynamic equations of the object which has been written down in the form of the equation of equality type. Hence, values of functions in square brackets are always equal to zero.
Let's calculate from both parts of the previous equation derivatives in the beginning on a vector of constant parameters a :
dy0(a)
dljl{ a,a)+?J(0) ôa ôa
-Wa (0) -
d a
N
+ 1 r (t +1)
t=0
-Wa (t +1) +7
s=0
t fôK(t,s)w(s) , dK(t,s)^
ôy (s )
ôa
Before AT (•) now there are sensitivity equations for a matrix of sensitivity functions. These equations are written down as in the form of restriction of equality type. Values of functions in square brackets also are always equal to zero.
Hence, SC rather both for initial functional and for its extended variant have identical values.
That the sensitivity equation had the specified appearance, it is necessary (1) to impose a condition of differentiability of K(t, s) on phase coordinates and on considered parameters on the right member of equation of movement of dynamic object (1). On parameters a should be differentiated initial functions y0 (a).
We receive the same result and for SC in relation to variable parameters. The sensitivity equations of for each fixed value of argument of variable parameters a(J), J = 0,1,...,N +1 have more complex form. They demand special consideration. Important that these sensitivity equations objectively exist.
The sensitivity coefficients for dynamic systems described by difference equations with the distributed memory
5. Example
Let's receive the conjugate equations and SC for dynamic object described by system of non-linear ordinary difference equations [16]:
x(t +1) = f (x(t), a(t), a, t), t = 0,1,..., N, x(0) = x0 (a) . (12)
The dynamic equation (12) coincides with the equation (1) in the absence of the distributed memory, i.e. at s = t. Then it is necessary to replace y(t) on x(t) and
K(t, t) = f (t) = f (x(t), a(t), a, t), t = 0, 1, ..., N,
f0(t) = f0(x(t),a(t),a,t), t = 0,1, 2, ..., N+1. The conjugate equations for Lagrange's multipliers look like:
(N +1) = f0( N +1)
Sx( N +1)
fo(t ) dx(t) dx(t) From (11) it is received SC:
SI =d/p( N +1) Sa(N +1) Sa(N +1) '
ôà(t) ôà(0 ôà(0
5/= s/o( N+1) | N
Sa Sa f=o
+*t (,+« m
Sa Sa
(o) dx^) d a
6. The account of the measuring device model
At additional use of model of the measuring device it is necessary to make changes to problem statement:
f (t) - f0 (n(t), a(t), a, t), t = 0,1, 2,..., N +1; ^(t) - y(t), a(t), a, t), t = 0, 1, 2, . , N +1. In the received results it is necessary to execute small replacements:
5f0(t) 5f0(t) 5n(t)
to replace on J0K' 'w ; 5y(t) F 5^(t) 5y(t)
ft) to replace on + &« ^Oiti;
5a(t) 5a(t) 5^(t) 5a(t)
f (t). , 5f0(t) , f0(t) 5n(t)
to replace on--1---.
5a 5a 5^(t) 5a
Conclusion
Variational method is applicability for calculation of SC of multivariate non-linear dynamic systems described by difference equations with the distributed memory on phase coordinates and variable parameters. Variables and constant parameters are present at object model, at model of the measuring device and at generalized quality functional for system (the Bolts's problem).
In a basis of calculation of SC the decision of the difference equations of object model in a forward direction of time and obtained difference equations for Lagrange's multipliers in the opposite direction of time. It is proved that both methods to calculation of SC (with use of Lagrange's functions or with use of sensitivity functions) yield the same result, but the first method it is essential more simple in the computing relation.
Results of present paper are applicable at design of high-precision systems and devices. This paper continues research in [13, 16].
It is possible generalization of the received results on the dynamic systems described by the difference equations, similar to the decision of ordinary integro-differential equations of Volterra's type. Such models include interconnected the ordinary difference equations and difference equations with the distributed memory in time on phase coordinates and variable parameters.
REFERENCES
1. Ostrovskij, G.M. & Volin, Yu.M. (1967) Methods of Optimization of Chemical Reactors. Moscow: Khimiya.
2. Rosenvasser, E.N. & Yusupov, R.M. (1969) Sensitivity of Automatic Control Systems. Leningrad: Energiya.
3. Krutyko P.D. (1969) The decision of a identification problem by a sensitivity theory method. News of Sciences Academy of the
USSR. Technical Cybernetics. 6. pp. 146-153.
4. Petrov, B.N. & Krutyko, P.D. (1970) Application of the sensitivity theory in automatic control problems. News of Sciences Academy
of the USSR. Technical Cybernetics. 2. pp. 202-212.
5. Gorodetsky, V.I., Zacharin, F.M., Rosenvasser, E.N. & Yusupov, R.M. (1971) Methods of Sensitivity Theory in Automatic Control.
Leningrad: Energiya. 344 p.
6. Bryson, A.E. & Ho, Ju-Chi. (1972) Applied Theory of Optimal Control. Moscow: Mir.
7. Speedy, C.B., Brown, R.F. & Goodwin, G.C. (1973) Control Theory: Identification and Optimal Control. Moscow: Mir.
8. Gekher, K. (1973) Theory of Sensitivity and Tolerances of Electronic Circuits. Moscow: Sovetskoe radio.
9. Rouban, A.I. (1975) Nonlinear Dynamic Objects Identification on the Base of Sensitivity Algorithm. Tomsk: Tomsk State University.
10. Rosenvasser, E.N. & Yusupov, R.M. (eds) (1977) Cybernetics Problems. Sensitivity Theory and its Application. Vol. 23. Moscow: Svyaz.
11. Voronov, A.A. (1979) Stability, Controllability, Observability. Moscow: Nauka.
12. Rosenvasser, E.N. & Yusupov, R.M. (1981) Sensitivity of Control Systems. Moscow: Nauka.
13. Rouban, A.I. (1982) Identification and Sensitivity of Complex Systems. Tomsk: Tomsk State University.
14. Haug, E.J., Choi, K.K. & Komkov, V. (1988) Design Sensitivity Analysis of Structural Systems. Moscow: Mir.
15. Afanasyev, V.N., Kolmanovskiy, V.B. & Nosov, V.R. (1998) The Mathematical Theory of Designing of Control Systems. Moscow: Vysshaya shkola.
16. Rouban, A.I. (2021) The sensitivity coefficients for multivariate dynamic systems described by ordinary difference equations with variable and constant parameters. Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitel'naya tekhnika i informatika - Tomsk State University Journal of Control and Computer Science. 55. pp. 65-70. DOI: 10.17223/19988605/55/8
Received: May 23, 2021
Rouban A.I. (2021) THE SENSITIVITY COEFFICIENTS FOR DYNAMIC SYSTEMS DESCRIBED BY DIFFERENCE EQUATIONS WITH THE DISTRIBUTED MEMORY ON PHASE COORDINATES AND VARIABLE PARAMETERS. Vestnik Tomskogo gosu-darstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika [Tomsk State University Journal of Control and Computer Science]. 57. pp. 95-100
DOI: 10.17223/19988605/57/10
Рубан А.И. КОЭФФИЦИЕНТЫ ЧУВСТВИТЕЛЬНОСТИ ДЛЯ ДИНАМИЧЕСКИХ СИСТЕМ, ОПИСЫВАЕМЫХ РАЗНОСТНЫМИ УРАВНЕНИЯМИ С РАСПРЕДЕЛЕННОЙ ПАМЯТЬЮ ПО ФАЗОВЫМ КООРДИНАТАМ И ПЕРЕМЕННЫМ ПАРАМЕТРАМ. Вестник Томского государственного университета. Управление, вычислительная техника и информатика. 2021. № 57. С. 95-100
Вариационный метод применен для расчета коэффициентов чувствительности, которые связывают первую вариацию функционала качества работы системы (функционала Больца) с вариациями переменных и постоянных параметров, для многомерных нелинейных динамических систем, описываемых разностными уравнениями с распределенной памятью по фазовым координатам и переменным параметрам.
Ключевые слова: вариационный метод; коэффициент чувствительности; разностное уравнение; функционал качества работы системы; сопряженное уравнение; множитель Лагранжа.
ROUBAN Anatoly Ivanovich (Doktor of Technical Sciences, Professor of Computer Science Department of Institute of Space and Information Technologies, Siberian Federal University, Krasnoyarsk, Russian Federation). E-mail: [email protected]