<!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 />
    <article-meta>
      <article-id pub-id-type="doi">10.1093/bioinformatics</article-id>
      <title-group>
        <article-title>Phase shift measurement method based on a half-period converter with amplitude-time conversion in the development of modern weapon systems ⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Zoriana Rybchak</string-name>
          <email>zoriana.l.rybchak@lpnu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Iryna Zavushchak</string-name>
          <email>iryna.i.zavushchak@lpnu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sergey Tyshko</string-name>
          <email>sergeytyshko57@gmail.com</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maksym Herashchenko</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oleksandr Lavrut</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tetiana Lavrut</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Serhii Kravchenko</string-name>
          <email>serg.kravchenko49@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hetman Petro Sahaidachnyi National Army Academy</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ukraine</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Land Forces National Defense University of Ukraine</institution>
          ,
          <addr-line>Kyiv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Lviv Polytechnic National University? Lviv</institution>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>State Scientific Research Institute of Armament and Military Equipment Testing and Certification, Cherkasy, Ukraine University of Twente</institution>
          ,
          <addr-line>Drienerlolaan 5, 7522 NB, Enschede</addr-line>
          ,
          <country country="NL">The Netherlands</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>2</volume>
      <issue>7</issue>
      <fpage>0000</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>This paper presents a method for determining the phase shift based on the composite signal obtained by summing two harmonic signals after a dual half-period transformation. The proposed method can be categorised as a compensation-based measurement technique. The phase shift is determined by comparing a vector derived from the amplitude-time analog-to-digital conversion of the composite signal with a set of reference function vectors. The matching criterion is defined as the minimum of the sum of squared differences. An algorithm for finding the minimum value using the golden section search method is developed. The main sources of measurement error in the proposed phase shift estimation method are identified. Implementation of this method in artificial intelligence systems for diagnostics and condition monitoring of modern weapons and military equipment enables the reduction of requirements for measuring instruments without compromising accuracy.</p>
      </abstract>
      <kwd-group>
        <kwd>Compensation method</kwd>
        <kwd>phase shift</kwd>
        <kwd>harmonic signal</kwd>
        <kwd>measurement</kwd>
        <kwd>diagnostics</kwd>
        <kwd>phase shift measurement</kwd>
        <kwd>measurement error</kwd>
        <kwd>extremum</kwd>
        <kwd>correlation coefficient</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>At present, one of the key priorities of the state is to ensure national security. A crucial aspect of
achieving this objective is equipping the Armed Forces of Ukraine and other military formations
within the Defense Forces with advanced and high-tech models of weapons and military equipment.
The main sources of such high-tech military assets include both supplies from partner states and
production by domestic defense enterprises.</p>
      <p>
        According to [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], the decision to authorize the supply of weapon systems developed and
manufactured by the Ukrainian defense-industrial complex—or received from non-NATO partner
countries, or models not officially adopted by NATO military formations, is made based on the results
of testing. These results are then compared with the technical specifications outlined in regulatory
and technical documentation for the prototype (such as technical specifications, technical
requirements, and operating documentation).
      </p>
      <p>
        A promising direction for improving the performance characteristics of such systems lies in the
use of modern control and diagnostic systems. These systems integrate cutting-edge technologies
based on computing and telecommunication equipment, artificial intelligence, and new diagnostic
methods for assessing technical conditions [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ]. To reduce time and improve the quality of
monitoring while enabling condition forecasting of weapons and military equipment, the use of
intelligent diagnostic systems is essential [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ].
      </p>
      <p>One of the most critical procedures during testing and diagnostics of complex technical systems
is the accurate measurement of physical quantities that characterise system parameters and technical
condition. For example, during the testing and operation of unmanned aerial and ground systems, it
is necessary to measure accelerations, angles, time delays in control and data transmission channels,
and distances to objects. The foundation of many such measurements relies on determining the phase
shift between two harmonic signals as an intermediate quantity.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>Phase measurement methods and the information-measuring systems based on them make it
possible to solve a wide range of scientific and technical tasks related to the precise measurement of
distances, time intervals, angles, and analysis of signal field characteristics of various physical
natures (electromagnetic, optical, acoustic). The transformation of diverse physical quantities and
their values into a phase shift between two harmonic signals enables simplified measurement
procedures while ensuring the required accuracy.</p>
      <p>
        Phase measurement methods are widely used in various scientific and engineering domains such
as radar and radio navigation, aerospace technology, unmanned aerial and ground systems, geodesy,
mechanical engineering, telecommunications, and non-destructive testing [
        <xref ref-type="bibr" rid="ref6 ref7">6–9</xref>
        ]. The transformation
of physical quantities into a phase shift has extended beyond traditional applications and is
frequently utilized in experimental physics, radio physics, experimental medicine, and cutting-edge
areas of science and technology [10].
      </p>
      <p>In certain practical applications, it is necessary to measure phase shifts over a frequency range
from infralow to ultrahigh, in the presence of noise and interference, across a broad dynamic range
of signal amplitudes. For harmonic signals in measurement systems, key concepts include phase,
initial phase, phase shift, and time delay. Currently, the most critical aspect in phasemetry is the
accurate determination of the phase shift. According to normative documents, phase shift is defined
as the absolute difference between the initial phases of two harmonic signals. Therefore, the scientific
and technical task of improving existing methods and developing advanced approaches for phase
shift measurement between two harmonic signals remains highly relevant.</p>
      <p>The most comprehensive classification of phase shift measurement methods is presented in [11].
Based on the principle of phase shift evaluation, these methods are divided into compensation
methods and methods that convert the phase shift into other quantities such as voltage, time interval,
or geometric parameters of oscilloscope traces.</p>
      <p>The compensation method is based on balancing (compensating) the phase shift between two
harmonic signals, reducing it to zero by adjusting the phase of one or both signals using a controlled
phase shifter (or a phase shift standard) [11, 12]. Measurements are performed at fixed intermediate
frequencies, ensuring the correct operation of the phase shifter and phase deviation indication
systems. This method provides high accuracy, close to that of the measuring phase shifters.</p>
      <p>The conversion method determines the phase shift after it is transformed into an intermediate
quantity such as voltage, current, beam deflection in an oscilloscope, or time interval. Key known
implementations of this method are reviewed.</p>
      <p>The additive method [11, 13] relies on vector addition of signals. When two harmonic signals are
added, the amplitude of the resulting signal depends on the amplitudes of the input signals and their
phase shift. Since the phase shift is inferred from the amplitude measurements of three harmonic
signals, this method is often referred to as the "three-voltmeter method." To simplify the process,
automatic adjustment of input signal levels is applied [14], making the output amplitude dependent
only on the phase shift.</p>
      <p>The multiplicative method (voltage multiplication) [11, 15] involves multiplying two harmonic
signals to obtain a signal that includes a DC component and a harmonic component. The DC value
depends on the amplitudes and the phase shift. As with the additive method, automatic signal level
regulation is used to simplify the measurement process.</p>
      <p>In the oscillographic method, as shown in [11, 16], the phase shift is determined by analyzing the
shape and nature of oscilloscope traces. For linear sweep measurement, a multi-channel oscilloscope
is required. In the sinusoidal sweep mode, one signal is applied to the horizontal deflection and the
other to the vertical, resulting in an interference pattern (typically an ellipse) whose axes are rotated.
The measured dimensions of the ellipse allow the phase shift to be calculated.</p>
      <p>The time-delay conversion method, presented in [11], determines the phase shift based on the
time delay between the signals. Measuring the time delay between characteristic points (e.g.,
zerocrossings with matching signal derivatives) allows the phase shift to be inferred from the signal
frequency or period.</p>
      <p>The main limitations of existing methods include [11–16]:




</p>
      <p>Significant measurement error due to phase asymmetry in the signal transmission channels;
Requirement for two analog-to-digital conversion channels, necessitating synchronization of
their sampling clocks;
High sensitivity to internal and external noise sources;
Large computational load due to a wide initial uncertainty range for phase shift estimation;
Non-linearity of the calibration characteristic.</p>
      <p>The objective of this study is to propose methodological principles for implementing a
compensation-based method for determining the phase shift between two harmonic signals using a
signal obtained by summing the outputs of a dual half-period transformation applied to the original
signals. This approach aims to measure the phase shift between the input harmonic signals.</p>
      <p>As a multi-valued metric for phase shift estimation, the study explores the use of a set of reference
base functions synthesized computationally. The zero-indicator is defined as the condition of
minimizing the sum of squared deviations between the vector of the summed signal and the reference
function. This approach is expected to significantly reduce the cost of the device and improve its
metrological performance.</p>
      <p>Furthermore, a methodology is proposed for determining the initial interval for phase shift
estimation based on the analysis of the vector obtained after amplitude-time transformation of the
composite signal. This operation is intended to reduce the number of computational operations
required, thereby decreasing the overall measurement time.</p>
      <p>The proposed approach to implementing the compensation method for phase shift measurement
is expected to enhance the effectiveness of diagnostics for weapons and military equipment by
ensuring the required level of parameter monitoring reliability while reducing the cost of
measurement equipment used in intelligent diagnostic systems.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Measurement Procedure and Operational Steps</title>
      <p>This section provides a detailed description of the measurement procedure and outlines the sequence
of operations recommended for determining the phase shift between two harmonic signals using the
dual half-period transformation method. To facilitate understanding, a structural diagram illustrating
the implementation of the proposed phase shift measurement method is presented in Figure 1.</p>
      <p>Harmonic signals uin1(t) and uin2(t), exhibiting a phase shift ∆ , within the interval [0,2π], are
input into the measurement system. To enhance the accuracy of phase shift measurement, the input
stage performs auxiliary operations, including hardware-based filtering to mitigate external noise
and amplification of signals uf1(t) and uf2(t) and u1(t) and u2(t). This amplification ensures that the
output amplitudes of the signals differ by no more than 20%, thereby improving the sensitivity of the
phase shift measurement.</p>
      <p>This foundational representation facilitates subsequent processing steps, including the dual
halfperiod transformation and amplitude-time conversion, which are integral to the proposed phase shift
measurement methodology.</p>
      <p>u (t)
u (t)</p>
      <p>Filter
Filter
u (t)
Input device</p>
      <p>Amplifier
u (t)
Input device</p>
      <p>Amplifier
Соmputing device</p>
      <p>Display
unit</p>
      <p>Decision
S u∑ д (φ ), u/е (φ ) → min
u (t)
u (t)
Shaper
u/е (φ )
|u (t)|
u/(t)
u/(t)
|u (t)|</p>
      <p>Calculation
S u∑ д (φ ), u/е (φ )</p>
      <p>ADC control
Σ
u/ (t)</p>
      <p>ADC
Calculation
u∑ (φ )
Calculation
u∑ (φ )</p>
      <p>u/ (t )
Calculation</p>
      <p>T
Calculation</p>
      <p>U/</p>
      <p>Harmonic signals uin1(t) and uin2(t), exhibiting a phase shift ∆ , within the interval [0,2π], are
input into the measurement system. To enhance the accuracy of phase shift measurement, the input
stage performs auxiliary operations, including hardware-based filtering to mitigate external noise
and amplification of signals  ( ) and  ( ) and  ( ) and  ( ). This amplification ensures
that the output amplitudes of the signals differ by no more than 20%, thereby improving the
sensitivity of the phase shift measurement.</p>
      <p>Considering that phase shift measurement is inherently a relative measurement, the variations in
signals u1(t) and u2(t) can be expressed as:
 ( ) =  cos(2 ), (1)
 ( ) =  cos (2 + ∆) . (2)
Where Um1 and Um2 are the amplitudes of the respective signals,  =
is the angular frequency,
and ∆ is the phase shift between the signals.</p>
      <p>The time diagram illustrating the harmonic signals  ( ) and  ( ), which exhibit a specific phase
shift ∆ relative to each other, is presented in Figures 2a and 2b.</p>
      <p>Following the input stage, the signals u1(t) and u2(t) are directed to the dual half-period
transformation unit. At the outputs of the transformation units, the resulting signals are:


( ) = | ( )| = |
( ) = | ( )| = |
cos (2)
cos (2 + ∆)</p>
      <p>From the output of the device for conducting a two-half-wave conversion, the signals  ( ) and
 ( ) are fed to the summing device (adder). Summing  ( ) and  ( ) we obtain the signal  ∑ () ,
which can be described by the following relation:</p>
      <p>The time diagrams for the signals u’1(t) and u’2(t) is presented in Figures 3a and 3b, respectively.
(3)
(4)
(5)
 ∑( ) =
∆ - local maximum on the time interval  ≤  &lt;  ;
∆ - local maximum on the time interval  ≤  &lt;  .</p>
      <p>The time diagram of the signal  ∑( ) is shown in Fig. 4:</p>
      <p>From the output of the summing device (adder), the signal enters the input of the analog-to-digital
converter, which implements amplitude-time conversion.</p>
      <p>The control input of the analog-to-digital converter receives a signal indicating the start of
analog-to-digital conversion and its end. In this case, we will introduce the assumption that the
amplitude-time conversion begins under the condition of transition  ( ) = 0 from a negative value
to a positive value, and ends under the condition of transition  ( ) = 0 from a positive value to a
negative value. The minimum number of samples is selected taking into account the maximum signal
frequency and the Nyquist frequency. After performing the specified operation, the signal  ( ) ,
according to [10], will be represented by a vector of instantaneous values 
( ) corresponding to
certain moments of time ti., which can be written in the form:
( ) = ( ,  ,⋯,  ,…,  )
(6)
where  - instantaneous signal values  ( ) at the i-th moment of time, obtained as a result of
n - the number of samples obtained during analog-to-digital conversion of the  ( ) in the
analog-to-digital conversion;
interval from 0 to .
of time  is shown in Fig. 5.</p>
      <p>The time diagram of the vector of instantaneous values 
( ) corresponding to certain moments


( )
corresponding to certain moments of time  .</p>
      <p>A vector arrives at a computing device.</p>
      <p>In the computing device, an operation is performed to determine the period  of the signal  ( ).
Based on the known values of the sampling frequency  and the number of samples (N), the signal
period 
( ) is determined by the following expression:
=
=
(7)</p>
      <p>To reduce computational operations and simplify the procedure for determining  , it is
advisable to implement an operation in the computing device to transition the vector

( ) = ( ,  ,⋯,  ,…,  ) from time samples to phase samples of the signal.</p>
      <p>Then, based on the known value of the phase sampling step 
, it is determined as:
 
=
Ue.min  Ue1max  Ue min   sin  1 
 
  
 i 
Ue.min  Ue2max  Ue min   sin     i     i 


for 0 i    
for    i  
are the discontinuity points of the reference function in the
cos( 2</p>
      <p>) is the maximum value of the reference function in the interval 0 ≤
sin( 2</p>
      <p>) is the maximum value of the reference function in the interval  −
Then, the normalized function</p>
      <p>( ) will have the form:

computing device is proposed. Given that the amplitudes of the signals  ( ) and  ( ) are close,
then as a reference function</p>
      <p>( ), it is proposed to use the function of the summed signal obtained
after performing half-wave rectification, assuming the equality of amplitudes 
, according to the
phase samples, which will have the following form:</p>
      <p>u e i  
Where  .</p>
      <p>=</p>
      <p>interval from 0 to π;

.</p>
      <p>.
&lt;  − 
≤ 
&lt; 
= 2</p>
      <p>;
= 2</p>
      <p>Performing the calculation according to the above expression for each value of  , for a certain
value of the phase shift</p>
      <p>, and performing normalization to the average value of the reference
function, we obtain a vector of the normalized reference function:</p>
      <p>( ) = ( . ,  . ,⋯,  . ,…,  . )</p>
      <p>Then, taking into account the above, the problem of determining the phase shift of harmonic
signals  ( ) and  ( ) is formulated as follows: from the entire set of normalized reference
functions</p>
      <p>( ), select the function 
corresponds to the normalized signal</p>
      <p>. ( ) = ( . . ,  . . ,⋯,  . . ,…,  . . )that most fully
( ) = ( . ,  . ,⋯,  . ,…,  . ).</p>
      <p>The method of least squares (MLS), due to its wide range of applications, occupies an exceptional
place among the methods of mathematical statistics. MLS plays a particularly important role in
solving measurement problems. The task of MLS is to estimate the regularities observed against the
background of random fluctuations and to use this estimation for further calculations, in particular,
for the approximation of measured quantities.</p>
      <p>Given that the amplitude-time conversion of the signal  ( ) is performed by a single
analog-todigital converter under the same conditions, it can be argued that the root mean square deviation of
the error in determining the instantaneous values 
of the signal  ( ) is constant (σ
=
const for i = 1 … n). Then, the observations of the instantaneous values  refer to measurements of
equal precision.</p>
      <p>As a parameter of the degree of coincidence between the vector of the normalized signal 
( ),
and the j-th reference normalized function u′ е (φ ), according to MLS, we will use the sum of the
squares of the discrepancies for the corresponding element of the signal 
corresponding element of the function u′ е (φ ), that is:
 
( ),</p>
      <p>Alright, based on the preceding discussion, the measurement problem of determining the phase
shift ∆φ of the signals  ( ) and  ( ) can be formulated as follows: from the entire set of reference
phase shift functions, we will select the function u′ е (φ ), that provides the minimum value of the
sum of squared deviations between the discrete normalized signal  ( ) and itself, that is:
 
( ),</p>
      <p>From the formulation of the measurement problem, it is evident that this is a problem of finding
the minimum value of the sum of squared deviations. This class of problems can be solved using
analytical or numerical methods. An analysis of well-known software tools [17, 18] that are widely
used at present shows that they employ numerical methods for finding the extremum.</p>
      <p>In turn, numerical methods for finding the extremum of a function are divided into gradient
methods, methods using second derivatives, and direct methods.</p>
      <p>As a rule, when solving extremum search problems using gradient methods and methods using
second derivatives, faster convergence is achieved than when using direct methods.</p>
      <p>However, the application of methods using derivatives to solve this problem leads to difficulties
due to the functional dependence of the investigated function.</p>
      <p>Direct methods do not require the fulfillment of the conditions of regularity and continuity of the
investigated function and the existence of a derivative.</p>
      <p>An analysis of the change in the sum of squared deviations when determining the phase shift
shows that this function is quasi-convex [19, 20].</p>
      <p>The determination of which reference function provides the minimum value of the sum of
squared deviations will be carried out using the golden section search method. The choice of this
method compared to known methods, such as the dichotomic search method, is because it requires
fewer iterations.</p>
      <p>The following algorithm for determining ∆φ using the golden section search method is proposed:
Preliminary Stage.</p>
      <p>Determination of the permissible final length of uncertainty l.</p>
      <p>The selection of the minimum value of this parameter is intended to be carried out based on the
requirements for the error of the phase shift measurement problem solution, taking into account the
accuracy characteristics of the technical means involved in the process of analog-to-digital
conversion of the signal and additional operations, as well as rounding errors during calculations.</p>
      <p>As can be seen from the conditions for measuring the phase shift and the list of conversion
operations of the input harmonic signals  ( ) and  ( ), the initial interval of uncertainty is [0,  ].</p>
      <p>To explain the order of synthesis of the algorithm for determining the length of the new interval
of uncertainty for the first iteration, Figure 6 is proposed.
interval for the first iteration.</p>
      <p>Determination of the length of the uncertainty interval l for the first iteration, its beginning ∆φ ,
and its end ∆φ</p>
      <p>will be carried out based on the following observations and assumptions:</p>
      <p>The number of samples of the instantaneous values U of the signal  (t) obtained during the
analog-to-digital conversion that belong to the time intervals t . and t . are different.</p>
      <p>Based on the properties of the function obtained by summing the signals after performing
fullwave rectification of two harmonic signals  ( ) and  ( ), as shown in [18], the values of the time
intervals t . and t . , depending on the value of the phase shift Δφ , are determined respectively
using the following relations:
 . =
 . =
The discontinuity points U
and U</p>
      <p>of the function  (t) in the interval from 0 to Т will,
in the general case, be located within the quantization Δt interval and will not coincide with the
, and based on the known sample number Δt , and the quantization interval,
values of U .і</p>
      <p>and U .</p>
      <p>The point U
і .</p>
      <p>will always be located in the time interval t . , and accordingly, the point
U
і .</p>
      <p>will always be located in the time interval t . .</p>
      <p>Then, based on the above observations, the following sequence of steps is proposed:
Using the vector u
∑ (t ) of instantaneous values Uі, the value of Uі.
, is determined, for
example, by applying a sequential search method.</p>
      <p>Determination of the end ∆φ ( . ) of the new uncertainty interval for the first iteration for the
function in the time interval  ≤  &lt;  . To do this, we perform the following additional operations:
determine Uі .
calculate ∆t</p>
      <p>. using the relation:
using expression (16) as:
∆t</p>
      <p>. and T , the end of the interval ∆φ ( . ) is calculated</p>
      <p>Determination of the beginning ∆φ ( . ) of the new uncertainty interval for the first iteration
for the function in the time interval t ≤ t &lt; t . To do this, we perform the following additional
interval ∆ , calculate ∆t
. using the relation:
, and based on the known sample number and the quantization</p>
      <p>Determination of the beginning ∆φ ( . ) of the new uncertainty interval for the first iteration
for the function in the time interval t ≤ t &lt; t . To do this, we perform the following additional
, and based on the known sample number and the quantization
Then, based on the known values of ∆φ ( . ) the beginning of the interval ∆t
. and T is</p>
      <sec id="sec-3-1">
        <title>Then, based on the known values of ∆t</title>
        <p>. and T , the end of the interval ∆φ ( . )is calculated</p>
      </sec>
      <sec id="sec-3-2">
        <title>Determination of the beginning ∆φ</title>
        <p>of the new uncertainty interval for the first iteration will
be carried out based on the following conditions:
), then ∆φ</p>
        <p>= ∆φ ( . ), in case ∆φ ( . ) ≥ ∆φ ( . )then
Determination of the end ∆φ
of the new uncertainty interval for the first iteration will be
= ∆φ ( . ) , in case ∆φ ( . ) &lt; ∆φ ( . ) , in case ∆φ ( . ) ≥
calculated using expression (17) as:
operations: determine Uі .
interval Δt, calculate ∆t
using expression (17) as:
∆φ
If 
if 
if 
If 
If 
If 
≈ ( − 
= ∆φ ( . ),
( − 
( − 
) then ∆φ
) then ∆φ
= ∆φ ( . ) ,
= ∆φ ( . ).
carried out based on the following conditions:
∆φ ( . ), then ∆φ
≈ ( − 
( − 
( −</p>
        <p>), then ∆φ
= ∆φ ( . ),
) then ∆φ
) then ∆φ
= ∆φ ( . ) ,</p>
        <p>= ∆φ ( . ) .
. and T , the end of the interval ∆φ ( . ) is
calculated using expression (16) as:</p>
        <p>Determination of the beginning ∆φ ( . ) of the new uncertainty interval for the first iteration
for the function in the time interval t ≤ t &lt; t . To do this, we perform the following additional
, and based on the known sample number and the quantization
(18)
(19)
(20)</p>
        <p>The next step is to calculate the value of the deviation of the sum of squares

u
∑
(φ ) between the vector u∑
(φ ) and the reference function u</p>
        <p>(φ ),
∑
provided that the phase shift is equal to ∆φ , and value 
the phase shift equals ∆φ
using the ratio (11) and (14).</p>
        <p>u
∑
 = 1 and move onto the main stage of calculation.</p>
        <p>Main Stage.</p>
        <p>Step 1. If ∆φ . − ∆φ . ≤ 1 , then stop and accept the value of the phase shift that is equal to
then move onto the 3rd step, if</p>
      </sec>
      <sec id="sec-3-3">
        <title>Then move onto the step 2. Step 2. Determine:</title>
        <p>Where ∆φ . - beginning of the uncertainty interval for the k iteration;
∆φ . - end of the uncertainty interval for the k iteration.</p>
        <p>In other case, if
u
∑</p>
        <p>)(φ ) and go to step 4.
∆φ .(
∆φ .(
) = ∆φ . , ∆φ .(
) = ∆φ . , ∆φ .(</p>
        <p>) = ∆φ .
) = ∆φ . + (1 −  ) × (∆φ .(
) − ∆φ .(
)</p>
        <p>(21)
(22)
(23)
(24)
(25)
Calculate  (
) u∑
(φ ), u∑
(</p>
        <p>)(φ ) and go to step 4.</p>
        <p>Step 4. Replace k with k + 1 and move onto the step 1.</p>
        <p>The main sources of errors in the proposed measurement method are: the error component due
to amplitude-time conversion; the error component due to the formation of the start and end of the
amplitude-time conversion; the influence of external noise and noise from the internal environment
of the measuring device; the rounding error when searching for the minimum value of the sum of
squares deviation; and the error due to the discreteness of the reference function generation.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments, Results, and Discussion</title>
      <p>Given that the use of full-wave rectification for solving the measurement problem of phase shift
determination is a relatively new direction in the field of phasometry, the main objective of this
material is to propose a methodological approach for determining phase shift using this
transformation, which can be used in the construction of information-measuring systems.</p>
      <p>Paper [16] considers the possibility of using full-wave rectification of harmonic signals to
determine phase shift. This material identifies the ways and directions with which it is possible to
implement an oscillographic measurement method using full-wave rectification of harmonic signals.
However, a significant disadvantage of oscillographic measurement methods is the need for visual
reading. This drawback does not allow the use of this method in information-measuring systems,
which can be a component of a system for diagnosing and predicting the technical condition of
complex technical systems.</p>
      <p>Compared to known methods of implementing the compensation method for measuring phase
shift, the proposed method allows reducing costs by up to 70 percent in the manufacturing of
diagnostic and prognostic systems for technical condition, increasing accuracy indicators, and
minimizing its size, by using a function synthesized by the computing means of the
informationmeasuring system as a reference measure of the phase shift, and using MLS as a null indicator. Based
on the characteristics of well-known mathematical software packages that have found wide
application for modeling, such as Mathcad, MATLAB, and Electronics Workbench, it is known that
it is possible to perform calculations with an accuracy of up to the 16th decimal place, which
significantly exceeds the error indicators of known reference measures of phase shift and methods
for implementing physical means of a null indicator.</p>
      <p>The proposed method for determining the length of the uncertainty interval for the first iteration,
compared to the method proposed in [21], will significantly reduce the number of iterations by up
to 50% when searching for the minimum value of the discrepancy between the vectors of the discrete
normalized signal and the normalized reference function using the golden section search method. To
improve the sensitivity of the proposed phase shift determination method, it is proposed to use the
vector of the signal normalized to the average value.</p>
      <p>Additive signal processing, multiplicative signal processing, and Hilbert transform-based phase
meters involve an auto-adjustment operation of signal levels for each of the measuring channels.
The presence of this operation leads to a significant complication of the measuring channels, and
accordingly, to a component of error caused by the phase asymmetry of the signal transmission
channels, as well as the need for synchronization of the analog-to-digital conversion operation.</p>
      <p>To assess the possible measurement error of the proposed phase shift determination method, a
computer measurement experiment was carried out. The computer measurement experiment was
performed using the Monte Carlo method, with the universal mathematical package MathCAD. The
computer measurement experiment was conducted for the following initial data: noise did not exceed
0.2 of the signal level, 0.2, U =10V, U =12V, the analog-to-digital conversion error followed a
uniform distribution law with an interval of 0.01 V, f=1 Hz, the error in forming the reference
function vector followed a uniform distribution law with an interval of 0.0001 V, and 10
instantaneous values were determined per measurement period. Each measurement was performed
5 times. The maximum and minimum error sizes of the measurement results for different phase shift
values are given in Table 1.</p>
      <p>A disadvantage of the proposed method for implementing the compensation measurement
method is that the phase shift measurement range is within [0,  ] radians, and there is a limitation
on the frequency range, which will be determined by the characteristics of the full-wave rectifier.</p>
      <p>Further research, in our opinion, should be directed towards the synthesis of a mathematical
model of the phase shift determination error. This model can subsequently be considered as a
mathematical basis for synthesizing a methodology for justifying the requirements for filtering input
signals u (t) and u (t), analog-to-digital conversion, computing hardware, and software.</p>
      <p>After carrying out the indicated work, it is advisable to conduct computational experiments
through simulation modeling, for example, in MATLAB and Electronics Workbench, in order to
determine the correctness (adequacy) of the proposed models and the feasibility and type of use of
digital filtering of the vector of instantaneous values u∑ (t ), both under the influence of external
electromagnetic interference on the measuring system and with the simulation of internal noise.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions</title>
      <p>A structural diagram for implementing a method to determine the phase shift between two harmonic
signals has been synthesized. The method is based on comparing the shape of a normalized signal—
obtained by summing the harmonic signals after their double half-period transformation—with a set
of normalized reference functions synthesized by computational means. The required list of technical
tools and computational operations needed to solve the task has been identified.</p>
      <p>As a criterion for matching the shapes of the analyzed signal and the reference function, the
minimum deviation of the sum of squares between them is proposed. To solve the problem, an
algorithm is suggested for determining the uncertainty interval in the first iteration, as well as an
algorithm for finding the extremum of the deviation function between the reference function set and
the analyzed signal using the golden section method.</p>
      <p>Compared to conventional methods based on analog-to-digital amplitude-time transformation,
the proposed method offers several advantages: it reduces the error component caused by phase
asymmetry of the transmission channels due to their shorter length; it significantly lowers the
requirements for automatic input signal level adjustment; it allows for the synthesis of a single
analog-to-digital conversion channel for the signal under analysis instead of two, eliminating the
need for synchronization between channels; and it significantly reduces the cost of creating a
multivalued phase shift reference by using a set of synthesized reference functions and a system for
matching the reference function with the test signal.</p>
      <p>The main sources of error in this phase shift measurement method have been identified. The use
of the proposed method for determining phase shift significantly reduces the complexity of control
systems by simplifying circuit design, thereby saving up to 10% of material and technical resources
for monitoring the parameters of military equipment and its components during the testing phases
of development and production, without compromising control quality. Additionally, this method
can serve as a methodological foundation for the development of diagnostic and measurement
systems used in the operation of complex technical systems.</p>
    </sec>
    <sec id="sec-6">
      <title>Declaration on Generative AI</title>
      <p>The authors have not employed any Generative AI tools.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Takhtkeshha</surname>
            , Narges,
            <given-names>Ali</given-names>
          </string-name>
          <string-name>
            <surname>Mohammadzadeh</surname>
            , and
            <given-names>Bahram</given-names>
          </string-name>
          <string-name>
            <surname>Salehi</surname>
          </string-name>
          .
          <article-title>A Rapid SelfSupervised DeepLearning-Based Method for Post-Earthquake Damage Detection Using UAV Data (Case Study: Sarpol-e Zahab, Iran)</article-title>
          .
          <source>Remote Sensing</source>
          .
          <year>2023</year>
          . Vol.
          <volume>15</volume>
          ,
          <issue>1</issue>
          :
          <fpage>123</fpage>
          . DOI:
          <volume>10</volume>
          .3390/rs15010123.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Khaled</given-names>
            <surname>Alomar</surname>
          </string-name>
          , Halil Ibrahim Aysel,
          <string-name>
            <given-names>Xiaohao</given-names>
            <surname>Cai</surname>
          </string-name>
          .
          <article-title>Data Augmentation in Classification and Segmentation: A Survey and New Strategies</article-title>
          . Imaging.
          <year>2023</year>
          . Vol.
          <volume>9</volume>
          , № 2, p.
          <fpage>46</fpage>
          . DOI:
          <volume>10</volume>
          .3390/jimaging9020046.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Kuznetsov</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolomiytsev</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Karlov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kuznetsov</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Timofeev</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          (
          <year>2025</year>
          ).
          <article-title>Improving the accuracy of exponential smoothing in secondary information processing in modern information location systems</article-title>
          .
          <source>Advanced Information Systems</source>
          ,
          <volume>9</volume>
          (
          <issue>2</issue>
          ),
          <fpage>93</fpage>
          -
          <lpage>101</lpage>
          . https://doi.org/10.20998/
          <fpage>2522</fpage>
          -
          <lpage>9052</lpage>
          .
          <year>2025</year>
          .
          <volume>2</volume>
          .12.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Meng</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Tao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Dong</surname>
          </string-name>
          , J. Du,
          <article-title>RNN-LSTM-Based Model Predictive Control for a Corn-toSugar Process</article-title>
          , Processes,
          <year>2023</year>
          ,
          <volume>11</volume>
          (
          <issue>4</issue>
          ),
          <fpage>1080</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Aimaiti</surname>
            , Yusupujiang, Christina Sanon, Magaly Koch, Laurie G. Baise, and
            <given-names>Babak</given-names>
          </string-name>
          <string-name>
            <surname>Moaveni</surname>
          </string-name>
          .
          <article-title>War Related Building Damage Assessment in Kyiv, Ukraine, Using Sentinel-1 Radar and Sentinel-2 Optical Images</article-title>
          .
          <source>Remote Sensing</source>
          .
          <year>2022</year>
          . Vol.
          <volume>14</volume>
          ,
          <issue>24</issue>
          :
          <fpage>6239</fpage>
          . DOI:
          <volume>10</volume>
          .3390/rs14246239Bohdal,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Kukiełka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Legutko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Patyk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Radchenko</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.M.</surname>
          </string-name>
          <article-title>Modeling and Experimental Research of Shear-Slitting of AA6111-T4 Aluminum Alloy Sheet</article-title>
          . Materials,
          <year>2020</year>
          , vol.
          <volume>13</volume>
          , iss. 14, article no.
          <source>3175</source>
          . DOI:
          <volume>10</volume>
          .3390/ma13143175.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Ibragimov</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gashimov</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ismailov</surname>
            ,
            <given-names>T..</given-names>
          </string-name>
          (
          <year>2024</year>
          ).
          <article-title>Research and analysis mathematical model of the demodulator for assessing the indicators noiseimmunity telecommunication systems</article-title>
          .
          <source>Advanced Information Systems</source>
          ,
          <volume>8</volume>
          (
          <issue>4</issue>
          ),
          <fpage>20</fpage>
          -
          <lpage>25</lpage>
          . https://doi.org/10.20998/
          <fpage>2522</fpage>
          -
          <lpage>9052</lpage>
          .
          <year>2024</year>
          .
          <volume>4</volume>
          .03.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Ibragimov</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasanov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gashimov</surname>
          </string-name>
          , E.. (
          <year>2024</year>
          ).
          <article-title>Research and analysis of efficiency indicators of critical infrastructures in the communication system</article-title>
          .
          <source>Advanced Information Systems</source>
          ,
          <volume>8</volume>
          (
          <issue>2</issue>
          ),
          <fpage>58</fpage>
          -
          <lpage>64</lpage>
          . https://doi.org/10.20998/
          <fpage>2522</fpage>
          -
          <lpage>9052</lpage>
          .
          <year>2024</year>
          .
          <volume>2</volume>
          .07.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>