Module 2
Module 2
2
IoT Sensing and Actuation
Learning Outcomes:
05/28/2025 1
M-
2
IoT Sensing and Actuation
Introduction:
Sensing as the Foundation of IoT.
Introduction to
TRANSDUCER:
05/28/2025 3
M-
2
IoT Sensing and Actuation
Example for
Transducer:
05/28/2025 4
M-
2
IoT Sensing and Actuation
The basic outline of the differences between transducers, sensors, and actuators
05/28/2025 5
M-
2
IoT Sensing and Actuation
The basic outline of the differences between transducers, sensors, and actuators
05/28/2025 6
M-
2
IoT Sensing and Actuation
SENSORS:
“Sensors are devices that can measure, or quantify, or respond to the ambient changes
in their environment or within the intended zone of their deployment.”
05/28/2025 7
M-
2
IoT Sensing and Actuation
SENSORS:
They generate responses to external stimuli or physical phenomena through the
characterization of the input functions (which are these external stimuli) and their
conversion into typically electrical signals.
Example:
05/28/2025 8
M-
2
IoT Sensing and Actuation
SENSORS:
A sensor is only sensitive to the measured property.
Example:
• A temperature sensor only senses the ambient temperature of a room.
It is insensitive to any other property besides what it is designed to detect.
Example:
• A temperature sensor does not bother about light or pressure while sensing the
temperature.
Finally, a sensor does not influence the measured property (e.g., measuring the
temperature does not reduce or increase the temperature).
05/28/2025 9
M-
2
IoT Sensing and Actuation
SENSORS:
The outline of a simple sensing operation
05/28/2025 10
M-
2
IoT Sensing and Actuation
SENSORS:
The outline of a simple sensing operation
SENSORS:
Classification of IoT Sensors
1)Power Requirements,
3)Measured Property.
05/28/2025 12
M-
2
IoT Sensing and Actuation
Power
Requirements
The way sensors operate decides the power requirements that must be provided for an IoT
implementation.
Some sensors need to be provided with separate power sources for them to function,
Power
Requirements
Active Sensors:
Example:
• A photodiode, which converts light into electrical impulses.
• Smoke Detector (Ionization Type): Uses radioactive material to detect smoke
particles and triggers an alarm when smoke is present.
05/28/2025 14
M-
2
IoT Sensing and Actuation
Power
Requirements
Passive Sensors
Sensed properties are modulated with the sensor's inherent characteristics to produce
output patterns.
Example:
• A thermistor is where resistance is measured by applying a voltage or current.
• Touchscreen (Capacitive Touch Sensor): Found in smartphones and tablets, requiring
power to sense and respond to touch.
05/28/2025 15
M-
2
IoT Sensing and Actuation
Sensor
Output
The output of a sensor helps in deciding the additional components to be integrated with an
IoT node or system.
Typically, almost all modern-day processors are digital; digital sensors can be directly
integrated into the processors.
Sensors are broadly divided into two types, depending on the type of output generated
from these sensors, as follows:
1. Analog Sensors
2. Digital Sensors
05/28/2025 16
M-
2
IoT Sensing and Actuation
Sensor
Output
Analog Sensors:
These measurements change continuously over time and don’t have distinct, separate
05/28/2025 17
M-
2
IoT Sensing and Actuation
Sensor
Output
Analog Sensors:
Example:
05/28/2025 18
M-
2
IoT Sensing and Actuation
Sensor
Output
Digital Sensors:
Digital Representation: Digital sensors provide discrete-time signals, representing
measurements in binary form (logic 1 for ON and logic 0 for OFF).
Binary Output: Signals are output as single bits in serial transmission or as bytes (8 bits)
in parallel transmission.
Non-Continuous Values: Digital sensors produce discrete, non-continuous values,
allowing straightforward integration with digital systems.
05/28/2025 19
M-
2
IoT Sensing and Actuation
Sensor
Output
Digital Sensors:
system.
Data Usage: The thermostat adjusts heating or cooling based on received data.
05/28/2025 20
M-
2
IoT Sensing and Actuation
Sensor
Output
05/28/2025 21
M-
2
IoT Sensing and Actuation
Measured
Property:
The property of the environment being measured by the sensors can be crucial in
Spatial Variation captures how a property differs in different locations at the same
time, while Temporal Variation focuses on how that property changes over time at a
specific location.
05/28/2025 22
M-
2
IoT Sensing and Actuation
Measured
Property:
Example: Temperature:
In a large building, the temperature can vary from one room to another due to factors
This means that the temperature has spatial variation across different areas of the
building.
05/28/2025 23
M-
2
IoT Sensing and Actuation
Measured
Property:
Example: Traffic Flow:
The number of vehicles on a road can vary throughout the day (more cars during rush
05/28/2025 24
M-
2
IoT Sensing and Actuation
Measured
Property:
Depending on the properties to be measured, sensors can be of two types.
1. Scalar Sensors
2. Vector Sensors
05/28/2025 25
M-
2
IoT Sensing and Actuation
05/28/2025 26
M-
2
IoT Sensing and Actuation
Measured
Property:
Scalar Sensors:
Scalar sensors produce an output signal that is directly proportional to the magnitude of
the measured quantity.
This means that as the quantity increases or decreases, the output signal (often a voltage
or current) changes accordingly.
Example:
• A pressure sensor measures the pressure of a gas or liquid.
• As the pressure increases, the output voltage from the sensor increases
05/28/2025
proportionally. 27
M-
2
IoT Sensing and Actuation
Measured
Property:
Scalar Sensors:
Scalar sensors are designed to measure physical quantities where only the magnitude of
the measurement is significant, without regard to direction or orientation.
Scalar sensors provide readings based on the intensity or strength of a physical
phenomenon.
Temperature Sensors:
A thermometer measures temperature in degrees Celsius or Fahrenheit.
The reading indicates how hot or cold something is, without any need to know the
05/28/2025
direction of heat flow. 28
M-
2
IoT Sensing and Actuation
Measured
Property:
Vector Sensors:
Vector sensors measure physical quantities that require both magnitude and direction
for a complete understanding of the phenomenon.
This dual dependence means that changes in either aspect will affect the sensor's output.
Example:
A velocity sensor measures the speed of an object in a specific direction.
For instance, a GPS sensor provides velocity data as a speed (magnitude) and a
heading (direction), indicating how fast and in which direction an object is moving.
05/28/2025 29
M-
2
POINTS TO PONDER
All sensors can be defined by their ability to measure or capture a certain phenomenon
However, even within the same sensor type and class, sensors can be characterized by
their ability to sense the phenomenon based on the following three fundamental
properties:
Precision
05/28/2025 31
M- Sensor Characteristics
2
Sensor Resolution
The more the resolution of a sensor, the more accurate is the precision.
Sensor Accuracy
The ability of a sensor to measure a value as close as possible to the true or actual
value.
High accuracy ensures reliable and trustworthy measurements.
To minimize errors in measurements.
Example:
A temperature sensor showing 25.1°C when the actual temperature is 25°C is
accurate.
05/28/2025 33
M- Sensor Characteristics
2
Sensor Accuracy
Example:
05/28/2025 34
M- Sensor Characteristics
2
Sensor Precision
Based on repeatability—a sensor is precise if it gives similar results each time it's
05/28/2025 35
M- Sensor Characteristics
2
Sensor Precision
Example:
For a 100 kg weight, a sensor reports:
• First reading: 98.28 kg
• Second reading: 100.34 kg
• Third reading: 101.11 kg
The wide variation (98.28 kg to 101.11 kg) shows low precision, as the readings aren’t
close to each other.
05/28/2025 36
M-
2
POINTS TO PONDER
The sensorial deviations in sensors, which are errors that can occur.
Most of the sensing in IoT is non-critical, where minor deviations in
sensorial outputs seldom(rarely) change the nature of the undertaken
tasks.
However, some critical applications of IoT, such as healthcare, industrial
process monitoring, and others, do require sensors with high-quality
measurement capabilities.
05/28/2025 38
M- Sensorial Deviations
2
Agricultural Sensors
Soil moisture sensors. Minor inaccuracies
may only slightly affect irrigation
decisions.
Environmental Monitoring
Air quality sensors. Misleading data can hinder
effective responses to pollution or hazardous
conditions.
05/28/2025 39
M- Sensorial Deviations
2
05/28/2025 40
M- Sensorial Deviations
2
05/28/2025 41
M-
2
Sensorial Deviations
In the event of a sensor’s output signal going beyond its designed maximum and
minimum capacity for measurement, the sensor output is truncated to its maximum or
minimum value, which is also the sensor’s limit.
The measurement range between a sensor’s characterized minimum and maximum values
is also referred to as the full-scale range of that sensor.
Under real conditions, the sensitivity of a sensor may differ from the value specified for
that sensor leading to sensitivity error.
This deviation is mostly attributed to sensor fabrication errors and its calibration.
05/28/2025 42
M- Sensorial Deviations
2
05/28/2025 43
M- Sensorial Deviations
2
Sensitivity Error
refers to the difference between the actual output of a sensor and the expected
output based on its specified sensitivity.
Example:
If a temperature sensor is supposed to output 1 volt for every degree Celsius increase
but outputs only 0.9 volts per degree, it has a sensitivity error.
05/28/2025 44
M- Sensorial Deviations
2
If the output of a sensor differs from the actual value to be measured by a constant, the
Example:
• In this case, the sensor is said to have an offset error or bias of 1.1 degrees C.
05/28/2025 45
M- Sensorial Deviations
2
In real life, SENSORS aren't always perfect, and their output might vary in a few ways.
Let's imagine a Temperature Sensor that is supposed to measure from 0°C to 100°C and
0°C → 0 volts
50°C → 5 volts
100°C → 10 volts
05/28/2025 46
M- Sensorial Deviations
2
Non-linearity:
If the sensor's output isn't a perfectly straight line between 0 and 10 volts, we say it's
"non-linear."
So, if at 50°C the sensor gives 5.2 volts instead of 5 volts, that slight deviation is an
example of non-linearity.
We measure this deviation over the whole range to understand how non-linear it is.
05/28/2025 47
M- Sensorial Deviations
2
Non-linearity:
Here are some common reasons:
Material Properties: The materials used in the sensor might not have a perfectly linear response to changes
in the measured property (like temperature, pressure, or light). For example, metals used in temperature
sensors change resistance with temperature, but not always at a constant rate.
Design and Construction: Some sensors are designed with an internal structure or mechanism that has
inherent limitations. For instance, in optical sensors, the response of the photodiodes to light intensity can
be non-linear at certain levels of brightness.
Saturation Effects: At the high or low ends of the sensor’s range, it might start to "saturate," meaning it
can’t respond proportionally anymore. For example, a pressure sensor might read pressure linearly up to a
certain point, but then its response starts to curve off as it nears its maximum capacity.
Temperature and Environmental Factors: Many sensors are influenced by external factors such as
temperature, humidity, or electromagnetic interference, which can distort their output. For instance, a
pressure sensor might be linear in a controlled environment but becomes non-linear in extreme
temperatures.
Manufacturing Variations: Small inconsistencies in the manufacturing process can lead to slight
differences in each sensor’s behavior, causing non-linearity even if the design is intended to be linear.
05/28/2025 48
M- Sensorial Deviations
2
Drift:
Imagine if, over time, the sensor starts to "drift."
Example:
Today at 50°C, it might read 5 volts, but after a year, it might start reading 5.1 volts at
50°C without any actual change in temperature.
Drift is often a slow, long-term change in the sensor’s readings due to physical changes
in the sensor material.
Drift is the gradual change in the sensor output over time due to ageing, temperature,
humidity, or other environmental factors.
05/28/2025 49
M-
2
Sensorial Deviations
Noise:
So, at a constant temperature of 50°C, the sensor might give outputs like 5.01, 5.02, 4.98,
Noise is usually short-term and can make the signal "jitter" around the actual value.
05/28/2025 50
M-
2
Sensorial Deviations
Noise:
Some common causes include:
Electrical Interference: If the sensor is in an environment with other electronic devices, it
might pick up electromagnetic interference (EMI), which can cause small fluctuations in its
readings.
Thermal Noise: Every electronic component generates a bit of random electrical noise due
to the movement of electrons. This is an unavoidable property of electronics and results in
slight jitter in readings.
Environmental Factors: Even tiny air currents or minor vibrations can introduce noise,
causing the sensor to pick up slight, irrelevant changes in the surrounding environment.
05/28/2025 51
M-
2
Sensorial Deviations
Hysteresis
Hysteresis error means that a sensor’s output doesn’t just depend on its current input,
Hysteresis shows that past inputs can slightly affect current measurements.
Hysteresis means the sensor’s output can change depending on the history of input
values.
It’s a kind of “memory effect” where past inputs influence the current reading.
05/28/2025 52
M-
2
Sensorial Deviations
Hysteresis
05/28/2025 53
M-
2
Sensorial Deviations
Quantization Error:
Quantization error is simply the tiny difference between the actual value
and the rounded digital approximation.
It’s caused by the sensor’s limited resolution.
In digital sensors, an analog signal (like temperature) is converted to a
digital value. However, since digital sensors can only measure in steps (like
0.1°C increments), they approximate the actual value.
05/28/2025 54
M-
2
Sensorial Deviations
Quantization Error:
Example:
Imagine a sensor measuring temperature, but it can only read in 1°C steps.
05/28/2025 55
M-
2
Sensorial Deviations
Aliasing:
Aliasing is a type of error that happens when a sensor takes measurements (samples) of
Environmental Factors:
Environmental factors can have a big impact on sensor readings because they introduce
unintended changes that aren’t related to what the sensor is supposed to measure.
05/28/2025 57
temperature.
M-
2
Sensorial Deviations
Environmental Factors:
Stable Temperature and Accurate Readings: When the temperature is stable, the sensor gives an
Rising Temperature Causes Drift: On a hot day, as the temperature increases, the internal electronics of
the sensor might behave slightly differently. The sensor’s output might drift, even though the actual
pressure hasn’t changed. For example, it might start showing 1015 millibars instead of the correct 1013
Deviations Due to Temperature Sensitivity: Here, the pressure sensor’s output has deviated from the
true pressure reading due to an environmental factor (temperature), not a change in actual pressure.
05/28/2025 58
M-
2 Sensing Types
Sensing can be broadly divided into four different categories based on the
nature of the environment being sensed and the physical sensors being
used to do so:
1) Scalar Sensing,
2) Multimedia Sensing,
3) Hybrid Sensing, and
4) Virtual Sensing
05/28/2025 59
M-
2
Sensing Types
These scalar values tell us "how much" of something exists, rather than "where" or "in
Scalar sensing refers to the measurement of quantities that only have magnitude (or
05/28/2025 61
M-
2 Sensing Types
Scalar Sensing:
When we measure scalar quantities, we only need to observe how they change over time.
Examples
Ambient temperature: We only need to know the temperature level over time, like
the hourly change in temperature.
Atmospheric pressure: Similarly, we measure how pressure rises or falls, not the
direction it’s pushing.
Rainfall: We measure the amount of rain over a period (like millimeters per hour)
without needing a direction.
05/28/2025 62
M-
2 Sensing Types
Scalar Sensing:
05/28/2025 63
M-
2 Sensing Types
Multimedia Sensing
Multimedia sensing is a type of sensing that captures information that changes over
both space (different locations or angles) and time.
These sensors are integral to systems where directional data and changes over time
provide valuable insights, making them crucial in fields such as robotics, surveillance,
environmental monitoring, and autonomous vehicles.
Quantities such as images, direction, flow, speed, acceleration, sound, force, mass,
energy, and momentum have both directions as well as a magnitude.
Additionally, these quantities follow the vector law of addition and hence are
designated as vector quantities.
05/28/2025 64
M-
2 Sensing Types
Multimedia Sensing
Example:
Think of a SECURITY CAMERA.
It’s constantly recording what’s happening in a particular area.
Spatial Variance (Space): The camera captures different parts of the room or area
depending on where it’s pointed, like seeing someone move across the room from one
side to the other.
Temporal Variance (Time): It also captures these changes over time. So, if someone
moves, the camera captures them at different points in their movement, showing how the
scene changes from second to second.
05/28/2025 65
M-
2 Sensing Types
Hybrid Sensing
The act of using scalar as well as multimedia sensing at the same time is referred to as
hybrid sensing.
Many a time, there is a need to measure certain vector as well as scalar properties of an
environment at the same time.
05/28/2025 66
M-
2 Sensing Types
Hybrid Sensing
Example: In an agricultural field, it is required to measure the soil conditions at regular
intervals of time to determine plant health.
Sensors such as soil moisture and soil temperature are deployed underground to
estimate the soil’s water retention capacity and the moisture being held by the soil at any
instant of time.
However, this setup only determines whether the plant is getting enough water or not.
There may be a host of other factors besides water availability, which may affect a
plant’s health.
05/28/2025 67
M-
2 Sensing Types
Hybrid Sensing
The additional inclusion of a camera sensor with the plant may be able to determine the
The aggregate information from soil moisture, soil temperature, and the camera sensor
05/28/2025 68
M- Sensing Types
2
05/28/2025 69
M-
2 Sensing Types
Virtual Sensing:
Many a time, there is a need for very dense and large-scale deployment of sensor nodes
spread over a large area for monitoring of parameters. One such domain is
AGRICULTURE.
Here, often, the parameters being measured, such as soil moisture, soil temperature, and
water level, do not show significant spatial variations.
Virtual sensing refers to the process of using existing sensors and data sources to
create new, virtual sensors that can provide information or measure things that might
not have a dedicated physical sensor.
05/28/2025 70
M-
2 Sensing Types
Virtual Sensing”
A ’s sensors are being used for actual measurement of parameters
(appropriate watering, fertilizer, and pesticide regimen for his crops) ;
whereas virtual data (which does not have actual physical sensors but
uses extrapolation-based measurements) is being used for advising B. This
is the virtual sensing paradigm.
05/28/2025 71
M-
2 Sensing Considerations
The choice of sensors in an IoT sensor node is critical and can either make
or break the feasibility of an IoT deployment.
In an IoT deployment, choosing sensors with the right accuracy, power
needs, connectivity, environmental durability, cost, and scalability
determines the success of the project.
Careful selection ensures that the system collects meaningful data, stays
operational over time, and is economically sustainable.
05/28/2025 72
M-
2 Sensing Considerations
1. Sensing Range,
3. Energy,
4. Device Size.
05/28/2025 73
M-
2 Sensing Considerations
Sensing Range:
The sensing range of a sensor node defines the detection fidelity(faithfulness) of that
node.
The sensing range of a sensor may also be used to signify the upper and lower bounds
of a sensor’s measurement range.
Example:
A proximity sensor has a typical sensing range of a couple of meters.
05/28/2025 74
M-
2 Sensing Considerations
05/28/2025 75
M-
2 Sensing Considerations
05/28/2025 76
M-
2 Sensing Considerations
Industrial sensors, on the other hand, are built with high accuracy and can
work in tough conditions.
They are very precise and reliable but also more expensive because of their
advanced technology and durability.
05/28/2025 77
M-
2 Sensing Considerations
05/28/2025 78
M-
2 Sensing Considerations
Energy
05/28/2025 79
M-
2 Sensing Considerations
Energy
05/28/2025 80
M-
2 Sensing Considerations
Device Size:
Device Size:
The larger the size of a sensor node, the larger the obstruction
caused by it, the higher the cost and energy requirements, and
the lesser the demand for the bulk of the IoT applications.
05/28/2025 82
M-
2 Sensing Considerations