SlideShare a Scribd company logo
1 of 10
Download to read offline
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 222
Using Natural Language Processing(NLP), Voice Recognition and
Internet of Things(IoT) Technologies in the Multi-Tier Architecture for
Controlling Smart Home Operations
Isha Pathania
M.E. Dept. of Computer Science and Engineering, Chandigarh University, Gharuan
-------------------------------------------------------------------***------------------------------------------------------------------------
Abstract - Along with the arrival of the IOT(Internet of Things),many devices are attaching with the Internet with the aim
to provide help to many people. In this paper, I generally introduced an IoT Agent, which is usually a Web application for
observing and managing a smart home to a certain extent. TheIoTAgent initiatesachatwhich is used to recognize the voice
or text commands using NLP(Natural Language Processing). Along with the usage of Natural Language Processing( NLP),
home devices are even much more user-friendly and managing them is a little bit easier, even when a command or the
command/question isdissimilar fromthe presets, the system appreciates the user’s desires and act upon accordingly. The
solution exploits some of the available APIS(Application Programming Interfaces), whose name are: the Dialogflow API
for the well-organized integration of Natural Language Programming(NLP),the Message Queuing Telemetry
Transport(MQTT) for the lightweight management of the Firebase and many actuators for the purpose of dynamic data
storage.
Key Words: Internet of Things, Natural Language Processing, Technology, Smart Home Operations, Voice
recognition
INTRODUCTION
A growing Internet-based architecture is IOT(Internet Of Things), it usually enables the data exchange and also the
services that are present in a global network. Along with the arrival of the IOT(Internet of Things),many devices are
attaching with the Internet with the aim to provide help to many people. In this paper, we generally introduced an IoT
Agent, which is usually a Web application for observing and managing a smart home to a certain extent. The IoT Agent
initiatesachatwhich is used to recognize the voice or text commands using NLP(Natural Language Processing). Along with
the usage of Natural Language Processing( NLP), home devices are even much more user-friendly and managing them is a
little bit easier,evenwhena commandor the command/question isdissimilar fromthe presets, the system appreciates the
user’s desires and act upon accordingly. The solution exploits some of the available APIS(Application Programming
Interfaces), whose name are: the Dialogflow API for the well-organized integration of Natural Language
Programming(NLP),theMessage Queuing Telemetry Transport(MQTT) for the lightweight management of the Firebase and
many actuators for the purpose of dynamic data storage.
Inthispaper,I have proposed an application for managingthe smart home to a certain extent. In my application I obtained
the values of sensors and to manage the actuators I used natural language. In addition, any person could also
even use the chatbot present in that main page of my application, with the purpose to communicate with it using free
text. For the purpose of training of my NLP (Natural Language Processing) system, I had used an API which is
Dialogflow Application Programming Interface.
1. System Architecture
Figure 1 which is shown below depicts the comprehensive architecture of my ecosystem, which is comprised of
many subparts. The user makes use of the IoT Agent and a web application which can host all of the functionality, could
monitor and control the actuators and the sensors , that are unified into the smart home.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 223
Figure 1. Main system architecture.
Figure 2. IoT Agent’s welcome page
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 224
Figure 3. Generic interconnection of actuators and sensors with microcontrollers.
2. Natural Language Processing (NLP) System
My system is an extension of the usage of the NLP(Natural Language Processing). NLP(Natural Language
Processing) is a part of AI( Artificial Intelligence) which uses computational techniques to understand, it observe and
renew human natural speech. The IoT Agent uses NLP(Natural Language Processing) for the use of voice-chat feature,and
for its text-chat system too. Dialogflow is a very amazing solution for NLP’s convenient integration in the IoT system.
Dialogflow API is also provided by Google and it uses techniques of machine-learning for the training process.
3. Microcontroller Implementation
This section represent the most important logic of the microcontroller’s code which are at the maximum edge of
my system. The code for both of the different microcontrollers is written at the Arduino IDE. Ihad divided my code into
two separate code blocks.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 225
4. Web Application Implementation
The main Web application is made by the use of the Angular framework. Angular is the common framework which is also
developed by Google for the purpose of creating single-page applications which can be used for desktop, web or mobile
also.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 226
Figure 9. The IoT Agent login screen.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 227
Figure 10. The IoT Agent Chatbot environment
Figure 11. The IoT Agent Dashboard.
Below is the sample of test commands, by using these commands we will find decision-making time of IOT Agent,
response time of various controllers and total response time.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 228
Table 1. Sample of test commands.
Figure 12: Given below illustrates the results.
Figure 12. Response time of NLP engine per network bandwidth
Table 2. Data processing and decision-making time of the IoT Agent under different access networks.
C./B.
ADSL(D.:3.93) Fast 3G
(D.:1.51
Slow 3G (D.:0.36
Mbps/U.:0.57 Mbps) Mbps/U.:0.45 Mbps) Mbps/U.:0.26 Mbps)
C. 1 4 millisecond 7 millisecond 5 millisecond
C. 2 2 millisecond 2 millisecond 2 millisecond
C. 3 1 millisecond 1 millisecond 1 millisecond
C. 4 1 millisecond 1 millisecond 1 millisecond
C. 5 4 millisecond 4 millisecond 6 millisecond
C. 6 3 millisecond 3 millisecond 7 millisecond
C. 7 1 millisecond 1 millisecond 1 millisecond
C. 8 1 millisecond 1 millisecond 1 millisecond
C. 9 0.5 millisecond 0.5 millisecond 0.5 millisecond
C. 10 0.5 millisecond 0.5 millisecond 0.5 millisecond
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 229
Figure 13 illustrates the results
Figure 13. Data –making and data processing time of the IoT Agent.
Table 3. Response time of various microcontrollers under many access networks.
C./B. ADSL (D.:3.93
Mbps/U.:0.57 Mbps)
Fast 3G (D.:1.51
Mbps/U.:0.45 Mbps)
Slow 3G
(D.:0.36
Mbps/U.:0.26
Mbps)
C.1 20 millisecond 70 millisecond 730 millisecond
C.2 30 millisecond 100 millisecond 720 millisecond
C.5 40 millisecond 50 millisecond 156 millisecond
C.6 30 millisecond 30 millisecond 720 millisecond
Figure 14. Response time of microcontrollers under different access networks.
Table 4: Total response time
C./S. Response Time Of
NLP
Data Processing Time Response Time Of
Microcontroller
C. 1 2001 millisecond 5 millisecond 730 millisecond
C. 2 2001 millisecond 2 millisecond 720 millisecond
C. 3 2002 millisecond 1 millisecond 0 millisecond
C. 4 2001 millisecond 1 millisecond 0 millisecond
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 230
C. 5 2003 millisecond 6 millisecond 156 millisecond
C. 6 2003 millisecond 7 millisecond 720 millisecond
C. 7 2002 millisecond 1 millisecond 0 millisecond
C. 8 2002 millisecond 1 millisecond 0 millisecond
C. 9 2002 millisecond 0 .5 millisecond 0 millisecond
C. 10 2001 millisecond 0.5 millisecond 0 millisecond
Figure 15. End-to-end Response Time For Many Sample Commands.
Conclusions
The IoT Agent initiates a chat which is used to recognize the voice or text commands using NLP(Natural Language
Processing). Along with the usage of Natural Language Processing( NLP), home devices are even much more user-friendly
andmanaging themis a little bit easier,evenwhenacommandor the command/question isdissimilar fromthe presets, the
system appreciates the user’s desires and act upon accordingly. The solution exploits some of the available
APIS(Application Programming Interfaces), whose name are: the Dialogflow API for the well-organized integration of
Natural Language Programming(NLP),theMessage Queuing Telemetry Transport(MQTT) for the lightweight management of
the Firebase and many actuators for the purpose of dynamic data storage. Inthispaper,I have proposed an application for
managing the smart home to a certain extent. In my application I obtained the values of sensors and to manage the
actuators I used natural language. In addition, any person could also even use the chatbot present in that main page of
my application, with the purpose to communicate with it using free text. For the purpose of training of my NLP (Natural
Language Processing)system, I had used an API called Dialogflow Application Programming Interface.
My system is an extension of the usage of the NLP(Natural Language Processing). NLP(Natural Language Processing) is a
part of AI( Artificial Intelligence) which uses techniques that are computational to understand, it observe and renew
human natural speech .The IoT Agent uses NLP(Natural Language Processing) for the use of voice-chat feature, and for its
text-chat system too. Dialogflow is a very amazing solution for NLP’s convenient integration in the IoT system. Dialogflow
API is also provided by Google and it uses techniques of machine-learning for the training process.
REFERENCES
1. Ashton, K. That “Internet of Things” thing. RFID J. 2009
2. Wortmann, F.; Flüchter, K. Internet of Things. Bus. Inf. Syst. Eng. 2015.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 231
3. Xiaoyi, C. The Internet of Things. In Ethical Ripples of Creativity and Innovation; Palgrave Macmillan: UK, 2016
4. Rizvi, S.; Sohail, I.; Saleem, M.M.; Irtaza, A.; Zafar, M. A Smart home appliances power management System for the
handicapped, Elder and Blind People. In Proceedings of the 4th International Conference on Computer and Information
Sciences (ICCOINS), Kuala Lumpur, 2018.
5. Verspoor, K.M.; Cohen, K.B. Natural Language Processing. In Target Hub—Encyclopedia of Systems Biology; Springer:
Berlin, 2013
6.Tharaniya Soundhari, M.; Brilly Sangeetha, S. Intelligent Interface based speech recognition for the Home automation In
Proceedings of the 2nd International Conference on Innovations in Information Embedded and Communication Systems
(ICIIECS’15), Coimbatore, India, 2015.
7. Milivojša, S., T.; Antić, M.; Smiljković, N. Implementation of Voice Control Interface for Smart Home Automation System.
In Proceedings of the 2017 IEEE 7th International Conference on Consumer Electronics, Berlin, Germany, 3–6 September
2017.
8. Han, Y.; Hyun, J.; Jeong, T.; Yoo, J.-H,A Smart Home Control System based on Context and Human Speech. In the
Proceedings of the 2016 18th International Conference on the Advanced Communication Technology , Pyeong Chang,
Korea,2016

More Related Content

Similar to Using Natural Language Processing(NLP), Voice Recognition and Internet of Things(IoT) Technologies in the Multi-Tier Architecture for Controlling Smart Home Operations

Similar to Using Natural Language Processing(NLP), Voice Recognition and Internet of Things(IoT) Technologies in the Multi-Tier Architecture for Controlling Smart Home Operations (20)

IRJET- Smart Home Application using Internet of Things
IRJET- Smart Home Application using Internet of ThingsIRJET- Smart Home Application using Internet of Things
IRJET- Smart Home Application using Internet of Things
 
IRJET-Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructu...
IRJET-Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructu...IRJET-Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructu...
IRJET-Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructu...
 
IRJET - IoT based Facial Recognition Quadcopter using Machine Learning Algorithm
IRJET - IoT based Facial Recognition Quadcopter using Machine Learning AlgorithmIRJET - IoT based Facial Recognition Quadcopter using Machine Learning Algorithm
IRJET - IoT based Facial Recognition Quadcopter using Machine Learning Algorithm
 
IRJET - Organisation Automation Using Android Mobile Application
IRJET - Organisation Automation Using Android Mobile ApplicationIRJET - Organisation Automation Using Android Mobile Application
IRJET - Organisation Automation Using Android Mobile Application
 
Home Automation using Internet of Things
Home Automation using Internet of ThingsHome Automation using Internet of Things
Home Automation using Internet of Things
 
IRJET - Web Controlled Smart Notice Board using Raspberry Pi: A Review
IRJET - Web Controlled Smart Notice Board using Raspberry Pi: A ReviewIRJET - Web Controlled Smart Notice Board using Raspberry Pi: A Review
IRJET - Web Controlled Smart Notice Board using Raspberry Pi: A Review
 
A Review: The Internet of Things Using Fog Computing
A Review: The Internet of Things Using Fog ComputingA Review: The Internet of Things Using Fog Computing
A Review: The Internet of Things Using Fog Computing
 
Android Based Smart Department
Android Based Smart DepartmentAndroid Based Smart Department
Android Based Smart Department
 
ROBOT ARM WITH SMARTPHONE CONTROL
ROBOT ARM WITH SMARTPHONE CONTROLROBOT ARM WITH SMARTPHONE CONTROL
ROBOT ARM WITH SMARTPHONE CONTROL
 
IRJET- Voice Controlled Robot using Wi-Fi Module
IRJET-  	  Voice Controlled Robot using Wi-Fi ModuleIRJET-  	  Voice Controlled Robot using Wi-Fi Module
IRJET- Voice Controlled Robot using Wi-Fi Module
 
A Review on Internet of Things (IoT) in Agriculture: Benefits, Challenges and...
A Review on Internet of Things (IoT) in Agriculture: Benefits, Challenges and...A Review on Internet of Things (IoT) in Agriculture: Benefits, Challenges and...
A Review on Internet of Things (IoT) in Agriculture: Benefits, Challenges and...
 
Authentication system with Decentralized chat app
Authentication system with Decentralized chat appAuthentication system with Decentralized chat app
Authentication system with Decentralized chat app
 
Home Automation Application with voice commands using Arduino
Home Automation Application with voice commands using ArduinoHome Automation Application with voice commands using Arduino
Home Automation Application with voice commands using Arduino
 
IRJET- Design of SCADA based Wireless Monitoring and Control
IRJET- Design of SCADA based Wireless Monitoring and ControlIRJET- Design of SCADA based Wireless Monitoring and Control
IRJET- Design of SCADA based Wireless Monitoring and Control
 
IRJET- Home Automation using IoT: Review
IRJET- Home Automation using IoT: ReviewIRJET- Home Automation using IoT: Review
IRJET- Home Automation using IoT: Review
 
IRJET- Labour Work Monitoring System
IRJET- Labour Work Monitoring SystemIRJET- Labour Work Monitoring System
IRJET- Labour Work Monitoring System
 
IOT Based Smart Parking System
IOT Based Smart Parking SystemIOT Based Smart Parking System
IOT Based Smart Parking System
 
IRJET - Notice Board using LED Matrix Display
IRJET - Notice Board using LED Matrix DisplayIRJET - Notice Board using LED Matrix Display
IRJET - Notice Board using LED Matrix Display
 
IRJET - Voice Controlled Robot using NodeMCU
IRJET - Voice Controlled Robot using NodeMCUIRJET - Voice Controlled Robot using NodeMCU
IRJET - Voice Controlled Robot using NodeMCU
 
Wi-Fi Controlled Car
Wi-Fi Controlled CarWi-Fi Controlled Car
Wi-Fi Controlled Car
 

More from IRJET Journal

More from IRJET Journal (20)

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
 
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
 

Recently uploaded

Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 

Recently uploaded (20)

Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 

Using Natural Language Processing(NLP), Voice Recognition and Internet of Things(IoT) Technologies in the Multi-Tier Architecture for Controlling Smart Home Operations

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 222 Using Natural Language Processing(NLP), Voice Recognition and Internet of Things(IoT) Technologies in the Multi-Tier Architecture for Controlling Smart Home Operations Isha Pathania M.E. Dept. of Computer Science and Engineering, Chandigarh University, Gharuan -------------------------------------------------------------------***------------------------------------------------------------------------ Abstract - Along with the arrival of the IOT(Internet of Things),many devices are attaching with the Internet with the aim to provide help to many people. In this paper, I generally introduced an IoT Agent, which is usually a Web application for observing and managing a smart home to a certain extent. TheIoTAgent initiatesachatwhich is used to recognize the voice or text commands using NLP(Natural Language Processing). Along with the usage of Natural Language Processing( NLP), home devices are even much more user-friendly and managing them is a little bit easier, even when a command or the command/question isdissimilar fromthe presets, the system appreciates the user’s desires and act upon accordingly. The solution exploits some of the available APIS(Application Programming Interfaces), whose name are: the Dialogflow API for the well-organized integration of Natural Language Programming(NLP),the Message Queuing Telemetry Transport(MQTT) for the lightweight management of the Firebase and many actuators for the purpose of dynamic data storage. Key Words: Internet of Things, Natural Language Processing, Technology, Smart Home Operations, Voice recognition INTRODUCTION A growing Internet-based architecture is IOT(Internet Of Things), it usually enables the data exchange and also the services that are present in a global network. Along with the arrival of the IOT(Internet of Things),many devices are attaching with the Internet with the aim to provide help to many people. In this paper, we generally introduced an IoT Agent, which is usually a Web application for observing and managing a smart home to a certain extent. The IoT Agent initiatesachatwhich is used to recognize the voice or text commands using NLP(Natural Language Processing). Along with the usage of Natural Language Processing( NLP), home devices are even much more user-friendly and managing them is a little bit easier,evenwhena commandor the command/question isdissimilar fromthe presets, the system appreciates the user’s desires and act upon accordingly. The solution exploits some of the available APIS(Application Programming Interfaces), whose name are: the Dialogflow API for the well-organized integration of Natural Language Programming(NLP),theMessage Queuing Telemetry Transport(MQTT) for the lightweight management of the Firebase and many actuators for the purpose of dynamic data storage. Inthispaper,I have proposed an application for managingthe smart home to a certain extent. In my application I obtained the values of sensors and to manage the actuators I used natural language. In addition, any person could also even use the chatbot present in that main page of my application, with the purpose to communicate with it using free text. For the purpose of training of my NLP (Natural Language Processing) system, I had used an API which is Dialogflow Application Programming Interface. 1. System Architecture Figure 1 which is shown below depicts the comprehensive architecture of my ecosystem, which is comprised of many subparts. The user makes use of the IoT Agent and a web application which can host all of the functionality, could monitor and control the actuators and the sensors , that are unified into the smart home.
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 223 Figure 1. Main system architecture. Figure 2. IoT Agent’s welcome page
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 224 Figure 3. Generic interconnection of actuators and sensors with microcontrollers. 2. Natural Language Processing (NLP) System My system is an extension of the usage of the NLP(Natural Language Processing). NLP(Natural Language Processing) is a part of AI( Artificial Intelligence) which uses computational techniques to understand, it observe and renew human natural speech. The IoT Agent uses NLP(Natural Language Processing) for the use of voice-chat feature,and for its text-chat system too. Dialogflow is a very amazing solution for NLP’s convenient integration in the IoT system. Dialogflow API is also provided by Google and it uses techniques of machine-learning for the training process. 3. Microcontroller Implementation This section represent the most important logic of the microcontroller’s code which are at the maximum edge of my system. The code for both of the different microcontrollers is written at the Arduino IDE. Ihad divided my code into two separate code blocks.
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 225 4. Web Application Implementation The main Web application is made by the use of the Angular framework. Angular is the common framework which is also developed by Google for the purpose of creating single-page applications which can be used for desktop, web or mobile also.
  • 5. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 226 Figure 9. The IoT Agent login screen.
  • 6. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 227 Figure 10. The IoT Agent Chatbot environment Figure 11. The IoT Agent Dashboard. Below is the sample of test commands, by using these commands we will find decision-making time of IOT Agent, response time of various controllers and total response time.
  • 7. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 228 Table 1. Sample of test commands. Figure 12: Given below illustrates the results. Figure 12. Response time of NLP engine per network bandwidth Table 2. Data processing and decision-making time of the IoT Agent under different access networks. C./B. ADSL(D.:3.93) Fast 3G (D.:1.51 Slow 3G (D.:0.36 Mbps/U.:0.57 Mbps) Mbps/U.:0.45 Mbps) Mbps/U.:0.26 Mbps) C. 1 4 millisecond 7 millisecond 5 millisecond C. 2 2 millisecond 2 millisecond 2 millisecond C. 3 1 millisecond 1 millisecond 1 millisecond C. 4 1 millisecond 1 millisecond 1 millisecond C. 5 4 millisecond 4 millisecond 6 millisecond C. 6 3 millisecond 3 millisecond 7 millisecond C. 7 1 millisecond 1 millisecond 1 millisecond C. 8 1 millisecond 1 millisecond 1 millisecond C. 9 0.5 millisecond 0.5 millisecond 0.5 millisecond C. 10 0.5 millisecond 0.5 millisecond 0.5 millisecond
  • 8. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 229 Figure 13 illustrates the results Figure 13. Data –making and data processing time of the IoT Agent. Table 3. Response time of various microcontrollers under many access networks. C./B. ADSL (D.:3.93 Mbps/U.:0.57 Mbps) Fast 3G (D.:1.51 Mbps/U.:0.45 Mbps) Slow 3G (D.:0.36 Mbps/U.:0.26 Mbps) C.1 20 millisecond 70 millisecond 730 millisecond C.2 30 millisecond 100 millisecond 720 millisecond C.5 40 millisecond 50 millisecond 156 millisecond C.6 30 millisecond 30 millisecond 720 millisecond Figure 14. Response time of microcontrollers under different access networks. Table 4: Total response time C./S. Response Time Of NLP Data Processing Time Response Time Of Microcontroller C. 1 2001 millisecond 5 millisecond 730 millisecond C. 2 2001 millisecond 2 millisecond 720 millisecond C. 3 2002 millisecond 1 millisecond 0 millisecond C. 4 2001 millisecond 1 millisecond 0 millisecond
  • 9. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 230 C. 5 2003 millisecond 6 millisecond 156 millisecond C. 6 2003 millisecond 7 millisecond 720 millisecond C. 7 2002 millisecond 1 millisecond 0 millisecond C. 8 2002 millisecond 1 millisecond 0 millisecond C. 9 2002 millisecond 0 .5 millisecond 0 millisecond C. 10 2001 millisecond 0.5 millisecond 0 millisecond Figure 15. End-to-end Response Time For Many Sample Commands. Conclusions The IoT Agent initiates a chat which is used to recognize the voice or text commands using NLP(Natural Language Processing). Along with the usage of Natural Language Processing( NLP), home devices are even much more user-friendly andmanaging themis a little bit easier,evenwhenacommandor the command/question isdissimilar fromthe presets, the system appreciates the user’s desires and act upon accordingly. The solution exploits some of the available APIS(Application Programming Interfaces), whose name are: the Dialogflow API for the well-organized integration of Natural Language Programming(NLP),theMessage Queuing Telemetry Transport(MQTT) for the lightweight management of the Firebase and many actuators for the purpose of dynamic data storage. Inthispaper,I have proposed an application for managing the smart home to a certain extent. In my application I obtained the values of sensors and to manage the actuators I used natural language. In addition, any person could also even use the chatbot present in that main page of my application, with the purpose to communicate with it using free text. For the purpose of training of my NLP (Natural Language Processing)system, I had used an API called Dialogflow Application Programming Interface. My system is an extension of the usage of the NLP(Natural Language Processing). NLP(Natural Language Processing) is a part of AI( Artificial Intelligence) which uses techniques that are computational to understand, it observe and renew human natural speech .The IoT Agent uses NLP(Natural Language Processing) for the use of voice-chat feature, and for its text-chat system too. Dialogflow is a very amazing solution for NLP’s convenient integration in the IoT system. Dialogflow API is also provided by Google and it uses techniques of machine-learning for the training process. REFERENCES 1. Ashton, K. That “Internet of Things” thing. RFID J. 2009 2. Wortmann, F.; Flüchter, K. Internet of Things. Bus. Inf. Syst. Eng. 2015.
  • 10. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 231 3. Xiaoyi, C. The Internet of Things. In Ethical Ripples of Creativity and Innovation; Palgrave Macmillan: UK, 2016 4. Rizvi, S.; Sohail, I.; Saleem, M.M.; Irtaza, A.; Zafar, M. A Smart home appliances power management System for the handicapped, Elder and Blind People. In Proceedings of the 4th International Conference on Computer and Information Sciences (ICCOINS), Kuala Lumpur, 2018. 5. Verspoor, K.M.; Cohen, K.B. Natural Language Processing. In Target Hub—Encyclopedia of Systems Biology; Springer: Berlin, 2013 6.Tharaniya Soundhari, M.; Brilly Sangeetha, S. Intelligent Interface based speech recognition for the Home automation In Proceedings of the 2nd International Conference on Innovations in Information Embedded and Communication Systems (ICIIECS’15), Coimbatore, India, 2015. 7. Milivojša, S., T.; Antić, M.; Smiljković, N. Implementation of Voice Control Interface for Smart Home Automation System. In Proceedings of the 2017 IEEE 7th International Conference on Consumer Electronics, Berlin, Germany, 3–6 September 2017. 8. Han, Y.; Hyun, J.; Jeong, T.; Yoo, J.-H,A Smart Home Control System based on Context and Human Speech. In the Proceedings of the 2016 18th International Conference on the Advanced Communication Technology , Pyeong Chang, Korea,2016