You are on page 1of 12

IOT ARCHITECTURE WITH EMBEDDED AI

Vaibhav Shankarrao Pawar


MSc Computer Science
Yeshwant Mahavidhyalaya Nanded, Maharashtra
Swami Ramanand Teerth Marathwada University Nanded, Maharashtra
Contact : 9850171672
Email : pawarvaibhav533@gmail.com

ABSTRACT revolution”. The concern that arises then is


to handle the huge data generated with the
much weaker existing computation power.
Functioning of the Internet is
The research in data science and artificial
persistently transforming from the Internet
intelligence (AI) has been striving to give an
of Computers (IoC) to the “Internet of
answer to this problem. Thus, IoT with AI
Things (IoT).” Furthermore, massively
can become a huge breakthrough. This is not
interconnected systems, also known as
just about saving money, smart things,
Cyber Physical Systems (CPS) are emerging
reducing human effort or any trending hype.
from the assimilation of many facets like
This is much more than that - easing human
infrastructure, embedded devices, smart
life. There are, however, some serious issues
objects, humans and physical environments.
like the security concerns and ethical issues
What we are heading to is a huge “Internet
which will go on plaguing IoT. The big
of Everything in a Smart Cyber Physical
picture is not how fascinating IoT with AI
Earth.” IoT and CPS conjugated with “data
seems, but how the common people perceive
science” may emerge as the next “smart
it - a boon, a burden or a threat.

1|Page
INTRODUCTION

We are quite fascinated by the word it humans, animals, plants, machines,


smart”. But, what we have today is still far appliances, soil, stones, lakes, buildings or
from being smart like a human. Let us anything one can think of, connecting them
consider the example of a smartphone, together and making “smart decisions” can
although it is “smart”, it cannot do much make the world an autonomous place. To
automatically. For example, it is not able to
make the world and its physical objects
put notifications or message alerts in ‘silent
actually autonomous, we need a machine
mode’ automatically when the owner is
learning (ML) [1] emulating human learning
driving. It would be smarter if it could at
as well as a data analysis (DA) [2] module in
least reduce distractions caused by the alerts
the system. ML would create techniques to
when the owner is driving. This requires
facilitate learning in various
some kind of wireless connection between
components/devices of the network to
the person, his/her smartphone and the car.
In another situation, if the owner falls sick, make them automatic and self standing,

the smart phone should make an emergency whereas DA would evaluate/analyse all the

call to a family member or a hospital nearby. data that is generated over time to find out
It will again need certain connections and the past trends and be more
information (about the family members and efficient/effective in future. This trend has
hospitals) to facilitate this. If we go on been growing and now efforts are being
giving examples like this, we will see nearly made to incorporate ML and DA into
everything present in the physical world sensors [3] and embedded systems [4] of
need to be connected to everything else to the smart systems. The technology behind
meet some requirements or the other. To
AI is really intriguing and what it will turn
make these things “smart”, we will need
into forces us to rethink everything we
artificial intelligence .
know about the meaning and purpose of
AI is a technology that targets at
life and work. The pace at which ML and DA
making computers do human like
are driving AI, calls for a good need to
reasoning. This development will accelerate
the digital transformation of industries. Be
1|Page
discuss trends, challenges and threats that When these concepts are deployed to the
will grow gradually. physical world, what we get is a Cyber
One of the greatest ideas behind this Physical System (CPS) [8]. Such a world
trend is the Internet of Things (IoT) [5] would be data wealthy, using which
which anticipates a world saturated with knowledge could be extracted. Various
installed intelligent gadgets, frequently disciplines like Database Management
called “smart objects” [6], interconnected System (DBMS) [9], Pattern Recognition
through the Internet or other (PR) [10], Data Mining (DM) [2], Machine
communication mediums like Bluetooth, Learning (ML) [1], Big Data Analytics (BD)
infrared, etc. These connections will be [11] will need improvised methods to deal
humanhuman, human-physical things, and with the data, overlapping largely in their
physical things-physical things. Internet of scope. This article mainly revolves around
Everything [7] is also a similar idea that intuitions, challenges and applications of
suggests that every living, non-living or artificial intelligence in the concepts of
virtual object is connected to each other Internet of Things, Cyber Physical Systems
through some communication medium. and Internet of Everything.

‘taking’ a perfect decision at the appropriate


ARTIFICIAL time, AI is merely about ‘choosing’ a right

INTELLIGENCE decision at the appropriate time. To put it


plainly, the creativity in decision that
humans can take is lacking in AI. It may be
Artificial Intelligence (AI) is the
argued that human ingenuity will always
science of instilling intelligence in machines
change the role of productive work, but, AI
so that they are capable of doing tasks that
based systems have quite elegantly reduced
traditionally required the human mind. AI
repetition of human efforts and could give
based systems are evolving rapidly in terms
results in comparatively low time. Most of
of application, adaptation, processing speed
the ongoing works in AI can be termed as
and capabilities. Machines are increasingly
‘Narrow AI’. This means that only certain
becoming capable of taking on less-routine
tasks are enhanced by technology. However,
tasks. While, humans intelligence is actually
we are aiming for something much more
2|Page
than that. Hence, many fields have way, data science is the science of
conjugated to drive the AI development. developing tools and methods to analyze
Various domains like philosophy, large volumes of data and gain information
computer science, mathematics, statistics, from it. The discipline is therefore, an
biology, physics, sociology, psychology and amalgamation of many other research areas.
many more have come up together to boost For developing tools, the ideas mainly come
the interdisciplinary nature of AI. from computer science which are primarily
Intelligence, comes from all the data concerned with algorithmic efficiency and
generated in each of these storage scalability. For analysis, the ideas
domains. Analysis of this data is important come from much more varied sources.
to bring out the principles behind it. Human Methodologies are borrowed from both the
brain is capable of doing it easily, but it basic sciences (like physics, statistics, graph
takes a long time. This is because, the data theory) as well as the social sciences (like
in real world, has some unwelcome economics, sociology, political science).
properties: Specific techniques which are naturally
interdisciplinary are also very popular in
• Huge volume data science, such as pattern recognition
• Unstructured nature [10], machine learning [2], data mining [12],
• Varied data sources database management systems [9] and big
• Needs real-time processing data analytics [13, 14].
• Changes continuously

INTERNET OF THINGS
There are other properties too like
Even a few decades back, nobody
volatility, virility, etc. AI can be regarded as
could have imagined having a video chat
a technique to use the data in an efficient
with their families in a different continent.
manner so that it is understandable to the
Nowadays, it is a common thing. All of
people who provide it, modifiable (in case of
these is due to technology getting cheaper,
errors), holds usefulness in the present
and devices emerging with new and
scenario and is meaningful.
improved capabilities. People
AI, therefore, relies heavily on data
science techniques. To state in a broader

3|Page
can get things done with a click on their devices using some smart objects attached to
smartphone, be it sending emails, paying both which are capable of sending, receiving
bills, transferring money or booking a cab. and analysing data. These smart objects
What we had since 1991 was represent the entity (a human or a physical
“Internet of Computers (IoC)” and it thing), it is attached to, in the network.
gradually grew in size as more and more
people started using it. With the advent of ARCHITECTURE OF
pocket phones and connected devices, the
IOT
Internet of Devices started and eventually
Architecture of IoT [8] is broadly classified
grew larger as mobile phones, computers,
into 4 layers.
laptops and tablets became cheaper and
1. Sensor Layer : This is lowest layer
more accessible to the common man.
of IOT Architecture, which consists
Gartner, Inc. forecasted that 6.4 billion
of sensor networks, embedded
connected things will be in use worldwide in
systems, RFID tags and readers or
2016, up 30 percent from 2015, and will
other soft sensor s which are
reach 20.8 billion by 2020 [24]. In 2016,
different forms of sensors deployed
more than 5.5 million new things got
in the field. Each of these sensors has
connected every day, thus, emerging the
identification and information
huge scope for Internet of Things. Since
storage (e.g. RFID tags), information
various things are continuously connecting
collection (e.g. sensor networks), etc.
to form an IoT, there are various disciplines
2. Gateway and Network Layer :
that get associated with IoT. Therefore, IoT
This layer is responsible for
can also be thought of as a combination of
transferring the information collected
various domains. Figure 1 gives a
by sensors to the next layer. It should
representative list of some domains (most of
support scalable, flexible, standards
these overlap with each other in terms of
universal protocol for transferring
concepts and techniques) constituting the
data from heterogeneous devices
IoT. Internet of things is just a connected
(Different types of sensor nodes).
system of physical things (like appliances,
This Layer should have high
crop fields, plants, animals, etc.) and
performance and robust network. It
humans. Humans are connected to these

4|Page
should also support multiple can sense its surroundings, transmit, store
organizations to communicate and process the data gathered and act
independently. accordingly. The last step of acting
3. Management Service Layer : This accordingly is entirely dependent on the
layer acts as an interface between the processing step. The true smartness of an
Gateway - Network layer and the IoT service is determined by the level of
application layer; in bidirectional processing or acting that it can perform. A
mode. It is responsible for device non-smart IoT
management and information
management and responsible for system will have limited capability and will
capturing large amount of the raw be unable to evolve with the data. However,
data and extracting relevant a smarter IoT system will have artificial
information from the stored data as intelligence and may serve the actual goal of
well from the real time data. Security automation and adaptation. In this context,
and privacy of the data should be few examples of existing IoT services with
ensured. the working of AI behind them are discussed
4. Application Layer : This is the top here.
most layer of IoT which provides a
user interface to access various 1. Voice Assistants : These are
applications to different users. The
cloud-based voice services which act as
applications can be used in various
table-top personal assistants for users. They
sectors like transportation, health
perform various tasks through third-party
care, agriculture, supply chain,
applications and other smart devices in their
government, retail etc.
proximity. They are capable of answering
queries, calling cabs, making restaurant

AI ENABLED IOT reservations, playing music, switching smart


lights on/off, and many more tasks based on
IoT is a vast concept encompassing too
the user’s voice commands. Few of the well
many sensors, actuators, data storage and
known voice assistants are :
data processing capabilities interconnected
by the Internet. Thus any IoT enabled device

5|Page
• Alexa is the voice assistant from Amazon, and are able to interact with humans while
which is used in products like Amazon understanding, reciprocating and expressing
Echo, Amazon Tap, etc. There is a specific certain human emotions. Robots are IoTs in
set of skills known as the Alexa Skills Kit themselves since they contain multiple
(ASK) that can be modified and updated to sensors and actuators along with AI that
personalize or improve certain skills. helps them continuously learn and adapt
• Siri from Apple Inc. is used in Apple themselves over time.
Homepod which serves a similar purpose.
• Google Assistant used in Google Home • Pepper from SoftBank Robotics is a
has additional features where it can human-shaped robot which is termed as a
recognize upto six different users and pull humanoid companion which can interact
their respective details to converse with with humans. It is able to understand a
them. human’s emotion through his/her facial
expression, body movement, tone of voice,
These voice assistants are capable of words used, etc. It can identify four human
performing multiple tasks mostly due to the emotions, namely joy, sadness, anger and
application of various subfields of AI. surprise, and reciprocates appropriately
Automatic far-field voice recognition, wake through movement, touch, words and
word detection, speech to text conversion, display on its screen. It is able to move
natural language processing and around and interact with humans and other
understanding, contextual reasoning, devices in its vicinity. Pepper is
dialogue management, question answering, commercially used in various stores to
conversational AI, etc. are performed interact with customers.
continuously to make the voice assistants • Sophia from Hanson Robotics is a social
perform functions real time. humanoid robot which is incredibly human-
like and can express emotions through more
than 50 facial expressions. During a
conversation, it is able to maintain eye

2. Robots : Recent advancements in this contact with the human while conversing.
Sophia is world’s first robot to get a
field of robotics has led to the creation of
country’s full citizenship. She has even
robots who have increased human likeness
6|Page
given multiple interviews and sang in a • Smart Oven by June aims to cook food
concert. perfectly everytime. It has an HD camera
• Robotic Kitchen from Moley Robotics is and food thermometer which helps to
an advanced fully functional robot automatically monitor the food being
integrated into a kitchen. It has robotic arms, cooked inside the oven, and can switch
oven, hob and a touchscreen unit for human cooking modes if necessary. This oven can
interaction and is able to prepare food of be operated through Alexa and can
expert quality from its recipe library. recommend and configure automatic cook
program by analysing the likings of the user.
Application of natural language • SkyBell is an HD WiFi doorbell from
processing, computer vision, shape Honeywell that allows the user to answer the
recognition, object recognition, detection & door through a smartphone or a voice
tracking, blockchain technology to analyse assistant. The video camera at the doorbell
inputs & responses, facial recognition, voice sends an alert and live feed to the home
recognition, speech-to-text technology, owner’s phone to alert him/her about the
obstacle recognition, haptics, etc. have been person at the door. The owner can converse
widely used in these robots to enable them with the person through SkyBell even from
function effectively. a remote location. This has helped keep
trespassers and burglars at bay.

3. Smart Devices : In an IoT apart • Smart Lights by Deako can be controlled


remotely through smartphones and Alexa or
from the voice assistants and robots, there
Google assistant. They are connected via the
are smart objects/devices that are present
Internet and can receive software upgrades
which make the task simpler for humans.
from time to time.
Smart objects that are AI enabled use
• Automotive AI by Affectiva is an in-cabin
applications of object identification, facial
sensing AI that can be used in robo-taxis and
recognition, voice recognition, speech and
highly automated vehicles. It detects
expression identification, deep neural
emotional and cognitive state of the
networks, transfer learning, computer vision,
occupants in the vehicle from their face and
etc.
voice through in-cabin cameras and
microphones.

7|Page
of huge value in the data. Without the AI,
the data that the IoT generates remains

4. Industrial IOT : Apart from being useless. IoT needs to depend on AI as it is


impossible for any human to find
used inside smart homes, IoT has a huge
information in the data that IoT generates.
application area in the various industrial
Moreover, if a new pattern in data is
sectors. These solutions perform statistical
detected, the machine will be capable
and financial analysis of a company as a
enough to learn by itself which will be
whole and finally provide predictions using
impossible for a non-AI IoT system to do.
some AI and machine learning algorithms.

• Primer is a product from Alluvium which Challenges


provides industrial solutions. Primer creates IoT may seem fascinating to talk
a real time Stability Score analysis based on about. We argue that most of the technical
the data collected, the sensors in the system challenges have been addressed like having
and assets. It aims to detect potential issues the ultra-low power microcontrollers,
well beforehand and helps operators identify advanced sensors, wireless technologies etc.,
the anomalies and make necessary changes but still we are speculating about the IoT
from something as small as a sensor to the rocket to take off. There are still some major
entire facility. issues which have held the world to be
• Plutoshift is another industrial IoT based encompassed by this IoT yet.
solution. It enables industrial companies to After all the idea has been
continuously track the performance of their developed, the gap between an idea and a
assets, measures financial impact and working prototype is huge. Even if the
provides support for informed decision working prototype is set, one may need
making. resources to develop the prototype. Even if
one is able to strive past all of this, the
question that stands now is how do we know
Thus, the opportunities and potential if this hot new technology will succeed or
of both AI and IoT can advance when they fail. Most of us, even experts in that
are combined. As IoT generates data, ML particular domain, get it wrong most of the
and BDA carry the potential to find insights time. Recent IoT trends indicate that data is
8|Page
coming at a faster speed, from various security will also be a major concern as in
sources in various forms. It obviously this age of technology, there will be cyber
exceeds the abilities of an information wars. Any autonomous system will be used
system to imbibe, store, analyze, and for malicious reasons if hacked. Such
process it. It is not hard to find databases vulnerabilities of AI systems should be
with some petabytes of data, but the main checked so that they stay safeguarded
objective is to not let all of these data go to against such attacks. Mock attacking AI
waste. Therefore, efforts are being made to systems should be developed that would
recognize and extract meaningful immunize the existing safeguarding AI
information (patterns, structure, underlying system. There should also be systems that
relationships, etc.) from them. This task is would predict the new type of attacks that
quite complicated and it needs advanced can arise. Any organization must develop
storage and processing techniques due to the systems to quickly recover from cyber
unimaginable volumes of data. In this events that disrupt usual business operations.
scenario, new algorithms are being devised Critical information that may be maliciously
and wellknown techniques are being used against an individual should be
revisited and tailored in the fields of Pattern automatically identified and should be kept
Recognition, Machine Learning, Data private even if people share it publicly. AI
Mining, etc. to handle the new challenges systems can be used to ensure such privacy
posed by these data. There are other as well.
concerns too regarding such a union of
technologies. The field of AI needs CONCLUSION
more development with the advent of such
IoT-CPS infrastructure. As example cases,
People will be wearing intelligent
we can discuss some issues. Complex
gadgets, eating intelligent capsules that
adaptive AI systems may lead to self
judge the impact of the medicine on the
sustaining malicious evolution of systems
body, living inside intelligent homes, and so
that can mimic a cancerous growth in human
on. This sounds like a science fiction, but
body. We would therefore need more
this is what all the present research is about.
research to combat such systems using
Everything will be smart and will be
superior evolving AI systems. Cyber-
connected to the Internet. All branches of
9|Page
science will collaborate to create something will be more skilled labor with re-skilling
of a big value. We will have a ‘smart cyber and up-skilling. As we will continuously
revolution’. However, there is still a debate deploy AI models in the wild we will be
on whether we are heading towards a forced to re-examine the effects of such
creative destruction or not.. automation on the conditions of human life.
For instance, machines are now able Although these systems bring myriad
to take on less-routine tasks, and this benefits, they also contain inherent risks,
transition is occurring during an era in such as privacy breach, codifying and
which many workers are already struggling. entrenching biases, reducing accountability
Nonetheless, with the right policies we can and hindering due process and increasing the
get the best of both worlds: automation information asymmetry between data
without rampant unemployment. producers and data holders.
Eventually, human ingenuity changes the
role of productive work. Educational
opportunities will be promoted and there

10 | P a g e
REFERENCES Technology, Middleware and
Applications. Springer, 2014.

1. R. S. Michalski, J. G. Carbonell, and 7. L. T. Yang, B. Di Martino, and Q.

T. M. Mitchell, Machine Learning: Zhang, “Internet of Everything,”

An Artificial Intelligence Approach. Mobile Information Systems, vol.

Springer Science & Business Media, 2017, 2017.

2013.
2. I. H. Witten and E. Frank, Data
Mining: Practical Machine Learning
Tools and Techniques. Morgan
Kaufmann, 2016.
3. L. Monostori, B. Kádár, T.
Bauernhansl, S. Kondoh, S. Kumara,
G. Reinhart, O. Sauer, G. Schuh, W.
Sihn, and K. Ueda, “Cyber-Physical
Systems in Manufacturing,” CIRP
Annals, vol. 65, no. 2, pp. 621–641,
2016.
4. E. A. Lee and S. A. Seshia,
Introduction to Embedded Systems:
A Cyber-Physical Systems
Approach. MIT Press, 2016.
5. Q. F. Hassan, A. R. Khan, and S. A.
Madani, Internet of Things:
Challenges, Advances, and
Applications. Chapman & Hall/CRC
Computer and Information Science
Series, CRC Press, 2017.
6. G. Fortino and P. Trunfio, Internet of
Things based on Smart Objects:
11 | P a g e

You might also like