<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Journal of Physics: Conference
Series</journal-title>
      </journal-title-group>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.1016/j.neucom.2020.03.063</article-id>
      <title-group>
        <article-title>Controlling the Helicopters Turboshaft Engines Free Turbine Speed at Flight Modes</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Serhii Vladov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yurii Shmelov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ruslan Yakovliev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yurii Stushchanskyi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yurii Havryliuk</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Kremenchuk Flight College of Kharkiv National University of Internal Affairs</institution>
          ,
          <addr-line>Peremohy street, 17/6</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Kremenchuk</institution>
          ,
          <addr-line>Poltavska Oblast, Ukraine, 39605</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <volume>402</volume>
      <issue>1</issue>
      <fpage>0000</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>The work is devoted to the development of a method for controlling the main rotor speed, which is a key task to be solved in a helicopter flight. A modified block diagram of the circuit for maintaining the helicopters turboshaft engines free turbine speed an electronic PIDcontroller with a neural network tuning of the amplification factor has been developed, which made it possible to automatically adjust the amplification factor and, thereby, reduce the time of the transition process. The use of a dynamic neural network of direct data transmission based on neurons with a radial-basis activation function in the first layer and adalines - neurons with a linear activation function in the second layer is proposed, which made it possible to improve the quality of the transient process in terms of helicopters turboshaft engines turbine rotation frequency, which consists in an increase in performance up to 3 seconds, an increase in statistical accuracy up to ± 0.05 % and the elimination of parameter overshoot. The use of a dynamic neural network of direct data transmission as some functional converter that generates for a set of input and output signals the amplifications factors of the PID-controller made it possible to improve the probability of errors of the 1st and 2nd kind in comparison with the known controllers by 35... 85 %. Helicopters turboshaft engines, free turbine speed, neural network, training, PID-controller, MoMLeT+DS 2023: 5th International Workshop on Modern Machine Learning Technologies and Data Science, June 3, 2023, Lviv, Ukraine.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Helicopters
transient processes, amplification factor, error</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>
        The helicopters turboshaft engines (TE) are a complex thermogas-dynamic system with many
features that must be taken into account when designing an automatic control system (ACS). The ACS
of a modern aircraft engine performs many functions. These functions are distributed and carried out
by a digital controller and hydromechanical actuators. The digital controller performs the main part of
the engine control functions. Its main tasks are to control the TE operating modes, maintaining and/or
limiting its various parameters, diagnosing and monitoring the state of the TE and ACS elements, and
providing service and information functions. The task of the hydromechanical part of the ACS includes
the control of the engine mechanization by the commands of the digital controller and the control of the
operation of the gas turbine engine according to simplified laws in the event of an electronic system
failure [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
      </p>
      <p>The quality of control of TE parameters largely depends on the quality of tuning of electronic
algorithms. Often in electronic control systems of TE linear controllers of P-, PD-, PI- and PID-type
are used. Their popularity is explained by the simplicity of the mathematical description, low cost of
implementation and sufficient efficiency. However, as practice shows, within the framework of the
linear theory, it is not always possible to tune the PID-controller to ensure the required quality of</p>
      <p>
        2023 Copyright for this paper by its authors.
transients in a nonlinear system [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ], which are helicopters TE. Under these conditions, the use of
neural network technologies is relevant and promising.
      </p>
    </sec>
    <sec id="sec-3">
      <title>2. Related Works</title>
      <p>
        When controlling complex non-linear objects, such as a helicopters TE, such controllers cannot
always provide the required quality of control over TE parameters, stability and robustness of the system
under changing operating conditions and failures. In this case, it makes sense to use alternative
nonlinear controllers [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ]. For example, it can be a fuzzy logic controller (FLR), which has the
property of robustness [
        <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
        ]. Due to the absence of the need for a strict mathematical description of the
object, logic controllers have gained great popularity among developers of electronic systems [
        <xref ref-type="bibr" rid="ref9">9, 10</xref>
        ].
The fuzzy control law obtained as a result of synthesis is non-linear and works well in systems with a
high degree of complexity, non-linearities such as a dead zone, hysteresis, when the parameters of the
unchanging part of the system deviate from their nominal values and information is lost in case of
failures [11, 12]. It is worth noting that Elizaveta Chicherova conducted a number of alternative control
methods research that make it possible to increase the stability margins of gas turbine engines ACS and
eliminate oscillations using the following controllers: a linear PD controller with a reduced proportional
gain, a square-law controller, a variable gain controller, a proportional fuzzy logic controller, a fuzzy
logic controller with a proportional gain and a corrective differential link [13, 14], which made it
possible to ensure the aperiodic nature of the transient process, to achieve a statistical accuracy of
± 0.2 % and a speed of up to 6 seconds.
      </p>
      <p>However, when using these types of controllers, the overshoot value ranges from 0.1 to 2.2 %. In
order to eliminate overcasting, increase statistical accuracy and develop a method for controlling the
speed of the free turbine of helicopters TE using neural network technologies, this is an urgent scientific
and practical task.</p>
    </sec>
    <sec id="sec-4">
      <title>3. Methods and Materials</title>
      <p>The main task of the automatic control system of helicopters TE is to maintain the rotational speed
of the main rotor nнв. This task is accomplished by controlling the free turbine speed nFT through the
required fuel flow rate GT. The value of the required fuel consumption is formed from the gas generator
rotor r.p.m. nTC and its derivative nTC_req. Depending on the engine operating mode, the value of the
required derivative of the gas generator rotor r.p.m. is formed by various circuits. For example, in idle
mode, the value of nTC_req is determined by the circuit for maintaining the required speed of the
turbocharger rotor, and at flight mode, by the circuit for maintaining the free turbine speed. Since the
helicopter TE can be operated at flight mode for a significant part of the time, the choice of the structure
and parameters of the electronic controller determines the dynamic quality of helicopter TE control and
its resource.</p>
      <p>The mathematical model of the regulated object – the helicopter TE (in this work, the deviations of
the state variables are considered) according to [15] has the form:
 dnTC  nTC  k11GT ;</p>
      <p>1 dt
 dnFT  nFT  k21GT  k22nTC ;</p>
      <p>2 dt
where GT – fuel consumption, τ1 and τ2 – time constants, k11, k21, k22 – amplification factors.</p>
      <p>The analysis of the object of regulation – the helicopter TE according to [15] is presented in the form
of a series connection of dynamic links with transfer functions:</p>
      <p>WTC  nTC  k11 ;</p>
      <p>GT  1 p  1
WFT  nFT  1 k21    k22 .</p>
      <p>nTC  k22WTC   2 p 1 </p>
      <p>The mathematical model of the fuel dispenser with a direct drive from an electromechanical
converter according to [15, 16] after dry friction linearization is represented as:
(1)
(2)</p>
      <p>GT   kGT ;
where J – rotor inertia moment, α – rotor rotation angle, kv, ki, kG – coefficients of viscous friction,
T
torque and fuel consumption, i – control current.</p>
      <p>Thus, the transfer function of the fuel dispenser is presented in the following form [15]:
WFD  ki  kGT .</p>
      <p>p   J  p  kv 
For the internal fuel consumption control loop, a proportional-differential control law is adopted:
i
WPD </p>
      <p> kP  kD  p;</p>
      <p>GTgiven  GT
where GTgiven – fuel consumption setpoint, kP and kD – proportional and differential gains.</p>
      <p>According to [15, 17], to take into account the delay of the digital control unit, a link of pure delay
by 1.5·T is introduced, where T – sampling period in time:
(3)
k
 kP1  i ;</p>
      <p>p
 kP2;
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
at the same time, for the transfer function of a closed internal fuel consumption control loop, the
following expression is obtained:
where W0  Wdelay WPD WFD .</p>
      <p>According to [15], as a control law nFT, a proportional-integral control law with a transfer function
is adopted:</p>
      <p>WPI 
WP </p>
      <p>i</p>
      <p>GT _ set
nFT _ req  nFT
where nFT_reg – set value of the free turbine speed, kP1 and ki – gains of the proportional and integral
components.</p>
      <p>To exclude the sequential inclusion of two integral components for an additional internal control
loop nTC, a proportional control law is adopted:</p>
      <p>nTC _ set  nTC
where nTC_set – set value of the gas generator rotor r.p.m., kP2 – amplification factor.</p>
      <p>According to [15], the value of the gain is chosen from the condition of ensuring the required
accuracy of the implementation of the law dnTC  f U  in all modes of engine operation.</p>
      <p>dt</p>
      <p>The transfer function of the open control loop nFT with independent operation of the controller is
presented in the following form:</p>
      <p>W1  WPI WP WGT WTC WFT .</p>
      <p>Similarly, the open-loop transfer function nFT when operated in series with an nTC controller is:
Wdelay  e1.5 pT ;
WGT </p>
      <p>W0 ;
1  W0
W2  W1 W4;</p>
      <p>1
W4 
.
where</p>
      <p>1  WP WGT WTC</p>
      <p>In connection with the foregoing, an improved typical circuit for maintaining the free turbine speed
of helicopters TE with a linear PID controller is proposed (fig. 1).</p>
      <p>nFT_max+</p>
      <p>nFT
nFT
kp
.
nFT
kI
kd
+
+
+
.
nTC_req</p>
      <p>The error of the mismatch between the current and required value of the free turbine speed ΔnFT,
and the derivative of the current free turbine speed nFT , is fed to the loop input, and the output signal is
the value of the required derivative of the turbocharger rotor speed. The expression describing the circuit
for maintaining the free turbine speed with a linear PID-controller has the form:</p>
      <p>The gains of the proportional kp and differential kd links are determined from the equations:
nTC _ req  nFT  kp  nFT  kd .
k p  k nFT   kstat _ p  GT _ stat nTC   a13 nTC ;</p>
      <p>kd  kstat _ d  FT  nTC ;
where GT _ stat nTC  – characteristic of the static fuel consumption, a13 nTC  – coefficient of engine linear
dynamic model in terms of fuel consumption,  FT nTC  – time constant of the free turbine rotor.</p>
      <p>The coefficient is given by the following system of equations:

 nFT , if nFT  1;

k  nFT   1  nFT 1, if 1  nFT  3; (15)
 2
 2   nFT  4
 , if nFT  3;
 7</p>
      <p>The static coefficient of the proportional link is kstat_p = 0.35, while that of the differential link is
kstat_d = 0.05 [13, 14].</p>
      <p>Since the main task solved in the helicopter flight mode is to maintain the main rotor speed, it is
advisable to apply the neural network setting of the coefficients kp, ki and kd, which will eventually
allow dynamic maintenance of the main rotor speed.</p>
      <p>It is assumed that, in general, the circuit for maintaining the speed of the free turbine of the gas
turbine engine of helicopters with a linear electronic controller is described by the following equation:</p>
      <p>X  At  X  B t u  f t ; (16)
where х = (х1 ... хn)T – state vector of the system under the action of control u = (u1, u2, u3)T, – components
of which are constants under the constraints |ui| &lt; 1, i = 1, 2, 3. The elements of the matrices A(t), B(t)
and the vector f(t) will be considered real, continuous functions for t  [0, T], their dimensions are (n
× n), (n × 3) and (n × 1), respectively. The matrix B(t) is determined by a predetermined real and
 b1 t  </p>
      <p>
continuous at t  [0, T] vector b t    ...  in the form:
 bn t  </p>
      <p> t 
B t    b t ,  b   d ,b t  .</p>
      <p> 0 
(13)
(14)
(17)</p>
      <p>To obtain an equation describing the search for the coefficients kp, ki and kd, under which the quality
of the control system will be the best or will satisfy the specified requirements, the assumptions are
made that kp = const, ki = const and kd = const. It is assumed that the vector function b(t) satisfies the
inequality a et  bt   a2et for some positive λ and a1 &lt; a2. Then, due to the choice of control u,
1
it is necessary to achieve exponential stability of the original system. It is accepted that
t
bt   B1 t ;  b  d  B2 t ; b t   B3 t ; (18)</p>
      <p>0
where the vectors B1(t), B2(t), B3(t) make up the matrix B(t).</p>
      <p>Initially, the coefficients u, considered as control, are assumed to be constant. However, for further
research, a new control u t  is introduced, which will be a function of time, that is,
u  u t  x.</p>
      <p>In order for the program motion x t,u t  together with the control u t  to set the product constant
u t  x t,u t  , system (16) is represented as:</p>
      <p>Let be Z t,u  – matrix of the fundamental system of solutions corresponding to the homogeneous
system (20) for f t   0 . Then for Z t,u  will be fulfilled
(19)
(20)
(24)
(21)
in this case, Z 1 t,u  – inverse matrix Z t,u  .</p>
      <p>It follows that the general solution in the Cauchy form of system (21) with initial data х0 = х(0) will
be written in the form:
t
x t,u  Z t,u  x0  Z t,u   Z 1  ,u  f  d . (22)
0</p>
      <p>It should be noted that the choice of control is subject to restrictions caused by the operating
conditions of helicopters TE at flight mode. Therefore, it is necessary to take into account this possibility
and add admissibility conditions for the values of the coefficients:</p>
      <p>T 3 2
 ui t dt  ; (23)
0 i1
where φ – positive constant, T – length of the time interval on which the program control law will
operate in the form of fixed coefficients u t  . Let’s introduce the following functional:
J u   u t   x2 t,u ;
 3 
x   At    Bi t ui t   x  f t .</p>
      <p> i1 </p>
      <p> 3 
Z t,u    At    Bi t ui t   Z t,u ;</p>
      <p> i1 
where x t,u  – solution of the Cauchy task (22) determined by the functional law of coefficients u t 
during the time interval [0, T].</p>
      <p>Let us assume that there is an optimal control [18, 19] in the form u
0
 u10 t ,u2 t ,u3 t  that
0 0 T
gives the functional (24) the minimum possible value, while simultaneously fulfilling the condition:
T 3 2
 ui0 t  dt .</p>
      <p>0 i1
Then any other control from some local proximity to the optimal will have the form:
u  u0   u10 t   1 t ,u20 t   2 t ,u30 t   3 t T ;
(25)
(26)
and the admissibility condition must also be satisfied for it, but the inequality will necessarily be true:
for all sufficiently small ε. Then, taking into account the individual choice, a vector function ν(t) is
accepted that satisfies the requirement
and, therefore, under the admissibility condition for non-optimal control u  u
account the square under the integral sign in this condition,
  and taking into
we notice that
sign  sign  i t ui0 t  dt . From the need to minimize the functional J u0    for the value
T 3
0 i1
of the parameter ε = 0, the following inequalities will necessarily hold:
dJ T 3 0</p>
      <p> 0 for ε &gt; 0 or   i t ui t  dt  0;
ddJ 0T i31 0 (29)</p>
      <p> 0 for ε &lt; 0 or   i t ui t  dt  0.</p>
      <p>d 0 i1
It is assumed that the structure of the derivative of the functional J(u) has the form
0
dJ u0    T 3</p>
      <p>   i u0  i t  dt;
d 0 i1
where  i u0  – functions, but depending on the optimal control and on the right-hand sides of system (20).</p>
      <p>If we assume that u10 t   0 , but at the same time assume that the controls  2 t   3 t   0 and
J u0   J u0  </p>
      <p>T 3 0
  i t ui t  dt  0
0 i1
, then by direct substitution into (28)
where constants  i  0 T
 i2 t  dt
0
T 0
 ui t  i t  dt
, i = 1, 2, 3.
(27)
(28)
(30)
(33)
T 0
 1 t u1 t  dt
0
 1 t    u1 t   t  , where is a constant   0T
 u10 t  dt</p>
      <p>2
0</p>
      <p>T 0
we obtain that  u1 t  t  dt , that is, the function ω(t) will be orthogonal to u10 t  . Noting that for
0
each control of the form  1 t   u10 t    t  for any β, we find that any of the inequalities (29),
taking into account the choice of the structure in the form (30), for a sufficiently large modulo value of
the parameter β will be violated:</p>
      <p>T 3 T T T 0
  i t  i t dt   1 t  1 t  dt    1 t  t  dt   1 t u1 t  dt  0; (31)
0 i1 0 0 0
but it can only be done under one condition:</p>
      <p>T
 1 t  t  dt  0. (32)
0
The resulting expressions show that the function ψ1(t) is orthogonal to any function orthogonal to
0 0
u10 t  , that is, we can assume that  1  1  u1 t  . Similarly,  i   i  ui t  for some constants αi,
i = 1, 2, 3. Let us express the optimal control u</p>
      <p>0
u1 t   i  i t ;
0</p>
      <p>from these equations in the form
find the derivative of the functional</p>
      <p>d
solution formula in the Cauchy form, we first derive:
0 0 0
dZ T ,u
d
  </p>
      <p>dZ T ,u

dJ u0   </p>
      <p>0
   T
  Z 1 t,u
0
The resulting expression (33) is a consequence of relations (29) and, in essence, represent the
0 0 0
necessary conditions for the optimality of controls u1 t  , u2 t  , u3 t  on the time interval [0, T].</p>
      <p>Let us now formulate the general principle of actually finding the functions  i u0 t  , which
determine the method of software adjustment of the gains u
according to expression (33). Let us first
at ε = 0 and time t = T. To do this, using the general
0
   f t  dt  Z T ,u
0
   
dx T ,u</p>
      <p>  
d</p>
      <p>0</p>
      <p>T dZ 1 t,u

0</p>
      <p>T
 Z 1 t,u
0
d</p>
      <p>0
 x0Z T ,u
0
 x0
  
d
0
0
f t  dt  x0Z T ,u
0</p>
      <p>T
     Bi t  i t  dt  Z T ,u
0
0</p>
      <p>T 3
      Bi t  i t  dt 
0 i1
  f t  dt  Z T ,u
0</p>
      <p>T
    Z 1 t,u</p>
      <p>T
    Bi t  i t  dt  Z T ,u
0
0 t 3
  f t dt    Bi   i  d f t dt </p>
      <p>0 i1
   T 3 Bi t  i t dt  T Z 1 t,u0  f t dt 
0 i1 0
dJ u0  
d
 2x T ,u0  dx T ,u
d</p>
      <p> 
Z T ,u
0 T t 3  t
       Bi   i   d d   Z 1  ,u
0 0 i1  0</p>
      <p>0 T t 0
Z T ,u      Z  ,u</p>
      <p>0 0
Then, assuming the moment of time t = T, we find
0</p>
      <p>   f   d   x0Z T ,u
0  0</p>
      <p>
  f   d   Bi t  i t  dt.</p>
      <p>3
i1
 2   x0Z T ,u0   Z T ,u0  T Z 1 T ,u0  f t  dt  </p>
      <p> 0 </p>
      <p>It can be seen from (36) that the functions  i t,u0  depend on the index i only through the
corresponding function Bi(t). Thus, having determined the type of functions  i t,u0  through the
0
dependence on the optimal control u and the type of system (20), in the future, an algorithm for
programmatic adjustment of the gains and will be proposed, which will play the role of a “teacher”
T
     Bi t  i t  dt 
0
(34)
(35)
(36)</p>
    </sec>
    <sec id="sec-5">
      <title>4. Experiment</title>
      <p>On a cycle, the neural network receives the setpoint and generates the control coefficients of the
PID-controller, which are fed to the PID-controller along with the value of the current feedback error
e(k). The PID-controller calculates the control signal according to the expression:
u k   u k 1u1 k ek   ek 1  u2 k ek   u3 k ek   2ek 1  e k  2;
(37)
used for discrete PID-controllers and feeds it to the control object – the helicopters TE. The neural
network is trained in real time by feedback error.</p>
      <p>Let the entire observation time be divided into time intervals of length Т: [0, Т], [0, 2Т], [2Т, 3Т], ...
Within each individual segment [sТ, (s + 1)Т], s = 0, 1, 2, … is used as a “teacher” for a neural network,
the method of programmatic adjustment of gain factors, described in this paper.</p>
      <p>When synthesizing the controller, a dynamic network of direct data transmission was used, based
on neurons with a radial basis activation function in the first layer and adalines – neurons with a linear
activation function, in the second layer. At the same time, on test examples, the optimal settings of the
neural network were obtained, which provide the smallest overshoot for a given time of the transient
process [20]. The following sequences are used as neuroregulator inputs:
– reference signal – a master sequence that determines the final state of the object,
– controller output –feedback from the controller output,
– object error – the difference between the reference signal and the real output of the object,
– integrable error – the error accumulated by the controller for the entire time of the object operation,
– object output – signal from the object output.</p>
      <p>The choice of input sequences is not random. Some of the sequences are intended only for a certain
component of the control signal. So, the output of the object and the output of the controller are
necessary for the differential component and the adjustment of the parameters of the predictor, which
actually implements the differentiation function. The “integrable error” sequence is only necessary for
the integral component and affects only it. The remaining incoming sequences affect all neurons of each
of the blocks (fig. 2).</p>
      <p>nFT_max .</p>
      <p>u(t) .</p>
      <p>nFT .
.
nTC_req.</p>
      <p>Reference signal Input</p>
      <p>Delay line layer
Regulator output</p>
      <p>Delay line</p>
      <p>Error</p>
      <p>Delay line
Integrable error</p>
      <p>Adjustable</p>
      <p>storage
Object output</p>
      <p>Delay line</p>
      <sec id="sec-5-1">
        <title>Layer of non</title>
        <p>linear neurons</p>
      </sec>
      <sec id="sec-5-2">
        <title>Layer of</title>
        <p>linear neurons
Σ
u(t)</p>
        <p>The ACS structure, which includes a neural network in the role of setting the coefficients, using a
PID controller, is schematically shown in fig. 3 (developed on the basis of [21]), in which the neural
network plays the role of some functional converter that generates the required coefficients of the PID
controller kp, ki, kd for a set of signals nFT_max, ∆nFT, u, nTC _ reg .</p>
        <p>nFT_max. +</p>
        <p>nFT</p>
        <sec id="sec-5-2-1">
          <title>Neural</title>
          <p>network</p>
          <p>ki kp kd
nFT .</p>
          <p>NFT_max
u .</p>
          <p>P</p>
          <p>.
. nTC_req</p>
          <p>Let us consider a method for approximate construction of an optimal control based on the application
of (33) and assume that
uil1  ul i ul  i ul ;
(38)
where u
l  u1l ,u2l ,u3l  – l-th successive approximation, and the constant factors β have the form</p>
          <p>T ul t  i t,ul  dt
 i ul   0</p>
          <p>T
 i2 t,ul  dt
0
. The value  ul  is chosen so that  ull1 t  dt  , that is</p>
          <p>T 3 2
0 i1
 T 2
  i2 t,ul  dt 
 0 
 T l 2
  u t  i t,ul  dt  T
T 3ull1 t 2dt  3 T ull1 t 2 dt  2 ul  3  0   i2 t,ul  dt  2 ul  
0 i1 i1 0 i1 0
  i31  T0 ulT0 ti2ti,ut,luld t dt 2 . Thus,  ul   k  i31  T0 ulT0 ti2ti,ut,luld t dt   .
2 1
of an approximate control to stop one’s choice. Having fixed some approximate control u</p>
          <p>Thus, following [21], a sequence is constructed that approximates the optimal control u for the
entire observation interval [0, T]. Note that in [21] it is not indicated at which step in the construction
l
t  , we</p>
        </sec>
        <sec id="sec-5-2-2">
          <title>As a first approximation u</title>
          <p>obtain a time-varying control (in this problem, the time-varying [0, T] coefficients of the
PIDcontroller). However, this control will be deprived of the possibility of correction if the value of the
control error is exceeded, caused, for example, by fixing an insufficiently large approximation step or
by the presence of an unexpected random perturbation of the function f(t) (although it is considered
deterministic).</p>
          <p>It is assumed that the time T is not the entire observation time of the controlled dynamic process,
but only its rather small segment of the algorithmic stepwise sampling (not the time sampling step used
in the calculations), that is, the entire observation time will be divided into time segments of length Т:
[0, Т], [0, 2Т], [2Т, 3Т], … Within each individual segment [sТ, (s + 1)Т], s = 0, 1, 2, …, we will apply
the method of software adjustment of gain coefficients.</p>
          <p>1,s</p>
          <p>, we take the constant values u2,s1  sT  obtained at the previous step
of the algorithm with the help of control u2,s1  sT  at the time sT of the corresponding time interval
of the algorithmic discredit [(s – 1)Т, sТ]. In this case, the initial point x0 from (22) will also be given
l
by the value xsT ,u2,s1  obtained at the boundary time. Thus, at this stage, we define the following
approximation:</p>
          <p>ui2,s t   u2,s1  sT i u2,s1 sT  i t,u2,s1 sT ;
where the functions  i t,u2,s1 sT  , i = 1, 2, 3 are found by expressions (36), taking into account the
time shift t = t + sT for all functions included in this expression:</p>
          <p> i t,u2,s1 sT   2xsT ,u2,s1  Z s 1T ,u2,s1 sT   Z s 1T ,u2,s1 sT  
s1T Z 1  ,u2,s1  sT , f   d    x  sT ,u2,s1  Z  s  1T ,u2,s1  sT   Z  s  1T ,u2,s1  sT  
sT </p>
          <p>s1T 
  Z 1  ,u2,s1  sT , f   d  Bi t .</p>
          <p>sT 
Thus, we obtain the final expressions for determining α and βi:</p>
          <p>s1T u2,s1  sT  i t,u2,s1  sT  dt
i u2,s1  sT   0
.
s1T
  i2 t,u2,s1  sT  dt
0
(39)
(40)
(41)
(42)</p>
          <p>The input parameters of helicopters TE mathematical model are the values of atmospheric
parameters (h – flight altitude, TN – temperature, PN – pressure, ρ – air density). The parameters recorded
on board of the helicopter (nFT – free turbine rotor speed) reduced to absolute values according to the
theory of gas-dynamic similarity developed by Professor Valery Avgustinovich (table 1). We assume
in the work that the atmospheric parameters are constant (h – flight altitude, TN – temperature, PN –
pressure, ρ – air density) [22].</p>
          <p>To form the training and test subsets, cross-validation [23] was used to estimate the values of nFT,
the results of which are shown in fig. 4.</p>
          <p>In order to establish the representativeness of the training and test samples, a cluster analysis [22,
24] of the initial data was carried out (table 1), during which seven classes were identified (fig. 5, a).
After the randomization procedure, the actual training (control) and test samples were selected (in a
ratio of 2:1, that is, 6 7% and 33 %). The process of clustering the training (fig. 5, b) and test samples
shows that they, like the original sample, contain seven classes each. The distances between the clusters
practically coincide in each of the considered samples, therefore, the training and test samples are
representative.</p>
          <p>An important issue is the assessment of the homogeneity of the training and test samples. To do this,
we use the Fisher-Pearson criterion χ2 [22, 25] with r – k –1 degrees of freedom:</p>
          <p> 2  min r1 i  mi npnipi   ; (43)
where θ – maximum likelihood estimate found from the frequencies m1, …, mr; n – number of elements
in the sample; pi(θ) – probabilities of elementary outcomes up to some indeterminate k-dimensional
parameter θ.</p>
          <p>The specified statistics χ2 allows, under the above assumptions, to test the hypothesis about the
representability of sample variances and covariances of factors contained in the statistical model. The
area of acceptance of the hypothesis is  2   nm, , where α – significance level of the criterion. The
results of calculations according to (43) are given in table 2.</p>
          <p>Calculating the value of χ2 from the observed frequencies m1, …, mr (summing line by line the
probabilities of the outcomes of each measured value) and comparing it with the critical values of the
distribution χ2 with the number of degrees of freedom r – k –1. In this work, with the number of degrees
of freedom r – k –1 = 13 and α = 0.05, the random variable χ2 = 0.687 did not exceed the critical value
from table 2 is 22.362, which means that the hypothesis of the normal distribution law can be accepted
and the samples are homogeneous.</p>
          <p>The neural network was trained by the above method for 1000 epochs, the training accuracy
characteristic is shown in fig. 6, the steady-state mean square error is 0.382. Fig. 7 shows the results of
the neural network training validation test, from which it can be seen that the average value of the
gradient is, and the optimal value of the training coefficient does not exceed 1.</p>
          <p>The circuit for maintaining of helicopters TE free turbine speed based on a neural network (fig. 3)
has one caveat: although the neural network controller finds a minimum, this minimum is only a local
minimum and it cannot be argued that this is the optimal solution. To avoid choosing a suboptimal local
minimum in the objective function, it is required to repeat the optimization process several times and
choose the best result. It is possible that by setting different initial values of the PID-controller
parameters, different optimal controller parameters will be obtained. In addition, during the training of
the neural network, several random perturbations are used during each cycle and the reaction time of
the system is taken into account to calculate the objective function and its gradient. This ensures
obtaining local optimal coefficients of the PID-controller for various disturbances affecting the system.
In addition, by changing the step size and the number of perturbations, the sensitivity of the results
increases during the search process for the controller coefficients. The process of searching for
controller parameters is terminated when a steady state of the system is determined, which is achieved
through the calculation of a linear regression of the most recent estimates and iteration until the step
response reaches a steady state value with an error of 1 % (fig. 8).</p>
          <p>It should be noted that the adequacy of the model represented by the neural network directly depends
on the training process. There are a number of parameters that affect the quality of training: training rate
coefficient (assumed 1.5); number of neurons in the hidden layer (assumed 20); length of the delay line
of input signals (5 is accepted); number of completed training epochs (assuming 1000 training epochs).</p>
          <p>As a criterion for assessing the quality of training, you can use the final total standard deviation for
the epoch, which is determined according to the expression:</p>
          <p>Eepoch  1 M 1 m yk out  yk 2 ; (44)</p>
          <p>M i1  2 k1 
where M – number of training sample elements. The training of the neural network continues until one
of the stopping criteria is met. For example, the training time will not run out, a certain number of
training epochs will pass, or the error per epoch will not exceed the minimum required threshold.</p>
          <p>Let’s carry out a number of additional research that determine the influence of training parameters
on the quality of the neural network, namely:
1. Influence of the training rate coefficient.
2. Influence of the number of neurons in the hidden layer.
3. Influence of the delay length of input signals.
4. Influence of the number of training epochs passed.</p>
          <p>The results of the research are given in table 3–6 and in fig. 9, where: a – diagram that determines
the influence of the training rate on the final standard deviation; b – diagram that determines the effect
of the number of hidden neurons on the final standard deviation; c – diagram that determines the
influence of the length of the delay line on the final standard deviation; d – diagram that determines the
effect of the number of epochs passed on the final standard deviation.
c d
Figure 9: Research results that determine the impact of training parameters on the quality of a neural
network
Table 3
Influence of the training rate coefficient on the resulting error</p>
          <p>Training rate coefficient Final standard deviation
0.4 1.722
1.5 1.471
3.6 1.471
5.0 1.723</p>
          <p>The conducted studies, which determine the influence of training parameters on the quality of the
neural network, allow us to preliminarily state:</p>
          <p>1. At low values of the training rate coefficient, slow convergence is observed and there is a risk of
hitting a local minimum, while at the same time, the accuracy of hitting an extremum point increases.
With large values, it is impossible to achieve a small error, since each step we skip past the extremum.</p>
          <p>2. A larger number of neurons in the hidden layer allows you to more accurately describe the training
sample at the cost of computing power. At the same time, there is a danger of overfitting when the
neural network reproduces noises and distortions in the training sample and is not able to adequately
represent the circuit for maintaining the speed of the free turbine of helicopters TE.</p>
          <p>3. A large length of the delay line increases the number of input neurons and, consequently, the
computational load. At the same time, a longer delay line describes the dynamic properties of the object
better and avoids contradictions in training, when the object can change its behavior depending on past
influences.</p>
          <p>4. The final error depends logarithmically on the number of epochs passed, as a result of which it is
not rational to use a large number of epochs, since the computation time increases exponentially and
there is a risk of retraining the neural network.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Results</title>
      <p>a b
c d
e f
Figure 10: Free turbine frequency rotation transient’sgprocesses resulting diagram</p>
    </sec>
    <sec id="sec-7">
      <title>6. Discussions</title>
      <p>A comparison was made of the quality of control of the transient response by free turbine frequency
rotation and the stability margins provided by each of the considered controllers (Fig. 10). Fig. 12 shows
a diagram of the joint arrangement of the transient curves according to the free turbine speed during the
operation of various controllers: 1 – linear PD-controller; 2 – PD-controller with reduced kd; 3 –
quadratic controller; 4 – PD-controller with a variable amplification factor; 5 – fuzzy logical
Pcontroller; 6 – fuzzy logical P-controller with a corrective differential link; 7 – PID-controller developed
on the basis of a neural network. Table 7 presents a numerical analysis of the quality of operation of the
circuit for maintaining the free turbine speed with various controllers.</p>
      <p>Controller type
Linear PD-controller
PD-controller with reduced kd
Quadratic controller
PD-controller with a variable
amplification factor
Fuzzy logical P-controller
Fuzzy logical P-controller with a
corrective differential link
PID-controller developed on the
basis of a neural network</p>
      <p>Static
accuracy, %</p>
      <p>Speed,
seconds</p>
      <p>Transition
process nature</p>
      <p>Throw
value, %
± 0.2
± 0.3
± 0.2
± 0.2
± 0.1
± 0.2
± 0.05</p>
      <p>From fig. 12 and table 7 it follows that the best quality of the transient process in terms of the free
turbine speed is provided by the PID-controller developed on the basis of a neural network. The
transient response during operation of this controller differs from others in its higher speed (about
3.5 seconds) and the absence of oscillations (curve 7). The remaining controllers are inferior in terms
of providing the required quality of control. According to [13, 14], the transient response in terms of
free turbine rotational speed, obtained with the operation of a quadratic controller, does not differ in
quality from the characteristic obtained with the operation of the original linear PD-controller (curves
1 and 3). The process is characterized by the presence of fluctuations and overshoot of about 4 %. The
oscillation amplitude is 0.2 %. The transition process time is about 20 seconds. When analyzing the
characteristics of transients obtained during the operation of a PD-controller with a reduced proportional
gain, a variable gain controller, and a P-type fuzzy logic controller, it can be seen that these
characteristics differ slightly from each other. The transient process has an aperiodic character (curves
2, 4, 5 and 6) and almost the same speed (for curve 2, the transition process time is 15 seconds, for
curves 4, 5 – 16.5 seconds, for curve 6 – 6 seconds).</p>
      <p>A comparative analysis of the accuracy provided by each of the considered controllers (Fig. 12) is
given in table 8, which shows the probabilities of errors of the 1st and 2nd kind in determining the
optimal parameter nFT.
Probability of error in determining</p>
      <p>Type 1st error Type 2nd error</p>
      <p>Controller type
Linear PD-controller
PD-controller with reduced kd
Quadratic controller
PD-controller with a variable amplification factor
Fuzzy logical P-controller
Fuzzy logical P-controller with a corrective
differential link
PID-controller developed on the basis of a neural
network
1.95
1.74
1.46
1.32
1.08
0.97
0.58
1.42
1.21
1.03
0.95
0.77
0.64
0.22</p>
      <p>As can be seen from table 8, the use of a PID-controller developed on the basis of a neural network
provides an improvement in the probability of errors of the 1st and 2nd kind compared to the controllers
developed in [13, 14] by 35...85 %.
7. Conclusions</p>
      <p>1. The method of maintaining the helicopter rotor speed has been further developed, which, through
the use of a PID-controller developed on the basis of a dynamic neural network of direct data
transmission based on neurons with a radial basis activation function in the first layer and adalines –
neurons with a linear activation function, in the second layer, made it possible to improve the quality
of the transient process in terms of helicopter aircraft turboshaft engine free turbine rotation frequency,
which consists in increasing the speed up to 3 seconds, increasing the statistical accuracy up to ± 0.05 %
and eliminating the overshoot of parameters.</p>
      <p>2. The circuit for maintaining the helicopter aircraft turboshaft engine free turbine speed has been
improved, which, due to the use of a PID-controller with neural network tuning of the gain factors,
made it possible to automatically adjust the amplification factor and, thereby, reduce the time of the
transition process.</p>
      <p>3. The neural network training method based on the method of programmatic gain adjustment,
developed by Professor Volodymyr Zubov, was further developed, which, by integrating direct data
transmission into a dynamic neural network based on neurons with a radial-basis activation function in
the first layer and adalines – neurons with a linear activation function, in the second layer, made it
possible to reduce the error of its training for the problem of researching the transient process in terms
of helicopter aircraft turboshaft engine free turbine rotation frequency to 0.005 %.</p>
      <p>4. The structure of the PID-controller with an auto-tuning unit based on a neural network has been
improved, in which, due to the use of a dynamic neural network of direct data transmission based on
neurons with a radial basis activation function in the first layer and adalines – neurons with a linear
activation function, in the second layer, as a functional converter that generates the desired amplification
factor of the PID-controller for a set of input and output signals, made it possible to improve the
probability of errors of the 1st and 2nd kind in comparison with the known controllers by 35 ... 85 %.</p>
    </sec>
    <sec id="sec-8">
      <title>8. References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>S.</given-names>
            <surname>Nandy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Maity</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.S.V.</given-names>
            <surname>Nataraj</surname>
          </string-name>
          ,
          <article-title>Robustification of Unscented Kalman Filtering to Identify Faults in Gas Turbine Engine, IFAC-PapersOnLine</article-title>
          , vol.
          <volume>5</volume>
          , issue 1 (
          <year>2022</year>
          )
          <fpage>826</fpage>
          -
          <lpage>831</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.ifacol.
          <year>2022</year>
          .
          <volume>04</volume>
          .135
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <article-title>A new performance adaptation method for aero gas turbine engines based on large amounts of measured data</article-title>
          ,
          <source>Energy</source>
          , vol.
          <volume>221</volume>
          (
          <year>2021</year>
          )
          <article-title>119863</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.energy.
          <year>2021</year>
          .119863
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S. K.</given-names>
            <surname>Valluru</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <article-title>Performance investigations of APSO tuned linear and nonlinear PID controllers for a nonlinear dynamical system</article-title>
          ,
          <source>Journal of Electrical Systems and Information Technology</source>
          , vol.
          <volume>5</volume>
          , issue 3 (
          <year>2018</year>
          )
          <fpage>442</fpage>
          -
          <lpage>452</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.jesit.
          <year>2018</year>
          .
          <volume>02</volume>
          .001
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T.</given-names>
            <surname>Shuprajhaa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. K.</given-names>
            <surname>Sujit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Srinivasan</surname>
          </string-name>
          ,
          <article-title>Reinforcement learning based adaptive PID controller design for control of linear/nonlinear unstable processes</article-title>
          ,
          <source>Applied Soft Computing</source>
          , vol.
          <volume>128</volume>
          (
          <year>2022</year>
          )
          <article-title>109450</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.asoc.
          <year>2022</year>
          .109450
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M. H.</given-names>
            <surname>Suid</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Ahmad</surname>
          </string-name>
          ,
          <article-title>Optimal tuning of sigmoid PID controller using Nonlinear Sine Cosine Algorithm for the Automatic Voltage Regulator system</article-title>
          ,
          <source>ISA Transactions</source>
          , vol.
          <volume>128</volume>
          ,
          <string-name>
            <surname>part</surname>
            <given-names>B</given-names>
          </string-name>
          (
          <year>2022</year>
          )
          <fpage>265</fpage>
          -
          <lpage>286</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.isatra.
          <year>2021</year>
          .
          <volume>11</volume>
          .037
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <article-title>Global stabilization of uncertain nonlinear systems via fractionalorder PID</article-title>
          ,
          <source>Communications in Nonlinear Science and Numerical Simulation</source>
          , vol.
          <volume>116</volume>
          (
          <year>2023</year>
          )
          <article-title>106838</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.cnsns.
          <year>2022</year>
          .106838
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Mahmoodabadi</surname>
          </string-name>
          ,
          <string-name>
            <surname>H.</surname>
          </string-name>
          <article-title>Jahanshahi, Multi-objective optimized fuzzy-PID controllers for fourth order nonlinear systems</article-title>
          ,
          <source>Engineering Science and Technology, an International Journal</source>
          , vol.
          <volume>19</volume>
          , issue
          <volume>2</volume>
          (
          <year>2016</year>
          )
          <fpage>1084</fpage>
          -
          <lpage>1098</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.jestch.
          <year>2016</year>
          .
          <volume>01</volume>
          .010
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Praharaj</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Sain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. M.</given-names>
            <surname>Mohan</surname>
          </string-name>
          ,
          <article-title>Development, experimental validation, and comparison of interval type-2 Mamdani fuzzy PID controllers with different footprints of uncertainty</article-title>
          ,
          <source>Information Sciences</source>
          , vol.
          <volume>601</volume>
          (
          <year>2022</year>
          )
          <fpage>374</fpage>
          -
          <lpage>402</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.ins.
          <year>2022</year>
          .
          <volume>03</volume>
          .095
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M. W.</given-names>
            <surname>Hasan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. H.</given-names>
            <surname>Abbas</surname>
          </string-name>
          ,
          <article-title>Disturbance Rejection for Underwater robotic vehicle based on adaptive fuzzy with nonlinear PID controller</article-title>
          ,
          <source>ISA Transactions</source>
          , vol.
          <volume>130</volume>
          (
          <year>2022</year>
          )
          <fpage>360</fpage>
          -
          <lpage>376</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.isatra.
          <year>2022</year>
          .
          <volume>03</volume>
          .020
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>