IOT-Unit I
IOT-Unit I
INTERNET OF THINGS
UNIT I
FUNDAMENTALS OF IOT
Prepared By,
L.Josephine Usha
AP/IT
SXCCE
Syllabus Outline
• Fundamentals Of IoT
• IoT Protocols
• Design And Development
• Data Analytics And Supporting Services
• Case Studies/Industrial Applications
2
UNIT I - Outline
• Evolution of Internet of Things
• Enabling Technologies
• IoT Architectures: oneM2M, IoT World Forum (IoTWF) and
Alternative IoT models
• Simplified IoT Architecture and Core IoT Functional Stack
• Fog, Edge and Cloud in IoT
• Functional blocks of an IoT ecosystem – Sensors, Actuators,
Smart Objects and Connecting Smart Objects
3
Topic:1
Evolution of IoT
IT, SXCCE
interconnection between the uniquely identifiable devices.
• Three Major Elements:
5
Object + Intelligence + Internet
Evolution of IoT
• Internet of Things is one of the trending technology of today's
era but we never thought from where it come and how it
evolved. So be ready to understand the whole evolution of IoT
from the beginning.
• Pre-Internet era - when their is no internet or and their is only
IT, SXCCE
• Internet of SERVICES era - with the evolution of WEB 2.0 the
major game changer of modern internet. In this era we started
using internet more frequently for communication and other 6
purpose. Service like E-Commerce and E-productivity was born.
Evolution of IoT
• Now we are living in Era of Internet of PEOPLE where humans
are connected with each other in various ways and in real time
not only via phone and SMS. In this time Services like
Facebook, Twitter, LinkedIn, Skype, Youtube etc was born. But
till now Human are communicating with humans.
IT, SXCCE
Things " was born.
7
Evolution of IoT
IT, SXCCE
IoT Enabling Technologies
IT, SXCCE
Wireless Sensor Networks
• Distributed Devices with sensors used to monitor the
environmental and physical conditions.
• It is a network formed by large no. of sensor nodes to detect
light, heat , pressure etc. i.e. used to monitor environmental
and physical conditions.
IT, SXCCE
the data packets from end-nodes to the coordinator.
• Coordinator collects data from all nodes.
• Coordinator acts as gateway that connects WSN to the internet. 12
• End nodes(router) Coordinator(gateway)Internet.
Wireless Sensor Networks
• Examples of WSNs
• Indoor Air Quality Monitoring system – indoor air quality and
concentration of various gases.
• Weather Monitoring System – temperature, humidity
• Soil Moisture Monitoring System
IT, SXCCE
• Zigbee specifications are based on IEEE802.15.4 which is used for
low powered devices. Data rate: up to 250KBps. Range: upto 100
meters. 13
Cloud Computing
• Cloud computing – Delivers applications and services over internet.
• It involves provisioning of computing, networking and storage resources
on demand and providing these resources on demand and providing
these resources as metered services to the users, in a “pay as you go”
model.
• Cloud computing services are offered to users in different forms.
IT, SXCCE
web browser. Ex: Google documents
• Paas : Clients can install, build and modify or control applications. Ex:
App cloud, Google App Engine
• IaaS: Clients can use storage to install and manage operating systems 14
and any desired applications.( i.e Virtual machines + virtual storage) Ex:
Web Hosting.
Cloud Computing
IT, SXCCE
Cloud Computing
Prepared By:
16
IT, SXCCE
Big Data Analytics
IT, SXCCE
Big Data Analytics
• Examples of Big data generated IoT systems are,
• Sensor data - Weather monitoring stations
• Health and fitness data – wearable fitness bands
• Data – location and tracking of vehicles
• Data – Inventory monitoring systems.
IT, SXCCE
• Retransmission of lost packets
20
Embedded Systems
• An embedded system is a computer system that has computer
hardware and software embedded to perform specific tasks.
• An embedded system can be either an independent system or a
part of a large system.
• Key Components
IT, SXCCE
• Some Embedded systems have specialized processors such as,
DSP(Digital Signal Processor), Graphics Processor, App Specific
Processor 21
• Embedded systems run embedded OS, Ex: RTOS(Real Time OS)
(like symbian, Vxworks , Windows embedded compact ect.)
Embedded Systems
IT, SXCCE
Topic 3
IoT Architectures: OneM2M
IT, SXCCE
One M2M IoT Standardized
Architecture
• The One M2M architecture divides IoT functions into three
major domains:
• Application Layer
• Services Layer
• Network Layer
IT, SXCCE
24
Architecture
One M2M IoT Standardized
IT, SXCCE
One M2M IoT Standardized
Architecture
• Application Layer:
• The one M2M architecture gives major focus
on connectivity between devices and their
applications.
IT, SXCCE
• Applications tend to be industry-specific and
have their own sets of data models – thus
26
shown as vertical entities.
One M2M IoT Standardized
Architecture
• Services Layer:
• Shown as horizontal framework across the vertical
industry applications.
• The horizontal modules include,
IT, SXCCE
cellular, MPLS networks, VPNs and so on.,
• On the top is the common services layer – adds APIs
& middleware supporting third-party services & 27
applications.
One M2M IoT Standardized
Architecture
• Network Layer:
• Communication domain for the IoT devices and
endpoints.
• Includes devices themselves and the
IT, SXCCE
28
Topic 3
IoT Architectures: IoTWF
IT, SXCCE
IoT World Forum (IoTWF)
Reference Model
• In an IoT system, data is generated by multiple kinds of devices,
processed in different ways, transmitted to different locations,
and acted upon by applications.
• The proposed IoT reference model is comprised of seven levels.
Each level is defined with terminology that can be standardized
IT, SXCCE
to maintain simplicity, allow high scalability, and ensure
supportability.
30
• Finally, the model defines the functions required for an IoT
system to be complete.
Reference Model
IoT World Forum (IoTWF)
IT, SXCCE
IoT World Forum (IoTWF)
Reference Model
• Level 1: Physical Devices and Controllers
• The IoT Reference Model starts with Level 1: physical devices
and controllers that might control multiple devices.
• These are the “things” in the IoT, and they include a wide
range of endpoint devices that send and receive information.
IT, SXCCE
• Traditional data communication networks have multiple
functions, as evidenced by the International Organization for
Standardization (ISO) 7-layer reference model.
34
• However, a complete IoT system contains many levels in
addition to the communications network.
IoT World Forum (IoTWF)
Reference Model
• Level 2: Connectivity
IT, SXCCE
as close to the edge of the network as possible. This is
sometimes referred to as fog computing.
36
IoT World Forum (IoTWF)
Reference Model
• Level 3: Edge (Fog) Computing
IT, SXCCE
minimize the impact of data and traffic on the network and
higher-level processing systems
• Assessment: Determining whether data represents a threshold or 38
alert; this could include redirecting data to additional destinations
IoT World Forum (IoTWF)
Reference Model
• Level 4 : Data Accumulation
• Captures data and stores it so it is usable by applications when
necessary, Converts event-based data to query-based
processing.
IT, SXCCE
IoT World Forum (IoTWF)
Reference Model
• Level 6: Applications Layer
• Interprets data using software applications. Applications may
monitor, control, and provide reports based on the analysis of
the data.
IT, SXCCE
43
Reference Model
IoT World Forum (IoTWF)
IT, SXCCE
Topic 4
A Simplified IoT Architecture
IT, SXCCE
Simplified IoT Architecture
• Framework is presented as 2 parallel stack:
• IoT Data Management and Compute Stack
• Core IoT Functional stack
IT, SXCCE
46
Simplified IoT Architecture
• The Core IoT Functional Stack in three layers simplify the
IoT architecture into its most foundational building
blocks.
IT, SXCCE
Simplified IoT Architecture
• Data management is aligned with each of
the three layers of the Core IoT Functional
Stack.
• The three data management layers are the
IT, SXCCE
network), and the cloud layer (data
management in the cloud or central data 49
center).
Core IoT Functional Stack
• IoT model include core layers, including “things”,
a communications network, and applications.
• Framework separates core IoT & data
management in parallel and aligned stack.
IT, SXCCE
the understanding of IoT architecture into its
most foundational building blocks. 50
Core IoT Functional Stack
• From an architectural standpoint, several
components have to work together for an IoT
network to be operational.
• “Things” Layer
IT, SXCCE
• IoT network management sub layer
• Application and analytics layer 51
Core IoT Functional Stack
• Layer 1- Things: Sensors and Actuators Layer
• Smart Objects – the Things in IoT, provides in-depth
information about smart objects.
• Variety of smart object types, shapes and needs –
derive variety of IoT protocols and architectures.
IT, SXCCE
• Report range – distance at which gateway is located
• Object density per cell – number of smart objects over a
52
given area.
Core IoT Functional Stack
• Layer 2- Communications Networks Layer
• Once determine the transmission capabilities of smart
objects, it is ready to communicate.
• Layer 3- Access Network Sub layer
• There is a direct relationship between the IoT network
IT, SXCCE
much data to transport at what interval and over what
distance).
• One key parameter determining the choice of access 53
technology is the range between the smart object and the
information collector.
Core IoT Functional Stack
• Layer 3- Access Network Sub layer
• Common groups are as follows:
• PAN (personal area network): Scale of a few meters. This is the personal
space around a person. A common wireless technology is Bluetooth.
• HAN (home area network): Scale of a few tens of meters. At this scale,
common wireless technologies for IoT include ZigBee and Bluetooth Low
IT, SXCCE
house units. The FAN is often seen as “open space” (and therefore not
secured and not controlled).
• LAN (local area network): Scale of up to 100 m. This term is very common in
networking, and it is therefore also commonly used in the IoT space when 54
standard networking technologies (such as Ethernet or IEEE 802.11) are used.
Core IoT Functional Stack
• Layer 3- Access Network Sub layer
• Similar ranges also do not mean similar
topologies. Some technologies offer flexible
connectivity structure to extend communication
IT, SXCCE
55
Core IoT Functional Stack
IT, SXCCE
Core IoT Functional Stack
• Layer 4- Applications and Analytics Layer
• Once connected to a network, the smart
objects exchange information with other
systems.
IT, SXCCE
smart objects.
57
Core IoT Functional Stack
• Analytics Versus Control Applications
• Analytics application: This type of application
collects data from multiple smart objects, processes
the collected data, and displays information
resulting from the data that was processed. The
IT, SXCCE
the behavior of the smart object or the behavior of
an object related to the smart object. For example, a
58
pressure sensor may be connected to a pump.
Core Data Management and
Compute Stack
• The “things” connected to the Internet are
continuing to grow exponentially.
• Cisco predicted that by 2020, there will be more
than 50 billion devices connected to some form
IT, SXCCE
59
Computing Model
Traditional IT Cloud
IT, SXCCE
Core Data Management and
Compute Stack
• Data-related problems need to be addressed:
• Bandwidth in last-mile IoT networks is very limited
• Latency can be very high – Large IoT networks
have the latency of hundreds to thousands of
IT, SXCCE
61
Fog Computing
• Solution to the various challenges is to distribute
data management throughout the IoT system, as
close to the edge of the IP network as possible.
• Best known example of edge services in IoT is fog
IT, SXCCE
• Concept of fog – first developed by Flavio
Bonomi and Rodolfo Milito of Cisco Systems.
62
Fog Computing
• In world of Iot, fog gets name from a relative
comparison to computing in cloud layer.
• Like clouds exists in sky, fog rests near ground.
• The intention of fog computing is to place
IT, SXCCE
routers, embedded servers, and IoT gateways.
63
Fog Computing
• Advantage of fog node allows intelligence
gathering (analytics) and control from the
closest possible point.
• This introduces new layer to the traditional IT
IT, SXCCE
64
Fog Computing
IT, SXCCE
Edge Computing
• Also called as “mist” computing
• If clouds exist in sky, and fog sits near ground,
then mist is what actually sits on the ground.
• Thus, concept of mist is to extend fog right into
IT, SXCCE
66
Cloud
Hierarchy of Edge, Fog and
IT, SXCCE
Hierarchy of Edge, Fog and
Cloud
• It is important to stress that edge or fog computing in no
way replaces the cloud.
• Rather, they complement each other, and many use
cases actually require strong cooperation between
IT, SXCCE
• This saves the cloud from being queried by each and
every node for each event. 68
Hierarchy of Edge, Fog and
Cloud
• From an architectural standpoint, fog nodes closest to the
network edge receive the data from IoT devices.
• The fog IoT application then directs different types of data to
the optimal place for analysis:
• The most time-sensitive data is analyzed on the edge or fog node
IT, SXCCE
each of thousands or hundreds of thousands of fog nodes might
send periodic summaries of data to the cloud for historical
analysis and storage. 69
Topic : 5
Functional blocks of an IoT
IT, SXCCE
70
Functional blocks of an IoT
ecosystem
• Smart objects are any physical objects that contain embedded
technology to sense and/or interact with their environment in
a meaningful way by being interconnected and enabling
communication among themselves or an external agent.
• Some of the fundamental building blocks of IoT networks are
IT, SXCCE
71
Functional blocks of an IoT
ecosystem : Sensors
• A sensor does exactly as its name indicates: It senses.
• A sensor measures some physical quantity and converts that
measurement reading into a digital representation.
• That digital representation is typically passed to another device for
transformation into useful data that can be consumed by intelligent
IT, SXCCE
• Sensors provide superhuman sensory capabilities.
• Sensors can be readily embedded in any physical objects that are
easily connected to the Internet by wired or wireless networks, they 72
can interpret their environment and make intelligent decisions.
Sensor Categories
• Sensors have been grouped into different categories
• Active or passive: Sensors can be categorized based on whether they produce an
energy output and typically require an external power supply (active) or whether they
simply receive energy and typically require no external power supply (passive).
• Invasive or non-invasive: Sensors can be categorized based on whether a sensor is
part of the environment it is measuring (invasive) or external to it (non-invasive).
• Contact or no-contact: Sensors can be categorized based on whether they require
physical contact with what they are measuring (contact) or not (no-contact).
IT, SXCCE
• How sensors measure: Sensors can be categorized based on the physical mechanism
used to measure sensory input (for example, thermoelectric, electrochemical,
piezoresistive, optic, electric, fluid mechanic, photoelastic).
• What sensors measure: Sensors can be categorized based on their applications or 73
what physical variables they measure.
Different types of sensors
IT, SXCCE
Different types of sensors
IT, SXCCE
Functional blocks of an IoT
ecosystem : Actuators
• Actuators are natural complements to sensors.
• Figure demonstrates the symmetry and complementary
nature of these two types of devices.
IT, SXCCE
77
Actuators Categories
• Actuators also vary greatly in function, size, design, and so on.
• Some common ways that they can be classified include the
following:
• Type of motion: Actuators can be classified based on the type of
motion they produce (for example, linear, rotary, one/two/three-
IT, SXCCE
• Area of application: Actuators can be classified based on the specific
industry or vertical where they are used.
• Type of energy: Actuators can be classified based on their energy 78
type.
Actuators Types
IT, SXCCE
Functional blocks of an IoT
Ecosystem :Smart Objects
• Smart objects are, quite simply, the building blocks of IoT.
• They are what transform everyday objects into a network
of intelligent objects that are able to learn from and
interact with their environment in a meaningful way.
IT, SXCCE
• Communication Device
• Power Source
80
Functional blocks of an IoT
Ecosystem :Smart Objects
• Processing Unit: A smart object has some type of processing unit for
acquiring data, processing and analyzing sensing information received by
the sensor(s), coordinating control signals to any actuators, and
controlling a variety of functions on the smart object, including the
communication and power systems.
• Sensor(s) and /or actuator(s): A smart object is capable of interacting
IT, SXCCE
connecting a smart object with other smart objects and the outside
world (via the network). Communication devices for smart objects can
be either wired or wireless. 81
• Power Source: Smart objects have components that need to be
powered. Interestingly, the most significant power consumption usually
comes from the communication unit of a smart object.
Functional blocks of an IoT
Ecosystem :Smart Objects
• Processing Unit: A smart object has some type of processing unit for
acquiring data, processing and analyzing sensing information received by
the sensor(s), coordinating control signals to any actuators, and
controlling a variety of functions on the smart object, including the
communication and power systems.
• Sensor(s) and /or actuator(s): A smart object is capable of interacting
IT, SXCCE
connecting a smart object with other smart objects and the outside
world (via the network). Communication devices for smart objects can
be either wired or wireless. 82
• Power Source: Smart objects have components that need to be
powered. Interestingly, the most significant power consumption usually
comes from the communication unit of a smart object.
Trends in Smart Objects
• Size is decreasing: Some smart objects are so small they are not even
visible to the naked eye. This reduced size makes smart objects easier to
embed in everyday objects.
• Power consumption is decreasing: The different hardware components of
a smart object continually consume less power. Some battery-powered
sensors last 10 or more years without battery replacement.
IT, SXCCE
communication protocols covering a greater diversity of use cases and
environments.
• Communication is being increasingly standardized: There is a strong push 83
in the industry to develop open standards for IoT communication
protocols. In addition, there are more and more open source efforts to
advance IoT
Connecting smart objects
• The characteristics and attributes considered when selecting and dealing
with connecting smart objects are
• 1)Range: It defines how far does the signal need to be propagated? That is,
what will be the area of coverage for a selected wireless technology?
IT, SXCCE
only a minority of IoT installations.
85
Connecting smart objects
• Medium Range:
• In the range of tens to hundreds of meters, many
specifications and implementations are available.
• The maximum distance is generally less than 1 mile between
two devices.
IT, SXCCE
• Narrowband Power Line Communications (PLC) may also be
classified as medium range, depending on their physical
86
media characteristics.
Connecting smart objects
• Long Range:
• Distances greater than 1 mile between two devices require
long-range technologies. Wireless examples are cellular (2G,
3G, 4G) and some applications of outdoor IEEE 802.11 Wi-Fi
and Low-Power Wide-Area (LPWA) technologies.
IT, SXCCE
• Found mainly in industrial networks, IEEE 802.3 over optical
fiber and IEEE 1901 Broadband Power Line Communications
87
are classified as long range but are not really considered IoT
access technologies.
Connecting smart objects
2 ) Frequency Bands:
• Radio spectrum is regulated by countries and/or
organizations, such as the International Telecommunication
Union (ITU) and the Federal Communications Commission
(FCC).
IT, SXCCE
and so on.
• Focusing on IoT access technologies, the frequency bands
88
leveraged by wireless communications are split between
licensed and unlicensed bands.
Connecting smart objects
• Frequency Bands:
• Licensed spectrum is generally applicable to IoT long-range
access technologies and allocated to communications
infrastructures deployed by services providers, public
services (for example, first responders, military),
IT, SXCCE
• These frequencies are used in many communications
technologies for short-range devices (SRDs).
89
Connecting smart objects
• Frequency Bands:
• Unlicensed means that no guarantees or protections are
offered in the ISM bands for device communications.
• For IoT access, these are the most well-known ISM bands:
• 2.4 GHz band as used by IEEE 802.11b/g/n Wi-Fi
IT, SXCCE
licensed because it does not require a service provider.
90
Connecting smart objects
• Frequency Bands:
• Some communications within the ISM bands operate in the
sub-GHz range.
• Sub-GHz bands are used by protocols such as IEEE 802.15.4,
802.15.4g, and 802.11ah, and LPWA technologies such as
IT, SXCCE
such as IEEE 802.15.4 and 802.15.4g, 802.11ah, and
LoRaWAN.
91
Connecting smart objects
3 ) Power Consumption:
• Battery-powered nodes bring much more flexibility to IoT
devices.
• These nodes are often classified by the required lifetimes of
their batteries.
IT, SXCCE
low power consumption and connectivity for battery-
powered nodes.
92
• This has led to the evolution of a new wireless environment
known as Low-Power Wide-Area (LPWA).
Connecting smart objects
4 ) Topology
• Three main topology schemes are dominant: star, mesh, and
peer-to-peer.
• For long-range and short-range technologies, a star topology is
prevalent, as seen with cellular, LPWA, and Bluetooth
IT, SXCCE
topology is common.
• Peer-to-peer topologies allow any device to communicate with
any other device as long as they are in range of each other. 93
• Peer-to-peer topologies enable more complex formations,
such as a mesh networking topology.
Topology
IT, SXCCE