It 7sem Unit Ii Iot
It 7sem Unit Ii Iot
It 7sem Unit Ii Iot
Unit II IOT
-------------------------------------------------------------------------------------------------------------------------------------
Unit II Sensor, Basic components and challenges of a sensor node, Sensor features, Sensor resolution; Sensor
classes: Analog, Digital, Scalar, Vector Sensors; Sensor Types, bias, drift, Hysteresis error, quantization error; Actuator;
Actuator types: Hydraulic, Pneumatic, electrical, thermal/magnetic, mechanical actuators, soft actuators
--------------------------------------------------------------------------------------------------------------------------
Transducer :
A transducer converts a signal from one physical structure to another.
1. Temperature Sensors
2. Image Sensors
3. Gyro Sensors
4. Obstacle Sensors
5. RF Sensor
6. IR Sensor
7. MQ-02/05 Gas Sensor
8. LDR Sensor
9. 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.
Bias in IOT
IT 7SEM
Unit II IOT
-------------------------------------------------------------------------------------------------------------------------------------
Neural Network is conceptually based on actual neuron of brain. Neurons are the basic units of a large neural
network. A single neuron passes single forward based on input provided.
In Neural network, some inputs are provided to an artificial neuron, and with each input a weight is associated.
Weight increases the steepness of activation function. This means weight decide how fast the activation function will
trigger whereas bias is used to delay the triggering of the activation function.
For a typical neuron, if the inputs are x1, x2, and x3, then the synaptic weights to be applied to them are denoted as
w1, w2, and w3.
Output is
y = f(x) = Σxiwi
The weight shows the effectiveness of a particular input. More the weight of input, more it will have impact on
network.
On the other hand Bias is like the intercept added in a linear equation. It is an additional parameter in the Neural
Network which is used to adjust the output along with the weighted sum of the inputs to the neuron. Therefore Bias is
a constant which helps the model in a way that it can fit best for the given data.
Need of bias
In above figure
y = mx+c
where
m = weight
and
c = bias
IT 7SEM
Unit II IOT
-------------------------------------------------------------------------------------------------------------------------------------
Now, Suppose if c was absent, then the graph will be formed like this:
Due to absence of bias, model will train over point passing through origin only, which is not in accordance with real-
world scenario. Also with the introduction of bias, the model will become more flexible.
For Example:
Suppose an activation function act() which get triggered on some input greater than 0.
Now,
input1 = 1
weight1 = 2
input2 = 2
weight2 = 2
so
output = 6
let
suppose act(output) = 1
bias = -6
act(0) = 0
Change in weight
weight WI
changed from 1.0 to 4.0
weight W2
changed from -0.5 to 1.5
IT 7SEM
Unit II IOT
-------------------------------------------------------------------------------------------------------------------------------------
On increasing the weight the steepness is increasing.
Change in bias
bias helps in controlling the value at which activation function will trigger.
Drift in IOT
Concept drift is the event where the statistical properties of the class variable of the data — in other words, the
target we want to predict — change over time. When a model is trained, it knows a function that maps the
independent variables, or predictors, to the target variables. In other words, predicting the target variable with the
help of other independent variables. In a static and perfect environment where none of these predictors nor the
target changes or evolves, the model should perform as it did on day one because there’s no change. But if the
predictors are changed with time, the model might change the performance, as it was trained with old data, and
predicting from new data might be tough for the model because of the evolution of the predictors.
An example of such a situation is Dynamic Data (For Instance: Streaming Data), where not only do the statistical
properties of the target variable change but so does its meaning. When this change happens, the mapping found by
the function is no longer suitable for the new environment.
IT 7SEM
Unit II IOT
-------------------------------------------------------------------------------------------------------------------------------------
What are Hysteresis Errors?
The hysteresis error of a pressure sensor is the maximum difference in output at any measurement value within the
sensor’s specified range when approaching the point first with increasing and then with decreasing pressure.
The hysteresis error value is normally specified as a positive or negative percentage of the specified
pressure range. If a sensor is only used over half of the specified range the hysteresis error is calculated from this
value.
By using the maximum working pressure, the accuracy is, of course, better than specified by the
manufacturer (for example the percentage of working pressure). Also, the hysteresis error is usually expressed as a
combination of mechanical and temperature hysteresis.
Mechanical hysteresis
Mechanical hysteresis is the output deviation at a certain input pressure when that input is approached first
by increasing and then by decreasing pressure.
Temperature hysteresis
Temperature hysteresis is the output deviation at a certain input pressure, before and after a temperature
cycle.
Hysteresis errors are not always specified separately but combined in a total figure for linearity, hysteresis and
repeatability.
IT 7SEM
Unit II IOT
-------------------------------------------------------------------------------------------------------------------------------------
What is quantization error and how does signal to noise relate to this?
Answer : Quantization error is the difference between the analog signal and the closest available digital value at
each sampling instant from the A/D converter. Quantization error also introduces noise, called quantization noise, to
the sample signal. The higher the resolution of the A/D converter, the lower the quantization error and the smaller the
quantization noise. The relationship between resolution (in bits) and quantization noise for an ideal A/D converter
can be expressed as Signal to Noise (S/N) = -20*log (1/2^n) where n is the resolution of the A/D converter in bits.
S/N is the signal to noise and is expressed in dB. This relationship can also be approximated as S/N = 6*n. Typical
S/N ratios for ideal A/D converters are 96dB for 16 bits, 72dB for 12 bits, and 48dB for 8 bits.
An IoT device is made up of a Physical object (“thing”) + Controller (“brain”) + Sensors + Actuators + Networks
(Internet). An actuator is a machine component or system that moves or controls the mechanism or the system.
Sensors in the device sense the environment, then control signals are generated for the actuators according to the
actions needed to perform.
A servo motor is an example of an actuator. They are linear or rotatory actuators, can move to a given specified
angular or linear position. We can use servo motors for IoT applications and make the motor rotate to 90 degrees,
180 degrees, etc., as per our need.
The following diagram shows what actuators do, the controller directs the actuator based on the sensor data to do
the work.
The control system acts upon an environment through the actuator. It requires a source of energy and a control
signal. When it receives a control signal, it converts the source of energy to a mechanical operation. On this basis,
on which form of energy it uses, it has different types given below.
Types of Actuators :
1. Hydraulic Actuators –
A hydraulic actuator uses hydraulic power to perform a mechanical operation. They are actuated by a cylinder or
fluid motor. The mechanical motion is converted to rotary, linear, or oscillatory motion, according to the need of the
IoT device. Ex- construction equipment uses hydraulic actuators because hydraulic actuators can generate a large
amount of force.
Advantages :
IT 7SEM
Unit II IOT
-------------------------------------------------------------------------------------------------------------------------------------
Hydraulic actuators can produce a large magnitude of force and high speed.
It is expensive.
It requires noise reduction equipment, heat exchangers, and high maintenance systems.
2. Pneumatic Actuators –
A pneumatic actuator uses energy formed by vacuum or compressed air at high pressure to convert into either linear
or rotary motion. Example- Used in robotics, use sensors that work like human fingers by using compressed air.
Advantages :
They are a low-cost option and are used at extreme temperatures where using air is a safer option than
chemicals.
They need low maintenance, are durable, and have a long operational life.
Advantages :
It has many applications in various industries as it can automate industrial valves.
It produces less noise and is safe to use since there are no fluid leakages.
Thermal/Magnetic Actuators –
These are actuated by thermal or mechanical energy. Shape Memory Alloys (SMAs) or Magnetic Shape‐Memory
Alloys (MSMAs) are used by these actuators. An example of a thermal/magnetic actuator can be a piezo motor
using SMA.
Mechanical Actuators –
A mechanical actuator executes movement by converting rotary motion into linear motion. It involves pulleys,
chains, gears, rails, and other devices to operate. Example – A crankshaft.
Soft Actuators
With the expanding world of IoT, sensors and actuators will find more usage in commercial and domestic
applications along with the pre-existing use in industry.
Soft actuator
• It is polymer based and are designed to handle fragile objects like fruit harvesting in agriculture or manipulating the
internal organs in biomedicine.
• Examples: Shape Memory polymers, Photo polymers
• Shape memory polymer is functions similar to our muscles. It also provides response to range of stimuli e.g. light,
electrical, heat, magnetic, pH, moisture changes etc. The advantages of such polymers are low density, high strain
recovery, bio-compatibility, bio-degradability etc.
• Photo polymers are known as light activated polymers. They are special type of shape memory polymers which are
activated by light stimuli.
• Comb drive
• Electric motor
• Electroactive polymer
• Piezoelectric actuator
• Screw Jack
• Hydraulic Cylinder