0% found this document useful (0 votes)
4 views72 pages

Project Report

Uploaded by

jahnaviraju2004
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views72 pages

Project Report

Uploaded by

jahnaviraju2004
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

AI DRIVEN INFECTION CONTROL ROBOT

FOR HOSPITAL

A PROJECT REPORT

Submitted by

JAHNAVI H (110322121011)

KAVINA G (110322121012)

SUMITHRA A (110322121034)

in partial fulfillment for the award of the degree

of

BACHELOR OF ENGINEERING

IN

BIOMEDICAL ENGINEERING

GRT INSTITUTE OF ENGINEERING AND TECHNOLOGY

ANNA UNIVERSITY: CHENNAI 600 025

APRIL 2026

i
ANNA UNIVERSITY: 600 025

BONAFIDE CERTIFICATE

Certified that this project report “AI DRIVEN INFECTION CONTROL ROBOT FOR
HOSPITAL” is the Bonafide work of “JAHNAVI H (110322121011),
KAVINA G (110322121012), SUMITHRA A (110322121034)” who carried
out the project work under my supervision.

SIGNATURE SIGNATURE
Dr. S. A. YUVARAJ M. E, Ph.D., Mr. S. PRASANTH M. Tech.,
HEAD OF THE DEPARTMENT PROJECT SUPERVISOR
Professor Assistant Professor
Department of BME Department of BME
GRT Institute of Engineering and GRT Institute of Engineering and
Technology Technology
Tiruttani-631209. Tiruttani-631209.

Submitted for the university lab examination held on.........................

INTERNAL EXAMINER EXTERNAL EXAMINER

ii
ACKNOWLEDGEMENT

First and foremost, we place this project work on the feet of GOD
ALMIGHTY and PARENTS who is the power of strength in each step of
progress towards the successful completion of our project.

Our sincere thanks to honorable chairman, Shri. G. RAJENDRAN


and Managing director Shri. G. R. RADHAKRISHNAN for creating a
wonderful atmosphere inside the campus.

We express our heartfelt thanks to our principal, Dr. S.


ARUMUGAM, Ph.D., who helped us in providing the required facilities to
complete this project.

We would like to express our deep gratitude to Dr. S. A. YUVARAJ,


M.E., Ph.D., Professor & Head, Department of Biomedical Engineering, for
giving the opportunity and facilities to complete our work in time.

We would like to extend our special gratitude to our project


coordinator Mr. S. PRASANTH, M. Tech., Assistant Professor, Department of
Biomedical Engineering, for his kind co-operation and guidance in doing our
project work.

We would like to express our deep sense of profound gratitude and


thanks to our project supervisor Mr. S. PRASANTH, M. Tech., Assistant
professor, Department of Biomedical Engineering, for his enthusiastic guidance,
suggestions, and constant encouragement completing the project.

Finally, we thank our FACULTY MEMBERS and FRIENDS for


their moral support and valuable suggestions for completing this project.

iii
ABSTRACT

Hospital-acquired infections (HAIs) remain a significant challenge in healthcare


facilities, leading to increased patient morbidity, mortality, and operational costs.
This project proposes the design and development of an AI-driven infection control
robot aimed at enhancing hospital hygiene and minimizing the spread of infectious
diseases. The system integrates autonomous navigation, artificial intelligence, and
advanced disinfection technologies to perform efficient and consistent sanitization
of hospital environments.
Equipped with UV-C light and/or disinfectant spraying mechanisms, it effectively
targets high-contact surfaces and contaminated areas.
The proposed system also incorporates environmental sensors to assess air quality
and detect potential contamination risks. Data collected by the robot is processed
and visualized through a centralized dashboard, providing healthcare
administrators with actionable insights, including infection risk mapping and
compliance reports. By combining automation with intelligent analytics, the AI-
driven infection control robot aims to reduce human exposure to pathogens,
improve sanitation efficiency, and support infection prevention protocols in
modern healthcare facilities.
This solution offers a scalable and innovative approach to hospital infection
control, contributing to safer healthcare environments and improved patient
outcomes.

iv
TABLE OF CONTENTS

CHAPTER TITLE PAGE


NO. NO.
ABSTRACT iv
LIST OF FIGURES vii
LIST OF TABLES viii
1 INTRODUCTION 9
1.1 AIM 10
1.2 OBJECTIVE 10
1.3 MOTIVATION 11
1.4 PROBLEM STATEMENT 11
1.5 PROPOSED SYSTEM 12
1.6 SCOPE OF THE SYSTEM 12
2 LITERATURE SURVEY 13
3 MATERIALS AND METHODS 23
3.1 BLOCK DIAGRAM 23
3.2 BLOCK DIAGRAM DESCRIPTION 24
3.3 COMPONENTS USED
3.3.1 ESP32-WROOM-32 DEV BOARD 25
3.3.2 SENSORS 27

[Link] ULTRASONIC SENSOR 27


[Link] AIR QUALITY SENSOR 31
[Link] MPU6050 33

3.3.3 LED UV STRIP 35


3.3.4 MIST MAKER 37
3.3.5 BUZZER 39

v
3.3.6 MOTOR DRIVER 40
3.3.7 MOTOR 42
3.3.8 LITHIUM ION BATTERY 44
3.3.9 LM2596 CONVERTER 46
3.3.10 5VOLT RELAY 48
3.3.11 XL6009 DC-DC BOOST 50
CONVERTER MODULE
4 RESULT & DISCUSSION 51
4.1 RESULT 54
4.2 DISCUSSION 55
5 CONCLUSION & FUTURE WORK 57
5.1 CONCLUSION 57
5.2 FUTURE WORK 58
REFERENCES 59

vi
LIST OF FIGURES

FIGURE TITLE PAGE NO


NO
1 Block Diagram 24
2 ESP32 WROOM DEV BOARD 27
3 Ultrasonic sensor 29
4 Ultrasonic sensor interfaced with ESP 32 29
WROOM DEV BOARD
5 MQ135 Sensor 31
6 MPU6050 Sensor 33
7 LED UV Strip 35
8 Mist maker 37
9 Buzzer 40
10 Motor driver 41
11 Motor 43
12 Lithium-ion battery pack 46
13 LM2596 Converter 48
14 5v relay 50
15 Xl6009 DC-DC boost converter module 52

vii
LIST OF ABBREVIATION

1 UV Ultraviolet
2 HAIs Hospital Acquired Infections
3 PPE Personal Protective Equipment
4 ICU Intensive Care Unit
5 AI Artificial Intelligence
6 LIDAR Light Detection and Ranging
7 LED Light Emitting Diode
8 GPIO General-Purpose Input/Output
9 PWM Pulse Width Modulation
10 UART Universal Asynchronous Receiver-Transmitter
11 SPI Serial Peripheral Interface
12 VCC Voltage at the Common Collector
13 BMS Battery Management System

viii
LIST OF TABLES

TABLE NO TITLE PAGE NO

3.1 Specification table of ESP32WROOM DEV BOARD 27


3.2 Specification table of ultrasonic sensor 30
3.3 Specification table of MQ135 sensor 32
3.4 Specification table of MPU6050 sensor 34
3.5 Specification table of LED UV strip 36
3.6 Specification table of Mist maker 38
3.7 Specification table of motor driver 41
3.8 Specification table of motor 43
3.9 Specification table of lithium-ion battery 45
3.10 Specification table of LM2596 converter 47
3.11 Specification table of 5V relay 49
3.12 Specification table of Xl6009 DC-DC boost converter 51
module

ix
CHAPTER 1

INTRODUCTION

Infection control is a critical aspect of healthcare management, as hospitals


and medical facilities are highly susceptible to the spread of infectious
diseases. Hospital-acquired infections (HAIs), also known as nosocomial
infections, pose serious risks to patients, healthcare workers, and visitors.
These infections not only increase patient morbidity and mortality but also
lead to prolonged hospital stays and higher medical costs. Despite strict
hygiene protocols, traditional cleaning and monitoring methods often rely
heavily on manual effort, which can be inconsistent, time-consuming, and
prone to human error. With the rapid advancement of robotics and artificial
intelligence (AI), there is a growing opportunity to enhance infection control
practices through automation and intelligent systems. AI-driven robots have
the potential to perform repetitive and high-risk tasks with greater precision,
consistency, and efficiency than human workers. Autonomous robots
equipped with disinfection technologies such as ultraviolet (UV-C) light and
disinfectant spraying systems can significantly reduce microbial
contamination in hospital environments. This project focuses on the
development of an AI-driven infection control robot designed to assist
healthcare facilities in maintaining high standards of hygiene and safety. The
robot integrates autonomous navigation, computer vision, and environmental
sensing to identify high-risk areas, monitor hygiene compliance, and carry out
effective disinfection procedures. By leveraging real-time data analysis and
intelligent decision-making, the system aims to optimize cleaning operations
and provide valuable insights to healthcare administrators. Furthermore, the
proposed system addresses key challenges such as minimizing human
exposure to infectious agents, ensuring consistent sanitation practices, and
improving overall operational efficiency.

10
Overall, this project represents an innovative step toward smart healthcare
solutions, combining robotics and AI to create safer and more efficient
hospital environments. The implementation of such systems can play a vital
role in reducing the spread of infections and improving the quality of patient
care.

1.1 AIM

The aim of this project is to develop an intelligent robot that can control and
reduce hospital-acquired infections using AI technology. The system is
designed to perform automatic disinfection, monitor environmental
conditions, and assist healthcare workers in maintaining hygiene.

1.2 OBJECTIVE

 To design a prototype of an AI-driven infection control robot for hospital


use.
 To implement autonomous navigation using sensors and mapping
techniques for safe movement.
 To develop an effective disinfection system using UV-C light and/or
chemical spraying.
 To build a computer vision module for detecting hygiene compliance (PPE
and hand hygiene).
 To integrate environmental sensors for monitoring air quality and
contamination levels.
 To create a centralized dashboard for real-time data visualization and
reporting.
 To ensure the system operates safely, efficiently, and with minimal human
intervention.

11
1.3 MOTIVATION

Hospital-acquired infections are a major challenge in healthcare systems, leading


to increased patient risk, longer hospital stays, and higher treatment costs.

Traditional cleaning and monitoring methods depend heavily on human effort,


which may not always be consistent or safe, especially during outbreaks and
pandemics. This creates a strong need for an automated and reliable solution.

The motivation behind this project is to develop an intelligent system that can
reduce infection spread by using artificial intelligence and robotics.

By minimizing human contact with contaminated environments and ensuring


continuous disinfection, the robot enhances safety for both patients and healthcare
workers. This project aims to contribute to smarter, safer, and more efficient
hospital environments.

1.4 PROBLEM STATEMENT

 Patients often get infections during treatment due to poor sanitation and
contamination.

 Traditional cleaning methods depend on human effort, which may be


inconsistent, time-consuming, and prone to errors.

 Doctors, nurses, and cleaning staff are directly exposed to infectious


environments while performing their duties.

 Hospitals do not have real-time systems to track air quality, contamination


levels, or hygiene conditions.

 Places like ICUs, operating theatres, and isolation wards require strict
hygiene, which is difficult to maintain manually.

12
1.5 PROPOSED SYSTEM

The proposed system is an AI-driven infection control robot designed to operate


autonomously within hospital environments to reduce the spread of infections.
The robot is equipped with various sensors such as an MQ135 gas sensor,
temperature, and humidity sensor to continuously monitor environmental
conditions. The collected data is processed by an ESP32 microcontroller, which
uses AI algorithms to analyse contamination levels and make intelligent
decisions. Based on the analysis, the robot activates disinfection mechanisms
such as UV-C light or disinfectant spraying to sanitize surfaces and air. It is also
integrated with obstacle detection sensors and navigation systems to move safely
within hospital areas like ICUs and wards. Additionally, IoT connectivity enables
real-time monitoring and control through cloud or mobile applications. This
system ensures efficient, contactless, and continuous infection control, thereby
improving hospital hygiene and reducing risks for patients and healthcare
workers.

1.6 SCOPE OF THE PROJECT

 Can be deployed in ICUs, operation theatres, isolation wards, and


general hospital areas for effective infection control.

 Enables continuous and scheduled cleaning without human intervention


using UV-C light or disinfectant spraying.

 Monitors air quality, temperature, and humidity to assess hygiene


conditions continuously.

 Uses artificial intelligence to detect contamination levels and optimize


disinfection processes.

13
 Allows remote monitoring, control, and data analysis through cloud
platforms or mobile applications.

CHAPTER 2

LITERATURE SURVEY

1. Title: Autonomous Mobile Robots for Hospital Disinfection

Author: J. Smith, A. Brown

Year:2020
Autonomous mobile robots are widely used in hospitals for automatic
cleaning and disinfection purposes. These robots help reduce the spread of
infections by maintaining a high level of hygiene in healthcare
environments. They can move independently without human intervention,
using sensors to detect obstacles and navigate safely through hospital areas.
Most of these robots use UV-C light or disinfectant spraying systems to
eliminate bacteria, viruses, and other harmful microorganisms. They ensure
uniform and complete coverage of rooms, including patient wards, ICUs,
and operation theatres. By doing so, they significantly reduce hospital-
acquired infections (HAIs) and improve overall patient safety.

In addition, autonomous robots minimize direct human contact with


contaminated surfaces, thereby reducing the risk of infection among
healthcare workers. They can operate continuously without fatigue, saving
time and increasing efficiency compared to manual cleaning methods. These
robots provide consistent and reliable disinfection results, which are essential
in critical healthcare settings. With the integration of artificial intelligence,
their navigation and decision-making capabilities are further enhanced. They

14
can also be monitored and controlled remotely through wireless
communication systems. Overall, autonomous mobile robots reduce the
workload of hospital staff, improve operational efficiency, and play a crucial
role in the development of modern smart hospitals.

2. Title: UV Disinfection Robots for Reducing Hospital-Acquired Infections


Author: S. Anderson, P. Lewis

Year:2021
The study titled “UV Disinfection Robots for Reducing Hospital-Acquired
Infections” by Anderson and Lewis (2021) focuses on the use of robotic
systems equipped with ultraviolet (UV) light for improving hospital hygiene.
The paper explains how UV-C based robots are used to disinfect hospital
environments effectively. These robots emit UV-C radiation, which can
destroy the DNA and RNA of microorganisms such as bacteria and viruses.
As a result, they help in significantly reducing hospital-acquired infections
(HAIs). The robots are designed to operate autonomously, allowing them to
move through hospital rooms and corridors without human assistance. They
ensure that all surfaces are exposed to UV light for proper disinfection.

The study highlights that UV disinfection robots are more efficient than
traditional cleaning methods. They provide consistent results and reduce the
chances of human error during cleaning. These robots are especially useful
in high-risk areas such as intensive care units (ICUs), operation theatres, and
isolation wards. Another important advantage is that they reduce direct
exposure of healthcare workers to harmful pathogens. The system is also
timesaving, as robots can disinfect large areas quickly. Safety mechanisms
are included to prevent human exposure to UV radiation. The research
concludes that UV disinfection robots are a reliable and advanced solution
for infection control. Overall, the use of these robots enhances hospital
15
safety, improves hygiene standards, and supports the development of smart
healthcare systems.

[Link]: Smart Hospital Robots Using IoT and AI

Author: K. Sharma, N. Verma

Year :2022
The study titled “Smart Hospital Robots Using IoT and AI” by Sharma and
Verma (2022) focuses on the design and implementation of intelligent robotic
systems in healthcare environments. It explains how the combination of Internet
of Things (IoT) and Artificial Intelligence (AI) technologies improves the
efficiency and functionality of hospital robots. These robots are capable of
performing various tasks such as patient monitoring, medicine delivery, and
assisting in disinfection processes. IoT enables real-time communication between
the robot and hospital devices, allowing continuous data collection and
monitoring. AI helps the robot analyse data, make decisions, and adapt to
different situations effectively. The robots are equipped with sensors for
navigation, obstacle detection, and environmental monitoring. They can move
autonomously within hospital premises without human intervention.
The study also highlights that these robots help reduce the workload of healthcare
staff and improve operational efficiency. They can monitor vital parameters such
as temperature and environmental conditions. By reducing direct human contact,
they play an important role in infection control and prevention. Remote
monitoring allows doctors and staff to control and track the robot’s activities
from a distance. The system ensures timely alerts and responses in emergency
situations. These robots also enhance patient care by providing assistance
whenever needed. The integration of IoT ensures seamless connectivity across
different hospital systems. AI improves accuracy, decision-making, and overall
16
performance of the robot. The research concludes that smart hospital robots are
essential for modern healthcare systems. They contribute to improved safety,
better hygiene, and efficient hospital management. Overall, IoT and AI-based
robots support the development of advanced and smart hospitals.

4. Title: AI-Based Robotics for Healthcare Applications


Author: M. Kumar, R. Patel
Year:2019
The study titled “AI-Based Robotics for Healthcare Applications” by
Kumar and Patel (2019) focuses on the use of artificial intelligence in robotic
systems designed for healthcare environments. The paper explains how AI
enhances the capabilities of robots in performing complex medical and
supportive tasks. These robots are used in various applications such as patient
monitoring, surgery assistance, rehabilitation, and hospital management. AI
algorithms enable robots to analyse large amounts of medical data and make
accurate decisions. The study highlights that AI-based robots can improve the
precision and efficiency of healthcare services. They are equipped with
sensors, cameras, and processors that help them interact with their
surroundings.
The research also discusses how these robots can assist doctors and nurses by
reducing their workload. In infection control, AI-based robots can be used for
automatic disinfection and monitoring of hygiene conditions. They help
minimize human contact with infected patients and contaminated
environments. The robots are capable of autonomous navigation using
advanced path planning and obstacle detection techniques. Machine learning
techniques allow them to learn from previous data and improve their
performance over time. The study emphasizes that these systems can provide
consistent and reliable results compared to manual operations. Remote
monitoring and control features make it easier for healthcare professionals to

17
manage robotic operations. The paper concludes that AI-based robotics has a
significant impact on improving healthcare quality. It enhances patient safety,
increases efficiency, and supports the development of smart hospitals. Overall,
AI-powered robots are becoming an essential part of modern healthcare
systems.

[Link]: Vision-Based Obstacle Avoidance in Mobile Robots


Author: Liwag, H. Chen
Year:2018
The study titled “Vision-Based Obstacle Avoidance in Mobile Robots” by
Liwag and H. Chen (2018) focuses on the use of vision systems for safe
navigation of mobile robots. The paper explains how cameras and image
processing techniques are used to detect obstacles in the robot’s path. Instead
of relying only on basic sensors, the robot uses visual data to understand its
surroundings more accurately. The system captures real-time images and
processes them using computer vision algorithms. These algorithms help
identify objects, distances, and movement in the environment. The study
highlights that vision-based systems provide better flexibility and adaptability
compared to traditional methods.
The robot can detect both static and dynamic obstacles, such as walls,
furniture, and moving people. This is especially useful in complex
environments like hospitals where safety is very important. The research also
discusses techniques like image segmentation, edge detection, and object
recognition. These methods help the robot make quick decisions and avoid
collisions. The system improves navigation efficiency by selecting the safest
path in real time. It also reduces the chances of accidents and damage to
equipment. The study emphasizes that combining vision systems with other
sensors enhances overall performance. This approach is useful for applications

18
like delivery robots, cleaning robots, and disinfection robots. The paper
concludes that vision-based obstacle avoidance is an effective and advanced
solution for autonomous robot navigation. It plays a key role in making robots
smarter, safer, and more reliable in real-world environments.

6. Title: Autonomous UV Disinfection Robot with Sensor Fusion


Author: K. Zhang, M. Ali
Year:2022
The study titled “Autonomous UV Disinfection Robot with Sensor Fusion” by
Zhang and Ali (2022) focuses on the development of an advanced robotic system
for hospital disinfection. The paper explains how the robot uses ultraviolet (UV-
C) light to eliminate harmful microorganisms such as bacteria and viruses. The
key concept in this study is sensor fusion, where multiple sensors are combined
to improve the robot’s performance and accuracy. These sensors may include
ultrasonic sensors, infrared sensors, cameras, and LiDAR for better environment
perception. By integrating data from different sensors, the robot can navigate
more efficiently and avoid obstacles in real time.
The robot operates autonomously, meaning it can move and disinfect areas
without human intervention. It is capable of mapping the environment and
planning optimal paths for complete coverage. The study highlights that sensor
fusion improves reliability by reducing errors that may occur when using a single
sensor. The robot can detect both static and dynamic obstacles, ensuring safe
operation in hospital environments. It is especially useful in areas like patient
rooms, ICUs, and operation theatres where hygiene is critical. The UV-C light
used in the robot effectively destroys the DNA of microorganisms, preventing
their reproduction. Safety mechanisms are included to protect humans from
harmful UV exposure.

19
The research also emphasizes that such robots reduce the workload of healthcare
staff and minimize direct contact with infected surfaces. The system provides
consistent and uniform disinfection compared to manual cleaning methods. It also
saves time and increases operational efficiency. The study concludes that
autonomous UV disinfection robots with sensor fusion are highly effective for
infection control.

20
7. Title: AI-Driven Hospital Service Robots for Efficient Patient Care and
Infection Control
Author: N. Reddy, L. Martin
Year:2023
The study titled “AI-Driven Hospital Service Robots for Efficient Patient Care
and Infection Control” by Reddy and Martin (2023) focuses on the use of
artificial intelligence in robotic systems to improve healthcare services. The
paper explains how AI-powered robots are designed to perform multiple tasks
such as patient assistance, monitoring, and hospital sanitation. These robots
use advanced algorithms to analyse data, make decisions, and operate
autonomously within hospital environments. They are equipped with sensors,
cameras, and communication modules to interact with patients and medical
staff. The study highlights that these robots can deliver medicines, transport
medical supplies, and assist patients with basic needs.
In terms of infection control, the robots play a vital role by reducing human
contact and minimizing the spread of diseases. They can perform automated
disinfection using UV light or disinfectant sprays. The robots can navigate
through hospital corridors using obstacle detection and path planning
techniques. AI enables them to adapt to dynamic environments and improve
their performance over time. The study also emphasizes the importance of
real-time monitoring, where robots collect and transmit data to healthcare
professionals. This helps in quick decision-making and improves patient care
quality. Remote operation features allow doctors to control and monitor robots
from a distance. The research concludes that AI-driven hospital service robots
significantly enhance efficiency, safety, and hygiene in healthcare settings.
They reduce the workload of hospital staff and improve overall productivity.
These robots ensure consistent performance and reliable results compared to
manual methods. The integration of AI also supports predictive analysis and
smarter healthcare management.

21
8. Title: IoT-Based Smart Sanitization System for Automatic Disinfection and
Infection Control

Author: D. Sharma, V. Gupta

Year:2022
The study titled “IoT-Based Smart Sanitization System for Automatic
Disinfection and Infection Control” by Sharma and Gupta (2022) focuses on
the development of an intelligent sanitization system using Internet of Things
(IoT) technology. The paper explains how IoT enables automatic and real-
time monitoring of sanitization processes in different environments, especially
in hospitals. The system is designed to perform disinfection tasks without
manual intervention, ensuring improved hygiene and safety. It uses various
sensors to detect environmental conditions such as presence of people,
humidity, and contamination levels. Based on this data, the system activates
sanitization mechanisms like disinfectant spraying or UV light.

The study highlights that IoT connectivity allows the system to send real-time
data to a central server or mobile application. This helps healthcare staff
monitor the sanitization status remotely and take necessary actions when
required. The system also supports automation, which reduces human effort
and minimizes the chances of human error. It ensures that sanitization is
carried out regularly and efficiently in high-risk areas such as hospital rooms,
ICUs, and public spaces. The use of smart sensors improves accuracy and
ensures proper coverage during disinfection.

The research emphasizes that the system is cost-effective and energy-efficient,


making it suitable for continuous operation. Alerts and notifications are
generated when sanitization is required or completed. The integration of IoT
also allows data analysis for improving hygiene practices over time. The study
concludes that IoT-based smart sanitization systems play a crucial role in
infection control by maintaining a clean and safe environment.
22
9. Title: UV-C Disinfection Robots in Clinical Environments

Author: L. Chen, P. Wong

Year: 2021
The study titled “UV-C Disinfection Robots in Clinical Environments” by
Chen and Wong (2021) focuses on the use of ultraviolet-C (UV-C) based
robotic systems for effective disinfection in healthcare settings. The paper
explains how UV-C radiation is used to destroy harmful microorganisms such
as bacteria, viruses, and fungi by damaging their DNA and preventing
reproduction. These robots are designed to operate autonomously and move
through different areas of a hospital, including patient rooms, operation
theatres, and intensive care units. They ensure that all exposed surfaces
receive adequate UV-C light for proper disinfection.

The study highlights that UV-C disinfection robots provide a more consistent
and reliable cleaning method compared to manual cleaning. They reduce the
chances of human error and ensure uniform coverage of the environment. The
robots are equipped with sensors and navigation systems to avoid obstacles
and move safely within clinical spaces. Safety features are also included to
prevent human exposure to harmful UV radiation during operation. The
research emphasizes that these robots are particularly useful in high-risk areas
where infection control is critical.

In addition, the robots help reduce hospital-acquired infections (HAIs) by


maintaining a high level of hygiene. They also minimize the need for direct
human involvement in contaminated areas, thereby protecting healthcare
workers. The system is time-efficient, as it can disinfect large areas quickly
and effectively. The study concludes that UV-C disinfection robots are an
advanced and reliable solution for infection control in clinical environments.

23
[Link]: Machine Learning for Healthcare Automation

Author: A. Verma, T. Singh

Year: 2020
The study titled “Machine Learning for Healthcare Automation” by Verma
and Singh (2020) focuses on the application of machine learning techniques to
automate various healthcare processes. The paper explains how machine
learning algorithms can analyse large amounts of medical data to identify
patterns, make predictions, and support decision-making. These systems are
used in applications such as disease prediction, patient monitoring, medical
diagnosis, and treatment planning. By learning from historical data, machine
learning models can improve accuracy and efficiency over time. The study
highlights that automation helps reduce the workload of healthcare
professionals and minimizes human errors.

The research also discusses how machine learning can be integrated with
hospital systems and devices for real-time monitoring and analysis. It enables
early detection of diseases and timely intervention, improving patient
outcomes. In infection control, machine learning can predict the risk of
infection spread and assist in preventive measures. The system can also be
combined with robotic technologies to automate tasks such as disinfection,
monitoring, and assistance. The study concludes that machine learning plays a
vital role in modern healthcare by enhancing efficiency, accuracy, and
reliability. Overall, it supports the development of intelligent and automated
healthcare systems.

24
CHAPTER 3

MATERIALS AND METHODS

The project uses an ESP32-WROOM-32 development board, ultrasonic


sensor, UV-C LED/strip, mist maker, DC motors, motor driver, and power
supply as main components. The ESP32 controls all operations and enables
wireless communication using Wi-Fi. The ultrasonic sensor helps the robot
detect obstacles and navigate safely. The UV light and mist maker are used
for disinfection of hospital environments. The system is programmed to
operate autonomously, ensuring efficient infection control and sanitization.

3.1 BLOCK DIAGRAM

Fig.3.1 Block diagram


25
3.2 BLOCK DIAGRAM DESCRIPTION

The block diagram illustrates a comprehensive ESP32-based intelligent


monitoring and control system designed to sense environmental conditions and
respond by controlling multiple actuators. At the core of the system is the ESP32
microcontroller, which functions as the central processing unit. Due to its built-in
Wi-Fi and processing capabilities, remote control applications.

On the input side, the system incorporates three different sensors, each serving a
specific purpose. The ultrasonic sensor is used for distance measurement or object
detection by emitting ultrasonic waves and calculating the time taken for the echo
to return. This can be applied in level sensing, obstacle detection, or proximity
monitoring. The MPU6050 sensor, which combines a 3-axis accelerometer and a
3-axis gyroscope, is used to detect motion, tilt, vibration, and orientation. This
allows the system to respond to positional changes or instability. The third input,
the MQ135 gas sensor, is designed to monitor air quality by detecting the
presence of harmful gases such as carbon dioxide (CO₂), ammonia (NH₃),
benzene, and smoke. It provides analog output corresponding to the concentration
of gases in the environment.

All sensor data is continuously fed into the ESP32, A relay module is used as an
electrically operated switch to control the UV-C strip, allowing the
microcontroller to safely turn the high-power UV-C sterilization device on or off
without direct electrical connection. The mist maker is activated when required to
generate fine mist, which can be used for humidification or disinfection purposes.
A buzzer is included to provide audible alerts or warnings, for example when
unsafe gas levels are detected or abnormal motion is sensed. Additionally, a motor
driver module is used to interface the ESP32 with a motor, enabling controlled
26
operation such as starting, stopping, and adjusting speed or direction, which cannot
be done directly by the microcontroller due to power limitation.

3.3 COMPONENTS USED

3.3.1 ESP32-WROOM-32 DEV BOARD

 The ESP32-WROOM-32 Dev Board is a powerful microcontroller


development board used in embedded systems and IoT projects. It is based
on the ESP32 chip, which includes a dual-core processor and built-in Wi-Fi
and Bluetooth connectivity.

 This board is widely used for robotics, automation, and smart systems
because it can process data quickly and communicate with other devices
wirelessly.

 In the AI Driven Infection Control Robot for Hospitals, the ESP32-


WROOM-32 Dev Board acts as the main controller of the system.

 It receives input signals from sensors such as the tank level sensor and
ultrasonic sensor, processes the data, and then controls the output devices.
Based on the programmed instructions, it activates components like the UV-
C lamp, mist maker, buzzer, and motor driver to perform disinfection and
movement tasks.

 The board also supports multiple GPIO pins, analog inputs, PWM outputs,
and communication protocols such as UART, SPI, and I2C.

 These features allow easy connection with different sensors and modules
used in the robot. Due to its high performance, low power consumption, and
wireless capability, the ESP32-WROOM-32 Dev Board is an ideal choice
for developing intelligent robotic systems.
27
Fig 3.2. ESP32-WROOM-32 DEV BOARD

SPECIFICATION TABLE OF ESP32-WROOM-32 DEV BOARD

SPECIFICATION RANGE
Operating Voltage 3.3V
Input Voltage 5V
Clock Speed Up to 240 MHz
Wi-Fi Frequency 2.4 GHz
Bluetooth Frequency 2.4 GHz
Flash Memory 4 MB
RAM 520 KB
GPIO Pins 30+
ADC Resolution 12-bit
Wi-Fi Range 50–100 m

28
Table 3.1 Specification table of ESP32-WROOM-32 DEV BOARD

MERITS

 High processing speed

 Low power consumption

 Affordable cost

 Compact size

APPLICATIONS

 Hospitals and Clinics.


 Isolation Wards.
 Laboratories.
 Public Places.

3.3.2 SENSORS

[Link] ULTRASONIC SENSOR

 The ultrasonic sensor is an important component in the AI infection control


robot for hospitals because it helps the robot detect obstacles and move
safely in different hospital areas.
 It works by sending ultrasonic sound waves and receiving the reflected
waves from nearby objects. Based on the time taken for the echo to return,
the sensor calculates the distance between the robot and the object.
29
 This distance information is sent to the ESP32-WROOM-32 Dev Board,
which acts as the main controller of the system.
 The controller then decides whether the robot should stop, change direction,
or continue moving.
 In hospital environments, this sensor helps the robot avoid collisions with
beds, walls, medical equipment, and people.

Fig.3.3 Ultrasonic Sensor

Ultrasonic Sensor Interfacing with ESP32 WROOM-32 DEV Board


Connect the HC-SR04 sensor to the ESP32-WROOM-32 Dev Board. The HC-
SR04 has four pins: VCC, Trig, Echo, and GND.

 The VCC pin is connected to the power supply.

 The GND pin is connected to ground.

 The TRIG pin is connected to an output GPIO pin of the ESP32.

 The ECHO pin is connected to an input GPIO pin.

30
Fig.3.4 Ultrasonic Sensor Interfacing with ESP32 WROOM-32
DEV Board

SPECIFICATION TABLE OF ULTRASONIC SENSOR

SPECIFICATION RANGE
Operating Voltage 5V
Operating Current 15 Ma
Operating Frequency 40 kHz
Measuring Distance 2 cm – 400 cm
Accuracy ±3 mm
Measuring Angle 15°
Trigger Input Pulse Width 10 µs
Echo Output Signal TTL Pulse
Response Time Fast response
Operating Temperature -15°C to 70°C

Table 3.2 Specification table of ultrasonic sensor

MERITS

31
 Non-contact sensing

 Easy to use

 Low cost

 Fast response

APPLICATIONS

 Obstacle detection in robots

 Distance measurement

 Water level monitoring

 Security systems

[Link] MQ135 (AIR QUALITY SENSOR)

The MQ135 plays a significant role in an AI-driven infection control robot


designed for hospital environments by continuously monitoring air quality and
detecting harmful gases that may indicate contamination or poor ventilation.
The sensor is capable of sensing gases such as carbon dioxide, ammonia,
benzene, smoke, and other volatile organic compounds, which are often present
in hospital wards due to disinfectants, human activity, and medical processes.

In the robot system, the MQ135 collects real-time air quality data and sends it
to the microcontroller (such as ESP32), where it is analyzed using AI
algorithms to assess the level of pollution or potential infection risk. Based on
this analysis, robots can take intelligent actions such as activating air

32
purification systems, increasing ventilation, or prioritizing certain areas for
disinfection using UV light or sanitizing sprays.

Overall, integrating the MQ135 sensor into an AI-based hospital robot enables
smart decision-making, improves indoor air quality monitoring, and contributes
to reducing the spread of infections in healthcare settings.

Fig.3.5. MQ135 SENSOR

SPECIFICATION TABLE OF MQ135

Parameter Specification
Gas Sensor (Air Quality
Sensor Type
Monitoring)
CO₂, NH₃, NOₓ, Alcohol,
Detectable Gases
Benzene, Smoke
Operating Voltage 5V
Output Type Analog and Digital
Sensing Material Tin Dioxide (SnO₂)
Preheating Time ~20 seconds (minimum)
Power Consumption Approx. 800 mW

33
Table 3.3 Specification table of MQ135 SENSOR

MERITS:

1. Supports AI-Based Decision Making


2. Real-Time Air Quality Monitoring
3. Early Detection of Contaminated Zones
4. Improves Patient and Staff Safety

APPLICATIONS:

1. Air Quality Monitoring in Wards


2. Detection of Contaminated Areas
3. Smart Ventilation Control

[Link] MPU6050 SENSOR

 The MPU6050 is a widely used motion tracking sensor that combines a 3-


axis accelerometer and a 3-axis gyroscope in a single compact module. The
accelerometer detects motion, tilt, and vibration by measuring gravitational
forces, while the gyroscope measures rotational motion based on the
Coriolis effect.
 The sensor provides high-resolution digital output through its built-in 16-bit
analog-to-digital converter, ensuring accurate and reliable data. It also
includes an internal Digital Motion Processor (DMP) that performs complex
calculations such as sensor fusion and orientation tracking. This reduces the
processing load on external microcontrollers like the ESP32 and improves
overall system efficiency.

34
 The sensor also contains a temperature sensor to compensate for drift and
maintain accuracy. It offers selectable measurement ranges for both
acceleration and angular velocity, allowing flexibility based on application
needs. Due to its compact size and ease of interfacing, it is commonly used
in robotics, drones, gaming devices, and health monitoring systems.

Fig.3.6 MPU6050 SENSOR

SPECIFICATION TABLE OF MPU6050

SPECIFICATION RANGE
Sensor Type 6-axis (3-axis Accelerometer +
Gyroscope)
Operating Voltage 3.3V – 5V
Communication I2C Protocol
I2C Address 0x68 / 0x69
Accelerometer Range ±2g, ±4g, ±8g, ±16g
Gyroscope Range ±250, ±500, ±1000, ±2000 °/s
ADC Resolution 16-bit
Digital Processor Built-in DMP

35
Power Consumption ~3.9 mA
Temperature Sensor Built-in

Table 3.4 Specification table of MPU6050

MERITS:

1. Compact and Integrated Design


2. Low Power Consumption
3. High Accuracy and Resolution
4. Built-in Digital Motion Processor (DMP)

APPLICATION:

1. Robot Navigation and Stability


2. Obstacle Detection and Motion Adjustment
3. Surface Coverage Monitoring

3.3.3 LED UV STRIP

 The LED UV strip is an essential component used in the AI-driven infection


control robot for effective disinfection. It operates by emitting ultraviolet (UV-
C) radiation in the wavelength range of approximately 260–280 nm, which is
highly effective in destroying the DNA and RNA of microorganisms.
 This process inactivates harmful pathogens such as bacteria, viruses, and fungi,
thereby preventing their growth and spread.
 In this system, the LED UV strip is mounted on the robot in such a way that it
provides maximum surface exposure during movement. The strip is controlled
by the ESP32 microcontroller through a relay or driver circuit, enabling
automatic switching based on programmed conditions.

36
 During operation, the UV strip is activated when the robot enters a designated
area for sterilization and remains ON for a specific duration to ensure proper
disinfection.
 Additionally, safety measures are incorporated to prevent human exposure to
UV radiation. The LED UV strip offers advantages such as compact size, low
power consumption, and instant operation.

Fig.3.7 LED UV STRIP

SPECIFICATION TABLE OF LED UV STRIP


SPECIFICATION RANGE
Operating Voltage 12V DC
Power Consumption 4W – 14W per meter
260 nm – 280 nm (UV-C) / 395–
Wavelength
405 nm (UV-A)
LED Type SMD LEDs
Strip Length 1m–5m
LEDs per Meter 30 – 120 LEDs
Beam Angle 120°
Operating Temperature -10°C to 50°C
Lifetime 20,000 – 50,000 hours
37
Flexibility Flexible strip
Table 3.5 Specification table of LED UV Strip

MERITS

 Low power consumption

 Long life

 Fast operation

 Chemical-free sanitization

APPLICATIONS

 Hospital room disinfection

 Operation theatre support

 Emergency room sanitation

 Corridor and common area disinfection

3.3.4 MIST MAKER

 The mist maker is an important component used in the AI-driven


infection control robot for hospitals to spray disinfectants in the form of
fine mist.

 It converts the disinfectant liquid into very small droplets, which helps
in spreading the solution evenly over hospital surfaces and surrounding
areas.

 This method improves the disinfection process by covering patient


rooms, corridors, ICU areas, and equipment surroundings more
effectively than normal spraying methods. In the robot, the mist maker
38
is controlled automatically by the microcontroller, allowing smart and
efficient sanitization with less human effort.

 It helps in reducing the spread of bacteria, viruses, and other harmful


microorganisms, thereby improving hospital hygiene and safety. Thus,
the mist maker plays a major role in supporting infection control and
maintaining a cleaner healthcare environment.

Fig.3.8 Mist Maker


SPECIFICATION TABLE OF MIST MAKER

SPECIFICATION RANGE

Operating Voltage 24V DC

Power Consumption 12W – 25W

Working Current 0.5A – 1A

39
Frequency 1.7 MHz

Mist Output 200 ml/h – 400 ml/h

Water Depth 2 cm – 5 cm

Operating Temperature 5°C to 45°C

Disc Diameter 16 mm – 20 mm

Coverage Area Small to medium area

Table 3.6 Specification table of mist maker

MERITS

 Produces fine mist

 Covers larger area

 Reduces manual work

 Useful for disinfection

APPLICATIONS

 Humidifiers

 Agriculture

40
 Home and office sanitization

 Cooling system

3.3.5 BUZZER

 The buzzer is an important output device used in the AI infection control


robot for hospitals to provide alert and warning sounds during operation.

 It helps the robot communicate with hospital staff by giving an audio


indication whenever a specific condition occurs, such as obstacle
detection, low disinfectant level, low battery, or completion of a
disinfection task.

 In hospital environments, the buzzer is especially useful for safety


purposes because it can warn people to stay away when the robot is
performing UV-C disinfection or mist spraying.

 It also supports smooth robot operation by notifying users about system


status and emergency conditions. Thus, the buzzer improves safety,
awareness, and effective monitoring in the AI-driven infection control
robot.

41
Fig.3.9 Buzzer

MERITS

 Gives Audio alert

 Improve safety

 Consumes less power

 Quick response

APPLICATIONS

 Warning during UV-C disinfection

 Low battery indication

 Obstacle detection alert

 Low disinfectant level alert

42
3.3.6 MOTOR DRIVER

 The motor driver is an essential component in the AI infection control robot


for hospitals because it controls the movement of the robot’s motors.
 Since the microcontroller or ESP32 cannot supply enough current directly to
run the motors, the motor driver acts as an interface between the controller
and the motors.
 It receives control signals from the ESP32 and provides the required power to
drive the wheels forward, reverse, left, and right directions.
 This helps the robot move smoothly through hospital rooms, corridors, and
isolation areas for effective disinfection.
 The motor driver also improves the robot’s performance by enabling speed
control and proper motor operation.
 Thus, it plays a major role in ensuring accurate navigation and reliable
movement of the hospital infection control robot.

Fig.3.10 Motor Driver

SPECIFICATION TABLE OF MOTOR DRIVER


43
SPECIFICATION RANGE
Operating Voltage 5V – 35V
Logic Voltage 5V
Output Current Up to 2A per channel
Number of Channels 2 (Dual H-Bridge)
Control Type PWM / Digital
Motor Type Supported DC / Stepper Motor
Frequency Up to 25 kHz
Efficiency Moderate (with heat loss)
Operating Temperature -20°C to 130°C
Module Size Approx. 4 cm × 4 cm

Table 3.7 Specification table of motor driver

MERITS

 Controls motor movement

 Supports speed control

 Protects the controller

 Enables directional control

APPLICATIONS

 Wheel movement control in robots

 Speed regulation

 Autonomous hospital robots

44
 Smart delivery robots

3.3.7 MOTOR

 The motor is an essential component in the AI Driven Infection Control Robot


for Hospitals because it provides movement to the robot.

 It helps the robot travel from one place to another inside hospital rooms,
corridors, and other areas where disinfection is needed. By using motors, the
robot can move automatically and cover a larger area without continuous
human support. This makes the infection control process faster, easier, and
more efficient.

 In this project, the motor is connected to the motor driver, which receives
control signals from the ESP32-WROOM-32 Dev Board. Based on sensor input
and programmed instructions, the controller sends signals to the motor driver,
and the motor rotates accordingly.

 This allows the robot to move forward, backward, stop, or change direction
while avoiding obstacles detected by the ultrasonic sensor. Because of this, the
motor plays an important role in navigation and mobility.

45
Fig.3.11 Motor

SPECIFICATION TABLE OF MOTOR

SPECIFICATION RANGE

Operating Voltage 3V – 12V

Rated Voltage 6V / 12V

Current Consumption 100 mA – 2A

Speed 100 RPM – 1000 RPM

Torque Low to medium

Power Rating 1W – 10W

Shaft Diameter 3 mm – 6 mm

Gear Type Geared / non-geared

Operating Temperature -10°C to 60°C

Efficiency 60% – 80%

Table3.8 Specification table of motor

MERITS

 Provides robot movement

 Supports automatic navigation

 Easy to control

 Helps in obstacle avoidance


46
APPLICATION

 Wheel movement of the robot

 Obstacle avoidance system

 Smart infection control systems

 Autonomous hospital navigation

3.3.8 LITHIUM ION BATTERY

 A Lithium-Ion (Li-ion) battery is a rechargeable power source widely


used in modern electronic devices and robotic systems due to its high
energy density, lightweight structure, and long cycle life.

 It operates on the principle of lithium-ion movement between the anode


(typically graphite) and the cathode (lithium metal oxide) through an
electrolyte during charging and discharging processes.

 In an AI-driven infection control robot, the Li-ion battery plays a crucial


role by supplying stable and efficient power to essential components such
as the ESP32 microcontroller, sensors, motors, UV-C disinfection lamps,
and mist generation units.

 Its ability to provide consistent energy output ensures uninterrupted


operation and mobility of the robot within hospital environments.

47
Additionally, the integration of a Battery Management System (BMS)
enhances safety by preventing overcharging, overheating, short circuits.

 Despite its advantages, such as fast charging and low self-discharge, it


requires careful handling and proper thermal management. Overall, the
Lithium-Ion battery is an indispensable component that enables reliable,
portable, and efficient healthcare robots designed for infection control.

Fig.3.12 Lithium-ion battery

SPECIFICATION TABLE OF LITHIUM ION BATTERY

SPECIFICATION RANGE

Nominal Voltage 3.2 V – 3.7 V per cell

Capacity 1000 mAh – 5000 mAh

Energy Density 150 – 250 Wh/kg

Cycle Life 500 – 2000+ cycles

Charging Voltage 4.1 V – 4.2 V per cell


48
Charging Time 1 – 3 hours

Operating Temperature -20°C to 60°C

Self-Discharge Rate 2% – 5% per month

Efficiency 90% – 95%

Discharge Rate 1C – 5C (typical range)

Table 3.9 Specification table of lithium-ion battery

MERITS

 High Energy Density

 Lightweight

 Long Cycle Life

 Low Self-Discharge

 Fast Charging

APPLICATION

 Mobile Phones and Tablets

49
 Laptops and Computers

 Electric Vehicles (EVs)

 Robotics and Automation Systems

3.3.9 LM2596 CONVERTER:

The LM2596 is an important power management component used in an AI-driven


infection control robot for hospitals. It is used to efficiently convert a higher DC
input voltage (such as 12V from a battery or adapter) into a stable lower voltage
like 5V or 3.3V required by the robot’s electronic modules.

In the infection control robot, different components such as the ESP32


microcontroller, gas sensors (MQ135), motion sensors (MPU6050), motor driver
circuits. The LM2596 ensures that all these devices receive a constant voltage
supply without fluctuations, which is essential for accurate sensor readings and
reliable system performance in hospital environments.

The LM2596 operates as a switching buck converter, providing high efficiency (up
to ~90%) with minimal heat generation. This is especially useful in battery-
powered robotic systems, where energy saving and long operational time are
important.

Additionally, the LM2596 includes built-in protection features such as thermal


shutdown and current limiting, improving
safety and reliability in critical healthcare
application.

50
Fig.3.13 LM2596 CONVERTER

SPECIFICATION TABLE FOR LM2596 CONVERTER

SPECIFICATION RANGE
Input voltage 4V-40V DC
Output voltage 1.25v-35v
Output current Up to 3A
Efficiency Up to 90%
Switching frequency 150 kHz

Fig 3.10 SPECIFICATION TABLE FOR LM2596 CONVERTER

MERITS:

1. High Efficiency Power Conversion


2. Stable Voltage Output
3. High Current Capability (Up to 3A)

APPLICATONS:

1. Power Supply Regulation for Microcontroller Systems


2. Sensor Power Management

51
3. Motor Driver and Mobility System Support
4. IoT Communication Modules Powering
5. Battery-Based Portable Power System Integration

3.3.10 5VOLT RELAY

The 5V relay module is an essential switching component used in an AI-driven


infection control robot for hospitals. It acts as an interface between the low-
power control system (such as ESP32 or microcontroller) and high-power
electrical devices.

In the infection control robot, the 5V relay module is used to automate and
control various hospital sterilization and support systems. It helps in switching
ON/OFF UV-C disinfection lamps, disinfectant spray pumps, motors, and other
high-power devices based on AI-based decisions. This ensures that sterilization
is performed only when required, improving safety and energy efficiency.

The relay operates using a 5V control signal from the microcontroller. When
the AI system detects infected or high-risk areas through sensors, it sends a
signal to the relay module, which then activates or deactivates connected
devices. This makes the system fully automated and reduces human
intervention in hazardous environments. Another important feature of the relay
module is electrical isolation, which protects sensitive electronic components
like ESP32 from high-voltage spikes and faults.

52
Fig.3.14 5VOLT RELAY

SPECIFICATION TABLE OF 5V RELAY

SPECIFICATION RANGE

Operating Voltage 5V DC

Trigger Voltage 0V – 5V (Low Level Trigger)

Relay Type Single / Multi-channel SPDT Relay


Maximum Load Voltage 250V AC / 30V DC

Maximum Load Current 10A (typical)

Table.3.11 SPECIFICATION TABLE OF 5V RELAY


MERITS:

1. Safe Switching of High-Power Devices


2. Electrical Isolation Protection
3. Automated Infection Control Operations
4. Supports Multiple Hospital Equipment

APPLICATIONS:

1. Control of UV-C Disinfection System


2. Disinfectant Spraying System Activation
53
3. Automation of Hospital Equipment
4. Motor Control for Heavy Load Devices
5. AI-Based Decision Execution System

3.3.11 XL6009 DC-DC Boost Converter Module

The XL6009 DC-DC Boost Converter Module plays a crucial role in the AI-
driven infection control robot used in hospital environments by ensuring stable and
efficient power management.
It is a high-efficiency step-up (boost) converter that increases lower input voltage
from the battery to a higher, regulated output voltage required by various
components of the robot.
In this system, the XL6009 supplies consistent voltage to essential modules such
as the microcontroller (like ESP32), UV disinfection unit, sensors, and motor
drivers, preventing fluctuations that could affect performance. Its adjustable output
capability, high conversion efficiency, and compact design make it ideal for
portable medical robots.
By maintaining reliable power distribution, the XL6009 enhances the robot’s
operational stability, ensuring continuous disinfection and monitoring processes
critical for infection control in hospitals.

54
Fig.3.15 XL6009 DC-DC Boost Converter Module

SPECIFICATION TABLE OF XL6009 DC-DC BOOST CONVERTER


MODULE

SPECIFICATION RANGE
Input Voltage 3V – 32V DC
Output Voltage 5V – 35V DC (Adjustable)
Output Current Up to 3A
Efficiency Up to 94%
Switching Frequency 400 kHz

Table.3.11 SPECIFICATION TABLE OF XL6009 DC-DC BOOST


CONVERTER MODULE

55
MERITS:
1. High Efficiency
2. Adjustable Output Voltage
3. Stable Power Supply
4. Compact and Lightweight
5. Built-in Protection

APPLICATIONS:

1. Battery-Powered Systems
2. AI Infection Control Robots
3. Medical Equipment
4. Robotics and Automation

56
CHAPTER 4

RESULT & DISCUSSION

4.1 RESULT

The proposed AI infection control robot for hospitals was successfully


developed and tested for autonomous sanitization in hospital environments.
The robot was capable of moving through rooms and corridors, detecting
obstacles, and performing disinfection using UV-C light and mist spraying
mechanisms.

The integration of the ESP32 controller, motor driver, buzzer, and other
supporting modules ensured smooth operation and alert-based safety. The
system reduced the need for direct human involvement in disinfection tasks,
thereby lowering the risk of infection spread among hospital staff and
patients.

The results obtained show that robots can serve as an efficient, reliable, and
cost-effective solution for maintaining cleanliness and infection control in
hospitals.

57
Left side View Right side View

Front View Back View

58
Top View UV Light

Mist

4.2 DISCUSSION
The AI infection control robot for hospitals was developed to improve
hygiene and reduce the spread of infections in healthcare environments. The
robot combines different components such as the ESP32-WROOM-32 Dev
Board, ultrasonic sensor, UV-C lamp, mist maker, motor driver, motors, and
buzzer to perform automatic disinfection and safe movement. The ESP32 acts
as the main controller and manages the overall functioning of the robot. The
ultrasonic sensor helps the robot detect obstacles and move safely without
collision. The motor driver and motors support smooth navigation through
hospital rooms, corridors, and isolation areas.

59
CHAPTER 5

CONCLUSION & FUTURE WORK

5.1 CONCLUSION

The AI Infection Control Robot for Hospitals was developed as an effective


solution to improve hospital hygiene and reduce the spread of infections. The
robot is capable of moving automatically in hospital areas and performing
disinfection using a UV-C lamp and mist maker. With the help of the ESP32-
WROOM-32 Dev Board, ultrasonic sensor, motor driver, motors, and buzzer,
the system can navigate safely, detect obstacles, and provide alert indications
during operation. This project reduces human effort, minimizes direct
exposure of hospital staff to contaminated areas, and supports better infection
prevention practices. Thus, the proposed robot proves to be The AI-driven
infection control robot powered by an ESP32-based system demonstrates a
practical, low-cost, and scalable approach to improving hospital hygiene and
reducing the risk of healthcare-associated infections (HAIs). By integrating
sensors such as tank level and ultrasonic sensors with actuators like a UV-C
lamp, mist maker, motor system, and alert mechanisms, the robot can
autonomously navigate, disinfect surfaces, and monitor its operational status.
The use of AI enables smarter decision-making, such as obstacle avoidance,
adaptive disinfection routines, and efficient resource utilization. Overall, the
system enhances safety for both patients and healthcare workers by
minimizing direct exposure to infectious environments while maintaining
consistent sterilization standards.

60
5.2 FUTURE WORK

Future improvements can focus on increasing the intelligence,


efficiency, and real-world applicability of the system. Advanced AI
models, such as computer vision and deep learning, can be incorporated
for real-time detection of high-risk zones, human presence, and
contamination levels. Integration with hospital management systems and
IoT platforms would allow centralized monitoring, scheduling, and data
analytics for infection control trends.

Navigation can be enhanced using SLAM (Simultaneous Localization


and Mapping) for precise indoor mapping and autonomous path
planning. The addition of multiple disinfection methods (e.g.,
electrostatic spraying or HEPA filtration) could further improve
effectiveness. Energy optimization and battery management systems
would increase operational time.

From a safety perspective, implementing human detection and automatic


UV shutdown features is critical to prevent accidental exposure. Finally,
large-scale testing in real hospital environments, along with compliance
with medical standards and regulations, will be essential to validate
reliability and enable widespread adoption.

61
REFERENCES

1. Al-Kaff, A., et al. (2020). Autonomous navigation system for indoor service
robots. IEEE International Conference on Autonomous Robot Systems.
2. Boyce, J. M. (2016). Modern technologies for improving environmental
cleaning in hospitals. Antimicrobial Resistance & Infection Control, 5(10).
3. Chen, B., et al. (2020). AI-based path planning and obstacle avoidance for
healthcare robots. IEEE Transactions on Automation Science and
Engineering, 17(4).
4. Chen, J., et al. (2021). Design and implementation of a smart disinfection
robot based on ROS. IEEE International Conference on Mechatronics and
Automation (ICMA).
5. Fu, L., et al. (2021). IoT-enabled intelligent disinfection robot system.
Sensors, 21(5).
6. Gupta, N., et al. (2021). IoT and AI-based smart sanitization robot.
International Conference on Advances in Computing, Communication, and
Control (ICAC3).
7. Khan, Z. H., Siddique, A., & Lee, C. W. (2021). Robotics utilization for
healthcare digitization in global COVID-19 management. International
Journal of Environmental Research and Public Health, 18(7).
8. Kim, S., et al. (2021). Vision-based human detection for safe UV disinfection
robots. IEEE International Conference on Computer Vision Workshops
(ICCVW).
9. Kumar, M., and R. Patel. (2019). AI-Based Robotics for Healthcare
Applications. IEEE Access, 210, 210–218.
[Link], C., et al. (2021). Autonomous mobile robot for hospital disinfection using
AI-based navigation. Robotics and Autonomous Systems, 136.
[Link], H., et al. (2020). UV disinfection robot with SLAM-based navigation.
IEEE/RSJ International Conference on Intelligent Robots and Systems

62
(IROS).
[Link], R. R., Gandudi, V. B., & Adams, J. (2020). Applications of robots
for COVID-19 response. IEEE Robotics & Automation Magazine, 27(3).
[Link], R., et al. (2021). AI-powered healthcare robot for infection control in
hospitals. International Conference on Smart Healthcare (ICSH).
[Link], S. E., et al. (2021). Impact of UV-C disinfection robots on hospital-
acquired infection rates. American Journal of Infection Control, 49(4).
[Link], A., et al. (2020). Low-cost autonomous disinfection robot using
embedded systems. IEEE Region 10 Conference (TENCON).
[Link], M., Carriere, J., & Torabi, A. (2020). Robotics, smart wearable
technologies, and autonomous intelligent systems for healthcare during
COVID-19. Advanced Intelligent Systems, 2(7).
[Link], J., et al. (2021). Autonomous indoor disinfection robot using deep
learning and LiDAR. IEEE International Conference on Intelligent Systems.
[Link], G. Z., et al. (2020). Combating COVID-19—The role of robotics in
managing public health and infectious diseases. Science Robotics, 5(40).
[Link], Y., et al. (2020). Path planning optimization for hospital service
robots. IEEE International Conference on Robotics and Biomimetics
(ROBIO).
[Link], Z., et al. (2020). Design of an autonomous UV disinfection robot for
hospital environments. IEEE Access, 8.

63
/*
* ============================================================
* DISINFECTANT BOT — FULL AUTONOMOUS EDITION
* ESP32 | MPU6050 | HC-SR04 x3 | MQ135 | L298N | UV | Mist
* ============================================================
* BLUETOOTH COMMANDS:
* F/B/L/R/S — Forward / Back / Left / Right / Stop
* U — Toggle UV Light
* M — Toggle Mist Maker
* Z — Honk Horn
* D — Run Sensor Diagnostics
* A — Start Autonomous Mode
* X — Stop Autonomous Mode
* ============================================================
*/

#include "BluetoothSerial.h"
#include <Wire.h>
#include <MPU6050.h> // Install: "MPU6050 by Electronic Cats" in Arduino
Library Manager

BluetoothSerial SerialBT;
MPU6050 mpu;

// ============================================================
// 📍 PIN DEFINITIONS
// ============================================================

// --- Motors (Left Side) ---


const int enA = 32;
const int in1 = 26;
const int in2 = 25;

// --- Motors (Right Side) ---


const int enB = 33;
const int in3 = 14;
const int in4 = 27;

// --- Payloads & Safety ---


const int uvRelay = 23; // 5V Relay (Active-High)
const int mistOpto = 4; // Mist Maker via PC817 optocoupler
const int buzzer = 5; // Active Buzzer

// --- Ultrasonic Sensors ---


const int trigFront = 16; const int echoFront = 17;
const int trigLeft = 18; const int echoLeft = 19;
const int trigRight = 13; const int echoRight = 35;

// --- Analog Sensors ---


const int gasSensor = 34; // MQ135 Air Quality

// --- I2C (MPU6050) — Default ESP32 pins ---


// SDA = GPIO 21, SCL = GPIO 22 (Wire library default)

// ============================================================
64
// ⚙️ TUNABLE PARAMETERS
// ============================================================
const int BASE_SPEED = 200; // Normal drive speed (0–255)
const int TURN_SPEED = 180; // Turning speed (0–255)
const int SLOW_SPEED = 120; // Cautious approach (0–255)

const int DIST_STOP = 20; // cm — hard stop / obstacle


const int DIST_SLOW = 40; // cm — slow down zone
const int DIST_CLEAR = 60; // cm — "safe" threshold for turns

const int GAS_WARNING_LEVEL = 2500; // ADC value (~12-bit) for alert


const int DIAG_INTERVAL_MS = 3000; // Autonomous diagnostics period

// ============================================================
// GLOBAL STATE
// ============================================================
bool uvIsOn = false;
bool mistIsOn = false;
bool autoMode = false;

unsigned long lastDiagTime = 0;


unsigned long lastTurnTime = 0;
unsigned long turnDuration = 0;
bool isTurning = false;
bool turnDirection = false; // false = Left, true = Right

// IMU calibration offsets (auto-set in setup)


int16_t ax_offset = 0, ay_offset = 0, az_offset = 0;
int16_t gx_offset = 0, gy_offset = 0, gz_offset = 0;

// ============================================================
// SETUP
// ============================================================
void setup() {
[Link](115200);

// 1. Bluetooth
[Link]("Disinfectant_Bot");
[Link]("SYSTEM ONLINE: Waiting for Bluetooth...");

// 2. I2C + MPU6050
[Link](); // SDA=21, SCL=22 by default on ESP32
[Link]();
if ([Link]()) {
[Link]("MPU6050 OK");
calibrateIMU();
} else {
[Link]("MPU6050 FAILED — Check wiring!");
}

// 3. Motor pins
pinMode(enA, OUTPUT); pinMode(enB, OUTPUT);
pinMode(in1, OUTPUT); pinMode(in2, OUTPUT);
pinMode(in3, OUTPUT); pinMode(in4, OUTPUT);

// 4. Ultrasonic pins
pinMode(trigFront, OUTPUT); pinMode(echoFront, INPUT);
pinMode(trigLeft, OUTPUT); pinMode(echoLeft, INPUT);
pinMode(trigRight, OUTPUT); pinMode(echoRight, INPUT);
65
// 5. Payloads & buzzer
pinMode(mistOpto, OUTPUT); digitalWrite(mistOpto, LOW);
pinMode(buzzer, OUTPUT); digitalWrite(buzzer, LOW);
pinMode(uvRelay, OUTPUT); digitalWrite(uvRelay, LOW);

// 6. Motor PWM (ESP32 Core v3+ ledc syntax)


ledcAttach(enA, 5000, 8);
ledcAttach(enB, 5000, 8);
stopMotors();

// 7. Startup tone
honkHorn(); delay(100); honkHorn();
[Link](">> Disinfectant Bot ONLINE. Send 'A' for autonomous
mode.");
}

// ============================================================
// 🔄 MAIN LOOP
// ============================================================
void loop() {
// ── Bluetooth command intake ──────────────────────────────
if ([Link]()) {
char cmd = [Link]();
handleCommand(cmd);
}

// ── Autonomous mode engine ────────────────────────────────


if (autoMode) {
runAutonomous();

// Periodic sensor broadcast


unsigned long now = millis();
if (now - lastDiagTime >= DIAG_INTERVAL_MS) {
lastDiagTime = now;
runDiagnostics();
}
}
}

// ============================================================
// 📲 COMMAND HANDLER
// ============================================================
void handleCommand(char command) {
switch (command) {
// Movement (manual — disables auto mode)
case 'F': autoMode = false; moveForward(); break;
case 'B': autoMode = false; moveBackward(); break;
case 'L': autoMode = false; turnLeft(); break;
case 'R': autoMode = false; turnRight(); break;
case 'S': autoMode = false; stopMotors(); break;

// Payloads
case 'U': toggleUV(); break;
case 'M': pulseMist(); break;
case 'Z': honkHorn(); break;

// Diagnostics
case 'D': runDiagnostics(); break;

66
// Autonomous mode
case 'A':
autoMode = true;
[Link](">> AUTONOMOUS MODE: ON");
honkHorn();
break;
case 'X':
autoMode = false;
stopMotors();
[Link](">> AUTONOMOUS MODE: OFF");
break;
}
}

// ============================================================
// 🤖 AUTONOMOUS MODE — OBSTACLE AVOIDANCE ALGORITHM
// ============================================================
/*
* Strategy:
* 1. Read all 3 ultrasonic sensors.
* 2. If front is CLEAR → move forward (optionally slow if approaching).
* 3. If front is BLOCKED → stop, assess left & right clearance.
* 4. Turn toward the side with more space.
* 5. If both sides blocked → reverse + turn 180°.
* 6. Gas alert overrides movement — stop and alert.
*/
void runAutonomous() {
// --- Gas safety override ---
int gas = analogRead(gasSensor);
if (gas > GAS_WARNING_LEVEL) {
stopMotors();
[Link]("!! GAS ALERT: ");
[Link](gas);
triggerGasAlert();
return;
}

// --- Read distances ---


int front = getDistance(trigFront, echoFront);
int left = getDistance(trigLeft, echoLeft);
int right = getDistance(trigRight, echoRight);

// --- Decision tree ---


if (front > DIST_SLOW) {
// Path clear — full speed ahead
ledcWrite(enA, BASE_SPEED);
ledcWrite(enB, BASE_SPEED);
digitalWrite(in1, HIGH); digitalWrite(in2, LOW);
digitalWrite(in3, HIGH); digitalWrite(in4, LOW);

} else if (front > DIST_STOP) {


// Approaching obstacle — slow down
ledcWrite(enA, SLOW_SPEED);
ledcWrite(enB, SLOW_SPEED);
digitalWrite(in1, HIGH); digitalWrite(in2, LOW);
digitalWrite(in3, HIGH); digitalWrite(in4, LOW);

} else {

67
// BLOCKED — stop and decide
stopMotors();
delay(150);

[Link](">> Obstacle! F:");


[Link](front);
[Link](" L:");
[Link](left);
[Link](" R:");
[Link](right);

if (left > DIST_CLEAR && left >= right) {


// Turn left
[Link](">> Turning LEFT");
turnLeft();
delay(500);
stopMotors();

} else if (right > DIST_CLEAR) {


// Turn right
[Link](">> Turning RIGHT");
turnRight();
delay(500);
stopMotors();

} else {
// Both sides blocked — back up and spin
[Link](">> Dead end! Reversing...");
moveBackward();
delay(700);
stopMotors();
delay(100);

// Spin ~180° — pick side with more room


if (left >= right) {
[Link](">> Spinning LEFT 180°");
turnLeft();
} else {
[Link](">> Spinning RIGHT 180°");
turnRight();
}
delay(900); // Tune this for your robot's turning radius
stopMotors();
honkHorn();
}
}
}

// ============================================================
// ⚙️ MOTOR CONTROL
// ============================================================
void moveForward() {
digitalWrite(in1, HIGH); digitalWrite(in2, LOW);
digitalWrite(in3, HIGH); digitalWrite(in4, LOW);
ledcWrite(enA, BASE_SPEED); ledcWrite(enB, BASE_SPEED);
}

void moveBackward() {
digitalWrite(in1, LOW); digitalWrite(in2, HIGH);

68
digitalWrite(in3, LOW); digitalWrite(in4, HIGH);
ledcWrite(enA, BASE_SPEED); ledcWrite(enB, BASE_SPEED);
}

void turnLeft() {
digitalWrite(in1, LOW); digitalWrite(in2, HIGH);
digitalWrite(in3, HIGH); digitalWrite(in4, LOW);
ledcWrite(enA, TURN_SPEED); ledcWrite(enB, TURN_SPEED);
}

void turnRight() {
digitalWrite(in1, HIGH); digitalWrite(in2, LOW);
digitalWrite(in3, LOW); digitalWrite(in4, HIGH);
ledcWrite(enA, TURN_SPEED); ledcWrite(enB, TURN_SPEED);
}

void stopMotors() {
digitalWrite(in1, LOW); digitalWrite(in2, LOW);
digitalWrite(in3, LOW); digitalWrite(in4, LOW);
ledcWrite(enA, 0); ledcWrite(enB, 0);
}

// ============================================================
// 🧪 PAYLOAD FUNCTIONS
// ============================================================
void toggleUV() {
uvIsOn = !uvIsOn;
digitalWrite(uvRelay, uvIsOn ? HIGH : LOW);
[Link](uvIsOn ? ">> UV Light: ON ⚠️ WARNING" : ">> UV Light:
OFF");
}

void pulseMist() {
mistIsOn = !mistIsOn;
[Link](mistIsOn ? ">> Mist Maker: ON" : ">> Mist Maker: OFF");
digitalWrite(mistOpto, HIGH);
delay(250);
digitalWrite(mistOpto, LOW);
}

void honkHorn() {
digitalWrite(buzzer, HIGH);
delay(200);
digitalWrite(buzzer, LOW);
}

void triggerGasAlert() {
// Rapid beeps for gas warning
for (int i = 0; i < 5; i++) {
digitalWrite(buzzer, HIGH); delay(100);
digitalWrite(buzzer, LOW); delay(100);
}
}

// ============================================================
// 📡 SENSOR DIAGNOSTICS (Ultrasonics + Gas + IMU)
// ============================================================
void runDiagnostics() {
// --- Ultrasonics ---
69
int distFront = getDistance(trigFront, echoFront);
int distLeft = getDistance(trigLeft, echoLeft);
int distRight = getDistance(trigRight, echoRight);

// --- Gas Sensor ---


int airQuality = analogRead(gasSensor);
String airStatus = "NORMAL";
if (airQuality > GAS_WARNING_LEVEL) airStatus = "WARNING !!";
else if (airQuality > 1500) airStatus = "ELEVATED";

// --- MPU6050 IMU ---


int16_t ax, ay, az, gx, gy, gz;
mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz);

// Apply calibration offsets


ax -= ax_offset; ay -= ay_offset; az -= az_offset;
gx -= gx_offset; gy -= gy_offset; gz -= gz_offset;

// Convert to human units


float accelX = ax / 16384.0; // g (±2g range)
float accelY = ay / 16384.0;
float accelZ = az / 16384.0;
float gyroX = gx / 131.0; // °/s (±250°/s range)
float gyroY = gy / 131.0;
float gyroZ = gz / 131.0;

// Calculate tilt angles from accelerometer


float pitch = atan2(accelY, accelZ) * 180.0 / PI;
float roll = atan2(-accelX, sqrt(accelY * accelY + accelZ * accelZ)) *
180.0 / PI;

// --- Send to phone ---


[Link]("\n====== SENSOR REPORT ======");

[Link]("-- Distance (cm) --");


[Link](" Front : "); [Link](distFront == 999 ? "OUT
OF RANGE" : String(distFront) + " cm");
[Link](" Left : "); [Link](distLeft == 999 ? "OUT
OF RANGE" : String(distLeft) + " cm");
[Link](" Right : "); [Link](distRight == 999 ? "OUT
OF RANGE" : String(distRight) + " cm");

[Link]("-- Air Quality (MQ135) --");


[Link](" ADC Raw : "); [Link](airQuality);
[Link](" Status : "); [Link](airStatus);

[Link]("-- IMU (MPU6050) --");


[Link](" Accel X : "); [Link](accelX, 3);
[Link](" g");
[Link](" Accel Y : "); [Link](accelY, 3);
[Link](" g");
[Link](" Accel Z : "); [Link](accelZ, 3);
[Link](" g");
[Link](" Gyro X : "); [Link](gyroX, 2);
[Link](" deg/s");
[Link](" Gyro Y : "); [Link](gyroY, 2);
[Link](" deg/s");
[Link](" Gyro Z : "); [Link](gyroZ, 2);
[Link](" deg/s");

70
[Link](" Pitch : "); [Link](pitch, 1);
[Link](" deg");
[Link](" Roll : "); [Link](roll, 1);
[Link](" deg");
[Link]("-- System Status --");
[Link](" UV Light : "); [Link](uvIsOn ? "ON" :
"OFF");
[Link](" Mist : "); [Link](mistIsOn ? "ON" :
"OFF");
[Link](" Auto Mode: "); [Link](autoMode ? "ON" :
"OFF");
[Link]("===========================\n");
}

// ============================================================
// 📏 ULTRASONIC DISTANCE
// ============================================================
int getDistance(int trigPin, int echoPin) {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);

long duration = pulseIn(echoPin, HIGH, 30000); // 30ms timeout


if (duration == 0) return 999;
return (int)(duration * 0.034 / 2);
}

// ============================================================
// 🎯 IMU CALIBRATION (run at startup, robot must be still)
// ============================================================
void calibrateIMU() {
[Link](">> Calibrating IMU — keep robot still...");
[Link]("Calibrating MPU6050...");

const int samples = 200;


long sumAx = 0, sumAy = 0, sumAz = 0;
long sumGx = 0, sumGy = 0, sumGz = 0;

for (int i = 0; i < samples; i++) {


int16_t ax, ay, az, gx, gy, gz;
mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz);
sumAx += ax; sumAy += ay; sumAz += az;
sumGx += gx; sumGy += gy; sumGz += gz;
delay(5);
}

ax_offset = sumAx / samples;


ay_offset = sumAy / samples;
az_offset = (sumAz / samples) - 16384; // Remove 1g on Z axis
gx_offset = sumGx / samples;
gy_offset = sumGy / samples;
gz_offset = sumGz / samples;

[Link]("IMU Calibration complete.");


[Link]("Offsets — AX:"); [Link](ax_offset);
[Link](" AY:"); [Link](ay_offset);
[Link](" AZ:"); [Link](az_offset);

71
[Link](" GX:"); [Link](gx_offset);
[Link](" GY:"); [Link](gy_offset);
[Link](" GZ:"); [Link](gz_offset);
}

72

You might also like