@vtucode - in 21CS735 Module 2 Textbook
@vtucode - in 21CS735 Module 2 Textbook
MODULE 2
Chapter 5
IoT Sensing and Actuation
Learning Outcomes
After reading this chapter, the reader will be able to:
• List the salient features of transducers
• Differentiate between sensors and actuators
• Characterize sensors and distinguish between types of sensors
• List the multi-faceted considerations associated with sensing
• Characterize actuators and distinguish between types of actuators
• List the multi-faceted considerations associated with actuation
5.1 Introduction
A major chunk of IoT applications involves sensing in one form or the other. Almost
all the applications in IoT—be it a consumer IoT, an industrial IoT, or just plain
hobby-based deployments of IoT solutions—sensing forms the first step. Incidentally,
actuation forms the final step in the whole operation of IoT application deployment
in a majority of scenarios. The basic science of sensing and actuation is based on
the process of transduction. Transduction is the process of energy conversion from
one form to another. A transducer is a physical means of enabling transduction.
Transducers take energy in any form (for which it is designed)—electrical, mechanical,
chemical, light, sound, and others—and convert it into another, which may be
electrical, mechanical, chemical, light, sound, and others. Sensors and actuators
are deemed as transducers. For example, in a public announcement (PA) system,
a microphone (input device) converts sound waves into electrical signals, which is
amplified by an amplifier system (a process). Finally, a loudspeaker (output device)
outputs this into audible sounds by converting the amplified electrical signals back
i i
i i
i i
into sound waves. Table 5.1 outlines the basic terminological differences between
transducers, sensors, and actuators.
Table 5.1 Basic outline of the differences between transducers, sensors, and actuators
5.2 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. They generate
responses to external stimuli or physical phenomenon through characterization of the
input functions (which are these external stimuli) and their conversion into typically
electrical signals. For example, heat is converted to electrical signals in a temperature
sensor, or atmospheric pressure is converted to electrical signals in a barometer. A
i i
i i
i i
sensor is only sensitive to the measured property (e.g., 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 (e.g., 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). Figure 5.1 shows the simple outline of a sensing task. Here, a
temperature sensor keeps on checking an environment for changes. In the event of a
fire, the temperature of the environment goes up. The temperature sensor notices this
change in the temperature of the room and promptly communicates this information
to a remote monitor via the processor.
The various sensors can be classified based on: 1) power requirements, 2) sensor
output, and 3) property to be measured.
• 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, whereas some
sensors do not require any power sources. Depending on the requirements of
power, sensors can be of two types.
(i) Active: Active sensors do not require an external circuitry or mechanism to
provide it with power. It directly responds to the external stimuli from its
ambient environment and converts it into an output signal. For example, a
photodiode converts light into electrical impulses.
(ii) Passive: Passive sensors require an external mechanism to power them
up. The sensed properties are modulated with the sensor’s inherent
characteristics to generate patterns in the output of the sensor. For example,
a thermistor’s resistance can be detected by applying voltage difference
across it or passing a current through it.
• 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 to the processors.
i i
i i
i i
i i
i i
i i
Points to ponder
DC AC
Force Zigbee
ADC
Speed RFID/NFC
Pressure Z-Wave
Actuator
(Optional)
Chemical GSM/3G/5G
Interface
Pneumatic Hyderaulic
Electrical Mechanical
i i
i i
i i
Figure 5.3 shows some commercially available sensors used for sensing applications.
(a) Camera sensor (b) Color sensor (c) Compass and (d) Current sensor (e) Digital temperature
barometer and humidity sensor
(f) Flame sensor (g) Gas sensor (h) Infrared sensor (i) Rainfall sensor (j) Ultrasonic
distance
measurement
sensor
Figure 5.3 Some common commercially available sensors used for IoT-based sensing applications
i i
i i
i i
rate, can it be deemed as highly precise. For example, consider if the same
weight sensor described earlier reports measurements of 98.28 kg, 100.34 kg, and
101.11 kg upon three repeat measurements for a mass of actual weight of 100 kg.
Here, the sensor precision is not deemed high because of significant variations in
the temporal measurements for the same object under the same conditions.
Points to ponder
The more the resolution of a sensor, the more accurate is the precision. A sensor’s
accuracy does not depend upon its resolution.
i i
i i
i i
i i
i i
i i
time, and temporally map the collected information to generate new information.
For 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. The additional inclusion of a camera sensor with the plant may be able
to determine the actual condition of a plant by additionally determining the color
of leaves. The aggregate information from soil moisture, soil temperature, and the
camera sensor will be able to collectively determine a plant’s health at any instant
of time. Other common examples of hybrid sensing include smart parking systems,
traffic management systems, and others. Figure 5.4(c) shows an example of hybrid
sensing, where a camera and a temperature sensor are collectively used to detect and
confirm forest fires during wildlife monitoring.
i i
i i
i i
(i) Sensing Range: The sensing range of a sensor node defines the detection fidelity
of that node. Typical approaches to optimize the sensing range in deployments
include fixed k-coverage and dynamic k-coverage. A lifelong fixed k-coverage
tends to usher in redundancy as it requires a large number of sensor nodes,
the sensing range of some of which may also overlap. In contrast, dynamic k-
coverage incorporates mobile sensor nodes post detection of an event, which,
however, is a costly solution and may not be deployable in all operational areas
and terrains [1].
Additionally, the sensing range of a sensor may also be used to signify the upper
and lower bounds of a sensor’s measurement range. For example, a proximity
sensor has a typical sensing range of a couple of meters. In contrast, a camera
has a sensing range varying between tens of meters to hundreds of meters. As
the complexity of the sensor and its sensing range goes up, its cost significantly
increases.
(ii) Accuracy and Precision: The accuracy and precision of measurements provided
by a sensor are critical in deciding the operations of specific functional processes.
Typically, off-the-shelf consumer sensors are low on requirements and often very
cheap. However, their performance is limited to regular application domains.
For example, a standard temperature sensor can be easily integrated with
conventional components for hobby projects and day-to-day applications, but it
is not suitable for industrial processes. Regular temperature sensors have a very
low-temperature sensing range, as well as relatively low accuracy and precision.
The use of these sensors in industrial applications, where a precision of up to
3–4 decimal places is required, cannot be facilitated by these sensors. Industrial
sensors are typically very sophisticated, and as a result, very costly. However,
these industrial sensors have very high accuracy and precision score, even under
harsh operating conditions.
(iii) Energy: The energy consumed by a sensing solution is crucial to determine the
lifetime of that solution and the estimated cost of its deployment. If the sensor
or the sensor node is so energy inefficient that it requires replenishment of its
energy sources quite frequently, the effort in maintaining the solution and its
cost goes up; whereas its deployment feasibility goes down. Consider a scenario
where sensor nodes are deployed on the top of glaciers. Once deployed, access
to these nodes is not possible. If the energy requirements of the sensor nodes are
too high, such a deployment will not last long, and the solution will be highly
infeasible as charging or changing of the energy sources of these sensor nodes is
not an option.
(iv) Device Size: Modern-day IoT applications have a wide penetration in all
domains of life. Most of the applications of IoT require sensing solutions which
are so small that they do not hinder any of the regular activities that were
possible before the sensor node deployment was carried out. Larger the size
of a sensor node, larger is the obstruction caused by it, higher is the cost and
i i
i i
energy requirements, and lesser is its demand for the bulk of the IoT applications.
Consider a simple human activity detector. If the detection unit is too large to
be carried or too bulky to cause hindrance to regular normal movements, the
demand for this solution would be low. It is because of this that the onset of
wearables took off so strongly. The wearable sensors are highly energy-efficient,
small in size, and almost part of the wearer’s regular wardrobe.
Check yourself
5.7 Actuators
An actuator can be considered as a machine or system’s component that can affect
the movement or control the said mechanism or the system. Control systems affect
changes to the environment or property they are controlling through actuators. The
system activates the actuator through a control signal, which may be digital or analog.
It elicits a response from the actuator, which is in the form of some form of mechanical
motion. The control system of an actuator can be a mechanical or electronic system,
a software-based system (e.g., an autonomous car control system), a human, or any
other input. Figure 5.5 shows the outline of a simple actuation system. A remote
user sends commands to a processor. The processor instructs a motor controlled
robotic arm to perform the commanded tasks accordingly. The processor is primarily
responsible for converting the human commands into sequential machine-language
command sequences, which enables the robot to move. The robotic arm finally moves
the designated boxes, which was its assigned task.
Event: Factory
Sensor node Motor-driven automation
mechanism
i i
i i
i i
i i
(a) Brushless DC (b) Brushless DC (c) Stepper motor (d) Geared (e) DC motor
motor motor stepper motor
(f) Relay array (g) Hydroelectric (h) Hydroelectric (i) Solenoid-based (j) Solenoid-based
generator generator flow valve flow valve
Figure 5.6 Some common commercially available actuators used for IoT-based control
applications
i i
i i
i i
Figures 5.6(g) and 5.6(h) convert the water-flow induced rotary motion of a turbine
into electrical energy. Similarly, the mechanical switches shown in Figures 5.6 (k) and
5.6(l) uses the mechanical motion of the switch to switch on or off an electrical circuit.
i i
i i
i i
• Weight: The physical weight of actuators limits its application scope. For
example, the use of heavier actuators is generally preferred for industrial
applications and applications requiring no mobility of the IoT deployment. In
contrast, lightweight actuators typically find common usage in portable systems
in vehicles, drones, and home IoT applications. It is to be noted that this is not
always true. Heavier actuators also have selective usage in mobile systems, for
example, landing gears and engine motors in aircraft.
• Power Rating: This helps in deciding the nature of the application with which
an actuator can be associated. The power rating defines the minimum and
maximum operating power an actuator can safely withstand without damage
to itself. Generally, it is indicated as the power-to-weight ratio for actuators.
For example, smaller servo motors used in hobby projects typically have a
maximum rating of 5 VDC, 500 mA, which is suitable for an operations-driven
battery-based power source. Exceeding this limit might be detrimental to the
performance of the actuator and may cause burnout of the motor. In contrast to
this, servo motors in larger applications have a rating of 460 VAC, 2.5 A, which
requires standalone power supply systems for operations. It is to be noted that
actuators with still higher ratings are available and vary according to application
requirements.
• Torque to Weight Ratio: The ratio of torque to the weight of the moving part of
an instrument/device is referred to as its torque/weight ratio. This indicates the
sensitivity of the actuator. Higher is the weight of the moving part; lower will be
its torque to weight ratio for a given power.
• Stiffness and Compliance: The resistance of a material against deformation
is known as its stiffness, whereas compliance of a material is the opposite of
stiffness. Stiffness can be directly related to the modulus of elasticity of that
material. Stiff systems are considered more accurate than compliant systems as
they have a faster response to the change in load applied to it. For example,
hydraulic systems are considered as stiff and non-compliant, whereas pneumatic
systems are considered as compliant.
Check yourself
Summary
This chapter covered the basics of sensing and actuation in order to help the readers
grasp the intricacies of designing an IoT solution keeping in mind the need to select
i i
i i