IoT Architecture for Smart Cities
IoT Architecture for Smart Cities
There are many ways to begin an enterprise or industrial Internet of Things (IoT)
journey. What's important is not to let the perceived complexity of the IoT obscure the
possibilities for implementing what should be very rewarding projects. You can get
started by laying a solid framework for your IoT system.
The IoT is more than Internet-connected consumer devices. Sooner or later, your
IT organization will need you to create an infrastructure to support it. Energy
companies already use networked sensors to measure vibrations in turbines. They feed
that data through the network to computing systems that analyze it to predict when
machines will need maintenance and when they will fail. Jet engine manufacturers
embed sensors that measure temperature, pressure, and other conditions to improve
their products. Even a gift basket business can deploy sensors to constantly monitor the
temperature of perishable products. If temperatures in storage or in transit start to rise,
they can expedite deliveries. This has the dual advantage of increasing customer
satisfaction while avoiding product spoilage.
The IoT opens far more opportunities than most organizations are pursuing today.
And even when they do pursue them, IT leaders don’t always fully engage in
IoT-related requests. Industry discussions of IoT initiatives often emphasize
complexity and involve areas of the business in which IT hasn’t traditionally been
involved. The proliferation of unfamiliar IoT technologies—some of them
industry-specific—and the vast scope of the global IoT itself can intimidate IT and
obscure the possibilities for what should be very achievable and compelling projects.
So, how can your infrastructure support IoT?
The four-stage architecture of an IoT system
Stage 1 of an IoT architecture consists of your networked things, typically wireless
sensors and actuators. Stage 2 includes sensor data aggregation systems and
analog-to-digital data conversion. In Stage 3, edge IT systems perform preprocessing of
the data before it moves on to the data center or cloud. Finally, in Stage 4, the data is
analyzed, managed, and stored on traditional back-end data center systems. Clearly, the
sensor/actuator state is the province of operations technology (OT) professionals. So is
Stage 2. Stages 3 and 4 are typically controlled by IT, although the location of edge IT
processing may be at a remote site or nearer to the data center. The dashed vertical line
labeled "the edge" is the traditional demarcation between OT and IT responsibilities,
although this is blurring. Here's a look at each in detail.
Stage 1. Sensors/actuators
Sensors collect data from the environment or object under measurement and turn it into
useful data. Think of the specialized structures in your cell phone that detect the
directional pull of gravity—and the phone's relative position to the “thing” we call the
earth—and convert it into data that your phone can use to orient the device. Actuators
can also intervene to change the physical conditions that generate the data. An actuator
might, for example, shut off a power supply, adjust an air flow valve, or move a robotic
gripper in an assembly process.
The sensing/actuating stage covers everything from legacy industrial devices to robotic
camera systems, water-level detectors, air quality sensors, accelerometers, and heart
rate monitors. And the scope of the IoT is expanding rapidly, thanks in part to
low-power wireless sensor network technologies and Power over Ethernet, which
enable devices on a wired LAN to operate without the need for an A/C power source.
In an IoT architecture, some data processing can occur in each of the four stages.
However, while you can process data at the sensor, what you can do is limited by the
processing power available on each IoT device. Data is at the heart of an IoT
architecture, and you need to choose between immediacy and depth of insight when
processing that data. The more immediate the need for information, the closer to the
end devices your processing needs to be.
For deeper insights that require more extensive processing, you'll need to move the data
into a cloud- or data center-based system that can bring several sources of data together.
But some decisions simply can’t wait for deep processing. Did the robotic arm
performing the surgery cut an artery? Will the car crash? Is the aircraft approaching the
threat detection system a friend or a foe? You don't have time to send that data to your
core IT assets. You must process the data right at the sensor— at the very edge of the
edge network—for the fastest response.
Stage 2. The Internet gateway
The data from the sensors starts in analog form. That data needs to be aggregated and
converted into digital streams for further processing downstream. Data acquisition
systems (DAS) perform these data aggregation and conversion functions. The DAS
connects to the sensor network, aggregates outputs, and performs the analog-to-digital
conversion. 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 your
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—I've seen as much as 40 TB/second in one case.
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.
Intelligent gateways can build on additional, basic gateway functionality by adding
such capabilities as analytics, malware protection, and data management services.
These systems enable the analysis of data streams in real time. Although delivering
business insights from the data is a little less immediate at the gateway than it would be
when sent directly from the sensor/actuator zone, the gateway has the compute power
to render the information in a form that is more understandable to business
stakeholders.
Gateways are still edge devices—they’re external to the data center—so geography and
location matter. In the pump example, if you have 100 pump units and want to process
data on-premises, you might have instant data at the pump level, aggregate the
information to create a plantwide view for the facility, and pass the data on to the data
center for companywide view. DAS and gateway devices may end up in a wide variety
of environments, from the factory floor to mobile field stations, so these systems are
usually designed to be portable, easy to deploy, and rugged enough to withstand
variations in temperature, humidity, dust, and vibration.
[ Enterprise Service Management brings innovation to the enterprise. Learn more
in TechBeacon's new ESM guide. Plus: Get the 2019 Forrester Wave for ESM. ]
Stage 3. Edge IT
Once IoT data has been digitized and aggregated, it's ready to cross into the realm of IT.
However, the data may require further processing before it enters the data center. This
is where edge IT systems, which perform more analysis, come into play. 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.
Because 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. If you just had one large data pipe going
to the data center, you'd need enormous capacity. You'd also face security concerns,
storage issues, and delays processing the data. With a staged approach, you can
preprocess the data, generate meaningful results, and pass only those on. 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.
Here's another example: You might use machine learning at the edge to scan for
anomalies that identify impending maintenance problems that require immediate
attention. Then you could use visualization technology to present that information
using easy-to-understand dashboards, maps, or graphs. Highly integrated compute
systems, such as hyper-converged infrastructure, are ideally suited to these tasks
because they're relatively fast, and easy to deploy and manage remotely.
Six key characteristics of smart cities are shown. These factors include the following:
1. Smart Economy
Economy often refers to the wealth and resources of a city, especially in terms of
production and consumption of goods and services. The factors that a smart economy
should include are entrepreneurship, innovation, trademarks, the flexibility of the labor
market, productivity, the integration in the international market, etc. Smart cities are
expected to experience economic growth since the population increase will open
opportunities to accommodate the needs.
Currently, top 100 urban cities account for 25% of the gross domestic product
worldwide [5]. The growing population in cities will result in a greater demand for
products and more trade will be required in the international market. Creativity and
entrepreneurship are required to accommodate the growth in population. In addition,
many smart cities encourage new talent to turn their attention towards smart city
projects. Some estimate that $40 trillion will be spent worldwide on new urban
infrastructure by 2030 [6], which presents huge innovation opportunities. As a result,
there will be a huge availability in the labor market for the upcoming construction of the
new urban infrastructures.
2. Smart People
Smart cities will continue to grow and mature as long as there are smart people and
smart technologies to support. Smart people can be measured from some indicators
such as education, creativity, innovations, participation, etc. How well educated are the
residents can easily be measured in terms of the number of secondary education,
college, or university education degrees within the population. Creativity and
innovation are important and many smart cities encourage entrepreneurship by a safety
net in case of failure. According to the authors in [7], the key success factor of a city is
participation by people. If residents are not engaged to co-create and share knowledge,
then a smart city goal is bound to fail.
3. Smart Governance
Governance can be interpreted as the way a city is internally organized. Each smart city
is different because they all have their own goals. This results in a new form of
economic dynamics. Therefore, smart cities usually have their own form of governance.
Factors of smart governance include participation in decision-making, public and social
services, transparent governance, political strategies and perspectives, etc. For example,
SmartTrack in Toronto is proposed as regional express rail route which is expected to
bring economic benefits to the city [8].
4. Smart Mobility
Transportation is probably one of the most important aspects of a city. Residents need
to quickly and efficiently get from one point to another. Most smart cities focus on
intracity transportation. For example, New York has a really large underground subway
system for people to get around. Seoul has the underground subway system in which
passengers can also enjoy the Internet. Barcelona aimed for a more eco-friendly option
by using electric vehicles and bicycles. More efficient and greener methods of
transportation are inherently considered smarter. In addition, smart cards or access to
real-time information for transport systems is a big trend in many smart cities.
5. Smart Environment
Green communication is one of the common themes in smart cities. Cities want to
reduce their carbon footprint. Several efforts have been made in different ways such
like upgrading to greener vehicles (electric vehicles) and more efficient waste
management. Also, smart buildings can improve the environment and attractivity. For
example, in Amsterdam, drinking water is used to cool down buildings by passing it
through the building. As a result, buildings are efficiently cooled down without any
waste. Essentially, the smart environment includes the following factors: urban
infrastructure, carbon footprint, water and energy usage, environmental protection,
sustainable resource management, etc.
6. Smart Living
Residents are the key to a city’s development. Improving the quality of life for residents
is essential, and attention is required for cultural facilities, health conditions, individual
safety, housing quality, education facilities, tourist attraction, and social cohesion.
These factors can promote and bring the cultural agenda, tourist guide services for
visitors, education, and health.
ZigBee is ideal for energy monitoring, home automation (see more in smart homes
section), and automatic meter reading. Moreover, deployment of ZigBee devices is low
cost and the performance is optimal for demand response, real-time pricing programs,
real-time system monitoring, and advanced metering support [13, 14]. However,
ZigBee has a short range and cannot cover the larger distance as required by the smart
grid.
Wireless mesh is a flexible network consisting of a group of nodes. Data travels
through the nodes of the network, where each node acts as a repeater. This enables
self-healing characteristics in the network where if a node drops out of the network,
then information can be rerouted through other nodes. Smart grid uses this method for
self-healing and situational awareness within the grid.
Cellular networks such as GSM, 3G, fourth-generation (4G) cellular networks, and
WiMAX are also available for smart grids. Cost can be saved by using already existing
communication infrastructure. Further, the data transfer speed of cellular networks is a
lot faster compared to other technologies. However, existing cellular networks also
share data flow with the customer market which can affect network performance
negatively.
PLC utilizes existing power lines to transmit data at high speeds. Since this method
uses existing power lines, deployment costs are significantly reduced inmany countries.
PLCs are the primary choice for electrical grids because they already exist and
connected to meters. Also, the security of PLC is stronger than other technologies.
However, the transmission medium of the power lines is very noisy and harsh. In
addition, the more devices that are connected to the power line in a neighborhood affect
the overall quality of the data transmitted as well. In short, PLCs are sensitive to
disturbances and are poorly suited for data transmission.
2.Smart Home
The residential, tertiary, and commercial buildings account for 50% of electricity
consumption in Europe [15]. Home and work environments have several
energy-consuming units such as lighting, heating, air conditioning, computers,
appliances, etc. However, these units are isolated and are often used in a manner with
poor energy efficiency and sustainability. As a result, these environments unnecessarily
waste a lot of energy. If the units are used in a more coordinated manner, they can
provide leverage for energy and cost savings.
The concept of smart homes is a system that constructs an intelligent network which
considers each energy-consuming unit as a node. All the units are capable of
communicating with each other through the network and can be controlled from
anywhere in the household or even remotely through the Internet. The potential of this
system is vast as it can be used for security, energy-efficiency, comfort, and
convenience.
Smart Home Energy Management
Smart homes intelligently manage each device in an energy-efficient manner to reduce
the amount of wasted energy [11]. The system will monitor energy usage trends over
the time to better manage and automate each device in an optimal manner. For example,
the system could operate appliances during off-peak hours such as dishwashers or
laundry machines during the night when electricity is cheaper, saving both time and
money. Overall, smart homes will provide an energy management system, remote
control of devices, timed schedule for usage of appliances, and real-time monitoring
among others.
Traditional thermostats operate according to the hysteresis principle. A smart
thermostat such as Nest demonstrates to have the ability to learn user behavior patterns.
For example, the thermostat will turn off the air conditioning when it detects the users
leaving the household and then turn the air conditioning back upon arrival. By
auto-scheduling of appliances, the energy consumption can be reduced significantly.
Smart Appliances
Smart appliances (lighting, heating, air conditioning, computers, etc.) and systems are
often found in newer homes. In contrast, most traditional homes do not have these
appliances and systems built in. However, an affordable approach for homeowners is to
retrofit them into their households. Smart appliances can be found from many smart
home companies such as Notion, Canary, Iris, HomeSeer, Control4, Vera, Savant,
Wink, SmartThings, etc.
Communication Technologies for Smart Homes
Communication technologies are used to connect devices together in a smart home.
ZigBee and Wi-Fi are the most common technologies used among smart home
appliances. As mentioned earlier, ZigBee is ideal for energy monitoring and home
automation. It has simplicity, robustness, low deployment cost, and easy network
implementation.
3.Transport and Traffic Management
Most highly populated cities experience heavy traffic loads on the road, which
ultimately leads to huge amounts of greenhouse gas emissions and waste of money. In
2012, the US Treasury Department reported that approximately 1.9 billion gallons of
gasoline have been wasted due to traffic congestion every year at the cost of more than
100 billion in wasted fuel and time [16].
Electric Vehicles
Electric vehicles are considered as a potential replacement for the conventional
gas-powered vehicles. They are able to reduce carbon dioxide emissions and pollution.
Considering that road transport is expected to double by 2050, switching to electric
vehicles will significantly reduce the emissions over the long run. Many cities such as
Malaga, Paris, Amsterdam, and Barcelona have switched to electric vehicles and
installed charging stations across their cities.
Intelligent Transport System
An intelligent transport system (ITS) can be defined as a control system that uses ICTs
to communicate between vehicles and the highway so as to improve the safety, vehicle,
and road efficiency. Vehicles that are equipped with ITS are capable of predicting any
vehicle hazards and reduce reaction times to prevent accidents andincrease safety. The
ITS solutions cover a broad range of situations such as adaptive cruise control, obstacle
warning, lane detection, collision notification, etc.
Adaptive cruise control is a system that ensures that a car has a set distance behind
another vehicle. Sensors on the front side will monitor the relative speed of the vehicle
ahead. The adaptive cruise control system will then adjust the vehicle speed to maintain
a safe distance. In the case of a vehicle in front slowing down or another car cuts in
front, the system will alert the driver to slow down.
Obstacle warning is another approach that prevents accidents from occurring. This
technology uses radar, ultrasound, infrared, and laser to detect obstacles while the
vehicle is moving. The driver will be alerted if any obstacle is detected while the
vehicle is moving forward or backward.
Lane detection estimates the direction of the road and the position of the moving
vehicle along with sensors watching the road. When a vehicle is not properly aligned
with a lane, then the driver will be alerted. Furthermore, the vehicle is able to guide the
driver back into the lane.
Physical Infrastructure
Vehicles are getting safer and smarter. Investing more resources for physical
infrastructure of transport management will be more effective in dropping emissions
and wasted fuel. For example, traffic is sometimes caused by drivers trying to find the
parking spot. However, if sensors are deployed in parking spots, then a system can be
implemented to find empty spots. This can help to reduce traffic significantly and
drivers will have an easier time finding empty parking spots.
Public Wi-Fi
Many smart cities provide free public Wi-Fi which enables any device to connect to the
Internet. In addition, residents will be able to access a broad range of citywide services
through the network. A large amount of public data will be easily accessible for open
data projects. Thus, startups are getting encouragement and ultimately they are
improving the city economy. Common applications using data from public Wi-Fi are
real-time updates for bus stops, parking availability, monitoring traffic on the highway,
etc.
Copenhagen intelligent traffic solutions (CITSs) [17] is a project that installs Wi-Fi
access points in a mesh network with the ability to geo-locate Wi-Fi-enabled devices on
the street without compromising security. The data is aggregated and anonymized and
then fed back to a cloud-based software for city officials to monitor real-time traffic
conditions and run simulations. The software can look for patterns and predict traffic
behaviors using historical patterns, weather conditions, roadworks, and special events
4.Smart Healthcare
Healthcare has become too expensive for many individuals and it suffers from the
availability of services, medical errors, and wastes. Every year, there are millions of
preventable medical errors that lead to casualties. However, incorporating ICTs within
the healthcare sector led to the concept of electronic health (e-health). ICTs help
decrease costs and increase efficiency in many healthcare practices. As a result,
healthcare facilities are becoming more affordable, and yield better results and
increased satisfaction among patients. It encompasses a variety of uses such as
communication between patients and doctors, distant diagnostics for patients,
electronic medical records, telemedicine, teleconsultants, etc. E-health also removes
the need to travel and reduces the costs of medical resources.
The usage of mobile devices such as smartphones and tablets has significantly
increased over the past decade. Following the growing trend in mobile devices is the
idea of mobile health (m-health) which delivers healthcare services via mobile devices.
M-health extends the advantages of e-health to mobile devices. M-health focuses on
three important aspects: easy access to services and knowledge, user-oriented, and
personalized. A wide variety of services that m-health can provide include but are not
limited to health tips and education, health tools, health facility information, medical
calculator, clinical and educational use, etc. Numerous mobile health applications have
been released for iOS and Android OS devices such as Weight Watchers Mobile, Lose
It!, First Aid, Instant Heart Rate, Fooducate, Glucose Buddy—Diabetes Log, etc.
CHALLENGES
It can take a decade for cities to transform into smart cities. There are several factors
and challenges that are to be taken into consideration before moving forward. The
reasons behind why a city may want to transition can gauge how fast it will take.
Sometimes, cities want to channel their resources to improve the city for higher quality
of life and other times cities may be rebuilding itself after a natural disaster or
catastrophe. Following are some major challenges that need to be considered for smart
cities.
1.Planning
Cities are shaped by the inhabitants and understanding the human behavior is critical.
For better decision-making, it is essential to investigate urban dynamic open data, and
residents participation. A common issue with many cities is that they are often in a rush
to become a smart city. As a result, projects are often insular, creating an information
island that wastes funds because of repeated and redundant construction.
Many cities do not have a master plan or city development plan. It is essential to plan
a smart city and act based on a city’s needs in order to improve and provide better
facilities to residents. Retrofitting existing legacy city infrastructure to make it smarter
is another common issue that cities face. There are many challenges when reviewing
smart city strategies. One of them is being able to determine the areas that require
improvements. Also, integrating isolated legacy systems into the city is very difficult.
Information view
The information view consists of
(a) the description of the information handled in the IoT System, and
(b) the way this information is handled in the system; in other words, the
information lifecycle and flow (how information is created, processed, and deleted),
and the information handling components.
1. Information description
The pieces of information handled by an IoT system are the following:
• Virtual Entity context information, i.e. the attributes (simple or complex) as
represented by parts of the IoT Information model (attributes that have values and
metadata such as the temperature of a room). This is one of the most important pieces
of information that should be captured by an IoT system, and represents the properties
of the associated Physical Entities or Things.
• IoT Service output itself is another important part of information generated by an
IoT system. For example, this is the information generated by interrogating a Sensor
or a Tag Service.
• Virtual Entity descriptions in general, which contain not only the attributes coming
from IoT Devices (e.g. ownership information).
• Associations between Virtual Entities and related IoT Services.
• Virtual Entity Associations with other Virtual Entities (e.g. Room #123 is on Floor
#7).
• IoT Service Descriptions, which contain associated Resources, interface
descriptions, etc.
• Resource Descriptions, which contain the type of resource (e.g. sensor), identity,
associated Services, and Devices.
• Device Descriptions such as device capabilities (e.g. sensors, radios).
• Descriptions of Composed Services, which contain the model of how a complex
service is composed of simpler services.
• IoT Business Process Model, which describes the steps of a business process
utilizing other IoT-related services (IoT, Virtual Entity, Composed Services).
• Security information such as keys, identity pools, policies, trust models, reputation
scores, etc.
• Management information such as state information from operational FCs used for
fault/performance purposes, configuration snapshots, reports, membership
information, etc.
8.3 Information view 209
1 1 1 1
0..* 1
association
0..* 1
0..* Service 0 Service 0..*
Association
Description Description
MetaData MetaData MetaData
-serviceType
-metadataName -metadataName -metadataName
-metadataType 0..* -metadataType 0..* -metadataType
-metadataValue exposure -metadataValue exposure -metadataValue
0..* hosting hosting
0..* 0..* 0..*
Resource 0..* 0..1 Device Resource 0..* 0..1 Device
Description Description Description Description
A B A B
Request
Push Response
Time
(a) (b)
SA SB C SA SC B P
Subscribe Subscribe
Subscribe
Subscribe
Publish
Notify Notify
Notify
Notify
(c) (d)
FIGURE 8.3
Information exchange patterns.
(Adapted from IoT-A; Carrez et al. 2013)
8.3 Information view 213
Mobile
Phone
Internet
Sensor
Parking
Node
Operation
#2
Center
Payment station
- GW Node #2
WAN link
Short range
radio/wired link
FIGURE 8.8
Parking Lot Deployment and Operational View, Devices.
8.4 Deployment and operational view 219
free parking spots), and we assume that because of the deployment, a direct
connection to the payment station is not feasible (e.g. wired connectivity
is too prohibitive to be deployed or sensitive to vandalism). The physical
gateway devices connect through a WAN technology to the Internet and
towards a data center where the parking lot management system software is
hosted as one of the virtual machines on a Platform as a Service (PaaS;
Chapter 5) configuration. The two main applications connected to this
management system are human user mobile phone applications and parking
operation center applications. We assume that the parking operation center
manages several other parking lots using similar physical and virtual
infrastructure.
Figure 8.9 shows two views superimposed, the deployment and func-
tional views, for the parking lot example. Please note that several FGs and
FCs are omitted here for simplicity purposes, and certain non-IoT-specific
Application #1 Application #2
Phone Remote Operations & Management
Data Centre
Internet
Actuator Node
FIGURE 8.9
Parking Lot Deployment & Operational View, Resources, Services, Virtual Entities, Users.