Docsity

iot module 1 notes based on vtu cbcs, Lecture notes of Computer Science

Toggle sidebar
bg1
Internet of Things 15CS81
Page 1
INTERNET OF THINGS TECHNOLOGY(15CS81)
MODULE – 1
I What is IoT?
The basic premise and goal of IoT is to “connect the unconnected.” This means
that objects that are not currently joined to a computer network, namely the Internet,
will be connected so that they can communicate and interact with people and other
objects.
IoT is a technology transition in which devices will allow us to sense and control
the physical world by making objects smarter and connecting them through an
intelligent network.
II Genesis of IoT
The age of IoT is often said to have started between the years 2008 and 2009. During
this time period more “things” connected to the Internet than people in the world, and
the Internet of Things was born.
The person credited with the creation of the term “Internet of Things” is Kevin
Ashton. While working for Procter & Gamble in 1999, Kevin used this phrase to
explain a new idea related to linking the company’s supply chain to the Internet.
In the twentieth century, computers were brains without senses—they only knew
what we told them.” Computers depended on humans to input data and knowledge
through typing, bar codes, and so on.
Kevin explained that IoT now involves the addition of senses to computers in
twenty-first century as computers will be sensing things for themselves.
The evolution of the Internet can be categorized into four phases.
Connectivity Phase(Digitize access) : In the beginning, email and getting on the
Internet were luxuries for universities and corporations. Getting the average person
basic connectivity often seemed like a small miracle.This phase connected people to
email,web services an searches so that information is accessed easily.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
Discount

On special offer

Partial preview of the text

Download iot module 1 notes based on vtu cbcs and more Lecture notes Computer Science in PDF only on Docsity!

INTERNET OF THINGS TECHNOLOGY(15CS81)

MODULE – 1

I What is IoT?

The basic premise and goal of IoT is to “connect the unconnected.” This means that objects that are not currently joined to a computer network, namely the Internet, will be connected so that they can communicate and interact with people and other objects. IoT is a technology transition in which devices will allow us to sense and control the physical world by making objects smarter and connecting them through an intelligent network.

II Genesis of IoT

The age of IoT is often said to have started between the years 2008 and 2009. During this time period more “things” connected to the Internet than people in the world, and the Internet of Things was born. The person credited with the creation of the term “Internet of Things” is Kevin Ashton. While working for Procter & Gamble in 1999, Kevin used this phrase to explain a new idea related to linking the company’s supply chain to the Internet. In the twentieth century, computers were brains without senses—they only knew what we told them.” Computers depended on humans to input data and knowledge through typing, bar codes, and so on. Kevin explained that IoT now involves the addition of senses to computers in twenty-first century as computers will be sensing things for themselves. The evolution of the Internet can be categorized into four phases. Connectivity Phase(Digitize access) : In the beginning, email and getting on the Internet were luxuries for universities and corporations. Getting the average person basic connectivity often seemed like a small miracle.This phase connected people to email,web services an searches so that information is accessed easily.

Networked Economy(Digitize Business) : With technological advancement connectivity and its speed continued to improve and connectivity was no longer the major challenge. Networked Economy phase focused on utilizing connectivity for efficiency and profit.This phase extended e-commerce and supply chain enhancements along with collaborative engagement to drive efficiency in business process. As vendors and suppliers became closely interlinked with producers, traditional brick-and-mortar retailers became victims. Immersive Experiences(Digitize Interactions) : This phase is characterized by the emergence of social media, collaboration, and widespread mobility on a variety of devices. Person-to-person interactions have become digitized. More and more applications moved into the cloud. Internet of Things(Digitize the World) : This phase aims at having connectivity to objects and machines in the world around us to enable new services and experiences. It is connecting the unconnected.

III IoT and Digitization

IoT and digitization are terms that are often used interchangeably but there are key differences. IoT focuses on connecting “things,” such as objects and machines, to a computer network, such as the Internet. IoT is a well understood term used across the industry as a whole. Example: In a shopping mall where Wi-Fi location tracking has been deployed, the “things” are the Wi-Fi devices. Wi-Fi location tracking is simply the capability of knowing where a consumer is in a retail environment through his or her smart phone’s connection to the retailer’s Wi-Fi network. While the connecting Wi-Fi devices to the Internet is appreciated by shoppers, tracking real- time location of Wi-Fi clients provides a specific business benefit to the mall and shop owners. Analysis of this data can lead to significant changes to the locations of product displays and advertising, where to place certain types of shops, how much rent to charge, and even where to station security guards. Digitization, as defined in its simplest form, is the conversion of information into a digital format. Examples: Photography industry has been digitized ,its common that everyone use digital cameras and mobile phones. The digitization of photography has completely changed our experience when it comes to capturing images. In the past, people went to a store to rent or purchase videotapes or DVDs of movies, with digitization everyone is streaming video content or purchasing movies as downloadable files. Digitization has influenced transportation industry in the area of taxi services such as Uber and Lyft. These digital technologies allow people to get a ride using a mobile phone app identifies the car, the driver, and the fare. In the context of IoT, digitization brings together things, data, and business process to make networked connections more relevant and valuable.

lack visibility into their operations. These operations are composed of plant floors, front offices, and suppliers operating independently. Consequently, rectifying downtime issues, quality problems, and the root causes of various manufacturing inefficiencies is often difficult. The main challenges facing manufacturing in a factory environment today include the following:  Accelerating new product and service introductions to meet customer and market opportunities  Increasing plant production, quality, and uptime while decreasing cost  Mitigating unplanned downtime  Securing factories from cyber threats  Decreasing high cabling and re-cabling costs.  Improving worker productivity and safety. A convergence of factory-based operational technologies and architectures with global IT networks is starting to occur, and this is referred to as the connected factory. There are large numbers of basic sensors on factory floors. with IoT, these sensors not only become more advanced but also attain a new level of connectivity. They are smarter and gain the ability to communicate, using the Internet Protocol (IP) over an Ethernet infrastructure. For example, a smelting facility extracts metals from their ores. The facility uses both heat and chemicals to decompose the ore, leaving behind the base metal. This is a multistage process, and the data and controls are all accessed via various control rooms in a facility. Operators must go to a control room that is often hundreds of meters away for data and production changes. Hours of operator time are often lost to the multiple trips to the control room needed during a shift. With IoT and a connected factory solution, true “machine-to-people” connections are implemented to bring sensor data directly to operators on the floor via mobile devices. Time is no longer wasted moving back and forth between the control rooms and the plant floor. In addition, because the operators now receive data in real time, decisions can be made immediately to improve production and fix any quality problems. Another example of a connected factory solution involves a real-time location system (RTLS). An RTLS utilizes small and easily deployed Wi-Fi RFID tags that attach to virtually any material and provide real-time location and status. These tags enable a facility to track production as it happens. These IoT sensors allow components and materials on an assembly line to “talk” to the network. If each assembly line’s output is tracked in real time, decisions can be made to speed up or slow production to meet targets, and it is easy to determine how quickly employees are completing the various stages of production. Bottlenecks at any point in production and quality problems are also quickly identified.

Smart Connected Buildings

Another place where IoT is making a huge impact is in the smart connected buildings space. In the past several decades, buildings have become increasingly complex, with systems overlaid one upon another, resulting in complex intersections of structural, mechanical, electrical, and IT components.

 Over time, these operational networks have matured into sophisticated systems but they are deployed and managed as separate systems that have little to no interaction with each other.  Sensors are often used to control the heating, ventilation, and airconditioning (HVAC) system. Temperature sensors are spread throughout the building and are used to influence the building management system’s (BMS’s) control of air flow into a room.  The de facto communication protocol responsible for building automation is known as BACnet (Building Automation and Control Network). The BACnet protocol defines a set of services that allow Ethernet-based communication between building devices such as HVAC, lighting, access control, and fire detection systems.  The lighting market is currently going through a major shift toward light- emitting diodes (LEDs). Compared to traditional lighting, LEDs offer lower energy consumption and far longer life. The lower power requirements of LED fixtures allow them to run on Power over Ethernet (PoE), permitting them to be connected to standard network switches.  With smart building sensors and occupancy detection are combined with the power of data analytics. It becomes easy to demonstrate floor plan usage and prove your case. Alternatively, the building manager can use similar approach to see where the floor is not being used efficiently and use this information to optimize the available space.  In a digital ceiling environment, every lighting fixture is directly network- attached, providing control and power over the same infrastructure.This transition to LED lighting means that a single converged network is now able to encompasses luminaires that are part of consolidated building management as well as elements managed by the IT network, supporting voice, video, and other data applications..The digital ceiling is more than just a lighting control system. This technology has several of the building’s different networks including lighting, HVAC, CCTV and security systems and combines them into a single IP network.

With the rise of IoT and standards-based protocols, such as IPv6, the IT and OT worlds are converging.  OT is beginning to adopt the network protocols, technology, transport, and methods of the IT organization, and the IT organization is beginning to support the operational requirements used by OT.  When IT and OT begin using the same networks, protocols, and processes, there are clear economies of scale. Not only does convergence reduce the amount of capital infrastructure needed but networks become easier to operate, and the flexibility of open standards allows faster growth and adaptability to new technologies.

VI IoT Challenges

The most significant challenges and problems that IoT is currently facing. Challenge Description Scale The scale of IT networks can be large. But the scale of OT can be several orders of magnitude larger. For example one large electrical utility in Asia recently began deploying IPV6 based smart meters on its electrical grids. While the utility company has thousands of employees(which can be considered IP nodes in the network).The number of meters in the service area is tens of millions. This means the scale of the network the utility is managing has increased by more than 1000 folds.

Security With more “things” becoming connected with other “things” and people, security is an increasingly complex issue for IoT. If a device gets hacked, its connectivity is a major concern. A compromised device can serve as a launching point to attack other devices and systems. Privacy As sensors become more prolific in our everyday lives, much of the data they gather will be specific to individuals and their activities. This data can range from health information to shopping patterns. For business this data has monetary value. Organizations are now discussing who owns this data and how individuals can control whether it is shared and with whom. Big data and data analytics IoT and its large number of sensors is going to trigger a flood of data that must be handled .This data will provide critical information and insights if it can be processed in an efficient manner. The challenge however is evaluating massive amounts of data arriving from different sources in various forms and doing so in a timely manner. Interoperability As with any other developing technology various protocols and architectures are jockeying for market share and standardization within IoT. Some of these protocols and architectures are based on proprietary elements, and others are open. Recent IoT standards are helping minimize this problem, but there are often various protocols and implementations available for IoT networks.

VII Drivers Behind New Network Architectures

While IT systems are mostly concerned with reliable and continuous support of business applications such as email, web, databases, CRM systems, and so on, IoT is all about the data generated by sensors and how that data is used.

Scale The scale of a typical IT network is on the order of several thousand devices—typically printers, mobile wireless devices, laptops, servers, and so on. With IoT the scale of a network goes from a few thousand endpoints to a few million. IoT introduces a model where an average-sized utility, factory, transportation system, or city could easily be asked to support a network of this scale. Based on scale requirements of this order, IPv6 is the natural foundation for the IoT network layer. Security Protecting corporate data from intrusion and theft is one of the main functions of the IT department. IT departments go to great lengths to protect servers, applications, and the network, setting up defense-in-depth models with layers of security designed to protect the cyber crown jewels of the corporation. In IT networks, the first line of defense is often the perimeter firewall but are still penetrated by hackers. IoT endpoints are often located in wireless sensor networks that use unlicensed spectrum and are not only visible to the world through a spectrum analyzer but often physically accessible and widely distributed in the field. For optimum security, IoT systems must:  Be able to identify and authenticate all entities involved in the IoT service (that is, gateways, endpoint devices, home networks, roaming networks, service platforms)  Ensure that all user data shared between the endpoint device and backend applications is encrypted.  Comply with local data protection legislation so that all data is protected and stored correctly.  Utilize an IoT connectivity management platform and establish rules based security policies so immediate action can be taken if anomalous behavior is detected from connected devices.  Take a holistic, network-level approach to security. Constrained Devices and Networks  Most IoT sensors are designed for a single job, and they are typically small and inexpensive.  They often have limited power, CPU, and and they transmit only when there is something important.  Because of the massive scale of these devices and the large, uncontrolled environments where they are usually deployed, the networks that provide connectivity also tend to be very lossy and support very low data rates.  This is a completely different situation from IT networks, which enjoy multi-gigabit connection speeds and endpoints with powerful CPUs.  IoT requires a new breed of connectivity technologies that meet both the scale and constraint limitations. Data

 In general, most IT shops don’t really care much about the unstructured chatty data

generated by devices on the network.

 IoT devices generate a mountain of data. In IoT the data is like gold, as it is what

enables businesses to deliver new IoT services that enhance the customer experience, reduce cost, and deliver new revenue opportunities.  Although most IoT generated data is unstructured, the insights it provides through analytics can revolutionize processes and create new business models.  Unlike IT networks, IoT systems are designed to stagger data consumption throughout the architecture, both to filter and reduce unnecessary data going upstream and to provide the fastest possible response to devices when necessary. Example: Imagine a smart city with a few hundred thousand smart streetlights, all connected through an IoT network. Although most of the information communicated between the lighting network modules and the control center is of little interest to anyone, useful insights that can help predict when lights need to be replaced or whether they can be turned on or off at certain times, thus saving operational expense.

Legacy Device Support

 Supporting legacy devices in an IT organization is not usually a big problem. If someone’s computer or operating system is outdated, she simply upgrades.  As IoT networks are deployed, they need to support the older devices already present on the network, as well as devices with new capabilities. In many cases, legacy devices are so old that they don’t even support IP.  However, many of these legacy machines might support older protocols, such as serial interfaces, and use RS- 232.  In this case, the IoT network must either be capable of some type of protocol translation or use a gateway device to connect these legacy endpoints to the IoT network.

VIII Comparing IoT Architectures

The oneM2M IoT Standardized Architecture

 The goal of oneM2M is to create a common services layer, which can be readily embedded in field devices to allow communication with application servers.  The oneM2M IoT Standardized Architecture deals with the heterogeneity of devices, software, and access methods by developing a horizontal platform architecture and RESTful APIs, that allow interoperability at all levels of the IoT stack.

Layer 1: Physical Devices and Controllers Layer  This layer is home to the “things” in the Internet of Things, including the various endpoint devices and sensors that send and receive information.  The size of these “things” can range from almost microscopic to macroscopic.  Their primary function is generating data and being capable of being queried and/or controlled over a network. Layer 2: Connectivity Layer  This layer focus is on connectivity.  The important function of this IoT layer is the reliable and timely transmission of data.  This layer includes transmissions between Layer 1 devices and the network and between the network and information processing that occurs at Layer 3. Layer 3: Edge Computing Layer

 Edge computing is the role of Layer 3. Edge computing is often referred to as the “fog” layer. Edge computing initiates information processing as early and as close to the edge of the network.  At this layer data reduction and converting network data flows into information that is ready for storage and processing by higher layers is given importance.  Another important function that occurs at Layer 3 is the evaluation of data to see if it can be filtered or aggregated before being sent to a higher layer. This also allows for data to be reformatted or decoded, making additional processing by other systems easier. Upper Layers: Layers 4– The upper layers deal with handling and processing the IoT data generated by the bottom layer.

Expanded View of the Simplified IoT Architecture  The Core IoT Functional Stack can be expanded into 3 sublayers. Core layers include “things,” a communications network, and applications.  The communications layer is broken down into four separate sublayers: the access network, gateways and backhaul, IP transport, and operations and management sublayers. The network communications layer needs to offer gateway and backhaul technologies, and ultimately bring the data back to a central location for analysis and processing.  The applications layer of IoT networks along with supporting application involves big data analytics component.  Data management is aligned with each of the three layers of the Core IoT Functional Stack. The three data management layers are : o The edge layer (data management within the sensors themselves). o The fog layer (data management in the gateways and transit network). o The cloud layer (data management in the cloud or central data center).  Security is central to the entire architecture, both from network connectivity and data management perspectives

The Core IoT Functional Stack

IoT networks are built around smart objects. These objects are “smart” because they use a combination of contextual information and configured goals to perform actions. From an architectural standpoint, several components have to work together for an IoT network to be operational.

  1. “Things” layer: At this layer, the physical devices need to fit the constraints of the environment in which they are deployed while still being able to provide the information needed.
  2. Communications network layer: When smart objects are not selfcontained, they need to communicate with an external system. In many cases, this communication uses a wireless technology. This layer has four sublayers:

a. Access network sublayer: The last mile of the IoT network is the access network. This is typically made up of wireless technologies such as 802.11ah, 802.15.4g, and LoRa. The sensors connected to the access network may also be wired. b. Gateways and backhaul network sublayer: A common communication system organizes multiple smart objects in a given area around a common gateway. The gateway communicates directly with the smart objects. The role of the gateway is to forward the collected information through a longer-range medium (called the backhaul) to a headend central station where the information is processed. c. Network transport sublayer: For communication to be successful, network and transport layer protocols such as IP and UDP must be implemented to support the variety of devices to connect and media to use. d. IoT network management sublayer: Additional protocols must be used to allow the headend applications to exchange data with the sensors. Examples include CoAP and MQTT.

  1. Application and analytics layer: At the upper layer, an application needs to process the collected data, not only to control the smart objects when necessary, but to make intelligent decision based on the information collected and, in turn, instruct the “things” or other systems to adapt to the analyzed conditions and change their behaviors or parameters. Layer 1: Things: Sensors and Actuators Layer IoT protocols and architectures are driven by variety of smart object types, shapes, and needs. Classification of smart objects: Battery-powered or power-connected: This classification is based on whether the object carry its own energy supply or receives continuous power from an external power source.  Battery-powered things can be moved easily but batteries limit the lifetime and amount of energy that the object is allowed to consume, thus driving transmission range and frequency.  power-connected things receives continuous power from an external power source but cannot be moved easily. Mobile or static: This classification is based on whether the “thing” should move or always stay at the same location. A sensor may be mobile because it is moved from one object to another (for example, a viscosity sensor moved from batch to batch in a chemical plant) or because it is attached to a moving object (for example, a location sensor on moving goods in a warehouse or factory floor). The frequency of the movement may also vary, from occasional to permanent. The range of mobility also influences the possible power source. Low or high reporting frequency: This classification is based on how often the object should report monitored parameters. Higher frequencies drive higher energy consumption, creating constraints on the power source and the transmission range.

LAN (local area network): Scale of up to 100 m. Ethernet is commonly used. Other networking classifications, such as MAN (metropolitan area network, with a range of up to a few kilometers) and WAN (wide area network, with a range of more than a few kilometers), are also commonly used. WPAN,WHAN,WNAN and WLAN indicates wireless technologies. Similar ranges also do not mean similar topologies. Some technologies offer flexible connectivity structure to extend communication possibilities: Point-to-point topologies: These topologies allow one point to communicate with another point.Several technologies are referred to as “point-to-point” when each object establishes an individual session with the gateway. The “point-to-point” concept refers to the communication structure more than the physical topology. Point-to-multipoint topologies: These topologies allow one point to communicate with more than one other point. one or more than one gateways communicate with multiple smart objects. some nodes support both data collection and forwarding functions, while some other nodes like gateways collect the smart object data, sometimes instruct the sensor to perform specific operations, and also interface with other networks In the IEEE 802.15.4 standard, the central point is called a coordinator for the network. The coordinator that implements the full network functions is called a full-function device (FFD). An FFD can communicate directly with another FFD or with more than one FFD. An RFD implement a subset of protocol functions to perform communication with the coordinator. An RFD also cannot implement direct communications to another RFD. Direct communication between FFDs forms multiple peer-to-peer connections. Topologies where each FFD has a unique path to another FFD are called cluster tree topologies. FFDs in the cluster tree may have RFDs,resulting in a cluster star topology. Sublayer2: Gateways and Backhaul Sublayer  Data collected from a smart object may need to be forwarded to a central station where data is processed. As this station is often in a different location from the smart object, data directly received from the sensor through an access technology needs to be

forwarded to another medium (the backhaul) and transported to the central station. The gateway is in charge of this intermedium communication.  In most cases, the smart objects are static or mobile within a limited area. The gateway is often static. However, some IoT technologies do not apply this model. For example, dedicated short-range communication (DSRC) allows vehicle-to-vehicle and vehicle-to- infrastructure communication. In this model, the smart object’s position relative to the gateway is static.  A wireless technology is used for backhaul communication, peer-to-peer, or mesh communication between vehicles.  The choice of a backhaul technology depends on the communication distance and also on the amount of data that needs to be forwarded.  When the smart object’s operation is controlled from a local site, and when the environment is stable Ethernet can be used as a backhaul. In unstable or changing environments where cables cannot safely be run, a wireless technology like wifi is used.  Throughput decreases as node-to-node distance increases, and it also decreases as the number of hops increases. In a typical Wi-Fi mesh network, throughput halves for each additional hop. WiMAX (802.16) is a longer-range technology can achieve ranges up to 50 kilometers with rates of up to 70 Mbps. Sublayer 3: Network Transport Sublayer Consider a meter that reports the energy consumption to a gateway over a wireless technology. Other houses in NAN report to one or several gateways. The power utility’s headend application server may be regional and the gateway may relay to a wired or wireless backhaul technology  Communication structure may involve peer-to-peer(meter to meter), point-to-point (meter to headend station), point-to-multipoint (gateway to multiple meters), unicast and multicast communications. In a multitenant environment, different systems may use the same communication pathways. This communication occurs over multiple media over longer-range wireless system to the gateway, and yet another wireless or wired medium for backhaul transmission.  A network protocol with specific characteristics needs to be implemented to accommodate specific characteristics and security requirements.  IP protocol that matches all these requirements. IP allows this protocol to be embedded in objects of very different natures, exchanging information over very different media, including low-power, lossy, and low-bandwidth networks.  IPv6 packets are carried efficiently over lossy networks.  The transport layer protocols built above IP (UDP and TCP). UDP is a much lighter and faster protocol than TCP. However, it does not guarantee packet delivery. Both TCP and UDP can be secured with TLS/SSL (TCP) or DTLS (UDP). Sublayer 4: IoT Network Management Sublayer Multiple protocols have been created to solve IoT data communication problems.  Some IoT implementers have suggested HTTP for the data transfer phase.The sensor could use the client part to establish a connection to the IoT central application (the server), and then data can be exchanged. HTTP protocol and was not designed to