Unit 1
Unit 1
Unit 1
What Is IoT:
IoT stands for Internet of Things. It refers to the interconnectedness of physical devices, such as appliances
and vehicles, that are embedded with software, sensors, and connectivity which enables these objects to
connect and exchange data. This technology allows for the collection and sharing of data from a vast
network of devices, creating opportunities for more efficient and automated systems.
Internet of Things (IoT) is the networking of physical objects that contain electronics embedded within
their architecture in order to communicate and sense interactions amongst each other or with respect to the
external environment.
IoT is network of interconnected computing devices which are embedded in everyday objects, enabling
them to send and receive data.
Over 9 billion ‘Things’ (physical objects) are currently connected to the Internet, as of now. In the near
future, this number is expected to rise to a whopping 20 billion.
Low-power embedded systems: Less battery consumption, high performance are the inverse factors
that play a significant role during the design of electronic systems.
Sensors: Sensors are the major part of any IoT application. It is a physical device that measures and
detects certain physical quantities and converts it into signal which can be provided as an input to
processing or control unit for analysis purpose. Different types of Sensors are
- Temperature Sensors
- Image Sensors
- Gyro Sensors
- Obstacle Sensors
- RF Sensor
- IR Sensor
- MQ-02/05 Gas Sensor
- LDR Sensor
- Ultrasonic Distance Sensor
Control Units: It is a unit of small computer on a single integrated circuit containing microprocessor
or processing core, memory and programmable input/output devices/peripherals. It is responsible for
major processing work of IoT devices and all logical operations are carried out here.
Cloud computing: Data collected through IoT devices is massive, and this data has to be stored on a
reliable storage server. This is where cloud computing comes into play. The data is processed and
learned, giving more room for us to discover where things like electrical faults/errors are within the
system.
Availability of big data: We know that IoT relies heavily on sensors, especially in real-time. As these
electronic devices spread throughout every field, their usage is going to trigger a massive flux of big
data.
Networking connection: In order to communicate, internet connectivity is a must, where each
physical object is represented by an IP address. However, there are only a limited number of addresses
available according to the IP naming. Due to the growing number of devices, this naming system will
not be feasible anymore. Therefore, researchers are looking for another alternative naming system to
represent each physical object.
2. Make the Internet ever more expansive, but this requires hard-core technologies such as rigorous
cloud computing and rapid big data storage (expensive).
IoT Enablers:
RFIDs (Radio Frequency Identification): uses radio waves in order to electronically track the
tags attached to each physical object.
Sensors: devices that are able to detect changes in an environment (ex: motion detectors).
Nanotechnology: as the name suggests, these are tiny devices with dimensions usually less than
a hundred nanometers.
Smart networks: (ex: mesh topology).
Receive Information: From network devices, users or devices can take certain information
also for their analysis and processing purposes.
Characteristics of IoT:
Massively scalable and efficient
An abundance of physical objects is present that do not use IP(IP-based addressing will no
longer be suitable in the upcoming future), so IoT is made possible.
Devices typically consume less power. When not in use, they can be automatically programmed
to sleep.
A device that is connected to another device right now may not be connected in another instant
of time.
Intermittent connectivity – IoT devices aren’t always connected. In order to save bandwidth and
battery consumption, devices will be powered off periodically when not in use. Otherwise,
connections might turn unreliable and thus prove to be inefficient.
Interconnectivity
It is the basic first requirement in any IoT infrastructure. Connectivity should be guaranteed from any
devices on any network then only devices in a network can communicate with each other.
Heterogeneity
There can be a wide diversity in IoT enabled devices like different hardware and software configuration or
different network topologies or connections, but they can connect and interact with each other easily
despite so much heterogeneity.
Dynamic in nature
IoT devices should dynamically adapt themselves to the changing surroundings like different situations and
different prefaces.
Self-adapting and self configuring technology
For example, surveillance camera. It should be flexible to work in different weather conditions and
different light situations (morning, afternoon, or night).
Intelligence
Just data collection is not enough in IoT, extraction of knowledge from the generated data is very
important. For example, sensors generate data, but that data will only be useful if it is interpreted properly.
So intelligence is one of the key characteristics in IoT. Because data interpretation is the major part in any
IoT application because without data processing we can’t make any insights from data. Hence, big data is
also one of the most enabling technologies in IoT field.
Scalability
The number of elements (devices) connected to IoT zones is increasing day by day. Therefore, an IoT setup
should be capable of handling the expansion. It can be either expand capability in terms of processing
power, storage, etc. as vertical scaling or horizontal scaling by multiplying with easy cloning.
Identity
Each IoT device has a unique identity (e.g., an IP address). This identity is helpful in communication,
tracking and to know status of the things. If there is no identification then it will directly affect security and
safety of any system because without discrimination we can’t identify with whom one network is
connected or with whom we have to communicate. So there should be clear and appropriate discrimination
technology available between IoT networks and devices.
Safety
Sensitive personal details of a user might be compromised when the devices are connected to the Internet.
So data security is a major challenge. This could cause a loss to the user. Equipment in the huge IoT
network may also be at risk. Therefore, equipment safety is also critical.
Architecture
It should be hybrid, supporting different manufacturer’s products to function in the IoT network.
Features of IOT
The most important features of IoT on which it works are connectivity, analyzing, integrating, active
engagement, and many more. Some of them are listed below:
Connectivity: Connectivity refers to establish a proper connection between all the things of IoT to IoT
platform it may be server or cloud. After connecting the IoT devices, it needs a high speed messaging
between the devices and cloud to enable reliable, secure and bi-directional communication.
Analyzing: After connecting all the relevant things, it comes to real-time analyzing the data collected and
use them to build effective business intelligence. If we have a good insight into data gathered from all
these things, then we call our system has a smart system.
Integrating: IoT integrating the various models to improve the user experience as well.
Artificial Intelligence: IoT makes things smart and enhances life through the use of data. For example, if
we have a coffee machine whose beans have going to end, then the coffee machine itself order the coffee
beans of your choice from the retailer.
Sensing: The sensor devices used in IoT technologies detect and measure any change in the environment
and report on their status. IoT technology brings passive networks to active networks. Without sensors,
there could not hold an effective or true IoT environment.
Active Engagement: IoT makes the connected technology, product, or services to active engagement
between each other.
Endpoint Management: It is important to be the endpoint management of all the IoT system otherwise,
it makes the complete failure of the system. For example, if a coffee machine itself order the coffee beans
when it goes to end but what happens when it orders the beans from a retailer and we are not present at
home for a few days, it leads to the failure of the IoT system. So, there must be a need for endpoint
management
Modern Applications:
1. Smart Grids and energy saving
2. Smart cities
3. Smart homes/Home automation
4. Healthcare
5. Earthquake detection
6. Radiation detection/hazardous gas detection
7. Smartphone detection
8. Water flow monitoring
9. Traffic monitoring
10. Wearables
11. Smart door lock protection system
12. Robots and Drones
13. Healthcare and Hospitals, Telemedicine applications
14. Security
15. Biochip Transponders (For animals in farms)
16. Heart monitoring implants (Example Pacemaker, ECG real time tracking)
Advantages of IoT:
1. Improved efficiency and automation of tasks.
2. Increased convenience and accessibility of information.
3. Better monitoring and control of devices and systems.
4. Greater ability to gather and analyze data.
5. Improved decision-making.
6. Cost savings.
Disadvantages of IoT:
1. Security concerns and potential for hacking or data breaches.
2. Privacy issues related to the collection and use of personal data.
3. Dependence on technology and potential for system failures.
4. Limited standardization and interoperability among devices.
5. Complexity and increased maintenance requirements.
6. High initial investment costs.
7. Limited battery life on some devices.
8. Concerns about job displacement due to automation.
9. Limited regulation and legal framework for IoT, which can lead to confusion and uncertainty.
Energy Efficiency:
Optimize power consumption to extend device battery life, especially for battery-powered devices.
Implement low-power modes and sensors to conserve energy when not in active use.
Reliability and Redundancy:
Design devices with built-in redundancy and failover mechanisms to ensure continued operation
in case of component or network failures. Conduct rigorous testing to validate reliability under
various conditions.
Real-Time Responsiveness:
Ensure low latency and minimal delays in data transmission and processing, particularly for
applications that require real-time or near-real-time responses.
Remote Management and Updates:
Enable remote device management, configuration, and firmware updates to enhance security, fix
bugs, and add new features. Implement secure over-the-air (OTA) update mechanisms.
Sustainability:
Consider the environmental impact of your devices, including materials, energy consumption, and
end-of-life recycling. Design for longevity and durability to reduce electronic waste.
Compliance and Regulations:
Ensure that your connected devices comply with relevant legal and regulatory requirements,
including safety standards, emissions regulations, and data privacy laws.
Ethical Considerations:
Consider the ethical implications of your devices, including their impact on society, privacy, and
potential unintended consequences. Strive for ethical use cases and responsible deployment.
Feedback and Iteration:
Collect feedback from users and monitor device performance in the field to make continuous
improvements through iterative design and updates.
Documentation and Support:
Provide comprehensive documentation, user manuals, and customer support to assist users in
setting up, troubleshooting, and maintaining your devices.
By adhering to these design principles, you can create connected devices that not only function
effectively but also enhance the overall user experience while addressing security and
sustainability concerns.
Building connections
Data processing
Providing storage
Providing interfaces
Providing graphical interfaces
The devices generate data, and the data is used to perform analysis and do operations
for improving the system. For instance, a moisture sensor is used to obtain the
moisture data from a location, and the system analyses it to give an output.
Things/Devices
Things/Devices are used to build a connection, process data, provide interfaces,
provide storage, and provide graphics interfaces in an IoT system. All these generate
data in a form that can be analyzed by an analytical system and program to perform
operations and used to improve the system. For example temperature sensor that is
used to analyze the temperature generates the data from a location and is then
determined by algorithms.
Connectivity: Devices like USB hosts and ETHERNET are used for connectivity
between the devices and the server.
Processor: A processor like a CPU and other units are used to process the data.
these data are further used to improve the decision quality of an IoT system.
Storage Interfaces: Things like SD, MMC, and SDIO are used to store the data
generated from an IoT device.
Other things like DDR and GPU are used to control the activity of an IoT system.
IoT Protocols
These protocols are used to establish communication between a node device
and a server over the internet. it helps to send commands to an IoT device
and receive data from an IoT device over the internet. we use different types of
protocols that are present on both the server and client side and these protocols
are managed by network layers like application, transport, network, and link
layer.
Application Layer protocol
In this layer, protocols define how the data can be sent over the network with the
lower layer protocols using the application interface. these protocols include HTTP,
WebSocket, XMPP, MQTT, DDS, and AMQP protocols.
Transport Layer
This layer is used to control the flow of data segments and handle error control. also,
these layer protocols provide end-to-end message transfer capability independent of
the underlying network.
TCP: The transmission control protocol is a protocol that defines how to
establish and maintain a network that can exchange data in a proper manner
using the internet protocol. It is connection oriented protocol.
UDP: a user datagram protocol is a part of an internet protocol called the
connectionless protocol. this protocol is not required to establish the
connection to transfer data.
Network Layer:
This layer is used to send datagrams from the source network to the destination
network. we use IPv4 and IPv6 protocols as host identification that transfers data in
packets.
IPv4: This is a protocol address that is a unique and numerical label assigned to
each device connected to the network. an IP address performs two main functions
host and location addressing. IPv4 is an IP address that is 32-bit long.
IPv6: It is a successor of IPv4 that uses 128 bits for an IP address. it is developed
by the IETF task force to deal with long-anticipated problems.
Link Layer:
Link-layer protocols are used to send data over the network’s physical layer. it also
determines how the packets are coded and signalled by the devices.
Request-Response Model
Publish-Subscribe Model
Push-Pull Model
Exclusive Pair Model
Request-Response Model
In the Request-Response Model, communication occurs between two parties: a
requester and a responder. The requester sends a request to the responder, typically
specifying an action or data it needs. The responder processes the request and sends
back a response with the requested data or the outcome of the requested action. This
model is commonly used in client-server architectures, web services, and APIs. It's
suitable for scenarios where one entity needs specific information or an action to be
performed by another entity.
The two main entities in request-response model are client and server.
The client can be a web application, mobile application, etc. The client
may be a browser requesting web pages or accessing an email. Each
access of a resource will be treated as request.
The server accepts the requests from the clients, processes them and
sends back responses to the clients. While processing the requests, the
server might access additional resources like file, databases, etc. The
request-response model is stateless, i.e., the requests in a session are
not related to each other with respect to a server. Each request is
treated as a new one and is completely unrelated to the previous
requests.
Request-response model is a communication model in which the client sends
requests to the server and the server responds to the requests. When the server
receives a request, it decides how to respond, fetches the data, retrieves resource
representation, prepares the response, and then sends the response to the client.
Request-response is a stateless communication model and each request-response
pair is independent of the others.
HTTP works as a request-response protocol between a client and a server. A web
browser may be the client, and an application on a computer that hosts a website
may be the server.
Example: A client (browser) submits an HTTP request to the server; then the server
returns a response to the client. The response contains status information about the
request and may also contain the requested content.
Publish-Subscribe Model
The Publish-Subscribe Model is a messaging pattern where senders (publishers)
distribute messages or data to multiple receivers (subscribers) without the need for
direct communication between them. Publishers send messages to named channels
or topics, and subscribers express their interest in specific channels. When a message
is published to a channel, all subscribers interested in that channel receive the
message. This model is often used in event-driven systems, messaging queues, and
IoT applications to decouple message producers from consumers.
Publishers are the source of data. It sends the data to the topic which is managed by the
broker. They are not aware of consumers. Consumers subscribe to the topics which are
managed by the broker. Brokers' responsibility is to accept data from publishers and send
it to the appropriate consumers. The broker only has the information regarding the
consumer to which a particular topic belongs which the publisher is unaware.
The main entities in a push-pull model are publisher, consumer, and queues. The
publisher pushes messages to the queues. The sensors in IoT can be thought of as
publishers of data. One or more queues store that data pushed by the publishers.
Unlike the publish-subscribe model, there is ordering of messages in push-pull
model. The consumers pull the messages from the queues and consume the
messages. A consumer is generally the IoT application through which the users
interact.
Push-Pull Model — The push-pull model constitutes data publishers, data consumers, and data
queues. Publishers and Consumers are not aware of each other. Publishers publish the message/data
and push it into the queue. The consumers, present on the other side, pull the data out of the queue. Thus,
the queue acts as the buffer for the message when the difference occurs in the rate of push or pull of data
on the side of a publisher and consumer. Queues help in decoupling the messaging between the producer
and consumer. Queues also act as a buffer which helps in situations where there is a mismatch between the
rate at which the producers push the data and consumers pull the data.
Exclusive Pair Model
The Exclusive Pair Model is a communication paradigm where two entities establish an exclusive one-to-one
connection for communication. This model ensures that only these two entities can communicate with each other,
creating a private channel. It's often used in secure and controlled communication scenarios, such as encrypted
messaging, private data sharing, or point-to-point connections.
The main entities in an exclusive pair model are client and server. The client
and server establish a full duplex connection for sending and receiving data.
Before sending a request, the client establishes a connection with the server
and then sends the request. The data requests can be one or more. The server
receives these requests through the same connection and sends back
responses. After the data transfer is complete, the connection between the
client and server is terminated. Unlike publish-subscribe model, exclusive pair
model is stateful. So, the server can automatically identify that the request is
coming from a previous client or not.
IoT Standards
The term "IoT standard" refers to a set of established and widely accepted guidelines,
specifications, and protocols that define how Internet of Things (IoT) devices and systems should
operate and communicate with each other. These standards are essential for ensuring consistency,
interoperability, security, and reliability within the IoT ecosystem.
Internet of Things (IoT) standards are essential for ensuring interoperability, security, and
reliability in the vast and diverse landscape of IoT devices and applications. These standards help
different IoT devices and platforms communicate with each other seamlessly and ensure that data
is exchanged and processed in a consistent and secure manner.
Smart objects produce large volumes of data. This data needs to be managed, processed, transferred and stored
securely. Standardization is key to achieving universally accepted specifications and protocols for
true interoperability between devices and applications.
The more things are connected, the greater the security risk. So, security standards are also needed to protect the
individuals, businesses and governments which will use the IoT.
Bluetooth Smart – Bluetooth smart is one of the most important standards of IoT. This standard
provides the devices to work using Bluetooth connectivity. Moreover, it makes it possible for the
device and the users to communicate or share the instructions using Bluetooth’s simple
connection.
ULE – ULE stands for Ultra-low emission. The amount of power involved in this is way too less,
as stated by its name. The common telephone network we use at our homework using this
standard and the embedded devices leverages it wherever possible in order to facilitate
communication with other devices.
IEEE 802.11ah – These standards are concerned with the wifi connectivity that runs on low
power. In the internet of things, the devices preferably work with low power consumption
mechanism involvement. Though Wifi doesn’t fall under the low power consumption part, this
standard is concerned with the lower power consumption of devices. This standard has been
considered as the most effective one as the availability of wifi is very common.
Thread – Thread may be considered the best standard that provides the opportunity to leverage
IPV6 to make communication over the internet. The ownership of this standard is held by Alpha
that is the parent company of Google. It makes the interaction between devices very convenient
and smooth. Being handled by Alpha, this standard consists of most of the parts that are
concerned with the secure and efficient working of the IoT enabled devices.
ZigBee – This is the other standard that helps to take the IoT to the next level. It has been
developed by an organization called the ZigBee industry. The main purpose of this standard is to
offer a network of devices that consume less power to function. The common devices that are
being used in houses leverage this standard in order to communicate with low power
requirements.
Z-Wave – Z-Wave is the most commonly used standard. Similar to the other standards, it is also
concerned with working devices that use less power to work well in the network. Sigma Designs
own this standard, and the changes or improvements in this standard are taken by this
organization only. The outcome of this standard is the low power mesh technology of
networking. In almost all smart devices or IoT enabled devices in the USA, this standard is de
facto.
6LoWPAN – This is another standard influenced by IEEE. It is concerned with creating the IoT
system that consists of devices that are connected to the internet and use less power to
facilitate communication. IPV6 has been used in this standard when it comes to connecting the
devices that are available on the internet. All of the standards for IoT are concerned about the
way devices interact with each other to create the network of the devices.
An IoT ecosystem can be designed on different levels. Each level is fundamentally a roadmap
of how to deploy the components of the IoT ecosystem. Thus, the same IoT ecosystem can be
designed using level 1 and level 2 standards both. The only thing that will differ is the way the
components are arranged altogether.
1. Level 1: In this level all the components are deployed locally. There is no any cloud or
external network involved in the process.
Sensors, routers, cloud components, application etc. all are at the user’s end. This standard is
good for those ecosystems where data is neither big nor varying. A uniform stream of data is
coming from a pre-set group of sensors and that is all happening in a simple way.
2. Level 2: In this level all the components are deployed locally except the servers. There is a
cloud or an external network involved in the process.
At the user’s end there are only sensors, routers and application. The cloud part is having
the servers configured for the purpose of storage and analysis. This standard is good for
those ecosystems where data is big. A huge amount of data is coming from many
components in the ecosystem and that too on a rapid speed.
3. Level 3: In this level all the components are deployed locally except the servers and the
network connectivity part. There is a cloud or an external network involved in the process.
At the user’s end there are only sensors and application. The cloud part is having the
essential networks for connectivity and servers configured for the purpose of storage and
analysis. This standard is good for those ecosystems where data is big and varying. A huge
amount of data is coming from many components deployed in many ecosystems and that
too on a rapid speed.
4. Level 4: In this level also, all the components are deployed locally except the servers and
the network connectivity part. In some cases, sensors are also in the cloud.
At the user’s end there is only the application. The cloud part is having the essential
networks for connectivity and servers configured for the purpose of storage and analysis.
This standard is good for those ecosystems where data is big, varying and is coming from
mobile sources.
5. Level 5: Level 5 IoT is very similar to Level 4 but with one major advancement. In level 5
IoT, coordinator devices are also there in the local part of the ecosystem. A
coordinator device coordinates a certain set of sensing devices. There is an Observer
Node also in the cloud part that observes the entire process.
6. Level 6: Level 6 IoT is very similar to Level 5 but with one major advancement. In level 6
IoT, coordinator devices are replaced by a single component Centralized Controller and
that is there in the cloud part of the ecosystem.
Difference between Sensors and Actuators
Sensors and actuators are critical components of embedded systems. These are utilized
in various real-world applications, including flight control systems in aircraft, process
control systems in nuclear reactors, and power plants that require automated control.
Sensors and actuators differ primarily in their purpose; the sensor is utilized to track
environmental changes using measurands, whereas the actuator is utilized when
monitoring is combined with control, such as controlling physical changes.
There are various types of sensors available, including temperature, ultrasonic, pressure,
and location sensors, among others. They are utilized for detecting and measuring the
relevant quantities. A sensor works by sensing a quantity by utilizing a particular detecting
device. Each sensor operates on a distinct principle, such as an electromagnetic sensor, a
resistive sensor, a capacitor sensor, etc. In general, they sense the matching attribute in the
environment and convert it into a proportional magnitude electrical signal.
Types of Sensors
1. Temperature: The temperate sensor records the amount of heat in a given setting. It
can be a machine, a room, a car, a lab, etc. This information can be used to take the desired
action, like changing the temperature to optimal settings. The same can be automated
according to some specific environmental conditions and settings.
2. Moisture: Where temperature sensors record the heat, moisture sensors record the
amount of humidity. They have a wide array of applications in the environment, food
supply chains, medicinal labs, agriculture, etc. Moisture sensors either have a hair tension
moisture element or a psychrometer to record the moisture content.
3. Light: Light sensors record and assess the ambient light settings in a defined area and
recommend actions to change the same. In your smartphone, when the brightness is
adjusted according to the exposure to light, the light sensor and the electrical actuator
play their part. In the modern homes that have automated light settings, these sensors are
used.
4. Motion: Motion sensors are usually installed in security systems and help detect
unauthorized activity. Upon sensing activity either by changes in the heat or weight, the
sensor activates an alarm system sending notifications to the right people. Motion IoT
sensors use radar, infrared, or ultrasonic waves to detect activity in their vicinity.
5. Noise: Noise sensors, as the name suggests, record the noise levels in the given
environment. It can be an entire city, a room, a car, etc. In IoT, these sensors are used to
build safe working and living environments for people. They are also used to send warning
notifications to the right people when noise levels go beyond the stipulated threshold
limit.
6. Proximity: Motion sensors and proximity sensors can be kept in the same basket, as the
majority of their functions are similar. These sensors record activity nearby with the help
of electromagnetic waves, including infrared. They are used in cars, parking lots, retail
stores, stadiums, airports, and in several other places to notify the people about their
proximity to different components.
7. Level: From granular materials to semi-solid liquids, level sensors detect the quantity
or level of different substances. Manufacturing industries, particularly beverage, water
treatment, and waste management organizations, have the best use of level sensors.
8. Accelerometers: Accelerometers are an impressive type of IoT sensor used to record
and measure an object’s acceleration. These types of sensors record the rate of change of
an object’s speed in relation to time. Plus, they have the added advantage of recording
changes in gravity. They can be popularly used in driving fleets and smart pedometers or
to detect movement in a stationary object, helping to identify theft.
9. Gas: Gas sensors are used to detect changes in air quality. These sensors are built to
detect the presence of toxic, combustible, and other hazardous gasses in a given area. Most
of the time, we see the installation of this type of sensor in mining, oil, gas, and energy
organizations. However, they are also installed in smart homes and buildings to detect
levels of CO2, carbon monoxide, particulate matter, etc.
10. Optical: Optical sensors have several use cases but have become an important part of
driverless cars. These sensors are used to detect signals and signs to provide
information about the surrounding environment. In a driverless car, these sensors are
used to detect objects and signs on the road, send the signals to the central control unit
and dictate a change in behavior if required.
11. Gyroscope: These sensors are used to measure the velocity of a moving object.
Velocity refers to the speed and rotation of an object around its axis. Gyroscope sensors
are commonly used in car navigation systems and in stability control systems.
12. Chemical: We can put chemical sensors and gas sensors in the same category. With
these sensors, we can expect measurements and detection of several types of chemicals.
To build IoT solutions in a factory setting, these sensors can play an important role in
ensuring workers' safety and that of the environment.
3. Image Sensors: These sensors utilize the Complementary Metal Oxide Sensor
mechanism. They detect and transfer data that is utilized to make an image. These image
sensors are very useful in consumer surveillance and electronic systems.
4. Chemical Sensors: These sensors use ultrasonic, microwave, and radar technology, and
they are used in security systems, video games, and other applications.
Features of Sensors
There are various features of Sensors. Some main features of Sensors are as follows:
1. A sensor could be either active or passive. Active sensors necessitate a power source,
but passive doesn't necessitate a power source.
The minimum and maximum values the sensor Temperature sensor: -40°C to
Sensing Range can measure. 120°C
Resolution The smallest change the sensor can detect. Digital thermometer: 0.1°C
Sensitivity The change in the sensor's output per unit Strain gauge sensor with high
Specification Definition Example
How well the sensor's output follows a linear Linear light sensor over a wide
Linearity relationship. range
Drift Slow changes in the sensor's output over time. Pressure sensor with zero drift
Power The amount of electrical power required for Ultrasonic distance sensor with
Consumption operation. low power standby mode
Understanding these sensor dynamics and specifications is crucial for selecting the right
sensor for a specific application and for interpreting the sensor's data accurately. Different
applications require sensors with different characteristics to meet the desired performance
and reliability standards.
Actuators are connected to a system's output. It receives an electrical signal as input and produces
mechanical movement as output. It receives input or instruction from a system or a signal conditioning
device and outputs it to the environment.
The actuator is dependent on the sensor data. The sensor sends data to a signal condition unit, which
analyzes the data or information and transmits commands to the actuator depending on that data.
A "temperature control system" is an instance of an actuator system in which a temperature sensor
manages the temperature. If the temperature surpasses a specific limit, the device instructs the fan to
increase its speed and decrease the temperature.
AD
Types of Actuators
1. Manual Actuator: This type of actuator is manually operated via gears, levers, and wheels, among
other things. They do not need a power source because they are powered by human action.
2. Spring Actuator: It has a loaded spring that is triggered and released to generate mechanical work. It
may be triggered in several ways.
3. Hydraulic Actuator: Hydraulic actuators generate pressure by compressing fluid in a cylinder, allowing
mechanical movement.
4. Electric Actuators: These actuators require power to function. It utilizes an electric motor to produce
movement. They are quick and effective.
Features of Actuators
There are various features of Actuators. Some main features of Actuators are as follows:
1. A sensor is a device that detects changes or events in the environment and transmits that data to
other electronic devices. In contrast, an actuator is a machine component that moves and controls
mechanisms.
2. Electrical signals are generated via sensors. On the other hand, an actuator produces energy in the
form of heat or motion.
3. The sensor is placed at the input port to receive input. In contrast, the actuator is located at the
output port.
4. There is some example of sensors that utilize sensors, including Magnetometer, cameras,
microphones, etc. In contrast, actuators are employed in LEDs, loudspeakers, motor controllers,
lasers, etc.
5. Sensors are utilized to measure physical quantities. On the other hand, the actuator is utilized to
measure the discrete and continuous process parameters.
6. The sensor takes input from the environment. In contrast, the actuator receives input from the
system's output conditioning unit.
Basic It converts the physical properties of IIt converts the system's electrical
their environment into electrical signals signals into various physical
for the system. characteristics for their
environments.
Type of Electrical signals are generated via IIt generates energy in the form of
Output sensors. heat or motion.
Source of It receives input from the environment. IIt receives input from the system's
Input output conditioning unit.
Placement These are placed at a system's input IThese are placed at a system's
port. output port.
Output It produces output for the input IIt produces output for their
Generation conditioning unit of a system. environment.
Conclusion
The primary distinction between a sensor and an actuator is that a sensor is utilized to
detect environmental changes. In contrast, an actuator is utilized to control environmental
or physical changes. Sensors and actuators are both required for the system to perform
properly.
In simple words, sensors are electronics that convert real word parameters into electrical
signals. A sensor can be in the form of a simple switch or could be a more complex
barometric pressure sensor. Over the past decades, the use of sensors has grown
exponentially to provide better user experience in consumer electronics.
Actuators are the opposite of sensors. Instead of sensing real-time variables, actuators turn
energy input into physical movements. You’ll find actuators used in applications like robots,
HVAC, water pumps or a typical automatic sliding door.
The electronics industry is flooded with different types and shapes of sensors. Here are some
common ones that you’re likely to come across.
IR Sensor - measures distance by gauging the distance of IR reflection.
Ultrasonic sensor - produces ultrasonic waves and detecting the echo to determine
obstacles along its path.
Temperature sensor - uses the thermodynamic principle to convert changes in
temperature into electrical signals.
Touch sensor - convert physical contact by using capacitive, resistive or inductive
sensing into electrical pulses.
Pressure sensor - turns physical diaphragm deflection into electrical signals.
It’s obvious that only electric actuators are directly powered by an electronics circuit.
Common types of electric actuators are AC motors, servo motors, and stepper motors. Some
hybrid actuators have electric controls built-in alongside the existing elements.
While it’s true that both sensors and actuators are represented by the familiar electrical
signals, you shouldn’t take the design process for granted. Systems that utilize sensors and
actuators for critical applications require a flawless design.
For example, the actuators could be controlling high-pressure air compressors and there’s no
room for errors. The same goes for humidity sensors installed in surgery rooms in hospitals.
The role of PCB designers is vital to ensure hardware-level mistakes are non-existence.
1. Choosing The Right Part
When designing applications involving sensors and actuators, you could be collaborating
with projects or application engineers. While you have limited control over the physical
aspects of the parts, you’ll need to be attentive to the electrical characteristics of the sensors
and actuators.
For example, temperature sensors may provide raw analog signals or a serial communication
interface. Both will result in different hardware and software design strategies. The choice of
driving a stepper motor or AC motor means including different types of driver circuits.
2. Electrical Interference Prevention
You’ll need to ensure proper EMI prevention techniques are applied. Sensor inputs should be
kept cleared from high-speed signals and proper ground separations must be done on the
PCB. The accuracy of the sensor signal is crucial to maintain the proper functioning of the
system.
3. Fail-Safe Condition
When you’re dealing with moving parts, you need to consider the fail-safe condition of the system. For
example, an industrial air dryer system requires only certain valves to be opened at any one time. Get that
wrong and you’ll have a catastrophic accident with the high-pressure air movement.
As a PCB designer, you’ll need to be clear of the workings of the system and the fail-safe condition of the
moving mechanisms. Choosing an NC or NO relay to control airflow valves is a huge difference in
maintaining safety when system power fails.
Using a PCB design software with signal analysis capability greatly minimizes the risk when designing
with sensors and actuators. OrCAD is the tool you need to manage both your design’s layout needs and any
collaborative processes between mechanical and analysis teams when working with signal-intensive
designs.
Designing circuits using basic sensors and actuators is a fundamental aspect of hardware
development in various fields, including electronics, robotics, and the Internet of Things (IoT).
Here are some basics of hardware design needed to build useful circuits with basic sensors and
actuators:
Selecting Sensors and Actuators:
Begin by choosing the appropriate sensors and actuators for your application. Consider factors
such as the type of data you need to collect and the actions you want to perform.
Common sensors include temperature sensors, humidity sensors, motion sensors, light sensors,
and proximity sensors.
Common actuators include motors, servos, relays, LEDs, and solenoids.
Power Supply:
Determine the power requirements of your sensors, actuators, and associated circuitry.
Select an appropriate power source, such as batteries, a DC power supply, or a combination of
both, based on the device's power needs and portability.
Voltage Regulation and Protection:
Use voltage regulators and protection circuitry to ensure that the voltage supplied to the
components remains within their specified operating ranges and protect against voltage spikes or
reverse polarity.
Microcontroller or Microprocessor:
Depending on your project's complexity, use a microcontroller (e.g., Arduino, Raspberry Pi) or
microprocessor to control and process data from sensors and actuate the actuators.
Ensure compatibility between the microcontroller and the sensors/actuators (e.g., voltage levels,
communication protocols).
Sensor Interfaces:
Design appropriate interfaces to connect sensors to your microcontroller. This may involve analog-
to-digital converters (ADCs), digital interfaces like I2C or SPI, or direct GPIO connections.
Actuator Control:
Interface with actuators using appropriate driver circuits. Motor drivers, relay modules, and
transistor circuits are examples of components used to control actuators.
Signal Conditioning:
Implement signal conditioning, such as filtering and amplification, if needed to ensure accurate
sensor readings or precise actuator control.
Data Processing:
Use software and programming to process sensor data, make decisions based on that data, and
control actuators accordingly.
Implement algorithms for data analysis and control logic based on the specific application.
Communication:
If your project requires remote monitoring or control, integrate communication modules (e.g., Wi-
Fi, Bluetooth, Zigbee) to enable data exchange between your device and other devices or a central
system.
Mechanical Design:
If your project involves mechanical components (e.g., robots or automated systems), consider the
physical design and integration of sensors and actuators into the mechanical structure.
Prototyping and Testing:
Create a prototype of your circuit to test its functionality and troubleshoot any issues.
Perform testing and calibration of sensors and actuators to ensure accurate and reliable operation.
Documentation:
Keep detailed documentation of your hardware design, including schematics, connection
diagrams, and component specifications. This documentation is valuable for troubleshooting,
replication, and future iterations.
Safety Considerations:
Pay attention to safety precautions, especially when working with high-voltage components or
devices that interact with the physical environment. Implement safety features and fail-safes as
needed.
Compliance and Regulations:
Ensure that your hardware design complies with relevant safety and regulatory standards in your
region or industry, especially if your device will be deployed in commercial or industrial settings.
What are the main challenges and risks of IoT implementation and
adoption?
Internet of things (IoT) is the network of physical devices, sensors, and software that
can communicate and exchange data over the internet. IoT can offer many benefits
for businesses and consumers, such as improving efficiency, productivity, customer
experience, and innovation. However, IoT also comes with some challenges and risks
that need to be addressed before and during its implementation and adoption. In
this article, we will explore some of the main ones and how to overcome them.
Data security and privacy
One of the biggest challenges and risks of IoT is data security and privacy. IoT
devices generate and collect massive amounts of data, which can contain sensitive
and personal information. This data can be vulnerable to cyberattacks, breaches,
theft, or misuse by hackers, competitors, or third parties. To protect data security
and privacy, you need to implement strong encryption, authentication, and access
control mechanisms, as well as comply with relevant regulations and ethical
standards. You also need to educate and inform your users and customers about
how their data is collected, used, and shared, and give them options to opt-out or
delete their data if they wish.
Another challenge and risk of IoT is integration and interoperability. IoT devices and
systems come from different vendors, platforms, protocols, and standards, which can
create compatibility and communication issues. This can affect the functionality,
performance, and reliability of the IoT network, as well as increase the complexity
and cost of maintenance and support. To ensure integration and interoperability,
you need to choose IoT devices and systems that follow common standards and
protocols, or use middleware or gateways that can translate and bridge different
formats and languages. You also need to test and monitor your IoT network
regularly and update or replace outdated or incompatible devices and systems.
A third challenge and risk of IoT is scalability and reliability. IoT devices and systems
can grow rapidly in number, size, and diversity, which can create challenges for
managing, monitoring, and maintaining them. This can also put pressure on the
network bandwidth, storage, and processing capabilities, which can affect the speed,
quality, and availability of the IoT services. To ensure scalability and reliability, you
need to design and deploy your IoT network with scalability and reliability in mind,
using cloud computing, edge computing, or fog computing solutions that can
provide flexible, distributed, and resilient resources. You also need to use tools and
methods that can automate, optimize, and troubleshoot your IoT network and
devices.
A fourth challenge and risk of IoT is legal and regulatory compliance. IoT devices
and systems can operate across different jurisdictions, industries, and domains,
which can expose them to various legal and regulatory requirements and
obligations. These can include data protection, consumer protection, product
liability, intellectual property, environmental, health, and safety laws and regulations.
To ensure legal and regulatory compliance, you need to research and understand
the legal and regulatory frameworks that apply to your IoT devices and systems, as
well as the markets and customers you serve. You also need to implement policies
and procedures that can ensure compliance and accountability, as well as address
any potential disputes or violations.
A fifth challenge and risk of IoT is ethical and social responsibility. IoT devices and
systems can have significant impacts on the society, environment, economy, and
culture, which can raise ethical and social issues and concerns. These can include the
implications of data collection, use, and sharing, the effects of automation and
artificial intelligence, the risks of bias and discrimination, the consequences of
security breaches or failures, and the responsibilities of the stakeholders involved. To
ensure ethical and social responsibility, you need to adopt a human-centric and
value-based approach to your IoT design and development, as well as your IoT
strategy and governance. You also need to engage and consult with your users,
customers, employees, partners, regulators, and other relevant parties to understand
their needs, expectations, and feedback.
A sixth challenge and risk of IoT is skills and competencies. IoT devices and systems
require a range of skills and competencies to design, develop, implement, adopt,
and manage them effectively and efficiently. These can include technical skills, such
as programming, engineering, networking, security, data analysis, cloud computing,
or artificial intelligence; as well as business skills, such as strategy, innovation, project
management, change management, customer service, or communication. To acquire
and develop skills and competencies for IoT, you need to invest in training,
education, and certification programs for yourself and your team, as well as hire or
partner with experts or consultants who can provide guidance and support. You also
need to foster a culture of learning, collaboration, and experimentation that can
encourage innovation and adaptation.
IoT (Internet of Things) applications are vast and diverse, encompassing a wide range of
industries and use cases. Here are some examples of IoT applications across different
sectors:
1. Smart Home:
Smart Thermostats: Devices like Nest can learn your temperature preferences and adjust
heating or cooling accordingly.
Smart Lighting: Lights can be controlled remotely or scheduled for energy savings.
Home Security: IoT cameras and sensors provide remote monitoring and alerts.
Voice Assistants: Devices like Amazon Echo and Google Home control smart home devices
using voice commands.
2. Healthcare:
Remote Patient Monitoring: Wearable IoT devices track vital signs and send data to
healthcare providers.
3. Agriculture:
Precision Agriculture: IoT sensors monitor soil conditions, crop health, and weather for
optimized farming.
Livestock Monitoring: IoT tags track the health and location of livestock.
Supply Chain Management: IoT tracks products, assets, and inventory in real time.
Waste Management: IoT sensors monitor trash bins for efficient collection.
Environmental Monitoring: Sensors track air quality, noise levels, and pollution.
6. Retail:
Inventory Management: IoT helps retailers track stock levels and minimize out-of-stock
situations.
Customer Analytics: Beacons and sensors provide insights into customer behavior.
Smart Shelves: Shelves equipped with IoT sensors reorder products automatically.
7. Energy Management:
Renewable Energy: IoT monitors and controls solar panels and wind turbines.
8. Transportation:
Fleet Management: IoT tracks the location and condition of commercial vehicles.
Smart Public Transportation: Buses and trains are equipped with real-time tracking and
payment systems.
Asset Tracking: IoT sensors monitor the location and condition of goods during shipping.
Inventory Management: IoT systems optimize warehouse operations.
Water Quality Monitoring: Sensors track water pollution levels in rivers and oceans.
These examples illustrate the diverse applications of IoT technology, highlighting its
potential to improve efficiency, reduce costs, enhance user experiences, and address
societal challenges across various sectors. IoT continues to grow and evolve, offering
endless possibilities for innovation and development.