<!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>Endocrine Surgery</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Methods and Tools for Electrophysiological Monitoring of Recurrent Laryngeal Nerve Monitoring During Surgery on Neck Organs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mykola Dyvak</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>Volodymyr Tymets</string-name>
          <email>volodymyrtymets@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andriy Dyvak</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oksana Huhul</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>. Faculty of Computer Information Technologies, Ternopil National Economic University, UKRAINE</institution>
          ,
          <addr-line>Ternopil, 8 Chekhova str.</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Surgery with Urology No1 by L.Ya. Kovalchuk, I. Horbachevsky Ternopil State Medical University, UKRAINE</institution>
          ,
          <addr-line>Ternopil, 1 Maidan Voli</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <volume>4</volume>
      <issue>1</issue>
      <fpage>1</fpage>
      <lpage>3</lpage>
      <abstract>
        <p>- Methods and tools for electrophysiological monitoring and identification of recurrent laryngeal nerve (RLN) are considered in the paper. The method of identification and tools for stimulation of surgical wound tissues during surgery on neck organs are represented. Improved information technology of RLN identification and results of its application are shown.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Recurrent laryngeal nerve (RLN) monitoring is very
important procedure during the neck surgery. For this
purpose, special neuro monitors are used. They work
based on the principle of surgical wound tissues
stimulation and estimation of results of such stimulation
[
        <xref ref-type="bibr" rid="ref1">1-5</xref>
        ]. The main problem that arises during this process is
the proper choice of stimulation methods. In [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and [4],
the latest results of researches related to RLN
neuromonitoring are represented.
      </p>
      <p>Other electrophysiological method of RLN stimulation
and monitoring requires the alternating current with fixed
frequency [7]. The methods and mathematical models for
solving this problem are considered in [6-7].</p>
      <p>The main problem of the mentioned methods is a high
risk of RLN damage. This risk is mainly caused by the
accuracy of output information signal (result of surgery
wound tissues stimulation) processing. Methods of
spectral analysis of this signal [7] give an opportunity to
select the main spectral component and to classify the
surgery wound tissues. Methods of RLN location
visualisation based on building the model of distribution
of amplitude of the information signal on the surgery
wound allow to detect the high-risky area [7]. The
combination of these method in one information
technology of processing of signal (reaction on the
surgery wound tissues stimulation) is an important task.
The paper is dedicated to this task.</p>
      <p>The method of RLN monitoring is based on the task of
its stimulation as the first sub-task. Other aspect of the
task is the processing of reaction on RLN stimulation.
After the processing, a conclusion about the RLN location
in the surgery area is made.</p>
      <p>Let’s consider the functionality principles of existing
hardware solution for RLN identification. The scheme of
the device is shown in Fig.1 [7].
1 is respiratory tube, 2 is larynx, 3 is sound sensor, 4 are vocal
cords, 5 is probe, 6 is surgical wound, 7 is multifunctional block
for RLN stimulation and visualize of RLN</p>
      <p>Fig. 1. Scheme of device and method for RLN identification
In respiratory tube 1 that inserted into larynx 2, the
sound sensor 3 implemented and positioned above vocal
cords 4.</p>
      <p>Probe 5 connected to alternator. It performs the
function of a current generator controlled by the
singleboard computer 7. Surgical wound tissues are stimulated
by the alternating current with the fixed frequency via
probe. As a result, vocal cords 4 are stretched.</p>
      <p>Flow of air that passes through patient’s larynx, is
modulated by stretched vocal cords. The result is
registered by voice sensor 3. Obtained signal is amplified
and is processed by single-board computer 7.</p>
      <p>For processing of obtained signal, special software is
installed on a single-board computer. The main functions
of the software are:</p>
      <p>- segmentation of information signal based on analysis
of its amplitude;
- analysis of amplitude spectrum using
Fouriertransform;</p>
      <p>- calculation of a spectral component with a maximal
amplitude (let’s call it “the main spectral component”
further);</p>
      <p>- classification of tissues of surgical environment at
the points of stimulation using threshold method.</p>
      <p>Software for changing the frequency of RLN
stimulation is written in programming language Node.js.
Node was created by Ryan Dahl. Now Node.js is a
trademark of Joyent, Inc. and is used with its permission
and maintained by the Node.js Foundation [8-9]. Node is
open-source platform and located on Github.</p>
      <p>Block of processing and displaying information is
developed based on single-board computer Raspberry Pі 3
[10].</p>
      <p>Raspberry Pi 3 was selected because of two upgrades
made to it. The first one is a next generation Quad Core
Broadcom BCM2837 64-bit ARMv8 processor making
the processor speed increased from 900 MHz in the Pi 2 to
up to 1.2GHz in the Pi 3.</p>
      <p>The second one is addition of the built-in BCM43143
Wifi chip. There is also Bluetooth Low Energy (BLE)
module implemented on the board.</p>
      <p>At the same time, such an approach does not ensure a
significant decrease in the RLN damage risk. For
detection of high-risky area of surgery, it is expedient to
build a mathematical model for RLN identification.</p>
      <p>For these purposes, we use the properties of surgical
wound tissues which are characterized by a different
reaction on the stimulation by alternating current with a
fixed frequency. In Fig. 2, the fragments of amplified
information signal obtained from the sound sensor and
fragments of their spectral characteristics are shown.
main spectral component in Fig. 2 a). Fig. 2 b) reflects the
result of stimulation of the muscle tissue at a distance of
not more than 3 mm, with a specific distinguished main
spectral component with a small amplitude value. Finally,
the result of RLN stimulation with a specific main spectral
component with a sufficiently high normalized amplitude
(6 times higher than in the previous case) is illustrated in
Fig. 2 c).</p>
      <p>The described properties give a possibility to develop
the method, mathematical model and to improve the RLN
identification technology in general.</p>
      <p>III.</p>
      <p>MATHEMATICAL MODEL FOR RLN</p>
    </sec>
    <sec id="sec-2">
      <title>IDENTIFICATION</title>
      <p>Let’s represent obtained set of stimulated points in
such form:
  ,
=  −, ,   , ,  = 1, … ,  ,  = 1, … ,  , (1)
+
where [zi, j ] is an interval estimation of the normalized
amplitude of main spectral component; i, j are indices of
discrete increments of coordinate values on X and Y axes
relatively to some initially given point. Interval estimation
of the amplitude [zi, j ] is caused by the fact that different
values of main spectral component amplitude zi, j may be
obtained for equal values of i and j. In addition, there is
some error of detecting the point with coordinates i, j.</p>
      <p>
        A mathematical model for RLN identification is
considered as a discrete difference model (DDM), that is,
the difference scheme in such form [
        <xref ref-type="bibr" rid="ref1">1, 7</xref>
        ]:
 +1 ,+1
=  +−1 ,+1 ;  ++1 ,+1
      </p>
      <p>=  ⃗ (  0,0 , …,
 0, , … ,   ,0 , … ,   , ∗  ⃗,
  =  + 1, … ,  ,  =  + 1, … ,  , (2)
where f T (•) is a vector of unknown basis functions that

define the structure of DDM; vi, j is a predicted value of
main spectral component amplitude in the point with

discrete specified spatial coordinates i, j; g is a vector of
unknown parameters of DDM; d is order of DDM. Further,
the model (2) will be called an interval discrete difference
model (IDDM).</p>
      <p>To identify this model, the results of measurement of the
main spectral component amplitude in the points of
stimulation are used.</p>
      <p>Based on the requirements of ensuring the accuracy of
the model within the accuracy of the experiment, the
setting of IDDM (2) will be realized using such criterion
[2]:</p>
      <p>+
 −, ;   ,</p>
      <p>− +
⊂ ̂  , ; ̂  , , ∀ = 1, … , ∀ =
1, … ,  .
(3)</p>
      <p>We can see the result of stimulation of the muscle
tissue at a distance of more than 1 cm from RLN, with a
specific blurred spectrum, without a clearly distinguished
By substituting in the expression (3), the recurrent
 −  +
expression (2) instead of the interval estimations [vi, j ; vi, j ] ,
together with the defined initial interval values, we obtain
the interval system of non-linear algebraic equations
(ISNAE) [12]:
 0−,0;  0+,0
⊆ ̂ 0−,0; ̂ 0+,0 ;
,
 0,0 , … ,  −1 ,−1
,  ⃗ , , … ,  ⃗ ,
∗
 0,0 , … ,  −1 ,−1
,  ⃗ , , … ,  ⃗ ,
∗
⎩ = 2, …  ,  = 2
The solution of the obtained system is a vector of
unknown parameters of IDDM g . Methods of solving of

this system are described in the papers [11-12].</p>
    </sec>
    <sec id="sec-3">
      <title>The obtained model in the form of IDDM (2) is graphically represented in Fig. 3.</title>
      <p>information signal is digitized and processed by the
single-board computer Raspberry Pi 3. The stimulation
results are processed in a real-time mode. Also, they may
be stored on the external data storages.</p>
      <p>Step 2. Segmentation of information signal.</p>
      <p>This step is needed to highlight the patient reaction on
tissues stimulation from sound signal taken during inhale
or exhale.</p>
      <p>In Fig. 4, the information signal is displayed and the
segmentation principle is visually represented. As we can
see from the Fig. 2, there are two segments. Each of them
is result of the stimulation of RLN. The intervals between
the segments represent delay of a patient’s breath. These
intervals are</p>
      <p>not informative for tissue classification
method and named as the noise.</p>
      <p>Unlike
existing
method
of
segmentation
“synchronization with the appearance of the current of
stimulation”, main approach of automatic segmentation is
based
on
the
principle of threshold
choice
of an
informative segment.</p>
      <p>energy threshold of current, n countdowns are
proposed:
where   is і-th countdown of information signal.

= ∑

 =1
 2,</p>
      <p>If this energy exceeds the threshold, then, this is the
beginning of the segment:

≥  
, then,     
amplitude of the main spectral component of signals as
the reaction on RLN stimulation and surgical wound
tissues stimulation is marked with grey color. The RLN
location is marked by black colored line on the plane.</p>
      <p>IV.</p>
      <sec id="sec-3-1">
        <title>METHODS AND TOOLS OF</title>
        <p>ELECRTOPHYSIOLOGICAL MOMITORING RLN</p>
        <p>For RLN location identification in the surgery area
during
surgery
on
neck
organs,
we improved the
information technology. This technology consists of 4
main steps, a detailed description of which is given below.
The scheme of the information technology is shown in
Fig. 4.
where
determined signal.</p>
        <p>;     

=   ∈      ;</p>
        <p>,
is interval
of countdowns of
Step 3. Selecting of the main spectral component.</p>
        <p>After segmentation of information signal recorded by
sound sensor, it is necessary to select the main spectral
component of the information signal. At first, the Fourier
transform is used for this.</p>
        <p>As it is shown in Fig. 2, the amplitude of the main
spectral component depends on the distance from the
stimulation point to the RLN. Therefore, the amplitude of
the selected spectral component is in inverse proportion to

≤  
, then,    
.</p>
        <p>So, the resulting segment consists
of a set of
tissues in surgical wound during surgery on the neck</p>
        <p>Step 4. Modeling of distribution of the main spectral</p>
        <p>The obtained at this stage data array is represented in
component amplitudes.</p>
        <p>A
mathematical</p>
        <p>model for RLN identification is
considered as an interval discrete dynamic model that is,
the difference scheme in form (2). For its identification,
the</p>
        <p>method of structural and parametric identification
based on the behavioral model of artificial bee colony
[1314] is used. Behavioral model of artificial bee colony
imitates the foraging behavior of the honeybee colony</p>
        <p>The application of this IDDM structural identification
method involves the implementation of activity phases of
all types of bees in the colony: onlooker bees, employed
bees
and
scout
bees.</p>
        <p>Let's
consider
all
stages
of
implementation of IDDM structural identification method
in more details. The result, at this stage, is the model that [9] P.
graphically represented in Fig. 3. Probable RLN location
is illustrated by black line.
test
examples
with
sample of over
1500
stimulation points for different patients showed that using
presented technology allow to decrease the RLN damage
risk from 20% to 14%. So, the proposed
methods and
tools for electrophysiological RLN
monitoring have a
good perspective of development and application.</p>
      </sec>
      <sec id="sec-3-2">
        <title>VI. CONCLUSION</title>
        <p>proposed
methods
and
tools
for
electrophysiological RLN</p>
        <p>monitoring and identification
are realized using single-board computer Raspberry Pi 3.
Applying of this methods for previously obtained sample
of signals (reaction on stimulation of surgical wound
tissue) showed good results. In particular, it was shown
that for sample of over 1500 stimulation points for
different patients using this technology, the risk of RLN
damage is decreased from 20% to 14%.</p>
      </sec>
      <sec id="sec-3-3">
        <title>ACKNOWLEDGMENT</title>
        <p>This research was supported by National Grant of
of
of
“Mathematical tools and software for classification of
(6)
(7)</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Monitoring</title>
      <p>and Parathyroid</p>
    </sec>
    <sec id="sec-5">
      <title>Surgery,</title>
      <p>6, pp. 608-610, 2017.</p>
      <p>Barczynski, P. Angelos, H. Dralle, E. Phelan and G.</p>
    </sec>
    <sec id="sec-6">
      <title>Randolph.</title>
    </sec>
    <sec id="sec-7">
      <title>Monitoring of the Recurrent Laryngeal Nerve during Thyroidectomy: A</title>
      <p>Standardized Approach (Part 2)”. World Journal of
[3] V.K. Dhillon and R.P. Tufano. “The pros and cons to
real-time nerve monitoring during recurrent laryngeal
nerve dissection: an analysis of the data from a series
of thyroidectomy patients”. Gland Surgery, vol. 6, no.
[4] H.Y. Kim,</p>
      <p>X. Liu, C.W. Wu, Y.J. Chai and G.</p>
      <p>Dionigi. “Future Directions of Neural Monitoring in
[5] W.E.</p>
    </sec>
    <sec id="sec-8">
      <title>Davis, J.L.</title>
    </sec>
    <sec id="sec-9">
      <title>Rea, J. Templer.</title>
      <p>laryngeal nerve localization using a
microlaryngeal</p>
      <sec id="sec-9-1">
        <title>Otolaryngology – Head and</title>
        <p>identification
laryngeal</p>
      </sec>
      <sec id="sec-9-2">
        <title>Przegląd</title>
      </sec>
    </sec>
    <sec id="sec-10">
      <title>Node.js:</title>
    </sec>
    <sec id="sec-11">
      <title>Building</title>
    </sec>
    <sec id="sec-12">
      <title>Based Scalable Software,” Indianapolis, [10] Bush, Steve (25 May 2011). "Dongle computer lets kids discover programming on a TV,". Electronics</title>
      <p>interval</p>
      <sec id="sec-12-1">
        <title>Conference</title>
      </sec>
      <sec id="sec-12-2">
        <title>Application</title>
        <p>difference</p>
      </sec>
      <sec id="sec-12-3">
        <title>Experience of Designing and</title>
        <p>CAD
(CADSM), pp. 87-87, 2011.
and
the
“A
(ABC)
comprehensive
survey: artificial
bee
colony
algorithm
and
[14] D. Karaboga, “An idea based on honey bee swarm for</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <source>[1] Abstract book of First World Congress of Neural Surgery</source>
          , vol,
          <volume>87</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>330</fpage>
          -
          <lpage>333</lpage>
          ,
          <year>1979</year>
          . [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Dyvak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Kozak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pukas</surname>
          </string-name>
          . “
          <article-title>Interval model for Elektrotechniczny</article-title>
          , vol.
          <volume>86</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>139</fpage>
          -
          <lpage>140</lpage>
          ,
          <year>2010</year>
          . [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Dyvak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Kasatkina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pukas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Padletska</surname>
          </string-name>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <article-title>“Spectral analysis the information signal in the task of identification the recurrent laryngeal nerve in thyroid surgery”</article-title>
          .
          <source>Przegląd Elektrotechniczny</source>
          , vol.
          <volume>89</volume>
          , no.
          <issue>6</issue>
          , рр.
          <fpage>275</fpage>
          -
          <lpage>277</lpage>
          ,
          <year>2013</year>
          . [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Cantelon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Harter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.J.</given-names>
            <surname>Holowaychuk</surname>
          </string-name>
          and
          <string-name>
            <surname>N.</surname>
          </string-name>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          Rajlich. “Node.js in Action. Shelter Island,” NY: Manning Publications,
          <year>2013</year>
          , 416 pp.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          “Professional [10]
          <string-name>
            <surname>Bush</surname>
          </string-name>
          ,
          <source>Steve (25 May</source>
          <year>2011</year>
          ).
          <article-title>"Dongle computer lets Weekly</article-title>
          .
          <source>Retrieved 11 July</source>
          <year>2011</year>
          .. [11]
          <string-name>
            <given-names>I.</given-names>
            <surname>Voytyuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dyvak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Spilchuck</surname>
          </string-name>
          , “
          <article-title>Research of quality characteristics of models structure in kind of</article-title>
          [13]
          <string-name>
            <given-names>D.</given-names>
            <surname>Karaboga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gorkemli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Ozturk</surname>
          </string-name>
          , N. Karaboga,
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>