<!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>ORCID:</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Surgical lights to enhance</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Adityapratap Singh</string-name>
          <email>singhadityajoy@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>D. J. Pete</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Mumbai, Datta Meghe College of Engineering</institution>
          ,
          <addr-line>Airoli</addr-line>
          ,
          <country country="IN">India</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2043</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>Surgical lights with single or multiple light heads assemblies are required to provide illumination at surgical sites, but it has been observed that manual intervention is required to move the light head each time the surgeon changes their position to reduce the effect of shadows, this causes obstruction in surgical procedure as well contamination of instruments such as surgical light head, resulting into more frequent sterilization cycles. This research approach aims at designing a system capable of detecting the surgeon's head and based on the distance between the surgeon and the lighthead, sufficient rise in intensity is provided to compensate for the loss of intensity due to obstruction. It was found that the intensity compensation provided was in most cases identical to the original intensity values obtained without obstruction, and slightly lower in few extreme cases. Taking into account the hardware limits of light head assembly as well as the maximum achievable intensity limit approved, it was observed that the system with automatic intensity compensation performed better than the original system. Shadowless surgical light; Intensity compensation; Ultrasonic sensor; Surgical illumination</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>system</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>
        Surgical light generally consists of one or multiple light heads, it depends on the surgery being
performed, illumination required for that particular type of surgery, or based on operator’s needs.
However, it was found that during these operating procedures, these lights were required to be
repositioned frequently or changes in the intensity settings were made with movement of the surgeons
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. This in turn distracted the surgeon from the work being performed as well as the contamination of
the light instruments were caused, which resulted in the frequent sterilization of light accessories.
Particularly in case of open surgeries, frequent access of Light head is to be avoided, but frequent
repositioning requirement to maintain the intensity defeats this purpose.
      </p>
      <p>
        To solve this issue many different approaches were taken, such as tracking of the surgeon's hand
using image recognition to adjust the light head position [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and use of an array of ultrasonic sensors
for automatic repositioning of the arm system [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. But these approaches require complex mechanisms,
have relatively high initial cost of implementation and do not guarantee fail-safe operation of surgical
light heads.
      </p>
      <p>This research work aims to compensate for the lost intensity of the light head when an obstacle
occurs near it using ultrasonic sensor sensors to detect the obstacle and to provide intensity boost
based on the obstacle (surgeons head in this case) distance from the light head without having to
move the entire light head assembly. This makes the system more robust, less prone to errors and</p>
      <p>2022 Copyright for this paper by its authors.
failures, cost effective, low power consuming which wasn’t the case with automated systems and
more importantly an affordable solution for all.</p>
      <p>In order to actually implement this project both ultrasonic sensors and the infrared time of flight
sensors were compared, but in terms of cost, accuracy and range, ultrasonic sensors were found to be
a better alternative. Since Light head operates at very high intensity and is a combination of LEDs
from different wavelengths, it may interfere with the IR time of flight sensor and may result in
erroneous result and this was another reason why ultrasonic sensor is selected because its operating
principle is based on sound.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Literature Review</title>
      <p>
        Fuan et al. (2019) aim to design an illumination system that will automatically track the movement
of the surgeon's hand with a specific color of glove and provide the necessary illumination [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Choi
et al. (2007) developed an auto-illumination system that autonomously tracks the surgeon's movement
in X-Y-Z direction using ultrasonic sensors, and based on the surgeon's position determined,
illumination is provided by moving the lighthead [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Walters et al. (2005) described an electronic
lighting apparatus with at least one multiple position adjustable lighting pod. Each lighting pod
includes at least one variable intensity light source and a proximity sensor for detecting objects
interposed between the lighting pod and a work field. Each variable intensity light source is powered
by a controllable pulse width modulated power supply or other suitable power supply which can be
utilized to vary the intensity of the light source. In response to detection of an object interposed
between a particular lighting pod and the work surface, the power to that lighting pod is increased,
increasing the illumination of the work field. Alternatively, power to that lighting pod may be
decreased and power to alternate lighting pods is increased, thereby minimizing shadows within the
work field [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Michael Hollopeter et al. (2019) demonstrated the adaptive shadow control system that
compensates for blockage of one lighthead of a surgical lighting system by increasing the light output
from one or more other lightheads of the lighting system. The system also includes control logic for
automatic enablement/disablement of adaptive shadow control by detecting whether there is blockage
of a light head and whether the respective light beams of a plurality of lightheads are being
aggregated to form a single aggregated co-illumination light pattern at a work area [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
    </sec>
    <sec id="sec-4">
      <title>3. Proposed Methodology</title>
      <p>The proposed system is an efficient and cost-effective solution to the problem of shadows
occurring due to obstacles (Surgeon’s head in this case) present under the light head.
3.1.</p>
    </sec>
    <sec id="sec-5">
      <title>Block Diagram of System</title>
      <p>Ultrasonic sensor module used is HC-SR04, it sends eight 40 kHz signals and reads the received
signal, depending on the time gap between sending and receiving of the signal the obstacle distance is
calculated. Details of HC-SR04 sensor is mentioned in table below:</p>
      <sec id="sec-5-1">
        <title>Working voltage</title>
      </sec>
      <sec id="sec-5-2">
        <title>Working Current</title>
      </sec>
      <sec id="sec-5-3">
        <title>Working frequency</title>
      </sec>
      <sec id="sec-5-4">
        <title>Max range</title>
      </sec>
      <sec id="sec-5-5">
        <title>Min range</title>
      </sec>
      <sec id="sec-5-6">
        <title>Measuring angle</title>
      </sec>
      <sec id="sec-5-7">
        <title>Trigger Signal</title>
      </sec>
      <sec id="sec-5-8">
        <title>Echo signal</title>
      </sec>
      <sec id="sec-5-9">
        <title>Dimensions</title>
        <p>DC 5V
15 mA
40 kHz
4 m
2 cm
15 degree
10uS TTL pulse</p>
      </sec>
      <sec id="sec-5-10">
        <title>Input TTL level signal and the range in proportion 45*20*15mm</title>
        <p>Three different ultrasonic sensors are mounted on the lighthead sub-assemblies, each having a
sensing angle of 15 degrees, with a range of 2-400 cm. All the lighthead readings are performed at a
height of 100 cm, and the sensing range of the ultrasonic sensor is effectively limited to 80 cm. As
illustrated from Figure 2. the obstacle sensing is divided into three sections, The section below 40 cm
is represented as Band 1 and it has been found that this section is least prone to shadows, Band 2 lies
in the range 40-60 cm and this section is moderately prone to shadows due to the obstacles occurring,
Band 3 lies in the 60-80 cm range and is found to be highly prone to the shadows occurring at
operating area due to the obstacles present in this section.
3.2.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Software Flowchart</title>
      <p>When in Manual mode, surgical lighthead operates normally and requires human intervention for
adjusting the intensity, manually positioning the Lighthead for reducing the shadows and to put it in
or out of standby mode. In Automatic compensation mode, along with manual control Surgical
lighthead performs automatic intensity compensation to reduce the effect of shadows occurring due to
obstacles, for ease of surgery.</p>
      <p>When manual adjustment is not detected, Ultrasonic sensor 1 is scanned to check if the
obstacle is present and as seen in Fig 3. the following cases occur:</p>
      <sec id="sec-6-1">
        <title>Case 1: Obstacle is detected</title>
        <p>Temperature and humidity of the surrounding area was measured using a DHT11 sensor to
accurately calculate the speed of sound, Since the temperature and humidity of the operating room
may vary slightly in various cases. Speed of sound is calculated as follows:</p>
        <p>Speed of sound(in M/S) = 331.4 + (0.606 * temperature) + (0.0124 * humidity)</p>
        <p>
          Speed of sound(in cm/ms) = (331.4 + (0.606 * temperature) + (0.0124 * humidity)) / 10000
In Operation theatre, temperature is maintained at 21°C ± 3°C and humidity between 20 to 60%
[
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]
        </p>
        <p>Once Speed of sound is calculated based on temperature and humidity readings, the time interval
is measured between trigger and echo pulses and distance is calculated using the formula:</p>
        <p>Distance (in cm) = (duration / 2) * Speed of sound (in cm/ms)</p>
        <p>Here duration is divided by 2 since the sound wave covers the same distance twice (i.e going
towards and returning from the obstacle)</p>
        <p>Based on the distance obtained, three different ranges of bands are defined i.e Band1 for distance
below 40 cm, Band2 for distance in between 40 and 60 cm and Band3 for distance in between 60 and
80 cm as seen in Fig 2.</p>
        <p>•
•</p>
        <p>Flag1 is set to 1, 2 or 3 based on the distances lying in different bands.</p>
        <p>Now Ultrasonic sensor 2 is scanned.</p>
      </sec>
      <sec id="sec-6-2">
        <title>Case 2: Obstacle is not detected</title>
        <p>If no obstacle is detected then sequential scanning of another ultrasonic sensor is initiated.</p>
        <p>Similar process is repeated for Ultrasonic sensors 2,3 as well and the Flag2 and Flag3 data
obtained from them are stored as seen in Fig 3. After all the sensors are scanned in a cycle, the Flag
variables are compared to find the maximum among them. Once max value is identified, three cases
originate as follows:
Case 1: When Max = 1</p>
        <p>In this mode the obstacle detected is at a distance less than 40 cm from the lighthead.</p>
        <p>All the measurements illustrated in Figure 4. And Figure 5. are performed at a fixed intensity of
light head adjusted at around 60k ± 2% lux and at a distance of 1 meter from the operating table.</p>
        <p>As seen in Figure 4. Case-a the intensity drops down to around 46.5k when obstacle is present in
band 1 i.e distance less than 40 cm from lighthead. An intensity boost of around 15k lux is provided
to compensate for the reduced intensity as seen in Figure 5. case-a
Case 2: When Max = 2</p>
        <p>In this mode the obstacle detected is at a distance between 40 cm to 60 cm from the lighthead.</p>
        <p>As seen in Figure 4. case-b the intensity drops down to around 39.5k when obstacle is present in
band 2 i.e in between 40 cm and 60 cm from lighthead. An intensity boost of around 20k lux is
provided to compensate for the reduced intensity as seen in Figure 5. case-b
Case 3: When Max = 3</p>
        <p>In this mode the obstacle detected is at a distance between 60 cm to 80 cm from the lighthead.</p>
        <p>As seen in Figure 4. case-c the intensity drops down to around 24k when an obstacle is present in
band 3 i.e in between 60 cm and 80 cm from the lighthead. An intensity boost of around 35k lux is
provided to compensate for the reduced intensity as seen in Figure 5. case-c</p>
      </sec>
      <sec id="sec-6-3">
        <title>Calculations</title>
        <p>For applying the intensity boost based on the obstacle position, the change in pwm count necessary
was needed to be determined.</p>
        <p>As illustrated in Figure 6. PWM vs intensity plot was obtained based on the points from Table 2.</p>
        <p>From the points plotted it was identified that a curve with a quadratic equation would fit this plot.
Thus, a second order polynomial quadratic equation that would fit the curve is found as follows:
y = a + bx - cx²
Where
a = -14240.24, b = 512.4376, c = - 0.543691
x = PWM count, y = Intensity (in lux)
y = -14240.24 + 512.4376x - 0.543691x²
Equation 1</p>
        <p>When obstacle is detected, PWM count at that instant is taken into account and based on it
intensity value is obtained using above Equation 1, After intensity is obtained amount of boost
required is added to it, Now this New boosted intensity is again converter into PWM count using
Equation 1, which is then used to control the LED brightness by adjusting the output current of LED
drivers as illustrated in Fig 1.</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>4. Results</title>
      <p>This section presents the results for the Intensity compensation due to an obstacle present under
the light head and from gesture control of light head.
4.1.</p>
    </sec>
    <sec id="sec-8">
      <title>Intensity compensation under presence of obstacle</title>
      <p>When obstacle is present in band 2, the plot of intensity without obstacle exhibits behavior very
similar to plot of intensity when obstacle is present as seen in case a of Figure 9, only the magnitude
remains different, thus by applying intensity compensation the plot of intensity with obstacle assumes
a similar behavior to the curve when obstacle was not present as in Figure 9 case b.</p>
      <p>When obstacle is present in Band 3 highest compensation is to be provided, but if the original
intensity without obstacle is less than the amount of intensity compensation provided (i.e 35k lux for
band 3) when obstacle is in the Band 3 than the intensity with compensation will have higher
magnitude than the original intensity present without obstacle. As a result the plotted curve is from
175 pwm count onwards, because this is the range where original intensity is approached and below
this count the intensity obtained will be higher than it was originally.</p>
    </sec>
    <sec id="sec-9">
      <title>5. Discussion</title>
      <p>During the measurements it has been observed that when an obstacle is close to the light head the
intensity drop is lowest and as the distance between the lighthead and obstacle increases the intensity
drop increases. From the results it has been deduced that when intensity is above 30k lux, the
compensated intensity curve (when the obstacle is present) exhibits behavior similar to that of original
intensity without obstacle. Below 30k lux this behavior is not similar but as per opinion of various
surgeons, it was found that most of the surgeries are operated at an intensity equal to or greater than
40k lux hence this approach is practically feasible. Since it is very tough to implement a closed loop
system based on light sensor feedback in the operating environment, this open loop system is
implemented with least possible errors in the general operating intensity range.</p>
      <p>One noticeable point is that if intensity is towards the max side and the obstacle appears then this
system may not be able to increase the intensity any further due to hardware limitations as the original
intensity is already at max and anything beyond would not be possible with that existing hardware, it
is also due to the fact that max allowable intensity for surgical procedure is below 160k lux to prevent
surgeons eyes from permanent damage due to excessive intensity.</p>
      <p>Future scope of this system can be using multiple light heads with intensity compensation feature
to overcome the problem of hardware limitations as well as intensity limitation, since one of the light
heads can be at top of surgeon and the other can be placed sideways and thus even at a lower
intensity, shadowless-ness can be achieved.</p>
    </sec>
    <sec id="sec-10">
      <title>6. Acknowledgements</title>
      <p>The authors declare that they have no known competing financial interests or personal
relationships that could have appeared to influence the work reported in this paper.</p>
      <p>This research was completely self-funded and few resources used such as the LUX Meter and the
surgical light external enclosure were borrowed from Prism Surgicare Pvt Ltd. Prism Surgicare had
no role in collection, management, interpretation and analysis of data. It had no role in preparation,
review or approval of the manuscript and the decision to submit the manuscript for publication.</p>
      <p>This manuscript is the authors' original work and has not been published nor has it been submitted
simultaneously elsewhere.</p>
      <p>All authors have checked the manuscript and have agreed to the submission.</p>
    </sec>
    <sec id="sec-11">
      <title>7. References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Fuan</surname>
            ,
            <given-names>K.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Syafeeza</surname>
            ,
            <given-names>A.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kasai</surname>
            ,
            <given-names>M.F.A.M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Saleh</surname>
            ,
            <given-names>S.M.</given-names>
          </string-name>
          ,
          <year>2019</year>
          .
          <article-title>A Design of Automated Surgical Illumination System</article-title>
          .
          <source>In Intelligent and Interactive Computing</source>
          (pp.
          <fpage>389</fpage>
          -
          <lpage>395</lpage>
          ). Springer, Singapore.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Choi</surname>
            ,
            <given-names>D.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yi</surname>
            ,
            <given-names>B.J.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Kim</surname>
            ,
            <given-names>W.K.</given-names>
          </string-name>
          ,
          <year>2007</year>
          ,
          <string-name>
            <surname>August.</surname>
          </string-name>
          <article-title>Automation of surgical illumination system using robot and ultrasonic sensor</article-title>
          .
          <source>In 2007 International Conference on Mechatronics and Automation</source>
          (pp.
          <fpage>1062</fpage>
          -
          <lpage>1066</lpage>
          ). IEEE.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Mooijweer</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <year>2011</year>
          .
          <article-title>The surgical lighting problem:'Manipulation problems with the surgical lighting system during surgical procedures'.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Roshan</surname>
            ,
            <given-names>T.A.U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sachinthana</surname>
            ,
            <given-names>L.M.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Senarathna</surname>
            ,
            <given-names>P.M.N.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Welgama</surname>
            ,
            <given-names>W.J.W.P.D.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Amarasinghe</surname>
            ,
            <given-names>Y.W.R.</given-names>
          </string-name>
          ,
          <year>2016</year>
          .
          <article-title>Design and development of an intelligent lighting system for operation theatres</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Latha</surname>
            ,
            <given-names>N.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murthy</surname>
            ,
            <given-names>B.R.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Kumar</surname>
            ,
            <given-names>K.B.</given-names>
          </string-name>
          ,
          <year>2016</year>
          .
          <article-title>Distance sensing with ultrasonic sensor and Arduino</article-title>
          .
          <source>International Journal of Advance Research</source>
          , Ideas and Innovations in Technology,
          <volume>2</volume>
          (
          <issue>5</issue>
          ), pp.
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Mustapha</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zayegh</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Begg</surname>
            ,
            <given-names>R.K.</given-names>
          </string-name>
          ,
          <year>2013</year>
          , December.
          <article-title>Ultrasonic and infrared sensors performance in a wireless obstacle detection system</article-title>
          .
          <source>In 2013 1st International Conference on Artificial Intelligence, Modelling and Simulation</source>
          (pp.
          <fpage>487</fpage>
          -
          <lpage>492</lpage>
          ). IEEE.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Koval</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vaňuš</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Bilík</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <year>2016</year>
          .
          <article-title>Distance measuring by ultrasonic sensor</article-title>
          .
          <source>IFACPapersOnLine</source>
          ,
          <volume>49</volume>
          (
          <issue>25</issue>
          ), pp.
          <fpage>153</fpage>
          -
          <lpage>158</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Walters</surname>
            ,
            <given-names>M.W.</given-names>
          </string-name>
          ,
          <source>FOCUS REPAIR SERVICES Ltd</source>
          , “
          <article-title>Lighting apparatus with electronic shadow compensation</article-title>
          ,”
          <source>U.S. Patent</source>
          <volume>6</volume>
          ,
          <issue>880</issue>
          ,
          <fpage>957</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Hollopeter</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Jesurun</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , American Sterilizer Co, “
          <article-title>Adaptive shadow control system for a surgical lighting system</article-title>
          ,”
          <source>U.S. Patent</source>
          <volume>10</volume>
          ,
          <issue>271</issue>
          ,
          <fpage>398</fpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Nabh</surname>
          </string-name>
          .co.
          <year>2021</year>
          . [online] Available at: &lt;https://www.nabh.co/images/pdf/RevisedGuidelines_AirConditioning_
          <fpage>OT2018</fpage>
          -final.
          <source>pdf&gt; [Accessed 15 June</source>
          <year>2021</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Cdn</surname>
          </string-name>
          .sparkfun.com.
          <year>2021</year>
          . [online] Available at: &lt;https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf&gt; [Accessed 7 June 2021].
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>