IoT Unit I - Overview
IoT Unit I - Overview
Unit- I
Introduction
IoT is a network in which all physical objects are connected to the
internet through network devices or routers and exchange data. IoT allows
objects to be controlled remotely across existing network infrastructure. IoT is
a very good and intelligent technique which reduces human effort as well as easy
access to physical devices. This technique also has autonomous control feature by
which any device can control without any human interaction.
Applications of IoT
Smart home
The most important and efficient application that stands out is the smart home,
ranking the highest IoT application on all channels. The number of people
searching for smart homes increases every month by about 60,000 people.
Wearables
Just like smart homes, wearables remain a hot topic among potential IoT. Every
year, consumers all across the globe await the release of the latest apple
smartwatch.
1
Smart city
Smart cities, like its name suggests, is a big innovation and spans a wide variety of
use cases, from water distribution and traffic management to waste management
and environmental monitoring.
Smart grids
Smart grids are another area of IoT technology that stands out. A smart grid
basically promises to extract information on the behaviors of consumers and
electricity suppliers in an automated fashion to improve the efficiency, economics,
and reliability of electricity distribution. 41,000 monthly google searches is a
testament to this concept’s popularity.
Industrial internet
One way to think of the industrial internet is by looking at connected machines and
devices in industries such as power generation, oil, gas, and healthcare. It also
makes use of situations where unplanned downtime and system failures can result
in life-threatening situations.
Connected car
Connected car technology is a vast and an extensive network of multiple sensors,
antennas, embedded software, and technologies that assist in communication to
navigate in our complex world. It has the responsibility of making decisions with
consistency, accuracy, and speed. It also has to be reliable.
2
IoT Characteristics
1. Intelligence
IoT comes with the combination of algorithms and computation, software &
hardware that makes it smart. Ambient intelligence in IoT enhances its capabilities
which facilitate the things to respond in an intelligent way to a particular situation
and supports them in carrying out specific tasks.
2. Connectivity
3. Dynamic nature
The primary activity of internet of things is to collect data from its environment;
this is achieved with the dynamic changes that take place around the devices.
4. Enormous scale
The number of devices that need to be managed and that communicate with each
other will be much larger than the devices connected to the current internet. The
management of data generated from these devices and their interpretation for
application purposes becomes more critical.
5. Sensing
IoT wouldn’t be possible without sensors which will detect or measure any
changes in the environment to generate data that can report on their status or even
interact with the environment.
6. Heterogeneity
3
7. Security
Advantages of IoT
Communication
Due to physical objects getting connected and controlled digitally and centrally
with wireless infrastructure, there is a large amount of automation and control in
the workings.
Information
It is obvious that having more information helps making better decisions. Whether
it is mundane decisions as needing to know what to buy at the grocery store or if
the company has enough widgets and supplies, knowledge is power and more
knowledge is better.
Monitor
The second most obvious advantage of IoT is monitoring. Knowing the exact
quantity of supplies or the air quality in your home, can further provide more
information that could not have previously been collected easily. For instance,
knowing that you are low on milk or printer ink could save you another trip to the
4
store in the near future. Furthermore, monitoring the expiration of products can and
will improve safety.
Time
The amount of time saved because of IoT could be quite large. And in today’s
modern life, all could use more time.
Money
The biggest advantage of IoT is saving money. If the price of the tagging and
monitoring equipment is less than the amount of money saved, then the internet of
things will be very widely adopted.
The IoT allows you to automate and control the tasks that are done on a daily basis,
avoiding human intervention.
Disadvantages of IoT
Complexity: as with all complex systems, there are more opportunities of failure.
With the internet of things, failures could sky rocket. For instance, let’s say that
both you and your spouse each get a message saying that your milk has expired,
and both of you stop at a store on your way home, and you both purchase milk.
Privacy/security: with all of this IoT data being transmitted, the risk of losing
privacy increases.
5
Safety: imagine if a notorious hacker changes your prescription. Or if a store
automatically ships you an equivalent product that you are allergic to, or a flavor
that you do not like, or a product that is already expired.
IoT Architecture
IoT is the technology that builds systems capable of autonomously sensing and
responding to stimuli from the real world without human intervention. The IoT
architecture generally comprises of these 4 stages:
6
7
Stage 4 (Cloud Analytics):
Data that needs more in-depth processing gets forwarded to physical data centers
or cloud-based systems.
8
● Network layer: this layer is largely responsible for routing data to the next
layer in the hierarchy with the help of network protocols. It uses wired and
wireless technologies for data transmission.
● Middleware layer: this layer comprises of databases that store the
information passed on by the lower layers where it performs information
processing and uses the results to make further decisions.
● Service and application support layer: this layer involves business process
modeling and execution as well as IoT service monitoring and resolution.
● Application layer: it consists of application user interface and deals with
various applications such as home automation, electronic health monitoring,
etc.
● Business layer: this layer determines the future or further actions required
based on the data provided by the lower layers
9
Stage 1- Sensors/actuators
10
● The internet gateway receives the aggregated and digitized data and routes it
over wi-fi, wired lans, or the internet, to stage 3 systems for further
processing.
● Stage 2 systems often sit in close proximity to the sensors and actuators.
● For example, a pump might contain a half-dozen sensors and actuators that
feed data into a data aggregation device that also digitizes the data. This
device might be physically attached to the pump. An adjacent gateway
device or server would then process the data and forward it to the stage 3 or
stage 4 systems.
Why preprocess the data?
The analog data streams that come from sensors create large volumes of data
quickly. The measurable qualities of the physical world in which the business may
be interested—motion, voltage, vibration, and so on—can create voluminous
amounts of constantly changing data. Think how much sensor data a complex
machine like an aircraft engine might generate in one day, and there’s no
theoretical limit to the number of sensors that could be feeding data into an IoT
system. What’s more, an IoT system is always on, providing continuous
connectivity and data feeds. IoT data flows can be immense as much as 40
tb/second. That's a lot of data to transport into the data center. It's best to
preprocess it.
Another reason not to pass the data on to the data center in this form is
that analog data has specific timing and structural characteristics that require
specialized software to process. It's best to convert the data into digital form first,
and that's what happens in stage 2.
So these systems are usually designed to be portable, easy to deploy, and rugged
enough to withstand variations in temperature, humidity, dust, and vibration.
11
Stage 3- Edge it
● Once IoT data has been digitized and aggregated, the data may require
further processing before it enters the data center.
● Edge it processing systems may be located in remote offices or other edge
locations, but generally these sit in the facility or location where the sensors
reside closer to the sensors, such as in a wiring closet.
● IoT data can easily eat up network bandwidth and swamp your data center
resources, it's best to have systems at the edge capable of performing
analytics as a way to lessen the burden on core IT infrastructure.
● For example, rather than passing on raw vibration data for the pumps, you
could aggregate and convert the data, analyze it, and send only projections
as to when each device will fail or need service.
Stage 4- Cloud Analytics
● Cloud based systems can analyze, manage, and securely store the data.
● In- depth analysis of the data provides deeper insight and helps the user to
take strategic decisions.
● Stage 4 processing may take place on-premises, in the cloud, or in a hybrid
cloud system, but the type of processing executed in this stage remains the
same, regardless of the platform.
1. Focus on value
• Find out where a problem lies truly worth solving and what the real end user
value of the solution is.
12
• Need to understand what might be the barriers of adopting the new
technology in general and your solution specifically.
• Commands given through digital interfaces may produce real world effects,
but unlike digital commands, the actions happening in the real-world cannot
necessarily be undone.
• In the real world context lots of unexpected things can happen and at the
same time user should be able to feel safe and in control. The context places
also other kind of requirements to the design.
• Trust should be a key element of the brand, one of the core brand values.
• When they feel connected to your brand, they will be more forgiving about
the system failures, which may occur at uncertain situations and will still
keep on using your solution.
13
6. Prototype early and often
• Hardware and Software have quite different lifespans, but as successful iot
solution needs both the hw and sw elements, the lifespans should be
aligned.
• IoT solutions are hard to upgrade, because once the connected object is
placed somewhere, it is not so easy to replace it with a newer version,
especially if the user would need to pay for the upgrade and even the
software within the connected object may be hard to update due to security
and privacy reasons.
• Design perspective is that prototyping and rapid iteration of both the h/w
and the whole solution are essential in the early stages of the project.
14
1. Cost “smart” or IoT products help consumers and manufacturers alike, but they
cost more. Both ethernet and wireless technologies have come down below $10, so
consider networking in your next product.
2. Network the network technology you chose for your IoT product has distance
and gateway/router issues. If you need to get to the internet then you need
ethernet/wi-fi; if you are self-contained in a room or building then zigbee, z-wave,
and bluetooth are available. Remember all wireless technologies need fcc
certification.
3. Features with an IoT connected product, companies can now add features to
their products that were not possible or imagined. These features can get you direct
access to the customer for updates, maintenance, and new revenue opportunities.
4. User interface how the user interfaces with a product is important. Are you
going to use buttons, leds, or a display on the product? Also what web and app
interfaces are you going to provide?
5. Power one of the first decisions should be the power source. If the device will
be powered by batteries then all design decisions must consider how to preserve
power. Many networking technologies will not be a good fit with battery power.
Frequency of communication does have an influence on power selection, too.
6. Size size matters. Consider how the network will impact the size of the device.
Connectors and antennas required by some networks will add to the size.
8. Cloud cloud applications provide products a user interface to the product and
the data. There are private and public clouds. Most clouds have a standard API for
developing your application.
• Sensors and Actuators: onboard sensors and actuators, or circuitry that allows
them to be connected, sampled, conditioned, and controlled.
Types of Devices:
● Basic Devices: Devices that only provide the basic services of sensor
readings and/or actuation tasks and in some cases limited support for user
interaction. LAN communication is supported via wired or wireless
technology, thus a gateway is needed to provide the WAN connection.
E.g. Home Alarms: Such devices typically include motion detectors, magnetic
sensors, and smoke detectors. A central unit takes care of the application logic that
calls security and sounds an alarm if a sensor is activated when the alarm is armed.
The central unit also handles the WAN connection towards the alarm central.
These systems are currently often based on proprietary radio protocols.
● Advanced Devices: In this case the devices also host the application logic
and a WAN connection. They may also feature device management and an
17
execution environment for hosting multiple applications. Gateway devices
are most likely to fall into this category.
● E.g. Onboard units in cars that perform remote monitoring and
configuration over a cellular connection.
● E.g. Robots and autonomous vehicles such as unmanned aerial vehicles
that can work both autonomously or by remote control using a cellular
connection.
Device management (DM) is an essential part of the IoT and provides efficient
means to perform many of the management tasks for devices:
• Provisioning: Initialization (or activation) of devices in regards to
configuration and features to be enabled.
• Device Configuration: Management of device settings and parameters.
18
• Software Upgrades: Installation of firmware, system software, and
applications on the device.
• Fault Management: Enables error reporting and access to device status.
Networking
• Connecting two or more smart devices together over an communication
medium (Wired / Wireless )
• Networking devices like routers and gateways helps us to connect smaller
networks with different protocols together.
• Categories of network- LAN, WAN and MAN
19
• IEEE 802.11ah
• WirelessHART
• Z- Wave
• Zigbee
• Bluetooth low energy
• LoRaWAN
20
Knowledge Management
Knowledge Triangle
• Big Data: Huge amounts of data are generated, capturing detailed aspects of the
processes where devices are involved.
• Heterogeneous Data: The data is produced by a huge variety of devices and is
itself highly heterogeneous, differing on sampling rate, quality of captured values,
etc.
• Real-World Data: The overwhelming majority of the data relates to real-world
processes and is dependent on the environment they interact with.
• Real-Time Data: M2M data is generated in real-time and overwhelmingly can
be communicated also in a very timely manner. The latter is of pivotal importance
since many times their business value depends on the real-time processing of the
info they convey.
• Temporal Data: The overwhelming majority of data is of temporal nature,
measuring the environment over time.
• Spatial Data: Increasingly, the data generated by M2M interactions are not only
captured by mobile devices, but also coupled to interactions in specific
locations, and their assessment may dynamically vary depending on the location.
21
• Polymorphic Data: The data acquired and used by M2M processes may be
complex and involve various data, which can also obtain different meanings
depending on the semantics applied and the process they participate in.
• Proprietary Data: Up to now, due to monolithic application development, a
significant amount of M2M data is stored and captured in proprietary formats.
However, increasingly due to the interactions with heterogeneous devices and
stakeholders, open approaches for data storage and exchange are used.
• Security and Privacy Data Aspects: Due to the detailed capturing of
interactions by M2M, analysis of the obtained data has a high risk of leaking
private information and usage patterns, as well as compromising security.
22
• Business processes include management, operational and supporting, all
aiming at achieving a business goal.
• BPMN- graphically represents business processes in business model.
• Business processes rely on interaction with real world processes in order to
take business critical decisions.
• The system interacts with the real world in two ways
i) Manual sensing- Data fed into the system- manually by humans
ii) Automated sensing- information exchange done automatically between
devices and processes without human intervention.
• In olden days traditional web services were used for interaction
• Now, with the help of SOA ready devices- devices which offers
functionalities as web services interaction the devices the exchange of data
between business process and device is simplified.
• IoT integration with business processes have simplified the task of acquiring
data, analyzing and helps in taking critical business decisions quickly and
accurately.
• Enterprise services communicate over cloud and exchange data from smart
devices.
• Directly the devices may interact with the business processes
• Sometimes, middleware technology is used for exchange of information.
23
• SOA and Cloud technology improved customer satisfaction by providing
solution in real time without delay.
Characteristics:
24
• Capabilities are available over the network and accessed through
standard mechanisms that promote use by heterogeneous thin or thick
client platforms.
• Resource Pooling:
• The provider’s computing resources are pooled to serve multiple
consumers using a multi-tenant model.
• Different physical and virtual resources dynamically assigned and
reassigned according to consumer demand.
• Measured Service:
• Cloud systems automatically control and optimize resources used by
leveraging a metering capability at some level of abstraction
appropriate to the type of service.
• It will provide analyzable and predictable computing platform.
Service Models
Deployment Models
Private Cloud:
– The cloud is operated solely for an organization. It may be managed
by the organization or a third party and may exist on premise or off
premise.
Community Cloud:
– The cloud infrastructure is shared by several organizations and
supports a specific community that has shared concerns.
– It may be managed by the organizations or a third party and may exist
on premise or off premise.
26
Public Cloud:
– The cloud infrastructure is made available to the general public or a
large industry group and it is owned by an organization selling cloud
services.
Hybrid cloud:
– The cloud infrastructure is a composition of two or more clouds
(private, community, or public).
– Cloud computing do not need high quality equipment for user, and
it is very easy to use.
– Provides dependable and secure data storage center.
– Reduce run time and response time.
– Cloud is a large resource pool that you can buy on-demand service.
– Scale of cloud can extend dynamically providing nearly infinite
possibility for users to use internet.
27