21CS735 - Module-2 Notes
21CS735 - Module-2 Notes
Module 2
IoT Sensing and Actuation
2.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 into sound waves. Table 1 outlines the basic terminological
differences between transducers, sensors, and actuators.
Table 1 Basic outline of the differences between transducers, sensors, and actuators
Parameters Transducers Sensors Actuators
Definition Converts energy Converts various forms of Converts electrical
from one form to energy into electrical signals into various forms
another. signals. of energy, typically
mechanical energy.
Domain Can be used to It is an input transducer. It is an output transducer.
represent a sensor
as well as an
actuator.
Function Can work as a Used for quantifying Used for converting signals
sensor or an environmental stimuli into into proportional
actuator but not signals. mechanical or
simultaneously. electrical outputs.
Examples Any sensor or Humidity sensors, Motors (convert electrical
actuator Temperature sensors, energy to rotary motion),
Anemometers (measures Force heads (which
flow velocity), impose a force), Pumps
Manometers (measures (which convert rotary
fluid pressure), motion of shafts into either
Accelerometers (measures a pressure or a fluid
the acceleration of a body), velocity).
Gas sensors (measures
concentration of specific
gas or gases), and others.
2.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 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 2.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.
• 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.
• Measured Property: The property of the environment being measured by the sensors
can be crucial in deciding the number of sensors in an IoT implementation. Some
properties to be measured do not show high spatial variations and can be quantified
only based on temporal variations in the measured property, such as ambient
temperature, atmospheric pressure, and others. Whereas some properties to be
measured show high spatial as well as temporal variations such as sound, image, and
others.
Fig. 2.3 Some common commercially available sensors used for IoT-based sensing applications
as the percentage of the sensor’s full range. Most sensors have linear behavior.
• If the output signal of a sensor changes slowly and independently of the measured
property, this behavior of the sensor’s output is termed as drift. Physical changes in
the sensor or its material may result in long-term drift, which can span over months or
years. Noise is a temporally varying random deviation of signals.
• In contrast, if a sensor’s output varies/deviates due to deviations in the sensor’s
previous input values, it is referred to as hysteresis error. The present output of the
sensor depends on the past input values provided to the sensor. Typically, the
phenomenon of hysteresis can be observed in analog sensors, magnetic sensors, and
during heating of metal strips. One way to check for hysteresis error is to check how
the sensor’s output changes when we first increase, then decrease the input values to
the sensor over its full range. It is generally denoted as a positive and negative
percentage variation of the full range of that sensor.
Finally, the environment itself plays a crucial role in inducing sensorial deviations. Some
sensors may be prone to external influences, which may not be directly linked to the property
being measured by the sensor. This sensitivity of the sensor may lead to deviations in its
output values. For example, as most sensors are semiconductor based, they are influenced by
the temperature of their environment.
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 2.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.
meters.
• As the complexity of the sensor and its sensing range goes up, its cost significantly
increases.
(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.
2.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 2.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.
• The actuators using pneumatic energy for their operation are typically characterized
by the quick response to starting and stopping signals.
• Small pressure changes can be used for generating large forces through these
actuators. Pneumatic brakes are an example of this type of actuator which is so
responsive that they can convert small pressure changes applied by drives to generate
the massive force required to stop or slow down a moving vehicle. Pneumatic
actuators are responsible for converting pressure into force.
• The power source in the pneumatic actuator does not need to be stored in reserve for its
operation.
Fig. 2.6 Some common commercially available actuators used for IoT-based control
Applications
2.8.4 Thermal or magnetic actuators
• The use of thermal or magnetic energy is used for powering this class of actuators.
• These actuators have a very high-power density and are typically compact,
lightweight, and economical.
• One classic example of thermal actuators is shape memory materials (SMMs) such as
shape memory alloys (SMAs).
• These actuators do not require electricity for actuation. They are not affected by
vibration and can work with liquid or gases.
• Magnetic shape memory alloys (MSMAs) are a type of magnetic actuators.
and other such activities. The correct choice of actuators is necessary for the long-term
sustenance and continuity of operations, as well as for increasing the lifetime of the actuators
themselves. A set of four characteristics can define all actuators:
1. 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.
2. 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.